Searched refs:case_name (Results 1 – 7 of 7) sorted by relevance
/php-src/Zend/ |
H A D | zend_enum.c | 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() 585 ZVAL_STR(&case_name_zv, case_name); in zend_enum_add_case() [all …]
|
H A D | zend_enum.h | 36 zend_object *zend_enum_new(zval *result, zend_class_entry *ce, zend_string *case_name, zval *backin… 43 ZEND_API void zend_enum_add_case(zend_class_entry *ce, zend_string *case_name, zval *value);
|
H A D | zend_ast.c | 854 zend_string *case_name = zend_ast_get_str(case_name_ast); in zend_ast_evaluate_inner() local 867 zend_enum_new(result, ce, case_name, case_value_ast != NULL ? &case_value_zv : NULL); in zend_ast_evaluate_inner()
|
/php-src/ext/random/ |
H A D | randomizer.c | 162 zval *case_name = zend_enum_fetch_case_name(bounds); in PHP_METHOD() local 163 zend_string *bounds_name = Z_STR_P(case_name); in PHP_METHOD()
|
/php-src/ext/standard/ |
H A D | var_unserializer.re | 1379 zend_string *case_name = zend_string_init(&str[colon_pos + 1], len - colon_pos - 1, 0); 1398 zend_class_constant *c = zend_hash_find_ptr(CE_CONSTANTS_TABLE(ce), case_name); 1400 …ror_docref(NULL, E_WARNING, "Undefined constant %s::%s", ZSTR_VAL(enum_name), ZSTR_VAL(case_name)); 1405 …or_docref(NULL, E_WARNING, "%s::%s is not an enum case", ZSTR_VAL(enum_name), ZSTR_VAL(case_name)); 1410 zend_string_release_ex(case_name, 0); 1425 zend_string_release_ex(case_name, 0);
|
H A D | math.c | 309 zval *case_name = zend_enum_fetch_case_name(mode); in php_math_round_mode_from_enum() local 310 zend_string *mode_name = Z_STR_P(case_name); in php_math_round_mode_from_enum()
|
/php-src/ext/reflection/ |
H A D | php_reflection.c | 7271 zval *case_name = reflection_prop_name(ZEND_THIS); in ZEND_METHOD() local 7272 …exception_ptr, 0, "Constant %s::%s is not a case", ZSTR_VAL(ref->ce->name), Z_STRVAL_P(case_name)); in ZEND_METHOD() 7301 zval *case_name = reflection_prop_name(ZEND_THIS); in ZEND_METHOD() local 7302 …n_ptr, 0, "Enum case %s::%s is not a backed case", ZSTR_VAL(ref->ce->name), Z_STRVAL_P(case_name)); in ZEND_METHOD()
|
Completed in 49 milliseconds