Lines Matching refs:cache_slot

1100 # define HAVE_CACHE_SLOT (cache_slot != NULL)
1105 #define PROGRESS_CACHE_SLOT() if (HAVE_CACHE_SLOT) {cache_slot++;}
1108 void **cache_slot, zend_type *type) in zend_fetch_ce_from_cache_slot() argument
1110 if (EXPECTED(HAVE_CACHE_SLOT && *cache_slot)) { in zend_fetch_ce_from_cache_slot()
1111 return (zend_class_entry *) *cache_slot; in zend_fetch_ce_from_cache_slot()
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
1148 ce = zend_fetch_ce_from_cache_slot(cache_slot, list_type); in zend_check_intersection_type_from_cache_slot()
1158 *cache_slot_ptr = cache_slot; in zend_check_intersection_type_from_cache_slot()
1164 zend_type *type, zval *arg, zend_reference *ref, void **cache_slot, in zend_check_type_slow() argument
1173 …n zend_check_intersection_type_from_cache_slot(ZEND_TYPE_LIST(*type), Z_OBJCE_P(arg), &cache_slot); in zend_check_type_slow()
1177 …check_intersection_type_from_cache_slot(ZEND_TYPE_LIST(*list_type), Z_OBJCE_P(arg), &cache_slot)) { in zend_check_type_slow()
1183 ce = zend_fetch_ce_from_cache_slot(cache_slot, list_type); in zend_check_type_slow()
1193 ce = zend_fetch_ce_from_cache_slot(cache_slot, type); in zend_check_type_slow()
1230 zend_type *type, zval *arg, void **cache_slot, zend_class_entry *scope, in zend_check_type() argument
1245 return zend_check_type_slow(type, arg, ref, cache_slot, is_return_type, is_internal); in zend_check_type()
1249 zend_type *type, zval *arg, zend_reference *ref, void **cache_slot, bool is_return_type) in zend_check_user_type_slow() argument
1252 type, arg, ref, cache_slot, is_return_type, /* is_internal */ false); in zend_check_user_type_slow()
1255 …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
1263 && UNEXPECTED(!zend_check_type(&cur_arg_info->type, arg, cache_slot, zf->common.scope, 0, 0))) { in zend_verify_recv_arg_type()
1272 zend_function *zf, zend_arg_info *arg_info, uint32_t arg_num, zval *arg, void **cache_slot) in zend_verify_variadic_arg_type() argument
1275 if (UNEXPECTED(!zend_check_type(&arg_info->type, arg, cache_slot, zf->common.scope, 0, 0))) { in zend_verify_variadic_arg_type()
2260 …dec_overloaded_property(zend_object *object, zend_string *name, void **cache_slot OPLINE_DC EXECUT… in zend_post_incdec_overloaded_property()
2267 z =object->handlers->read_property(object, name, BP_VAR_R, cache_slot, &rv); in zend_post_incdec_overloaded_property()
2281 object->handlers->write_property(object, name, &z_copy, cache_slot); in zend_post_incdec_overloaded_property()
2289 …dec_overloaded_property(zend_object *object, zend_string *name, void **cache_slot OPLINE_DC EXECUT… in zend_pre_incdec_overloaded_property()
2296 z = object->handlers->read_property(object, name, BP_VAR_R, cache_slot, &rv); in zend_pre_incdec_overloaded_property()
2314 object->handlers->write_property(object, name, &z_copy, cache_slot); in zend_pre_incdec_overloaded_property()
2322 …_op_overloaded_property(zend_object *object, zend_string *name, void **cache_slot, zval *value OPL… in zend_assign_op_overloaded_property() argument
2328 z = object->handlers->read_property(object, name, BP_VAR_R, cache_slot, &rv); in zend_assign_op_overloaded_property()
2337 object->handlers->write_property(object, name, &res, cache_slot); in zend_assign_op_overloaded_property()
3332 …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
3339 cache_slot = _cache_slot; in zend_fetch_property_address()
3341 ZEND_ASSERT(cache_slot); in zend_fetch_property_address()
3371 EXPECTED(zobj->ce == CACHED_PTR_EX(cache_slot))) { in zend_fetch_property_address()
3372 uintptr_t prop_offset = (uintptr_t)CACHED_PTR_EX(cache_slot + 1); in zend_fetch_property_address()
3374 *prop_info_p = CACHED_PTR_EX(cache_slot + 2); in zend_fetch_property_address()
3381 zend_property_info *prop_info = CACHED_PTR_EX(cache_slot + 2); in zend_fetch_property_address()
3434 ptr = zobj->handlers->get_property_ptr_ptr(zobj, name, type, cache_slot); in zend_fetch_property_address()
3436 ptr = zobj->handlers->read_property(zobj, name, type, cache_slot, result); in zend_fetch_property_address()
3455 zend_property_info *prop_info = CACHED_PTR_EX(cache_slot + 2); in zend_fetch_property_address()
3465 *prop_info_p = CACHED_PTR_EX(cache_slot + 2); in zend_fetch_property_address()
3535 …ch_static_property_address_ex(zend_property_info **prop_info, uint32_t cache_slot, int fetch_type … in zend_fetch_static_property_address_ex() argument
3546 ZEND_ASSERT(op1_type != IS_CONST || CACHED_PTR(cache_slot) == NULL); in zend_fetch_static_property_address_ex()
3548 if (EXPECTED((ce = CACHED_PTR(cache_slot)) == NULL)) { in zend_fetch_static_property_address_ex()
3555 CACHE_PTR(cache_slot, ce); in zend_fetch_static_property_address_ex()
3568 if (EXPECTED(op1_type == IS_CONST) && EXPECTED(CACHED_PTR(cache_slot) == ce)) { in zend_fetch_static_property_address_ex()
3569 result = CACHED_PTR(cache_slot + sizeof(void *)); in zend_fetch_static_property_address_ex()
3570 *prop_info = CACHED_PTR(cache_slot + sizeof(void *) * 2); in zend_fetch_static_property_address_ex()
3605 CACHE_POLYMORPHIC_PTR(cache_slot, ce, result); in zend_fetch_static_property_address_ex()
3606 CACHE_PTR(cache_slot + sizeof(void *) * 2, property_info); in zend_fetch_static_property_address_ex()
3613 …fetch_static_property_address(zend_property_info **prop_info, uint32_t cache_slot, int fetch_type,… in zend_fetch_static_property_address() argument
3622 && EXPECTED(CACHED_PTR(cache_slot + sizeof(void *)) != NULL)) { in zend_fetch_static_property_address()
3623 result = CACHED_PTR(cache_slot + sizeof(void *)); in zend_fetch_static_property_address()
3624 property_info = CACHED_PTR(cache_slot + sizeof(void *) * 2); in zend_fetch_static_property_address()
3635 …result = zend_fetch_static_property_address_ex(&property_info, cache_slot, fetch_type OPLINE_CC EX… in zend_fetch_static_property_address()
3669 uint32_t cache_slot = opline->extended_value & ~ZEND_FETCH_OBJ_FLAGS; in zend_fetch_static_property() local
3675 …result = zend_fetch_static_property_address_ex(&property_info, cache_slot, fetch_type OPLINE_CC EX… in zend_fetch_static_property()
5289 zend_function *fbc, zend_string *arg_name, void **cache_slot) { in zend_get_arg_offset_by_name() argument
5290 if (EXPECTED(*cache_slot == fbc)) { in zend_get_arg_offset_by_name()
5291 return *(uintptr_t *)(cache_slot + 1); in zend_get_arg_offset_by_name()
5301 *cache_slot = fbc; in zend_get_arg_offset_by_name()
5302 *(uintptr_t *)(cache_slot + 1) = i; in zend_get_arg_offset_by_name()
5312 *cache_slot = fbc; in zend_get_arg_offset_by_name()
5313 *(uintptr_t *)(cache_slot + 1) = i; in zend_get_arg_offset_by_name()
5320 *cache_slot = fbc; in zend_get_arg_offset_by_name()
5321 *(uintptr_t *)(cache_slot + 1) = fbc->common.num_args; in zend_get_arg_offset_by_name()
5330 uint32_t *arg_num_ptr, void **cache_slot) { in zend_handle_named_arg() argument
5333 uint32_t arg_offset = zend_get_arg_offset_by_name(fbc, arg_name, cache_slot); in zend_handle_named_arg()