Home
last modified time | relevance | path

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

123

/php-src/Zend/
H A Dzend_closures.c78 if (func->common.fn_flags & ZEND_ACC_STATIC) { in zend_valid_closure_binding()
93 && !(func->common.fn_flags & ZEND_ACC_STATIC)) { in zend_valid_closure_binding()
97 && (func->common.fn_flags & ZEND_ACC_USES_THIS)) { in zend_valid_closure_binding()
352 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in zend_create_closure_from_callable()
364 call.fn_flags = mptr->common.fn_flags & ZEND_ACC_STATIC; in zend_create_closure_from_callable()
430 …if (!((lhs->func.common.fn_flags & ZEND_ACC_FAKE_CLOSURE) && (rhs->func.common.fn_flags & ZEND_ACC… in zend_closure_compare()
476 invoke->internal_function.fn_flags = in zend_get_closure_invoke_method()
479 invoke->internal_function.fn_flags |= in zend_get_closure_invoke_method()
781 && (func->common.fn_flags & ZEND_ACC_CLOSURE) in zend_create_closure_ex()
874 …trampoline.fn_flags = mptr->common.fn_flags & (ZEND_ACC_STATIC | ZEND_ACC_VARIADIC | ZEND_ACC_RETU… in zend_closure_from_frame()
[all …]
H A Dzend_inheritance.c204 if (fn_flags & ZEND_ACC_PUBLIC) { in zend_visibility_string()
206 } else if (fn_flags & ZEND_ACC_PRIVATE) { in zend_visibility_string()
209 ZEND_ASSERT(fn_flags & ZEND_ACC_PROTECTED); in zend_visibility_string()
217 if (fn_flags & ZEND_ACC_PRIVATE_SET) { in zend_asymmetric_visibility_string()
1142 child_flags = child->common.fn_flags; in do_inheritance_check_on_method()
1175 child->common.fn_flags |= ZEND_ACC_CHANGED; in do_inheritance_check_on_method()
2283 … (existing_fn->common.fn_flags & ZEND_ACC_PPP_MASK) == (fn->common.fn_flags & ZEND_ACC_PPP_MASK) && in zend_add_trait_method()
2395 fn_copy.common.fn_flags = alias->modifiers | (fn->common.fn_flags & ~ZEND_ACC_PPP_MASK); in zend_traits_copy_functions()
2397 fn_copy.common.fn_flags = alias->modifiers | fn->common.fn_flags; in zend_traits_copy_functions()
2428 fn_copy.common.fn_flags = alias->modifiers | (fn->common.fn_flags & ~ZEND_ACC_PPP_MASK); in zend_traits_copy_functions()
[all …]
H A Dzend_opcode.c86 op_array->fn_flags = 0; in init_op_array()
134 if (function->fn_flags & ZEND_ACC_VARIADIC) { in zend_free_internal_arg_info()
559 if ((op_array->fn_flags & ZEND_ACC_HEAP_RT_CACHE) in destroy_op_array()
591 || !(op_array->fn_flags & ZEND_ACC_DONE_PASS_TWO)) { in destroy_op_array()
611 if (op_array->fn_flags & ZEND_ACC_DONE_PASS_TWO) { in destroy_op_array()
619 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in destroy_op_array()
623 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in destroy_op_array()
1086 op_array->fn_flags |= ZEND_ACC_DONE_PASS_TWO; in pass_two()
1111 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in pass_two()
1122 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in pass_two()
[all …]
H A Dzend_enum.c438 const uint32_t fn_flags = in zend_enum_register_funcs() local
443 cases_function->fn_flags = fn_flags; in zend_enum_register_funcs()
452 from_function->fn_flags = fn_flags; in zend_enum_register_funcs()
462 try_from_function->fn_flags = fn_flags; in zend_enum_register_funcs()
H A Dzend_object_handlers.c1555 if ((fbc->common.fn_flags & ZEND_ACC_PRIVATE) in zend_get_parent_private_method()
1617 func->fn_flags = ZEND_ACC_CALL_VIA_TRAMPOLINE in zend_get_call_trampoline_func()
1620 | (fbc->common.fn_flags & ZEND_ACC_RETURN_REFERENCE); in zend_get_call_trampoline_func()
1622 func->fn_flags |= ZEND_ACC_STATIC; in zend_get_call_trampoline_func()
1716 func->common.fn_flags = ZEND_ACC_CALL_VIA_TRAMPOLINE; in zend_get_property_hook_trampoline()
1799 if (fbc->op_array.fn_flags & ZEND_ACC_CHANGED) { in zend_std_get_method()
1805 } else if (fbc->op_array.fn_flags & ZEND_ACC_PUBLIC) { in zend_std_get_method()
1809 if (UNEXPECTED(fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) in zend_std_get_method()
1871 if (!(fbc->op_array.fn_flags & ZEND_ACC_PUBLIC)) { in zend_std_get_static_method()
1874 if (UNEXPECTED(fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) in zend_std_get_static_method()
[all …]
H A Dzend_API.c501 ZEND_ASSERT(func->common.fn_flags & ZEND_ACC_VARIADIC); in zend_null_arg_deprecated()
2723 if (fptr->common.fn_flags & ZEND_ACC_STATIC) { in zend_check_magic_method_non_static()
2732 if (!(fptr->common.fn_flags & ZEND_ACC_STATIC)) { in zend_check_magic_method_static()
2742 if (!(fptr->common.fn_flags & ZEND_ACC_PUBLIC)) { in zend_check_magic_method_public()
2751 if (fptr->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_check_magic_method_no_return_type()
2862 ce->constructor->common.fn_flags |= ZEND_ACC_CTOR; in zend_add_magic_method()
2973 internal_function->fn_flags = ptr->flags; in zend_register_functions()
2976 internal_function->fn_flags = ZEND_ACC_PUBLIC; in zend_register_functions()
2993 internal_function->fn_flags |= ZEND_ACC_VARIADIC; in zend_register_functions()
3088 if (reg_function->fn_flags & ZEND_ACC_VARIADIC) { in zend_register_functions()
[all …]
H A Dzend_compile.h436 char *zend_visibility_string(uint32_t fn_flags);
507 uint32_t fn_flags; member
566 uint32_t fn_flags; member
595 uint32_t fn_flags; member
705 (((call)->func->common.fn_flags & ZEND_ACC_STRICT_TYPES) != 0)
1134 if (EXPECTED((zf->common.fn_flags & ZEND_ACC_VARIADIC) == 0)) { in zend_check_arg_send_type()
H A Dzend_compile.c7626 op_array->fn_flags |= ZEND_ACC_VARIADIC; in zend_compile_params()
8054 uint32_t fn_flags = op_array->fn_flags; in zend_begin_method_decl() local
8058 if (fn_flags & ZEND_ACC_READONLY) { in zend_begin_method_decl()
8062 if ((fn_flags & ZEND_ACC_PRIVATE) && (fn_flags & ZEND_ACC_FINAL) && !zend_is_constructor(name)) { in zend_begin_method_decl()
8066 if ((fn_flags & ZEND_ACC_ABSTRACT) in zend_begin_method_decl()
8083 if (!(fn_flags & ZEND_ACC_PUBLIC)) { in zend_begin_method_decl()
8087 if (fn_flags & ZEND_ACC_FINAL) { in zend_begin_method_decl()
8091 op_array->fn_flags |= ZEND_ACC_ABSTRACT; in zend_begin_method_decl()
8255 op_array->fn_flags |= (orig_op_array->fn_flags & ZEND_ACC_STRICT_TYPES); in zend_compile_func_decl_ex()
8256 op_array->fn_flags |= decl->flags; in zend_compile_func_decl_ex()
[all …]
H A Dzend_objects.c126 if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) { in zend_objects_destroy_object()
127 if (destructor->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_objects_destroy_object()
H A Dzend_execute_API.c641 if (func->type == ZEND_USER_FUNCTION || (func->common.fn_flags & ZEND_ACC_USER_ARG_INFO)) { in get_function_arg_name()
845 if ((func->common.fn_flags & ZEND_ACC_STATIC) || !fci_cache->object) { in zend_call_function()
856 if (UNEXPECTED(func->common.fn_flags & ZEND_ACC_DEPRECATED)) { in zend_call_function()
894 !(func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in zend_call_function()
948 !(func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in zend_call_function()
977 if (UNEXPECTED(func->op_array.fn_flags & ZEND_ACC_CLOSURE)) { in zend_call_function()
982 if (func->common.fn_flags & ZEND_ACC_FAKE_CLOSURE) { in zend_call_function()
988 if (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in zend_call_function()
1022 ZEND_ASSERT(!(call->func->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) || in zend_call_function()
1024 ZEND_ASSERT((call->func->common.fn_flags & ZEND_ACC_RETURN_REFERENCE) in zend_call_function()
H A Dzend_observer.h100 …if (function->common.fn_flags & (ZEND_ACC_CALL_VIA_TRAMPOLINE | (allow_generator ? 0 : ZEND_ACC_GE… in zend_observer_fcall_has_no_observers()
H A Dzend_attributes.c295 call->func->op_array.fn_flags = in zend_get_attribute_object()
297 call->func->op_array.fn_flags |= ZEND_ACC_CALL_VIA_TRAMPOLINE; in zend_get_attribute_object()
/php-src/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c519 || (func->op_array.fn_flags & ZEND_ACC_FAKE_CLOSURE)) { in zend_jit_trace_record_fake_init_call_ex()
521 } else if (func->op_array.fn_flags & ZEND_ACC_CLOSURE) { in zend_jit_trace_record_fake_init_call_ex()
527 || (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) in zend_jit_trace_record_fake_init_call_ex()
528 || (func->common.fn_flags & ZEND_ACC_NEVER_CACHE) in zend_jit_trace_record_fake_init_call_ex()
642 || (op_array->fn_flags & ZEND_ACC_CLOSURE)) {
916 || (func->common.fn_flags & ZEND_ACC_NEVER_CACHE)
977 || (op_array->fn_flags & ZEND_ACC_CLOSURE)) {
1005 if (EX(func)->op_array.fn_flags & ZEND_ACC_FAKE_CLOSURE) {
1129 || (func->op_array.fn_flags & ZEND_ACC_FAKE_CLOSURE)) {
1131 } else if (func->op_array.fn_flags & ZEND_ACC_CLOSURE) {
[all …]
H A Dzend_jit.c757 if (func->common.fn_flags & ZEND_ACC_PRELOADED) { in zend_jit_may_be_modified()
850 if (op_array->fn_flags & ZEND_ACC_CLOSURE) { in zend_jit_func_name()
1082 && !(op_array->fn_flags & ZEND_ACC_GENERATOR) in zend_jit_op_array_analyze1()
1103 && !(op_array->fn_flags & ZEND_ACC_GENERATOR) in zend_jit_op_array_analyze2()
2966 if (op_array->fn_flags & ZEND_ACC_CLOSURE) { in zend_real_jit_func()
2986 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_real_jit_func()
3033 if (!(op_array->fn_flags & ZEND_ACC_HAS_TYPE_HINTS)) { in zend_runtime_jit()
3074 if (!(op_array->fn_flags & ZEND_ACC_HAS_TYPE_HINTS)) { in zend_jit_check_funcs()
3136 if (!(op_array->fn_flags & ZEND_ACC_HAS_TYPE_HINTS)) { in zend_jit_setup_hot_counters_ex()
3231 if (!(op_array->fn_flags & ZEND_ACC_HAS_TYPE_HINTS)) { in zend_jit_op_array()
[all …]
/php-src/Zend/Optimizer/
H A Doptimize_func_calls.c82 && !(func->op_array.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_HAS_TYPE_HINTS|ZEND_ACC_DEPRECATED)) in zend_try_inline_call()
84 && !(func->op_array.fn_flags & (ZEND_ACC_TRAIT_CLONE)) in zend_try_inline_call()
92 num_args += (func->op_array.fn_flags & ZEND_ACC_VARIADIC) != 0; in zend_try_inline_call()
95 && !(func->op_array.fn_flags & ZEND_ACC_STATIC)) { in zend_try_inline_call()
148 || (info->func->common.fn_flags & ZEND_ACC_VARIADIC); in has_known_send_mode()
H A Dzend_optimizer.c817 if (fbc->op_array.fn_flags & ZEND_ACC_PRELOADED) { in zend_optimizer_ignore_function()
889 && !(op_array->fn_flags & ZEND_ACC_TRAIT_CLONE)) { in zend_fetch_class_const_info()
974 && !(op_array->fn_flags & ZEND_ACC_TRAIT_CLONE) in zend_optimizer_get_called_func()
990 if ((fbc->common.fn_flags & ZEND_ACC_FINAL) == 0 && in zend_optimizer_get_called_func()
1210 op_array->fn_flags &= ~ZEND_ACC_DONE_PASS_TWO; in zend_revert_pass_two()
1320 op_array->fn_flags |= ZEND_ACC_DONE_PASS_TWO; in zend_redo_pass_two()
1462 op_array->fn_flags |= ZEND_ACC_DONE_PASS_TWO; in zend_redo_pass_two_ex()
1568 && !(op_array->fn_flags & ZEND_ACC_ABSTRACT) in zend_foreach_op_array()
1569 && !(op_array->fn_flags & ZEND_ACC_TRAIT_CLONE)) { in zend_foreach_op_array()
1747 uint32_t fn_flags = op_array->fn_flags; in zend_optimize_script() local
[all …]
H A Dzend_cfg.h104 (((op_array)->fn_flags & ZEND_ACC_DONE_PASS_TWO) ? \
H A Doptimize_temp_vars_5.c107 if ((op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) && in zend_optimize_temporary_variables()
H A Dpass3.c92 !(op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK)) { in zend_optimizer_pass3()
/php-src/ext/opcache/
H A Dzend_persist.c487 && !(op_array->fn_flags & ZEND_ACC_CLOSURE) in zend_persist_op_array_ex()
566 if (op_array->fn_flags & ZEND_ACC_DONE_PASS_TWO) { in zend_persist_op_array_ex()
617 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_persist_op_array_ex()
621 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_persist_op_array_ex()
631 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_persist_op_array_ex()
691 op_array->fn_flags |= ZEND_ACC_IMMUTABLE; in zend_persist_op_array()
717 if (op_array->fn_flags & ZEND_ACC_ARENA_ALLOCATED) { in zend_persist_class_method()
745 if ((op_array->fn_flags & ZEND_ACC_IMMUTABLE) in zend_persist_class_method()
771 op_array->fn_flags |= ZEND_ACC_IMMUTABLE; in zend_persist_class_method()
1294 && !(op_array->fn_flags & ZEND_ACC_ABSTRACT) in zend_accel_persist_class_table()
[all …]
H A Dzend_persist_calc.c224 && !(op_array->fn_flags & ZEND_ACC_CLOSURE) in zend_persist_op_array_calc_ex()
266 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_persist_op_array_calc_ex()
269 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_persist_op_array_calc_ex()
338 if (op_array->fn_flags & ZEND_ACC_ARENA_ALLOCATED) { in zend_persist_class_method_calc()
348 if ((op_array->fn_flags & ZEND_ACC_IMMUTABLE) in zend_persist_class_method_calc()
H A Dzend_file_cache.c591 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) {
594 if (op_array->fn_flags & ZEND_ACC_VARIADIC) {
1337 op_array->fn_flags |= ZEND_ACC_IMMUTABLE;
1340 ZEND_ASSERT(!(op_array->fn_flags & ZEND_ACC_IMMUTABLE));
1347 op_array->fn_flags &= ~ZEND_ACC_IMMUTABLE;
1464 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) {
1467 if (op_array->fn_flags & ZEND_ACC_VARIADIC) {
1474 …zend_file_cache_unserialize_type(&p->type, (op_array->fn_flags & ZEND_ACC_CLOSURE) ? NULL : op_arr…
/php-src/ext/reflection/
H A Dphp_reflection.c438 if ((mptr->common.fn_flags & ZEND_ACC_STATIC) in _class_string()
452 if ((mptr->common.fn_flags & ZEND_ACC_STATIC) in _class_string()
758 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in _function_parameter_string()
844 if (fptr->common.fn_flags & ZEND_ACC_CTOR) { in _function_string()
852 if (fptr->common.fn_flags & ZEND_ACC_FINAL) { in _function_string()
855 if (fptr->common.fn_flags & ZEND_ACC_STATIC) { in _function_string()
893 if (fptr->common.fn_flags & ZEND_ACC_CLOSURE) { in _function_string()
1301 RETURN_BOOL(mptr->common.fn_flags & mask); in _function_check_flag()
1806 if (ops->fn_flags & ZEND_ACC_VARIADIC) { in ZEND_METHOD()
3366 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in reflection_method_invoke()
[all …]
/php-src/ext/spl/
H A Dphp_spl.c366 UNEXPECTED(alfi->func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in autoload_func_info_destroy()
402 (alfi1->func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) && in autoload_func_info_equals()
403 (alfi2->func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) in autoload_func_info_equals()
434 if (UNEXPECTED(func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in spl_perform_autoload()
/php-src/ext/pdo/
H A Dpdo_dbh.c624 …if (dbstmt_ce->constructor && !(dbstmt_ce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_A… in PHP_METHOD()
921 …if (pce->constructor && !(pce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED… in pdo_dbh_attribute_set()
1365 func.fn_flags = funcs->flags | ZEND_ACC_NEVER_CACHE; in pdo_hash_methods()
1367 func.fn_flags = ZEND_ACC_PUBLIC | ZEND_ACC_NEVER_CACHE; in pdo_hash_methods()
1381 func.fn_flags |= ZEND_ACC_RETURN_REFERENCE; in pdo_hash_methods()
1384 func.fn_flags |= ZEND_ACC_VARIADIC; in pdo_hash_methods()

Completed in 173 milliseconds

123