Home
last modified time | relevance | path

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

12

/PHP-7.2/ext/spl/
H A Dspl_functions.c80 void spl_add_class_name(zval *list, zend_class_entry *pce, int allow, int ce_flags) in spl_add_class_name() argument
82 …if (!allow || (allow > 0 && pce->ce_flags & ce_flags) || (allow < 0 && !(pce->ce_flags & ce_flags)… in spl_add_class_name()
95 void spl_add_interfaces(zval *list, zend_class_entry * pce, int allow, int ce_flags) in spl_add_interfaces() argument
100 spl_add_class_name(list, pce->interfaces[num_interfaces], allow, ce_flags); in spl_add_interfaces()
106 void spl_add_traits(zval *list, zend_class_entry * pce, int allow, int ce_flags) in spl_add_traits() argument
111 spl_add_class_name(list, pce->traits[num_traits], allow, ce_flags); in spl_add_traits()
118 int spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags) in spl_add_classes() argument
123 spl_add_class_name(list, pce, allow, ce_flags); in spl_add_classes()
125 spl_add_interfaces(list, pce, allow, ce_flags); in spl_add_classes()
128 spl_add_classes(pce, list, sub, allow, ce_flags); in spl_add_classes()
H A Dphp_spl.c179 #define SPL_LIST_CLASSES(z_list, sub, allow, ce_flags) \ argument
182 SPL_ADD_CLASS(ArrayObject, z_list, sub, allow, ce_flags); \
192 SPL_ADD_CLASS(GlobIterator, z_list, sub, allow, ce_flags); \
220 SPL_ADD_CLASS(SplFileInfo, z_list, sub, allow, ce_flags); \
223 SPL_ADD_CLASS(SplHeap, z_list, sub, allow, ce_flags); \
224 SPL_ADD_CLASS(SplMinHeap, z_list, sub, allow, ce_flags); \
225 SPL_ADD_CLASS(SplMaxHeap, z_list, sub, allow, ce_flags); \
227 SPL_ADD_CLASS(SplObserver, z_list, sub, allow, ce_flags); \
229 SPL_ADD_CLASS(SplQueue, z_list, sub, allow, ce_flags); \
230 SPL_ADD_CLASS(SplStack, z_list, sub, allow, ce_flags); \
[all …]
H A Dspl_functions.h63 void spl_add_class_name(zval * list, zend_class_entry * pce, int allow, int ce_flags);
64 void spl_add_interfaces(zval * list, zend_class_entry * pce, int allow, int ce_flags);
65 void spl_add_traits(zval * list, zend_class_entry * pce, int allow, int ce_flags);
66 int spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags);
/PHP-7.2/Zend/
H A Dzend_inheritance.c773 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in do_inherit_class_constant()
809 if (parent_ce->ce_flags & ZEND_ACC_FINAL) { in zend_do_inheritance()
857 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_do_inheritance()
905 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_do_inheritance()
963 ce->ce_flags |= parent_ce->ce_flags & (ZEND_HAS_STATIC_IN_METHODS | ZEND_ACC_USE_GUARDS); in zend_do_inheritance()
986 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in do_inherit_iface_constant()
1109 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_add_magic_methods()
1112 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_add_magic_methods()
1117 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_add_magic_methods()
1120 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_add_magic_methods()
[all …]
H A Dzend_objects_API.h86 ((ce->ce_flags & ZEND_ACC_USE_GUARDS) ? 0 : 1)); in zend_object_properties_size()
H A Dzend_API.c2349 scope->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_register_functions()
2352 scope->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_register_functions()
2355 scope->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_register_functions()
2358 scope->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_register_functions()
2712 class_entry->ce_flags = ce_flags | ZEND_ACC_CONSTANTS_UPDATED; in do_register_internal_class()
3714 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_declare_property_ex()
3719 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_declare_property_ex()
3854 if (ce->ce_flags & ZEND_ACC_INTERFACE) { in zend_declare_class_constant_ex()
3875 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_declare_class_constant_ex()
4325 if(ce->ce_flags & ZEND_ACC_TRAIT) { in zend_get_object_type()
[all …]
H A Dzend_objects.c37 if (UNEXPECTED(ce->ce_flags & ZEND_ACC_USE_GUARDS)) { in zend_object_std_init()
H A Dzend_compile.c1760 ce->ce_flags = ZEND_ACC_CONSTANTS_UPDATED; in zend_initialize_class_data()
1763 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_initialize_class_data()
5831 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_begin_method_decl()
5838 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_begin_method_decl()
5845 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_begin_method_decl()
5852 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_begin_method_decl()
6020 if (ce->ce_flags & ZEND_ACC_INTERFACE) { in zend_compile_prop_decl()
6071 if ((ce->ce_flags & ZEND_ACC_TRAIT) != 0) { in zend_compile_class_const_decl()
6195 if (ce->ce_flags & ZEND_ACC_INTERFACE) { in zend_compile_use_trait()
6323 ce->ce_flags |= decl->flags; in zend_compile_class_decl()
[all …]
H A Dzend.h120 uint32_t ce_flags; member
H A Dzend_builtin_functions.c1101 if (UNEXPECTED(!(ce->ce_flags & ZEND_ACC_CONSTANTS_UPDATED))) { in ZEND_FUNCTION()
1397 RETURN_BOOL((ce->ce_flags & (ZEND_ACC_INTERFACE | ZEND_ACC_TRAIT)) == 0); in ZEND_FUNCTION()
1428 RETURN_BOOL(ce && ce->ce_flags & ZEND_ACC_INTERFACE); in ZEND_FUNCTION()
1433 RETURN_BOOL((ce->ce_flags & ZEND_ACC_INTERFACE) > 0); in ZEND_FUNCTION()
1470 RETURN_BOOL((ce->ce_flags & ZEND_ACC_TRAIT) != 0); in ZEND_FUNCTION()
1726 && (comply_mask == (ce->ce_flags & mask))) { in copy_class_or_interface_name()
H A Dzend_execute_API.c1481 …if ((ce->ce_flags & ZEND_ACC_IMPLICIT_ABSTRACT_CLASS) && !(ce->ce_flags & (ZEND_ACC_TRAIT | ZEND_A… in zend_verify_abstract_class()
H A Dzend_closures.c615 zend_ce_closure->ce_flags |= ZEND_ACC_FINAL; in zend_register_closure_ce()
H A Dzend_opcode.c182 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_cleanup_internal_class_data()
H A Dzend_generators.c1277 zend_ce_generator->ce_flags |= ZEND_ACC_FINAL; in zend_register_generator_ce()
/PHP-7.2/sapi/phpdbg/
H A Dphpdbg_print.c157 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in PHPDBG_PRINT()
159 (ce->ce_flags & ZEND_ACC_ABSTRACT) ? in PHPDBG_PRINT()
330 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in phpdbg_print_opcodes_ce()
332 (ce->ce_flags & ZEND_ACC_ABSTRACT) ? in phpdbg_print_opcodes_ce()
H A Dphpdbg_info.c379 …const char *type = (ce->ce_flags & ZEND_ACC_INTERFACE) ? "Interface" : (ce->ce_flags & ZEND_ACC_AB… in phpdbg_print_class_name()
/PHP-7.2/ext/com_dotnet/
H A Dcom_extension.c365 php_com_exception_class_entry->ce_flags |= ZEND_ACC_FINAL; in PHP_MINIT_FUNCTION()
370 php_com_saproxy_class_entry->ce_flags |= ZEND_ACC_FINAL; in PHP_MINIT_FUNCTION()
H A Dcom_persist.c763 helper_ce->ce_flags |= ZEND_ACC_FINAL; in php_com_persist_minit()
/PHP-7.2/
H A D.gdbinit411 if $ce->ce_flags & 0x10 || $ce->ce_flags & 0x20
414 if $ce->ce_flags & 0x40
457 if $ce->ce_flags & 0x80
/PHP-7.2/ext/zend_test/
H A Dtest.c215 zend_test_trait->ce_flags |= ZEND_ACC_TRAIT; in PHP_MINIT_FUNCTION()
/PHP-7.2/ext/mysqli/
H A Dmysqli.c606 mysqli_exception_class_entry->ce_flags |= ZEND_ACC_FINAL; in PHP_MINIT_FUNCTION()
620 ce->ce_flags |= ZEND_ACC_FINAL; in PHP_MINIT_FUNCTION()
650 ce->ce_flags |= ZEND_ACC_FINAL; in PHP_MINIT_FUNCTION()
1251 …if (UNEXPECTED(ce->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_TRAIT|ZEND_ACC_IMPLICIT_ABSTRACT_CLASS|… in php_mysqli_fetch_into_hash()
/PHP-7.2/ext/reflection/
H A Dphp_reflection.c329 if (ce->ce_flags & ZEND_ACC_INTERFACE) { in _class_string()
331 } else if (ce->ce_flags & ZEND_ACC_TRAIT) { in _class_string()
344 if (ce->ce_flags & ZEND_ACC_INTERFACE) { in _class_string()
346 } else if (ce->ce_flags & ZEND_ACC_TRAIT) { in _class_string()
352 if (ce->ce_flags & ZEND_ACC_FINAL) { in _class_string()
365 if (ce->ce_flags & ZEND_ACC_INTERFACE) { in _class_string()
4033 RETURN_BOOL(ce->ce_flags & ZEND_ACC_ANON_CLASS); in ZEND_METHOD()
4594 RETVAL_BOOL(ce->ce_flags & mask); in _class_check_flag()
4704 RETURN_LONG((ce->ce_flags & keep_flags)); in ZEND_METHOD()
4812 if (ce->create_object != NULL && ce->ce_flags & ZEND_ACC_FINAL) { in ZEND_METHOD()
[all …]
/PHP-7.2/ext/opcache/Optimizer/
H A Dzend_optimizer.c832 && !(op_array->scope->ce_flags & ZEND_ACC_TRAIT) in get_class_entry_from_op1()
892 && op_array->scope && !(op_array->scope->ce_flags & ZEND_ACC_TRAIT)) { in zend_optimizer_get_called_func()
/PHP-7.2/ext/session/
H A Dsession.c2863 php_session_iface_entry->ce_flags |= ZEND_ACC_INTERFACE; in PHP_MINIT_FUNCTION()
2867 php_session_id_iface_entry->ce_flags |= ZEND_ACC_INTERFACE; in PHP_MINIT_FUNCTION()
2871 php_session_update_timestamp_iface_entry->ce_flags |= ZEND_ACC_INTERFACE; in PHP_MINIT_FUNCTION()
/PHP-7.2/ext/opcache/
H A Dzend_accelerator_util_funcs.c579 if (!(ce1->ce_flags & ZEND_ACC_ANON_CLASS)) { in zend_accel_class_hash_copy()

Completed in 135 milliseconds

12