/PHP-8.1/ext/standard/ |
H A D | incomplete_class.c | 51 …et_property(zend_object *object, zend_string *member, int type, void **cache_slot, zval *rv) /* {{… in incomplete_class_get_property() argument 64 …_write_property(zend_object *object, zend_string *member, zval *value, void **cache_slot) /* {{{ */ in incomplete_class_write_property() argument 71 …t_property_ptr_ptr(zend_object *object, zend_string *member, int type, void **cache_slot) /* {{{ */ in incomplete_class_get_property_ptr_ptr() argument 78 …omplete_class_unset_property(zend_object *object, zend_string *member, void **cache_slot) /* {{{ */ in incomplete_class_unset_property() argument 84 …as_property(zend_object *object, zend_string *member, int check_empty, void **cache_slot) /* {{{ */ in incomplete_class_has_property() argument
|
H A D | array.c | 4100 …ch_prop(zval *data, zend_string *name_str, zend_long name_long, void **cache_slot, zval *rv) /* {{… argument 4115 if (Z_OBJ_HANDLER_P(data, has_property)(Z_OBJ_P(data), tmp_str, ZEND_PROPERTY_EXISTS, cache_slot) 4116 … || Z_OBJ_HANDLER_P(data, has_property)(Z_OBJ_P(data), tmp_str, ZEND_PROPERTY_ISSET, cache_slot)) { 4117 prop = Z_OBJ_HANDLER_P(data, read_property)(Z_OBJ_P(data), tmp_str, BP_VAR_R, cache_slot, rv);
|
/PHP-8.1/ext/intl/transliterator/ |
H A D | transliterator_class.c | 190 …terator_get_property_ptr_ptr( zend_object *object, zend_string *name, int type, void **cache_slot ) in Transliterator_get_property_ptr_ptr() argument 195 return zend_std_get_property_ptr_ptr( object, name, type, cache_slot ); in Transliterator_get_property_ptr_ptr() 200 …ator_read_property( zend_object *object, zend_string *name, int type, void **cache_slot, zval *rv ) in Transliterator_read_property() argument 208 retval = zend_std_read_property( object, name, type, cache_slot, rv ); in Transliterator_read_property() 218 void **cache_slot ) in Transliterator_write_property() argument 230 value = zend_std_write_property( object, name, value, cache_slot ); in Transliterator_write_property()
|
/PHP-8.1/Zend/ |
H A D | zend_object_handlers.h | 40 …_read_property_t)(zend_object *object, zend_string *member, int type, void **cache_slot, zval *rv); 49 …object_write_property_t)(zend_object *object, zend_string *member, zval *value, void **cache_slot); 62 …ect_get_property_ptr_ptr_t)(zend_object *object, zend_string *member, int type, void **cache_slot); 70 …t_has_property_t)(zend_object *object, zend_string *member, int has_set_exists, void **cache_slot); 76 … void (*zend_object_unset_property_t)(zend_object *object, zend_string *member, void **cache_slot); 213 …nd_std_get_property_ptr_ptr(zend_object *object, zend_string *member, int type, void **cache_slot); 214 …std_read_property(zend_object *object, zend_string *member, int type, void **cache_slot, zval *rv); 215 …*zend_std_write_property(zend_object *object, zend_string *member, zval *value, void **cache_slot); 216 …_std_has_property(zend_object *object, zend_string *member, int has_set_exists, void **cache_slot); 217 ZEND_API void zend_std_unset_property(zend_object *object, zend_string *member, void **cache_slot);
|
H A D | zend_object_handlers.c | 305 if (cache_slot && EXPECTED(ce == CACHED_PTR_EX(cache_slot))) { in zend_get_property_offset() 306 *info_ptr = CACHED_PTR_EX(cache_slot + 2); in zend_get_property_offset() 307 return (uintptr_t)CACHED_PTR_EX(cache_slot + 1); in zend_get_property_offset() 319 if (cache_slot) { in zend_get_property_offset() 321 CACHE_PTR_EX(cache_slot + 2, NULL); in zend_get_property_offset() 386 if (cache_slot) { in zend_get_property_offset() 387 CACHE_POLYMORPHIC_PTR_EX(cache_slot, ce, (void*)(uintptr_t)offset); in zend_get_property_offset() 388 CACHE_PTR_EX(cache_slot + 2, property_info); in zend_get_property_offset() 639 CACHE_PTR_EX(cache_slot + 1, (void*)ZEND_DYNAMIC_PROPERTY_OFFSET); in zend_std_read_property() 643 if (cache_slot) { in zend_std_read_property() [all …]
|
H A D | zend_execute.c | 984 void **cache_slot, zend_type *type) in zend_fetch_ce_from_cache_slot() argument 1009 *cache_slot = (void *) ce; in zend_fetch_ce_from_cache_slot() 1032 cache_slot++; in zend_check_type_slow() 1044 cache_slot++; in zend_check_type_slow() 3301 CACHE_PTR(cache_slot, ce); in zend_fetch_static_property_address_ex() 4952 if (EXPECTED(*cache_slot == fbc)) { in zend_get_arg_offset_by_name() 4963 *cache_slot = fbc; in zend_get_arg_offset_by_name() 4964 *(uintptr_t *)(cache_slot + 1) = i; in zend_get_arg_offset_by_name() 4973 *cache_slot = fbc; in zend_get_arg_offset_by_name() 4974 *(uintptr_t *)(cache_slot + 1) = i; in zend_get_arg_offset_by_name() [all …]
|
H A D | zend_vm_execute.h | 22407 void **cache_slot; in ZEND_ASSIGN_OBJ_OP_SPEC_VAR_CONST_HANDLER() local 22633 void **cache_slot; in ZEND_PRE_INC_OBJ_SPEC_VAR_CONST_HANDLER() local 22700 void **cache_slot; in ZEND_POST_INC_OBJ_SPEC_VAR_CONST_HANDLER() local 25101 void **cache_slot; in ZEND_ASSIGN_OBJ_OP_SPEC_VAR_TMPVAR_HANDLER() local 25329 void **cache_slot; in ZEND_PRE_INC_OBJ_SPEC_VAR_TMPVAR_HANDLER() local 25397 void **cache_slot; in ZEND_POST_INC_OBJ_SPEC_VAR_TMPVAR_HANDLER() local 29313 void **cache_slot; in ZEND_ASSIGN_OBJ_OP_SPEC_VAR_CV_HANDLER() local 29539 void **cache_slot; in ZEND_PRE_INC_OBJ_SPEC_VAR_CV_HANDLER() local 29606 void **cache_slot; in ZEND_POST_INC_OBJ_SPEC_VAR_CV_HANDLER() local 31820 void **cache_slot; in ZEND_ASSIGN_OBJ_OP_SPEC_UNUSED_CONST_HANDLER() local [all …]
|
H A D | zend_vm_def.h | 1012 void **cache_slot; variable 1286 void **cache_slot; variable 1359 void **cache_slot; variable 2039 void **cache_slot = NULL; variable 2196 void **cache_slot = NULL; variable 4267 void *cache_slot = CACHE_ADDR(opline->op2.num); variable 5084 void *cache_slot[2] = {NULL, NULL}; in ZEND_HASH_FOREACH_STR_KEY_VAL() local 5086 EX(call)->func, name, cache_slot) + 1; in ZEND_HASH_FOREACH_STR_KEY_VAL() 5102 void *cache_slot[2] = {NULL, NULL}; in ZEND_HASH_FOREACH_STR_KEY_VAL() local 5198 void *cache_slot[2] = {NULL, NULL}; variable [all …]
|
H A D | zend_execute.h | 90 zend_type *type, zval *arg, zend_reference *ref, void **cache_slot, bool is_return_type); 388 uint32_t *arg_num_ptr, void **cache_slot);
|
H A D | zend_types.h | 323 uint32_t cache_slot; /* cache slot (for RECV_INIT) */ member 584 #define Z_CACHE_SLOT(zval) (zval).u2.cache_slot
|
H A D | zend_execute_API.c | 849 void *cache_slot[2] = {NULL, NULL}; in zend_call_function() local 851 target = zend_handle_named_arg(&call, name, &arg_num, cache_slot); in zend_call_function()
|
/PHP-8.1/Zend/tests/type_declarations/ |
H A D | typed_properties_cache_slot_opt.phpt | 2 Demonstrate that cache_slot optimization is illegal due to cache_slot merging
|
/PHP-8.1/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 76 *cache_slot = fbc; in zend_jit_find_func_helper() 95 *cache_slot = fbc; in zend_jit_find_ns_func_helper() 1765 idx = (uintptr_t)CACHED_PTR_EX(cache_slot) - 1; in zend_jit_fetch_global_helper() 1785 CACHE_PTR_EX(cache_slot, (void*)(idx + 1)); in zend_jit_fetch_global_helper() 1789 CACHE_PTR_EX(cache_slot, (void*)(idx + 1)); in zend_jit_fetch_global_helper() 1815 void **cache_slot = CACHE_ADDR(opline->extended_value); in zend_jit_verify_arg_slow() local 2078 prop_info = CACHED_PTR_EX(cache_slot + 2); in zend_jit_fetch_obj_w_slow() 2854 zobj->handlers->write_property(zobj, name, &z_copy, cache_slot); in zend_jit_pre_inc_obj_helper() 2924 zobj->handlers->write_property(zobj, name, &z_copy, cache_slot); in zend_jit_pre_dec_obj_helper() 2985 zobj->handlers->write_property(zobj, name, &z_copy, cache_slot); in zend_jit_post_inc_obj_helper() [all …]
|
/PHP-8.1/ext/com_dotnet/ |
H A D | com_handlers.c | 28 …*com_property_read(zend_object *object, zend_string *member, int type, void **cache_slot, zval *rv) in com_property_read() argument 60 … zval *com_property_write(zend_object *object, zend_string *member, zval *value, void **cache_slot) in com_property_write() argument 180 …al *com_get_property_ptr_ptr(zend_object *object, zend_string *member, int type, void **cache_slot) in com_get_property_ptr_ptr() argument 185 …t com_property_exists(zend_object *object, zend_string *member, int check_empty, void **cache_slot) in com_property_exists() argument 211 static void com_property_delete(zend_object *object, zend_string *member, void **cache_slot) in com_property_delete() argument
|
H A D | com_saproxy.c | 69 …roxy_property_read(zend_object *object, zend_string *member, int type, void **cache_slot, zval *rv) in saproxy_property_read() argument 78 …l *saproxy_property_write(zend_object *object, zend_string *member, zval *value, void **cache_slot) in saproxy_property_write() argument 283 …proxy_property_exists(zend_object *object, zend_string *member, int check_empty, void **cache_slot) in saproxy_property_exists() argument 296 static void saproxy_property_delete(zend_object *object, zend_string *member, void **cache_slot) in saproxy_property_delete() argument
|
/PHP-8.1/ext/mysqli/ |
H A D | mysqli.c | 291 zval *mysqli_read_property(zend_object *object, zend_string *name, int type, void **cache_slot, zva… in mysqli_read_property() argument 305 return zend_std_read_property(object, name, type, cache_slot, rv); in mysqli_read_property() 310 zval *mysqli_write_property(zend_object *object, zend_string *name, zval *value, void **cache_slot) in mysqli_write_property() argument 339 return zend_std_write_property(object, name, value, cache_slot); in mysqli_write_property() 355 …s_property(zend_object *object, zend_string *name, int has_set_exists, void **cache_slot) /* {{{ */ in mysqli_object_has_property() argument 368 zval *value = mysqli_read_property(object, name, BP_VAR_IS, cache_slot, &rv); in mysqli_object_has_property() 377 zval *value = mysqli_read_property(object, name, BP_VAR_IS, cache_slot, &rv); in mysqli_object_has_property() 387 ret = zend_std_has_property(object, name, has_set_exists, cache_slot); in mysqli_object_has_property()
|
/PHP-8.1/ext/xmlreader/ |
H A D | php_xmlreader.c | 117 …xmlreader_get_property_ptr_ptr(zend_object *object, zend_string *name, int type, void **cache_slot) in xmlreader_get_property_ptr_ptr() argument 130 retval = zend_std_get_property_ptr_ptr(object, name, type, cache_slot); in xmlreader_get_property_ptr_ptr() 138 zval *xmlreader_read_property(zend_object *object, zend_string *name, int type, void **cache_slot, … in xmlreader_read_property() argument 157 retval = zend_std_read_property(object, name, type, cache_slot, rv); in xmlreader_read_property() 165 …l *xmlreader_write_property(zend_object *object, zend_string *name, zval *value, void **cache_slot) in xmlreader_write_property() argument 178 value = zend_std_write_property(object, name, value, cache_slot); in xmlreader_write_property()
|
/PHP-8.1/ext/snmp/ |
H A D | snmp.c | 1688 zval *php_snmp_read_property(zend_object *object, zend_string *name, int type, void **cache_slot, z… in php_snmp_read_property() argument 1706 retval = zend_std_read_property(object, name, type, cache_slot, rv); in php_snmp_read_property() 1714 …al *php_snmp_write_property(zend_object *object, zend_string *name, zval *value, void **cache_slot) in php_snmp_write_property() argument 1742 return zend_std_write_property(object, name, value, cache_slot); in php_snmp_write_property() 1748 …hp_snmp_has_property(zend_object *object, zend_string *name, int has_set_exists, void **cache_slot) in php_snmp_has_property() argument 1760 zval *value = php_snmp_read_property(object, name, BP_VAR_IS, cache_slot, &rv); in php_snmp_has_property() 1768 zval *value = php_snmp_read_property(object, name, BP_VAR_IS, cache_slot, &rv); in php_snmp_has_property() 1777 ret = zend_std_has_property(object, name, has_set_exists, cache_slot); in php_snmp_has_property() 1815 …*php_snmp_get_property_ptr_ptr(zend_object *object, zend_string *name, int type, void **cache_slot) in php_snmp_get_property_ptr_ptr() argument 1819 return zend_std_get_property_ptr_ptr(object, name, type, cache_slot); in php_snmp_get_property_ptr_ptr()
|
/PHP-8.1/ext/spl/ |
H A D | spl_array.c | 849 …read_property(zend_object *object, zend_string *name, int type, void **cache_slot, zval *rv) /* {{… in spl_array_read_property() argument 859 return zend_std_read_property(object, name, type, cache_slot, rv); in spl_array_read_property() 862 …ay_write_property(zend_object *object, zend_string *name, zval *value, void **cache_slot) /* {{{ */ in spl_array_write_property() argument 873 return zend_std_write_property(object, name, value, cache_slot); in spl_array_write_property() 876 …get_property_ptr_ptr(zend_object *object, zend_string *name, int type, void **cache_slot) /* {{{ */ in spl_array_get_property_ptr_ptr() argument 891 return zend_std_get_property_ptr_ptr(object, name, type, cache_slot); in spl_array_get_property_ptr_ptr() 894 …s_property(zend_object *object, zend_string *name, int has_set_exists, void **cache_slot) /* {{{ */ in spl_array_has_property() argument 904 return zend_std_has_property(object, name, has_set_exists, cache_slot); in spl_array_has_property() 907 static void spl_array_unset_property(zend_object *object, zend_string *name, void **cache_slot) /* … in spl_array_unset_property() argument 918 zend_std_unset_property(object, name, cache_slot); in spl_array_unset_property()
|
/PHP-8.1/ext/date/ |
H A D | php_date.c | 1623 retval = zend_std_has_property(object, name, type, cache_slot); in date_interval_has_property() 1627 prop = date_interval_read_property(object, name, BP_VAR_IS, cache_slot, &rv); in date_interval_has_property() 1638 retval = zend_std_has_property(object, name, type, cache_slot); in date_interval_has_property() 3885 retval = zend_std_read_property(object, name, type, cache_slot, rv); in date_interval_read_property() 3908 retval = zend_std_read_property(object, name, type, cache_slot, rv); in date_interval_read_property() 3935 return zend_std_write_property(object, name, value, cache_slot); in date_interval_write_property() 3957 value = zend_std_write_property(object, name, value, cache_slot); in date_interval_write_property() 3982 ret = zend_std_get_property_ptr_ptr(object, name, type, cache_slot); in date_interval_get_property_ptr_ptr() 5060 return zend_std_read_property(object, name, type, cache_slot, rv); in date_period_read_property() 5072 return zend_std_write_property(object, name, value, cache_slot); in date_period_write_property() [all …]
|
/PHP-8.1/ext/dom/ |
H A D | php_dom.c | 287 …zval *dom_get_property_ptr_ptr(zend_object *object, zend_string *name, int type, void **cache_slot) in dom_get_property_ptr_ptr() argument 292 return zend_std_get_property_ptr_ptr(object, name, type, cache_slot); in dom_get_property_ptr_ptr() 299 zval *dom_read_property(zend_object *object, zend_string *name, int type, void **cache_slot, zval *… in dom_read_property() argument 321 retval = zend_std_read_property(object, name, type, cache_slot, rv); in dom_read_property() 328 zval *dom_write_property(zend_object *object, zend_string *name, zval *value, void **cache_slot) in dom_write_property() argument 360 return zend_std_write_property(object, name, value, cache_slot); in dom_write_property() 364 …int dom_property_exists(zend_object *object, zend_string *name, int check_empty, void **cache_slot) in dom_property_exists() argument 387 retval = zend_std_has_property(object, name, check_empty, cache_slot); in dom_property_exists()
|
/PHP-8.1/ext/pdo/ |
H A D | pdo_stmt.c | 2021 …tic zval *dbstmt_prop_write(zend_object *object, zend_string *name, zval *value, void **cache_slot) in dbstmt_prop_write() argument 2030 return zend_std_write_property(object, name, value, cache_slot); in dbstmt_prop_write() 2033 static void dbstmt_prop_delete(zend_object *object, zend_string *name, void **cache_slot) in dbstmt_prop_delete() argument 2038 zend_std_unset_property(object, name, cache_slot); in dbstmt_prop_delete() 2261 static zval *row_prop_read(zend_object *object, zend_string *name, int type, void **cache_slot, zva… in row_prop_read() argument 2271 return zend_std_read_property(&stmt->std, name, type, cache_slot, rv); in row_prop_read() 2330 static zval *row_prop_write(zend_object *object, zend_string *name, zval *value, void **cache_slot) in row_prop_write() argument 2341 …tic int row_prop_exists(zend_object *object, zend_string *name, int check_empty, void **cache_slot) in row_prop_exists() argument 2409 static void row_prop_delete(zend_object *object, zend_string *offset, void **cache_slot) in row_prop_delete() argument
|
/PHP-8.1/ext/zip/ |
H A D | php_zip.c | 875 …get_property_ptr_ptr(zend_object *object, zend_string *name, int type, void **cache_slot) /* {{{ */ in php_zip_get_property_ptr_ptr() argument 888 retval = zend_std_get_property_ptr_ptr(object, name, type, cache_slot); in php_zip_get_property_ptr_ptr() 896 …val *php_zip_write_property(zend_object *object, zend_string *name, zval *value, void **cache_slot) in php_zip_write_property() argument 912 return zend_std_write_property(object, name, value, cache_slot); in php_zip_write_property() 915 …read_property(zend_object *object, zend_string *name, int type, void **cache_slot, zval *rv) /* {{… in php_zip_read_property() argument 933 retval = zend_std_read_property(object, name, type, cache_slot, rv); in php_zip_read_property() 940 static int php_zip_has_property(zend_object *object, zend_string *name, int type, void **cache_slot… in php_zip_has_property() argument 967 retval = zend_std_has_property(object, name, type, cache_slot); in php_zip_has_property()
|
/PHP-8.1/ext/ffi/ |
H A D | ffi.c | 1063 …zend_ffi_cdata_set(zend_object *obj, zend_string *member, zval *value, void **cache_slot) /* {{{ */ in zend_ffi_cdata_set() argument 1170 if (cache_slot && *cache_slot == type) { in zend_ffi_cdata_read_field() 1171 field = *(cache_slot + 1); in zend_ffi_cdata_read_field() 1189 if (cache_slot) { in zend_ffi_cdata_read_field() 1190 *cache_slot = type; in zend_ffi_cdata_read_field() 1191 *(cache_slot + 1) = field; in zend_ffi_cdata_read_field() 1243 if (cache_slot && *cache_slot == type) { in zend_ffi_cdata_write_field() 1244 field = *(cache_slot + 1); in zend_ffi_cdata_write_field() 1262 if (cache_slot) { in zend_ffi_cdata_write_field() 1263 *cache_slot = type; in zend_ffi_cdata_write_field() [all …]
|
/PHP-8.1/ext/simplexml/ |
H A D | simplexml.c | 348 static zval *sxe_property_read(zend_object *object, zend_string *name, int type, void **cache_slot,… in sxe_property_read() argument 612 …ic zval *sxe_property_write(zend_object *object, zend_string *name, zval *value, void **cache_slot) in sxe_property_write() argument 628 …perty_get_adr(zend_object *object, zend_string *zname, int fetch_type, void **cache_slot) /* {{{ */ in sxe_property_get_adr() argument 769 …int sxe_property_exists(zend_object *object, zend_string *name, int check_empty, void **cache_slot) in sxe_property_exists() argument 895 static void sxe_property_delete(zend_object *object, zend_string *name, void **cache_slot) in sxe_property_delete() argument
|