Searched defs:rsrc (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/main/streams/
H A Dstreams.c80 zend_resource *rsrc = Z_RES_P(el); local
82 if (rsrc->type != le_pstream) {
86 stream = (php_stream*)rsrc->ptr;
1625 static void stream_resource_regular_dtor(zend_resource *rsrc TSRMLS_DC)
1627 php_stream *stream = (php_stream*)rsrc->ptr;
1632 static void stream_resource_persistent_dtor(zend_resource *rsrc TSRMLS_DC)
1634 php_stream *stream = (php_stream*)rsrc->ptr;
H A Duserspace.c73 static void stream_wrapper_dtor(zend_resource *rsrc TSRMLS_DC)
75 struct php_user_stream_wrapper * uwrap = (struct php_user_stream_wrapper*)rsrc->ptr;
492 zend_resource *rsrc; local
506 rsrc = ZEND_REGISTER_RESOURCE(NULL, uwrap, le_protocols);
524 zend_list_delete(rsrc);
/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
235 static void php_enchant_broker_free(zend_resource *rsrc TSRMLS_DC) /* {{{ */
237 if (rsrc->ptr) {
238 enchant_broker *broker = (enchant_broker *)rsrc->ptr;
249 zend_list_free(pdict->rsrc);
266 static void php_enchant_dict_free(zend_resource *rsrc TSRMLS_DC) /* {{{ */
269 if (rsrc->ptr) {
270 enchant_dict *pdict = (enchant_dict *)rsrc->ptr;
280 zend_list_delete(pbroker->rsrc);
[all...]
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c929 static void _close_pgsql_link(zend_resource *rsrc TSRMLS_DC)
931 PGconn *link = (PGconn *)rsrc->ptr;
944 static void _close_pgsql_plink(zend_resource *rsrc TSRMLS_DC)
946 PGconn *link = (PGconn *)rsrc->ptr;
997 zend_resource *rsrc = Z_RES_P(el); local
999 if (rsrc->type != le_plink)
1002 link = (PGconn *) rsrc->ptr;
1035 static void _free_ptr(zend_resource *rsrc TSRMLS_DC)
1037 pgLofp *lofp = (pgLofp *)rsrc->ptr;
1044 static void _free_result(zend_resource *rsrc TSRMLS_D
[all...]

Completed in 13 milliseconds