Home
last modified time | relevance | path

Searched refs:nameChoice (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4c/source/common/
Dunames.cpp239 const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, in expandName() argument
246 if(nameChoice!=U_UNICODE_CHAR_NAME && nameChoice!=U_EXTENDED_CHAR_NAME) { in expandName()
252 int fieldIndex= nameChoice==U_ISO_COMMENT ? 2 : nameChoice; in expandName()
299 if(!bufferPos && nameChoice == U_EXTENDED_CHAR_NAME) { in expandName()
332 const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, in compareName() argument
340 if(nameChoice!=U_UNICODE_CHAR_NAME && nameChoice!=U_EXTENDED_CHAR_NAME) { in compareName()
346 int fieldIndex= nameChoice==U_ISO_COMMENT ? 2 : nameChoice; in compareName()
397 if(otherName == origOtherName && nameChoice == U_EXTENDED_CHAR_NAME) { in compareName()
568 uint16_t lineNumber, UCharNameChoice nameChoice, in expandGroupName() argument
573 return expandName(names, s+offsets[lineNumber], lengths[lineNumber], nameChoice, in expandGroupName()
[all …]
Dpropname.cpp239 const char *PropNameData::getPropertyName(int32_t property, int32_t nameChoice) { in getPropertyName() argument
244 return getName(nameGroups+valueMaps[valueMapIndex], nameChoice); in getPropertyName()
247 const char *PropNameData::getPropertyValueName(int32_t property, int32_t value, int32_t nameChoice)… in getPropertyValueName() argument
256 return getName(nameGroups+nameGroupOffset, nameChoice); in getPropertyValueName()
292 UPropertyNameChoice nameChoice) { in u_getPropertyName() argument
294 return PropNameData::getPropertyName(property, nameChoice); in u_getPropertyName()
306 UPropertyNameChoice nameChoice) { in u_getPropertyValueName() argument
308 return PropNameData::getPropertyValueName(property, value, nameChoice); in u_getPropertyValueName()
Dpropname.h101 static const char *getPropertyName(int32_t property, int32_t nameChoice);
102 static const char *getPropertyValueName(int32_t property, int32_t value, int32_t nameChoice);
/external/cldr/tools/java/org/unicode/cldr/util/props/
DICUPropertyFactory.java156 private String getFixedValueAlias(String valueAlias, int valueEnum, int nameChoice) { in getFixedValueAlias() argument
158 if (nameChoice > UProperty.NameChoice.LONG) in getFixedValueAlias()
160 if (nameChoice != UProperty.NameChoice.LONG) in getFixedValueAlias()
164 if (nameChoice > UProperty.NameChoice.LONG) in getFixedValueAlias()
166 if (nameChoice != UProperty.NameChoice.LONG) in getFixedValueAlias()
175 String result = fixedGetPropertyValueName(propEnum, valueEnum, nameChoice); in getFixedValueAlias()
179 if (nameChoice == UProperty.NameChoice.LONG) { in getFixedValueAlias()
209 … private static String fixedGetPropertyValueName(int propEnum, int valueEnum, int nameChoice) { in fixedGetPropertyValueName() argument
210 String value = UCharacter.getPropertyValueName(propEnum, valueEnum, nameChoice); in fixedGetPropertyValueName()
238 public String getFixedPropertyName(int propName, int nameChoice) { in getFixedPropertyName() argument
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUPropertyAliases.java241 public String getPropertyName(int property, int nameChoice) { in getPropertyName() argument
247 return getName(valueMaps[valueMapIndex], nameChoice); in getPropertyName()
255 public String getPropertyValueName(int property, int value, int nameChoice) { in getPropertyValueName() argument
267 return getName(nameGroupOffset, nameChoice); in getPropertyValueName()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUPropertyAliases.java242 public String getPropertyName(int property, int nameChoice) { in getPropertyName() argument
248 return getName(valueMaps[valueMapIndex], nameChoice); in getPropertyName()
256 public String getPropertyValueName(int property, int value, int nameChoice) { in getPropertyValueName() argument
268 return getName(nameGroupOffset, nameChoice); in getPropertyValueName()
/external/icu/icu4c/source/common/unicode/
Duchar.h3433 u_charName(UChar32 code, UCharNameChoice nameChoice,
3483 u_charFromName(UCharNameChoice nameChoice,
3506 UCharNameChoice nameChoice,
3535 UCharNameChoice nameChoice,
3571 UPropertyNameChoice nameChoice);
3645 UPropertyNameChoice nameChoice);
/external/icu/libandroidicu/include/unicode/
Duchar.h3433 u_charName(UChar32 code, UCharNameChoice nameChoice,
3483 u_charFromName(UCharNameChoice nameChoice,
3506 UCharNameChoice nameChoice,
3535 UCharNameChoice nameChoice,
3571 UPropertyNameChoice nameChoice);
3645 UPropertyNameChoice nameChoice);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUCharacter.java4938 int nameChoice) { in getPropertyName() argument
4939 return UPropertyAliases.INSTANCE.getPropertyName(property, nameChoice); in getPropertyName()
5022 int nameChoice) in getPropertyValueName() argument
5031 && nameChoice >= 0 && nameChoice < UProperty.NameChoice.COUNT) { in getPropertyValueName()
5036 nameChoice); in getPropertyValueName()
5042 return UPropertyAliases.INSTANCE.getPropertyValueName(property, value, nameChoice); in getPropertyValueName()
5836 public static String getStringPropertyValue(int propertyEnum, int codepoint, int nameChoice) { in getStringPropertyValue() argument
5840 nameChoice); in getStringPropertyValue()
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DUCharacter.java4341 int nameChoice) { in getPropertyName() argument
4342 return UPropertyAliases.INSTANCE.getPropertyName(property, nameChoice); in getPropertyName()
4423 int nameChoice) in getPropertyValueName() argument
4432 && nameChoice >= 0 && nameChoice < UProperty.NameChoice.COUNT) { in getPropertyValueName()
4437 nameChoice); in getPropertyValueName()
4443 return UPropertyAliases.INSTANCE.getPropertyValueName(property, value, nameChoice); in getPropertyValueName()
5208 public static String getStringPropertyValue(int propertyEnum, int codepoint, int nameChoice) { in getStringPropertyValue() argument
5212 nameChoice); in getStringPropertyValue()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java101 …for (int nameChoice = UProperty.NameChoice.SHORT; nameChoice <= UProperty.NameChoice.LONG; ++nameC… in TestPropertyAccess()
104 propName = UCharacter.getPropertyName(propNum, nameChoice); in TestPropertyAccess()
106 … if (nameChoice == UProperty.NameChoice.SHORT) continue; // allow non-existent short names in TestPropertyAccess()
112 + ", NameChoice: " + nameChoice + ", " in TestPropertyAccess()
120 valueName = UCharacter.getPropertyValueName(propNum, valueNum, nameChoice); in TestPropertyAccess()
122 … if (nameChoice == UProperty.NameChoice.SHORT) continue; // allow non-existent short names in TestPropertyAccess()
138 + ", NameChoice: " + nameChoice + ", " in TestPropertyAccess()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetTest.java104 …for (int nameChoice = UProperty.NameChoice.SHORT; nameChoice <= UProperty.NameChoice.LONG; ++nameC… in TestPropertyAccess()
107 propName = UCharacter.getPropertyName(propNum, nameChoice); in TestPropertyAccess()
109 … if (nameChoice == UProperty.NameChoice.SHORT) continue; // allow non-existent short names in TestPropertyAccess()
115 + ", NameChoice: " + nameChoice + ", " in TestPropertyAccess()
123 valueName = UCharacter.getPropertyValueName(propNum, valueNum, nameChoice); in TestPropertyAccess()
125 … if (nameChoice == UProperty.NameChoice.SHORT) continue; // allow non-existent short names in TestPropertyAccess()
141 + ", NameChoice: " + nameChoice + ", " in TestPropertyAccess()
/external/icu/libandroidicu/static_shim/
Dshim.cpp114 UChar32 u_charFromName_android(UCharNameChoice nameChoice, const char * name, UErrorCode * pErrorCo… in u_charFromName_android() argument
115 return u_charFromName(nameChoice, name, pErrorCode); in u_charFromName_android()
120 int32_t u_charName_android(UChar32 code, UCharNameChoice nameChoice, char * buffer, int32_t bufferL… in u_charName_android() argument
121 return u_charName(code, nameChoice, buffer, bufferLength, pErrorCode); in u_charName_android()
138 … UChar32 limit, UEnumCharNamesFn * fn, void * context, UCharNameChoice nameChoice, UErrorCode * pE… in u_enumCharNames_android() argument
139 u_enumCharNames(start, limit, fn, context, nameChoice, pErrorCode); in u_enumCharNames_android()
197 const char * u_getPropertyName_android(UProperty property, UPropertyNameChoice nameChoice) { in u_getPropertyName_android() argument
198 return u_getPropertyName(property, nameChoice); in u_getPropertyName_android()
203 …u_getPropertyValueName_android(UProperty property, int32_t value, UPropertyNameChoice nameChoice) { in u_getPropertyValueName_android() argument
204 return u_getPropertyValueName(property, value, nameChoice); in u_getPropertyValueName_android()
/external/icu/icu4c/source/test/cintltst/
Dcucdtst.c1678 UChar32 code, UCharNameChoice nameChoice, in enumCharNamesFn() argument
1693 switch (nameChoice) { in enumCharNamesFn()
1732 UChar32 code, UCharNameChoice nameChoice, in enumExtCharNamesFn() argument
1749 return enumCharNamesFn(&ecncp->length, code, nameChoice, name, length); in enumExtCharNamesFn()