/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
D | UCharacterTest.java | 34 import ohos.global.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 …]
|
D | UPropertyAliasesTest.java | 22 import ohos.global.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 …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UCharacterTest.java | 33 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 …]
|
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 …]
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | uprops.cpp | 50 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 …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | uprops.cpp | 158 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 …]
|
/third_party/icu/icu4c/source/common/ |
D | uprops.cpp | 158 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 …]
|
/third_party/node/deps/icu-small/source/common/ |
D | uprops.cpp | 160 typedef UBool BinaryPropertyContains(const BinaryProperty &prop, UChar32 c, UProperty which); 168 static UBool defaultContains(const BinaryProperty &prop, UChar32 c, UProperty /*which*/) { in defaultContains() argument 173 static UBool caseBinaryPropertyContains(const BinaryProperty &/*prop*/, UChar32 c, UProperty which)… in caseBinaryPropertyContains() 177 static UBool isBidiControl(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isBidiControl() argument 181 static UBool isMirrored(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isMirrored() argument 185 static UBool isJoinControl(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isJoinControl() argument 190 static UBool hasFullCompositionExclusion(const BinaryProperty &, UChar32, UProperty) { in hasFullCompositionExclusion() argument 194 static UBool hasFullCompositionExclusion(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*whi… in hasFullCompositionExclusion() argument 204 static UBool isNormInert(const BinaryProperty &, UChar32, UProperty) { in isNormInert() argument 208 static UBool isNormInert(const BinaryProperty &/*prop*/, UChar32 c, UProperty which) { in isNormInert() [all …]
|
D | emojiprops.h | 25 static UBool hasBinaryProperty(UChar32 c, UProperty which); 26 static UBool hasBinaryProperty(const UChar *s, int32_t length, UProperty which); 29 void addStrings(const USetAdder *sa, UProperty which, UErrorCode &errorCode) const; 80 UBool hasBinaryPropertyImpl(UChar32 c, UProperty which) const; 81 UBool hasBinaryPropertyImpl(const UChar *s, int32_t length, UProperty which) const;
|
D | emojiprops.cpp | 125 EmojiProps::hasBinaryProperty(UChar32 c, UProperty which) { in hasBinaryProperty() 132 EmojiProps::hasBinaryPropertyImpl(UChar32 c, UProperty which) const { in hasBinaryPropertyImpl() 163 EmojiProps::hasBinaryProperty(const UChar *s, int32_t length, UProperty which) { in hasBinaryProperty() 170 EmojiProps::hasBinaryPropertyImpl(const UChar *s, int32_t length, UProperty which) const { in hasBinaryPropertyImpl() 177 UProperty firstProp = which, lastProp = which; in hasBinaryPropertyImpl() 197 EmojiProps::addStrings(const USetAdder *sa, UProperty which, UErrorCode &errorCode) const { in addStrings() 202 UProperty firstProp = which, lastProp = which; in addStrings()
|
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()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UCharacterProperty.java | 21 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 …]
|
D | CharacterPropertiesImpl.java | 6 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()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | UCharacterProperty.java | 22 import ohos.global.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 …]
|
D | CharacterPropertiesImpl.java | 7 import ohos.global.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()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
D | CharacterProperties.java | 27 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()
|
D | UScript.java | 1139 … 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()
|
D | UCharacter.java | 2668 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 …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/lang/ |
D | CharacterProperties.java | 28 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()
|
D | UScript.java | 959 … int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbrOrLocale); in getCode() 960 if (propNum != UProperty.UNDEFINED) { in getCode() 970 … int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbrOrLocale); in getCode() 971 if (propNum != UProperty.UNDEFINED) { in getCode() 988 int propNum = UCharacter.getPropertyValueEnumNoThrow(UProperty.SCRIPT, nameOrAbbr); in getCodeFromName() 989 return propNum == UProperty.UNDEFINED ? INVALID_CODE : propNum; in getCodeFromName() 1111 return UCharacter.getPropertyValueName(UProperty.SCRIPT, in getName() 1113 UProperty.NameChoice.LONG); in getName() 1126 return UCharacter.getPropertyValueName(UProperty.SCRIPT, in getShortName() 1128 UProperty.NameChoice.SHORT); in getShortName()
|
D | UCharacter.java | 2316 UCharacterProperty.INSTANCE.getIntPropertyValue(ch, UProperty.BLOCK)); in of() 2339 getPropertyValueName(UProperty.BLOCK, b.getID(), in forName() 2340 UProperty.NameChoice.LONG)); in forName() 4480 if (propEnum == UProperty.UNDEFINED) { in getPropertyEnum() 4537 if ((property == UProperty.CANONICAL_COMBINING_CLASS in getPropertyValueName() 4538 || property == UProperty.LEAD_CANONICAL_COMBINING_CLASS in getPropertyValueName() 4539 || property == UProperty.TRAIL_CANONICAL_COMBINING_CLASS) in getPropertyValueName() 4541 UProperty.CANONICAL_COMBINING_CLASS) in getPropertyValueName() 4543 UProperty.CANONICAL_COMBINING_CLASS) in getPropertyValueName() 4544 && nameChoice >= 0 && nameChoice < UProperty.NameChoice.COUNT) { in getPropertyValueName() [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | ucdtest.cpp | 140 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 …]
|
/third_party/node/deps/icu-small/source/tools/icuexportdata/ |
D | icuexportdata.cpp | 39 PropertyValueNameGetter(UProperty prop) : property(prop) {} in PropertyValueNameGetter() 46 UProperty property; 51 void dumpBinaryProperty(UProperty uproperty, FILE* f) { in dumpBinaryProperty() 64 void dumpEnumeratedProperty(UProperty uproperty, FILE* f) { in dumpEnumeratedProperty() 200 UProperty uprop = static_cast<UProperty>(i); in main() 255 UProperty propEnum = u_getPropertyEnum(propName); in main()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | UnhandledBreakEngine.java | 15 import com.ibm.icu.lang.UProperty; 66 int script = UCharacter.getIntPropertyValue(c, UProperty.SCRIPT); in handleChar() 68 newSet.applyIntPropertyValue(UProperty.SCRIPT, script); in handleChar()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | UnhandledBreakEngine.java | 16 import ohos.global.icu.lang.UProperty; 67 int script = UCharacter.getIntPropertyValue(c, UProperty.SCRIPT); in handleChar() 69 newSet.applyIntPropertyValue(UProperty.SCRIPT, script); in handleChar()
|