Home
last modified time | relevance | path

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

12

/PHP-7.3/Zend/
H A Dzend_closures.c71 if (func->common.fn_flags & ZEND_ACC_STATIC) { in zend_valid_closure_binding()
141 my_function.common.fn_flags &= ~ZEND_ACC_CLOSURE; in ZEND_METHOD()
282 call.fn_flags = mptr->common.fn_flags & ZEND_ACC_STATIC; 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()
668 closure->func.common.fn_flags |= ZEND_ACC_CLOSURE; in zend_create_closure()
669 closure->func.common.fn_flags &= ~ZEND_ACC_IMMUTABLE; in zend_create_closure()
678 || (func->common.fn_flags & ZEND_ACC_NO_RT_ARENA) in zend_create_closure()
681 && (func->common.fn_flags & ZEND_ACC_CLOSURE) in zend_create_closure()
700 closure->func.common.fn_flags |= ZEND_ACC_CLOSURE; in zend_create_closure()
[all …]
H A Dzend_inheritance.c172 if (fn_flags & ZEND_ACC_PRIVATE) { in zend_visibility_string()
175 if (fn_flags & ZEND_ACC_PROTECTED) { in zend_visibility_string()
178 if (fn_flags & ZEND_ACC_PUBLIC) { in zend_visibility_string()
294 if ((fe->common.fn_flags & ZEND_ACC_CTOR) in zend_do_perform_implementation_check()
301 if (proto->common.fn_flags & ZEND_ACC_PRIVATE) { in zend_do_perform_implementation_check()
571 child_flags = child->common.fn_flags; in do_inheritance_check_on_method()
594 child->common.fn_flags |= ZEND_ACC_CHANGED; in do_inheritance_check_on_method()
1171 fe->common.fn_flags |= ZEND_ACC_CTOR; in zend_add_magic_methods()
1187 … (existing_fn->common.fn_flags & ZEND_ACC_PPP_MASK) == (fn->common.fn_flags & ZEND_ACC_PPP_MASK) && in zend_add_trait_method()
1308 …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.c81 op_array->fn_flags = 0; in init_op_array()
124 if (function->common.fn_flags & ZEND_ACC_VARIADIC) { in zend_function_dtor()
135 if (!(function->common.fn_flags & ZEND_ACC_ARENA_ALLOCATED)) { in zend_function_dtor()
377 || !(op_array->fn_flags & ZEND_ACC_DONE_PASS_TWO)) { in destroy_op_array()
396 if (op_array->fn_flags & ZEND_ACC_DONE_PASS_TWO) { in destroy_op_array()
404 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in destroy_op_array()
408 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in destroy_op_array()
552 op_array->fn_flags |= ZEND_ACC_DONE_PASS_TWO; in pass_two()
577 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in pass_two()
588 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in pass_two()
[all …]
H A Dzend_API.c2209 internal_function->fn_flags = ptr->flags; in zend_register_functions()
2212 internal_function->fn_flags = ZEND_ACC_PUBLIC; in zend_register_functions()
2413 ctor->common.fn_flags |= ZEND_ACC_CTOR; in zend_register_functions()
2414 if (ctor->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2420 dtor->common.fn_flags |= ZEND_ACC_DTOR; in zend_register_functions()
2421 if (dtor->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2427 if (clone->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2451 if (__get->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2457 if (__set->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2480 …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.c1073 if (fbc->common.fn_flags & ZEND_ACC_PRIVATE in zend_get_parent_private()
1165 func->fn_flags |= ZEND_ACC_STATIC; in zend_get_call_trampoline_func()
1226 if (fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_std_get_method()
1252 if (fbc->op_array.fn_flags & ZEND_ACC_CHANGED) { in zend_std_get_method()
1257 } else if (!(fbc->op_array.fn_flags & ZEND_ACC_PROTECTED)) { in zend_std_get_method()
1342 if (UNEXPECTED(!(fbc->common.fn_flags & ZEND_ACC_STATIC))) { in zend_std_get_static_method()
1346 if (fbc->op_array.fn_flags & ZEND_ACC_PUBLIC) { in zend_std_get_static_method()
1348 } else if (fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_std_get_static_method()
1360 } else if ((fbc->common.fn_flags & ZEND_ACC_PROTECTED)) { in zend_std_get_static_method()
1468 if (constructor->op_array.fn_flags & ZEND_ACC_PUBLIC) { in zend_std_get_constructor()
[all …]
H A Dzend_compile.h337 char *zend_visibility_string(uint32_t fn_flags);
395 uint32_t fn_flags; member
443 uint32_t fn_flags; member
466 uint32_t fn_flags; member
567 (((call)->func->common.fn_flags & ZEND_ACC_STRICT_TYPES) != 0)
927 if (EXPECTED((zf->common.fn_flags & ZEND_ACC_VARIADIC) == 0)) { in zend_check_arg_send_type()
H A Dzend_objects.c85 if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) { in zend_objects_destroy_object()
86 if (destructor->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_objects_destroy_object()
H A Dzend_execute_API.c680 fci->object = (func->common.fn_flags & ZEND_ACC_STATIC) ? in zend_call_function()
686 if (UNEXPECTED(func->common.fn_flags & ZEND_ACC_DEPRECATED)) { in zend_call_function()
730 !(func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in zend_call_function()
740 if (UNEXPECTED(func->op_array.fn_flags & ZEND_ACC_CLOSURE)) { in zend_call_function()
745 if (func->common.fn_flags & ZEND_ACC_FAKE_CLOSURE) { in zend_call_function()
752 int call_via_handler = (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) != 0; in zend_call_function()
763 int call_via_handler = (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) != 0; in zend_call_function()
1397 if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_verify_abstract_class_function()
1401 if (fn->common.fn_flags & ZEND_ACC_CTOR) { in zend_verify_abstract_class_function()
H A Dzend_compile.c5565 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_compile_params()
5572 op_array->fn_flags |= ZEND_ACC_VARIADIC; in zend_compile_params()
5698 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_compile_params()
5797 op_array->fn_flags |= ZEND_ACC_ABSTRACT; in zend_begin_method_decl()
5800 if (op_array->fn_flags & ZEND_ACC_ABSTRACT) { in zend_begin_method_decl()
5801 if (op_array->fn_flags & ZEND_ACC_PRIVATE) { in zend_begin_method_decl()
5950 op_array->fn_flags |= ZEND_ACC_ALLOW_STATIC; in zend_begin_method_decl()
5996 if (op_array->fn_flags & ZEND_ACC_CLOSURE) { in zend_begin_func_decl()
6028 op_array->fn_flags |= (orig_op_array->fn_flags & ZEND_ACC_STRICT_TYPES); in zend_compile_func_decl()
6029 op_array->fn_flags |= decl->flags; in zend_compile_func_decl()
[all …]
H A Dzend_execute.c951 } else if (UNEXPECTED(zf->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_verify_arg_type()
1632 if (fbc->common.fn_flags & ZEND_ACC_ALLOW_STATIC) { in zend_non_static_method_call()
2423 if (EXPECTED((op_array->fn_flags & ZEND_ACC_HAS_TYPE_HINTS) == 0)) { in zend_copy_extra_args()
2526 if (op_array->fn_flags & ZEND_ACC_IMMUTABLE) { in init_func_run_time_cache_i()
2531 new_op_array->fn_flags &= ~ZEND_ACC_IMMUTABLE; in init_func_run_time_cache_i()
2824 if (call->func->common.fn_flags & ZEND_ACC_CLOSURE) { in cleanup_unfinished_calls()
2965 if (UNEXPECTED(!(fbc->common.fn_flags & ZEND_ACC_STATIC))) { in zend_init_dynamic_call_string()
3010 if (fbc->common.fn_flags & ZEND_ACC_CLOSURE) { in zend_init_dynamic_call_object()
3014 if (fbc->common.fn_flags & ZEND_ACC_FAKE_CLOSURE) { in zend_init_dynamic_call_object()
3083 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) { in zend_init_dynamic_call_array()
[all …]
H A Dzend_vm_def.h3122 if (UNEXPECTED((fbc->common.fn_flags & ZEND_ACC_STATIC) != 0)) {
3256 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
3399 if (func->common.fn_flags & ZEND_ACC_CLOSURE) {
3403 if (func->common.fn_flags & ZEND_ACC_FAKE_CLOSURE) {
3617 if (UNEXPECTED(fbc->common.fn_flags & ZEND_ACC_HAS_TYPE_HINTS)
3705 if (UNEXPECTED(fbc->common.fn_flags & ZEND_ACC_HAS_TYPE_HINTS)
3810 && !(EX(func)->op_array.fn_flags & ZEND_ACC_RETURN_REFERENCE)
5048 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) {
5058 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) {
7103 (EX(func)->common.fn_flags & ZEND_ACC_STATIC))) {
[all …]
H A Dzend_builtin_functions.c1289 if ((mptr->common.fn_flags & ZEND_ACC_PUBLIC) in ZEND_FUNCTION()
1291 (((mptr->common.fn_flags & ZEND_ACC_PROTECTED) && in ZEND_FUNCTION()
1293 || ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) && in ZEND_FUNCTION()
1301 } else if ((mptr->common.fn_flags & ZEND_ACC_CTOR) == 0 || in ZEND_FUNCTION()
1352 if (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in ZEND_FUNCTION()
2534 !(prev_call->func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in zend_fetch_debug_backtrace()
/PHP-7.3/ext/opcache/Optimizer/
H A Dpass3.c166 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in zend_optimizer_pass3()
187 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in zend_optimizer_pass3()
202 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in zend_optimizer_pass3()
253 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in zend_optimizer_pass3()
411 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in zend_optimizer_pass3()
H A Dnop_removal.c101 if (op_array->fn_flags & ZEND_ACC_EARLY_BINDING) { in zend_optimizer_nop_removal()
H A Doptimize_func_calls.c97 && !(func->op_array.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_HAS_TYPE_HINTS)) in zend_try_inline_call()
105 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_optimizer.c831 || (op_array->fn_flags & ZEND_ACC_RETURN_REFERENCE)) { in zend_optimizer_replace_by_const()
1045 zend_bool is_private = (fbc->common.fn_flags & ZEND_ACC_PRIVATE) != 0; in zend_optimizer_get_called_func()
1046 zend_bool is_final = (fbc->common.fn_flags & ZEND_ACC_FINAL) != 0; in zend_optimizer_get_called_func()
1284 if (op_array->fn_flags & ZEND_ACC_DONE_PASS_TWO) { in zend_redo_pass_two()
1373 if (op_array->fn_flags & ZEND_ACC_DONE_PASS_TWO) { in zend_redo_pass_two_ex()
1522 if (call_graph.op_arrays[i]->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_optimize_script()
H A Dzend_dfg.c88 || (op_array->fn_flags & ZEND_ACC_RETURN_REFERENCE)) { in zend_build_dfg()
/PHP-7.3/ext/reflection/
H A Dphp_reflection.c396 if (mptr->common.fn_flags & ZEND_ACC_STATIC in _class_string()
410 if (mptr->common.fn_flags & ZEND_ACC_STATIC in _class_string()
662 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in _function_parameter_string()
746 if (fptr->common.fn_flags & ZEND_ACC_CTOR) { in _function_string()
749 if (fptr->common.fn_flags & ZEND_ACC_DTOR) { in _function_string()
757 if (fptr->common.fn_flags & ZEND_ACC_FINAL) { in _function_string()
760 if (fptr->common.fn_flags & ZEND_ACC_STATIC) { in _function_string()
798 if (fptr->common.fn_flags & ZEND_ACC_CLOSURE) { in _function_string()
1078 RETURN_BOOL(mptr->common.fn_flags & mask); in _function_check_flag()
3145 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in reflection_method_invoke()
[all …]
/PHP-7.3/ext/zend_test/
H A Dtest.c151 fptr->fn_flags = ZEND_ACC_CALL_VIA_HANDLER; in zend_test_class_method_get()
167 fptr->fn_flags = ZEND_ACC_CALL_VIA_HANDLER|ZEND_ACC_STATIC; in zend_test_class_static_method_get()
/PHP-7.3/ext/spl/
H A Dphp_spl.c379 UNEXPECTED(alfi->func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in autoload_func_info_dtor()
425 if (UNEXPECTED(func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in PHP_FUNCTION()
521 if (!obj_ptr && alfi.func_ptr && !(alfi.func_ptr->common.fn_flags & ZEND_ACC_STATIC)) { in PHP_FUNCTION()
601 if (obj_ptr && !(alfi.func_ptr->common.fn_flags & ZEND_ACC_STATIC)) { in PHP_FUNCTION()
642 if (obj_ptr && !(alfi.func_ptr->common.fn_flags & ZEND_ACC_STATIC)) { in PHP_FUNCTION()
648 if (UNEXPECTED(alfi.func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in PHP_FUNCTION()
/PHP-7.3/ext/opcache/
H A Dzend_persist.c467 if (op_array->fn_flags & ZEND_ACC_DONE_PASS_TWO) { in zend_persist_op_array_ex()
535 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_persist_op_array_ex()
545 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_persist_op_array_ex()
562 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_persist_op_array_ex()
631 ((zend_op_array*)Z_PTR_P(zv))->fn_flags |= ZEND_ACC_IMMUTABLE; in zend_persist_op_array()
H A Dzend_persist_calc.c208 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_persist_op_array_calc_ex()
211 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_persist_op_array_calc_ex()
/PHP-7.3/ext/pdo/
H A Dpdo_dbh.c524 …if (dbstmt_ce->constructor && !(dbstmt_ce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_A… in PHP_METHOD()
792 …if (pce->constructor && !(pce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED… in pdo_dbh_attribute_set()
1327 func.fn_flags = funcs->flags | ZEND_ACC_NEVER_CACHE; in pdo_hash_methods()
1329 func.fn_flags = ZEND_ACC_PUBLIC | ZEND_ACC_NEVER_CACHE; in pdo_hash_methods()
1342 func.fn_flags |= ZEND_ACC_RETURN_REFERENCE; in pdo_hash_methods()
1345 func.fn_flags |= ZEND_ACC_VARIADIC; in pdo_hash_methods()
/PHP-7.3/ext/com_dotnet/
H A Dcom_handlers.c282 f.fn_flags = ZEND_ACC_CALL_VIA_HANDLER; in com_method_get()
407 f.fn_flags = 0; \ in com_constructor_get()

Completed in 160 milliseconds

12