Home
last modified time | relevance | path

Searched refs:zend_resource (Results 1 – 25 of 27) sorted by relevance

12

/php-src/Zend/
H A Dzend_list.h28 typedef void (*rsrc_dtor_func_t)(zend_resource *res);
29 #define ZEND_RSRC_DTOR_FUNC(name) void name(zend_resource *res)
56 ZEND_API void ZEND_FASTCALL zend_list_free(zend_resource *res);
57 ZEND_API zend_result ZEND_FASTCALL zend_list_delete(zend_resource *res);
58 ZEND_API void ZEND_FASTCALL zend_list_close(zend_resource *res);
60 ZEND_API zend_resource *zend_register_resource(void *rsrc_pointer, int rsrc_type);
61 ZEND_API void *zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource…
62 ZEND_API void *zend_fetch_resource2(zend_resource *res, const char *resource_type_name, int resourc…
66 ZEND_API const char *zend_rsrc_list_get_rsrc_type(zend_resource *res);
69 ZEND_API zend_resource* zend_register_persistent_resource(const char *key, size_t key_len, void *rs…
[all …]
H A Dzend_list.c46 ZEND_API zend_result ZEND_FASTCALL zend_list_delete(zend_resource *res) in zend_list_delete()
55 ZEND_API void ZEND_FASTCALL zend_list_free(zend_resource *res) in zend_list_free()
61 static void zend_resource_dtor(zend_resource *res) in zend_resource_dtor()
64 zend_resource r = *res; in zend_resource_dtor()
78 ZEND_API void ZEND_FASTCALL zend_list_close(zend_resource *res) in zend_list_close()
87 ZEND_API zend_resource* zend_register_resource(void *rsrc_pointer, int rsrc_type) in zend_register_resource()
176 zend_resource *res = Z_RES_P(zv); in list_entry_destructor()
182 efree_size(res, sizeof(zend_resource)); in list_entry_destructor()
187 zend_resource *res = Z_RES_P(zv); in plist_entry_destructor()
223 zend_resource *res = Z_PTR_P(p); in zend_close_rsrc_list()
[all …]
H A Dzend_types.h99 typedef struct _zend_resource zend_resource; typedef
322 zend_resource *res;
1151 zend_resource *_res = \
1152 (zend_resource *) emalloc(sizeof(zend_resource)); \
1165 zend_resource *_res = \
1166 (zend_resource *) malloc(sizeof(zend_resource)); \
H A Dzend_API.h552 ZEND_API void add_assoc_resource_ex(zval *arg, const char *key, size_t key_len, zend_resource *r);
571 static zend_always_inline void add_assoc_resource(zval *arg, const char *key, zend_resource *r) { in add_assoc_resource()
602 ZEND_API void add_index_resource(zval *arg, zend_ulong index, zend_resource *r);
619 ZEND_API zend_result add_next_index_resource(zval *arg, zend_resource *r);
638 ZEND_API void add_property_resource_ex(zval *arg, const char *key, size_t key_len, zend_resource *r…
657 static zend_always_inline void add_property_resource(zval *arg, const char *key, zend_resource *r) { in add_property_resource()
1096 ZEND_API zend_result zend_try_assign_typed_ref_res(zend_reference *ref, zend_resource *res);
H A Dzend_API.c1950 ZEND_API void add_assoc_resource_ex(zval *arg, const char *key, size_t key_len, zend_resource *r) /… in add_assoc_resource_ex()
2055 ZEND_API void add_index_resource(zval *arg, zend_ulong index, zend_resource *r) /* {{{ */ in add_index_resource()
2154 ZEND_API zend_result add_next_index_resource(zval *arg, zend_resource *r) /* {{{ */ in add_next_index_resource()
2294 ZEND_API void add_property_resource_ex(zval *arg, const char *key, size_t key_len, zend_resource *r… in add_property_resource_ex()
4756 ZEND_API zend_result zend_try_assign_typed_ref_res(zend_reference *ref, zend_resource *res) /* {{{ … in zend_try_assign_typed_ref_res()
/php-src/ext/standard/
H A Dproc_open.h43 zend_resource **pipes;
H A Ddir.c39 zend_resource *default_dir;
95 static void php_set_default_dir(zend_resource *res) in php_set_default_dir()
197 zend_resource *res; in PHP_FUNCTION()
H A Dproc_open.c263 static void proc_open_rsrc_dtor(zend_resource *rsrc) in proc_open_rsrc_dtor()
1415 proc->pipes = emalloc(sizeof(zend_resource *) * ndesc); in PHP_FUNCTION()
/php-src/ext/curl/
H A Dcurl_private.h58 zend_resource *res;
/php-src/main/streams/
H A Dphp_stream_filter_api.h118 zend_resource *res;
H A Dphp_stream_context.h52 zend_resource *res; /* used for auto-cleanup */
H A Dstreams.c70 zend_resource *rsrc = Z_RES_P(el); in forget_persistent_resource_id_numbers()
113 zend_resource *le; in php_stream_from_persistent_id()
118 zend_resource *regentry = NULL; in php_stream_from_persistent_id()
360 zend_resource *le = Z_RES_P(zv); in _php_stream_free_persistent()
1821 static void stream_resource_regular_dtor(zend_resource *rsrc) in stream_resource_regular_dtor()
1828 static void stream_resource_persistent_dtor(zend_resource *rsrc) in stream_resource_persistent_dtor()
H A Duserspace.c42 zend_resource *resource;
71 static void stream_wrapper_dtor(zend_resource *rsrc) in stream_wrapper_dtor()
467 zend_resource *rsrc; in PHP_FUNCTION()
/php-src/main/
H A Dphp_streams.h226 zend_resource *res; /* used for auto-cleanup */
230 zend_resource *ctx;
/php-src/ext/dba/
H A Ddba.c275 zend_resource *le = Z_RES_P(zv); in remove_pconnection_from_list()
284 static void close_pconnection(zend_resource *rsrc) in close_pconnection()
576 zend_resource *le; in php_dba_open()
/php-src/ext/mysqlnd/
H A Dmysqlnd_vio.c160 zend_resource *current_res = Z_RES(bucket->val); in MYSQLND_METHOD()
236 zend_resource *le; in MYSQLND_METHOD()
/php-src/ext/xmlwriter/
H A Dphp_xmlwriter.c969 zend_resource *resource = context; in xml_writer_stream_write()
979 zend_resource *resource = context; in xml_writer_stream_close()
/php-src/ext/xmlreader/
H A Dphp_xmlreader.c965 zend_resource *resource = context; in xml_reader_stream_read()
975 zend_resource *resource = context; in xml_reader_stream_close()
/php-src/ext/zend_test/
H A Dtest.c1135 static void le_throwing_resource_dtor(zend_resource *rsrc) in le_throwing_resource_dtor()
1517 zend_resource *res = zend_register_resource(NULL, le_throwing_resource); in PHP_FUNCTION()
/php-src/docs/source/core/data-structures/
H A Dzval.rst51 zend_resource *res;
/php-src/ext/odbc/
H A Dphp_odbc.c97 zend_resource *le = Z_RES_P(zv); in _close_pconn_with_res()
108 zend_resource *le = Z_RES_P(zv); in _close_pconn()
335 static void _close_odbc_pconn(zend_resource *rsrc) in _close_odbc_pconn()
2318 zend_resource *le;
/php-src/ext/mysqli/
H A Dmysqli_nonapi.c62 zend_resource *le;
/php-src/ext/zip/
H A Dphp_zip.c1103 static void php_zip_free_dir(zend_resource *rsrc) in php_zip_free_dir()
1123 static void php_zip_free_entry(zend_resource *rsrc) in php_zip_free_entry()
/php-src/ext/pdo_pgsql/
H A Dpgsql_driver.c229 zend_resource *res; in pdo_pgsql_close_lob_streams()
/php-src/ext/pdo/
H A Dpdo_dbh.c385 zend_resource *le; in php_pdo_internal_construct_driver()

Completed in 163 milliseconds

12