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

12

/external/chromium_org/third_party/icu/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.cpp190 int32_t destLength; local
192 destLength = length;
194 destLength = capacity;
196 u_UCharsToChars(getArrayStart() + start, target, destLength);
H A Dushape.cpp1404 int32_t destLength; local
1581 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,2,shapeVars);
1584 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,1,shapeVars);
1588 destLength = handleTashkeelWithTatweel(tempbuffer,destLength,destCapacity,options,pErrorCode);
1594 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,0,shapeVars);
1599 destLength = deShapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,shapeVars);
1603 destLength = 0;
1610 * we should U_ASSERT(outputSize==destLength)
1615 countSpaces(tempbuffer,destLength,option
[all...]
H A Dustrcase.cpp376 int32_t destLength; local
417 destLength=stringCaseMapper(csm, temp, destCapacity, src, srcLength, pErrorCode);
420 if(destLength>0) {
421 int32_t copyLength= destLength<=destCapacity ? destLength : destCapacity;
431 return u_terminateUChars(dest, destCapacity, destLength, pErrorCode);
H A Dubidiwrt.c316 int32_t destLength; local
343 destLength=doWriteReverse(src, srcLength, dest, destSize, options, pErrorCode);
346 destLength=0;
349 return u_terminateUChars(dest, destSize, destLength, pErrorCode);
H A Dubidiln.c1326 int32_t destLength=-1, count=0; local
1330 if(*--pi>destLength) {
1331 destLength=*pi;
1337 destLength++; /* add 1 for origin 0 */
1338 if(count<destLength) {
1340 uprv_memset(destMap, 0xFF, destLength*sizeof(int32_t));
H A Ducnv.c1731 int32_t destLength; local
1763 destLength=(int32_t)(dest-originalDest);
1774 destLength+=(int32_t)(dest-buffer);
1778 destLength=0;
1781 return u_terminateChars(originalDest, destCapacity, destLength, pErrorCode);
1791 int32_t destLength; local
1823 destLength=(int32_t)(dest-originalDest);
1835 destLength+=(int32_t)(dest-buffer);
1840 destLength=0;
1843 return u_terminateUChars(originalDest, destCapacity, destLength, pErrorCod
[all...]
H A Duprops.cpp138 int32_t destLength; local
139 destLength=u_strFoldCase(dest, LENGTHOF(dest),
144 dest, destLength, FALSE));
/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.cpp190 int32_t destLength; local
192 destLength = length;
194 destLength = capacity;
196 u_UCharsToChars(getArrayStart() + start, target, destLength);
H A Dushape.cpp1428 int32_t destLength; local
1605 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,2,shapeVars);
1608 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,1,shapeVars);
1612 destLength = handleTashkeelWithTatweel(tempbuffer,destLength,destCapacity,options,pErrorCode);
1618 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,0,shapeVars);
1623 destLength = deShapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,shapeVars);
1627 destLength = 0;
1634 * we should U_ASSERT(outputSize==destLength)
1639 countSpaces(tempbuffer,destLength,option
[all...]
H A Dustrcase.cpp376 int32_t destLength; local
417 destLength=stringCaseMapper(csm, temp, destCapacity, src, srcLength, pErrorCode);
420 if(destLength>0) {
421 int32_t copyLength= destLength<=destCapacity ? destLength : destCapacity;
431 return u_terminateUChars(dest, destCapacity, destLength, pErrorCode);
H A Dubidiwrt.c316 int32_t destLength; local
343 destLength=doWriteReverse(src, srcLength, dest, destSize, options, pErrorCode);
346 destLength=0;
349 return u_terminateUChars(dest, destSize, destLength, pErrorCode);
H A Dubidiln.c1326 int32_t destLength=-1, count=0; local
1330 if(*--pi>destLength) {
1331 destLength=*pi;
1337 destLength++; /* add 1 for origin 0 */
1338 if(count<destLength) {
1340 uprv_memset(destMap, 0xFF, destLength*sizeof(int32_t));
H A Ducnv.c1731 int32_t destLength; local
1763 destLength=(int32_t)(dest-originalDest);
1774 destLength+=(int32_t)(dest-buffer);
1778 destLength=0;
1781 return u_terminateChars(originalDest, destCapacity, destLength, pErrorCode);
1791 int32_t destLength; local
1823 destLength=(int32_t)(dest-originalDest);
1835 destLength+=(int32_t)(dest-buffer);
1840 destLength=0;
1843 return u_terminateUChars(originalDest, destCapacity, destLength, pErrorCod
[all...]
H A Duprops.cpp138 int32_t destLength; local
139 destLength=u_strFoldCase(dest, LENGTHOF(dest),
144 dest, destLength, FALSE));
/external/chromium_org/third_party/icu/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/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/chromium_org/third_party/icu/source/test/cintltst/
H A Dcustrtrn.c889 int32_t destLength; local
894 destLength=-99;
895 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 3, &errorCode);
896 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=1) {
897 log_err("error: u_strFromUTF8(preflight srcLength=3) fails: destLength=%ld - %s\n",
898 (long)destLength, u_errorName(errorCode));
903 destLength=-99;
904 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 4, &errorCode);
905 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=2) {
906 log_err("error: u_strFromUTF8(preflight srcLength=4) fails: destLength
989 int32_t srcLength, destLength0, destLength; local
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dcustrtrn.c889 int32_t destLength; local
894 destLength=-99;
895 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 3, &errorCode);
896 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=1) {
897 log_err("error: u_strFromUTF8(preflight srcLength=3) fails: destLength=%ld - %s\n",
898 (long)destLength, u_errorName(errorCode));
903 destLength=-99;
904 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 4, &errorCode);
905 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=2) {
906 log_err("error: u_strFromUTF8(preflight srcLength=4) fails: destLength
989 int32_t srcLength, destLength0, destLength; local
[all...]
/external/chromium_org/third_party/icu/source/test/perf/utrie2perf/
H A Dutrie2perf.cpp192 int32_t destLength=unorm_normalize(testcase.getBuffer(), testcase.getBufferLen(), local
196 if(U_FAILURE(errorCode) || destLength!=destCapacity) {
/external/icu/icu4c/source/test/perf/utrie2perf/
H A Dutrie2perf.cpp192 int32_t destLength=unorm_normalize(testcase.getBuffer(), testcase.getBufferLen(), local
196 if(U_FAILURE(errorCode) || destLength!=destCapacity) {
/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 */

Completed in 805 milliseconds

12