Lines Matching refs:case_name
39 zend_object *zend_enum_new(zval *result, zend_class_entry *ce, zend_string *case_name, zval *backin… in zend_enum_new() argument
45 ZVAL_STR_COPY(zname, case_name); in zend_enum_new()
219 zval *case_name = zend_enum_fetch_case_name(Z_OBJ_P(c_value)); in zend_enum_build_backed_enum_table() local
239 Z_TRY_ADDREF_P(case_name); in zend_enum_build_backed_enum_table()
240 zend_hash_index_add_new(backed_enum_table, long_key, case_name); in zend_enum_build_backed_enum_table()
252 Z_TRY_ADDREF_P(case_name); in zend_enum_build_backed_enum_table()
253 zend_hash_add_new(backed_enum_table, string_key, case_name); in zend_enum_build_backed_enum_table()
532 zend_string *class_name, zend_string *case_name, zval *value) { in create_enum_case_ast() argument
556 ZEND_ASSERT(ZSTR_IS_INTERNED(case_name)); in create_enum_case_ast()
557 ZVAL_STR(zend_ast_get_zval(ast->child[1]), case_name); in create_enum_case_ast()
574 ZEND_API void zend_enum_add_case(zend_class_entry *ce, zend_string *case_name, zval *value) in zend_enum_add_case() argument
585 ZVAL_STR(&case_name_zv, case_name); in zend_enum_add_case()
597 Z_AST(ast_zv) = create_enum_case_ast(ce->name, case_name, value); in zend_enum_add_case()
599 ce, case_name, &ast_zv, ZEND_ACC_PUBLIC, NULL); in zend_enum_add_case()