Home
last modified time | relevance | path

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

/external/icu/icu4c/source/tools/toolutil/
Dudbgutil.h18 enum UDebugEnumType { enum
41 typedef enum UDebugEnumType UDebugEnumType; typedef
48 U_CAPI int32_t U_EXPORT2 udbg_enumCount(UDebugEnumType type);
56 U_CAPI const char * U_EXPORT2 udbg_enumName(UDebugEnumType type, int32_t field);
64 U_CAPI int32_t U_EXPORT2 udbg_enumExpectedCount(UDebugEnumType type);
72 U_CAPI int32_t U_EXPORT2 udbg_enumArrayValue(UDebugEnumType type, int32_t field);
80 U_CAPI int32_t U_EXPORT2 udbg_enumByName(UDebugEnumType type, const char *name);
Ddbgutil.cpp27 static const UnicodeString& _fieldString(UDebugEnumType type, int32_t field, UnicodeString& fillin… in _fieldString()
65 int32_t c = udbg_enumCount((UDebugEnumType)t); in udbg_setup()
68 _fieldString((UDebugEnumType)t, f, newStrs[t][f]); in udbg_setup()
79 U_TOOLUTIL_API const UnicodeString& U_EXPORT2 udbg_enumString(UDebugEnumType type, int32_t field) { in udbg_enumString()
98 U_CAPI int32_t U_EXPORT2 udbg_enumByString(UDebugEnumType type, const UnicodeString& string) { in udbg_enumByString()
Dudbgutil.cpp244 static int32_t _udbg_enumCount(UDebugEnumType type, UBool actual) { in _udbg_enumCount()
246 COUNT_CASE(UDebugEnumType) in _udbg_enumCount()
266 static const Field* _udbg_enumFields(UDebugEnumType type) { in _udbg_enumFields()
268 FIELD_CASE(UDebugEnumType) in _udbg_enumFields()
290 int32_t udbg_enumCount(UDebugEnumType type) { in udbg_enumCount()
294 int32_t udbg_enumExpectedCount(UDebugEnumType type) { in udbg_enumExpectedCount()
298 const char * udbg_enumName(UDebugEnumType type, int32_t field) { in udbg_enumName()
312 int32_t udbg_enumArrayValue(UDebugEnumType type, int32_t field) { in udbg_enumArrayValue()
326 int32_t udbg_enumByName(UDebugEnumType type, const char *value) { in udbg_enumByName()
Ddbgutil.h23 udbg_enumString(UDebugEnumType type, int32_t field);
29 udbg_enumByString(UDebugEnumType type, const icu::UnicodeString& string);
/external/icu/icu4c/source/tools/gentest/
Dgentest.c183 count = udbg_enumCount((UDebugEnumType)t); in outputJavaStuff()
188 " \"%s\", /* %d */ \n", udbg_enumName((UDebugEnumType)t,i), i); in outputJavaStuff()
196 count = udbg_enumCount((UDebugEnumType)t); in outputJavaStuff()
208 …rintf(out, "com.ibm.icu.util.ChineseCalendar.%s, /* %d */", udbg_enumName((UDebugEnumType)t,i), i); in outputJavaStuff()
210 … fprintf(out, "com.ibm.icu.util.Calendar.%s, /* %d */", udbg_enumName((UDebugEnumType)t,i), i); in outputJavaStuff()
216 fprintf(out,"%d, /* %s */", i, udbg_enumName((UDebugEnumType)t,i)); in outputJavaStuff()
/external/icu/icu4c/source/test/intltest/
Dfldset.h40 FieldsSet(UDebugEnumType whichEnum);
150 void parseValueEnum(UDebugEnumType type,
167 void construct(UDebugEnumType whichEnum, int32_t fieldCount);
217 UDebugEnumType fEnum;
Dfldset.cpp22 construct((UDebugEnumType)-1, fieldCount); in FieldsSet()
25 FieldsSet::FieldsSet(UDebugEnumType field) { in FieldsSet()
37 void FieldsSet::construct(UDebugEnumType field, int32_t fieldCount) { in construct()
226 void FieldsSet::parseValueEnum(UDebugEnumType type, const FieldsSet* inheritFrom, int32_t field, co… in parseValueEnum()
Dcaltest.cpp2106 int32_t count = udbg_enumCount((UDebugEnumType)t); in TestDebug()
2113 if( i!=udbg_enumArrayValue((UDebugEnumType)t, i)) { in TestDebug()
2114 …numArrayValue(%d,%d) returned %d, expected %d", t, i, udbg_enumArrayValue((UDebugEnumType)t,i), i); in TestDebug()
2119 const char *name = udbg_enumName((UDebugEnumType)t,i); in TestDebug()
2129 name, udbg_enumArrayValue((UDebugEnumType)t,i)); in TestDebug()
2130 logln("udbg_enumString = " + udbg_enumString((UDebugEnumType)t,i)); in TestDebug()
2132 if(udbg_enumExpectedCount((UDebugEnumType)t) != count && t<=UDBG_HIGHEST_CONTIGUOUS_ENUM) { in TestDebug()
2133 …ectedCount(%d): %d, != UCAL_FIELD_COUNT=%d ", t, udbg_enumExpectedCount((UDebugEnumType)t), count); in TestDebug()
2135 …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.java32 return enumString(DebugUtilitiesData.UDebugEnumType, type); in typeString()
DDebugUtilitiesData.java14 public static final int UDebugEnumType = 0; field in DebugUtilitiesData
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DDebugUtilities.java36 return enumString(DebugUtilitiesData.UDebugEnumType, type); in typeString()
DDebugUtilitiesData.java18 public static final int UDebugEnumType = 0; field in DebugUtilitiesData