Home
last modified time | relevance | path

Searched refs:enumString (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DDebugUtilitiesTest.java35 String enumString = DebugUtilities.enumString(j,k); in TestStrings() local
37 int enumValueFromString = DebugUtilities.enumByString(j, enumString); in TestStrings()
38 …logln(" Enum "+k+"/"+enumCount+": "+enumString +" - value "+enumValue+", value from string:"+e… in TestStrings()
40 …+": "+DebugUtilities.typeString(j) +" - Enum "+k+"/"+enumCount+": "+enumString +" - ERR: value… in TestStrings()
43 …+": "+DebugUtilities.typeString(j) +" - Enum "+k+"/"+enumCount+": "+enumString +" - ERR: enumB… in TestStrings()
DDebugUtilities.java32 return enumString(DebugUtilitiesData.UDebugEnumType, type); in typeString()
50 public static String enumString(int type, int field) { in enumString() method in DebugUtilities
DFieldsSet.java95 String fieldName = DebugUtilities.enumString(fEnum, i); in diffFrom()
230 return (fEnum!=NO_ENUM)?DebugUtilities.enumString(fEnum, field):Integer.toString(field); in fieldName()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DDebugUtilitiesTest.java38 String enumString = DebugUtilities.enumString(j,k); in TestStrings() local
40 int enumValueFromString = DebugUtilities.enumByString(j, enumString); in TestStrings()
41 …logln(" Enum "+k+"/"+enumCount+": "+enumString +" - value "+enumValue+", value from string:"+e… in TestStrings()
43 …+": "+DebugUtilities.typeString(j) +" - Enum "+k+"/"+enumCount+": "+enumString +" - ERR: value… in TestStrings()
46 …+": "+DebugUtilities.typeString(j) +" - Enum "+k+"/"+enumCount+": "+enumString +" - ERR: enumB… in TestStrings()
DDebugUtilities.java36 return enumString(DebugUtilitiesData.UDebugEnumType, type); in typeString()
54 public static String enumString(int type, int field) { in enumString() method in DebugUtilities
DFieldsSet.java98 String fieldName = DebugUtilities.enumString(fEnum, i); in diffFrom()
233 return (fEnum!=NO_ENUM)?DebugUtilities.enumString(fEnum, field):Integer.toString(field); in fieldName()
/external/mobly-bundled-snippets/src/main/java/com/google/android/mobly/snippet/bundled/utils/
DRpcEnum.java43 public int getInt(String enumString) { in getInt() argument
44 Integer result = enums.get(enumString); in getInt()
46 throw new NoSuchFieldError("No int value found for: " + enumString); in getInt()
81 public Builder add(String enumString, int enumInt) { in add() argument
82 builder.put(enumString, enumInt); in add()
/external/angle/src/common/
Dgl_enum_utils.cpp132 for (const std::string &enumString : strings) in StringToGLbitfield() local
134 value |= StringToGLenum(enumString.c_str()); in StringToGLbitfield()
/external/angle/src/tests/egl_tests/
DEGLPrintEGLinfoTest.cpp153 #define QUERY_HELPER(enumValue, enumString, stream) \ argument
158 stream << enumString + std::string(",") + std::to_string(result) << std::endl; \
161 #define QUERY_ARRAY_HELPER(enumValue, enumString, size, stream) \ argument
169 stream << enumString + std::string(",") + results.str() << std::endl; \
172 #define QUERY_INDEXED_HELPER(enumValue, enumString, index, stream) \ argument
177 stream << enumString + std::string(",") + std::to_string(result) << std::endl; \