/external/smali/util/src/main/java/org/jf/util/ |
D | ClassFileNameHandler.java | 185 int[] codePoints; in shortenPathComponent() local 188 codePoints = new int[intBuffer.limit()]; in shortenPathComponent() 189 intBuffer.get(codePoints); in shortenPathComponent() 194 int midPoint = codePoints.length/2; in shortenPathComponent() 198 int bytesRemoved = utf8Length(codePoints[midPoint]); in shortenPathComponent() 202 if (((codePoints.length % 2) == 0) && bytesRemoved < bytesToRemove) { in shortenPathComponent() 203 bytesRemoved += utf8Length(codePoints[secondStart]); in shortenPathComponent() 208 (firstEnd > 0 || secondStart < codePoints.length)) { in shortenPathComponent() 211 bytesRemoved += utf8Length(codePoints[firstEnd]); in shortenPathComponent() 214 if (bytesRemoved < bytesToRemove && secondStart < codePoints.length) { in shortenPathComponent() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/hash/ |
D | Murmur3Hash32Test.java | 78 int[] codePoints = new int[rng.nextInt(8)]; in testStringInputsUtf8() local 79 for (int i = 0; i < codePoints.length; i++) { in testStringInputsUtf8() 81 codePoints[i] = rng.nextInt(0x800); in testStringInputsUtf8() 82 } while (!Character.isValidCodePoint(codePoints[i]) in testStringInputsUtf8() 83 || (codePoints[i] >= Character.MIN_SURROGATE in testStringInputsUtf8() 84 && codePoints[i] <= Character.MAX_SURROGATE)); in testStringInputsUtf8() 87 for (int i = 0; i < codePoints.length; i++) { in testStringInputsUtf8() 88 builder.appendCodePoint(codePoints[i]); in testStringInputsUtf8()
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | Murmur3Hash32Test.java | 78 int[] codePoints = new int[rng.nextInt(8)]; in testStringInputsUtf8() local 79 for (int i = 0; i < codePoints.length; i++) { in testStringInputsUtf8() 81 codePoints[i] = rng.nextInt(0x800); in testStringInputsUtf8() 82 } while (!Character.isValidCodePoint(codePoints[i]) in testStringInputsUtf8() 83 || (codePoints[i] >= Character.MIN_SURROGATE in testStringInputsUtf8() 84 && codePoints[i] <= Character.MAX_SURROGATE)); in testStringInputsUtf8() 87 for (int i = 0; i < codePoints.length; i++) { in testStringInputsUtf8() 88 builder.appendCodePoint(codePoints[i]); in testStringInputsUtf8()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | EmojiConstants.java | 61 for (int cp : CharSequences.codePoints(string)) { in getEmojiFromSubdivisionCodes() 84 for (int codePoint : CharSequences.codePoints(code)) { in getTagSpec() 101 public static CharSequence fromCodePoints(int... codePoints) { in fromCodePoints() argument 102 return EmojiConstants.appendCodePoints(new StringBuilder(), codePoints).toString(); in fromCodePoints() 105 public static StringBuilder appendCodePoints(StringBuilder b, int... codePoints) { in appendCodePoints() argument 106 for (int i = 0; i < codePoints.length; ++i) { in appendCodePoints() 107 b.appendCodePoint(codePoints[i]); in appendCodePoints()
|
D | StringRange.java | 166 int[] array = CharSequences.codePoints(s); in Ranges() 252 int[] startCps = CharSequences.codePoints(start); in expand() 253 int[] endCps = CharSequences.codePoints(end); in expand()
|
D | With.java | 179 return CharSequences.codePoints(source); in codePointArray() 190 public static With<CharSequence> codePoints(CharSequence... charSequences) { in codePoints() method in With
|
D | XListFormatter.java | 80 for (int sourceInt : CharSequences.codePoints(items)) { // TODO add utility in CharSequences in formatCodePoints()
|
/external/okhttp/okio/okio/src/test/java/okio/ |
D | Utf8Test.java | 189 private void assertEncoded(String hex, int... codePoints) throws Exception { in assertEncoded() argument 190 assertCodePointEncoded(hex, codePoints); in assertEncoded() 191 assertCodePointDecoded(hex, codePoints); in assertEncoded() 192 assertStringEncoded(hex, new String(codePoints, 0, codePoints.length)); in assertEncoded() 195 private void assertCodePointEncoded(String hex, int... codePoints) throws Exception { in assertCodePointEncoded() argument 197 for (int codePoint : codePoints) { in assertCodePointEncoded() 203 private void assertCodePointDecoded(String hex, int... codePoints) throws Exception { in assertCodePointDecoded() argument 205 for (int codePoint : codePoints) { in assertCodePointDecoded()
|
/external/icu/icu4c/source/samples/props/ |
D | props.cpp | 62 codePoints[]={ in main() local 67 for(i=0; i<sizeof(codePoints)/sizeof(codePoints[0]); ++i) { in main() 68 printProps(codePoints[i]); in main()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | ucm.cpp | 45 printMapping(UCMapping *m, UChar32 *codePoints, uint8_t *bytes, FILE *f) { in printMapping() argument 49 fprintf(f, "<U%04lX>", (long)codePoints[j]); in printMapping() 786 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], in ucm_parseMappingLine() 824 codePoints[uLen++]=cp; in ucm_parseMappingLine() 832 m->u=codePoints[0]; in ucm_parseMappingLine() 835 u_strFromUTF32(NULL, 0, &u16Length, codePoints, uLen, &errorCode); in ucm_parseMappingLine() 898 uprv_free(table->codePoints); in ucm_closeTable() 919 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], in ucm_addMapping() 949 table->codePoints=(UChar32 *)uprv_malloc(table->codePointsCapacity*4); in ucm_addMapping() 950 if(table->codePoints==NULL) { in ucm_addMapping() [all …]
|
D | ucm.h | 74 UChar32 *codePoints; member 114 (((m)->uLen==1) ? &(m)->u : (t)->codePoints+(m)->u) 135 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], 142 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], 255 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], 262 UChar32 codePoints[UCNV_EXT_MAX_UCHARS],
|
/external/skia/modules/canvaskit/ |
D | font.js | 23 var codePoints = str.length + 1; 33 var widthPtr = CanvasKit._malloc(codePoints * bytesPerFloat); 34 if (!this._getWidths(strPtr, strBytes, codePoints, widthPtr)) { 42 var widths = new Float32Array(CanvasKit.HEAPU8.buffer, widthPtr, codePoints);
|
/external/icu/icu4c/source/test/cintltst/ |
D | utf8tst.c | 602 static const UChar32 codePoints[]={ in TestNextPrevCharUnsafe() local 618 expected = codePoints[i]; in TestNextPrevCharUnsafe() 632 expected = codePoints[i]; in TestNextPrevCharUnsafe() 639 for(i=UPRV_LENGTHOF(codePoints)-1, offset=sizeof(input); offset > 0; --i){ in TestNextPrevCharUnsafe() 641 expected = codePoints[i]; in TestNextPrevCharUnsafe() 648 for(i=UPRV_LENGTHOF(codePoints)-1, offset=sizeof(input); offset > 0; --i){ in TestNextPrevCharUnsafe() 650 expected = codePoints[i]; in TestNextPrevCharUnsafe() 1175 static const UChar32 codePoints[]={ in TestAppend() local 1205 for(i=0; i<UPRV_LENGTHOF(codePoints); ++i) { in TestAppend() 1206 c=codePoints[i]; in TestAppend() [all …]
|
D | utf16tst.c | 806 static const UChar32 codePoints[]={ in TestAppend() local 836 for(i=0; i<UPRV_LENGTHOF(codePoints); ++i) { in TestAppend() 837 c=codePoints[i]; in TestAppend() 850 for(i=0; i<UPRV_LENGTHOF(codePoints); ++i) { in TestAppend() 851 c=codePoints[i]; in TestAppend()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | Utf8Test.java | 90 Integer[] codePoints = utf8Lengths.keySet().toArray(new Integer[] {}); in testEncodedLength_validStrings2() local 97 Integer randomCodePoint = codePoints[rnd.nextInt(codePoints.length)]; in testEncodedLength_validStrings2()
|
/external/guava/android/guava-tests/test/com/google/common/base/ |
D | Utf8Test.java | 90 Integer[] codePoints = utf8Lengths.keySet().toArray(new Integer[] {}); in testEncodedLength_validStrings2() local 97 Integer randomCodePoint = codePoints[rnd.nextInt(codePoints.length)]; in testEncodedLength_validStrings2()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | StringRange.java | 166 int[] array = CharSequences.codePoints(s); in Ranges() 246 int[] startCps = CharSequences.codePoints(start); in expand() 247 int[] endCps = CharSequences.codePoints(end); in expand()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | StringRange.java | 173 int[] array = CharSequences.codePoints(s); in Ranges() 253 int[] startCps = CharSequences.codePoints(start); in expand() 254 int[] endCps = CharSequences.codePoints(end); in expand()
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | CanonicalCharacterData.java | 97 int codePoints = UTF16.countCodePoint(equiv); in dumpEquivalents() local 99 for (int c = 0; c < codePoints; c += 1) { in dumpEquivalents()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | UrlComponentEncodingTester.java | 184 public UrlComponentEncodingTester override(Encoding encoding, int... codePoints) { in override() argument 185 for (int codePoint : codePoints) { in override() 202 public UrlComponentEncodingTester skipForUri(int... codePoints) { in skipForUri() argument 203 uriEscapedCodePoints.append(new String(codePoints, 0, codePoints.length)); in skipForUri()
|
/external/icu/icu4c/source/tools/makeconv/ |
D | gencnvex.c | 940 UChar32 *codePoints; in generateFromUTrie() local 957 codePoints=UCM_GET_CODE_POINTS(table, m); in generateFromUTrie() 958 next=codePoints[0]; in generateFromUTrie() 966 codePoints=UCM_GET_CODE_POINTS(table, m); in generateFromUTrie() 967 next=codePoints[0]; in generateFromUTrie() 977 codePoints=UCM_GET_CODE_POINTS(table, m); in generateFromUTrie()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/ |
D | Lambda.java.txt | 24 return persons.stream().map(p -> p.codePoints());
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 1448 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)), in padding() 1463 … NumberFormatter.with().padding(Padder.codePoints(0x101E4, 8, PadPosition.AFTER_PREFIX)), in padding() 1478 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)) in padding() 1494 … NumberFormatter.with().padding(Padder.codePoints('*', 10, PadPosition.AFTER_PREFIX)).unit(GBP) in padding() 1510 … NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.BEFORE_PREFIX)), in padding() 1518 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)), in padding() 1526 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.BEFORE_SUFFIX)) in padding() 1535 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_SUFFIX)) in padding() 1544 … NumberFormatter.with().padding(Padder.codePoints('0', 12, PadPosition.AFTER_PREFIX)).unit(GBP) in padding()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 1451 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)), in padding() 1466 … NumberFormatter.with().padding(Padder.codePoints(0x101E4, 8, PadPosition.AFTER_PREFIX)), in padding() 1481 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)) in padding() 1497 … NumberFormatter.with().padding(Padder.codePoints('*', 10, PadPosition.AFTER_PREFIX)).unit(GBP) in padding() 1513 … NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.BEFORE_PREFIX)), in padding() 1521 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)), in padding() 1529 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.BEFORE_SUFFIX)) in padding() 1538 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_SUFFIX)) in padding() 1547 … NumberFormatter.with().padding(Padder.codePoints('0', 12, PadPosition.AFTER_PREFIX)).unit(GBP) in padding()
|
/external/icu/icu4c/source/common/ |
D | ucnv_err.cpp | 121 const char* codePoints, in UCNV_TO_U_CALLBACK_STOP() argument 127 (void)context; (void)toUArgs; (void)codePoints; (void)length; (void)reason; (void)err; in UCNV_TO_U_CALLBACK_STOP()
|