/php-src/ext/odbc/ |
H A D | odbc_arginfo.h | 216 ZEND_ARG_TYPE_INFO(0, scope, IS_LONG, 0)
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | avl.h | 66 lexbor_avl_insert(lexbor_avl_t *avl, lexbor_avl_node_t **scope, 70 lexbor_avl_search(lexbor_avl_t *avl, lexbor_avl_node_t *scope, size_t type); 73 lexbor_avl_remove(lexbor_avl_t *avl, lexbor_avl_node_t **scope, size_t type); 80 lexbor_avl_foreach(lexbor_avl_t *avl, lexbor_avl_node_t **scope, 84 lexbor_avl_foreach_recursion(lexbor_avl_t *avl, lexbor_avl_node_t *scope,
|
H A D | bst.c | 101 if (*scope == NULL) { in lexbor_bst_insert() 106 entry = *scope; in lexbor_bst_insert() 150 if (*scope == NULL) { in lexbor_bst_insert_not_exists() 153 return *scope; in lexbor_bst_insert_not_exists() 156 entry = *scope; in lexbor_bst_insert_not_exists() 192 return scope; in lexbor_bst_search() 195 scope = scope->right; in lexbor_bst_search() 198 scope = scope->left; in lexbor_bst_search() 216 scope = scope->right; in lexbor_bst_search_close() 219 max = scope; in lexbor_bst_search_close() [all …]
|
H A D | bst.h | 65 lexbor_bst_insert(lexbor_bst_t *bst, lexbor_bst_entry_t **scope, 69 lexbor_bst_insert_not_exists(lexbor_bst_t *bst, lexbor_bst_entry_t **scope, 74 lexbor_bst_search(lexbor_bst_t *bst, lexbor_bst_entry_t *scope, size_t size); 77 lexbor_bst_search_close(lexbor_bst_t *bst, lexbor_bst_entry_t *scope,
|
H A D | bst_map.c | 82 lexbor_bst_map_search(lexbor_bst_map_t *bst_map, lexbor_bst_entry_t *scope, in lexbor_bst_map_search() argument 90 bst_entry = lexbor_bst_search(bst_map->bst, scope, hash_id); in lexbor_bst_map_search() 113 lexbor_bst_entry_t **scope, in lexbor_bst_map_insert() argument 118 entry = lexbor_bst_map_insert_not_exists(bst_map, scope, key, key_len); in lexbor_bst_map_insert() 130 lexbor_bst_entry_t **scope, in lexbor_bst_map_insert_not_exists() argument 138 bst_entry = lexbor_bst_insert_not_exists(bst_map->bst, scope, hash_id); in lexbor_bst_map_insert_not_exists() 195 lexbor_bst_map_remove(lexbor_bst_map_t *bst_map, lexbor_bst_entry_t **scope, in lexbor_bst_map_remove() argument 203 bst_entry = lexbor_bst_search(bst_map->bst, *scope, hash_id); in lexbor_bst_map_remove() 216 lexbor_bst_remove_by_pointer(bst_map->bst, bst_entry, scope); in lexbor_bst_map_remove()
|
H A D | bst_map.h | 49 lexbor_bst_map_search(lexbor_bst_map_t *bst_map, lexbor_bst_entry_t *scope, 53 lexbor_bst_map_insert(lexbor_bst_map_t *bst_map, lexbor_bst_entry_t **scope, 58 lexbor_bst_entry_t **scope, 62 lexbor_bst_map_remove(lexbor_bst_map_t *bst_map, lexbor_bst_entry_t **scope,
|
H A D | avl.c | 251 *scope = node; in lexbor_avl_node_balance() 263 if (*scope == NULL) { in lexbor_avl_insert() 265 return *scope; in lexbor_avl_insert() 268 node = *scope; in lexbor_avl_insert() 370 *scope = node; in lexbor_avl_rotate_for_delete() 402 lexbor_avl_node_t *node = *scope; in lexbor_avl_remove() 463 if (scope == NULL || *scope == NULL) { in lexbor_avl_foreach() 467 node = *scope; in lexbor_avl_foreach() 492 root = *scope; in lexbor_avl_foreach() 560 if (scope == NULL) { in lexbor_avl_foreach_recursion() [all …]
|
/php-src/Zend/ |
H A D | zend_execute_API.c | 684 return ex->func->common.scope; in zend_get_executed_scope() 1069 fn->common.scope ? ZSTR_VAL(fn->common.scope->name) : "", in zend_call_known_function() 1671 zend_class_entry *ce, *scope; in zend_fetch_class() local 1678 if (UNEXPECTED(!scope)) { in zend_fetch_class() 1681 return scope; in zend_fetch_class() 1684 if (UNEXPECTED(!scope)) { in zend_fetch_class() 1691 return scope->parent; in zend_fetch_class() 1723 if (UNEXPECTED(!scope)) { in zend_fetch_class_with_scope() 1726 return scope; in zend_fetch_class_with_scope() 1728 if (UNEXPECTED(!scope)) { in zend_fetch_class_with_scope() [all …]
|
H A D | zend_execute.c | 679 if (zf->common.scope) { in zend_verify_type_error_common() 978 return value_ce == scope; in zend_check_and_resolve_property_or_class_constant_class_type() 1303 fbc->common.scope ? ZSTR_VAL(fbc->common.scope->name) : "", in zend_internal_call_arginfo_violation() 1304 fbc->common.scope ? "::" : "", in zend_internal_call_arginfo_violation() 1377 EX(func)->common.scope ? ZSTR_VAL(EX(func)->common.scope->name) : "", in zend_missing_arg_error() 1387 EX(func)->common.scope ? ZSTR_VAL(EX(func)->common.scope->name) : "", in zend_missing_arg_error() 1443 if (zf->common.scope) { in zend_verify_void_return_error() 1727 if (fbc->common.scope) { in zend_deprecated_function() 2281 func->common.scope ? ZSTR_VAL(func->common.scope->name) : "", in zend_param_must_be_ref() 2282 func->common.scope ? "::" : "", in zend_param_must_be_ref() [all …]
|
H A D | zend_constants.c | 234 ZEND_API bool zend_verify_const_access(zend_class_constant *c, zend_class_entry *scope) /* {{{ */ in zend_verify_const_access() argument 239 return (c->ce == scope); in zend_verify_const_access() 242 return zend_check_protected(c->ce, scope); in zend_verify_const_access() 307 if (UNEXPECTED(!scope)) { in zend_get_class_constant_ex() 311 ce = scope; in zend_get_class_constant_ex() 313 if (UNEXPECTED(!scope)) { in zend_get_class_constant_ex() 316 } else if (UNEXPECTED(!scope->parent)) { in zend_get_class_constant_ex() 320 ce = scope->parent; in zend_get_class_constant_ex() 340 if (!zend_verify_const_access(c, scope)) { in zend_get_class_constant_ex() 389 ZEND_API zval *zend_get_constant_ex(zend_string *cname, zend_class_entry *scope, uint32_t flags) in zend_get_constant_ex() argument [all …]
|
H A D | zend_constants.h | 79 ZEND_API zval *zend_get_constant_ex(zend_string *name, zend_class_entry *scope, uint32_t flags); 80 …t_ex(zend_string *class_name, zend_string *constant_name, zend_class_entry *scope, uint32_t flags);
|
H A D | zend_closures.c | 102 if (scope && scope != func->common.scope && scope->type == ZEND_INTERNAL_CLASS) { in zend_valid_closure_binding() 109 if (is_fake_closure && scope != func->common.scope) { in zend_valid_closure_binding() 367 call.scope = mptr->common.scope; in zend_create_closure_from_callable() 450 if (lhs->func.common.scope != rhs->func.common.scope) { in zend_closure_compare() 777 || func->common.scope != scope in zend_create_closure_ex() 782 && (func->common.scope == scope || in zend_create_closure_ex() 786 if (func->common.scope != scope) { in zend_create_closure_ex() 787 func->common.scope = scope; in zend_create_closure_ex() 824 closure->func.common.scope = scope; in zend_create_closure_ex() 826 if (scope) { in zend_create_closure_ex() [all …]
|
/php-src/ext/spl/ |
H A D | php_spl.c | 627 } else if (alfi->func_ptr->common.scope) { in PHP_FUNCTION()
|
H A D | spl_fixedarray.c | 41 …l_ce_SplFixedArray && (object)->ce->arrayaccess_funcs_ptr->method->common.scope != spl_ce_SplFixed… 304 if (fptr_count->common.scope == parent) { in spl_fixedarray_object_new_ex()
|
/php-src/Zend/Optimizer/ |
H A D | zend_inference.c | 2417 && (!scope || (scope->ce_flags & ZEND_ACC_LINKED))) { in lookup_prop_info() 2419 EG(fake_scope) = scope; in lookup_prop_info() 2431 ((prop_info->ce == scope) || in lookup_prop_info() 2446 ce = op_array->scope; in zend_fetch_prop_info() 2453 op_array->scope); in zend_fetch_prop_info() 2474 ce = op_array->scope; in zend_fetch_static_prop_info() 2477 if (op_array->scope && (op_array->scope->ce_flags & ZEND_ACC_LINKED)) { in zend_fetch_static_prop_info() 3349 if (op_array->scope) { in _zend_update_type_info() 3356 … if (op_array->scope && op_array->scope->parent && (op_array->scope->ce_flags & ZEND_ACC_LINKED)) { in _zend_update_type_info() 3363 if (op_array->scope && (op_array->scope->ce_flags & ZEND_ACC_FINAL)) { in _zend_update_type_info() [all …]
|
H A D | zend_func_info.c | 103 if (callee_func->common.scope) { in zend_get_internal_func_info()
|
H A D | zend_dump.c | 920 if (op_array->scope && op_array->scope->name) { in zend_dump_op_array_name() 921 fprintf(stderr, "%s::%s", op_array->scope->name->val, op_array->function_name->val); in zend_dump_op_array_name()
|
/php-src/Zend/tests/ |
H A D | closure_033.phpt | 28 Fatal error: Uncaught Error: Call to private method Test::func() from global scope in %s:%d
|
H A D | closure_038.phpt | 2 Closure 038: Rebinding closures, change scope, different runtime type 31 echo "Testing with scope given as object", "\n"; 38 echo "Testing with scope as string", "\n"; 51 Testing with scope given as object 54 Testing with scope as string
|
H A D | closure_039.phpt | 2 Closure 039: Rebinding closures, change scope, same runtime type 31 echo "Testing with scope given as object", "\n"; 38 echo "Testing with scope as string", "\n"; 51 Testing with scope given as object 54 Testing with scope as string
|
/php-src/ext/zend_test/ |
H A D | observer.c | 85 if (execute_data->func->common.scope) { in observer_begin() 86 …2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(execute_data->func->common.scope->name), ZSTR_VAL(e… in observer_begin() 137 if (execute_data->func->common.scope) { in observer_end() 138 …2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(execute_data->func->common.scope->name), ZSTR_VAL(e… in observer_end() 151 if (fbc->common.scope) { in observer_show_init() 152 …::%s() -->\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(f… in observer_show_init() 169 if (fbc->common.scope) { in observer_show_init_backtrace() 170 …php_printf("%*s%s::%s()\n", indent, "", ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.fu… in observer_show_init_backtrace() 286 if (fbc->common.scope) { in zend_test_execute_internal() 287 …::%s() -->\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(f… in zend_test_execute_internal()
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_print.c | 69 if (method->common.scope) { in phpdbg_print_function_helper() 70 …phpdbg_writeln("\tInternal %s::%s()", ZSTR_VAL(method->common.scope->name), ZSTR_VAL(method->commo… in phpdbg_print_function_helper() 102 if (ops->scope) { in PHPDBG_PRINT() 103 …phpdbg_notice("Stack in %s::%s() (%d ops)", ZSTR_VAL(ops->scope->name), ZSTR_VAL(ops->function_nam… in PHPDBG_PRINT() 189 zend_class_entry *scope = zend_get_executed_scope(); in PHPDBG_PRINT() local 191 if (scope) { in PHPDBG_PRINT() 195 func_table = &scope->function_table; in PHPDBG_PRINT() 214 (fbc->common.scope) ? "Method" : "Function", in PHPDBG_PRINT() 375 cur->scope = op_array->scope; in phpdbg_print_opline()
|
H A D | phpdbg_frame.c | 59 if (op_array->scope) { in phpdbg_compile_stackframe() 60 smart_str_append(&s, op_array->scope->name); in phpdbg_compile_stackframe()
|
/php-src/ext/pdo/ |
H A D | pdo_dbh.c | 1328 func.scope = dbh_obj->std.ce; in pdo_hash_methods()
|
/php-src/ext/opcache/ |
H A D | ZendAccelerator.c | 4167 zend_class_entry *scope = op_array->scope; local 4173 op_array->scope = scope;
|