/external/icu/icu4c/source/common/ |
D | punycode.cpp | 190 int32_t n, delta, handledCPCount, basicLength, destLength, bias, j, m, q, k, t, srcCPCount; in u_strToPunycode() local 207 srcCPCount=destLength=0; in u_strToPunycode() 221 if(destLength<destCapacity) { in u_strToPunycode() 222 dest[destLength]= in u_strToPunycode() 227 ++destLength; in u_strToPunycode() 254 if(destLength<destCapacity) { in u_strToPunycode() 255 dest[destLength]= in u_strToPunycode() 260 ++destLength; in u_strToPunycode() 279 basicLength=destLength; in u_strToPunycode() 281 if(destLength<destCapacity) { in u_strToPunycode() [all …]
|
D | ushape.cpp | 1428 int32_t destLength; in u_shapeArabic() local 1605 … destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,2,shapeVars); in u_shapeArabic() 1608 … destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,1,shapeVars); in u_shapeArabic() 1612 … destLength = handleTashkeelWithTatweel(tempbuffer,destLength,destCapacity,options,pErrorCode); in u_shapeArabic() 1618 … destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,0,shapeVars); in u_shapeArabic() 1623 … destLength = deShapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,shapeVars); in u_shapeArabic() 1627 destLength = 0; in u_shapeArabic() 1639 countSpaces(tempbuffer,destLength,options,&spacesCountl,&spacesCountr); in u_shapeArabic() 1640 invertBuffer(tempbuffer,destLength,options,spacesCountl,spacesCountr); in u_shapeArabic() 1642 u_memcpy(dest, tempbuffer, uprv_min(destLength, destCapacity)); in u_shapeArabic() [all …]
|
D | ucasemap.cpp | 158 int32_t destLength; in appendResult() local 161 (char *)(dest+destIndex), destCapacity-destIndex, &destLength, in appendResult() 167 if(destLength>(INT32_MAX-destIndex)) { in appendResult() 170 destIndex+=destLength; in appendResult() 178 int32_t destLength; in appendResult() local 181 NULL, 0, &destLength, in appendResult() 187 if(destLength>(INT32_MAX-destIndex)) { in appendResult() 190 destIndex+=destLength; in appendResult() 697 int32_t destLength; in ucasemap_mapUTF8() local 726 destLength=stringCaseMapper(csm, dest, destCapacity, src, srcLength, pErrorCode); in ucasemap_mapUTF8() [all …]
|
D | unistr_cnv.cpp | 182 int32_t destLength; in extract() local 184 destLength = length; in extract() 186 destLength = capacity; in extract() 188 u_UCharsToChars(getArrayStart() + start, target, destLength); in extract()
|
D | ubidiwrt.c | 313 int32_t destLength; in ubidi_writeReverse() local 340 destLength=doWriteReverse(src, srcLength, dest, destSize, options, pErrorCode); in ubidi_writeReverse() 343 destLength=0; in ubidi_writeReverse() 346 return u_terminateUChars(dest, destSize, destLength, pErrorCode); in ubidi_writeReverse()
|
D | ubiditransform.c | 444 uint32_t destLength = 0; in ubiditransform_transform() local 495 pBiDiTransform->pDestLength = &destLength; in ubiditransform_transform() 515 destLength = srcLength; in ubiditransform_transform() 527 return U_FAILURE(*pErrorCode) ? 0 : destLength; in ubiditransform_transform()
|
D | ucnv.c | 1723 int32_t destLength; in ucnv_fromUChars() local 1755 destLength=(int32_t)(dest-originalDest); in ucnv_fromUChars() 1766 destLength+=(int32_t)(dest-buffer); in ucnv_fromUChars() 1770 destLength=0; in ucnv_fromUChars() 1773 return u_terminateChars(originalDest, destCapacity, destLength, pErrorCode); in ucnv_fromUChars() 1783 int32_t destLength; in ucnv_toUChars() local 1815 destLength=(int32_t)(dest-originalDest); in ucnv_toUChars() 1827 destLength+=(int32_t)(dest-buffer); in ucnv_toUChars() 1832 destLength=0; in ucnv_toUChars() 1835 return u_terminateUChars(originalDest, destCapacity, destLength, pErrorCode); in ucnv_toUChars()
|
D | ubidiln.c | 1324 int32_t destLength=-1, count=0; in ubidi_invertMap() local 1328 if(*--pi>destLength) { in ubidi_invertMap() 1329 destLength=*pi; in ubidi_invertMap() 1335 destLength++; /* add 1 for origin 0 */ in ubidi_invertMap() 1336 if(count<destLength) { in ubidi_invertMap() 1338 uprv_memset(destMap, 0xFF, destLength*sizeof(int32_t)); in ubidi_invertMap()
|
D | ustrcase.cpp | 1023 int32_t destLength; in ustrcase_map() local 1064 destLength=stringCaseMapper(csm, temp, destCapacity, src, srcLength, pErrorCode); in ustrcase_map() 1067 if(destLength>0) { in ustrcase_map() 1068 int32_t copyLength= destLength<=destCapacity ? destLength : destCapacity; in ustrcase_map() 1078 return u_terminateUChars(dest, destCapacity, destLength, pErrorCode); in ustrcase_map()
|
D | uprops.cpp | 137 int32_t destLength; in changesWhenCasefolded() local 138 destLength=u_strFoldCase(dest, UPRV_LENGTHOF(dest), in changesWhenCasefolded() 143 dest, destLength, FALSE)); in changesWhenCasefolded()
|
/external/icu/icu4c/source/test/cintltst/ |
D | custrtrn.c | 889 int32_t destLength; in Test_FromUTF8() local 894 destLength=-99; in Test_FromUTF8() 895 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 3, &errorCode); in Test_FromUTF8() 896 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=1) { in Test_FromUTF8() 898 (long)destLength, u_errorName(errorCode)); in Test_FromUTF8() 903 destLength=-99; in Test_FromUTF8() 904 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 4, &errorCode); in Test_FromUTF8() 905 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=2) { in Test_FromUTF8() 907 (long)destLength, u_errorName(errorCode)); in Test_FromUTF8() 912 destLength=-99; in Test_FromUTF8() [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | uparse.c | 243 int32_t destLength; in u_parseString() local 257 destLength=0; in u_parseString() 261 if(destLength<destCapacity) { in u_parseString() 262 dest[destLength]=0; in u_parseString() 263 } else if(destLength==destCapacity) { in u_parseString() 268 return destLength; in u_parseString() 285 if((destLength+U16_LENGTH(value))<=destCapacity) { in u_parseString() 286 U16_APPEND_UNSAFE(dest, destLength, value); in u_parseString() 288 destLength+=U16_LENGTH(value); in u_parseString()
|
/external/icu/icu4c/source/test/intltest/ |
D | strcase.cpp | 771 int32_t destLength = u_strToUpper(dest, result.getCapacity(), in TestLongUpper() local 773 result.releaseBuffer(destLength); in TestLongUpper() 776 errorCode.errorName(), (long)destLength); in TestLongUpper() 790 int32_t destLength = ucasemap_utf8ToTitle(csm.getAlias(), dest, 3, src, 1, errorCode); in TestMalformedUTF8() local 791 if (errorCode.isFailure() || destLength != 1 || dest[0] != src[0]) { in TestMalformedUTF8() 793 errorCode.errorName(), (int)destLength, dest[0]); in TestMalformedUTF8() 798 destLength = ucasemap_utf8ToLower(csm.getAlias(), dest, 3, src, 1, errorCode); in TestMalformedUTF8() 799 if (errorCode.isFailure() || destLength != 1 || dest[0] != src[0]) { in TestMalformedUTF8() 801 errorCode.errorName(), (int)destLength, dest[0]); in TestMalformedUTF8() 806 destLength = ucasemap_utf8ToUpper(csm.getAlias(), dest, 3, src, 1, errorCode); in TestMalformedUTF8() [all …]
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | SslWrapper.java | 490 int readDirectByteBuffer(long destAddress, int destLength) in readDirectByteBuffer() argument 493 ssl, destAddress, destLength, handshakeCallbacks); in readDirectByteBuffer() 496 int readArray(byte[] destJava, int destOffset, int destLength) in readArray() argument 499 ssl, destJava, destOffset, destLength, handshakeCallbacks); in readArray() 565 int readDirectByteBuffer(long destAddress, int destLength) throws IOException { in readDirectByteBuffer() argument 567 ssl, bio, destAddress, destLength, handshakeCallbacks); in readDirectByteBuffer() 570 int readArray(byte[] destJava, int destOffset, int destLength) throws IOException { in readArray() argument 572 ssl, bio, destJava, destOffset, destLength, handshakeCallbacks); in readArray()
|
/external/guava/guava/src/com/google/common/escape/ |
D | UnicodeEscaper.java | 202 int destLength = sizeNeeded + (end - index) + DEST_PAD; in escapeSlow() local 203 dest = growBuffer(dest, destIndex, destLength); in escapeSlow()
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/com/google/gdata/util/common/base/ |
D | UnicodeEscaper.java | 209 int destLength = sizeNeeded + (end - index) + DEST_PAD; in escapeSlow() local 210 dest = growBuffer(dest, destIndex, destLength); in escapeSlow()
|
/external/icu/icu4c/source/test/perf/utrie2perf/ |
D | utrie2perf.cpp | 194 int32_t destLength=unorm_normalize(testcase.getBuffer(), testcase.getBufferLen(), in call() local 198 if(U_FAILURE(errorCode) || destLength!=destCapacity) { in call()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | BidiLine.java | 1216 int destLength = -1, count = 0, i, srcEntry; in invertMap() local 1221 if (srcEntry > destLength) { in invertMap() 1222 destLength = srcEntry; in invertMap() 1228 destLength++; /* add 1 for origin 0 */ in invertMap() 1229 int[] destMap = new int[destLength]; in invertMap() 1230 if (count < destLength) { in invertMap()
|
D | Normalizer.java | 1361 int destLength=destBuilder.length(); in concatenate() local 1362 if(destLength<=(destLimit-destStart)) { in concatenate() 1363 destBuilder.getChars(0, destLength, dest, destStart); in concatenate() 1364 return destLength; in concatenate() 1366 throw new IndexOutOfBoundsException(Integer.toString(destLength)); in concatenate()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | BidiLine.java | 1215 int destLength = -1, count = 0, i, srcEntry; in invertMap() local 1220 if (srcEntry > destLength) { in invertMap() 1221 destLength = srcEntry; in invertMap() 1227 destLength++; /* add 1 for origin 0 */ in invertMap() 1228 int[] destMap = new int[destLength]; in invertMap() 1229 if (count < destLength) { in invertMap()
|
D | Normalizer.java | 1340 int destLength=destBuilder.length(); in concatenate() local 1341 if(destLength<=(destLimit-destStart)) { in concatenate() 1342 destBuilder.getChars(0, destLength, dest, destStart); in concatenate() 1343 return destLength; in concatenate() 1345 throw new IndexOutOfBoundsException(Integer.toString(destLength)); in concatenate()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | UTS46.java | 216 int destLength=dest.length(); in processUnicode() local 218 while(labelLimit<destLength) { in processUnicode() 225 destLength+=newLength-labelLength; in processUnicode() 230 destLength=mapDevChars(dest, labelStart, labelLimit); in processUnicode()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UTS46.java | 215 int destLength=dest.length(); in processUnicode() local 217 while(labelLimit<destLength) { in processUnicode() 224 destLength+=newLength-labelLength; in processUnicode() 229 destLength=mapDevChars(dest, labelStart, labelLimit); in processUnicode()
|
/external/icu/icu4c/source/i18n/ |
D | ucol.cpp | 139 int32_t destLength=src1Length+src2Length; in ucol_mergeSortkeys() local 140 if(destLength>destCapacity) { in ucol_mergeSortkeys() 142 return destLength; in ucol_mergeSortkeys()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
D | TestBidi.java | 210 destLength = bidi.getResultLength(); in _testReordering() local 296 for (i = 0; i < destLength; ++i) { in _testReordering() 300 for (i = 0; i < destLength; ++i) { in _testReordering()
|