Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/base/
DUtf8Test.java54 HashMap<Integer, Integer> utf8Lengths = new HashMap<Integer, Integer>(); in testEncodedLength_validStrings2() local
55 utf8Lengths.put(0x00, 1); in testEncodedLength_validStrings2()
56 utf8Lengths.put(0x7f, 1); in testEncodedLength_validStrings2()
57 utf8Lengths.put(0x80, 2); in testEncodedLength_validStrings2()
58 utf8Lengths.put(0x7ff, 2); in testEncodedLength_validStrings2()
59 utf8Lengths.put(0x800, 3); in testEncodedLength_validStrings2()
60 utf8Lengths.put(Character.MIN_SUPPLEMENTARY_CODE_POINT - 1, 3); in testEncodedLength_validStrings2()
61 utf8Lengths.put(Character.MIN_SUPPLEMENTARY_CODE_POINT, 4); in testEncodedLength_validStrings2()
62 utf8Lengths.put(Character.MAX_CODE_POINT, 4); in testEncodedLength_validStrings2()
64 Integer[] codePoints = utf8Lengths.keySet().toArray(new Integer[]{}); in testEncodedLength_validStrings2()
[all …]
/external/icu/icu4c/source/common/
Dunisetspan.cpp206 utf8Lengths(NULL), spanLengths(NULL), utf8(NULL), in UnicodeSetStringSpan()
278 utf8Lengths=staticLengths; in UnicodeSetStringSpan()
280 utf8Lengths=(int32_t *)uprv_malloc(allocSize); in UnicodeSetStringSpan()
281 if(utf8Lengths==NULL) { in UnicodeSetStringSpan()
289 spanLengths=(uint8_t *)(utf8Lengths+stringsLength); in UnicodeSetStringSpan()
297 spanLengths=(uint8_t *)(utf8Lengths+stringsLength); in UnicodeSetStringSpan()
300 spanLengths=(uint8_t *)utf8Lengths; in UnicodeSetStringSpan()
330 utf8Count+=utf8Lengths[i]=length8; in UnicodeSetStringSpan()
368 utf8Count+=utf8Lengths[i]=length8; in UnicodeSetStringSpan()
370 utf8Lengths[i]=0; in UnicodeSetStringSpan()
[all …]
Dunisetspan.h114 int32_t *utf8Lengths; variable
/external/icu/icu4c/source/test/intltest/
Dusettest.cpp2383 utf8Lengths[stringsLength]=length8= in UnicodeSetWithStrings()
2418 int32_t utf8Lengths[20]; member in UnicodeSetWithStrings
2443 nextUTF8Start+=length=fSet.utf8Lengths[nextStringIndex++]; in nextUTF8()