Home
last modified time | relevance | path

Searched refs:utf8Lengths (Results 1 – 6 of 6) sorted by relevance

/external/guava/guava-tests/test/com/google/common/base/
DUtf8Test.java80 HashMap<Integer, Integer> utf8Lengths = new HashMap<>(); in testEncodedLength_validStrings2() local
81 utf8Lengths.put(0x00, 1); in testEncodedLength_validStrings2()
82 utf8Lengths.put(0x7f, 1); in testEncodedLength_validStrings2()
83 utf8Lengths.put(0x80, 2); in testEncodedLength_validStrings2()
84 utf8Lengths.put(0x7ff, 2); in testEncodedLength_validStrings2()
85 utf8Lengths.put(0x800, 3); in testEncodedLength_validStrings2()
86 utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT - 1, 3); in testEncodedLength_validStrings2()
87 utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT, 4); in testEncodedLength_validStrings2()
88 utf8Lengths.put(MAX_CODE_POINT, 4); in testEncodedLength_validStrings2()
90 Integer[] codePoints = utf8Lengths.keySet().toArray(new Integer[] {}); in testEncodedLength_validStrings2()
[all …]
/external/guava/android/guava-tests/test/com/google/common/base/
DUtf8Test.java80 HashMap<Integer, Integer> utf8Lengths = new HashMap<>(); in testEncodedLength_validStrings2() local
81 utf8Lengths.put(0x00, 1); in testEncodedLength_validStrings2()
82 utf8Lengths.put(0x7f, 1); in testEncodedLength_validStrings2()
83 utf8Lengths.put(0x80, 2); in testEncodedLength_validStrings2()
84 utf8Lengths.put(0x7ff, 2); in testEncodedLength_validStrings2()
85 utf8Lengths.put(0x800, 3); in testEncodedLength_validStrings2()
86 utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT - 1, 3); in testEncodedLength_validStrings2()
87 utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT, 4); in testEncodedLength_validStrings2()
88 utf8Lengths.put(MAX_CODE_POINT, 4); in testEncodedLength_validStrings2()
90 Integer[] codePoints = utf8Lengths.keySet().toArray(new Integer[] {}); in testEncodedLength_validStrings2()
[all …]
/external/icu/icu4c/source/common/
Dunisetspan.cpp208 utf8Lengths(NULL), spanLengths(NULL), utf8(NULL), in UnicodeSetStringSpan()
280 utf8Lengths=staticLengths; in UnicodeSetStringSpan()
282 utf8Lengths=(int32_t *)uprv_malloc(allocSize); in UnicodeSetStringSpan()
283 if(utf8Lengths==NULL) { in UnicodeSetStringSpan()
291 spanLengths=(uint8_t *)(utf8Lengths+stringsLength); in UnicodeSetStringSpan()
299 spanLengths=(uint8_t *)(utf8Lengths+stringsLength); in UnicodeSetStringSpan()
302 spanLengths=(uint8_t *)utf8Lengths; in UnicodeSetStringSpan()
332 utf8Count+=utf8Lengths[i]=length8; in UnicodeSetStringSpan()
370 utf8Count+=utf8Lengths[i]=length8; in UnicodeSetStringSpan()
372 utf8Lengths[i]=0; in UnicodeSetStringSpan()
[all …]
Dunisetspan.h116 int32_t *utf8Lengths; variable
/external/icu/libicu/cts_headers/
Dunisetspan.h116 int32_t *utf8Lengths; variable
/external/icu/icu4c/source/test/intltest/
Dusettest.cpp2389 utf8Lengths[stringsLength]=length8= in UnicodeSetWithStrings()
2424 int32_t utf8Lengths[20]; member in UnicodeSetWithStrings
2449 nextUTF8Start+=length=fSet.utf8Lengths[nextStringIndex++]; in nextUTF8()