Home
last modified time | relevance | path

Searched refs:fn_flags (Results 1 – 25 of 37) sorted by relevance

12

/PHP-7.2/Zend/
H A Dzend_closures.c73 if (func->common.fn_flags & ZEND_ACC_STATIC) { in zend_valid_closure_binding()
270 if (mptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in zend_create_closure_from_callable()
362 invoke->internal_function.fn_flags = in zend_get_closure_invoke_method()
365 invoke->internal_function.fn_flags |= in zend_get_closure_invoke_method()
522 (closure->func.common.fn_flags & ZEND_ACC_VARIADIC))) { in zend_closure_get_debug_info()
528 if (closure->func.common.fn_flags & ZEND_ACC_VARIADIC) { in zend_closure_get_debug_info()
663 closure->func.common.fn_flags |= ZEND_ACC_CLOSURE; in zend_create_closure()
672 || (func->common.fn_flags & ZEND_ACC_NO_RT_ARENA) in zend_create_closure()
693 closure->func.common.fn_flags |= ZEND_ACC_CLOSURE; in zend_create_closure()
717 closure->func.common.fn_flags |= ZEND_ACC_PUBLIC; in zend_create_closure()
[all …]
H A Dzend_inheritance.c157 if (fn_flags & ZEND_ACC_PRIVATE) { in zend_visibility_string()
160 if (fn_flags & ZEND_ACC_PROTECTED) { in zend_visibility_string()
163 if (fn_flags & ZEND_ACC_PUBLIC) { in zend_visibility_string()
279 if ((fe->common.fn_flags & ZEND_ACC_CTOR) in zend_do_perform_implementation_check()
286 if (proto->common.fn_flags & ZEND_ACC_PRIVATE) { in zend_do_perform_implementation_check()
558 child_flags = child->common.fn_flags; in do_inheritance_check_on_method()
582 child->common.fn_flags |= ZEND_ACC_CHANGED; in do_inheritance_check_on_method()
585 child->common.fn_flags |= ZEND_ACC_CHANGED; in do_inheritance_check_on_method()
1135 fe->common.fn_flags |= ZEND_ACC_CTOR; in zend_add_magic_methods()
1262 …fn_copy.common.fn_flags = alias->modifiers | (fn->common.fn_flags ^ (fn->common.fn_flags & ZEND_AC… in zend_traits_copy_functions()
[all …]
H A Dzend_opcode.c88 op_array->fn_flags = 0; in init_op_array()
120 if (function->common.fn_flags & ZEND_ACC_VARIADIC) { in destroy_zend_function()
153 if (function->common.fn_flags & ZEND_ACC_VARIADIC) { in zend_function_dtor()
164 if (!(function->common.fn_flags & ZEND_ACC_ARENA_ALLOCATED)) { in zend_function_dtor()
427 if (op_array->fn_flags & ZEND_ACC_DONE_PASS_TWO) { in destroy_op_array()
435 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in destroy_op_array()
439 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in destroy_op_array()
600 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in pass_two()
611 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in pass_two()
655 if (op_array->fn_flags & ZEND_ACC_GENERATOR) { in pass_two()
[all …]
H A Dzend_API.c2199 internal_function->fn_flags = ptr->flags; in zend_register_functions()
2202 internal_function->fn_flags = ZEND_ACC_PUBLIC; in zend_register_functions()
2402 ctor->common.fn_flags |= ZEND_ACC_CTOR; in zend_register_functions()
2403 if (ctor->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2409 dtor->common.fn_flags |= ZEND_ACC_DTOR; in zend_register_functions()
2410 if (dtor->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2416 if (clone->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2440 if (__get->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2446 if (__set->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2469 …if (ctor && ctor->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE && ctor->common.fn_flags & ZEND_ACC_C… in zend_register_functions()
[all …]
H A Dzend_object_handlers.c1080 if (fbc->common.fn_flags & ZEND_ACC_PRIVATE in zend_check_private_int()
1148 func->fn_flags |= ZEND_ACC_STATIC; in zend_get_call_trampoline_func()
1210 if (fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_std_get_method()
1235 if (fbc->op_array.fn_flags & ZEND_ACC_CHANGED) { in zend_std_get_method()
1239 if (priv_fbc->common.fn_flags & ZEND_ACC_PRIVATE in zend_std_get_method()
1246 if (fbc->common.fn_flags & ZEND_ACC_PROTECTED) { in zend_std_get_method()
1331 if (fbc->op_array.fn_flags & ZEND_ACC_PUBLIC) { in zend_std_get_static_method()
1333 } else if (fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_std_get_static_method()
1350 } else if ((fbc->common.fn_flags & ZEND_ACC_PROTECTED)) { in zend_std_get_static_method()
1425 if (constructor->op_array.fn_flags & ZEND_ACC_PUBLIC) { in zend_std_get_constructor()
[all …]
H A Dzend_compile.h309 char *zend_visibility_string(uint32_t fn_flags);
367 uint32_t fn_flags; member
419 uint32_t fn_flags; member
442 uint32_t fn_flags; member
537 (((call)->func->common.fn_flags & ZEND_ACC_STRICT_TYPES) != 0)
924 if (EXPECTED((zf->common.fn_flags & ZEND_ACC_VARIADIC) == 0)) { in zend_check_arg_send_type()
H A Dzend_objects.c87 if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) { in zend_objects_destroy_object()
88 if (destructor->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_objects_destroy_object()
H A Dzend_execute_API.c743 fci->object = (func->common.fn_flags & ZEND_ACC_STATIC) ? in zend_call_function()
749 if (UNEXPECTED(func->common.fn_flags & ZEND_ACC_DEPRECATED)) { in zend_call_function()
793 !(func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in zend_call_function()
803 if (UNEXPECTED(func->op_array.fn_flags & ZEND_ACC_CLOSURE)) { in zend_call_function()
809 if (func->common.fn_flags & ZEND_ACC_FAKE_CLOSURE) { in zend_call_function()
816 int call_via_handler = (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) != 0; in zend_call_function()
827 int call_via_handler = (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) != 0; in zend_call_function()
1458 if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_verify_abstract_class_function()
1462 if (fn->common.fn_flags & ZEND_ACC_CTOR) { in zend_verify_abstract_class_function()
H A Dzend_compile.c5505 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_compile_params()
5512 op_array->fn_flags |= ZEND_ACC_VARIADIC; in zend_compile_params()
5641 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_compile_params()
5724 op_array->fn_flags |= ZEND_ACC_ABSTRACT; in zend_begin_method_decl()
5727 if (op_array->fn_flags & ZEND_ACC_ABSTRACT) { in zend_begin_method_decl()
5728 if (op_array->fn_flags & ZEND_ACC_PRIVATE) { in zend_begin_method_decl()
5871 op_array->fn_flags |= ZEND_ACC_ALLOW_STATIC; in zend_begin_method_decl()
5911 if (op_array->fn_flags & ZEND_ACC_CLOSURE) { in zend_begin_func_decl()
5944 op_array->fn_flags |= (orig_op_array->fn_flags & ZEND_ACC_STRICT_TYPES); in zend_compile_func_decl()
5945 op_array->fn_flags |= decl->flags; in zend_compile_func_decl()
[all …]
H A Dzend_execute.c880 } else if (UNEXPECTED(zf->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_verify_arg_type()
2169 if (EXPECTED(!(op_array->fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE))) { in i_init_func_execute_data()
2173 if (EXPECTED((op_array->fn_flags & ZEND_ACC_HAS_TYPE_HINTS) == 0)) { in i_init_func_execute_data()
2463 if (call->func->common.fn_flags & ZEND_ACC_CLOSURE) { in cleanup_unfinished_calls()
2590 if (UNEXPECTED(!(fbc->common.fn_flags & ZEND_ACC_STATIC))) { in zend_init_dynamic_call_string()
2591 if (fbc->common.fn_flags & ZEND_ACC_ALLOW_STATIC) { in zend_init_dynamic_call_string()
2643 if (fbc->common.fn_flags & ZEND_ACC_CLOSURE) { in zend_init_dynamic_call_object()
2648 if (fbc->common.fn_flags & ZEND_ACC_FAKE_CLOSURE) { in zend_init_dynamic_call_object()
2717 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) { in zend_init_dynamic_call_array()
2718 if (fbc->common.fn_flags & ZEND_ACC_ALLOW_STATIC) { in zend_init_dynamic_call_array()
[all …]
H A Dzend_vm_def.h3195 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
3200 if (fbc->common.fn_flags & ZEND_ACC_ALLOW_STATIC) {
3358 if (func->common.fn_flags & ZEND_ACC_CLOSURE) {
3363 if (func->common.fn_flags & ZEND_ACC_FAKE_CLOSURE) {
3496 !(call->func->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) ||
3579 if (UNEXPECTED(fbc->common.fn_flags & ZEND_ACC_HAS_TYPE_HINTS)
3670 if (UNEXPECTED(fbc->common.fn_flags & ZEND_ACC_HAS_TYPE_HINTS)
4964 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) {
4974 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) {
7196 (EX(func)->common.fn_flags & ZEND_ACC_STATIC))) {
[all …]
H A Dzend_builtin_functions.c1238 if ((mptr->common.fn_flags & ZEND_ACC_PUBLIC) in ZEND_FUNCTION()
1240 (((mptr->common.fn_flags & ZEND_ACC_PROTECTED) && in ZEND_FUNCTION()
1242 || ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) && in ZEND_FUNCTION()
1250 } else if ((mptr->common.fn_flags & ZEND_ACC_CTOR) == 0 || in ZEND_FUNCTION()
1301 if (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in ZEND_FUNCTION()
2488 !(prev_call->func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in zend_fetch_debug_backtrace()
/PHP-7.2/ext/opcache/Optimizer/
H A Dpass3.c163 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in zend_optimizer_pass3()
184 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in zend_optimizer_pass3()
199 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in zend_optimizer_pass3()
250 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in zend_optimizer_pass3()
408 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in zend_optimizer_pass3()
H A Doptimize_func_calls.c96 && !(func->op_array.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_HAS_TYPE_HINTS)) in zend_try_inline_call()
104 num_args += (func->op_array.fn_flags & ZEND_ACC_VARIADIC) != 0; in zend_try_inline_call()
H A Doptimize_temp_vars_5.c110 if ((op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) && in zend_optimize_temporary_variables()
H A Dzend_dfg.c88 || (op_array->fn_flags & ZEND_ACC_RETURN_REFERENCE)) { in zend_build_dfg()
H A Dzend_optimizer.c687 || (op_array->fn_flags & ZEND_ACC_RETURN_REFERENCE)) { in zend_optimizer_replace_by_const()
897 zend_bool is_private = (fbc->common.fn_flags & ZEND_ACC_PRIVATE) != 0; in zend_optimizer_get_called_func()
898 zend_bool is_final = (fbc->common.fn_flags & ZEND_ACC_FINAL) != 0; in zend_optimizer_get_called_func()
1246 if (call_graph.op_arrays[i]->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_optimize_script()
/PHP-7.2/ext/reflection/
H A Dphp_reflection.c434 if (mptr->common.fn_flags & ZEND_ACC_STATIC in _class_string()
448 if (mptr->common.fn_flags & ZEND_ACC_STATIC in _class_string()
695 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in _function_parameter_string()
782 if (fptr->common.fn_flags & ZEND_ACC_CTOR) { in _function_string()
785 if (fptr->common.fn_flags & ZEND_ACC_DTOR) { in _function_string()
793 if (fptr->common.fn_flags & ZEND_ACC_FINAL) { in _function_string()
796 if (fptr->common.fn_flags & ZEND_ACC_STATIC) { in _function_string()
834 if (fptr->common.fn_flags & ZEND_ACC_CLOSURE) { in _function_string()
1114 RETURN_BOOL(mptr->common.fn_flags & mask); in _function_check_flag()
3188 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in reflection_method_invoke()
[all …]
/PHP-7.2/ext/zend_test/
H A Dtest.c142 fptr->fn_flags = ZEND_ACC_CALL_VIA_HANDLER; in zend_test_class_method_get()
158 fptr->fn_flags = ZEND_ACC_CALL_VIA_HANDLER|ZEND_ACC_STATIC; in zend_test_class_static_method_get()
/PHP-7.2/ext/spl/
H A Dphp_spl.c380 UNEXPECTED(alfi->func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in autoload_func_info_dtor()
427 if (UNEXPECTED(func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in PHP_FUNCTION()
504 if (!obj_ptr && alfi.func_ptr && !(alfi.func_ptr->common.fn_flags & ZEND_ACC_STATIC)) { in PHP_FUNCTION()
585 if (obj_ptr && !(alfi.func_ptr->common.fn_flags & ZEND_ACC_STATIC)) { in PHP_FUNCTION()
626 if (obj_ptr && !(alfi.func_ptr->common.fn_flags & ZEND_ACC_STATIC)) { in PHP_FUNCTION()
632 if (UNEXPECTED(alfi.func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in PHP_FUNCTION()
/PHP-7.2/ext/pdo/
H A Dpdo_dbh.c508 …if (dbstmt_ce->constructor && !(dbstmt_ce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_A… in PHP_METHOD()
776 …if (pce->constructor && !(pce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED… in pdo_dbh_attribute_set()
1311 func.fn_flags = funcs->flags | ZEND_ACC_NEVER_CACHE; in pdo_hash_methods()
1313 func.fn_flags = ZEND_ACC_PUBLIC | ZEND_ACC_NEVER_CACHE; in pdo_hash_methods()
1326 func.fn_flags |= ZEND_ACC_RETURN_REFERENCE; in pdo_hash_methods()
1329 func.fn_flags |= ZEND_ACC_VARIADIC; in pdo_hash_methods()
/PHP-7.2/ext/opcache/
H A Dzend_persist_calc.c216 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_persist_op_array_calc_ex()
219 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_persist_op_array_calc_ex()
H A Dzend_persist.c444 if (op_array->fn_flags & ZEND_ACC_DONE_PASS_TWO) { in zend_persist_op_array_ex()
508 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_persist_op_array_ex()
518 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_persist_op_array_ex()
535 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_persist_op_array_ex()
H A Dzend_file_cache.c468 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) {
471 if (op_array->fn_flags & ZEND_ACC_VARIADIC) {
1116 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) {
1119 if (op_array->fn_flags & ZEND_ACC_VARIADIC) {
/PHP-7.2/ext/com_dotnet/
H A Dcom_handlers.c286 f.fn_flags = ZEND_ACC_CALL_VIA_HANDLER; in com_method_get()
411 f.fn_flags = 0; \ in com_constructor_get()

Completed in 166 milliseconds

12