Home
last modified time | relevance | path

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

12

/PHP-7.0/ext/enchant/
H A Denchant.c43 zend_resource *rsrc; member
50 zend_resource *rsrc; member
233 if (rsrc->ptr) { in php_enchant_broker_free()
245 zend_list_free(pdict->rsrc); in php_enchant_broker_free()
265 if (rsrc->ptr) { in php_enchant_dict_free()
276 zend_list_delete(pbroker->rsrc); in php_enchant_dict_free()
368 RETURN_RES(broker->rsrc); in PHP_FUNCTION()
570 pbroker->rsrc->gc.refcount++; in PHP_FUNCTION()
571 RETURN_RES(dict->rsrc); in PHP_FUNCTION()
621 pbroker->rsrc->gc.refcount++;
[all …]
/PHP-7.0/ext/curl/
H A Dshare.c120 void _php_curl_share_close(zend_resource *rsrc) /* {{{ */ in _php_curl_share_close() argument
122 php_curlsh *sh = (php_curlsh *)rsrc->ptr; in _php_curl_share_close()
126 rsrc->ptr = NULL; in _php_curl_share_close()
H A Dmulti.c360 void _php_curl_multi_close(zend_resource *rsrc) /* {{{ */ in _php_curl_multi_close() argument
362 php_curlm *mh = (php_curlm *)rsrc->ptr; in _php_curl_multi_close()
381 rsrc->ptr = NULL; in _php_curl_multi_close()
/PHP-7.0/ext/fileinfo/
H A Dfileinfo.c185 void finfo_resource_destructor(zend_resource *rsrc) /* {{{ */ in finfo_resource_destructor() argument
187 if (rsrc->ptr) { in finfo_resource_destructor()
188 php_fileinfo *finfo = (php_fileinfo *) rsrc->ptr; in finfo_resource_destructor()
190 efree(rsrc->ptr); in finfo_resource_destructor()
191 rsrc->ptr = NULL; in finfo_resource_destructor()
/PHP-7.0/ext/sockets/
H A Dphp_sockets.h76 PHP_SOCKETS_API void php_destroy_socket(zend_resource *rsrc);
/PHP-7.0/ext/shmop/
H A Dshmop.c116 static void rsclean(zend_resource *rsrc) in ZEND_GET_MODULE()
118 struct php_shmop *shmop = (struct php_shmop *)rsrc->ptr; in ZEND_GET_MODULE()
/PHP-7.0/ext/sysvsem/
H A Dsysvsem.c136 static void release_sysvsem_sem(zend_resource *rsrc)
138 sysvsem_sem *sem_ptr = (sysvsem_sem *)rsrc->ptr;
/PHP-7.0/ext/odbc/
H A Dbirdstep.c166 static void _close_birdstep_link(zend_rsrc_list_entry *rsrc) in _close_birdstep_link() argument
168 VConn *conn = (VConn *)rsrc->ptr; in _close_birdstep_link()
175 static void _free_birdstep_result(zend_rsrc_list_entry *rsrc) in _free_birdstep_result() argument
177 Vresult *res = (Vresult *)rsrc->ptr; in _free_birdstep_result()
/PHP-7.0/ext/interbase/
H A Dibase_events.c75 static void _php_ibase_free_event_rsrc(zend_resource *rsrc) /* {{{ */ in _php_ibase_free_event_rsrc() argument
77 ibase_event *e = (ibase_event *) rsrc->ptr; in _php_ibase_free_event_rsrc()
H A Dinterbase.c625 static void php_ibase_commit_link_rsrc(zend_resource *rsrc) /* {{{ */ in php_ibase_commit_link_rsrc() argument
627 ibase_db_link *link = (ibase_db_link *) rsrc->ptr; in php_ibase_commit_link_rsrc()
633 static void _php_ibase_close_link(zend_resource *rsrc) /* {{{ */ in _php_ibase_close_link() argument
635 ibase_db_link *link = (ibase_db_link *) rsrc->ptr; in _php_ibase_close_link()
647 static void _php_ibase_close_plink(zend_resource *rsrc) /* {{{ */ in _php_ibase_close_plink() argument
649 ibase_db_link *link = (ibase_db_link *) rsrc->ptr; in _php_ibase_close_plink()
662 static void _php_ibase_free_trans(zend_resource *rsrc) /* {{{ */ in _php_ibase_free_trans() argument
664 ibase_trans *trans = (ibase_trans *)rsrc->ptr; in _php_ibase_free_trans()
H A Dibase_blobs.c35 static void _php_ibase_free_blob(zend_resource *rsrc) /* {{{ */ in _php_ibase_free_blob() argument
37 ibase_blob *ib_blob = (ibase_blob *)rsrc->ptr; in _php_ibase_free_blob()
H A Dibase_service.c39 static void _php_ibase_free_service(zend_resource *rsrc) /* {{{ */ in _php_ibase_free_service() argument
41 ibase_service *sv = (ibase_service *) rsrc->ptr; in _php_ibase_free_service()
H A Dibase_query.c137 static void _php_ibase_free_result(zend_resource *rsrc) /* {{{ */ in _php_ibase_free_result() argument
139 ibase_result *ib_result = (ibase_result *) rsrc->ptr; in _php_ibase_free_result()
183 static void php_ibase_free_query_rsrc(zend_resource *rsrc) /* {{{ */ in php_ibase_free_query_rsrc() argument
185 ibase_query *ib_query = (ibase_query *)rsrc->ptr; in php_ibase_free_query_rsrc()
/PHP-7.0/ext/pspell/
H A Dpspell.c216 static void php_pspell_close(zend_resource *rsrc) in ZEND_GET_MODULE()
218 PspellManager *manager = (PspellManager *)rsrc->ptr; in ZEND_GET_MODULE()
223 static void php_pspell_close_config(zend_resource *rsrc) in php_pspell_close_config() argument
225 PspellConfig *config = (PspellConfig *)rsrc->ptr; in php_pspell_close_config()
/PHP-7.0/ext/xmlrpc/
H A Dxmlrpc-epi-php.c279 static void xmlrpc_server_destructor(zend_resource *rsrc) in xmlrpc_server_destructor() argument
281 if (rsrc && rsrc->ptr) { in xmlrpc_server_destructor()
282 rsrc->gc.refcount++; in xmlrpc_server_destructor()
283 destroy_server_data((xmlrpc_server_data*) rsrc->ptr); in xmlrpc_server_destructor()
284 rsrc->gc.refcount--; in xmlrpc_server_destructor()
/PHP-7.0/ext/sysvshm/
H A Dsysvshm.c129 static void php_release_sysvshm(zend_resource *rsrc) in php_release_sysvshm() argument
131 sysvshm_shm *shm_ptr = (sysvshm_shm *) rsrc->ptr; in php_release_sysvshm()
/PHP-7.0/ext/sysvmsg/
H A Dsysvmsg.c122 static void sysvmsg_release(zend_resource *rsrc) in ZEND_GET_MODULE()
124 sysvmsg_queue_t *mq = (sysvmsg_queue_t *) rsrc->ptr; in ZEND_GET_MODULE()
/PHP-7.0/ext/dba/
H A Ddba.c451 static void dba_close_rsrc(zend_resource *rsrc) in dba_close_rsrc() argument
453 dba_info *info = (dba_info *)rsrc->ptr; in dba_close_rsrc()
475 static void dba_close_pe_rsrc(zend_resource *rsrc) in dba_close_pe_rsrc() argument
477 dba_info *info = (dba_info *)rsrc->ptr; in dba_close_pe_rsrc()
/PHP-7.0/main/streams/
H A Duserspace.c73 static void stream_wrapper_dtor(zend_resource *rsrc) in stream_wrapper_dtor() argument
75 struct php_user_stream_wrapper * uwrap = (struct php_user_stream_wrapper*)rsrc->ptr; in stream_wrapper_dtor()
502 zend_resource *rsrc; in PHP_FUNCTION() local
516 rsrc = zend_register_resource(uwrap, le_protocols); in PHP_FUNCTION()
534 zend_list_delete(rsrc); in PHP_FUNCTION()
H A Dstreams.c71 zend_resource *rsrc = Z_RES_P(el); in forget_persistent_resource_id_numbers() local
73 if (rsrc->type != le_pstream) { in forget_persistent_resource_id_numbers()
77 stream = (php_stream*)rsrc->ptr; in forget_persistent_resource_id_numbers()
1615 static void stream_resource_regular_dtor(zend_resource *rsrc) in stream_resource_regular_dtor() argument
1617 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_regular_dtor()
1622 static void stream_resource_persistent_dtor(zend_resource *rsrc) in stream_resource_persistent_dtor() argument
1624 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_persistent_dtor()
/PHP-7.0/ext/com_dotnet/
H A Dcom_wrapper.c57 static void dispatch_dtor(zend_resource *rsrc) in dispatch_dtor() argument
59 php_dispatchex *disp = (php_dispatchex *)rsrc->ptr; in dispatch_dtor()
H A Dcom_persist.c50 static void istream_dtor(zend_resource *rsrc) in istream_dtor() argument
52 php_istream *stm = (php_istream *)rsrc->ptr; in istream_dtor()
/PHP-7.0/ext/zip/
H A Dphp_zip.c1045 static void php_zip_free_dir(zend_resource *rsrc) in php_zip_free_dir() argument
1047 zip_rsrc * zip_int = (zip_rsrc *) rsrc->ptr; in php_zip_free_dir()
1057 efree(rsrc->ptr); in php_zip_free_dir()
1059 rsrc->ptr = NULL; in php_zip_free_dir()
1065 static void php_zip_free_entry(zend_resource *rsrc) in php_zip_free_entry() argument
1067 zip_read_rsrc *zr_rsrc = (zip_read_rsrc *) rsrc->ptr; in php_zip_free_entry()
1075 rsrc->ptr = NULL; in php_zip_free_entry()
/PHP-7.0/ext/standard/
H A Dproc_open.c178 static void proc_open_rsrc_dtor(zend_resource *rsrc) in proc_open_rsrc_dtor() argument
180 struct php_process_handle *proc = (struct php_process_handle*)rsrc->ptr; in proc_open_rsrc_dtor()
/PHP-7.0/ext/ldap/
H A Dldap.c110 static void _close_ldap_link(zend_resource *rsrc) /* {{{ */ in ZEND_GET_MODULE()
112 ldap_linkdata *ld = (ldap_linkdata *)rsrc->ptr; in ZEND_GET_MODULE()
124 static void _free_ldap_result(zend_resource *rsrc) /* {{{ */ in _free_ldap_result() argument
126 LDAPMessage *result = (LDAPMessage *)rsrc->ptr; in _free_ldap_result()
131 static void _free_ldap_result_entry(zend_resource *rsrc) /* {{{ */ in _free_ldap_result_entry() argument
133 ldap_resultentry *entry = (ldap_resultentry *)rsrc->ptr; in _free_ldap_result_entry()

Completed in 140 milliseconds

12