Searched refs:zend_resource (Results 1 – 25 of 27) sorted by relevance
12
/php-src/Zend/ |
H A D | zend_list.h | 28 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 D | zend_list.c | 46 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 D | zend_types.h | 99 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 D | zend_API.h | 552 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 D | zend_API.c | 1950 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 D | proc_open.h | 43 zend_resource **pipes;
|
H A D | dir.c | 39 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 D | proc_open.c | 263 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 D | curl_private.h | 58 zend_resource *res;
|
/php-src/main/streams/ |
H A D | php_stream_filter_api.h | 118 zend_resource *res;
|
H A D | php_stream_context.h | 52 zend_resource *res; /* used for auto-cleanup */
|
H A D | streams.c | 70 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 D | userspace.c | 42 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 D | php_streams.h | 226 zend_resource *res; /* used for auto-cleanup */ 230 zend_resource *ctx;
|
/php-src/ext/dba/ |
H A D | dba.c | 275 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 D | mysqlnd_vio.c | 160 zend_resource *current_res = Z_RES(bucket->val); in MYSQLND_METHOD() 236 zend_resource *le; in MYSQLND_METHOD()
|
/php-src/ext/xmlwriter/ |
H A D | php_xmlwriter.c | 969 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 D | php_xmlreader.c | 965 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 D | test.c | 1135 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 D | zval.rst | 51 zend_resource *res;
|
/php-src/ext/odbc/ |
H A D | php_odbc.c | 97 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 D | mysqli_nonapi.c | 62 zend_resource *le;
|
/php-src/ext/zip/ |
H A D | php_zip.c | 1103 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 D | pgsql_driver.c | 229 zend_resource *res; in pdo_pgsql_close_lob_streams()
|
/php-src/ext/pdo/ |
H A D | pdo_dbh.c | 385 zend_resource *le; in php_pdo_internal_construct_driver()
|
Completed in 163 milliseconds
12