Home
last modified time | relevance | path

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

12

/PHP-7.0/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.c180 #define SPL_LIST_CLASSES(z_list, sub, allow, ce_flags) \ argument
183 SPL_ADD_CLASS(ArrayObject, z_list, sub, allow, ce_flags); \
188 SPL_ADD_CLASS(Countable, z_list, sub, allow, ce_flags); \
222 SPL_ADD_CLASS(SplFileInfo, z_list, sub, allow, ce_flags); \
225 SPL_ADD_CLASS(SplHeap, z_list, sub, allow, ce_flags); \
226 SPL_ADD_CLASS(SplMinHeap, z_list, sub, allow, ce_flags); \
227 SPL_ADD_CLASS(SplMaxHeap, z_list, sub, allow, ce_flags); \
229 SPL_ADD_CLASS(SplObserver, z_list, sub, allow, ce_flags); \
231 SPL_ADD_CLASS(SplQueue, z_list, sub, allow, ce_flags); \
232 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.0/Zend/
H A Dzend_inheritance.c750 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in do_inherit_class_constant()
779 if (parent_ce->ce_flags & ZEND_ACC_FINAL) { in zend_do_inheritance()
827 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_do_inheritance()
875 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_do_inheritance()
931 ce->ce_flags |= parent_ce->ce_flags & (ZEND_HAS_STATIC_IN_METHODS | ZEND_ACC_USE_GUARDS); in zend_do_inheritance()
963 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in do_inherit_iface_constant()
1078 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_add_magic_methods()
1081 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_add_magic_methods()
1086 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_add_magic_methods()
1089 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_add_magic_methods()
[all …]
H A Dzend_objects_API.h88 ((ce->ce_flags & ZEND_ACC_USE_GUARDS) ? 0 : 1)); in zend_object_properties_size()
H A Dzend_API.c1278 if (class_type->ce_flags & ZEND_ACC_INTERFACE) { in _object_and_properties_init()
2289 scope->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_register_functions()
2292 scope->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_register_functions()
2295 scope->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_register_functions()
2298 scope->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_register_functions()
2655 class_entry->ce_flags = ce_flags | ZEND_ACC_CONSTANTS_UPDATED; in do_register_internal_class()
3618 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_declare_property_ex()
3623 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_declare_property_ex()
3753 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_declare_class_constant()
4173 if(ce->ce_flags & ZEND_ACC_TRAIT) { in zend_get_object_type()
[all …]
H A Dzend_objects.c47 if (UNEXPECTED(ce->ce_flags & ZEND_ACC_USE_GUARDS)) { in zend_object_std_init()
H A Dzend_compile.c1623 ce->ce_flags = ZEND_ACC_CONSTANTS_UPDATED; in zend_initialize_class_data()
1626 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_initialize_class_data()
4822 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_begin_method_decl()
4829 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_begin_method_decl()
4836 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_begin_method_decl()
4843 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_begin_method_decl()
5002 if (ce->ce_flags & ZEND_ACC_INTERFACE) { in zend_compile_prop_decl()
5053 if ((ce->ce_flags & ZEND_ACC_TRAIT) != 0) { in zend_compile_class_const_decl()
5177 if (ce->ce_flags & ZEND_ACC_INTERFACE) { in zend_compile_use_trait()
5303 ce->ce_flags |= decl->flags; in zend_compile_class_decl()
[all …]
H A Dzend_builtin_functions.c361 zend_test_trait->ce_flags |= ZEND_ACC_TRAIT; in ZEND_MINIT_FUNCTION()
1130 if (UNEXPECTED(!(ce->ce_flags & ZEND_ACC_CONSTANTS_UPDATED))) { in ZEND_FUNCTION()
1423 RETURN_BOOL((ce->ce_flags & (ZEND_ACC_INTERFACE | ZEND_ACC_TRAIT)) == 0); in ZEND_FUNCTION()
1454 RETURN_BOOL(ce && ce->ce_flags & ZEND_ACC_INTERFACE); in ZEND_FUNCTION()
1459 RETURN_BOOL((ce->ce_flags & ZEND_ACC_INTERFACE) > 0); in ZEND_FUNCTION()
1496 RETURN_BOOL((ce->ce_flags & ZEND_ACC_TRAIT) != 0); in ZEND_FUNCTION()
1811 && (comply_mask == (ce->ce_flags & mask))) { in copy_class_or_interface_name()
H A Dzend.h136 uint32_t ce_flags; member
H A Dzend_execute.c631 if (*pce && (*pce)->ce_flags & ZEND_ACC_INTERFACE) { in zend_verify_internal_arg_class_kind()
825 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in zend_verify_arg_type()
845 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in zend_verify_arg_type()
893 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in zend_verify_missing_arg_type()
1020 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in zend_verify_return_type()
1038 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in zend_verify_return_type()
1074 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in zend_verify_missing_return_type()
H A Dzend_opcode.c149 if (ce->ce_flags & ZEND_HAS_STATIC_IN_METHODS) { in zend_cleanup_user_class_data()
186 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_cleanup_internal_class_data()
H A Dzend_closures.c525 zend_ce_closure->ce_flags |= ZEND_ACC_FINAL; in zend_register_closure_ce()
H A Dzend_execute_API.c1450 …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_generators.c1125 zend_ce_generator->ce_flags |= ZEND_ACC_FINAL; in zend_register_generator_ce()
H A Dzend_vm_def.h6984 if (ce->ce_flags & ZEND_ACC_ANON_BOUND) {
6988 …if (!(ce->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_IMPLEMENT_INTERFACES|ZEND_ACC_IMPLEMENT_TRAITS))…
6991 ce->ce_flags |= ZEND_ACC_ANON_BOUND;
7005 if (ce->ce_flags & ZEND_ACC_ANON_BOUND) {
7010 ce->ce_flags |= ZEND_ACC_ANON_BOUND;
7112 if (UNEXPECTED((iface->ce_flags & ZEND_ACC_INTERFACE) == 0)) {
7135 if (!(trait->ce_flags & ZEND_ACC_TRAIT)) {
/PHP-7.0/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()
328 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in phpdbg_print_opcodes_ce()
330 (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.0/ext/com_dotnet/
H A Dcom_extension.c362 php_com_exception_class_entry->ce_flags |= ZEND_ACC_FINAL; in PHP_MINIT_FUNCTION()
367 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.0/
H A D.gdbinit409 if $ce->ce_flags & 0x10 || $ce->ce_flags & 0x20
412 if $ce->ce_flags & 0x40
455 if $ce->ce_flags & 0x80
/PHP-7.0/ext/mysqli/
H A Dmysqli.c611 mysqli_exception_class_entry->ce_flags |= ZEND_ACC_FINAL; in PHP_MINIT_FUNCTION()
625 ce->ce_flags |= ZEND_ACC_FINAL; in PHP_MINIT_FUNCTION()
655 ce->ce_flags |= ZEND_ACC_FINAL; in PHP_MINIT_FUNCTION()
1255 …if (UNEXPECTED(ce->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_TRAIT|ZEND_ACC_IMPLICIT_ABSTRACT_CLASS|… in php_mysqli_fetch_into_hash()
/PHP-7.0/ext/reflection/
H A Dphp_reflection.c412 if (ce->ce_flags & ZEND_ACC_INTERFACE) { in _class_string()
414 } else if (ce->ce_flags & ZEND_ACC_TRAIT) { in _class_string()
427 if (ce->ce_flags & ZEND_ACC_INTERFACE) { in _class_string()
429 } else if (ce->ce_flags & ZEND_ACC_TRAIT) { in _class_string()
435 if (ce->ce_flags & ZEND_ACC_FINAL) { in _class_string()
448 if (ce->ce_flags & ZEND_ACC_INTERFACE) { in _class_string()
3962 RETURN_BOOL(ce->ce_flags & ZEND_ACC_ANON_CLASS); in ZEND_METHOD()
4481 RETVAL_BOOL(ce->ce_flags & mask); in _class_check_flag()
4589 RETURN_LONG(ce->ce_flags & ~(ZEND_ACC_CONSTANTS_UPDATED|ZEND_ACC_USE_GUARDS)); in ZEND_METHOD()
4695 if (ce->create_object != NULL && ce->ce_flags & ZEND_ACC_FINAL) { in ZEND_METHOD()
[all …]
/PHP-7.0/ext/session/
H A Dsession.c2752 php_session_iface_entry->ce_flags |= ZEND_ACC_INTERFACE;
2756 php_session_id_iface_entry->ce_flags |= ZEND_ACC_INTERFACE;
2760 php_session_update_timestamp_iface_entry->ce_flags |= ZEND_ACC_INTERFACE;
/PHP-7.0/ext/opcache/
H A Dzend_accelerator_util_funcs.c629 if (!(ce1->ce_flags & ZEND_ACC_ANON_CLASS)) { in zend_accel_class_hash_copy()

Completed in 167 milliseconds

12