Home
last modified time | relevance | path

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

/external/icu/icu4c/source/tools/toolutil/
Dudbgutil.h16 enum UDebugEnumType { enum
39 typedef enum UDebugEnumType UDebugEnumType; typedef
46 U_CAPI int32_t U_EXPORT2 udbg_enumCount(UDebugEnumType type);
54 U_CAPI const char * U_EXPORT2 udbg_enumName(UDebugEnumType type, int32_t field);
62 U_CAPI int32_t U_EXPORT2 udbg_enumExpectedCount(UDebugEnumType type);
70 U_CAPI int32_t U_EXPORT2 udbg_enumArrayValue(UDebugEnumType type, int32_t field);
78 U_CAPI int32_t U_EXPORT2 udbg_enumByName(UDebugEnumType type, const char *name);
Ddbgutil.cpp25 static const UnicodeString& _fieldString(UDebugEnumType type, int32_t field, UnicodeString& fillin… in _fieldString()
63 int32_t c = udbg_enumCount((UDebugEnumType)t); in udbg_setup()
66 _fieldString((UDebugEnumType)t, f, newStrs[t][f]); in udbg_setup()
77 U_TOOLUTIL_API const UnicodeString& U_EXPORT2 udbg_enumString(UDebugEnumType type, int32_t field) { in udbg_enumString()
96 U_CAPI int32_t U_EXPORT2 udbg_enumByString(UDebugEnumType type, const UnicodeString& string) { in udbg_enumByString()
Ddbgutil.h21 udbg_enumString(UDebugEnumType type, int32_t field);
27 udbg_enumByString(UDebugEnumType type, const icu::UnicodeString& string);
Dudbgutil.cpp245 static int32_t _udbg_enumCount(UDebugEnumType type, UBool actual) { in _udbg_enumCount()
247 COUNT_CASE(UDebugEnumType) in _udbg_enumCount()
267 static const Field* _udbg_enumFields(UDebugEnumType type) { in _udbg_enumFields()
269 FIELD_CASE(UDebugEnumType) in _udbg_enumFields()
291 int32_t udbg_enumCount(UDebugEnumType type) { in udbg_enumCount()
295 int32_t udbg_enumExpectedCount(UDebugEnumType type) { in udbg_enumExpectedCount()
299 const char * udbg_enumName(UDebugEnumType type, int32_t field) { in udbg_enumName()
313 int32_t udbg_enumArrayValue(UDebugEnumType type, int32_t field) { in udbg_enumArrayValue()
327 int32_t udbg_enumByName(UDebugEnumType type, const char *value) { in udbg_enumByName()
/external/icu/icu4c/source/tools/gentest/
Dgentest.c181 count = udbg_enumCount((UDebugEnumType)t); in outputJavaStuff()
186 " \"%s\", /* %d */ \n", udbg_enumName((UDebugEnumType)t,i), i); in outputJavaStuff()
194 count = udbg_enumCount((UDebugEnumType)t); in outputJavaStuff()
206 …rintf(out, "com.ibm.icu.util.ChineseCalendar.%s, /* %d */", udbg_enumName((UDebugEnumType)t,i), i); in outputJavaStuff()
208 … fprintf(out, "com.ibm.icu.util.Calendar.%s, /* %d */", udbg_enumName((UDebugEnumType)t,i), i); in outputJavaStuff()
214 fprintf(out,"%d, /* %s */", i, udbg_enumName((UDebugEnumType)t,i)); in outputJavaStuff()
/external/icu/icu4c/source/test/intltest/
Dfldset.h38 FieldsSet(UDebugEnumType whichEnum);
148 void parseValueEnum(UDebugEnumType type,
165 void construct(UDebugEnumType whichEnum, int32_t fieldCount);
215 UDebugEnumType fEnum;
Dfldset.cpp20 construct((UDebugEnumType)-1, fieldCount); in FieldsSet()
23 FieldsSet::FieldsSet(UDebugEnumType field) { in FieldsSet()
35 void FieldsSet::construct(UDebugEnumType field, int32_t fieldCount) { in construct()
224 void FieldsSet::parseValueEnum(UDebugEnumType type, const FieldsSet* inheritFrom, int32_t field, co… in parseValueEnum()
Dcaltest.cpp2097 int32_t count = udbg_enumCount((UDebugEnumType)t); in TestDebug()
2104 if( i!=udbg_enumArrayValue((UDebugEnumType)t, i)) { in TestDebug()
2105 …numArrayValue(%d,%d) returned %d, expected %d", t, i, udbg_enumArrayValue((UDebugEnumType)t,i), i); in TestDebug()
2110 const char *name = udbg_enumName((UDebugEnumType)t,i); in TestDebug()
2120 name, udbg_enumArrayValue((UDebugEnumType)t,i)); in TestDebug()
2121 logln("udbg_enumString = " + udbg_enumString((UDebugEnumType)t,i)); in TestDebug()
2123 if(udbg_enumExpectedCount((UDebugEnumType)t) != count && t<=UDBG_HIGHEST_CONTIGUOUS_ENUM) { in TestDebug()
2124 …ectedCount(%d): %d, != UCAL_FIELD_COUNT=%d ", t, udbg_enumExpectedCount((UDebugEnumType)t), count); in TestDebug()
2126 …Count: %d, UCAL_FIELD_COUNT=udbg_enumCount %d ", udbg_enumExpectedCount((UDebugEnumType)t), count); in TestDebug()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DDebugUtilities.java30 return enumString(DebugUtilitiesData.UDebugEnumType, type); in typeString()
DDebugUtilitiesData.java11 public static final int UDebugEnumType = 0; field in DebugUtilitiesData
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DDebugUtilities.java31 return enumString(DebugUtilitiesData.UDebugEnumType, type); in typeString()
DDebugUtilitiesData.java12 public static final int UDebugEnumType = 0; field in DebugUtilitiesData