Home
last modified time | relevance | path

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

12

/PHP-7.3/ext/enchant/
H A Denchant.c41 zend_resource *rsrc; member
48 zend_resource *rsrc; member
231 if (rsrc->ptr) { in php_enchant_broker_free()
243 zend_list_free(pdict->rsrc); in php_enchant_broker_free()
263 if (rsrc->ptr) { in php_enchant_dict_free()
274 zend_list_delete(pbroker->rsrc); in php_enchant_dict_free()
365 RETURN_RES(broker->rsrc); in PHP_FUNCTION()
567 GC_ADDREF(pbroker->rsrc); in PHP_FUNCTION()
568 RETURN_RES(dict->rsrc); in PHP_FUNCTION()
614 GC_ADDREF(pbroker->rsrc); in PHP_FUNCTION()
[all …]
/PHP-7.3/ext/curl/
H A Dshare.c123 void _php_curl_share_close(zend_resource *rsrc) /* {{{ */ in _php_curl_share_close() argument
125 php_curlsh *sh = (php_curlsh *)rsrc->ptr; in _php_curl_share_close()
129 rsrc->ptr = NULL; in _php_curl_share_close()
H A Dmulti.c409 void _php_curl_multi_close(zend_resource *rsrc) /* {{{ */ in _php_curl_multi_close() argument
411 php_curlm *mh = (php_curlm *)rsrc->ptr; in _php_curl_multi_close()
437 rsrc->ptr = NULL; in _php_curl_multi_close()
/PHP-7.3/ext/sockets/
H A Dphp_sockets.h74 PHP_SOCKETS_API void php_destroy_socket(zend_resource *rsrc);
75 PHP_SOCKETS_API void php_destroy_sockaddr(zend_resource *rsrc);
/PHP-7.3/ext/fileinfo/
H A Dfileinfo.c183 void finfo_resource_destructor(zend_resource *rsrc) /* {{{ */ in finfo_resource_destructor() argument
185 if (rsrc->ptr) { in finfo_resource_destructor()
186 php_fileinfo *finfo = (php_fileinfo *) rsrc->ptr; in finfo_resource_destructor()
188 efree(rsrc->ptr); in finfo_resource_destructor()
189 rsrc->ptr = NULL; in finfo_resource_destructor()
/PHP-7.3/ext/sysvsem/
H A Dsysvsem.c135 static void release_sysvsem_sem(zend_resource *rsrc)
137 sysvsem_sem *sem_ptr = (sysvsem_sem *)rsrc->ptr;
/PHP-7.3/ext/shmop/
H A Dshmop.c115 static void rsclean(zend_resource *rsrc) in ZEND_GET_MODULE()
117 struct php_shmop *shmop = (struct php_shmop *)rsrc->ptr; in ZEND_GET_MODULE()
/PHP-7.3/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.c51 static void _php_ibase_free_blob(zend_resource *rsrc) /* {{{ */ in _php_ibase_free_blob() argument
53 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.3/ext/pspell/
H A Dpspell.c214 static void php_pspell_close(zend_resource *rsrc) in ZEND_GET_MODULE()
216 PspellManager *manager = (PspellManager *)rsrc->ptr; in ZEND_GET_MODULE()
221 static void php_pspell_close_config(zend_resource *rsrc) in php_pspell_close_config() argument
223 PspellConfig *config = (PspellConfig *)rsrc->ptr; in php_pspell_close_config()
/PHP-7.3/ext/xmlrpc/
H A Dxmlrpc-epi-php.c277 static void xmlrpc_server_destructor(zend_resource *rsrc) in xmlrpc_server_destructor() argument
279 if (rsrc && rsrc->ptr) { in xmlrpc_server_destructor()
280 GC_ADDREF(rsrc); in xmlrpc_server_destructor()
281 destroy_server_data((xmlrpc_server_data*) rsrc->ptr); in xmlrpc_server_destructor()
282 GC_DELREF(rsrc); in xmlrpc_server_destructor()
/PHP-7.3/ext/sysvshm/
H A Dsysvshm.c128 static void php_release_sysvshm(zend_resource *rsrc) in php_release_sysvshm() argument
130 sysvshm_shm *shm_ptr = (sysvshm_shm *) rsrc->ptr; in php_release_sysvshm()
/PHP-7.3/ext/sysvmsg/
H A Dsysvmsg.c120 static void sysvmsg_release(zend_resource *rsrc) in ZEND_GET_MODULE()
122 sysvmsg_queue_t *mq = (sysvmsg_queue_t *) rsrc->ptr; in ZEND_GET_MODULE()
/PHP-7.3/ext/dba/
H A Ddba.c455 static void dba_close_rsrc(zend_resource *rsrc) in dba_close_rsrc() argument
457 dba_info *info = (dba_info *)rsrc->ptr; in dba_close_rsrc()
479 static void dba_close_pe_rsrc(zend_resource *rsrc) in dba_close_pe_rsrc() argument
481 dba_info *info = (dba_info *)rsrc->ptr; in dba_close_pe_rsrc()
/PHP-7.3/main/streams/
H A Duserspace.c71 static void stream_wrapper_dtor(zend_resource *rsrc) in stream_wrapper_dtor() argument
73 struct php_user_stream_wrapper * uwrap = (struct php_user_stream_wrapper*)rsrc->ptr; in stream_wrapper_dtor()
499 zend_resource *rsrc; in PHP_FUNCTION() local
513 rsrc = zend_register_resource(uwrap, le_protocols); in PHP_FUNCTION()
531 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()
1602 static void stream_resource_regular_dtor(zend_resource *rsrc) in stream_resource_regular_dtor() argument
1604 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_regular_dtor()
1609 static void stream_resource_persistent_dtor(zend_resource *rsrc) in stream_resource_persistent_dtor() argument
1611 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_persistent_dtor()
/PHP-7.3/ext/com_dotnet/
H A Dcom_wrapper.c55 static void dispatch_dtor(zend_resource *rsrc) in dispatch_dtor() argument
57 php_dispatchex *disp = (php_dispatchex *)rsrc->ptr; in dispatch_dtor()
H A Dcom_persist.c48 static void istream_dtor(zend_resource *rsrc) in istream_dtor() argument
50 php_istream *stm = (php_istream *)rsrc->ptr; in istream_dtor()
/PHP-7.3/ext/zip/
H A Dphp_zip.c1075 static void php_zip_free_dir(zend_resource *rsrc) in php_zip_free_dir() argument
1077 zip_rsrc * zip_int = (zip_rsrc *) rsrc->ptr; in php_zip_free_dir()
1087 efree(rsrc->ptr); in php_zip_free_dir()
1089 rsrc->ptr = NULL; in php_zip_free_dir()
1095 static void php_zip_free_entry(zend_resource *rsrc) in php_zip_free_entry() argument
1097 zip_read_rsrc *zr_rsrc = (zip_read_rsrc *) rsrc->ptr; in php_zip_free_entry()
1105 rsrc->ptr = NULL; in php_zip_free_entry()
/PHP-7.3/ext/standard/
H A Dproc_open.c172 static void proc_open_rsrc_dtor(zend_resource *rsrc) in proc_open_rsrc_dtor() argument
174 struct php_process_handle *proc = (struct php_process_handle*)rsrc->ptr; in proc_open_rsrc_dtor()
/PHP-7.3/ext/xmlwriter/
H A Dphp_xmlwriter.c85 static void xmlwriter_dtor(zend_resource *rsrc);
690 static void xmlwriter_dtor(zend_resource *rsrc) { in ZEND_GET_MODULE()
693 intern = (xmlwriter_object *) rsrc->ptr; in ZEND_GET_MODULE()
/PHP-7.3/ext/xml/
H A Dxml.c79 static void xml_parser_dtor(zend_resource *rsrc);
389 static void xml_parser_dtor(zend_resource *rsrc) in xml_parser_dtor() argument
391 xml_parser *parser = (xml_parser *)rsrc->ptr; in xml_parser_dtor()

Completed in 142 milliseconds

12