/PHP-7.3/ext/enchant/ |
H A D | enchant.c | 41 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 D | share.c | 123 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 D | multi.c | 409 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 D | php_sockets.h | 74 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 D | fileinfo.c | 183 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 D | sysvsem.c | 135 static void release_sysvsem_sem(zend_resource *rsrc) 137 sysvsem_sem *sem_ptr = (sysvsem_sem *)rsrc->ptr;
|
/PHP-7.3/ext/shmop/ |
H A D | shmop.c | 115 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 D | ibase_events.c | 75 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 D | interbase.c | 625 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 D | ibase_blobs.c | 51 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 D | ibase_service.c | 39 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 D | ibase_query.c | 137 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 D | pspell.c | 214 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 D | xmlrpc-epi-php.c | 277 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 D | sysvshm.c | 128 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 D | sysvmsg.c | 120 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 D | dba.c | 455 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 D | userspace.c | 71 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 D | streams.c | 70 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 D | com_wrapper.c | 55 static void dispatch_dtor(zend_resource *rsrc) in dispatch_dtor() argument 57 php_dispatchex *disp = (php_dispatchex *)rsrc->ptr; in dispatch_dtor()
|
H A D | com_persist.c | 48 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 D | php_zip.c | 1075 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 D | proc_open.c | 172 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 D | php_xmlwriter.c | 85 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 D | xml.c | 79 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()
|