Searched refs:destLength (Results 1 - 25 of 33) sorted by relevance

12

/external/icu/icu4c/source/common/
H A Dpunycode.cpp188 int32_t n, delta, handledCPCount, basicLength, destLength, bias, j, m, q, k, t, srcCPCount; local
205 srcCPCount=destLength=0;
219 if(destLength<destCapacity) {
220 dest[destLength]=
225 ++destLength;
252 if(destLength<destCapacity) {
253 dest[destLength]=
258 ++destLength;
277 basicLength=destLength;
279 if(destLength<destCapacit
379 int32_t n, destLength, i, bias, basicLength, j, in, oldi, w, k, digit, t, local
[all...]
H A Ducasemap.cpp125 int32_t length, destLength; local
155 (char *)(dest+destIndex), destCapacity-destIndex, &destLength,
158 destIndex+=destLength;
168 NULL, 0, &destLength,
171 destIndex+=destLength;
471 int32_t destLength; local
500 destLength=stringCaseMapper(csm, dest, destCapacity, src, srcLength, pErrorCode);
501 return u_terminateChars((char *)dest, destCapacity, destLength, pErrorCode);
H A Dunistr_cnv.cpp180 int32_t destLength; local
182 destLength = length;
184 destLength = capacity;
186 u_UCharsToChars(getArrayStart() + start, target, destLength);
H A Dushape.cpp1426 int32_t destLength; local
1603 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,2,shapeVars);
1606 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,1,shapeVars);
1610 destLength = handleTashkeelWithTatweel(tempbuffer,destLength,destCapacity,options,pErrorCode);
1616 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,0,shapeVars);
1621 destLength = deShapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,shapeVars);
1625 destLength = 0;
1632 * we should U_ASSERT(outputSize==destLength)
1637 countSpaces(tempbuffer,destLength,option
[all...]
H A Dustrcase.cpp375 int32_t destLength; local
416 destLength=stringCaseMapper(csm, temp, destCapacity, src, srcLength, pErrorCode);
419 if(destLength>0) {
420 int32_t copyLength= destLength<=destCapacity ? destLength : destCapacity;
430 return u_terminateUChars(dest, destCapacity, destLength, pErrorCode);
H A Dubidiwrt.c311 int32_t destLength; local
338 destLength=doWriteReverse(src, srcLength, dest, destSize, options, pErrorCode);
341 destLength=0;
344 return u_terminateUChars(dest, destSize, destLength, pErrorCode);
H A Dubidiln.c1322 int32_t destLength=-1, count=0; local
1326 if(*--pi>destLength) {
1327 destLength=*pi;
1333 destLength++; /* add 1 for origin 0 */
1334 if(count<destLength) {
1336 uprv_memset(destMap, 0xFF, destLength*sizeof(int32_t));
H A Ducnv.c1721 int32_t destLength; local
1753 destLength=(int32_t)(dest-originalDest);
1764 destLength+=(int32_t)(dest-buffer);
1768 destLength=0;
1771 return u_terminateChars(originalDest, destCapacity, destLength, pErrorCode);
1781 int32_t destLength; local
1813 destLength=(int32_t)(dest-originalDest);
1825 destLength+=(int32_t)(dest-buffer);
1830 destLength=0;
1833 return u_terminateUChars(originalDest, destCapacity, destLength, pErrorCod
[all...]
H A Duprops.cpp135 int32_t destLength; local
136 destLength=u_strFoldCase(dest, UPRV_LENGTHOF(dest),
141 dest, destLength, FALSE));
H A Duniset.cpp1538 int32_t bmpLength, length, destLength;
1591 destLength=length+((length>bmpLength)?2:1);
1592 if (destLength<=destCapacity) {
1626 return destLength;
H A Duts46.cpp542 int32_t destLength=dest.length(); local
544 while(labelLimit<destLength) {
556 destLength+=newLength-labelLength;
561 destLength=mapDevChars(dest, labelStart, labelLimit, errorCode);
576 // Permit an empty label at the end (0<labelStart==labelLimit==destLength is ok)
/external/icu/icu4c/source/tools/toolutil/
H A Duparse.c241 int32_t destLength; local
255 destLength=0;
259 if(destLength<destCapacity) {
260 dest[destLength]=0;
261 } else if(destLength==destCapacity) {
266 return destLength;
283 if((destLength+U16_LENGTH(value))<=destCapacity) {
284 U16_APPEND_UNSAFE(dest, destLength, value);
286 destLength+=U16_LENGTH(value);
/external/icu/icu4c/source/test/cintltst/
H A Dcustrtrn.c887 int32_t destLength; local
892 destLength=-99;
893 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 3, &errorCode);
894 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=1) {
895 log_err("error: u_strFromUTF8(preflight srcLength=3) fails: destLength=%ld - %s\n",
896 (long)destLength, u_errorName(errorCode));
901 destLength=-99;
902 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 4, &errorCode);
903 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=2) {
904 log_err("error: u_strFromUTF8(preflight srcLength=4) fails: destLength
987 int32_t srcLength, destLength0, destLength; local
[all...]
/external/guava/guava/src/com/google/common/escape/
H A DUnicodeEscaper.java202 int destLength = sizeNeeded + (end - index) + DEST_PAD;
203 dest = growBuffer(dest, destIndex, destLength);
/external/icu/icu4c/source/test/perf/utrie2perf/
H A Dutrie2perf.cpp190 int32_t destLength=unorm_normalize(testcase.getBuffer(), testcase.getBufferLen(), local
194 if(U_FAILURE(errorCode) || destLength!=destCapacity) {
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/com/google/gdata/util/common/base/
H A DUnicodeEscaper.java209 int destLength = sizeNeeded + (end - index) + DEST_PAD;
210 dest = growBuffer(dest, destIndex, destLength);
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DUTS46.java214 int destLength=dest.length();
216 while(labelLimit<destLength) {
223 destLength+=newLength-labelLength;
228 destLength=mapDevChars(dest, labelStart, labelLimit);
239 // Permit an empty label at the end (0<labelStart==labelLimit==destLength is ok)
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DUTS46.java213 int destLength=dest.length();
215 while(labelLimit<destLength) {
222 destLength+=newLength-labelLength;
227 destLength=mapDevChars(dest, labelStart, labelLimit);
238 // Permit an empty label at the end (0<labelStart==labelLimit==destLength is ok)
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DBidiLine.java1214 int destLength = -1, count = 0, i, srcEntry;
1219 if (srcEntry > destLength) {
1220 destLength = srcEntry;
1226 destLength++; /* add 1 for origin 0 */
1227 int[] destMap = new int[destLength];
1228 if (count < destLength) {
H A DNormalizer.java1362 int destLength=destBuilder.length();
1363 if(destLength<=(destLimit-destStart)) {
1364 destBuilder.getChars(0, destLength, dest, destStart);
1365 return destLength;
1367 throw new IndexOutOfBoundsException(Integer.toString(destLength));
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DBidiLine.java1213 int destLength = -1, count = 0, i, srcEntry;
1218 if (srcEntry > destLength) {
1219 destLength = srcEntry;
1225 destLength++; /* add 1 for origin 0 */
1226 int[] destMap = new int[destLength];
1227 if (count < destLength) {
H A DNormalizer.java1332 int destLength=destBuilder.length();
1333 if(destLength<=(destLimit-destStart)) {
1334 destBuilder.getChars(0, destLength, dest, destStart);
1335 return destLength;
1337 throw new IndexOutOfBoundsException(Integer.toString(destLength));
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
H A DTestBidi.java208 destLength = bidi.getResultLength();
294 for (i = 0; i < destLength; ++i) {
298 for (i = 0; i < destLength; ++i) {
/external/icu/icu4c/source/i18n/
H A Ducol.cpp137 int32_t destLength=src1Length+src2Length; local
138 if(destLength>destCapacity) {
140 return destLength;
184 /* the actual length might be less than destLength if either sort key contained illegally embedded zero bytes */
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
H A DTestBidi.java204 destLength = bidi.getResultLength();
290 for (i = 0; i < destLength; ++i) {
294 for (i = 0; i < destLength; ++i) {

Completed in 1232 milliseconds

12