Home
last modified time | relevance | path

Searched refs:UProperty (Results 1 – 25 of 133) sorted by relevance

123456

/external/cldr/tools/java/org/unicode/cldr/util/props/
DICUPropertyFactory.java26 import com.ibm.icu.lang.UProperty;
48 …if (propEnum == UProperty.DEFAULT_IGNORABLE_CODE_POINT || propEnum == UProperty.BIDI_CLASS || prop… in ICUProperty()
60 case UProperty.AGE: in _getValue()
62 case UProperty.BIDI_MIRRORING_GLYPH: in _getValue()
64 case UProperty.CASE_FOLDING: in _getValue()
66 case UProperty.ISO_COMMENT: in _getValue()
68 case UProperty.LOWERCASE_MAPPING: in _getValue()
70 case UProperty.NAME: in _getValue()
72 case UProperty.SIMPLE_CASE_FOLDING: in _getValue()
74 case UProperty.SIMPLE_LOWERCASE_MAPPING: in _getValue()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterTest.java34 import android.icu.lang.UProperty;
223 boolean z = (UCharacter.getIntPropertyValue(c, UProperty.GENERAL_CATEGORY_MASK) & in TestSpaces()
238 boolean z = (UCharacter.getIntPropertyValue(c, UProperty.GENERAL_CATEGORY_MASK) & in TestSpaces()
549 …if(UCharacter.getIntPropertyValue(start, UProperty.BIDI_PAIRED_BRACKET_TYPE)==UCharacter.BidiPaire… in TestMirror()
739 UProperty.GENERAL_CATEGORY_MASK) != (1 << type)) { in TestUnicodeData()
798 … dt=UCharacter.getPropertyValueEnum(UProperty.DECOMPOSITION_TYPE, d.substring(1, end)); in TestUnicodeData()
827 int i=UCharacter.getIntPropertyValue(ch, UProperty.DECOMPOSITION_TYPE); in TestUnicodeData()
846 … && !UCharacter.hasBinaryProperty(ch, UProperty.FULL_COMPOSITION_EXCLUSION)) { in TestUnicodeData()
939 || UCharacter.getIntPropertyValue(0x41, UProperty.BLOCK) in TestUnicodeData()
951 UProperty.GENERAL_CATEGORY_MASK) in TestUnicodeData()
[all …]
DUPropertyAliasesTest.java22 import android.icu.lang.UProperty;
61 String pname = UCharacter.getPropertyName(p, UProperty.NameChoice.LONG); in TestPropertyNames()
63 if (p == UProperty.CANONICAL_COMBINING_CLASS) { in TestPropertyNames()
65 } else if (p == UProperty.GENERAL_CATEGORY_MASK) { in TestPropertyNames()
69 } else if (p == UProperty.BLOCK) { in TestPropertyNames()
105 if (p>=UProperty.STRING_LIMIT) { in TestPropertyNames()
107 } else if (p>=UProperty.DOUBLE_LIMIT) { in TestPropertyNames()
108 p = UProperty.STRING_START - 1; in TestPropertyNames()
109 } else if (p>=UProperty.MASK_LIMIT) { in TestPropertyNames()
110 p = UProperty.DOUBLE_START - 1; in TestPropertyNames()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterTest.java33 import com.ibm.icu.lang.UProperty;
220 boolean z = (UCharacter.getIntPropertyValue(c, UProperty.GENERAL_CATEGORY_MASK) & in TestSpaces()
235 boolean z = (UCharacter.getIntPropertyValue(c, UProperty.GENERAL_CATEGORY_MASK) & in TestSpaces()
546 …if(UCharacter.getIntPropertyValue(start, UProperty.BIDI_PAIRED_BRACKET_TYPE)==UCharacter.BidiPaire… in TestMirror()
736 UProperty.GENERAL_CATEGORY_MASK) != (1 << type)) { in TestUnicodeData()
795 … dt=UCharacter.getPropertyValueEnum(UProperty.DECOMPOSITION_TYPE, d.substring(1, end)); in TestUnicodeData()
824 int i=UCharacter.getIntPropertyValue(ch, UProperty.DECOMPOSITION_TYPE); in TestUnicodeData()
843 … && !UCharacter.hasBinaryProperty(ch, UProperty.FULL_COMPOSITION_EXCLUSION)) { in TestUnicodeData()
936 || UCharacter.getIntPropertyValue(0x41, UProperty.BLOCK) in TestUnicodeData()
948 UProperty.GENERAL_CATEGORY_MASK) in TestUnicodeData()
[all …]
DUPropertyAliasesTest.java21 import com.ibm.icu.lang.UProperty;
58 String pname = UCharacter.getPropertyName(p, UProperty.NameChoice.LONG); in TestPropertyNames()
60 if (p == UProperty.CANONICAL_COMBINING_CLASS) { in TestPropertyNames()
62 } else if (p == UProperty.GENERAL_CATEGORY_MASK) { in TestPropertyNames()
66 } else if (p == UProperty.BLOCK) { in TestPropertyNames()
102 if (p>=UProperty.STRING_LIMIT) { in TestPropertyNames()
104 } else if (p>=UProperty.DOUBLE_LIMIT) { in TestPropertyNames()
105 p = UProperty.STRING_START - 1; in TestPropertyNames()
106 } else if (p>=UProperty.MASK_LIMIT) { in TestPropertyNames()
107 p = UProperty.DOUBLE_START - 1; in TestPropertyNames()
[all …]
/external/icu/icu4c/source/common/
Duprops.cpp158 typedef UBool BinaryPropertyContains(const BinaryProperty &prop, UChar32 c, UProperty which);
166 static UBool defaultContains(const BinaryProperty &prop, UChar32 c, UProperty /*which*/) { in defaultContains() argument
171 static UBool caseBinaryPropertyContains(const BinaryProperty &/*prop*/, UChar32 c, UProperty which)… in caseBinaryPropertyContains()
175 static UBool isBidiControl(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isBidiControl() argument
179 static UBool isMirrored(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isMirrored() argument
183 static UBool isJoinControl(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isJoinControl() argument
188 static UBool hasFullCompositionExclusion(const BinaryProperty &, UChar32, UProperty) { in hasFullCompositionExclusion() argument
192 static UBool hasFullCompositionExclusion(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*whi… in hasFullCompositionExclusion() argument
202 static UBool isNormInert(const BinaryProperty &, UChar32, UProperty) { in isNormInert() argument
206 static UBool isNormInert(const BinaryProperty &/*prop*/, UChar32 c, UProperty which) { in isNormInert()
[all …]
Dpropname.cpp291 u_getPropertyName(UProperty property, in u_getPropertyName()
297 U_CAPI UProperty U_EXPORT2
300 return (UProperty)PropNameData::getPropertyEnum(alias); in u_getPropertyEnum()
304 u_getPropertyValueName(UProperty property, in u_getPropertyValueName()
312 u_getPropertyValueEnum(UProperty property, in u_getPropertyValueEnum()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUCharacterProperty.java22 import android.icu.lang.UProperty;
364 return Norm2AllModes.getN2WithImpl(which-UProperty.NFD_INERT).isInert(c); in contains()
417 new CaseBinaryProperty(UProperty.LOWERCASE),
422 new CaseBinaryProperty(UProperty.SOFT_DOTTED),
425 new CaseBinaryProperty(UProperty.UPPERCASE),
429 new CaseBinaryProperty(UProperty.CASE_SENSITIVE),
432 new NormInertBinaryProperty(SRC_NFC, UProperty.NFD_INERT),
433 new NormInertBinaryProperty(SRC_NFKC, UProperty.NFKD_INERT),
434 new NormInertBinaryProperty(SRC_NFC, UProperty.NFC_INERT),
435 new NormInertBinaryProperty(SRC_NFKC, UProperty.NFKC_INERT),
[all …]
DCharacterPropertiesImpl.java7 import android.icu.lang.UProperty;
17 UProperty.INT_LIMIT - UProperty.INT_START;
87 assert(UProperty.INT_START <= prop && prop < UProperty.INT_LIMIT); in getIntPropInclusions()
88 int inclIndex = UCharacterProperty.SRC_COUNT + prop - UProperty.INT_START; in getIntPropInclusions()
118 if (UProperty.INT_START <= prop && prop < UProperty.INT_LIMIT) { in getInclusionsForProperty()
DUBiDiProps.java30 import android.icu.lang.UProperty;
161 case UProperty.BIDI_CLASS: in getMaxValue()
163 case UProperty.JOINING_GROUP: in getMaxValue()
165 case UProperty.JOINING_TYPE: in getMaxValue()
167 case UProperty.BIDI_PAIRED_BRACKET_TYPE: in getMaxValue()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUCharacterProperty.java21 import com.ibm.icu.lang.UProperty;
363 return Norm2AllModes.getN2WithImpl(which-UProperty.NFD_INERT).isInert(c); in contains()
416 new CaseBinaryProperty(UProperty.LOWERCASE),
421 new CaseBinaryProperty(UProperty.SOFT_DOTTED),
424 new CaseBinaryProperty(UProperty.UPPERCASE),
428 new CaseBinaryProperty(UProperty.CASE_SENSITIVE),
431 new NormInertBinaryProperty(SRC_NFC, UProperty.NFD_INERT),
432 new NormInertBinaryProperty(SRC_NFKC, UProperty.NFKD_INERT),
433 new NormInertBinaryProperty(SRC_NFC, UProperty.NFC_INERT),
434 new NormInertBinaryProperty(SRC_NFKC, UProperty.NFKC_INERT),
[all …]
DCharacterPropertiesImpl.java6 import com.ibm.icu.lang.UProperty;
15 UProperty.INT_LIMIT - UProperty.INT_START;
85 assert(UProperty.INT_START <= prop && prop < UProperty.INT_LIMIT); in getIntPropInclusions()
86 int inclIndex = UCharacterProperty.SRC_COUNT + prop - UProperty.INT_START; in getIntPropInclusions()
116 if (UProperty.INT_START <= prop && prop < UProperty.INT_LIMIT) { in getInclusionsForProperty()
DUBiDiProps.java29 import com.ibm.icu.lang.UProperty;
157 case UProperty.BIDI_CLASS: in getMaxValue()
159 case UProperty.JOINING_GROUP: in getMaxValue()
161 case UProperty.JOINING_TYPE: in getMaxValue()
163 case UProperty.BIDI_PAIRED_BRACKET_TYPE: in getMaxValue()
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DCharacterProperties.java28 private static final UnicodeSet sets[] = new UnicodeSet[UProperty.BINARY_LIMIT];
29 …private static final CodePointMap maps[] = new CodePointMap[UProperty.INT_LIMIT - UProperty.INT_ST…
61 int nullValue = property == UProperty.SCRIPT ? UScript.UNKNOWN : 0; in makeMap()
87 if (property == UProperty.BIDI_CLASS || property == UProperty.GENERAL_CATEGORY) { in makeMap()
117 if (property < 0 || UProperty.BINARY_LIMIT <= property) { in getBinaryPropertySet()
146 if (property < UProperty.INT_START || UProperty.INT_LIMIT <= property) { in getIntPropertyMap()
151 CodePointMap map = maps[property - UProperty.INT_START]; in getIntPropertyMap()
153 maps[property - UProperty.INT_START] = map = makeMap(property); in getIntPropertyMap()
DUScript.java952 … int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbrOrLocale); in getCode()
953 if (propNum != UProperty.UNDEFINED) { in getCode()
963 … int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbrOrLocale); in getCode()
964 if (propNum != UProperty.UNDEFINED) { in getCode()
981 int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbr); in getCodeFromName()
982 return propNum == UProperty.UNDEFINED ? INVALID_CODE : propNum; in getCodeFromName()
1104 return UCharacter.getPropertyValueName(UProperty.SCRIPT, in getName()
1106 UProperty.NameChoice.LONG); in getName()
1119 return UCharacter.getPropertyValueName(UProperty.SCRIPT, in getShortName()
1121 UProperty.NameChoice.SHORT); in getShortName()
DUCharacter.java2301 UCharacterProperty.INSTANCE.getIntPropertyValue(ch, UProperty.BLOCK)); in of()
2324 getPropertyValueName(UProperty.BLOCK, b.getID(), in forName()
2325 UProperty.NameChoice.LONG)); in forName()
4465 if (propEnum == UProperty.UNDEFINED) { in getPropertyEnum()
4522 if ((property == UProperty.CANONICAL_COMBINING_CLASS in getPropertyValueName()
4523 || property == UProperty.LEAD_CANONICAL_COMBINING_CLASS in getPropertyValueName()
4524 || property == UProperty.TRAIL_CANONICAL_COMBINING_CLASS) in getPropertyValueName()
4526 UProperty.CANONICAL_COMBINING_CLASS) in getPropertyValueName()
4528 UProperty.CANONICAL_COMBINING_CLASS) in getPropertyValueName()
4529 && nameChoice >= 0 && nameChoice < UProperty.NameChoice.COUNT) { in getPropertyValueName()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DCharacterProperties.java27 private static final UnicodeSet sets[] = new UnicodeSet[UProperty.BINARY_LIMIT];
28 …private static final CodePointMap maps[] = new CodePointMap[UProperty.INT_LIMIT - UProperty.INT_ST…
60 int nullValue = property == UProperty.SCRIPT ? UScript.UNKNOWN : 0; in makeMap()
86 if (property == UProperty.BIDI_CLASS || property == UProperty.GENERAL_CATEGORY) { in makeMap()
117 if (property < 0 || UProperty.BINARY_LIMIT <= property) { in getBinaryPropertySet()
147 if (property < UProperty.INT_START || UProperty.INT_LIMIT <= property) { in getIntPropertyMap()
152 CodePointMap map = maps[property - UProperty.INT_START]; in getIntPropertyMap()
154 maps[property - UProperty.INT_START] = map = makeMap(property); in getIntPropertyMap()
DUScript.java1139 … int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbrOrLocale); in getCode()
1140 if (propNum != UProperty.UNDEFINED) { in getCode()
1150 … int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbrOrLocale); in getCode()
1151 if (propNum != UProperty.UNDEFINED) { in getCode()
1169 int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbr); in getCodeFromName()
1170 return propNum == UProperty.UNDEFINED ? INVALID_CODE : propNum; in getCodeFromName()
1296 return UCharacter.getPropertyValueName(UProperty.SCRIPT, in getName()
1298 UProperty.NameChoice.LONG); in getName()
1312 return UCharacter.getPropertyValueName(UProperty.SCRIPT, in getShortName()
1314 UProperty.NameChoice.SHORT); in getShortName()
DUCharacter.java2668 UCharacterProperty.INSTANCE.getIntPropertyValue(ch, UProperty.BLOCK)); in of()
2692 getPropertyValueName(UProperty.BLOCK, b.getID(), in forName()
2693 UProperty.NameChoice.LONG)); in forName()
5063 if (propEnum == UProperty.UNDEFINED) { in getPropertyEnum()
5121 if ((property == UProperty.CANONICAL_COMBINING_CLASS in getPropertyValueName()
5122 || property == UProperty.LEAD_CANONICAL_COMBINING_CLASS in getPropertyValueName()
5123 || property == UProperty.TRAIL_CANONICAL_COMBINING_CLASS) in getPropertyValueName()
5125 UProperty.CANONICAL_COMBINING_CLASS) in getPropertyValueName()
5127 UProperty.CANONICAL_COMBINING_CLASS) in getPropertyValueName()
5128 && nameChoice >= 0 && nameChoice < UProperty.NameChoice.COUNT) { in getPropertyValueName()
[all …]
/external/cldr/tools/java/org/unicode/cldr/icu/
DExtractICUData.java37 import com.ibm.icu.lang.UProperty;
372 UCharacter.getPropertyValueEnum(UProperty.SCRIPT, name); in fixTransIDPart()
386 int[][] ranges = { { UProperty.BINARY_START, UProperty.BINARY_LIMIT }, in testProps()
387 { UProperty.INT_START, UProperty.INT_LIMIT }, in testProps()
388 { UProperty.DOUBLE_START, UProperty.DOUBLE_START }, in testProps()
389 { UProperty.STRING_START, UProperty.STRING_LIMIT }, in testProps()
397 String propName = UCharacter.getPropertyName(propIndex, UProperty.NameChoice.LONG); in testProps()
398 … String shortPropName = UCharacter.getPropertyName(propIndex, UProperty.NameChoice.SHORT); in testProps()
416 UProperty.NameChoice.LONG); in testProps()
418 UProperty.NameChoice.SHORT); in testProps()
/external/icu/icu4c/source/test/intltest/
Ducdtest.cpp140 static const UProperty
631 const USet *uset = u_getBinaryPropertySet((UProperty)prop, errorCode); in TestBinaryCharacterProperties()
639 u_hasBinaryProperty(0x20, (UProperty)prop)); in TestBinaryCharacterProperties()
641 u_hasBinaryProperty(0x61, (UProperty)prop)); in TestBinaryCharacterProperties()
643 u_hasBinaryProperty(0x4e00, (UProperty)prop)); in TestBinaryCharacterProperties()
650 u_hasBinaryProperty(c - 1, (UProperty)prop)); in TestBinaryCharacterProperties()
655 u_hasBinaryProperty(c, (UProperty)prop)); in TestBinaryCharacterProperties()
660 u_hasBinaryProperty(c, (UProperty)prop)); in TestBinaryCharacterProperties()
665 u_hasBinaryProperty(c + 1, (UProperty)prop)); in TestBinaryCharacterProperties()
677 const UCPMap *map = u_getIntPropertyMap((UProperty)prop, errorCode); in TestIntCharacterProperties()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnhandledBreakEngine.java16 import android.icu.lang.UProperty;
67 int script = UCharacter.getIntPropertyValue(c, UProperty.SCRIPT); in handleChar()
69 newSet.applyIntPropertyValue(UProperty.SCRIPT, script); in handleChar()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnhandledBreakEngine.java15 import com.ibm.icu.lang.UProperty;
66 int script = UCharacter.getIntPropertyValue(c, UProperty.SCRIPT); in handleChar()
68 newSet.applyIntPropertyValue(UProperty.SCRIPT, script); in handleChar()
/external/cldr/tools/java/org/unicode/cldr/draft/
DUnicodeSetFormat.java14 import com.ibm.icu.lang.UProperty;
181 for (int i = UProperty.INT_START; i < UProperty.INT_LIMIT; ++i) { in formatWithProperties()
204 String propertyAlias = UCharacter.getPropertyName(property, UProperty.NameChoice.SHORT); in reduceByProperty()
207 … String valueAlias = UCharacter.getPropertyValueName(property, i, UProperty.NameChoice.SHORT); in reduceByProperty()
209 … valueAlias = UCharacter.getPropertyValueName(property, i, UProperty.NameChoice.LONG); in reduceByProperty()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DScriptData.java15 import com.ibm.icu.lang.UProperty;
140 int commonScript = UCharacter.getPropertyValueEnum(UProperty.SCRIPT, "COMMON"); in ScriptData()
144 fMinScript = UCharacter.getIntPropertyMinValue(UProperty.SCRIPT); in ScriptData()
145 fMaxScript = UCharacter.getIntPropertyMaxValue(UProperty.SCRIPT); in ScriptData()

123456