Home
last modified time | relevance | path

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

12

/PHP-7.1/Zend/
H A Dzend_closures.c76 if (func->common.fn_flags & ZEND_ACC_STATIC) { in zend_valid_closure_binding()
273 if (mptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in zend_create_closure_from_callable()
357 invoke->internal_function.fn_flags = in zend_get_closure_invoke_method()
360 invoke->internal_function.fn_flags |= in zend_get_closure_invoke_method()
517 (closure->func.common.fn_flags & ZEND_ACC_VARIADIC))) { in zend_closure_get_debug_info()
523 if (closure->func.common.fn_flags & ZEND_ACC_VARIADIC) { in zend_closure_get_debug_info()
658 closure->func.common.fn_flags |= ZEND_ACC_CLOSURE; in zend_create_closure()
667 || (func->common.fn_flags & ZEND_ACC_NO_RT_ARENA) in zend_create_closure()
688 closure->func.common.fn_flags |= ZEND_ACC_CLOSURE; in zend_create_closure()
712 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()
573 child_flags = child->common.fn_flags; in do_inheritance_check_on_method()
596 child->common.fn_flags |= ZEND_ACC_CHANGED; in do_inheritance_check_on_method()
599 child->common.fn_flags |= ZEND_ACC_CHANGED; in do_inheritance_check_on_method()
1151 fe->common.fn_flags |= ZEND_ACC_CTOR; in zend_add_magic_methods()
1277 …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_API.c2168 internal_function->fn_flags = ptr->flags; in zend_register_functions()
2171 internal_function->fn_flags = ZEND_ACC_PUBLIC; in zend_register_functions()
2338 ctor->common.fn_flags |= ZEND_ACC_CTOR; in zend_register_functions()
2339 if (ctor->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2345 dtor->common.fn_flags |= ZEND_ACC_DTOR; in zend_register_functions()
2346 if (dtor->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2352 clone->common.fn_flags |= ZEND_ACC_CLONE; in zend_register_functions()
2353 if (clone->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2377 if (__get->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2406 …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_opcode.c88 op_array->fn_flags = 0; in init_op_array()
128 if (!(function->common.fn_flags & ZEND_ACC_ARENA_ALLOCATED)) { in zend_function_dtor()
417 if (op_array->fn_flags & ZEND_ACC_DONE_PASS_TWO) { in destroy_op_array()
425 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in destroy_op_array()
429 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in destroy_op_array()
590 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in pass_two()
601 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in pass_two()
645 if (op_array->fn_flags & ZEND_ACC_GENERATOR) { in pass_two()
677 op_array->fn_flags |= ZEND_ACC_DONE_PASS_TWO; in pass_two()
H A Dzend_object_handlers.c1089 if (fbc->common.fn_flags & ZEND_ACC_PRIVATE in zend_check_private_int()
1157 func->fn_flags |= ZEND_ACC_STATIC; in zend_get_call_trampoline_func()
1219 if (fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_std_get_method()
1244 if (fbc->op_array.fn_flags & ZEND_ACC_CHANGED) { in zend_std_get_method()
1248 if (priv_fbc->common.fn_flags & ZEND_ACC_PRIVATE in zend_std_get_method()
1255 if (fbc->common.fn_flags & ZEND_ACC_PROTECTED) { in zend_std_get_method()
1343 if (fbc->op_array.fn_flags & ZEND_ACC_PUBLIC) { in zend_std_get_static_method()
1345 } else if (fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_std_get_static_method()
1362 } else if ((fbc->common.fn_flags & ZEND_ACC_PROTECTED)) { in zend_std_get_static_method()
1437 if (constructor->op_array.fn_flags & ZEND_ACC_PUBLIC) { in zend_std_get_constructor()
[all …]
H A Dzend_objects.c96 if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) { in zend_objects_destroy_object()
97 if (destructor->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_objects_destroy_object()
H A Dzend_compile.h293 char *zend_visibility_string(uint32_t fn_flags);
357 uint32_t fn_flags; member
406 uint32_t fn_flags; member
429 uint32_t fn_flags; member
523 (((call)->func->common.fn_flags & ZEND_ACC_STRICT_TYPES) != 0)
915 if (EXPECTED((zf->common.fn_flags & ZEND_ACC_VARIADIC) == 0)) { in zend_check_arg_send_type()
H A Dzend_execute_API.c765 fci->object = (func->common.fn_flags & ZEND_ACC_STATIC) ? in zend_call_function()
780 if (func->common.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_DEPRECATED)) { in zend_call_function()
781 if (func->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_call_function()
789 if (func->common.fn_flags & ZEND_ACC_DEPRECATED) { in zend_call_function()
834 !(func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in zend_call_function()
844 if (UNEXPECTED(func->op_array.fn_flags & ZEND_ACC_CLOSURE)) { in zend_call_function()
851 int call_via_handler = (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) != 0; in zend_call_function()
862 int call_via_handler = (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) != 0; in zend_call_function()
1495 if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_verify_abstract_class_function()
1499 if (fn->common.fn_flags & ZEND_ACC_CTOR) { in zend_verify_abstract_class_function()
H A Dzend_compile.c5157 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_compile_params()
5164 op_array->fn_flags |= ZEND_ACC_VARIADIC; in zend_compile_params()
5288 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_compile_params()
5371 op_array->fn_flags |= ZEND_ACC_ABSTRACT; in zend_begin_method_decl()
5374 if (op_array->fn_flags & ZEND_ACC_ABSTRACT) { in zend_begin_method_decl()
5375 if (op_array->fn_flags & ZEND_ACC_PRIVATE) { in zend_begin_method_decl()
5518 op_array->fn_flags |= ZEND_ACC_ALLOW_STATIC; in zend_begin_method_decl()
5555 if (op_array->fn_flags & ZEND_ACC_CLOSURE) { in zend_begin_func_decl()
5588 op_array->fn_flags |= (orig_op_array->fn_flags & ZEND_ACC_STRICT_TYPES); in zend_compile_func_decl()
5589 op_array->fn_flags |= decl->flags; in zend_compile_func_decl()
[all …]
H A Dzend_execute.c854 } else if (zf->internal_function.fn_flags & ZEND_ACC_VARIADIC) { in zend_verify_internal_arg_type()
952 } else if (UNEXPECTED(zf->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_verify_arg_type()
2132 if (EXPECTED(!(op_array->fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE))) { in i_init_func_execute_data()
2136 if (EXPECTED((op_array->fn_flags & ZEND_ACC_HAS_TYPE_HINTS) == 0)) { in i_init_func_execute_data()
2479 if (call->func->common.fn_flags & ZEND_ACC_CLOSURE) { in cleanup_unfinished_calls()
2606 if (UNEXPECTED(!(fbc->common.fn_flags & ZEND_ACC_STATIC))) { in zend_init_dynamic_call_string()
2607 if (fbc->common.fn_flags & ZEND_ACC_ALLOW_STATIC) { in zend_init_dynamic_call_string()
2659 if (fbc->common.fn_flags & ZEND_ACC_CLOSURE) { in zend_init_dynamic_call_object()
2730 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) { in zend_init_dynamic_call_array()
2731 if (fbc->common.fn_flags & ZEND_ACC_ALLOW_STATIC) { in zend_init_dynamic_call_array()
[all …]
H A Dzend_builtin_functions.c285 fptr->fn_flags = ZEND_ACC_CALL_VIA_HANDLER; in zend_test_class_method_get()
300 fptr->fn_flags = ZEND_ACC_CALL_VIA_HANDLER|ZEND_ACC_STATIC; in zend_test_class_static_method_get()
1344 if ((mptr->common.fn_flags & ZEND_ACC_PUBLIC) in ZEND_FUNCTION()
1346 (((mptr->common.fn_flags & ZEND_ACC_PROTECTED) && in ZEND_FUNCTION()
1348 || ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) && in ZEND_FUNCTION()
1356 } else if ((mptr->common.fn_flags & ZEND_ACC_CTOR) == 0 || in ZEND_FUNCTION()
1407 if (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in ZEND_FUNCTION()
2669 !(prev_call->func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in zend_fetch_debug_backtrace()
H A Dzend_vm_def.h3355 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
3360 if (fbc->common.fn_flags & ZEND_ACC_ALLOW_STATIC) {
3518 if (func->common.fn_flags & ZEND_ACC_CLOSURE) {
3656 !(call->func->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) ||
3741 if (UNEXPECTED(fbc->common.fn_flags & ZEND_ACC_HAS_TYPE_HINTS)
3832 if (UNEXPECTED(fbc->common.fn_flags & ZEND_ACC_HAS_TYPE_HINTS)
3941 && !(EX(func)->op_array.fn_flags & ZEND_ACC_RETURN_REFERENCE)
5078 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) {
5087 } else if ((clone->common.fn_flags & ZEND_ACC_PROTECTED)) {
7373 (EX(func)->common.fn_flags & ZEND_ACC_STATIC))) {
[all …]
H A Dzend_vm_execute.h5570 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
5646 if (func->common.fn_flags & ZEND_ACC_CLOSURE) {
7580 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
9507 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
9583 if (func->common.fn_flags & ZEND_ACC_CLOSURE) {
11486 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
11562 if (func->common.fn_flags & ZEND_ACC_CLOSURE) {
19924 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
21819 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
24772 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
[all …]
/PHP-7.1/ext/opcache/Optimizer/
H A Dpass3.c167 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in zend_optimizer_pass3()
188 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in zend_optimizer_pass3()
203 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in zend_optimizer_pass3()
254 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in zend_optimizer_pass3()
388 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_optimizer.c527 || (op_array->fn_flags & ZEND_ACC_RETURN_REFERENCE)) { in zend_optimizer_replace_by_const()
650 zend_bool is_private = (fbc->common.fn_flags & ZEND_ACC_PRIVATE) != 0; in zend_optimizer_get_called_func()
651 zend_bool is_final = (fbc->common.fn_flags & ZEND_ACC_FINAL) != 0; in zend_optimizer_get_called_func()
984 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.1/ext/reflection/
H A Dphp_reflection.c522 if (mptr->common.fn_flags & ZEND_ACC_STATIC in _class_string()
536 if (mptr->common.fn_flags & ZEND_ACC_STATIC in _class_string()
877 if (fptr->common.fn_flags & ZEND_ACC_CTOR) { in _function_string()
880 if (fptr->common.fn_flags & ZEND_ACC_DTOR) { in _function_string()
888 if (fptr->common.fn_flags & ZEND_ACC_FINAL) { in _function_string()
891 if (fptr->common.fn_flags & ZEND_ACC_STATIC) { in _function_string()
929 if (fptr->common.fn_flags & ZEND_ACC_CLOSURE) { in _function_string()
1217 RETURN_BOOL(mptr->common.fn_flags & mask); in _function_check_flag()
3299 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in reflection_method_invoke()
3607 RETURN_LONG(mptr->common.fn_flags); in ZEND_METHOD()
[all …]
/PHP-7.1/ext/spl/
H A Dphp_spl.c381 UNEXPECTED(alfi->func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in autoload_func_info_dtor()
413 if (UNEXPECTED(alfi->func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in PHP_FUNCTION()
475 if (!obj_ptr && alfi.func_ptr && !(alfi.func_ptr->common.fn_flags & ZEND_ACC_STATIC)) { in PHP_FUNCTION()
556 if (obj_ptr && !(alfi.func_ptr->common.fn_flags & ZEND_ACC_STATIC)) { in PHP_FUNCTION()
597 if (obj_ptr && !(alfi.func_ptr->common.fn_flags & ZEND_ACC_STATIC)) { in PHP_FUNCTION()
603 if (UNEXPECTED(alfi.func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in PHP_FUNCTION()
/PHP-7.1/ext/pdo/
H A Dpdo_dbh.c504 …if (dbstmt_ce->constructor && !(dbstmt_ce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_A… in PHP_METHOD()
772 …if (pce->constructor && !(pce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED… in pdo_dbh_attribute_set()
1305 func.fn_flags = funcs->flags | ZEND_ACC_NEVER_CACHE; in pdo_hash_methods()
1307 func.fn_flags = ZEND_ACC_PUBLIC | ZEND_ACC_NEVER_CACHE; in pdo_hash_methods()
1320 func.fn_flags |= ZEND_ACC_RETURN_REFERENCE; in pdo_hash_methods()
1323 func.fn_flags |= ZEND_ACC_VARIADIC; in pdo_hash_methods()
/PHP-7.1/ext/opcache/
H A Dzend_persist_calc.c221 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_persist_op_array_calc_ex()
224 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_persist_op_array_calc_ex()
H A Dzend_persist.c450 if (op_array->fn_flags & ZEND_ACC_DONE_PASS_TWO) { in zend_persist_op_array_ex()
512 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_persist_op_array_ex()
522 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.c462 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_file_cache_serialize_op_array()
465 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_file_cache_serialize_op_array()
1087 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_file_cache_unserialize_op_array()
1090 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_file_cache_unserialize_op_array()
/PHP-7.1/ext/com_dotnet/
H A Dcom_handlers.c279 f.fn_flags = ZEND_ACC_CALL_VIA_HANDLER; in com_method_get()
404 f.fn_flags = 0; \ in com_constructor_get()

Completed in 297 milliseconds

12