Home
last modified time | relevance | path

Searched refs:cache_slot (Results 1 – 25 of 34) sorted by relevance

12

/php-src/Zend/
H A Dzend_object_handlers.h56 #define ZEND_SET_PROPERTY_HOOK_SIMPLE_READ(cache_slot) \ argument
58 void **__cache_slot = (cache_slot); \
63 #define ZEND_SET_PROPERTY_HOOK_SIMPLE_WRITE(cache_slot) \ argument
65 void **__cache_slot = (cache_slot); \
70 #define ZEND_SET_PROPERTY_HOOK_SIMPLE_GET(cache_slot) \ argument
72 void **__cache_slot = (cache_slot); \
120 … void (*zend_object_unset_property_t)(zend_object *object, zend_string *member, void **cache_slot);
260 …nd_std_get_property_ptr_ptr(zend_object *object, zend_string *member, int type, void **cache_slot);
262 …*zend_std_write_property(zend_object *object, zend_string *member, zval *value, void **cache_slot);
263 …_std_has_property(zend_object *object, zend_string *member, int has_set_exists, void **cache_slot);
[all …]
H A Dzend_object_handlers.c357 if (cache_slot && EXPECTED(ce == CACHED_PTR_EX(cache_slot))) { in zend_get_property_offset()
358 *info_ptr = CACHED_PTR_EX(cache_slot + 2); in zend_get_property_offset()
371 if (cache_slot) { in zend_get_property_offset()
373 CACHE_PTR_EX(cache_slot + 2, NULL); in zend_get_property_offset()
430 if (cache_slot) { in zend_get_property_offset()
432 CACHE_PTR_EX(cache_slot + 2, property_info); in zend_get_property_offset()
443 if (cache_slot) { in zend_get_property_offset()
445 CACHE_PTR_EX(cache_slot + 2, property_info); in zend_get_property_offset()
771 if (cache_slot) { in zend_std_read_property()
830 if (EXPECTED(cache_slot in zend_std_read_property()
[all …]
H A Dzend_execute.c1108 void **cache_slot, zend_type *type) in zend_fetch_ce_from_cache_slot() argument
1133 *cache_slot = (void *) ce; in zend_fetch_ce_from_cache_slot()
1141 void **cache_slot = *cache_slot_ptr; in zend_check_intersection_type_from_cache_slot() local
1158 *cache_slot_ptr = cache_slot; in zend_check_intersection_type_from_cache_slot()
3339 cache_slot = _cache_slot; in zend_fetch_property_address()
3341 ZEND_ASSERT(cache_slot); in zend_fetch_property_address()
3555 CACHE_PTR(cache_slot, ce); in zend_fetch_static_property_address_ex()
5290 if (EXPECTED(*cache_slot == fbc)) { in zend_get_arg_offset_by_name()
5301 *cache_slot = fbc; in zend_get_arg_offset_by_name()
5312 *cache_slot = fbc; in zend_get_arg_offset_by_name()
[all …]
H A Dzend_vm_execute.h23523 void **cache_slot; in ZEND_ASSIGN_OBJ_OP_SPEC_VAR_CONST_HANDLER() local
23745 void **cache_slot; in ZEND_PRE_INC_OBJ_SPEC_VAR_CONST_HANDLER() local
23809 void **cache_slot; in ZEND_POST_INC_OBJ_SPEC_VAR_CONST_HANDLER() local
26509 void **cache_slot; in ZEND_ASSIGN_OBJ_OP_SPEC_VAR_TMPVAR_HANDLER() local
26733 void **cache_slot; in ZEND_PRE_INC_OBJ_SPEC_VAR_TMPVAR_HANDLER() local
26798 void **cache_slot; in ZEND_POST_INC_OBJ_SPEC_VAR_TMPVAR_HANDLER() local
30867 void **cache_slot; in ZEND_ASSIGN_OBJ_OP_SPEC_VAR_CV_HANDLER() local
31089 void **cache_slot; in ZEND_PRE_INC_OBJ_SPEC_VAR_CV_HANDLER() local
31153 void **cache_slot; in ZEND_POST_INC_OBJ_SPEC_VAR_CV_HANDLER() local
33536 void **cache_slot; in ZEND_ASSIGN_OBJ_OP_SPEC_UNUSED_CONST_HANDLER() local
[all …]
H A Dzend_vm_def.h1016 void **cache_slot; variable
1287 void **cache_slot; variable
1357 void **cache_slot; variable
2038 void **cache_slot = NULL; variable
2245 void **cache_slot = NULL; variable
4413 void *cache_slot = CACHE_ADDR(opline->op2.num); variable
5231 void *cache_slot[2] = {NULL, NULL}; in ZEND_HASH_FOREACH_STR_KEY_VAL() local
5233 EX(call)->func, name, cache_slot) + 1; in ZEND_HASH_FOREACH_STR_KEY_VAL()
5249 void *cache_slot[2] = {NULL, NULL}; in ZEND_HASH_FOREACH_STR_KEY_VAL() local
5345 void *cache_slot[2] = {NULL, NULL}; variable
[all …]
H A Dzend_execute.h108 zend_type *type, zval *arg, zend_reference *ref, void **cache_slot, bool is_return_type);
445 uint32_t *arg_num_ptr, void **cache_slot);
/php-src/ext/standard/
H A Dincomplete_class.c51 …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
/php-src/ext/xsl/
H A Dphp_xsl.c150 …alidation(zend_object *object, zend_string *member, zval *value, void **cache_slot, zval *property) in xsl_objects_write_property_with_validation() argument
169 …sl_objects_write_property(zend_object *object, zend_string *member, zval *value, void **cache_slot) in xsl_objects_write_property() argument
174 return xsl_objects_write_property_with_validation(object, member, value, cache_slot, property); in xsl_objects_write_property()
177 return xsl_objects_write_property_with_validation(object, member, value, cache_slot, property); in xsl_objects_write_property()
179 return zend_std_write_property(object, member, value, cache_slot); in xsl_objects_write_property()
188 …objects_get_property_ptr_ptr(zend_object *object, zend_string *member, int type, void **cache_slot) in xsl_objects_get_property_ptr_ptr() argument
194 return zend_std_get_property_ptr_ptr(object, member, type, cache_slot); in xsl_objects_get_property_ptr_ptr()
197 …ects_read_property(zend_object *object, zend_string *member, int type, void **cache_slot, zval *rv) in xsl_objects_read_property() argument
205 return zend_std_read_property(object, member, type, cache_slot, rv); in xsl_objects_read_property()
208 static void xsl_objects_unset_property(zend_object *object, zend_string *member, void **cache_slot) in xsl_objects_unset_property() argument
[all …]
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_cache_slot_opt.phpt2 Demonstrate that cache_slot optimization is illegal due to cache_slot merging
/php-src/ext/opcache/jit/
H A Dzend_jit_helpers.c66 *cache_slot = fbc; in zend_jit_find_func_helper()
74 *cache_slot = (void *)(uintptr_t)result; in zend_jit_jmp_frameless_helper()
93 *cache_slot = fbc; in zend_jit_find_ns_func_helper()
1859 idx = (uintptr_t)CACHED_PTR_EX(cache_slot) - 1; in zend_jit_fetch_global_helper()
1878 CACHE_PTR_EX(cache_slot, (void*)(idx + 1)); in zend_jit_fetch_global_helper()
1882 CACHE_PTR_EX(cache_slot, (void*)(idx + 1)); in zend_jit_fetch_global_helper()
1908 void **cache_slot = CACHE_ADDR(opline->extended_value); in zend_jit_verify_arg_slow() local
2227 ZEND_ASSERT(cache_slot); in zend_jit_fetch_obj_w_slow()
2254 zend_property_info *prop_info = CACHED_PTR_EX(cache_slot + 2); in zend_jit_fetch_obj_w_slow()
3106 zobj->handlers->write_property(zobj, name, &z_copy, cache_slot); in zend_jit_pre_inc_obj_helper()
[all …]
H A Dzend_jit_vm_helpers.c851 void **cache_slot = CACHE_ADDR(opline->extended_value & ~ZEND_FETCH_REF); local
852 uintptr_t prop_offset = (uintptr_t)CACHED_PTR_EX(cache_slot + 1);
854 …CACHE_PTR_EX(cache_slot + 1, (void*)((uintptr_t)CACHED_PTR_EX(cache_slot + 1) & ~ZEND_PROPERTY_HOO…
/php-src/ext/mysqli/
H A Dmysqli.c241 zval *mysqli_read_property(zend_object *object, zend_string *name, int type, void **cache_slot, zva… in mysqli_read_property() argument
255 return zend_std_read_property(object, name, type, cache_slot, rv); in mysqli_read_property()
260 zval *mysqli_write_property(zend_object *object, zend_string *name, zval *value, void **cache_slot) in mysqli_write_property() argument
289 return zend_std_write_property(object, name, value, cache_slot); in mysqli_write_property()
305 …s_property(zend_object *object, zend_string *name, int has_set_exists, void **cache_slot) /* {{{ */ in mysqli_object_has_property() argument
318 zval *value = mysqli_read_property(object, name, BP_VAR_IS, cache_slot, &rv); in mysqli_object_has_property()
327 zval *value = mysqli_read_property(object, name, BP_VAR_IS, cache_slot, &rv); in mysqli_object_has_property()
337 has_property = zend_std_has_property(object, name, has_set_exists, cache_slot); in mysqli_object_has_property()
/php-src/ext/xmlreader/
H A Dphp_xmlreader.c113 …xmlreader_get_property_ptr_ptr(zend_object *object, zend_string *name, int type, void **cache_slot) in xmlreader_get_property_ptr_ptr() argument
119 retval = zend_std_get_property_ptr_ptr(object, name, type, cache_slot); in xmlreader_get_property_ptr_ptr()
126 …tic int xmlreader_has_property(zend_object *object, zend_string *name, int type, void **cache_slot) in xmlreader_has_property() argument
156 return zend_std_has_property(object, name, type, cache_slot); in xmlreader_has_property()
161 …reader_read_property(zend_object *object, zend_string *name, int type, void **cache_slot, zval *rv) in xmlreader_read_property() argument
174 retval = zend_std_read_property(object, name, type, cache_slot, rv); in xmlreader_read_property()
182 …l *xmlreader_write_property(zend_object *object, zend_string *name, zval *value, void **cache_slot) in xmlreader_write_property() argument
189 value = zend_std_write_property(object, name, value, cache_slot); in xmlreader_write_property()
196 void xmlreader_unset_property(zend_object *object, zend_string *name, void **cache_slot) in xmlreader_unset_property() argument
205 zend_std_unset_property(object, name, cache_slot); in xmlreader_unset_property()
/php-src/ext/dom/
H A Dphp_dom.c368 if (cache_slot && *cache_slot == obj->prop_handler) { in dom_get_prop_handler()
369 hnd = *(cache_slot + 1); in dom_get_prop_handler()
373 if (cache_slot) { in dom_get_prop_handler()
374 *cache_slot = obj->prop_handler; in dom_get_prop_handler()
375 *(cache_slot + 1) = (void *) hnd; in dom_get_prop_handler()
417 if (cache_slot) { in dom_write_property()
418 ZEND_ASSERT(*cache_slot == obj->prop_handler); in dom_write_property()
419 prop = *(cache_slot + 2); in dom_write_property()
423 if (cache_slot) { in dom_write_property()
424 *(cache_slot + 2) = prop; in dom_write_property()
[all …]
/php-src/ext/com_dotnet/
H A Dcom_handlers.c28 …*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 Dcom_saproxy.c77 …roxy_property_read(zend_object *object, zend_string *member, int type, void **cache_slot, zval *rv) in saproxy_property_read() argument
86 …l *saproxy_property_write(zend_object *object, zend_string *member, zval *value, void **cache_slot) in saproxy_property_write() argument
291 …proxy_property_exists(zend_object *object, zend_string *member, int check_empty, void **cache_slot) in saproxy_property_exists() argument
304 static void saproxy_property_delete(zend_object *object, zend_string *member, void **cache_slot) in saproxy_property_delete() argument
/php-src/ext/opcache/
H A Dzend_accelerator_util_funcs.c285 early_binding->cache_slot = (uint32_t) -1; in zend_accel_build_delayed_early_binding_list()
313 early_binding->cache_slot = opline->extended_value; in zend_accel_finalize_delayed_early_binding_list()
365 if (ce && early_binding->cache_slot != (uint32_t) -1) { in zend_accel_do_delayed_early_binding()
366 *(void**)((char*)run_time_cache + early_binding->cache_slot) = ce; in zend_accel_do_delayed_early_binding()
H A DZendAccelerator.h116 uint32_t cache_slot; member
/php-src/ext/snmp/
H A Dsnmp.c1686 zval *php_snmp_read_property(zend_object *object, zend_string *name, int type, void **cache_slot, z… in php_snmp_read_property() argument
1704 retval = zend_std_read_property(object, name, type, cache_slot, rv); in php_snmp_read_property()
1712 …al *php_snmp_write_property(zend_object *object, zend_string *name, zval *value, void **cache_slot) in php_snmp_write_property() argument
1740 return zend_std_write_property(object, name, value, cache_slot); in php_snmp_write_property()
1746 …hp_snmp_has_property(zend_object *object, zend_string *name, int has_set_exists, void **cache_slot) in php_snmp_has_property() argument
1758 zval *value = php_snmp_read_property(object, name, BP_VAR_IS, cache_slot, &rv); in php_snmp_has_property()
1766 zval *value = php_snmp_read_property(object, name, BP_VAR_IS, cache_slot, &rv); in php_snmp_has_property()
1775 ret = zend_std_has_property(object, name, has_set_exists, cache_slot); in php_snmp_has_property()
1813 …*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
1817 return zend_std_get_property_ptr_ptr(object, name, type, cache_slot); in php_snmp_get_property_ptr_ptr()
/php-src/ext/spl/
H A Dspl_array.c806 …read_property(zend_object *object, zend_string *name, int type, void **cache_slot, zval *rv) /* {{… in spl_array_read_property() argument
816 return zend_std_read_property(object, name, type, cache_slot, rv); in spl_array_read_property()
819 …ay_write_property(zend_object *object, zend_string *name, zval *value, void **cache_slot) /* {{{ */ in spl_array_write_property() argument
830 return zend_std_write_property(object, name, value, cache_slot); in spl_array_write_property()
833 …get_property_ptr_ptr(zend_object *object, zend_string *name, int type, void **cache_slot) /* {{{ */ in spl_array_get_property_ptr_ptr() argument
848 return zend_std_get_property_ptr_ptr(object, name, type, cache_slot); in spl_array_get_property_ptr_ptr()
851 …s_property(zend_object *object, zend_string *name, int has_set_exists, void **cache_slot) /* {{{ */ in spl_array_has_property() argument
861 return zend_std_has_property(object, name, has_set_exists, cache_slot); in spl_array_has_property()
864 static void spl_array_unset_property(zend_object *object, zend_string *name, void **cache_slot) /* … in spl_array_unset_property() argument
875 zend_std_unset_property(object, name, cache_slot); in spl_array_unset_property()
/php-src/ext/date/
H A Dphp_date.c1715 retval = zend_std_has_property(object, name, type, cache_slot); in date_interval_has_property()
1730 retval = zend_std_has_property(object, name, type, cache_slot); in date_interval_has_property()
4489 retval = zend_std_read_property(object, name, type, cache_slot, rv); in date_interval_read_property()
4512 retval = zend_std_read_property(object, name, type, cache_slot, rv); in date_interval_read_property()
4539 return zend_std_write_property(object, name, value, cache_slot); in date_interval_write_property()
4561 value = zend_std_write_property(object, name, value, cache_slot); in date_interval_write_property()
4586 ret = zend_std_get_property_ptr_ptr(object, name, type, cache_slot); in date_interval_get_property_ptr_ptr()
5953 return zend_std_has_property(object, name, type, cache_slot); in date_period_has_property()
6025 return zend_std_read_property(object, name, type, cache_slot, rv); in date_period_read_property()
6036 return zend_std_write_property(object, name, value, cache_slot); in date_period_write_property()
[all …]
/php-src/ext/pdo/
H A Dpdo_stmt.c2010 …tic zval *dbstmt_prop_write(zend_object *object, zend_string *name, zval *value, void **cache_slot) in dbstmt_prop_write() argument
2019 return zend_std_write_property(object, name, value, cache_slot); in dbstmt_prop_write()
2022 static void dbstmt_prop_delete(zend_object *object, zend_string *name, void **cache_slot) in dbstmt_prop_delete() argument
2027 zend_std_unset_property(object, name, cache_slot); in dbstmt_prop_delete()
2285 static zval *row_prop_read(zend_object *object, zend_string *name, int type, void **cache_slot, zva… in row_prop_read() argument
2295 return zend_std_read_property(&stmt->std, name, type, cache_slot, rv); in row_prop_read()
2344 static zval *row_prop_write(zend_object *object, zend_string *name, zval *value, void **cache_slot) in row_prop_write() argument
2360 …tic int row_prop_exists(zend_object *object, zend_string *name, int check_empty, void **cache_slot) in row_prop_exists() argument
2419 static void row_prop_delete(zend_object *object, zend_string *offset, void **cache_slot) in row_prop_delete() argument
2461 … *pdo_row_get_property_ptr_ptr(zend_object *object, zend_string *name, int type, void **cache_slot) in pdo_row_get_property_ptr_ptr() argument
[all …]
/php-src/ext/bcmath/
H A Dbcmath.c937 … *bcmath_number_write_property(zend_object *obj, zend_string *name, zval *value, void **cache_slot) in bcmath_number_write_property() argument
944 return zend_std_write_property(obj, name, value, cache_slot); in bcmath_number_write_property()
947 static void bcmath_number_unset_property(zend_object *obj, zend_string *name, void **cache_slot) in bcmath_number_unset_property() argument
954 zend_std_unset_property(obj, name, cache_slot); in bcmath_number_unset_property()
957 …th_number_read_property(zend_object *obj, zend_string *name, int type, void **cache_slot, zval *rv) in bcmath_number_read_property() argument
971 return zend_std_read_property(obj, name, type, cache_slot, rv); in bcmath_number_read_property()
974 …bcmath_number_has_property(zend_object *obj, zend_string *name, int check_empty, void **cache_slot) in bcmath_number_has_property() argument
/php-src/ext/zip/
H A Dphp_zip.c886 …get_property_ptr_ptr(zend_object *object, zend_string *name, int type, void **cache_slot) /* {{{ */ in php_zip_get_property_ptr_ptr() argument
899 retval = zend_std_get_property_ptr_ptr(object, name, type, cache_slot); in php_zip_get_property_ptr_ptr()
907 …val *php_zip_write_property(zend_object *object, zend_string *name, zval *value, void **cache_slot) in php_zip_write_property() argument
923 return zend_std_write_property(object, name, value, cache_slot); in php_zip_write_property()
926 …read_property(zend_object *object, zend_string *name, int type, void **cache_slot, zval *rv) /* {{… in php_zip_read_property() argument
944 retval = zend_std_read_property(object, name, type, cache_slot, rv); in php_zip_read_property()
952 static int php_zip_has_property(zend_object *object, zend_string *name, int type, void **cache_slot in php_zip_has_property() argument
979 retval = zend_std_has_property(object, name, type, cache_slot); in php_zip_has_property()
/php-src/ext/ffi/
H A Dffi.c1124 …zend_ffi_cdata_set(zend_object *obj, zend_string *member, zval *value, void **cache_slot) /* {{{ */ in zend_ffi_cdata_set() argument
1231 if (cache_slot && *cache_slot == type) { in zend_ffi_cdata_read_field()
1232 field = *(cache_slot + 1); in zend_ffi_cdata_read_field()
1250 if (cache_slot) { in zend_ffi_cdata_read_field()
1251 *cache_slot = type; in zend_ffi_cdata_read_field()
1252 *(cache_slot + 1) = field; in zend_ffi_cdata_read_field()
1304 if (cache_slot && *cache_slot == type) { in zend_ffi_cdata_write_field()
1305 field = *(cache_slot + 1); in zend_ffi_cdata_write_field()
1327 if (cache_slot) { in zend_ffi_cdata_write_field()
1328 *cache_slot = type; in zend_ffi_cdata_write_field()
[all …]

Completed in 311 milliseconds

12