/third_party/icu/icu4c/source/common/ |
H A D | ucptrie.cpp | 22 ucptrie_openFromBinary(UCPTrieType type, UCPTrieValueWidth valueWidth, in ucptrie_openFromBinary() argument 31 valueWidth < UCPTRIE_VALUE_BITS_ANY || UCPTRIE_VALUE_BITS_8 < valueWidth) { in ucptrie_openFromBinary() 62 if (valueWidth < 0) { in ucptrie_openFromBinary() 63 valueWidth = actualValueWidth; in ucptrie_openFromBinary() 65 if (type != actualType || valueWidth != actualValueWidth) { in ucptrie_openFromBinary() 83 tempTrie.valueWidth = valueWidth; in ucptrie_openFromBinary() 87 if (valueWidth == UCPTRIE_VALUE_BITS_16) { in ucptrie_openFromBinary() 89 } else if (valueWidth in ucptrie_openFromBinary() 216 getValue(UCPTrieData data, UCPTrieValueWidth valueWidth, int32_t dataIndex) getValue() argument 265 UCPTrieValueWidth valueWidth = (UCPTrieValueWidth)trie->valueWidth; getRange() local 478 UCPTrieValueWidth valueWidth = (UCPTrieValueWidth)trie->valueWidth; ucptrie_toBinary() local [all...] |
H A D | utrie_swap.cpp | 190 UCPTrieValueWidth valueWidth; in ucptrie_swap() local 213 valueWidth = (UCPTrieValueWidth)(trie.options & UCPTRIE_OPTIONS_VALUE_BITS_MASK); in ucptrie_swap() 221 valueWidth > UCPTRIE_VALUE_BITS_8 || in ucptrie_swap() 230 switch(valueWidth) { in ucptrie_swap() 267 switch(valueWidth) { in ucptrie_swap()
|
H A D | characterproperties.cpp | 364 UCPTrieValueWidth valueWidth; in makeMap() local 368 valueWidth = UCPTRIE_VALUE_BITS_8; in makeMap() 370 valueWidth = UCPTRIE_VALUE_BITS_16; in makeMap() 372 valueWidth = UCPTRIE_VALUE_BITS_32; in makeMap() 375 umutablecptrie_buildImmutable(mutableTrie.getAlias(), type, valueWidth, &errorCode)); in makeMap()
|
H A D | umutablecptrie.cpp | 89 UCPTrie *build(UCPTrieType type, UCPTrieValueWidth valueWidth, UErrorCode &errorCode); 217 switch (trie->valueWidth) { in fromUCPTrie() 1576 UCPTrie *MutableCodePointTrie::build(UCPTrieType type, UCPTrieValueWidth valueWidth, UErrorCode &errorCode) { in build() argument 1581 valueWidth < UCPTRIE_VALUE_BITS_16 || UCPTRIE_VALUE_BITS_8 < valueWidth) { in build() 1589 switch (valueWidth) { in build() 1610 if (valueWidth == UCPTRIE_VALUE_BITS_32 && (indexLength & 1) != 0) { in build() 1617 if (valueWidth == UCPTRIE_VALUE_BITS_16) { in build() 1627 } else if (valueWidth == UCPTRIE_VALUE_BITS_32) { in build() 1673 trie->valueWidth in build() 1840 umutablecptrie_buildImmutable(UMutableCPTrie *trie, UCPTrieType type, UCPTrieValueWidth valueWidth, UErrorCode *pErrorCode) umutablecptrie_buildImmutable() argument [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | ucptrie.cpp | 22 ucptrie_openFromBinary(UCPTrieType type, UCPTrieValueWidth valueWidth, in ucptrie_openFromBinary() argument 31 valueWidth < UCPTRIE_VALUE_BITS_ANY || UCPTRIE_VALUE_BITS_8 < valueWidth) { in ucptrie_openFromBinary() 62 if (valueWidth < 0) { in ucptrie_openFromBinary() 63 valueWidth = actualValueWidth; in ucptrie_openFromBinary() 65 if (type != actualType || valueWidth != actualValueWidth) { in ucptrie_openFromBinary() 83 tempTrie.valueWidth = valueWidth; in ucptrie_openFromBinary() 87 if (valueWidth == UCPTRIE_VALUE_BITS_16) { in ucptrie_openFromBinary() 89 } else if (valueWidth in ucptrie_openFromBinary() 216 getValue(UCPTrieData data, UCPTrieValueWidth valueWidth, int32_t dataIndex) getValue() argument 265 UCPTrieValueWidth valueWidth = (UCPTrieValueWidth)trie->valueWidth; getRange() local 478 UCPTrieValueWidth valueWidth = (UCPTrieValueWidth)trie->valueWidth; ucptrie_toBinary() local [all...] |
H A D | utrie_swap.cpp | 190 UCPTrieValueWidth valueWidth; in ucptrie_swap() local 213 valueWidth = (UCPTrieValueWidth)(trie.options & UCPTRIE_OPTIONS_VALUE_BITS_MASK); in ucptrie_swap() 221 valueWidth > UCPTRIE_VALUE_BITS_8 || in ucptrie_swap() 230 switch(valueWidth) { in ucptrie_swap() 267 switch(valueWidth) { in ucptrie_swap()
|
H A D | characterproperties.cpp | 372 UCPTrieValueWidth valueWidth; in makeMap() local 376 valueWidth = UCPTRIE_VALUE_BITS_8; in makeMap() 378 valueWidth = UCPTRIE_VALUE_BITS_16; in makeMap() 380 valueWidth = UCPTRIE_VALUE_BITS_32; in makeMap() 383 umutablecptrie_buildImmutable(mutableTrie.getAlias(), type, valueWidth, &errorCode)); in makeMap()
|
H A D | umutablecptrie.cpp | 89 UCPTrie *build(UCPTrieType type, UCPTrieValueWidth valueWidth, UErrorCode &errorCode); 217 switch (trie->valueWidth) { in fromUCPTrie() 1576 UCPTrie *MutableCodePointTrie::build(UCPTrieType type, UCPTrieValueWidth valueWidth, UErrorCode &errorCode) { in build() argument 1581 valueWidth < UCPTRIE_VALUE_BITS_16 || UCPTRIE_VALUE_BITS_8 < valueWidth) { in build() 1589 switch (valueWidth) { in build() 1610 if (valueWidth == UCPTRIE_VALUE_BITS_32 && (indexLength & 1) != 0) { in build() 1617 if (valueWidth == UCPTRIE_VALUE_BITS_16) { in build() 1627 } else if (valueWidth == UCPTRIE_VALUE_BITS_32) { in build() 1673 trie->valueWidth in build() 1840 umutablecptrie_buildImmutable(UMutableCPTrie *trie, UCPTrieType type, UCPTrieValueWidth valueWidth, UErrorCode *pErrorCode) umutablecptrie_buildImmutable() argument [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucptrie.cpp | 22 ucptrie_openFromBinary(UCPTrieType type, UCPTrieValueWidth valueWidth, in ucptrie_openFromBinary() argument 31 valueWidth < UCPTRIE_VALUE_BITS_ANY || UCPTRIE_VALUE_BITS_8 < valueWidth) { in ucptrie_openFromBinary() 62 if (valueWidth < 0) { in ucptrie_openFromBinary() 63 valueWidth = actualValueWidth; in ucptrie_openFromBinary() 65 if (type != actualType || valueWidth != actualValueWidth) { in ucptrie_openFromBinary() 83 tempTrie.valueWidth = valueWidth; in ucptrie_openFromBinary() 87 if (valueWidth == UCPTRIE_VALUE_BITS_16) { in ucptrie_openFromBinary() 89 } else if (valueWidth in ucptrie_openFromBinary() 216 getValue(UCPTrieData data, UCPTrieValueWidth valueWidth, int32_t dataIndex) getValue() argument 265 UCPTrieValueWidth valueWidth = (UCPTrieValueWidth)trie->valueWidth; getRange() local 478 UCPTrieValueWidth valueWidth = (UCPTrieValueWidth)trie->valueWidth; ucptrie_toBinary() local [all...] |
H A D | utrie_swap.cpp | 190 UCPTrieValueWidth valueWidth; in ucptrie_swap() local 213 valueWidth = (UCPTrieValueWidth)(trie.options & UCPTRIE_OPTIONS_VALUE_BITS_MASK); in ucptrie_swap() 221 valueWidth > UCPTRIE_VALUE_BITS_8 || in ucptrie_swap() 230 switch(valueWidth) { in ucptrie_swap() 267 switch(valueWidth) { in ucptrie_swap()
|
H A D | characterproperties.cpp | 336 UCPTrieValueWidth valueWidth; in makeMap() local 340 valueWidth = UCPTRIE_VALUE_BITS_8; in makeMap() 342 valueWidth = UCPTRIE_VALUE_BITS_16; in makeMap() 344 valueWidth = UCPTRIE_VALUE_BITS_32; in makeMap() 347 umutablecptrie_buildImmutable(mutableTrie.getAlias(), type, valueWidth, &errorCode)); in makeMap()
|
H A D | umutablecptrie.cpp | 89 UCPTrie *build(UCPTrieType type, UCPTrieValueWidth valueWidth, UErrorCode &errorCode); 217 switch (trie->valueWidth) { in fromUCPTrie() 1576 UCPTrie *MutableCodePointTrie::build(UCPTrieType type, UCPTrieValueWidth valueWidth, UErrorCode &errorCode) { in build() argument 1581 valueWidth < UCPTRIE_VALUE_BITS_16 || UCPTRIE_VALUE_BITS_8 < valueWidth) { in build() 1589 switch (valueWidth) { in build() 1610 if (valueWidth == UCPTRIE_VALUE_BITS_32 && (indexLength & 1) != 0) { in build() 1617 if (valueWidth == UCPTRIE_VALUE_BITS_16) { in build() 1627 } else if (valueWidth == UCPTRIE_VALUE_BITS_32) { in build() 1673 trie->valueWidth in build() 1840 umutablecptrie_buildImmutable(UMutableCPTrie *trie, UCPTrieType type, UCPTrieValueWidth valueWidth, UErrorCode *pErrorCode) umutablecptrie_buildImmutable() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/lang/ |
H A D | CharacterProperties.java | 92 CodePointTrie.ValueWidth valueWidth; in makeMap() 96 valueWidth = CodePointTrie.ValueWidth.BITS_8; in makeMap() 98 valueWidth = CodePointTrie.ValueWidth.BITS_16; in makeMap() 100 valueWidth = CodePointTrie.ValueWidth.BITS_32; in makeMap() 102 return mutableTrie.buildImmutable(type, valueWidth); in makeMap()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | ucptrietest.c | 188 UCPTrieType type, UCPTrieValueWidth valueWidth, in testTrieGetters() 207 if (valueWidth == UCPTRIE_VALUE_BITS_16) { in testTrieGetters() 209 } else if (valueWidth == UCPTRIE_VALUE_BITS_32) { in testTrieGetters() 222 if(valueWidth==UCPTRIE_VALUE_BITS_16) { in testTrieGetters() 224 } else if(valueWidth==UCPTRIE_VALUE_BITS_32) { in testTrieGetters() 235 if(valueWidth==UCPTRIE_VALUE_BITS_16) { in testTrieGetters() 237 } else if(valueWidth==UCPTRIE_VALUE_BITS_32) { in testTrieGetters() 248 if(valueWidth==UCPTRIE_VALUE_BITS_16) { in testTrieGetters() 250 } else if(valueWidth==UCPTRIE_VALUE_BITS_32) { in testTrieGetters() 256 if(valueWidth in testTrieGetters() 187 testTrieGetters(const char *testName, const UCPTrie *trie, UCPTrieType type, UCPTrieValueWidth valueWidth, const CheckRange checkRanges[], int32_t countCheckRanges) testTrieGetters() argument 388 testTrieUTF16(const char *testName, const UCPTrie *trie, UCPTrieValueWidth valueWidth, const CheckRange checkRanges[], int32_t countCheckRanges) testTrieUTF16() argument 490 testTrieUTF8(const char *testName, const UCPTrie *trie, UCPTrieValueWidth valueWidth, const CheckRange checkRanges[], int32_t countCheckRanges) testTrieUTF8() argument 692 testTrie(const char *testName, const UCPTrie *trie, UCPTrieType type, UCPTrieValueWidth valueWidth, const CheckRange checkRanges[], int32_t countCheckRanges) testTrie() argument 770 testTrieSerialize(const char *testName, UMutableCPTrie *mutableTrie, UCPTrieType type, UCPTrieValueWidth valueWidth, UBool withSwap, const CheckRange checkRanges[], int32_t countCheckRanges) testTrieSerialize() argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
H A D | CharacterProperties.java | 101 CodePointTrie.ValueWidth valueWidth; in makeMap() 105 valueWidth = CodePointTrie.ValueWidth.BITS_8; in makeMap() 107 valueWidth = CodePointTrie.ValueWidth.BITS_16; in makeMap() 109 valueWidth = CodePointTrie.ValueWidth.BITS_32; in makeMap() 111 return mutableTrie.buildImmutable(type, valueWidth); in makeMap()
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
H A D | writesrc.cpp | 253 pTrie->valueWidth==UCPTRIE_VALUE_BITS_16 ? 16 : in usrc_writeUCPTrieArrays() 254 pTrie->valueWidth==UCPTRIE_VALUE_BITS_32 ? 32 : in usrc_writeUCPTrieArrays() 255 pTrie->valueWidth==UCPTRIE_VALUE_BITS_8 ? 8 : 0; in usrc_writeUCPTrieArrays() 278 " %d, %d,\n" // type, valueWidth in usrc_writeUCPTrieStruct() 284 pTrie->type, pTrie->valueWidth, in usrc_writeUCPTrieStruct() 295 pTrie->valueWidth==UCPTRIE_VALUE_BITS_16 ? 16 : in usrc_writeUCPTrie() 296 pTrie->valueWidth==UCPTRIE_VALUE_BITS_32 ? 32 : in usrc_writeUCPTrie() 297 pTrie->valueWidth==UCPTRIE_VALUE_BITS_8 ? 8 : 0; in usrc_writeUCPTrie()
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | writesrc.cpp | 291 pTrie->valueWidth==UCPTRIE_VALUE_BITS_16 ? 16 : in usrc_writeUCPTrieArrays() 292 pTrie->valueWidth==UCPTRIE_VALUE_BITS_32 ? 32 : in usrc_writeUCPTrieArrays() 293 pTrie->valueWidth==UCPTRIE_VALUE_BITS_8 ? 8 : 0; in usrc_writeUCPTrieArrays() 319 " %d, %d,\n" // type, valueWidth in usrc_writeUCPTrieStruct() 329 "valueWidth = %d\n" in usrc_writeUCPTrieStruct() 339 pTrie->type, pTrie->valueWidth, in usrc_writeUCPTrieStruct() 350 pTrie->valueWidth==UCPTRIE_VALUE_BITS_16 ? 16 : in usrc_writeUCPTrie() 351 pTrie->valueWidth==UCPTRIE_VALUE_BITS_32 ? 32 : in usrc_writeUCPTrie() 352 pTrie->valueWidth==UCPTRIE_VALUE_BITS_8 ? 8 : 0; in usrc_writeUCPTrie()
|
/third_party/icu/icu4c/source/tools/toolutil/ |
H A D | writesrc.cpp | 282 pTrie->valueWidth==UCPTRIE_VALUE_BITS_16 ? 16 : in usrc_writeUCPTrieArrays() 283 pTrie->valueWidth==UCPTRIE_VALUE_BITS_32 ? 32 : in usrc_writeUCPTrieArrays() 284 pTrie->valueWidth==UCPTRIE_VALUE_BITS_8 ? 8 : 0; in usrc_writeUCPTrieArrays() 310 " %d, %d,\n" // type, valueWidth in usrc_writeUCPTrieStruct() 320 "valueWidth = %d\n" in usrc_writeUCPTrieStruct() 330 pTrie->type, pTrie->valueWidth, in usrc_writeUCPTrieStruct() 341 pTrie->valueWidth==UCPTRIE_VALUE_BITS_16 ? 16 : in usrc_writeUCPTrie() 342 pTrie->valueWidth==UCPTRIE_VALUE_BITS_32 ? 32 : in usrc_writeUCPTrie() 343 pTrie->valueWidth==UCPTRIE_VALUE_BITS_8 ? 8 : 0; in usrc_writeUCPTrie()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | CodePointTrie.java | 122 * @param valueWidth selects the number of bits in a data value; this method throws an exception 123 * if the valueWidth does not match the binary data; 132 public static CodePointTrie fromBinary(Type type, ValueWidth valueWidth, ByteBuffer bytes) { in fromBinary() argument 215 if (valueWidth == null) { in fromBinary() 216 valueWidth = actualValueWidth; in fromBinary() 218 if (type != actualType || valueWidth != actualValueWidth) { in fromBinary() 230 if (valueWidth == ValueWidth.BITS_16) { in fromBinary() 232 } else if (valueWidth == ValueWidth.BITS_32) { in fromBinary() 242 switch (valueWidth) { in fromBinary() 755 * @param valueWidth select 762 fromBinary(ValueWidth valueWidth, ByteBuffer bytes) fromBinary() argument 900 fromBinary(ValueWidth valueWidth, ByteBuffer bytes) fromBinary() argument [all...] |
H A D | MutableCodePointTrie.java | 33 * buildImmutable() takes a valueWidth parameter which 344 * @param valueWidth selects the number of bits in a trie data value; if smaller than 32 bits, 350 public CodePointTrie buildImmutable(CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth) { in buildImmutable() argument 351 if (type == null || valueWidth == null) { in buildImmutable() 352 throw new IllegalArgumentException("The type and valueWidth must be specified."); in buildImmutable() 356 return build(type, valueWidth); in buildImmutable() 1434 private CodePointTrie build(CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth) { in build() argument 1438 switch (valueWidth) { in build() 1456 if (valueWidth == CodePointTrie.ValueWidth.BITS_32 && (indexLength & 1) != 0) { in build() 1463 if (valueWidth in build() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | CodePointTrie.java | 115 * @param valueWidth selects the number of bits in a data value; this method throws an exception 116 * if the valueWidth does not match the binary data; 124 public static CodePointTrie fromBinary(Type type, ValueWidth valueWidth, ByteBuffer bytes) { in fromBinary() argument 207 if (valueWidth == null) { in fromBinary() 208 valueWidth = actualValueWidth; in fromBinary() 210 if (type != actualType || valueWidth != actualValueWidth) { in fromBinary() 222 if (valueWidth == ValueWidth.BITS_16) { in fromBinary() 224 } else if (valueWidth == ValueWidth.BITS_32) { in fromBinary() 234 switch (valueWidth) { in fromBinary() 741 * @param valueWidth select 747 fromBinary(ValueWidth valueWidth, ByteBuffer bytes) fromBinary() argument 880 fromBinary(ValueWidth valueWidth, ByteBuffer bytes) fromBinary() argument [all...] |
H A D | MutableCodePointTrie.java | 34 * buildImmutable() takes a valueWidth parameter which 337 * @param valueWidth selects the number of bits in a trie data value; if smaller than 32 bits, 342 public CodePointTrie buildImmutable(CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth) { in buildImmutable() argument 343 if (type == null || valueWidth == null) { in buildImmutable() 344 throw new IllegalArgumentException("The type and valueWidth must be specified."); in buildImmutable() 348 return build(type, valueWidth); in buildImmutable() 1426 private CodePointTrie build(CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth) { in build() argument 1430 switch (valueWidth) { in build() 1448 if (valueWidth == CodePointTrie.ValueWidth.BITS_32 && (indexLength & 1) != 0) { in build() 1455 if (valueWidth in build() [all...] |
/third_party/node/deps/npm/node_modules/cli-columns/ |
H A D | index.js | 39 const valueWidth = stringWidth(value); 40 const filler = makeList(fullWidth - valueWidth + 1);
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | CodePointTrieTest.java | 222 CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, in testTrieGetters() 342 CodePointTrie trie, CodePointTrie.ValueWidth valueWidth, in testTrieUTF16() 429 CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, in testTrie() 431 testTrieGetters(testName, trie, type, valueWidth, checkRanges); in testTrie() 434 testTrieUTF16(testName, trie, valueWidth, checkRanges); in testTrie() 435 // Java: no testTrieUTF8(testName, trie, valueWidth, checkRanges); in testTrie() 447 CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, boolean withSwap, in testTrieSerialize() 460 trie = mutableTrie.buildImmutable(type, valueWidth); in testTrieSerialize() 467 testTrie(testName, trie, type, valueWidth, checkRanges); in testTrieSerialize() 473 trie = CodePointTrie.fromBinary(type, valueWidth, storag in testTrieSerialize() 221 testTrieGetters(String testName, CodePointTrie trie, CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, CheckRange checkRanges[]) testTrieGetters() argument 341 testTrieUTF16(String testName, CodePointTrie trie, CodePointTrie.ValueWidth valueWidth, CheckRange checkRanges[]) testTrieUTF16() argument 428 testTrie(String testName, CodePointTrie trie, CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, CheckRange checkRanges[]) testTrie() argument 446 testTrieSerialize(String testName, MutableCodePointTrie mutableTrie, CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, boolean withSwap, CheckRange checkRanges[]) testTrieSerialize() argument [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | CodePointTrieTest.java | 219 CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, in testTrieGetters() 339 CodePointTrie trie, CodePointTrie.ValueWidth valueWidth, in testTrieUTF16() 426 CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, in testTrie() 428 testTrieGetters(testName, trie, type, valueWidth, checkRanges); in testTrie() 431 testTrieUTF16(testName, trie, valueWidth, checkRanges); in testTrie() 432 // Java: no testTrieUTF8(testName, trie, valueWidth, checkRanges); in testTrie() 444 CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, boolean withSwap, in testTrieSerialize() 457 trie = mutableTrie.buildImmutable(type, valueWidth); in testTrieSerialize() 464 testTrie(testName, trie, type, valueWidth, checkRanges); in testTrieSerialize() 470 trie = CodePointTrie.fromBinary(type, valueWidth, storag in testTrieSerialize() 218 testTrieGetters(String testName, CodePointTrie trie, CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, CheckRange checkRanges[]) testTrieGetters() argument 338 testTrieUTF16(String testName, CodePointTrie trie, CodePointTrie.ValueWidth valueWidth, CheckRange checkRanges[]) testTrieUTF16() argument 425 testTrie(String testName, CodePointTrie trie, CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, CheckRange checkRanges[]) testTrie() argument 443 testTrieSerialize(String testName, MutableCodePointTrie mutableTrie, CodePointTrie.Type type, CodePointTrie.ValueWidth valueWidth, boolean withSwap, CheckRange checkRanges[]) testTrieSerialize() argument [all...] |