Home
last modified time | relevance | path

Searched refs:zobj (Results 1 – 22 of 22) sorted by relevance

/PHP-8.0/Zend/
H A Dzend_object_handlers.c121 return zobj->handlers->get_properties(zobj); in zend_std_get_gc()
129 zobj->properties = zend_array_dup(zobj->properties); in zend_std_get_gc()
191 zend_call_known_instance_method(zobj->ce->__set, zobj, NULL, 2, args); in zend_std_call_setter()
507 zv = zobj->properties_table + zobj->ce->default_properties_count; in zend_get_property_guard()
614 GC_ADDREF(zobj); in zend_std_read_property()
642 GC_ADDREF(zobj); in zend_std_read_property()
740 zobj->properties = zend_array_dup(zobj->properties); in zend_std_write_property()
757 GC_ADDREF(zobj); in zend_std_write_property()
955 zobj->properties = zend_array_dup(zobj->properties); in zend_std_get_property_ptr_ptr()
1022 zobj->properties = zend_array_dup(zobj->properties); in zend_std_unset_property()
[all …]
H A Dzend_vm_execute.h4875 properties = zobj->handlers->get_properties(zobj); in ZEND_FE_RESET_R_SPEC_CONST_HANDLER()
18888 properties = zobj->handlers->get_properties(zobj); in ZEND_FE_RESET_R_SPEC_TMP_HANDLER()
21507 properties = zobj->handlers->get_properties(zobj); in ZEND_FE_RESET_R_SPEC_VAR_HANDLER()
22768 zobj->properties = zend_array_dup(zobj->properties); in ZEND_ASSIGN_OBJ_SPEC_VAR_CONST_OP_DATA_CONST_HANDLER()
22902 zobj->properties = zend_array_dup(zobj->properties); in ZEND_ASSIGN_OBJ_SPEC_VAR_CONST_OP_DATA_TMP_HANDLER()
23036 zobj->properties = zend_array_dup(zobj->properties); in ZEND_ASSIGN_OBJ_SPEC_VAR_CONST_OP_DATA_VAR_HANDLER()
23170 zobj->properties = zend_array_dup(zobj->properties); in ZEND_ASSIGN_OBJ_SPEC_VAR_CONST_OP_DATA_CV_HANDLER()
25388 zobj->properties = zend_array_dup(zobj->properties); in ZEND_ASSIGN_OBJ_SPEC_VAR_TMPVAR_OP_DATA_CONST_HANDLER()
25522 zobj->properties = zend_array_dup(zobj->properties); in ZEND_ASSIGN_OBJ_SPEC_VAR_TMPVAR_OP_DATA_TMP_HANDLER()
25656 zobj->properties = zend_array_dup(zobj->properties); in ZEND_ASSIGN_OBJ_SPEC_VAR_TMPVAR_OP_DATA_VAR_HANDLER()
[all …]
H A Dzend_object_handlers.h211 ZEND_API zend_string *zend_std_get_class_name(const zend_object *zobj);
214 ZEND_API void rebuild_object_properties(zend_object *zobj);
222 ZEND_API int zend_check_property_access(zend_object *zobj, zend_string *prop_info_name, zend_bool i…
226 ZEND_API uint32_t *zend_get_property_guard(zend_object *zobj, zend_string *member);
H A Dzend_vm_def.h1014 zend_object *zobj; variable
1039 zobj = Z_OBJ_P(object);
1280 zend_object *zobj; variable
1353 zend_object *zobj; variable
2361 zend_object *zobj; variable
2411 zobj->properties = zend_array_dup(zobj->properties);
5747 zend_object *zobj; variable
5777 zobj = Z_OBJ_P(obj);
5778 ce = zobj->ce;
6552 properties = zobj->handlers->get_properties(zobj);
[all …]
H A Dzend_builtin_functions.c776 zend_object *zobj; in ZEND_FUNCTION() local
783 zobj = Z_OBJ_P(obj); in ZEND_FUNCTION()
784 properties = zobj->handlers->get_properties(zobj); in ZEND_FUNCTION()
789 …if (!zobj->ce->default_properties_count && properties == zobj->properties && !GC_IS_RECURSIVE(prop… in ZEND_FUNCTION()
791 if (EXPECTED(zobj->handlers == &std_object_handlers)) { in ZEND_FUNCTION()
809 if (key && zend_check_property_access(zobj, key, is_dynamic) == FAILURE) { in ZEND_FUNCTION()
H A Dzend_execute.c2834 zend_object *zobj; in zend_fetch_property_address() local
2862 zobj = Z_OBJ_P(container); in zend_fetch_property_address()
2864 EXPECTED(zobj->ce == CACHED_PTR_EX(cache_slot))) { in zend_fetch_property_address()
2868 ptr = OBJ_PROP(zobj, prop_offset); in zend_fetch_property_address()
2879 } else if (EXPECTED(zobj->properties != NULL)) { in zend_fetch_property_address()
2880 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_fetch_property_address()
2882 GC_DELREF(zobj->properties); in zend_fetch_property_address()
2884 zobj->properties = zend_array_dup(zobj->properties); in zend_fetch_property_address()
2886 ptr = zend_hash_find_ex(zobj->properties, Z_STR_P(prop_ptr), 1); in zend_fetch_property_address()
2899 ptr = zobj->handlers->get_property_ptr_ptr(zobj, name, type, cache_slot); in zend_fetch_property_address()
[all …]
H A Dzend_API.h2036 zend_object *zobj = Z_OBJ_P(arg); in zend_parse_arg_array_ht() local
2038 && zobj->properties in zend_parse_arg_array_ht()
2039 && UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_parse_arg_array_ht()
2040 if (EXPECTED(!(GC_FLAGS(zobj->properties) & IS_ARRAY_IMMUTABLE))) { in zend_parse_arg_array_ht()
2041 GC_DELREF(zobj->properties); in zend_parse_arg_array_ht()
2043 zobj->properties = zend_array_dup(zobj->properties); in zend_parse_arg_array_ht()
2045 *dest = zobj->handlers->get_properties(zobj); in zend_parse_arg_array_ht()
H A Dzend_API.c578 zend_object *zobj = Z_OBJ_P(arg); in zend_parse_arg_str_weak() local
580 if (zobj->handlers->cast_object(zobj, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_str_weak()
581 OBJ_RELEASE(zobj); in zend_parse_arg_str_weak()
1200 zend_object *zobj = Z_OBJ_P(obj); in zend_merge_properties() local
1201 zend_object_write_property_t write_property = zobj->handlers->write_property; in zend_merge_properties()
1209 write_property(zobj, key, value, NULL); in zend_merge_properties()
H A Dzend_operators.c2547 zend_object *zobj = Z_OBJ_P(op); in zend_object_is_true() local
2549 if (zobj->handlers->cast_object(zobj, &tmp, _IS_BOOL) == SUCCESS) { in zend_object_is_true()
2552 …zend_error(E_RECOVERABLE_ERROR, "Object of class %s could not be converted to bool", ZSTR_VAL(zobj in zend_object_is_true()
/PHP-8.0/ext/gmp/
H A Dphp_gmp_int.h24 static inline gmp_object *php_gmp_object_from_zend_object(zend_object *zobj) { in php_gmp_object_from_zend_object() argument
25 return (gmp_object *)( ((char *)zobj) - XtOffsetOf(gmp_object, std) ); in php_gmp_object_from_zend_object()
H A Dgmp.c475 zend_object *zobj; in gmp_unserialize() local
480 zobj = Z_OBJ_P(object); in gmp_unserialize()
504 zend_std_get_properties(zobj), Z_ARRVAL_P(zv), in gmp_unserialize()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_helpers.c2712 GC_ADDREF(zobj); in zend_jit_pre_inc_obj_helper()
2727 zobj->handlers->write_property(zobj, name, &z_copy, cache_slot); in zend_jit_pre_inc_obj_helper()
2728 OBJ_RELEASE(zobj); in zend_jit_pre_inc_obj_helper()
2780 GC_ADDREF(zobj); in zend_jit_pre_dec_obj_helper()
2795 zobj->handlers->write_property(zobj, name, &z_copy, cache_slot); in zend_jit_pre_dec_obj_helper()
2796 OBJ_RELEASE(zobj); in zend_jit_pre_dec_obj_helper()
2843 GC_ADDREF(zobj); in zend_jit_post_inc_obj_helper()
2854 zobj->handlers->write_property(zobj, name, &z_copy, cache_slot); in zend_jit_post_inc_obj_helper()
2855 OBJ_RELEASE(zobj); in zend_jit_post_inc_obj_helper()
2902 GC_ADDREF(zobj); in zend_jit_post_dec_obj_helper()
[all …]
H A Dzend_jit_x86.dasc13804 …| // value = zobj->handlers->write_property(zobj, name, value, CACHE_ADDR(opline->extended_value));
14155 …| // value = zobj->handlers->write_property(zobj, name, value, CACHE_ADDR(opline->extended_value));
14462 …| // value = zobj->handlers->write_property(zobj, name, value, CACHE_ADDR(opline->extended_value));
/PHP-8.0/ext/com_dotnet/
H A Dcom_variant.c497 zval *zobj, *zvalue = NULL; in PHP_FUNCTION() local
505 obj = CDNO_FETCH(zobj); in PHP_FUNCTION()
1003 zval *zobj; in PHP_FUNCTION() local
1007 "O", &zobj, php_com_variant_class_entry)) { in PHP_FUNCTION()
1010 obj = CDNO_FETCH(zobj); in PHP_FUNCTION()
1019 zval *zobj; in PHP_FUNCTION() local
1025 "Ol", &zobj, php_com_variant_class_entry, &vt)) { in PHP_FUNCTION()
1028 obj = CDNO_FETCH(zobj); in PHP_FUNCTION()
1053 zval *zobj; in PHP_FUNCTION() local
1060 "Ol", &zobj, php_com_variant_class_entry, &vt)) { in PHP_FUNCTION()
[all …]
H A Dcom_persist.c638 zval *zobj = NULL; in CPH_METHOD() local
642 &zobj, php_com_variant_class_entry)) { in CPH_METHOD()
646 if (!zobj) { in CPH_METHOD()
650 obj = CDNO_FETCH(zobj); in CPH_METHOD()
/PHP-8.0/
H A D.gdbinit210 set $zobj = $zvalue->value.obj
211 set $cname = $zobj->ce->name->val
215 if $zobj->properties
217 set $ht = $zobj->properties
228 set $ht = &$zobj->ce->properties_info
235 set $val = (zval*)((char*)$zobj + $prop->offset)
/PHP-8.0/ext/hash/
H A Dhash.c1357 zend_object *zobj = &objval->std; in php_hashcontext_create() local
1359 zend_object_std_init(zobj, ce); in php_hashcontext_create()
1360 object_properties_init(zobj, ce); in php_hashcontext_create()
1361 zobj->handlers = &php_hashcontext_handlers; in php_hashcontext_create()
1363 return zobj; in php_hashcontext_create()
1385 static zend_object *php_hashcontext_clone(zend_object *zobj) { in php_hashcontext_clone() argument
1386 php_hashcontext_object *oldobj = php_hashcontext_from_object(zobj); in php_hashcontext_clone()
1387 zend_object *znew = php_hashcontext_create(zobj->ce); in php_hashcontext_clone()
1390 zend_objects_clone_members(znew, zobj); in php_hashcontext_clone()
/PHP-8.0/ext/intl/converter/
H A Dconverter.c64 static void php_converter_default_callback(zval *return_value, zval *zobj, zend_long reason, zval *… in php_converter_default_callback() argument
71 php_converter_object *objval = (php_converter_object*)CONV_GET(zobj); in php_converter_default_callback()
507 static void php_converter_resolve_callback(zval *zobj, in php_converter_resolve_callback() argument
516 Z_ADDREF_P(zobj); in php_converter_resolve_callback()
517 add_index_zval(&caller, 0, zobj); in php_converter_resolve_callback()
/PHP-8.0/ext/phar/
H A Dphar_object.c1114 zval *zobj = ZEND_THIS, arg1, arg2; in PHP_METHOD() local
1116 phar_obj = (phar_archive_object*)((char*)Z_OBJ_P(zobj) - Z_OBJ_P(zobj)->handlers->offset); in PHP_METHOD()
1218 Z_OBJ_P(zobj), NULL, &arg1, &arg2); in PHP_METHOD()
1342 zval *zobj = ZEND_THIS; \
1353 zval *zobj = ZEND_THIS; in PHP_METHOD() local
4425 zval *zobj = ZEND_THIS, arg1; in PHP_METHOD() local
4431 entry_obj = (phar_entry_object*)((char*)Z_OBJ_P(zobj) - Z_OBJ_P(zobj)->handlers->offset); in PHP_METHOD()
4474 Z_OBJ_P(zobj), NULL, &arg1); in PHP_METHOD()
4481 zval *zobj = ZEND_THIS; \
4492 zval *zobj = ZEND_THIS; in PHP_METHOD() local
[all …]
/PHP-8.0/ext/spl/
H A Dspl_iterators.c880 zval *zobj; in spl_recursive_it_get_method() local
886 zobj = &object->iterators[level].zobject; in spl_recursive_it_get_method()
890 if ((function_handler = zend_hash_find_ptr(&Z_OBJCE_P(zobj)->function_table, method)) == NULL) { in spl_recursive_it_get_method()
891 *zobject = Z_OBJ_P(zobj); in spl_recursive_it_get_method()
894 *zobject = Z_OBJ_P(zobj); in spl_recursive_it_get_method()
/PHP-8.0/ext/ffi/
H A Dffi.c1675 static zend_string *zend_ffi_cdata_get_class_name(const zend_object *zobj) /* {{{ */ in zend_ffi_cdata_get_class_name() argument
1677 zend_ffi_cdata *cdata = (zend_ffi_cdata*)zobj; in zend_ffi_cdata_get_class_name()
1679 return zend_ffi_get_class_name(zobj->ce->name, ZEND_FFI_TYPE(cdata->type)); in zend_ffi_cdata_get_class_name()
2171 static zend_string *zend_ffi_ctype_get_class_name(const zend_object *zobj) /* {{{ */ in zend_ffi_ctype_get_class_name() argument
2173 zend_ffi_ctype *ctype = (zend_ffi_ctype*)zobj; in zend_ffi_ctype_get_class_name()
2175 return zend_ffi_get_class_name(zobj->ce->name, ZEND_FFI_TYPE(ctype->type)); in zend_ffi_ctype_get_class_name()
/PHP-8.0/ext/soap/
H A Dphp_encoding.c1458 zend_object *zobj = Z_OBJ_P(ret); in to_zval_object_ex() local
1459 zobj->ce = ce; in to_zval_object_ex()

Completed in 454 milliseconds