Home
last modified time | relevance | path

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

12345

/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()
59 case UProperty.AGE: in _getValue()
61 case UProperty.BIDI_MIRRORING_GLYPH: in _getValue()
63 case UProperty.CASE_FOLDING: in _getValue()
65 case UProperty.ISO_COMMENT: in _getValue()
67 case UProperty.LOWERCASE_MAPPING: in _getValue()
69 case UProperty.NAME: in _getValue()
71 case UProperty.SIMPLE_CASE_FOLDING: in _getValue()
73 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.cpp50 typedef UBool BinaryPropertyContains(const BinaryProperty &prop, UChar32 c, UProperty which);
58 static UBool defaultContains(const BinaryProperty &prop, UChar32 c, UProperty /*which*/) { in defaultContains() argument
63 static UBool caseBinaryPropertyContains(const BinaryProperty &/*prop*/, UChar32 c, UProperty which)… in caseBinaryPropertyContains()
67 static UBool isBidiControl(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isBidiControl() argument
71 static UBool isMirrored(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isMirrored() argument
75 static UBool isJoinControl(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isJoinControl() argument
80 static UBool hasFullCompositionExclusion(const BinaryProperty &, UChar32, UProperty) { in hasFullCompositionExclusion() argument
84 static UBool hasFullCompositionExclusion(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*whi… in hasFullCompositionExclusion() argument
94 static UBool isNormInert(const BinaryProperty &, UChar32, UProperty) { in isNormInert() argument
98 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;
1096 return Norm2AllModes.getN2WithImpl(which-UProperty.NFD_INERT).isInert(c); in contains()
1149 new CaseBinaryProperty(UProperty.LOWERCASE),
1154 new CaseBinaryProperty(UProperty.SOFT_DOTTED),
1157 new CaseBinaryProperty(UProperty.UPPERCASE),
1161 new CaseBinaryProperty(UProperty.CASE_SENSITIVE),
1164 new NormInertBinaryProperty(SRC_NFC, UProperty.NFD_INERT),
1165 new NormInertBinaryProperty(SRC_NFKC, UProperty.NFKD_INERT),
1166 new NormInertBinaryProperty(SRC_NFC, UProperty.NFC_INERT),
1167 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;
1095 return Norm2AllModes.getN2WithImpl(which-UProperty.NFD_INERT).isInert(c); in contains()
1148 new CaseBinaryProperty(UProperty.LOWERCASE),
1153 new CaseBinaryProperty(UProperty.SOFT_DOTTED),
1156 new CaseBinaryProperty(UProperty.UPPERCASE),
1160 new CaseBinaryProperty(UProperty.CASE_SENSITIVE),
1163 new NormInertBinaryProperty(SRC_NFC, UProperty.NFD_INERT),
1164 new NormInertBinaryProperty(SRC_NFKC, UProperty.NFKD_INERT),
1165 new NormInertBinaryProperty(SRC_NFC, UProperty.NFC_INERT),
1166 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.java29 private static final UnicodeSet sets[] = new UnicodeSet[UProperty.BINARY_LIMIT];
30 …private static final CodePointMap maps[] = new CodePointMap[UProperty.INT_LIMIT - UProperty.INT_ST…
62 int nullValue = property == UProperty.SCRIPT ? UScript.UNKNOWN : 0; in makeMap()
88 if (property == UProperty.BIDI_CLASS || property == UProperty.GENERAL_CATEGORY) { in makeMap()
119 if (property < 0 || UProperty.BINARY_LIMIT <= property) { in getBinaryPropertySet()
149 if (property < UProperty.INT_START || UProperty.INT_LIMIT <= property) { in getIntPropertyMap()
154 CodePointMap map = maps[property - UProperty.INT_START]; in getIntPropertyMap()
156 maps[property - UProperty.INT_START] = map = makeMap(property); in getIntPropertyMap()
DUScript.java934 … int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbrOrLocale); in getCode()
935 if (propNum != UProperty.UNDEFINED) { in getCode()
945 … int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbrOrLocale); in getCode()
946 if (propNum != UProperty.UNDEFINED) { in getCode()
963 int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbr); in getCodeFromName()
964 return propNum == UProperty.UNDEFINED ? INVALID_CODE : propNum; in getCodeFromName()
1083 return UCharacter.getPropertyValueName(UProperty.SCRIPT, in getName()
1085 UProperty.NameChoice.LONG); in getName()
1098 return UCharacter.getPropertyValueName(UProperty.SCRIPT, in getShortName()
1100 UProperty.NameChoice.SHORT); in getShortName()
DUCharacter.java2206 UCharacterProperty.INSTANCE.getIntPropertyValue(ch, UProperty.BLOCK)); in of()
2229 getPropertyValueName(UProperty.BLOCK, b.getID(), in forName()
2230 UProperty.NameChoice.LONG)); in forName()
4368 if (propEnum == UProperty.UNDEFINED) { in getPropertyEnum()
4425 if ((property == UProperty.CANONICAL_COMBINING_CLASS in getPropertyValueName()
4426 || property == UProperty.LEAD_CANONICAL_COMBINING_CLASS in getPropertyValueName()
4427 || property == UProperty.TRAIL_CANONICAL_COMBINING_CLASS) in getPropertyValueName()
4429 UProperty.CANONICAL_COMBINING_CLASS) in getPropertyValueName()
4431 UProperty.CANONICAL_COMBINING_CLASS) in getPropertyValueName()
4432 && nameChoice >= 0 && nameChoice < UProperty.NameChoice.COUNT) { in getPropertyValueName()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/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()
119 if (property < 0 || UProperty.BINARY_LIMIT <= property) { in getBinaryPropertySet()
150 if (property < UProperty.INT_START || UProperty.INT_LIMIT <= property) { in getIntPropertyMap()
155 CodePointMap map = maps[property - UProperty.INT_START]; in getIntPropertyMap()
157 maps[property - UProperty.INT_START] = map = makeMap(property); in getIntPropertyMap()
DUScript.java1121 … int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbrOrLocale); in getCode()
1122 if (propNum != UProperty.UNDEFINED) { in getCode()
1132 … int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbrOrLocale); in getCode()
1133 if (propNum != UProperty.UNDEFINED) { in getCode()
1151 int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbr); in getCodeFromName()
1152 return propNum == UProperty.UNDEFINED ? INVALID_CODE : propNum; in getCodeFromName()
1275 return UCharacter.getPropertyValueName(UProperty.SCRIPT, in getName()
1277 UProperty.NameChoice.LONG); in getName()
1291 return UCharacter.getPropertyValueName(UProperty.SCRIPT, in getShortName()
1293 UProperty.NameChoice.SHORT); in getShortName()
DUCharacter.java2573 UCharacterProperty.INSTANCE.getIntPropertyValue(ch, UProperty.BLOCK)); in of()
2597 getPropertyValueName(UProperty.BLOCK, b.getID(), in forName()
2598 UProperty.NameChoice.LONG)); in forName()
4966 if (propEnum == UProperty.UNDEFINED) { in getPropertyEnum()
5024 if ((property == UProperty.CANONICAL_COMBINING_CLASS in getPropertyValueName()
5025 || property == UProperty.LEAD_CANONICAL_COMBINING_CLASS in getPropertyValueName()
5026 || property == UProperty.TRAIL_CANONICAL_COMBINING_CLASS) in getPropertyValueName()
5028 UProperty.CANONICAL_COMBINING_CLASS) in getPropertyValueName()
5030 UProperty.CANONICAL_COMBINING_CLASS) in getPropertyValueName()
5031 && nameChoice >= 0 && nameChoice < UProperty.NameChoice.COUNT) { in getPropertyValueName()
[all …]
/external/cldr/tools/java/org/unicode/cldr/icu/
DExtractICUData.java36 import com.ibm.icu.lang.UProperty;
371 UCharacter.getPropertyValueEnum(UProperty.SCRIPT, name); in fixTransIDPart()
385 int[][] ranges = { { UProperty.BINARY_START, UProperty.BINARY_LIMIT }, in testProps()
386 { UProperty.INT_START, UProperty.INT_LIMIT }, in testProps()
387 { UProperty.DOUBLE_START, UProperty.DOUBLE_START }, in testProps()
388 { UProperty.STRING_START, UProperty.STRING_LIMIT }, in testProps()
396 String propName = UCharacter.getPropertyName(propIndex, UProperty.NameChoice.LONG); in testProps()
397 … String shortPropName = UCharacter.getPropertyName(propIndex, UProperty.NameChoice.SHORT); in testProps()
415 UProperty.NameChoice.LONG); in testProps()
417 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/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/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/icu/icu4c/source/common/unicode/
Duchar.h195 typedef enum UProperty { enum
717 } UProperty; typedef
2558 u_hasBinaryProperty(UChar32 c, UProperty which);
2578 u_getBinaryPropertySet(UProperty property, UErrorCode *pErrorCode);
2687 u_getIntPropertyValue(UChar32 c, UProperty which);
2708 u_getIntPropertyMinValue(UProperty which);
2737 u_getIntPropertyMaxValue(UProperty which);
2757 u_getIntPropertyMap(UProperty property, UErrorCode *pErrorCode);
3570 u_getPropertyName(UProperty property,
3592 U_STABLE UProperty U_EXPORT2
[all …]

12345