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

12

/PHP_TRUNK/ext/com_dotnet/
H A Dcom_persist.c50 static void istream_dtor(zend_resource *rsrc) argument
52 php_istream *stm = (php_istream *)rsrc->ptr;
H A Dcom_wrapper.c57 static void dispatch_dtor(zend_resource *rsrc) argument
59 php_dispatchex *disp = (php_dispatchex *)rsrc->ptr;
/PHP_TRUNK/ext/curl/
H A Dshare.c121 void _php_curl_share_close(zend_resource *rsrc) /* {{{ */ argument
123 php_curlsh *sh = (php_curlsh *)rsrc->ptr;
127 rsrc->ptr = NULL;
H A Dmulti.c360 void _php_curl_multi_close(zend_resource *rsrc) /* {{{ */ argument
362 php_curlm *mh = (php_curlm *)rsrc->ptr;
380 rsrc->ptr = NULL;
/PHP_TRUNK/ext/fileinfo/
H A Dfileinfo.c188 void finfo_resource_destructor(zend_resource *rsrc) /* {{{ */ argument
190 if (rsrc->ptr) {
191 php_fileinfo *finfo = (php_fileinfo *) rsrc->ptr;
193 efree(rsrc->ptr);
194 rsrc->ptr = NULL;
/PHP_TRUNK/ext/interbase/
H A Dibase_events.c72 static void _php_ibase_free_event_rsrc(zend_resource *rsrc) /* {{{ */ argument
74 ibase_event *e = (ibase_event *) rsrc->ptr;
H A Dibase_blobs.c35 static void _php_ibase_free_blob(zend_resource *rsrc) /* {{{ */ argument
37 ibase_blob *ib_blob = (ibase_blob *)rsrc->ptr;
H A Dibase_query.c137 static void _php_ibase_free_result(zend_resource *rsrc) /* {{{ */ argument
139 ibase_result *ib_result = (ibase_result *) rsrc->ptr;
183 static void php_ibase_free_query_rsrc(zend_resource *rsrc) /* {{{ */ argument
185 ibase_query *ib_query = (ibase_query *)rsrc->ptr;
H A Dibase_service.c39 static void _php_ibase_free_service(zend_resource *rsrc) /* {{{ */ argument
41 ibase_service *sv = (ibase_service *) rsrc->ptr;
H A Dinterbase.c622 static void php_ibase_commit_link_rsrc(zend_resource *rsrc) /* {{{ */ argument
624 ibase_db_link *link = (ibase_db_link *) rsrc->ptr;
630 static void _php_ibase_close_link(zend_resource *rsrc) /* {{{ */ argument
632 ibase_db_link *link = (ibase_db_link *) rsrc->ptr;
644 static void _php_ibase_close_plink(zend_resource *rsrc) /* {{{ */ argument
646 ibase_db_link *link = (ibase_db_link *) rsrc->ptr;
659 static void _php_ibase_free_trans(zend_resource *rsrc) /* {{{ */ argument
661 ibase_trans *trans = (ibase_trans *)rsrc->ptr;
/PHP_TRUNK/main/streams/
H A Duserspace.c73 static void stream_wrapper_dtor(zend_resource *rsrc) argument
75 struct php_user_stream_wrapper * uwrap = (struct php_user_stream_wrapper*)rsrc->ptr;
492 zend_resource *rsrc; local
506 rsrc = zend_register_resource(uwrap, le_protocols);
524 zend_list_delete(rsrc);
H A Dstreams.c80 zend_resource *rsrc = Z_RES_P(el); local
82 if (rsrc->type != le_pstream) {
86 stream = (php_stream*)rsrc->ptr;
1619 static void stream_resource_regular_dtor(zend_resource *rsrc) argument
1621 php_stream *stream = (php_stream*)rsrc->ptr;
1626 static void stream_resource_persistent_dtor(zend_resource *rsrc) argument
1628 php_stream *stream = (php_stream*)rsrc->ptr;
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c1029 static void php_zip_free_dir(zend_resource *rsrc) argument
1031 zip_rsrc * zip_int = (zip_rsrc *) rsrc->ptr;
1041 efree(rsrc->ptr);
1043 rsrc->ptr = NULL;
1049 static void php_zip_free_entry(zend_resource *rsrc) argument
1051 zip_read_rsrc *zr_rsrc = (zip_read_rsrc *) rsrc->ptr;
1059 rsrc->ptr = NULL;
/PHP_TRUNK/ext/dba/
H A Ddba.c444 static void dba_close_rsrc(zend_resource *rsrc) argument
446 dba_info *info = (dba_info *)rsrc->ptr;
460 static void dba_close_pe_rsrc(zend_resource *rsrc) argument
462 dba_info *info = (dba_info *)rsrc->ptr;
/PHP_TRUNK/ext/enchant/
H A Denchant.c43 zend_resource *rsrc; member in struct:_broker_struct
50 zend_resource *rsrc; member in struct:_dict_struct
231 static void php_enchant_broker_free(zend_resource *rsrc) /* {{{ */ argument
233 if (rsrc->ptr) {
234 enchant_broker *broker = (enchant_broker *)rsrc->ptr;
245 zend_list_free(pdict->rsrc);
262 static void php_enchant_dict_free(zend_resource *rsrc) /* {{{ */ argument
265 if (rsrc->ptr) {
266 enchant_dict *pdict = (enchant_dict *)rsrc->ptr;
276 zend_list_delete(pbroker->rsrc);
[all...]
/PHP_TRUNK/ext/ldap/
H A Dldap.c95 static void _close_ldap_link(zend_resource *rsrc) /* {{{ */ argument
97 ldap_linkdata *ld = (ldap_linkdata *)rsrc->ptr;
108 static void _free_ldap_result(zend_resource *rsrc) /* {{{ */ argument
110 LDAPMessage *result = (LDAPMessage *)rsrc->ptr;
115 static void _free_ldap_result_entry(zend_resource *rsrc) /* {{{ */ argument
117 ldap_resultentry *entry = (ldap_resultentry *)rsrc->ptr;
/PHP_TRUNK/ext/odbc/
H A Dbirdstep.c166 static void _close_birdstep_link(zend_rsrc_list_entry *rsrc) argument
168 VConn *conn = (VConn *)rsrc->ptr;
175 static void _free_birdstep_result(zend_rsrc_list_entry *rsrc) argument
177 Vresult *res = (Vresult *)rsrc->ptr;
/PHP_TRUNK/ext/pspell/
H A Dpspell.c216 static void php_pspell_close(zend_resource *rsrc) argument
218 PspellManager *manager = (PspellManager *)rsrc->ptr;
223 static void php_pspell_close_config(zend_resource *rsrc) argument
225 PspellConfig *config = (PspellConfig *)rsrc->ptr;
/PHP_TRUNK/ext/shmop/
H A Dshmop.c116 static void rsclean(zend_resource *rsrc) argument
118 struct php_shmop *shmop = (struct php_shmop *)rsrc->ptr;
/PHP_TRUNK/ext/sockets/
H A Dphp_sockets.h76 PHP_SOCKETS_API void php_destroy_socket(zend_resource *rsrc);
/PHP_TRUNK/ext/sysvmsg/
H A Dsysvmsg.c122 static void sysvmsg_release(zend_resource *rsrc) argument
124 sysvmsg_queue_t *mq = (sysvmsg_queue_t *) rsrc->ptr;
/PHP_TRUNK/ext/sysvsem/
H A Dsysvsem.c136 static void release_sysvsem_sem(zend_resource *rsrc) argument
138 sysvsem_sem *sem_ptr = (sysvsem_sem *)rsrc->ptr;
/PHP_TRUNK/ext/sysvshm/
H A Dsysvshm.c129 static void php_release_sysvshm(zend_resource *rsrc) argument
131 sysvshm_shm *shm_ptr = (sysvshm_shm *) rsrc->ptr;
/PHP_TRUNK/ext/xmlrpc/
H A Dxmlrpc-epi-php.c279 static void xmlrpc_server_destructor(zend_resource *rsrc) argument
281 if (rsrc && rsrc->ptr) {
282 rsrc->gc.refcount++;
283 destroy_server_data((xmlrpc_server_data*) rsrc->ptr);
284 rsrc->gc.refcount--;
/PHP_TRUNK/ext/xmlwriter/
H A Dphp_xmlwriter.c87 static void xmlwriter_dtor(zend_resource *rsrc);
684 static void xmlwriter_dtor(zend_resource *rsrc) { argument
687 intern = (xmlwriter_object *) rsrc->ptr;

Completed in 66 milliseconds

12