Home
last modified time | relevance | path

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

/PHP-8.3/Zend/
H A Dzend_enum.c69 ce->enum_backing_type != IS_UNDEF in zend_verify_enum_properties()
177 if (ce->enum_backing_type != IS_UNDEF) { in zend_enum_add_interfaces()
188 if (ce->enum_backing_type != IS_UNDEF) { in zend_enum_add_interfaces()
201 uint32_t backing_type = ce->enum_backing_type; in zend_enum_build_backed_enum_table()
229 if (ce->enum_backing_type == IS_LONG) { in zend_enum_build_backed_enum_table()
303 if (ce->enum_backing_type == IS_LONG) { in zend_enum_get_case_by_value()
318 if (ce->enum_backing_type == IS_LONG) { in zend_enum_get_case_by_value()
350 if (ce->enum_backing_type == IS_LONG) { in zend_enum_from_base()
443 if (ce->enum_backing_type != IS_UNDEF) { in zend_enum_register_funcs()
473 if (ce->enum_backing_type != IS_UNDEF) { in zend_enum_register_props()
[all …]
H A Dzend_enum.h58 ZEND_ASSERT(zobj->ce->enum_backing_type != IS_UNDEF); in zend_enum_fetch_case_value()
H A Dzend.h219 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
636 T_STRING enum_backing_type implements_list backup_doc_comment '{' class_statement_list '}'
640 enum_backing_type:
H A Dzend.c563 if (zobj->ce->enum_backing_type != IS_UNDEF) { in zend_print_zval_r_to_buf()
565 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.c1997 ce->enum_backing_type = IS_UNDEF; in zend_initialize_class_data()
8058 ce->enum_backing_type = IS_LONG; in zend_compile_enum_backing_type()
8061 ce->enum_backing_type = IS_STRING; in zend_compile_enum_backing_type()
8294 if (enum_class->enum_backing_type != IS_UNDEF && case_value_ast == NULL) { in zend_compile_enum_case()
8298 } else if (enum_class->enum_backing_type == IS_UNDEF && case_value_ast != NULL) { in zend_compile_enum_case()
H A Dzend_API.c1583 …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.h6016 …if (ce->ce_flags & ZEND_ACC_ENUM && ce->enum_backing_type != IS_UNDEF && ce->type == ZEND_USER_CLA…
H A Dzend_vm_execute.h7294 …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()
8459 …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_TMPVARCV_HANDLER()
25197 …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()
25770 …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_TMPVARCV_HANDLER()
34365 …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()
34728 …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_TMPVARCV_HANDLER()
/PHP-8.3/ext/json/
H A Djson_encoder.c616 if (ce->enum_backing_type == IS_UNDEF) { in php_json_encode_serializable_enum()
/PHP-8.3/ext/reflection/
H A Dphp_reflection.c1496 zend_class_entry *case_reflection_class = ce->enum_backing_type == IS_UNDEF in reflection_enum_case_factory()
6964 RETURN_BOOL(ce->enum_backing_type != IS_UNDEF); in ZEND_METHOD()
6978 if (ce->enum_backing_type == IS_UNDEF) { in ZEND_METHOD()
6981 zend_type type = ZEND_TYPE_INIT_CODE(ce->enum_backing_type, 0, 0); in ZEND_METHOD()
7030 if (ref->ce->enum_backing_type == IS_UNDEF) { in ZEND_METHOD()
7054 ZEND_ASSERT(intern->ce->enum_backing_type != IS_UNDEF); in ZEND_METHOD()
/PHP-8.3/ext/soap/
H A Dphp_encoding.c831 if (UNEXPECTED(Z_OBJCE_P(data)->enum_backing_type == IS_UNDEF)) { in get_serialization_string_from_zval()
850 if (UNEXPECTED(Z_OBJCE_P(data)->enum_backing_type != IS_LONG)) { in get_serialization_long_from_zval()
851 if (Z_OBJCE_P(data)->enum_backing_type == IS_UNDEF) { in get_serialization_long_from_zval()

Completed in 331 milliseconds