Searched refs:utf8Lengths (Results 1 – 4 of 4) sorted by relevance
/external/guava/guava-tests/test/com/google/common/base/ |
D | Utf8Test.java | 54 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/ |
D | unisetspan.cpp | 208 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 …]
|
D | unisetspan.h | 116 int32_t *utf8Lengths; variable
|
/external/icu/icu4c/source/test/intltest/ |
D | usettest.cpp | 2383 utf8Lengths[stringsLength]=length8= in UnicodeSetWithStrings() 2418 int32_t utf8Lengths[20]; member in UnicodeSetWithStrings 2443 nextUTF8Start+=length=fSet.utf8Lengths[nextStringIndex++]; in nextUTF8()
|