/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/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/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/icu/icu4c/source/samples/props/ |
D | props.cpp | 59 codePoints[]={ in main() local 64 for(i=0; i<sizeof(codePoints)/sizeof(codePoints[0]); ++i) { in main() 65 printProps(codePoints[i]); in main()
|
/external/icu/icu4c/source/test/cintltst/ |
D | utf8tst.c | 600 static const UChar32 codePoints[]={ in TestNextPrevCharUnsafe() local 616 expected = codePoints[i]; in TestNextPrevCharUnsafe() 630 expected = codePoints[i]; in TestNextPrevCharUnsafe() 637 for(i=UPRV_LENGTHOF(codePoints)-1, offset=sizeof(input); offset > 0; --i){ in TestNextPrevCharUnsafe() 639 expected = codePoints[i]; in TestNextPrevCharUnsafe() 646 for(i=UPRV_LENGTHOF(codePoints)-1, offset=sizeof(input); offset > 0; --i){ in TestNextPrevCharUnsafe() 648 expected = codePoints[i]; in TestNextPrevCharUnsafe() 1100 static const UChar32 codePoints[]={ in TestAppend() local 1130 for(i=0; i<UPRV_LENGTHOF(codePoints); ++i) { in TestAppend() 1131 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/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 1043 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)), in padding() 1058 … NumberFormatter.with().padding(Padder.codePoints(0x101E4, 8, PadPosition.AFTER_PREFIX)), in padding() 1073 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)) in padding() 1089 … NumberFormatter.with().padding(Padder.codePoints('*', 10, PadPosition.AFTER_PREFIX)).unit(GBP) in padding() 1105 … NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.BEFORE_PREFIX)), in padding() 1113 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)), in padding() 1121 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.BEFORE_SUFFIX)) in padding() 1130 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_SUFFIX)) in padding() 1139 … NumberFormatter.with().padding(Padder.codePoints('0', 12, PadPosition.AFTER_PREFIX)).unit(GBP) in padding()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 1040 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)), in padding() 1055 … NumberFormatter.with().padding(Padder.codePoints(0x101E4, 8, PadPosition.AFTER_PREFIX)), in padding() 1070 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)) in padding() 1086 … NumberFormatter.with().padding(Padder.codePoints('*', 10, PadPosition.AFTER_PREFIX)).unit(GBP) in padding() 1102 … NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.BEFORE_PREFIX)), in padding() 1110 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_PREFIX)), in padding() 1118 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.BEFORE_SUFFIX)) in padding() 1127 NumberFormatter.with().padding(Padder.codePoints('*', 8, PadPosition.AFTER_SUFFIX)) in padding() 1136 … NumberFormatter.with().padding(Padder.codePoints('0', 12, PadPosition.AFTER_PREFIX)).unit(GBP) in padding()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | Utf8Test.java | 64 Integer[] codePoints = utf8Lengths.keySet().toArray(new Integer[]{}); in testEncodedLength_validStrings2() local 71 Integer randomCodePoint = codePoints[rnd.nextInt(codePoints.length)]; in testEncodedLength_validStrings2()
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_api.cpp | 979 Padder::codePoints( in padding() 995 Padder::codePoints( in padding() 1011 Padder::codePoints( in padding() 1028 Padder::codePoints( in padding() 1046 Padder::codePoints( in padding() 1055 Padder::codePoints( in padding() 1064 Padder::codePoints( in padding() 1073 Padder::codePoints( in padding() 1082 Padder::codePoints( in padding()
|
/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 | 170 int[] array = CharSequences.codePoints(s); in Ranges() 250 int[] startCps = CharSequences.codePoints(start); in expand() 251 int[] endCps = CharSequences.codePoints(end); in expand()
|
/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/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/icu/icu4c/source/tools/makeconv/ |
D | gencnvex.c | 935 UChar32 *codePoints; in generateFromUTrie() local 952 codePoints=UCM_GET_CODE_POINTS(table, m); in generateFromUTrie() 953 next=codePoints[0]; in generateFromUTrie() 961 codePoints=UCM_GET_CODE_POINTS(table, m); in generateFromUTrie() 962 next=codePoints[0]; in generateFromUTrie() 972 codePoints=UCM_GET_CODE_POINTS(table, m); in generateFromUTrie()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/ |
D | Lambda.java.txt | 20 return persons.stream().map(p -> p.codePoints());
|
/external/icu/icu4c/source/common/ |
D | ucnv_err.cpp | 131 const char* codePoints, in UCNV_TO_U_CALLBACK_STOP() argument 137 (void)context; (void)toUArgs; (void)codePoints; (void)length; (void)reason; (void)err; in UCNV_TO_U_CALLBACK_STOP()
|
/external/icu/icu4c/source/i18n/ |
D | number_padding.cpp | 41 Padder Padder::codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position) { in codePoints() function in Padder
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | Padder.java | 62 public static Padder codePoints(int cp, int targetWidth, PadPosition position) { in codePoints() method in Padder
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | Padder.java | 66 public static Padder codePoints(int cp, int targetWidth, PadPosition position) { in codePoints() method in Padder
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
D | CharSequences.java | 287 public static int[] codePoints(CharSequence s) { in codePoints() method in CharSequences
|
/external/icu/android_icu4j/src/main/java/android/icu/lang/ |
D | CharSequences.java | 289 public static int[] codePoints(CharSequence s) { in codePoints() method in CharSequences
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | UTF16.java | 2207 public static String newString(int[] codePoints, int offset, int count) { in newString() argument 2214 int cp = codePoints[r]; in newString() 2230 int newlen = (int) (Math.ceil((double) codePoints.length * (w + 2) in newString()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | UTF16.java | 2280 public static String newString(int[] codePoints, int offset, int count) { in newString() argument 2287 int cp = codePoints[r]; in newString() 2303 int newlen = (int) (Math.ceil((double) codePoints.length * (w + 2) in newString()
|