Lines Matching refs:cache_slot

955 # define HAVE_CACHE_SLOT (cache_slot != NULL)
961 zend_type type, zval *arg, zend_reference *ref, void **cache_slot, zend_class_entry *scope, in zend_check_type_slow() argument
970 if (HAVE_CACHE_SLOT && *cache_slot) { in zend_check_type_slow()
971 ce = *cache_slot; in zend_check_type_slow()
977 cache_slot++; in zend_check_type_slow()
982 *cache_slot = ce; in zend_check_type_slow()
989 cache_slot++; in zend_check_type_slow()
993 if (EXPECTED(HAVE_CACHE_SLOT && *cache_slot)) { in zend_check_type_slow()
994 ce = (zend_class_entry *) *cache_slot; in zend_check_type_slow()
1001 *cache_slot = (void *) ce; in zend_check_type_slow()
1041 zend_type type, zval *arg, void **cache_slot, zend_class_entry *scope, in zend_check_type() argument
1056 return zend_check_type_slow(type, arg, ref, cache_slot, scope, is_return_type, is_internal); in zend_check_type()
1059 …e bool zend_verify_recv_arg_type(zend_function *zf, uint32_t arg_num, zval *arg, void **cache_slot) in zend_verify_recv_arg_type() argument
1067 && UNEXPECTED(!zend_check_type(cur_arg_info->type, arg, cache_slot, zf->common.scope, 0, 0))) { in zend_verify_recv_arg_type()
1076 zend_function *zf, zend_arg_info *arg_info, uint32_t arg_num, zval *arg, void **cache_slot) in zend_verify_variadic_arg_type() argument
1079 if (UNEXPECTED(!zend_check_type(arg_info->type, arg, cache_slot, zf->common.scope, 0, 0))) { in zend_verify_variadic_arg_type()
1858 …dec_overloaded_property(zend_object *object, zend_string *name, void **cache_slot OPLINE_DC EXECUT… in zend_post_incdec_overloaded_property()
1865 z =object->handlers->read_property(object, name, BP_VAR_R, cache_slot, &rv); in zend_post_incdec_overloaded_property()
1879 object->handlers->write_property(object, name, &z_copy, cache_slot); in zend_post_incdec_overloaded_property()
1885 …dec_overloaded_property(zend_object *object, zend_string *name, void **cache_slot OPLINE_DC EXECUT… in zend_pre_incdec_overloaded_property()
1892 z = object->handlers->read_property(object, name, BP_VAR_R, cache_slot, &rv); in zend_pre_incdec_overloaded_property()
1910 object->handlers->write_property(object, name, &z_copy, cache_slot); in zend_pre_incdec_overloaded_property()
1916 …_op_overloaded_property(zend_object *object, zend_string *name, void **cache_slot, zval *value OPL… in zend_assign_op_overloaded_property() argument
1922 z = object->handlers->read_property(object, name, BP_VAR_R, cache_slot, &rv); in zend_assign_op_overloaded_property()
1931 object->handlers->write_property(object, name, &res, cache_slot); in zend_assign_op_overloaded_property()
2831 …t32_t container_op_type, zval *prop_ptr, uint32_t prop_op_type, void **cache_slot, int type, uint3… in zend_fetch_property_address() argument
2864 EXPECTED(zobj->ce == CACHED_PTR_EX(cache_slot))) { in zend_fetch_property_address()
2865 uintptr_t prop_offset = (uintptr_t)CACHED_PTR_EX(cache_slot + 1); in zend_fetch_property_address()
2872 zend_property_info *prop_info = CACHED_PTR_EX(cache_slot + 2); in zend_fetch_property_address()
2899 ptr = zobj->handlers->get_property_ptr_ptr(zobj, name, type, cache_slot); in zend_fetch_property_address()
2901 ptr = zobj->handlers->read_property(zobj, name, type, cache_slot, result); in zend_fetch_property_address()
2922 prop_info = CACHED_PTR_EX(cache_slot + 2); in zend_fetch_property_address()
3013 …rty_address_ex(zval **retval, zend_property_info **prop_info, uint32_t cache_slot, int fetch_type … in zend_fetch_static_property_address_ex() argument
3023 ZEND_ASSERT(op1_type != IS_CONST || CACHED_PTR(cache_slot) == NULL); in zend_fetch_static_property_address_ex()
3025 if (EXPECTED((ce = CACHED_PTR(cache_slot)) == NULL)) { in zend_fetch_static_property_address_ex()
3032 CACHE_PTR(cache_slot, ce); in zend_fetch_static_property_address_ex()
3045 if (EXPECTED(op1_type == IS_CONST) && EXPECTED(CACHED_PTR(cache_slot) == ce)) { in zend_fetch_static_property_address_ex()
3046 *retval = CACHED_PTR(cache_slot + sizeof(void *)); in zend_fetch_static_property_address_ex()
3047 *prop_info = CACHED_PTR(cache_slot + sizeof(void *) * 2); in zend_fetch_static_property_address_ex()
3083 CACHE_POLYMORPHIC_PTR(cache_slot, ce, *retval); in zend_fetch_static_property_address_ex()
3084 CACHE_PTR(cache_slot + sizeof(void *) * 2, property_info); in zend_fetch_static_property_address_ex()
3091 …operty_address(zval **retval, zend_property_info **prop_info, uint32_t cache_slot, int fetch_type,… in zend_fetch_static_property_address() argument
3094 …ELF || opline->op2.num == ZEND_FETCH_CLASS_PARENT))) && EXPECTED(CACHED_PTR(cache_slot) != NULL)) { in zend_fetch_static_property_address()
3095 *retval = CACHED_PTR(cache_slot + sizeof(void *)); in zend_fetch_static_property_address()
3096 property_info = CACHED_PTR(cache_slot + sizeof(void *) * 2); in zend_fetch_static_property_address()
3108 …success = zend_fetch_static_property_address_ex(retval, &property_info, cache_slot, fetch_type OPL… in zend_fetch_static_property_address()
4603 zend_function *fbc, zend_string *arg_name, void **cache_slot) { in zend_get_arg_offset_by_name() argument
4604 if (EXPECTED(*cache_slot == fbc)) { in zend_get_arg_offset_by_name()
4605 return *(uintptr_t *)(cache_slot + 1); in zend_get_arg_offset_by_name()
4615 *cache_slot = fbc; in zend_get_arg_offset_by_name()
4616 *(uintptr_t *)(cache_slot + 1) = i; in zend_get_arg_offset_by_name()
4625 *cache_slot = fbc; in zend_get_arg_offset_by_name()
4626 *(uintptr_t *)(cache_slot + 1) = i; in zend_get_arg_offset_by_name()
4633 *cache_slot = fbc; in zend_get_arg_offset_by_name()
4634 *(uintptr_t *)(cache_slot + 1) = fbc->common.num_args; in zend_get_arg_offset_by_name()
4643 uint32_t *arg_num_ptr, void **cache_slot) { in zend_handle_named_arg() argument
4646 uint32_t arg_offset = zend_get_arg_offset_by_name(fbc, arg_name, cache_slot); in zend_handle_named_arg()