Home
last modified time | relevance | path

Searched refs:called_scope (Results 1 – 21 of 21) sorted by relevance

/php-src/Zend/
H A Dzend_closures.h38 …, zend_function *op_array, zend_class_entry *scope, zend_class_entry *called_scope, zval *this_ptr…
39 …, zend_function *op_array, zend_class_entry *scope, zend_class_entry *called_scope, zval *this_ptr…
H A Dzend_closures.c35 zend_class_entry *called_scope; member
149 fci_cache.called_scope = newclass; in ZEND_METHOD()
176 fake_closure->called_scope = NULL; in ZEND_METHOD()
223 zend_class_entry *ce, *called_scope; in do_closure_bind() local
244 called_scope = Z_OBJCE_P(newthis); in do_closure_bind()
246 called_scope = ce; in do_closure_bind()
321 fcc.called_scope = zend_get_called_scope(EG(current_execute_data)); in ZEND_NAMED_FUNCTION()
442 if (lhs->called_scope != rhs->called_scope) { in zend_closure_compare()
567 *ce_ptr = closure->called_scope; in zend_closure_get_closure()
825 closure->called_scope = called_scope; in zend_create_closure_ex()
[all …]
H A Dzend_interfaces.c42 zend_class_entry *called_scope; in zend_call_method() local
78 called_scope = object->ce; in zend_call_method()
80 called_scope = obj_ce; in zend_call_method()
83 zend_call_known_function(fn, object, called_scope, retval_ptr, param_count, params, NULL); in zend_call_method()
H A Dzend_API.c3764 if (!fcc->called_scope || !instanceof_function(fcc->called_scope, scope)) { in zend_is_callable_check_class()
3765 fcc->called_scope = scope; in zend_is_callable_check_class()
3783 if (!fcc->called_scope || !instanceof_function(fcc->called_scope, scope->parent)) { in zend_is_callable_check_class()
3784 fcc->called_scope = scope->parent; in zend_is_callable_check_class()
3796 if (!called_scope) { in zend_is_callable_check_class()
3802 fcc->called_scope = called_scope; in zend_is_callable_check_class()
3803 fcc->calling_scope = called_scope; in zend_is_callable_check_class()
3820 fcc->called_scope = object->ce; in zend_is_callable_check_class()
3822 fcc->called_scope = ce; in zend_is_callable_check_class()
3926 fcc->called_scope = object->ce; in zend_is_callable_check_func()
[all …]
H A Dzend_execute.c1091 if (!called_scope) { in zend_value_instanceof_static()
4902 zend_class_entry *called_scope; in zend_init_dynamic_call_string() local
4917 if (UNEXPECTED(called_scope == NULL)) { in zend_init_dynamic_call_string()
4924 if (called_scope->get_static_method) { in zend_init_dynamic_call_string()
4925 fbc = called_scope->get_static_method(called_scope, mname); in zend_init_dynamic_call_string()
4970 called_scope = NULL; in zend_init_dynamic_call_string()
4974 fbc, num_args, called_scope); in zend_init_dynamic_call_string()
4982 zend_class_entry *called_scope; in zend_init_dynamic_call_object() local
4989 object_or_called_scope = called_scope; in zend_init_dynamic_call_object()
5058 if (called_scope->get_static_method) { in zend_init_dynamic_call_array()
[all …]
H A Dzend_execute_API.c846 object_or_called_scope = fci_cache->called_scope; in zend_call_function()
1072 zend_function *fn, zend_object *object, zend_class_entry *called_scope, zval *retval_ptr, in zend_call_known_function() argument
1091 fcic.called_scope = called_scope; in zend_call_known_function()
H A Dzend_builtin_functions.c609 zend_class_entry *called_scope; in ZEND_FUNCTION() local
613 called_scope = zend_get_called_scope(execute_data); in ZEND_FUNCTION()
614 if (!called_scope) { in ZEND_FUNCTION()
619 RETURN_STR_COPY(called_scope->name); in ZEND_FUNCTION()
H A Dzend_vm_def.h3543 zend_class_entry *called_scope; variable
3621 called_scope = obj->ce;
3674 obj = (zend_object*)called_scope;
3932 object_or_called_scope = fcc.called_scope;
8258 zend_class_entry *called_scope; variable
8262 called_scope = Z_OBJCE(EX(This));
8270 called_scope = Z_CE(EX(This));
8275 EX(func)->op_array.scope, called_scope, object);
8804 zend_class_entry *called_scope, *scope; variable
8852 called_scope = Z_OBJCE(EX(This));
[all …]
H A Dzend_vm_execute.h7207 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_CONST_HANDLER()
9781 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_TMPVAR_HANDLER()
12273 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_CV_HANDLER()
16676 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_CONST_HANDLER()
18169 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_TMPVAR_HANDLER()
19576 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_CV_HANDLER()
34962 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_CONST_HANDLER()
37131 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_TMPVAR_HANDLER()
39776 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_CV_HANDLER()
44892 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CV_CONST_HANDLER()
[all …]
H A Dzend_API.h62 zend_class_entry *called_scope; member
839 zend_function *fn, zend_object *object, zend_class_entry *called_scope, zval *retval_ptr,
852 …zend_call_known_function(func, fcc->object, fcc->called_scope, retval_ptr, param_count, params, na… in zend_call_known_fcc()
H A Dzend_compile.c1467 zend_class_entry *called_scope = zend_get_called_scope(EG(current_execute_data)); in zend_type_to_string_resolved() local
1468 if (called_scope) { in zend_type_to_string_resolved()
1469 name = called_scope->name; in zend_type_to_string_resolved()
/php-src/ext/pdo/
H A Dpdo_dbh.c222 static bool create_driver_specific_pdo_object(pdo_driver_t *driver, zend_class_entry *called_scope,… in create_driver_specific_pdo_object() argument
230 if (called_scope != pdo_dbh_ce && instanceof_function(called_scope, ce)) { in create_driver_specific_pdo_object()
231 ce_based_on_called_object = called_scope; in create_driver_specific_pdo_object()
242 ZSTR_VAL(called_scope->name), in create_driver_specific_pdo_object()
254 object_init_ex(new_zval_object, called_scope); in create_driver_specific_pdo_object()
261 ZSTR_VAL(called_scope->name), in create_driver_specific_pdo_object()
270 if (called_scope != pdo_dbh_ce && new_zval_object == NULL) { in create_driver_specific_pdo_object()
275 if (called_scope != pdo_dbh_ce) { in create_driver_specific_pdo_object()
280 ZSTR_VAL(called_scope->name), in create_driver_specific_pdo_object()
295 object_init_ex(new_zval_object, called_scope); in create_driver_specific_pdo_object()
[all …]
H A Dphp_pdo_driver.h697 …L_FUNCTION_PARAMETERS, zend_object *current_object, zend_class_entry *called_scope, zval *new_zval…
H A Dpdo_stmt.c635 fcc->called_scope = ce; in do_fetch_class_prepare()
/php-src/ext/standard/
H A Dbasic_functions.c1518 zend_class_entry *called_scope; local
1532 called_scope = zend_get_called_scope(execute_data);
1533 if (called_scope && fci_cache.calling_scope &&
1534 instanceof_function(called_scope, fci_cache.calling_scope)) {
1535 fci_cache.called_scope = called_scope;
1554 zend_class_entry *called_scope; local
1565 called_scope = zend_get_called_scope(execute_data);
1566 if (called_scope && fci_cache.calling_scope &&
1567 instanceof_function(called_scope, fci_cache.calling_scope)) {
1568 fci_cache.called_scope = called_scope;
H A Dvar_unserializer.re275 fci_cache.called_scope = fci.object->ce;
/php-src/ext/reflection/
H A Dphp_reflection.c1767 zend_class_entry *called_scope; in ZEND_METHOD() local
1771 …&& Z_OBJ_HANDLER(intern->obj, get_closure)(Z_OBJ(intern->obj), &called_scope, &closure_func, &obje… in ZEND_METHOD()
1772 && closure_func && (called_scope || closure_func->common.scope)) { in ZEND_METHOD()
1773 …zend_reflection_class_factory(called_scope ? (zend_class_entry *) called_scope : closure_func->com… in ZEND_METHOD()
2026 fcc.called_scope = NULL; in ZEND_METHOD()
2031 Z_OBJ(intern->obj), &fcc.called_scope, &fcc.function_handler, &fcc.object, 0); in ZEND_METHOD()
2065 fcc.called_scope = NULL; in ZEND_METHOD()
2070 Z_OBJ(intern->obj), &fcc.called_scope, &fcc.function_handler, &fcc.object, 0); in ZEND_METHOD()
/php-src/ext/intl/converter/
H A Dconverter.c507 fcc->called_scope = obj->ce; in php_converter_resolve_callback()
/php-src/ext/opcache/jit/
H A Dzend_jit_helpers.c148 zend_class_entry *called_scope = obj->ce; in zend_jit_find_method_helper() local
154 zend_undefined_method(called_scope, Z_STR_P(function_name)); in zend_jit_find_method_helper()
168 CACHE_POLYMORPHIC_PTR(opline->result.num, called_scope, fbc); in zend_jit_find_method_helper()
H A Dzend_jit_ir.c8328 zend_class_entry *called_scope; member
8580 object_or_called_scope = ir_LOAD_A(ir_ADD_OFFSET(func_ref, offsetof(zend_closure, called_scope)));
/php-src/ext/xml/
H A Dxml.c1104 parser_handler_fcc->called_scope = ce; in php_xml_check_string_method_arg()

Completed in 418 milliseconds