Home
last modified time | relevance | path

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

12

/PHP-7.0/Zend/
H A Dzend_closures.c81 if (func->common.fn_flags & ZEND_ACC_STATIC) { in zend_valid_closure_binding()
238 new_closure->func.op_array.fn_flags |= ZEND_ACC_NO_RT_ARENA; in ZEND_METHOD()
270 invoke->internal_function.fn_flags = in zend_get_closure_invoke_method()
273 invoke->internal_function.fn_flags |= in zend_get_closure_invoke_method()
350 if (closure->func.op_array.fn_flags & ZEND_ACC_NO_RT_ARENA) { in zend_closure_free_storage()
437 (closure->func.common.fn_flags & ZEND_ACC_VARIADIC))) { in zend_closure_get_debug_info()
443 if (closure->func.common.fn_flags & ZEND_ACC_VARIADIC) { in zend_closure_get_debug_info()
574 closure->func.common.fn_flags |= ZEND_ACC_CLOSURE; in zend_create_closure()
592 closure->func.common.fn_flags |= ZEND_ACC_CLOSURE; in zend_create_closure()
616 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()
265 if ((fe->common.fn_flags & ZEND_ACC_CTOR) in zend_do_perform_implementation_check()
272 if (proto->common.fn_flags & ZEND_ACC_PRIVATE) { in zend_do_perform_implementation_check()
536 child_flags = child->common.fn_flags; in do_inheritance_check_on_method()
553 child->common.fn_flags |= ZEND_ACC_CHANGED; in do_inheritance_check_on_method()
561 child->common.fn_flags |= ZEND_ACC_CHANGED; in do_inheritance_check_on_method()
1104 fe->common.fn_flags |= ZEND_ACC_CTOR; in zend_add_magic_methods()
1225 …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.c2172 internal_function->fn_flags = ptr->flags; in zend_register_functions()
2175 internal_function->fn_flags = ZEND_ACC_PUBLIC; in zend_register_functions()
2342 ctor->common.fn_flags |= ZEND_ACC_CTOR; in zend_register_functions()
2343 if (ctor->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2349 dtor->common.fn_flags |= ZEND_ACC_DTOR; in zend_register_functions()
2350 if (dtor->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2356 clone->common.fn_flags |= ZEND_ACC_CLONE; in zend_register_functions()
2357 if (clone->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2410 …if (ctor && ctor->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE && ctor->common.fn_flags & ZEND_ACC_C… in zend_register_functions()
2414 …if (dtor && dtor->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE && dtor->common.fn_flags & ZEND_ACC_D… in zend_register_functions()
[all …]
H A Dzend_opcode.c90 op_array->fn_flags = 0; in init_op_array()
130 if (!(function->common.fn_flags & ZEND_ACC_ARENA_ALLOCATED)) { in zend_function_dtor()
397 if (op_array->fn_flags & ZEND_ACC_DONE_PASS_TWO) { in destroy_op_array()
405 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in destroy_op_array()
409 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in destroy_op_array()
629 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in pass_two()
640 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in pass_two()
669 if (op_array->fn_flags & ZEND_ACC_GENERATOR) { in pass_two()
683 if (op_array->fn_flags & ZEND_ACC_GENERATOR) { in pass_two()
705 op_array->fn_flags |= ZEND_ACC_DONE_PASS_TWO; in pass_two()
H A Dzend_object_handlers.c1038 if (fbc->common.fn_flags & ZEND_ACC_PRIVATE in zend_check_private_int()
1106 func->fn_flags |= ZEND_ACC_STATIC; in zend_get_call_trampoline_func()
1168 if (fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_std_get_method()
1191 fbc->op_array.fn_flags & ZEND_ACC_CHANGED) { in zend_std_get_method()
1194 if (priv_fbc->common.fn_flags & ZEND_ACC_PRIVATE in zend_std_get_method()
1200 if ((fbc->common.fn_flags & ZEND_ACC_PROTECTED)) { in zend_std_get_method()
1287 if (fbc->op_array.fn_flags & ZEND_ACC_PUBLIC) { in zend_std_get_static_method()
1289 } else if (fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_std_get_static_method()
1305 } else if ((fbc->common.fn_flags & ZEND_ACC_PROTECTED)) { in zend_std_get_static_method()
1378 if (constructor->op_array.fn_flags & ZEND_ACC_PUBLIC) { in zend_std_get_constructor()
[all …]
H A Dzend_compile.h279 char *zend_visibility_string(uint32_t fn_flags);
337 uint32_t fn_flags; member
388 uint32_t fn_flags; member
410 uint32_t fn_flags; member
501 (((call)->func->common.fn_flags & ZEND_ACC_STRICT_TYPES) != 0)
899 if (EXPECTED((zf->common.fn_flags & ZEND_ACC_VARIADIC) == 0)) { in zend_check_arg_send_type()
H A Dzend_execute_API.c785 if (func->common.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_DEPRECATED)) { in zend_call_function()
786 if (func->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_call_function()
793 if (func->common.fn_flags & ZEND_ACC_DEPRECATED) { in zend_call_function()
832 !(func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in zend_call_function()
845 if (func->common.fn_flags & ZEND_ACC_STATIC) { in zend_call_function()
850 if (UNEXPECTED(func->op_array.fn_flags & ZEND_ACC_CLOSURE)) { in zend_call_function()
860 int call_via_handler = (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) != 0; in zend_call_function()
863 if (EXPECTED((func->op_array.fn_flags & ZEND_ACC_GENERATOR) == 0)) { in zend_call_function()
877 int call_via_handler = (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) != 0; in zend_call_function()
1427 if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_verify_abstract_class_function()
[all …]
H A Dzend_objects.c90 if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) { in zend_objects_destroy_object()
91 if (destructor->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_objects_destroy_object()
H A Dzend_compile.c3651 …if (!(CG(active_op_array)->fn_flags & ZEND_ACC_GENERATOR) && CG(active_op_array)->fn_flags & ZEND_… in zend_compile_return()
4552 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_compile_params()
4559 op_array->fn_flags |= ZEND_ACC_VARIADIC; in zend_compile_params()
4670 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_compile_params()
4715 op_array->fn_flags |= ZEND_ACC_ABSTRACT; in zend_begin_method_decl()
4718 if (op_array->fn_flags & ZEND_ACC_ABSTRACT) { in zend_begin_method_decl()
4719 if (op_array->fn_flags & ZEND_ACC_PRIVATE) { in zend_begin_method_decl()
4896 if (op_array->fn_flags & ZEND_ACC_CLOSURE) { in zend_begin_func_decl()
4933 op_array->fn_flags |= (orig_op_array->fn_flags & ZEND_ACC_STRICT_TYPES); in zend_compile_func_decl()
4934 op_array->fn_flags |= decl->flags; in zend_compile_func_decl()
[all …]
H A Dzend_vm_def.h3143 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
3148 if (fbc->common.fn_flags & ZEND_ACC_ALLOW_STATIC) {
3268 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
3269 if (fbc->common.fn_flags & ZEND_ACC_ALLOW_STATIC) {
3308 if (fbc->common.fn_flags & ZEND_ACC_CLOSURE) {
3363 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
3364 if (fbc->common.fn_flags & ZEND_ACC_ALLOW_STATIC) {
3393 if ((fbc->common.fn_flags & ZEND_ACC_STATIC) != 0) {
3464 if (func->common.fn_flags & ZEND_ACC_CLOSURE) {
5047 if (clone->op_array.fn_flags & ZEND_ACC_PRIVATE) {
[all …]
H A Dzend_execute.c757 } else if (zf->internal_function.fn_flags & ZEND_ACC_VARIADIC) { in zend_verify_internal_arg_type()
803 } else if (UNEXPECTED(zf->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_verify_arg_type()
874 } else if (UNEXPECTED(zf->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_verify_missing_arg_type()
908 if (EXPECTED(!(EX(func)->common.fn_flags & ZEND_ACC_HAS_TYPE_HINTS)) || in zend_verify_missing_arg()
2131 if (EXPECTED(!(op_array->fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE))) { in i_init_func_execute_data()
2135 if (EXPECTED((op_array->fn_flags & ZEND_ACC_HAS_TYPE_HINTS) == 0)) { in i_init_func_execute_data()
2160 } else if (EXPECTED((op_array->fn_flags & ZEND_ACC_HAS_TYPE_HINTS) == 0)) { in i_init_func_execute_data()
2246 if (EXPECTED(!(op_array->fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE))) { in i_init_execute_data()
2250 if (EXPECTED((op_array->fn_flags & ZEND_ACC_HAS_TYPE_HINTS) == 0)) { in i_init_execute_data()
2556 if (call->func->common.fn_flags & ZEND_ACC_CLOSURE) { in cleanup_unfinished_calls()
[all …]
H A Dzend_vm_execute.h1973 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
2013 if (fbc->common.fn_flags & ZEND_ACC_CLOSURE) {
2444 if (fbc->common.fn_flags & ZEND_ACC_CLOSURE) {
2708 if (fbc->common.fn_flags & ZEND_ACC_CLOSURE) {
5763 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
5835 if (func->common.fn_flags & ZEND_ACC_CLOSURE) {
7801 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
9558 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
9630 if (func->common.fn_flags & ZEND_ACC_CLOSURE) {
11408 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) {
[all …]
H A Dzend_builtin_functions.c1261 if ((mptr->common.fn_flags & ZEND_ACC_PUBLIC) in ZEND_FUNCTION()
1263 (((mptr->common.fn_flags & ZEND_ACC_PROTECTED) && in ZEND_FUNCTION()
1265 || ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) && in ZEND_FUNCTION()
1273 } else if ((mptr->common.fn_flags & ZEND_ACC_CTOR) == 0 || in ZEND_FUNCTION()
1327 if (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in ZEND_FUNCTION()
2584 !(prev_call->func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in zend_fetch_debug_backtrace()
H A Dzend_generators.c128 if (EXPECTED(!ex) || EXPECTED(!(ex->func->op_array.fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK))) { in zend_generator_dtor_storage()
1079 …if (UNEXPECTED(by_ref) && !(generator->execute_data->func->op_array.fn_flags & ZEND_ACC_RETURN_REF… in zend_generator_get_iterator()
/PHP-7.0/ext/reflection/
H A Dphp_reflection.c517 if (mptr->common.fn_flags & ZEND_ACC_STATIC in _class_string()
531 if (mptr->common.fn_flags & ZEND_ACC_STATIC in _class_string()
854 if (fptr->common.fn_flags & ZEND_ACC_CTOR) { in _function_string()
857 if (fptr->common.fn_flags & ZEND_ACC_DTOR) { in _function_string()
865 if (fptr->common.fn_flags & ZEND_ACC_FINAL) { in _function_string()
868 if (fptr->common.fn_flags & ZEND_ACC_STATIC) { in _function_string()
906 if (fptr->common.fn_flags & ZEND_ACC_CLOSURE) { in _function_string()
1194 RETURN_BOOL(mptr->common.fn_flags & mask); in _function_check_flag()
3223 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in ZEND_METHOD()
3616 RETURN_LONG(mptr->common.fn_flags); in ZEND_METHOD()
[all …]
/PHP-7.0/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()
253 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in zend_optimizer_pass3()
385 if (op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) { in zend_optimizer_pass3()
H A Doptimize_temp_vars_5.c110 if ((op_array->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) && in optimize_temporary_variables()
H A Dzend_optimizer.c475 || (op_array->fn_flags & ZEND_ACC_RETURN_REFERENCE)) { in zend_optimizer_replace_by_const()
/PHP-7.0/ext/spl/
H A Dphp_spl.c382 UNEXPECTED(alfi->func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in autoload_func_info_dtor()
414 if (UNEXPECTED(alfi->func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in PHP_FUNCTION()
476 if (!obj_ptr && alfi.func_ptr && !(alfi.func_ptr->common.fn_flags & ZEND_ACC_STATIC)) { in PHP_FUNCTION()
557 if (obj_ptr && !(alfi.func_ptr->common.fn_flags & ZEND_ACC_STATIC)) { in PHP_FUNCTION()
598 if (obj_ptr && !(alfi.func_ptr->common.fn_flags & ZEND_ACC_STATIC)) { in PHP_FUNCTION()
604 if (UNEXPECTED(alfi.func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in PHP_FUNCTION()
/PHP-7.0/ext/pdo/
H A Dpdo_dbh.c506 …if (dbstmt_ce->constructor && !(dbstmt_ce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_A… in PHP_METHOD()
774 …if (pce->constructor && !(pce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED… in pdo_dbh_attribute_set()
1307 func.fn_flags = funcs->flags | ZEND_ACC_NEVER_CACHE; in pdo_hash_methods()
1309 func.fn_flags = ZEND_ACC_PUBLIC | ZEND_ACC_NEVER_CACHE; in pdo_hash_methods()
1322 func.fn_flags |= ZEND_ACC_RETURN_REFERENCE; in pdo_hash_methods()
1325 func.fn_flags |= ZEND_ACC_VARIADIC; in pdo_hash_methods()
/PHP-7.0/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 DZendAccelerator.h364 # define ZEND_DONE_PASS_TWO(op_array) (((op_array)->fn_flags & ZEND_ACC_DONE_PASS_TWO) != 0)
H A Dzend_persist.c603 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_persist_op_array_ex()
613 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_persist_op_array_ex()
626 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_persist_op_array_ex()
H A Dzend_file_cache.c461 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_file_cache_serialize_op_array()
464 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_file_cache_serialize_op_array()
1031 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_file_cache_unserialize_op_array()
1034 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_file_cache_unserialize_op_array()
/PHP-7.0/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 353 milliseconds

12