Home
last modified time | relevance | path

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

/PHP-8.0/ext/fileinfo/
H A Dfileinfo.c120 void finfo_resource_destructor(zend_resource *rsrc) /* {{{ */ in finfo_resource_destructor() argument
122 if (rsrc->ptr) { in finfo_resource_destructor()
123 php_fileinfo *finfo = (php_fileinfo *) rsrc->ptr; in finfo_resource_destructor()
125 efree(rsrc->ptr); in finfo_resource_destructor()
126 rsrc->ptr = NULL; in finfo_resource_destructor()
/PHP-8.0/ext/pspell/
H A Dpspell.c62 static void php_pspell_close(zend_resource *rsrc) in ZEND_GET_MODULE()
64 PspellManager *manager = (PspellManager *)rsrc->ptr; in ZEND_GET_MODULE()
69 static void php_pspell_close_config(zend_resource *rsrc) in php_pspell_close_config() argument
71 PspellConfig *config = (PspellConfig *)rsrc->ptr; in php_pspell_close_config()
/PHP-8.0/ext/dba/
H A Ddba.c353 static void dba_close_rsrc(zend_resource *rsrc) in dba_close_rsrc() argument
355 dba_info *info = (dba_info *)rsrc->ptr; in dba_close_rsrc()
377 static void dba_close_pe_rsrc(zend_resource *rsrc) in dba_close_pe_rsrc() argument
379 dba_info *info = (dba_info *)rsrc->ptr; in dba_close_pe_rsrc()
/PHP-8.0/main/streams/
H A Duserspace.c68 static void stream_wrapper_dtor(zend_resource *rsrc) in stream_wrapper_dtor() argument
70 struct php_user_stream_wrapper * uwrap = (struct php_user_stream_wrapper*)rsrc->ptr; in stream_wrapper_dtor()
472 zend_resource *rsrc; in PHP_FUNCTION() local
486 rsrc = zend_register_resource(uwrap, le_protocols); in PHP_FUNCTION()
500 zend_list_delete(rsrc); in PHP_FUNCTION()
H A Dstreams.c68 zend_resource *rsrc = Z_RES_P(el); in forget_persistent_resource_id_numbers() local
70 if (rsrc->type != le_pstream) { in forget_persistent_resource_id_numbers()
74 stream = (php_stream*)rsrc->ptr; in forget_persistent_resource_id_numbers()
1653 static void stream_resource_regular_dtor(zend_resource *rsrc) in stream_resource_regular_dtor() argument
1655 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_regular_dtor()
1660 static void stream_resource_persistent_dtor(zend_resource *rsrc) in stream_resource_persistent_dtor() argument
1662 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_persistent_dtor()
/PHP-8.0/ext/com_dotnet/
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()
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()
/PHP-8.0/ext/zip/
H A Dphp_zip.c1083 static void php_zip_free_dir(zend_resource *rsrc) in php_zip_free_dir() argument
1085 zip_rsrc * zip_int = (zip_rsrc *) rsrc->ptr; in php_zip_free_dir()
1095 efree(rsrc->ptr); in php_zip_free_dir()
1097 rsrc->ptr = NULL; in php_zip_free_dir()
1103 static void php_zip_free_entry(zend_resource *rsrc) in php_zip_free_entry() argument
1105 zip_read_rsrc *zr_rsrc = (zip_read_rsrc *) rsrc->ptr; in php_zip_free_entry()
1113 rsrc->ptr = NULL; in php_zip_free_entry()
/PHP-8.0/ext/pgsql/
H A Dpgsql.c173 static void _close_pgsql_link(zend_resource *rsrc) in _close_pgsql_link() argument
175 PGconn *link = (PGconn *)rsrc->ptr; in _close_pgsql_link()
195 static void _close_pgsql_plink(zend_resource *rsrc) in _close_pgsql_plink() argument
197 PGconn *link = (PGconn *)rsrc->ptr; in _close_pgsql_plink()
239 zend_resource *rsrc = Z_RES_P(el); in _rollback_transactions() local
241 if (rsrc->type != le_plink) in _rollback_transactions()
244 link = (PGconn *) rsrc->ptr; in _rollback_transactions()
267 static void _free_ptr(zend_resource *rsrc) in _free_ptr() argument
269 pgLofp *lofp = (pgLofp *)rsrc->ptr; in _free_ptr()
275 static void _free_result(zend_resource *rsrc) in _free_result() argument
[all …]
/PHP-8.0/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.0/ext/odbc/
H A Dphp_odbc.c96 static void _free_odbc_result(zend_resource *rsrc) in ZEND_GET_MODULE()
98 odbc_result *res = (odbc_result *)rsrc->ptr; in ZEND_GET_MODULE()
147 static void _close_odbc_conn(zend_resource *rsrc) in _close_odbc_conn() argument
152 odbc_connection *conn = (odbc_connection *)rsrc->ptr; in _close_odbc_conn()
175 static void _close_odbc_pconn(zend_resource *rsrc) in _close_odbc_pconn() argument
179 odbc_connection *conn = (odbc_connection *)rsrc->ptr; in _close_odbc_pconn()
/PHP-8.0/ext/ftp/
H A Dphp_ftp.c59 static void ftp_destructor_ftpbuf(zend_resource *rsrc) in ZEND_GET_MODULE()
61 ftpbuf_t *ftp = (ftpbuf_t *)rsrc->ptr; in ZEND_GET_MODULE()
/PHP-8.0/ext/ldap/
H A Dldap.c98 static void _close_ldap_link(zend_resource *rsrc) /* {{{ */ in ZEND_GET_MODULE()
100 ldap_linkdata *ld = (ldap_linkdata *)rsrc->ptr; in ZEND_GET_MODULE()
115 static void _free_ldap_result(zend_resource *rsrc) /* {{{ */ in _free_ldap_result() argument
117 LDAPMessage *result = (LDAPMessage *)rsrc->ptr; in _free_ldap_result()
122 static void _free_ldap_result_entry(zend_resource *rsrc) /* {{{ */ in _free_ldap_result_entry() argument
124 ldap_resultentry *entry = (ldap_resultentry *)rsrc->ptr; in _free_ldap_result_entry()
/PHP-8.0/ext/gd/
H A Dgd.c280 static void php_free_gd_font(zend_resource *rsrc) in PHP_INI_BEGIN()
282 gdFontPtr fp = (gdFontPtr) rsrc->ptr; in PHP_INI_BEGIN()
/PHP-8.0/ext/imap/
H A Dphp_imap.c178 static void mail_close_it(zend_resource *rsrc) in mail_close_it() argument
180 pils *imap_le_struct = (pils *)rsrc->ptr; in mail_close_it()
/PHP-8.0/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます2227 # Usually not in separate files, but have either filename rsrc with
2229 # extensions rsr/rsrc
20537 >0 string rsrc resource
22260 >>(0x3c.l+0xf8) search/0x140 .rsrc
H A Dmagic2227 # Usually not in separate files, but have either filename rsrc with
2229 # extensions rsr/rsrc
20537 >0 string rsrc resource
22260 >>(0x3c.l+0xf8) search/0x140 .rsrc

Completed in 198 milliseconds