Home
last modified time | relevance | path

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

12

/PHP-7.2/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()
617 pbroker->rsrc->gc.refcount++; in PHP_FUNCTION()
[all …]
/PHP-7.2/ext/curl/
H A Dshare.c125 void _php_curl_share_close(zend_resource *rsrc) /* {{{ */ in _php_curl_share_close() argument
127 php_curlsh *sh = (php_curlsh *)rsrc->ptr; in _php_curl_share_close()
131 rsrc->ptr = NULL; in _php_curl_share_close()
H A Dmulti.c412 void _php_curl_multi_close(zend_resource *rsrc) /* {{{ */ in _php_curl_multi_close() argument
414 php_curlm *mh = (php_curlm *)rsrc->ptr; in _php_curl_multi_close()
440 rsrc->ptr = NULL; in _php_curl_multi_close()
/PHP-7.2/ext/sockets/
H A Dphp_sockets.h76 PHP_SOCKETS_API void php_destroy_socket(zend_resource *rsrc);
77 PHP_SOCKETS_API void php_destroy_sockaddr(zend_resource *rsrc);
/PHP-7.2/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.2/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.2/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.2/ext/odbc/
H A Dbirdstep.c165 static void _close_birdstep_link(zend_rsrc_list_entry *rsrc) in _close_birdstep_link() argument
167 VConn *conn = (VConn *)rsrc->ptr; in _close_birdstep_link()
174 static void _free_birdstep_result(zend_rsrc_list_entry *rsrc) in _free_birdstep_result() argument
176 Vresult *res = (Vresult *)rsrc->ptr; in _free_birdstep_result()
/PHP-7.2/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.2/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.2/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.2/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.2/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.2/ext/dba/
H A Ddba.c457 static void dba_close_rsrc(zend_resource *rsrc) in dba_close_rsrc() argument
459 dba_info *info = (dba_info *)rsrc->ptr; in dba_close_rsrc()
481 static void dba_close_pe_rsrc(zend_resource *rsrc) in dba_close_pe_rsrc() argument
483 dba_info *info = (dba_info *)rsrc->ptr; in dba_close_pe_rsrc()
/PHP-7.2/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()
503 zend_resource *rsrc; in PHP_FUNCTION() local
517 rsrc = zend_register_resource(uwrap, le_protocols); in PHP_FUNCTION()
535 zend_list_delete(rsrc); in PHP_FUNCTION()
H A Dstreams.c72 zend_resource *rsrc = Z_RES_P(el); in forget_persistent_resource_id_numbers() local
74 if (rsrc->type != le_pstream) { in forget_persistent_resource_id_numbers()
78 stream = (php_stream*)rsrc->ptr; in forget_persistent_resource_id_numbers()
1594 static void stream_resource_regular_dtor(zend_resource *rsrc) in stream_resource_regular_dtor() argument
1596 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_regular_dtor()
1601 static void stream_resource_persistent_dtor(zend_resource *rsrc) in stream_resource_persistent_dtor() argument
1603 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_persistent_dtor()
/PHP-7.2/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.2/ext/zip/
H A Dphp_zip.c1071 static void php_zip_free_dir(zend_resource *rsrc) in php_zip_free_dir() argument
1073 zip_rsrc * zip_int = (zip_rsrc *) rsrc->ptr; in php_zip_free_dir()
1083 efree(rsrc->ptr); in php_zip_free_dir()
1085 rsrc->ptr = NULL; in php_zip_free_dir()
1091 static void php_zip_free_entry(zend_resource *rsrc) in php_zip_free_entry() argument
1093 zip_read_rsrc *zr_rsrc = (zip_read_rsrc *) rsrc->ptr; in php_zip_free_entry()
1101 rsrc->ptr = NULL; in php_zip_free_entry()
/PHP-7.2/ext/standard/
H A Dproc_open.c173 static void proc_open_rsrc_dtor(zend_resource *rsrc) in proc_open_rsrc_dtor() argument
175 struct php_process_handle *proc = (struct php_process_handle*)rsrc->ptr; in proc_open_rsrc_dtor()
/PHP-7.2/ext/xml/
H A Dxml.c81 static void xml_parser_dtor(zend_resource *rsrc);
391 static void xml_parser_dtor(zend_resource *rsrc) in xml_parser_dtor() argument
393 xml_parser *parser = (xml_parser *)rsrc->ptr; in xml_parser_dtor()

Completed in 109 milliseconds

12