/php-src/Zend/ |
H A D | zend_list.c | 93 return Z_RES_P(zv); in zend_register_resource() 150 return zend_fetch_resource(Z_RES_P(res), resource_type_name, resource_type); in zend_fetch_resource_ex() 171 return zend_fetch_resource2(Z_RES_P(res), resource_type_name, resource_type1, resource_type2); in zend_fetch_resource2_ex() 176 zend_resource *res = Z_RES_P(zv); in list_entry_destructor() 187 zend_resource *res = Z_RES_P(zv); in plist_entry_destructor() 339 return Z_RES_P(zv); in zend_register_persistent_resource_ex()
|
H A D | zend_types.h | 1008 #define Z_RES_P(zval_p) Z_RES(*zval_p) macro 1146 Z_RES_P(__z) = (r); \ 1160 Z_RES_P(__z) = _res; \ 1175 Z_RES_P(__z) = _res; \
|
H A D | zend_operators.c | 2403 return (Z_RES_P(op1) == Z_RES_P(op2)); in zend_is_identical()
|
H A D | zend_builtin_functions.c | 1498 resource_type = zend_rsrc_list_get_rsrc_type(Z_RES_P(z_resource_type)); in ZEND_FUNCTION()
|
H A D | zend_API.c | 202 if (zend_rsrc_list_get_rsrc_type(Z_RES_P(arg))) { in zend_zval_get_legacy_type()
|
H A D | zend_vm_def.h | 8727 || EXPECTED(NULL != zend_rsrc_list_get_rsrc_type(Z_RES_P(value)))) {
|
/php-src/ext/standard/ |
H A D | type.c | 70 name = zend_rsrc_list_get_rsrc_type(Z_RES_P(arg)); in PHP_FUNCTION() 249 const char *type_name = zend_rsrc_list_get_rsrc_type(Z_RES_P(arg)); in php_is_type()
|
H A D | user_filters.c | 352 Z_RES_P(zbrigade), PHP_STREAM_BRIGADE_RES_NAME, le_bucket_brigade)) == NULL) { in PHP_FUNCTION() 385 Z_RES_P(zbrigade), PHP_STREAM_BRIGADE_RES_NAME, le_bucket_brigade)) == NULL) { in php_stream_bucket_attach()
|
H A D | proc_open.c | 349 proc = (php_process_handle*)zend_fetch_resource(Z_RES_P(zproc), "process", le_proc_open); in PHP_FUNCTION() 372 proc = (php_process_handle*)zend_fetch_resource(Z_RES_P(zproc), "process", le_proc_open); in PHP_FUNCTION() 378 zend_list_close(Z_RES_P(zproc)); in PHP_FUNCTION() 402 proc = (php_process_handle*)zend_fetch_resource(Z_RES_P(zproc), "process", le_proc_open); in PHP_FUNCTION() 1040 php_stream *stream = (php_stream*)zend_fetch_resource(Z_RES_P(resource), "stream", in set_proc_descriptor_from_resource()
|
H A D | var.c | 214 const char *type_name = zend_rsrc_list_get_rsrc_type(Z_RES_P(struc)); in php_var_dump() 215 …php_printf("%sresource(" ZEND_LONG_FMT ") of type (%s)\n", COMMON, Z_RES_P(struc)->handle, type_na… in php_var_dump() 408 const char *type_name = zend_rsrc_list_get_rsrc_type(Z_RES_P(struc)); in php_debug_zval_dump() 409 …php_printf("resource(" ZEND_LONG_FMT ") of type (%s) refcount(%u)\n", Z_RES_P(struc)->handle, type… in php_debug_zval_dump()
|
H A D | dir.c | 70 …if ((dirp = (php_stream *)zend_fetch_resource(Z_RES_P(id), "Directory", php_file_le_stream())) == …
|
H A D | streamsfuncs.c | 1339 filter = zend_fetch_resource(Z_RES_P(zfilter), "stream filter", php_file_le_stream_filter()); in PHP_FUNCTION() 1349 zend_list_close(Z_RES_P(zfilter)); in PHP_FUNCTION()
|
H A D | file.c | 107 php_stream_from_res(stream, Z_RES_P(arg)); 965 …what = zend_fetch_resource2(Z_RES_P(file_handle), "File-Handle", php_file_le_stream(), php_file_le… in PHP_FUNCTION()
|
/php-src/ext/zip/ |
H A D | php_zip.c | 1225 …if ((z_rsrc = (zip_rsrc *)zend_fetch_resource(Z_RES_P(zip), le_zip_dir_name, le_zip_dir)) == NULL)… in PHP_FUNCTION() 1230 zend_list_close(Z_RES_P(zip)); in PHP_FUNCTION() 1246 …if ((rsrc_int = (zip_rsrc *)zend_fetch_resource(Z_RES_P(zip_dp), le_zip_dir_name, le_zip_dir)) == … in PHP_FUNCTION() 1294 …if ((zr_rsrc = (zip_read_rsrc *)zend_fetch_resource(Z_RES_P(zip_entry), le_zip_entry_name, le_zip_… in PHP_FUNCTION() 1298 …if ((z_rsrc = (zip_rsrc *)zend_fetch_resource(Z_RES_P(zip), le_zip_dir_name, le_zip_dir)) == NULL)… in PHP_FUNCTION() 1320 …if ((zr_rsrc = (zip_read_rsrc *)zend_fetch_resource(Z_RES_P(zip_entry), le_zip_entry_name, le_zip_… in PHP_FUNCTION() 1324 zend_list_close(Z_RES_P(zip_entry)); in PHP_FUNCTION() 1342 …if ((zr_rsrc = (zip_read_rsrc *)zend_fetch_resource(Z_RES_P(zip_entry), le_zip_entry_name, le_zip_… in PHP_FUNCTION() 1376 …if ((zr_rsrc = (zip_read_rsrc *)zend_fetch_resource(Z_RES_P(zip_entry), le_zip_entry_name, le_zip_… in php_zip_entry_get_info()
|
/php-src/ext/ftp/ |
H A D | php_ftp.c | 581 php_stream_from_res(stream, Z_RES_P(z_file)); in PHP_FUNCTION() 625 php_stream_from_res(stream, Z_RES_P(z_file)); in PHP_FUNCTION() 911 php_stream_from_res(stream, Z_RES_P(z_file)); in PHP_FUNCTION()
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_info.c | 240 const char *type = zend_rsrc_list_get_rsrc_type(Z_RES_P(data)); in phpdbg_print_symbols()
|
/php-src/ext/xmlwriter/ |
H A D | php_xmlwriter.c | 995 php_stream_from_res(stream, Z_RES_P(stream_zv)); in PHP_METHOD()
|
/php-src/main/streams/ |
H A D | streams.c | 70 zend_resource *rsrc = Z_RES_P(el); in forget_persistent_resource_id_numbers() 360 zend_resource *le = Z_RES_P(zv); in _php_stream_free_persistent()
|
/php-src/ext/xmlreader/ |
H A D | php_xmlreader.c | 999 php_stream_from_res(stream, Z_RES_P(stream_zv)); in PHP_METHOD()
|
/php-src/ext/dba/ |
H A D | dba.c | 275 zend_resource *le = Z_RES_P(zv); in remove_pconnection_from_list()
|
/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()
|
/php-src/ext/exif/ |
H A D | exif.c | 4544 php_stream_from_res(p_stream, Z_RES_P(stream)); in PHP_FUNCTION() 4720 php_stream_from_res(p_stream, Z_RES_P(stream)); in PHP_FUNCTION()
|
/php-src/ext/spl/ |
H A D | spl_array.c | 277 key->h = Z_RES_P(offset)->handle; in get_hash_key()
|
/php-src/ext/curl/ |
H A D | interface.c | 2071 ch->handlers.read->res = Z_RES_P(zvalue); in _php_curl_setopt()
|
/php-src/ext/pgsql/ |
H A D | pgsql.c | 348 zend_resource *rsrc = Z_RES_P(el); in _rollback_transactions()
|