Home
last modified time | relevance | path

Searched refs:enum_backing_type (Results 1 – 11 of 11) sorted by relevance

/PHP-8.2/Zend/
H A Dzend_enum.c64 ce->enum_backing_type != IS_UNDEF in zend_verify_enum_properties()
172 if (ce->enum_backing_type != IS_UNDEF) { in zend_enum_add_interfaces()
183 if (ce->enum_backing_type != IS_UNDEF) { in zend_enum_add_interfaces()
194 uint32_t backing_type = ce->enum_backing_type; in zend_enum_build_backed_enum_table()
222 if (ce->enum_backing_type == IS_LONG) { in zend_enum_build_backed_enum_table()
296 if (ce->enum_backing_type == IS_LONG) { in zend_enum_get_case_by_value()
311 if (ce->enum_backing_type == IS_LONG) { in zend_enum_get_case_by_value()
343 if (ce->enum_backing_type == IS_LONG) { in zend_enum_from_base()
436 if (ce->enum_backing_type != IS_UNDEF) { in zend_enum_register_funcs()
466 if (ce->enum_backing_type != IS_UNDEF) { in zend_enum_register_props()
[all …]
H A Dzend_enum.h55 ZEND_ASSERT(zobj->ce->enum_backing_type != IS_UNDEF); in zend_enum_fetch_case_value()
H A Dzend.h217 uint32_t enum_backing_type; member
H A Dzend_language_parser.y280 %type <ast> enum_declaration_statement enum_backing_type enum_case enum_case_expr
625 T_STRING enum_backing_type implements_list backup_doc_comment '{' class_statement_list '}'
629 enum_backing_type:
H A Dzend.c503 if (zobj->ce->enum_backing_type != IS_UNDEF) { in zend_print_zval_r_to_buf()
505 smart_str_appends(buf, zend_get_type_by_const(zobj->ce->enum_backing_type)); in zend_print_zval_r_to_buf()
H A Dzend_compile.c1872 ce->enum_backing_type = IS_UNDEF; in zend_initialize_class_data()
7886 ce->enum_backing_type = IS_LONG; in zend_compile_enum_backing_type()
7889 ce->enum_backing_type = IS_STRING; in zend_compile_enum_backing_type()
8111 if (enum_class->enum_backing_type != IS_UNDEF && case_value_ast == NULL) { in zend_compile_enum_case()
8115 } else if (enum_class->enum_backing_type == IS_UNDEF && case_value_ast != NULL) { in zend_compile_enum_case()
H A Dzend_API.c1507 …D_USER_CLASS && class_type->ce_flags & ZEND_ACC_ENUM && class_type->enum_backing_type != IS_UNDEF)… in zend_update_class_constants()
H A Dzend_vm_def.h5925 …if (ce->ce_flags & ZEND_ACC_ENUM && ce->enum_backing_type != IS_UNDEF && ce->type == ZEND_USER_CLA…
H A Dzend_vm_execute.h7194 …if (ce->ce_flags & ZEND_ACC_ENUM && ce->enum_backing_type != IS_UNDEF && ce->type == ZEND_USER_CLA… in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER()
24788 …if (ce->ce_flags & ZEND_ACC_ENUM && ce->enum_backing_type != IS_UNDEF && ce->type == ZEND_USER_CLA… in ZEND_FETCH_CLASS_CONSTANT_SPEC_VAR_CONST_HANDLER()
33641 …if (ce->ce_flags & ZEND_ACC_ENUM && ce->enum_backing_type != IS_UNDEF && ce->type == ZEND_USER_CLA… in ZEND_FETCH_CLASS_CONSTANT_SPEC_UNUSED_CONST_HANDLER()
/PHP-8.2/ext/json/
H A Djson_encoder.c596 if (ce->enum_backing_type == IS_UNDEF) { in php_json_encode_serializable_enum()
/PHP-8.2/ext/reflection/
H A Dphp_reflection.c1492 zend_class_entry *case_reflection_class = ce->enum_backing_type == IS_UNDEF in reflection_enum_case_factory()
6931 RETURN_BOOL(ce->enum_backing_type != IS_UNDEF); in ZEND_METHOD()
6945 if (ce->enum_backing_type == IS_UNDEF) { in ZEND_METHOD()
6948 zend_type type = ZEND_TYPE_INIT_CODE(ce->enum_backing_type, 0, 0); in ZEND_METHOD()
6997 if (ref->ce->enum_backing_type == IS_UNDEF) { in ZEND_METHOD()
7021 ZEND_ASSERT(intern->ce->enum_backing_type != IS_UNDEF); in ZEND_METHOD()

Completed in 257 milliseconds