Home
last modified time | relevance | path

Searched refs:rsrc (Results 1 – 11 of 11) sorted by relevance

/PHP-8.2/main/streams/
H A Duserspace.c70 static void stream_wrapper_dtor(zend_resource *rsrc) in stream_wrapper_dtor() argument
72 struct php_user_stream_wrapper * uwrap = (struct php_user_stream_wrapper*)rsrc->ptr; in stream_wrapper_dtor()
493 zend_resource *rsrc; in PHP_FUNCTION() local
508 rsrc = zend_register_resource(uwrap, le_protocols); in PHP_FUNCTION()
511 uwrap->resource = rsrc; in PHP_FUNCTION()
523 zend_list_delete(rsrc); in PHP_FUNCTION()
H A Dstreams.c70 zend_resource *rsrc = Z_RES_P(el); in forget_persistent_resource_id_numbers() local
72 if (rsrc->type != le_pstream) { in forget_persistent_resource_id_numbers()
76 stream = (php_stream*)rsrc->ptr; in forget_persistent_resource_id_numbers()
1780 static void stream_resource_regular_dtor(zend_resource *rsrc) in stream_resource_regular_dtor() argument
1782 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_regular_dtor()
1787 static void stream_resource_persistent_dtor(zend_resource *rsrc) in stream_resource_persistent_dtor() argument
1789 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_persistent_dtor()
/PHP-8.2/ext/dba/
H A Ddba.c287 static void dba_close_rsrc(zend_resource *rsrc) in dba_close_rsrc() argument
289 dba_info *info = (dba_info *)rsrc->ptr; in dba_close_rsrc()
311 static void dba_close_pe_rsrc(zend_resource *rsrc) in dba_close_pe_rsrc() argument
313 dba_info *info = (dba_info *)rsrc->ptr; in dba_close_pe_rsrc()
/PHP-8.2/ext/com_dotnet/
H A Dcom_wrapper.c53 static void dispatch_dtor(zend_resource *rsrc) in dispatch_dtor() argument
55 php_dispatchex *disp = (php_dispatchex *)rsrc->ptr; in dispatch_dtor()
H A Dcom_persist.c47 static void istream_dtor(zend_resource *rsrc) in istream_dtor() argument
49 php_istream *stm = (php_istream *)rsrc->ptr; in istream_dtor()
/PHP-8.2/ext/zip/
H A Dphp_zip.c1088 static void php_zip_free_dir(zend_resource *rsrc) in php_zip_free_dir() argument
1090 zip_rsrc * zip_int = (zip_rsrc *) rsrc->ptr; in php_zip_free_dir()
1100 efree(rsrc->ptr); in php_zip_free_dir()
1102 rsrc->ptr = NULL; in php_zip_free_dir()
1108 static void php_zip_free_entry(zend_resource *rsrc) in php_zip_free_entry() argument
1110 zip_read_rsrc *zr_rsrc = (zip_read_rsrc *) rsrc->ptr; in php_zip_free_entry()
1118 rsrc->ptr = NULL; in php_zip_free_entry()
/PHP-8.2/ext/odbc/
H A Dphp_odbc.c97 static void _free_odbc_result(zend_resource *rsrc) in ZEND_GET_MODULE()
99 odbc_result *res = (odbc_result *)rsrc->ptr; in ZEND_GET_MODULE()
148 static void _close_odbc_conn(zend_resource *rsrc) in _close_odbc_conn() argument
153 odbc_connection *conn = (odbc_connection *)rsrc->ptr; in _close_odbc_conn()
182 static void _close_odbc_pconn(zend_resource *rsrc) in _close_odbc_pconn() argument
186 odbc_connection *conn = (odbc_connection *)rsrc->ptr; in _close_odbc_pconn()
/PHP-8.2/ext/standard/
H A Dproc_open.c232 static void proc_open_rsrc_dtor(zend_resource *rsrc) in proc_open_rsrc_dtor() argument
234 php_process_handle *proc = (php_process_handle*)rsrc->ptr; in proc_open_rsrc_dtor()
/PHP-8.2/ext/pgsql/
H A Dpgsql.c308 static void _close_pgsql_plink(zend_resource *rsrc) in _close_pgsql_plink() argument
310 PGconn *link = (PGconn *)rsrc->ptr; in _close_pgsql_plink()
325 rsrc->ptr = NULL; in _close_pgsql_plink()
354 zend_resource *rsrc = Z_RES_P(el); in _rollback_transactions() local
356 if (rsrc->type != le_plink) { in _rollback_transactions()
360 link = (PGconn *) rsrc->ptr; in _rollback_transactions()
/PHP-8.2/ext/fileinfo/tests/
H A Dmagic2456 # Usually not in separate files, but have either filename rsrc with
2458 # extensions rsr/rsrc
21483 >0 string rsrc resource
23220 >>(0x3c.l+0xf8) search/0x140 .rsrc
H A Dmagic私はガラスを食べられます2456 # Usually not in separate files, but have either filename rsrc with
2458 # extensions rsr/rsrc
21483 >0 string rsrc resource
23220 >>(0x3c.l+0xf8) search/0x140 .rsrc

Completed in 270 milliseconds