Home
last modified time | relevance | path

Searched refs:destLength (Results 1 – 25 of 30) sorted by relevance

12

/external/icu/icu4c/source/common/
Dpunycode.cpp188 int32_t n, delta, handledCPCount, basicLength, destLength, bias, j, m, q, k, t, srcCPCount; in u_strToPunycode() local
205 srcCPCount=destLength=0; in u_strToPunycode()
219 if(destLength<destCapacity) { in u_strToPunycode()
220 dest[destLength]= in u_strToPunycode()
225 ++destLength; in u_strToPunycode()
252 if(destLength<destCapacity) { in u_strToPunycode()
253 dest[destLength]= in u_strToPunycode()
258 ++destLength; in u_strToPunycode()
277 basicLength=destLength; in u_strToPunycode()
279 if(destLength<destCapacity) { in u_strToPunycode()
[all …]
Dushape.cpp1426 int32_t destLength; in u_shapeArabic() local
1603destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,2,shapeVars); in u_shapeArabic()
1606destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,1,shapeVars); in u_shapeArabic()
1610destLength = handleTashkeelWithTatweel(tempbuffer,destLength,destCapacity,options,pErrorCode); in u_shapeArabic()
1616destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,0,shapeVars); in u_shapeArabic()
1621destLength = deShapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,shapeVars); in u_shapeArabic()
1625 destLength = 0; in u_shapeArabic()
1637 countSpaces(tempbuffer,destLength,options,&spacesCountl,&spacesCountr); in u_shapeArabic()
1638 invertBuffer(tempbuffer,destLength,options,spacesCountl,spacesCountr); in u_shapeArabic()
1640 uprv_memcpy(dest, tempbuffer, uprv_min(destLength, destCapacity)*U_SIZEOF_UCHAR); in u_shapeArabic()
[all …]
Ducasemap.cpp125 int32_t length, destLength; in appendResult() local
155 (char *)(dest+destIndex), destCapacity-destIndex, &destLength, in appendResult()
158 destIndex+=destLength; in appendResult()
168 NULL, 0, &destLength, in appendResult()
171 destIndex+=destLength; in appendResult()
471 int32_t destLength; in ucasemap_mapUTF8() local
500 destLength=stringCaseMapper(csm, dest, destCapacity, src, srcLength, pErrorCode); in ucasemap_mapUTF8()
501 return u_terminateChars((char *)dest, destCapacity, destLength, pErrorCode); in ucasemap_mapUTF8()
Dunistr_cnv.cpp180 int32_t destLength; in extract() local
182 destLength = length; in extract()
184 destLength = capacity; in extract()
186 u_UCharsToChars(getArrayStart() + start, target, destLength); in extract()
Dustrcase.cpp375 int32_t destLength; in ustrcase_map() local
416 destLength=stringCaseMapper(csm, temp, destCapacity, src, srcLength, pErrorCode); in ustrcase_map()
419 if(destLength>0) { in ustrcase_map()
420 int32_t copyLength= destLength<=destCapacity ? destLength : destCapacity; in ustrcase_map()
430 return u_terminateUChars(dest, destCapacity, destLength, pErrorCode); in ustrcase_map()
Dubidiwrt.c311 int32_t destLength; in ubidi_writeReverse() local
338 destLength=doWriteReverse(src, srcLength, dest, destSize, options, pErrorCode); in ubidi_writeReverse()
341 destLength=0; in ubidi_writeReverse()
344 return u_terminateUChars(dest, destSize, destLength, pErrorCode); in ubidi_writeReverse()
Ducnv.c1721 int32_t destLength; in ucnv_fromUChars() local
1753 destLength=(int32_t)(dest-originalDest); in ucnv_fromUChars()
1764 destLength+=(int32_t)(dest-buffer); in ucnv_fromUChars()
1768 destLength=0; in ucnv_fromUChars()
1771 return u_terminateChars(originalDest, destCapacity, destLength, pErrorCode); in ucnv_fromUChars()
1781 int32_t destLength; in ucnv_toUChars() local
1813 destLength=(int32_t)(dest-originalDest); in ucnv_toUChars()
1825 destLength+=(int32_t)(dest-buffer); in ucnv_toUChars()
1830 destLength=0; in ucnv_toUChars()
1833 return u_terminateUChars(originalDest, destCapacity, destLength, pErrorCode); in ucnv_toUChars()
Dubidiln.c1322 int32_t destLength=-1, count=0; in ubidi_invertMap() local
1326 if(*--pi>destLength) { in ubidi_invertMap()
1327 destLength=*pi; in ubidi_invertMap()
1333 destLength++; /* add 1 for origin 0 */ in ubidi_invertMap()
1334 if(count<destLength) { in ubidi_invertMap()
1336 uprv_memset(destMap, 0xFF, destLength*sizeof(int32_t)); in ubidi_invertMap()
Duprops.cpp135 int32_t destLength; in changesWhenCasefolded() local
136 destLength=u_strFoldCase(dest, UPRV_LENGTHOF(dest), in changesWhenCasefolded()
141 dest, destLength, FALSE)); in changesWhenCasefolded()
Duts46.cpp542 int32_t destLength=dest.length(); in processUnicode() local
544 while(labelLimit<destLength) { in processUnicode()
556 destLength+=newLength-labelLength; in processUnicode()
561 destLength=mapDevChars(dest, labelStart, labelLimit, errorCode); in processUnicode()
Duniset.cpp1538 int32_t bmpLength, length, destLength; in serialize() local
1591 destLength=length+((length>bmpLength)?2:1); in serialize()
1592 if (destLength<=destCapacity) { in serialize()
1626 return destLength; in serialize()
/external/icu/icu4c/source/test/cintltst/
Dcustrtrn.c887 int32_t destLength; in Test_FromUTF8() local
892 destLength=-99; in Test_FromUTF8()
893 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 3, &errorCode); in Test_FromUTF8()
894 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=1) { in Test_FromUTF8()
896 (long)destLength, u_errorName(errorCode)); in Test_FromUTF8()
901 destLength=-99; in Test_FromUTF8()
902 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 4, &errorCode); in Test_FromUTF8()
903 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=2) { in Test_FromUTF8()
905 (long)destLength, u_errorName(errorCode)); in Test_FromUTF8()
910 destLength=-99; in Test_FromUTF8()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Duparse.c241 int32_t destLength; in u_parseString() local
255 destLength=0; in u_parseString()
259 if(destLength<destCapacity) { in u_parseString()
260 dest[destLength]=0; in u_parseString()
261 } else if(destLength==destCapacity) { in u_parseString()
266 return destLength; in u_parseString()
283 if((destLength+U16_LENGTH(value))<=destCapacity) { in u_parseString()
284 U16_APPEND_UNSAFE(dest, destLength, value); in u_parseString()
286 destLength+=U16_LENGTH(value); in u_parseString()
/external/guava/guava/src/com/google/common/escape/
DUnicodeEscaper.java202 int destLength = sizeNeeded + (end - index) + DEST_PAD; in escapeSlow() local
203 dest = growBuffer(dest, destIndex, destLength); in escapeSlow()
/external/icu/icu4c/source/test/perf/utrie2perf/
Dutrie2perf.cpp190 int32_t destLength=unorm_normalize(testcase.getBuffer(), testcase.getBufferLen(), in call() local
194 if(U_FAILURE(errorCode) || destLength!=destCapacity) { in call()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/com/google/gdata/util/common/base/
DUnicodeEscaper.java209 int destLength = sizeNeeded + (end - index) + DEST_PAD; in escapeSlow() local
210 dest = growBuffer(dest, destIndex, destLength); in escapeSlow()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiLine.java1213 int destLength = -1, count = 0, i, srcEntry; in invertMap() local
1218 if (srcEntry > destLength) { in invertMap()
1219 destLength = srcEntry; in invertMap()
1225 destLength++; /* add 1 for origin 0 */ in invertMap()
1226 int[] destMap = new int[destLength]; in invertMap()
1227 if (count < destLength) { in invertMap()
DNormalizer.java1332 int destLength=destBuilder.length(); in concatenate() local
1333 if(destLength<=(destLimit-destStart)) { in concatenate()
1334 destBuilder.getChars(0, destLength, dest, destStart); in concatenate()
1335 return destLength; in concatenate()
1337 throw new IndexOutOfBoundsException(Integer.toString(destLength)); in concatenate()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidiLine.java1214 int destLength = -1, count = 0, i, srcEntry; in invertMap() local
1219 if (srcEntry > destLength) { in invertMap()
1220 destLength = srcEntry; in invertMap()
1226 destLength++; /* add 1 for origin 0 */ in invertMap()
1227 int[] destMap = new int[destLength]; in invertMap()
1228 if (count < destLength) { in invertMap()
DNormalizer.java1362 int destLength=destBuilder.length(); in concatenate() local
1363 if(destLength<=(destLimit-destStart)) { in concatenate()
1364 destBuilder.getChars(0, destLength, dest, destStart); in concatenate()
1365 return destLength; in concatenate()
1367 throw new IndexOutOfBoundsException(Integer.toString(destLength)); in concatenate()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUTS46.java213 int destLength=dest.length(); in processUnicode() local
215 while(labelLimit<destLength) { in processUnicode()
222 destLength+=newLength-labelLength; in processUnicode()
227 destLength=mapDevChars(dest, labelStart, labelLimit); in processUnicode()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUTS46.java214 int destLength=dest.length(); in processUnicode() local
216 while(labelLimit<destLength) { in processUnicode()
223 destLength+=newLength-labelLength; in processUnicode()
228 destLength=mapDevChars(dest, labelStart, labelLimit); in processUnicode()
/external/icu/icu4c/source/i18n/
Ducol.cpp137 int32_t destLength=src1Length+src2Length; in ucol_mergeSortkeys() local
138 if(destLength>destCapacity) { in ucol_mergeSortkeys()
140 return destLength; in ucol_mergeSortkeys()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestBidi.java204 destLength = bidi.getResultLength(); in _testReordering() local
290 for (i = 0; i < destLength; ++i) { in _testReordering()
294 for (i = 0; i < destLength; ++i) { in _testReordering()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestBidi.java208 destLength = bidi.getResultLength(); in _testReordering() local
294 for (i = 0; i < destLength; ++i) { in _testReordering()
298 for (i = 0; i < destLength; ++i) { in _testReordering()

12