Home
last modified time | relevance | path

Searched refs:IS_RESOURCE (Results 1 – 25 of 49) sorted by path

12

/php-src/Zend/Optimizer/
H A Dzend_dump.c501 case IS_RESOURCE: in zend_dump_op()
546 case (1<<IS_RESOURCE): in zend_dump_op()
/php-src/Zend/
H A Dzend_API.c125 case IS_RESOURCE: in zend_get_type_by_const()
200 case IS_RESOURCE: in zend_zval_get_legacy_type()
2169 case IS_RESOURCE: in array_set_zval_key()
2831 …ZEND_ASSERT(!ZEND_TYPE_CONTAINS_CODE(*type, IS_RESOURCE) && "resource is not allowed in a zend_typ… in ZEND_END_ARG_INFO()
4747 …ZEND_ASSERT(!ZEND_TYPE_CONTAINS_CODE(type, IS_RESOURCE) && "resource is not allowed in a zend_type… in zend_declare_typed_class_constant()
H A Dzend_API.h2467 if (EXPECTED(Z_TYPE_P(arg) == IS_RESOURCE)) { in zend_parse_arg_resource()
H A Dzend_compile.c4739 return zend_compile_func_typecheck(result, args, IS_RESOURCE); in zend_try_compile_special_func_ex()
H A Dzend_exceptions.c509 case IS_RESOURCE: in _build_trace_args()
H A Dzend_execute.c2375 case IS_RESOURCE: in slow_index_convert()
2447 case IS_RESOURCE: in slow_index_convert_w()
2923 } else if (Z_TYPE_P(offset) == IS_RESOURCE) { in zend_find_array_dim_slow()
3043 } else if (Z_TYPE_P(key) == IS_RESOURCE) { in zend_array_key_exists_fast()
H A Dzend_list.c142 if (Z_TYPE_P(res) != IS_RESOURCE) { in zend_fetch_resource_ex()
163 if (Z_TYPE_P(res) != IS_RESOURCE) { in zend_fetch_resource2_ex()
H A Dzend_operators.c267 case IS_RESOURCE: in convert_scalar_to_number()
307 case IS_RESOURCE: in _zendi_convert_scalar_to_number_silent()
359 case IS_RESOURCE: in _zendi_try_convert_scalar_to_number()
447 case IS_RESOURCE: in zendi_try_get_long()
553 case IS_RESOURCE: in convert_to_long()
913 case IS_RESOURCE: in zval_get_long_func()
982 case IS_RESOURCE: in zval_get_double_func()
1022 case IS_RESOURCE: in __zval_get_string_func()
2387 case IS_RESOURCE: in zend_is_identical()
2689 case IS_RESOURCE: in increment_function()
[all …]
H A Dzend_operators.h417 case IS_RESOURCE: in i_zend_is_true()
H A Dzend_type_info.h34 #define MAY_BE_RESOURCE (1 << IS_RESOURCE)
H A Dzend_types.h608 #define IS_RESOURCE 9 macro
786 #define GC_RESOURCE (IS_RESOURCE | (GC_NOT_COLLECTABLE << GC_FLAGS_SHIFT))
813 #define IS_RESOURCE_EX (IS_RESOURCE | (IS_TYPE_REFCOUNTED << Z_TYPE_FLAGS_SHIFT))
H A Dzend_variables.c49 [IS_RESOURCE] = (zend_rc_dtor_func_t)zend_list_free,
H A Dzend_vm_def.h6130 } else if (Z_TYPE_P(offset) == IS_RESOURCE) {
6642 } else if (Z_TYPE_P(offset) == IS_RESOURCE) {
H A Dzend_vm_execute.h7510 } else if (Z_TYPE_P(offset) == IS_RESOURCE) { in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CONST_HANDLER()
9841 } else if (Z_TYPE_P(offset) == IS_RESOURCE) { in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_TMPVAR_HANDLER()
10771 } else if (Z_TYPE_P(offset) == IS_RESOURCE) { in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_UNUSED_HANDLER()
12227 } else if (Z_TYPE_P(offset) == IS_RESOURCE) { in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CV_HANDLER()
20255 } else if (Z_TYPE_P(offset) == IS_RESOURCE) { in ZEND_ADD_ARRAY_ELEMENT_SPEC_TMP_CONST_HANDLER()
20699 } else if (Z_TYPE_P(offset) == IS_RESOURCE) { in ZEND_ADD_ARRAY_ELEMENT_SPEC_TMP_TMPVAR_HANDLER()
21160 } else if (Z_TYPE_P(offset) == IS_RESOURCE) { in ZEND_ADD_ARRAY_ELEMENT_SPEC_TMP_UNUSED_HANDLER()
21564 } else if (Z_TYPE_P(offset) == IS_RESOURCE) { in ZEND_ADD_ARRAY_ELEMENT_SPEC_TMP_CV_HANDLER()
25393 } else if (Z_TYPE_P(offset) == IS_RESOURCE) { in ZEND_ADD_ARRAY_ELEMENT_SPEC_VAR_CONST_HANDLER()
27843 } else if (Z_TYPE_P(offset) == IS_RESOURCE) { in ZEND_ADD_ARRAY_ELEMENT_SPEC_VAR_TMPVAR_HANDLER()
[all …]
/php-src/docs/source/core/data-structures/
H A Dzval.rst26 #define IS_RESOURCE 9
/php-src/ext/bz2/
H A Dbz2.c363 } else if (Z_TYPE_P(file) == IS_RESOURCE) { in PHP_FUNCTION()
/php-src/ext/com_dotnet/
H A Dcom_variant.c172 case IS_RESOURCE: in php_com_variant_from_zval_ex()
/php-src/ext/exif/
H A Dexif.c4545 if (Z_TYPE_P(stream) == IS_RESOURCE) { in PHP_FUNCTION()
4697 …php_error_docref1(NULL, (Z_TYPE_P(stream) == IS_RESOURCE ? "<stream>" : Z_STRVAL_P(stream)), E_NOT… in PHP_FUNCTION()
4722 if (Z_TYPE_P(stream) == IS_RESOURCE) { in PHP_FUNCTION()
4784 …php_error_docref1(NULL, (Z_TYPE_P(stream) == IS_RESOURCE ? "<stream>" : Z_STRVAL_P(stream)), E_NOT… in PHP_FUNCTION()
/php-src/ext/fileinfo/
H A Dfileinfo.c315 case IS_RESOURCE: in _php_finfo_get_type()
/php-src/ext/gd/
H A Dgd.c4021 if (Z_TYPE_P(to_zval) == IS_RESOURCE) { in create_stream_context_from_zval()
/php-src/ext/libxml/
H A Dlibxml.c753 } else if (Z_TYPE(retval) == IS_RESOURCE) { in _php_libxml_external_entity_loader()
/php-src/ext/opcache/jit/
H A Dzend_jit_helpers.c454 case IS_RESOURCE: in zend_jit_fetch_dim_r_helper()
596 case IS_RESOURCE: in zend_jit_fetch_dim_is_helper()
712 case IS_RESOURCE: in zend_jit_fetch_dim_isset_helper()
834 case IS_RESOURCE: in zend_jit_fetch_dim_rw_helper()
967 case IS_RESOURCE: in zend_jit_fetch_dim_w_helper()
/php-src/ext/pdo/
H A Dpdo_sql_parser.re228 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(parameter) == IS_RESOURCE) {
H A Dpdo_stmt.c530 } else if (Z_TYPE_P(dest) == IS_RESOURCE) { in fetch_value()
/php-src/ext/pdo_firebird/
H A Dfirebird_statement.c622 if (Z_TYPE_P(parameter) == IS_RESOURCE) { in pdo_firebird_stmt_param_hook()

Completed in 293 milliseconds

12