Home
last modified time | relevance | path

Searched refs:enumValue (Results 1 - 25 of 44) sorted by relevance

12

/third_party/icu/tools/unicode/c/genprops/
H A Dpnamesbuilder.cpp62 Value(int32_t enumValue, const char *joinedAliases) in Value() argument
63 : enumValue(enumValue), joinedAliases(joinedAliases), count(0) { in Value()
69 (long)enumValue, joinedAliases, uprv_strlen(joinedAliases)+1); in Value()
118 int32_t enumValue; member in Value
130 Property(int32_t enumValue, const char *joinedAliases, in Property() argument
132 : Value(enumValue, joinedAliases), in Property()
134 // A binary property (enumValue<UCHAR_BINARY_LIMIT), or one without values.
135 Property(int32_t enumValue, const char *joinedAliases);
144 Property::Property(int32_t enumValue, cons argument
[all...]
/third_party/typescript/tests/baselines/reference/
H A DenumIndexer.js6 var enumValue = MyEnumType.foo;
7 var x = _arr.map(o => MyEnumType[o.key] === enumValue); // these are not same type
17 var enumValue = MyEnumType.foo; variable
18 var x = _arr.map(function (o) { return MyEnumType[o.key] === enumValue; }); // these are not same type
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DDebugUtilitiesTest.java39 int enumValue = DebugUtilities.enumArrayValue(j, k); in TestStrings()
41 logln(" Enum "+k+"/"+enumCount+": "+enumString +" - value "+enumValue+", value from string:"+enumValueFromString); in TestStrings()
42 if(enumValue != k) { in TestStrings()
43 errln("FAIL: Type "+j+"/"+typeCount+": "+DebugUtilities.typeString(j) +" - Enum "+k+"/"+enumCount+": "+enumString +" - ERR: value="+enumValue+" should be "+k); in TestStrings()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DDebugUtilitiesTest.java36 int enumValue = DebugUtilities.enumArrayValue(j, k); in TestStrings()
38 logln(" Enum "+k+"/"+enumCount+": "+enumString +" - value "+enumValue+", value from string:"+enumValueFromString); in TestStrings()
39 if(enumValue != k) { in TestStrings()
40 errln("FAIL: Type "+j+"/"+typeCount+": "+DebugUtilities.typeString(j) +" - Enum "+k+"/"+enumCount+": "+enumString +" - ERR: value="+enumValue+" should be "+k); in TestStrings()
/third_party/icu/icu4c/source/common/
H A Dutrie2.cpp431 * The values are transformed from the raw trie entries by the enumValue function.
445 UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) { in enumEitherTrie()
456 if(enumValue==NULL) { in enumEitherTrie()
457 enumValue=enumSameValue; in enumEitherTrie()
481 initialValue=enumValue(context, trie->initialValue); in enumEitherTrie()
577 value=enumValue(context, data32!=NULL ? data32[block+j] : idx[block+j]); in enumEitherTrie()
605 value=enumValue(context, highValue); in enumEitherTrie()
622 UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) { in utrie2_enum()
623 enumEitherTrie(trie, 0, 0x110000, enumValue, enumRange, context); in utrie2_enum()
628 UTrie2EnumValue *enumValue, UTrie2EnumRang in utrie2_enumForLeadSurrogate()
443 enumEitherTrie(const UTrie2 *trie, UChar32 start, UChar32 limit, UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) enumEitherTrie() argument
621 utrie2_enum(const UTrie2 *trie, UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) utrie2_enum() argument
627 utrie2_enumForLeadSurrogate(const UTrie2 *trie, UChar32 lead, UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) utrie2_enumForLeadSurrogate() argument
[all...]
H A Dutrie.cpp1056 * The values are transformed from the raw trie entries by the enumValue function.
1060 UTrieEnumValue *enumValue, UTrieEnumRange *enumRange, const void *context) { in utrie_enum()
1072 if(enumValue==NULL) { in utrie_enum()
1073 enumValue=enumSameValue; in utrie_enum()
1080 initialValue=enumValue(context, trie->initialValue); in utrie_enum()
1123 value=enumValue(context, data32!=NULL ? data32[block+j] : idx[block+j]); in utrie_enum()
1209 value=enumValue(context, data32!=NULL ? data32[block+j] : idx[block+j]); in utrie_enum()
1059 utrie_enum(const UTrie *trie, UTrieEnumValue *enumValue, UTrieEnumRange *enumRange, const void *context) utrie_enum() argument
H A Dutrie2.h187 * @param enumValue a pointer to a function that may transform the trie entry value,
195 UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context);
523 * @param enumValue a pointer to a function that may transform the trie entry value,
531 UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange,
H A Dutrie.h484 * @param enumValue a pointer to a function that may transform the trie entry value,
492 UTrieEnumValue *enumValue, UTrieEnumRange *enumRange, const void *context);
/third_party/node/deps/icu-small/source/common/
H A Dutrie2.cpp431 * The values are transformed from the raw trie entries by the enumValue function.
445 UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) { in enumEitherTrie()
456 if(enumValue==nullptr) { in enumEitherTrie()
457 enumValue=enumSameValue; in enumEitherTrie()
481 initialValue=enumValue(context, trie->initialValue); in enumEitherTrie()
577 value=enumValue(context, data32!=nullptr ? data32[block+j] : idx[block+j]); in enumEitherTrie()
605 value=enumValue(context, highValue); in enumEitherTrie()
622 UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) { in utrie2_enum()
623 enumEitherTrie(trie, 0, 0x110000, enumValue, enumRange, context); in utrie2_enum()
628 UTrie2EnumValue *enumValue, UTrie2EnumRang in utrie2_enumForLeadSurrogate()
443 enumEitherTrie(const UTrie2 *trie, UChar32 start, UChar32 limit, UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) enumEitherTrie() argument
621 utrie2_enum(const UTrie2 *trie, UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) utrie2_enum() argument
627 utrie2_enumForLeadSurrogate(const UTrie2 *trie, UChar32 lead, UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) utrie2_enumForLeadSurrogate() argument
[all...]
H A Dutrie.cpp1056 * The values are transformed from the raw trie entries by the enumValue function.
1060 UTrieEnumValue *enumValue, UTrieEnumRange *enumRange, const void *context) { in utrie_enum()
1072 if(enumValue==nullptr) { in utrie_enum()
1073 enumValue=enumSameValue; in utrie_enum()
1080 initialValue=enumValue(context, trie->initialValue); in utrie_enum()
1123 value=enumValue(context, data32!=nullptr ? data32[block+j] : idx[block+j]); in utrie_enum()
1209 value=enumValue(context, data32!=nullptr ? data32[block+j] : idx[block+j]); in utrie_enum()
1059 utrie_enum(const UTrie *trie, UTrieEnumValue *enumValue, UTrieEnumRange *enumRange, const void *context) utrie_enum() argument
H A Dutrie2.h187 * @param enumValue a pointer to a function that may transform the trie entry value,
195 UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context);
523 * @param enumValue a pointer to a function that may transform the trie entry value,
531 UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange,
/third_party/skia/third_party/externals/icu/source/common/
H A Dutrie2.cpp431 * The values are transformed from the raw trie entries by the enumValue function.
445 UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) { in enumEitherTrie()
456 if(enumValue==NULL) { in enumEitherTrie()
457 enumValue=enumSameValue; in enumEitherTrie()
481 initialValue=enumValue(context, trie->initialValue); in enumEitherTrie()
577 value=enumValue(context, data32!=NULL ? data32[block+j] : idx[block+j]); in enumEitherTrie()
605 value=enumValue(context, highValue); in enumEitherTrie()
622 UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) { in utrie2_enum()
623 enumEitherTrie(trie, 0, 0x110000, enumValue, enumRange, context); in utrie2_enum()
628 UTrie2EnumValue *enumValue, UTrie2EnumRang in utrie2_enumForLeadSurrogate()
443 enumEitherTrie(const UTrie2 *trie, UChar32 start, UChar32 limit, UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) enumEitherTrie() argument
621 utrie2_enum(const UTrie2 *trie, UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) utrie2_enum() argument
627 utrie2_enumForLeadSurrogate(const UTrie2 *trie, UChar32 lead, UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) utrie2_enumForLeadSurrogate() argument
[all...]
H A Dutrie.cpp1056 * The values are transformed from the raw trie entries by the enumValue function.
1060 UTrieEnumValue *enumValue, UTrieEnumRange *enumRange, const void *context) { in utrie_enum()
1072 if(enumValue==NULL) { in utrie_enum()
1073 enumValue=enumSameValue; in utrie_enum()
1080 initialValue=enumValue(context, trie->initialValue); in utrie_enum()
1123 value=enumValue(context, data32!=NULL ? data32[block+j] : idx[block+j]); in utrie_enum()
1209 value=enumValue(context, data32!=NULL ? data32[block+j] : idx[block+j]); in utrie_enum()
1059 utrie_enum(const UTrie *trie, UTrieEnumValue *enumValue, UTrieEnumRange *enumRange, const void *context) utrie_enum() argument
H A Dutrie2.h187 * @param enumValue a pointer to a function that may transform the trie entry value,
195 UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context);
523 * @param enumValue a pointer to a function that may transform the trie entry value,
531 UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange,
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DSchemaUtil.java917 int enumValue = enumList.get(readPos); in filterUnknownEnumList()
918 if (enumMap.findValueByNumber(enumValue) != null) { in filterUnknownEnumList()
920 enumList.set(writePos, enumValue); in filterUnknownEnumList()
924 unknownFields = storeUnknownEnum(number, enumValue, unknownFields, unknownFieldSchema); in filterUnknownEnumList()
932 int enumValue = it.next(); in filterUnknownEnumList()
933 if (enumMap.findValueByNumber(enumValue) == null) { in filterUnknownEnumList()
934 unknownFields = storeUnknownEnum(number, enumValue, unknownFields, unknownFieldSchema); in filterUnknownEnumList()
957 int enumValue = enumList.get(readPos); in filterUnknownEnumList()
958 if (enumVerifier.isInRange(enumValue)) { in filterUnknownEnumList()
960 enumList.set(writePos, enumValue); in filterUnknownEnumList()
983 storeUnknownEnum( int number, int enumValue, UB unknownFields, UnknownFieldSchema<UT, UB> unknownFieldSchema) storeUnknownEnum() argument
[all...]
H A DExtensionSchemaFull.java221 Object enumValue = extension.descriptor.getEnumType().findValueByNumber(number); in parseExtension()
222 if (enumValue == null) { in parseExtension()
226 value = enumValue; in parseExtension()
H A DExtensionSchemaLite.java199 Object enumValue = extension.descriptor.getEnumType().findValueByNumber(number); in parseExtension()
200 if (enumValue == null) { in parseExtension()
/third_party/vk-gl-cts/scripts/egl/
H A Denums.py42 def enumValue (enum, typePrefix = ""): function
53 return "#define %s\t%s" % (enum.name, enumValue(enum, "eglw::"))
H A Dgtf_wrapper.py25 from egl.enums import enumValue namespace
91 return "#define %s\t%s" % (enum.name, enumValue(enum))
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DDescriptorPool.cs248 internal void AddEnumValueByNumber(EnumValueDescriptor enumValue) in AddEnumValueByNumber() argument
250 ObjectIntPair<IDescriptor> key = new ObjectIntPair<IDescriptor>(enumValue.EnumDescriptor, enumValue.Number); in AddEnumValueByNumber()
253 enumValuesByNumber[key] = enumValue; in AddEnumValueByNumber()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DDeprecatedFieldTest.java72 java.lang.reflect.Field enumValue = oneofCase.getField(name); in testDeprecatedFieldInOneof()
73 assertTrue("Enum value " + name + " should be deprecated.", isDeprecated(enumValue)); in testDeprecatedFieldInOneof()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
H A DEGLPrintEGLinfoTest.cpp151 #define QUERY_HELPER(enumValue, enumString, stream) \
154 glGetIntegerv(enumValue, &result); \
159 #define QUERY_ARRAY_HELPER(enumValue, enumString, size, stream) \
162 glGetIntegerv(enumValue, result); \
170 #define QUERY_INDEXED_HELPER(enumValue, enumString, index, stream) \
173 glGetIntegeri_v(enumValue, index, &result); \
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Djson_parser.py383 for index, enumValue in enumerate(self.constDict[baseType]):
384 code += " %sif (obj.asString() == \"%s\")\n" %("else " if index > 0 else "", enumValue[0])
385 code += " o = %s;\n" %(enumValue[1])
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/
H A DUnicodeMapTest.java360 int enumValue = UCharacter.getIntPropertyValue(cp, propEnum); in TestUnicodeMapGeneralCategory()
361 //if (enumValue <= 0) continue; // for smaller set in TestUnicodeMapGeneralCategory()
362 String value = UCharacter.getPropertyValueName(propEnum,enumValue, UProperty.NameChoice.LONG); in TestUnicodeMapGeneralCategory()
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
H A DUnicodeMapTest.java357 int enumValue = UCharacter.getIntPropertyValue(cp, propEnum); in TestUnicodeMapGeneralCategory()
358 //if (enumValue <= 0) continue; // for smaller set in TestUnicodeMapGeneralCategory()
359 String value = UCharacter.getPropertyValueName(propEnum,enumValue, UProperty.NameChoice.LONG); in TestUnicodeMapGeneralCategory()

Completed in 22 milliseconds

12