/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UCharacterTest.java | 33 import android.icu.lang.UProperty; 221 boolean z = (UCharacter.getIntPropertyValue(c, UProperty.GENERAL_CATEGORY_MASK) & in TestSpaces() 236 boolean z = (UCharacter.getIntPropertyValue(c, UProperty.GENERAL_CATEGORY_MASK) & in TestSpaces() 547 …if(UCharacter.getIntPropertyValue(start, UProperty.BIDI_PAIRED_BRACKET_TYPE)==UCharacter.BidiPaire… in TestMirror() 737 UProperty.GENERAL_CATEGORY_MASK) != (1 << type)) { in TestUnicodeData() 796 … dt=UCharacter.getPropertyValueEnum(UProperty.DECOMPOSITION_TYPE, d.substring(1, end)); in TestUnicodeData() 825 int i=UCharacter.getIntPropertyValue(ch, UProperty.DECOMPOSITION_TYPE); in TestUnicodeData() 844 … && !UCharacter.hasBinaryProperty(ch, UProperty.FULL_COMPOSITION_EXCLUSION)) { in TestUnicodeData() 937 || UCharacter.getIntPropertyValue(0x41, UProperty.BLOCK) in TestUnicodeData() 949 UProperty.GENERAL_CATEGORY_MASK) in TestUnicodeData() [all …]
|
D | UPropertyAliasesTest.java | 22 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/ |
D | UCharacterTest.java | 32 import com.ibm.icu.lang.UProperty; 218 boolean z = (UCharacter.getIntPropertyValue(c, UProperty.GENERAL_CATEGORY_MASK) & in TestSpaces() 233 boolean z = (UCharacter.getIntPropertyValue(c, UProperty.GENERAL_CATEGORY_MASK) & in TestSpaces() 544 …if(UCharacter.getIntPropertyValue(start, UProperty.BIDI_PAIRED_BRACKET_TYPE)==UCharacter.BidiPaire… in TestMirror() 734 UProperty.GENERAL_CATEGORY_MASK) != (1 << type)) { in TestUnicodeData() 793 … dt=UCharacter.getPropertyValueEnum(UProperty.DECOMPOSITION_TYPE, d.substring(1, end)); in TestUnicodeData() 822 int i=UCharacter.getIntPropertyValue(ch, UProperty.DECOMPOSITION_TYPE); in TestUnicodeData() 841 … && !UCharacter.hasBinaryProperty(ch, UProperty.FULL_COMPOSITION_EXCLUSION)) { in TestUnicodeData() 934 || UCharacter.getIntPropertyValue(0x41, UProperty.BLOCK) in TestUnicodeData() 946 UProperty.GENERAL_CATEGORY_MASK) in TestUnicodeData() [all …]
|
D | UPropertyAliasesTest.java | 21 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/ |
D | uprops.cpp | 47 typedef UBool BinaryPropertyContains(const BinaryProperty &prop, UChar32 c, UProperty which); 55 static UBool defaultContains(const BinaryProperty &prop, UChar32 c, UProperty /*which*/) { in defaultContains() argument 60 static UBool caseBinaryPropertyContains(const BinaryProperty &/*prop*/, UChar32 c, UProperty which)… in caseBinaryPropertyContains() 64 static UBool isBidiControl(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isBidiControl() argument 68 static UBool isMirrored(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isMirrored() argument 72 static UBool isJoinControl(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isJoinControl() argument 77 static UBool hasFullCompositionExclusion(const BinaryProperty &, UChar32, UProperty) { in hasFullCompositionExclusion() argument 81 static UBool hasFullCompositionExclusion(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*whi… in hasFullCompositionExclusion() argument 91 static UBool isNormInert(const BinaryProperty &, UChar32, UProperty) { in isNormInert() argument 95 static UBool isNormInert(const BinaryProperty &/*prop*/, UChar32 c, UProperty which) { in isNormInert() [all …]
|
D | propname.cpp | 291 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/ |
D | UCharacterProperty.java | 22 import android.icu.lang.UProperty; 230 return Norm2AllModes.getN2WithImpl(which-UProperty.NFD_INERT).isInert(c); in contains() 283 new CaseBinaryProperty(UProperty.LOWERCASE), 288 new CaseBinaryProperty(UProperty.SOFT_DOTTED), 291 new CaseBinaryProperty(UProperty.UPPERCASE), 295 new CaseBinaryProperty(UProperty.CASE_SENSITIVE), 298 new NormInertBinaryProperty(SRC_NFC, UProperty.NFD_INERT), 299 new NormInertBinaryProperty(SRC_NFKC, UProperty.NFKD_INERT), 300 new NormInertBinaryProperty(SRC_NFC, UProperty.NFC_INERT), 301 new NormInertBinaryProperty(SRC_NFKC, UProperty.NFKC_INERT), [all …]
|
D | UBiDiProps.java | 30 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()
|
D | UCaseProps.java | 31 import android.icu.lang.UProperty; 1296 case UProperty.LOWERCASE: in hasBinaryProperty() 1298 case UProperty.UPPERCASE: in hasBinaryProperty() 1300 case UProperty.SOFT_DOTTED: in hasBinaryProperty() 1302 case UProperty.CASE_SENSITIVE: in hasBinaryProperty() 1304 case UProperty.CASED: in hasBinaryProperty() 1306 case UProperty.CASE_IGNORABLE: in hasBinaryProperty() 1320 case UProperty.CHANGES_WHEN_LOWERCASED: in hasBinaryProperty() 1323 case UProperty.CHANGES_WHEN_UPPERCASED: in hasBinaryProperty() 1326 case UProperty.CHANGES_WHEN_TITLECASED: in hasBinaryProperty() [all …]
|
D | UPropertyAliases.java | 22 import android.icu.lang.UProperty; 277 return UProperty.UNDEFINED; in getPropertyOrValueEnum() 317 return UProperty.UNDEFINED; in getPropertyValueEnumNoThrow() 321 return UProperty.UNDEFINED; in getPropertyValueEnumNoThrow()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UCharacterProperty.java | 21 import com.ibm.icu.lang.UProperty; 229 return Norm2AllModes.getN2WithImpl(which-UProperty.NFD_INERT).isInert(c); in contains() 282 new CaseBinaryProperty(UProperty.LOWERCASE), 287 new CaseBinaryProperty(UProperty.SOFT_DOTTED), 290 new CaseBinaryProperty(UProperty.UPPERCASE), 294 new CaseBinaryProperty(UProperty.CASE_SENSITIVE), 297 new NormInertBinaryProperty(SRC_NFC, UProperty.NFD_INERT), 298 new NormInertBinaryProperty(SRC_NFKC, UProperty.NFKD_INERT), 299 new NormInertBinaryProperty(SRC_NFC, UProperty.NFC_INERT), 300 new NormInertBinaryProperty(SRC_NFKC, UProperty.NFKC_INERT), [all …]
|
D | UBiDiProps.java | 29 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()
|
D | UCaseProps.java | 30 import com.ibm.icu.lang.UProperty; 1292 case UProperty.LOWERCASE: in hasBinaryProperty() 1294 case UProperty.UPPERCASE: in hasBinaryProperty() 1296 case UProperty.SOFT_DOTTED: in hasBinaryProperty() 1298 case UProperty.CASE_SENSITIVE: in hasBinaryProperty() 1300 case UProperty.CASED: in hasBinaryProperty() 1302 case UProperty.CASE_IGNORABLE: in hasBinaryProperty() 1316 case UProperty.CHANGES_WHEN_LOWERCASED: in hasBinaryProperty() 1319 case UProperty.CHANGES_WHEN_UPPERCASED: in hasBinaryProperty() 1322 case UProperty.CHANGES_WHEN_TITLECASED: in hasBinaryProperty() [all …]
|
D | UPropertyAliases.java | 21 import com.ibm.icu.lang.UProperty; 276 return UProperty.UNDEFINED; in getPropertyOrValueEnum() 316 return UProperty.UNDEFINED; in getPropertyValueEnumNoThrow() 320 return UProperty.UNDEFINED; in getPropertyValueEnumNoThrow()
|
/external/icu/android_icu4j/src/main/java/android/icu/lang/ |
D | UScript.java | 917 … int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbrOrLocale); in getCode() 918 if (propNum != UProperty.UNDEFINED) { in getCode() 928 … int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbrOrLocale); in getCode() 929 if (propNum != UProperty.UNDEFINED) { in getCode() 946 int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbr); in getCodeFromName() 947 return propNum == UProperty.UNDEFINED ? INVALID_CODE : propNum; in getCodeFromName() 1066 return UCharacter.getPropertyValueName(UProperty.SCRIPT, in getName() 1068 UProperty.NameChoice.LONG); in getName() 1081 return UCharacter.getPropertyValueName(UProperty.SCRIPT, in getShortName() 1083 UProperty.NameChoice.SHORT); in getShortName()
|
D | UCharacter.java | 2148 UCharacterProperty.INSTANCE.getIntPropertyValue(ch, UProperty.BLOCK)); in of() 2171 getPropertyValueName(UProperty.BLOCK, b.getID(), in forName() 2172 UProperty.NameChoice.LONG)); in forName() 4168 if (propEnum == UProperty.UNDEFINED) { in getPropertyEnum() 4225 if ((property == UProperty.CANONICAL_COMBINING_CLASS in getPropertyValueName() 4226 || property == UProperty.LEAD_CANONICAL_COMBINING_CLASS in getPropertyValueName() 4227 || property == UProperty.TRAIL_CANONICAL_COMBINING_CLASS) in getPropertyValueName() 4229 UProperty.CANONICAL_COMBINING_CLASS) in getPropertyValueName() 4231 UProperty.CANONICAL_COMBINING_CLASS) in getPropertyValueName() 4232 && nameChoice >= 0 && nameChoice < UProperty.NameChoice.COUNT) { in getPropertyValueName() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
D | UScript.java | 1103 … int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbrOrLocale); in getCode() 1104 if (propNum != UProperty.UNDEFINED) { in getCode() 1114 … int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbrOrLocale); in getCode() 1115 if (propNum != UProperty.UNDEFINED) { in getCode() 1133 int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbr); in getCodeFromName() 1134 return propNum == UProperty.UNDEFINED ? INVALID_CODE : propNum; in getCodeFromName() 1257 return UCharacter.getPropertyValueName(UProperty.SCRIPT, in getName() 1259 UProperty.NameChoice.LONG); in getName() 1273 return UCharacter.getPropertyValueName(UProperty.SCRIPT, in getShortName() 1275 UProperty.NameChoice.SHORT); in getShortName()
|
D | UCharacter.java | 2515 UCharacterProperty.INSTANCE.getIntPropertyValue(ch, UProperty.BLOCK)); in of() 2539 getPropertyValueName(UProperty.BLOCK, b.getID(), in forName() 2540 UProperty.NameChoice.LONG)); in forName() 4763 if (propEnum == UProperty.UNDEFINED) { in getPropertyEnum() 4821 if ((property == UProperty.CANONICAL_COMBINING_CLASS in getPropertyValueName() 4822 || property == UProperty.LEAD_CANONICAL_COMBINING_CLASS in getPropertyValueName() 4823 || property == UProperty.TRAIL_CANONICAL_COMBINING_CLASS) in getPropertyValueName() 4825 UProperty.CANONICAL_COMBINING_CLASS) in getPropertyValueName() 4827 UProperty.CANONICAL_COMBINING_CLASS) in getPropertyValueName() 4828 && nameChoice >= 0 && nameChoice < UProperty.NameChoice.COUNT) { in getPropertyValueName() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | UnhandledBreakEngine.java | 19 import android.icu.lang.UProperty; 76 int script = UCharacter.getIntPropertyValue(c, UProperty.SCRIPT); in handleChar() 78 newSet.applyIntPropertyValue(UProperty.SCRIPT, script); in handleChar()
|
D | UnicodeSet.java | 35 import android.icu.lang.UProperty; 3312 if (prop == UProperty.GENERAL_CATEGORY_MASK) { in applyIntPropertyValue() 3314 } else if (prop == UProperty.SCRIPT_EXTENSIONS) { in applyIntPropertyValue() 3386 if (p == UProperty.GENERAL_CATEGORY) { in applyPropertyAlias() 3387 p = UProperty.GENERAL_CATEGORY_MASK; in applyPropertyAlias() 3390 if ((p >= UProperty.BINARY_START && p < UProperty.BINARY_LIMIT) || in applyPropertyAlias() 3391 (p >= UProperty.INT_START && p < UProperty.INT_LIMIT) || in applyPropertyAlias() 3392 (p >= UProperty.MASK_START && p < UProperty.MASK_LIMIT)) { in applyPropertyAlias() 3397 if (p == UProperty.CANONICAL_COMBINING_CLASS || in applyPropertyAlias() 3398 p == UProperty.LEAD_CANONICAL_COMBINING_CLASS || in applyPropertyAlias() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | UnhandledBreakEngine.java | 18 import com.ibm.icu.lang.UProperty; 75 int script = UCharacter.getIntPropertyValue(c, UProperty.SCRIPT); in handleChar() 77 newSet.applyIntPropertyValue(UProperty.SCRIPT, script); in handleChar()
|
D | UnicodeSet.java | 34 import com.ibm.icu.lang.UProperty; 3387 if (prop == UProperty.GENERAL_CATEGORY_MASK) { in applyIntPropertyValue() 3389 } else if (prop == UProperty.SCRIPT_EXTENSIONS) { in applyIntPropertyValue() 3464 if (p == UProperty.GENERAL_CATEGORY) { in applyPropertyAlias() 3465 p = UProperty.GENERAL_CATEGORY_MASK; in applyPropertyAlias() 3468 if ((p >= UProperty.BINARY_START && p < UProperty.BINARY_LIMIT) || in applyPropertyAlias() 3469 (p >= UProperty.INT_START && p < UProperty.INT_LIMIT) || in applyPropertyAlias() 3470 (p >= UProperty.MASK_START && p < UProperty.MASK_LIMIT)) { in applyPropertyAlias() 3475 if (p == UProperty.CANONICAL_COMBINING_CLASS || in applyPropertyAlias() 3476 p == UProperty.LEAD_CANONICAL_COMBINING_CLASS || in applyPropertyAlias() [all …]
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | ScriptData.java | 15 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()
|
/external/icu/icu4c/source/common/unicode/ |
D | uchar.h | 165 typedef enum UProperty { enum 658 } UProperty; typedef 2311 u_hasBinaryProperty(UChar32 c, UProperty which); 2417 u_getIntPropertyValue(UChar32 c, UProperty which); 2438 u_getIntPropertyMinValue(UProperty which); 2467 u_getIntPropertyMaxValue(UProperty which); 3279 u_getPropertyName(UProperty property, 3301 U_STABLE UProperty U_EXPORT2 3352 u_getPropertyValueName(UProperty property, 3388 u_getPropertyValueEnum(UProperty property,
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | RegexUtilitiesTest.java | 23 import com.ibm.icu.lang.UProperty; 24 import com.ibm.icu.lang.UProperty.NameChoice; 101 for (int propNum = UProperty.INT_START; propNum < UProperty.INT_LIMIT; ++propNum) {
|