Searched defs:destLength (Results 1 - 25 of 37) sorted by relevance

12

/external/chromium_org/third_party/icu/source/common/
H A Dubidiwrt.c315 int32_t destLength; local
342 destLength=doWriteReverse(src, srcLength, dest, destSize, options, pErrorCode);
345 destLength=0;
348 return u_terminateUChars(dest, destSize, 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 Dpunycode.c185 int32_t n, delta, handledCPCount, basicLength, destLength, bias, j, m, q, k, t, srcCPCount; local
202 srcCPCount=destLength=0;
216 if(destLength<destCapacity) {
217 dest[destLength]=
222 ++destLength;
249 if(destLength<destCapacity) {
250 dest[destLength]=
255 ++destLength;
274 basicLength=destLength;
276 if(destLength<destCapacit
376 int32_t n, destLength, i, bias, basicLength, j, in, oldi, w, k, digit, t, local
[all...]
H A Ducasemap.c133 int32_t length, destLength; local
163 (char *)(dest+destIndex), destCapacity-destIndex, &destLength,
166 destIndex+=destLength;
176 NULL, 0, &destLength,
179 destIndex+=destLength;
458 int32_t destLength; local
487 destLength=0;
490 destLength=utf8_foldCase(csm->csp, dest, destCapacity, src, srcLength,
499 destLength=_caseMap(csm, ucase_toFullLower,
505 destLength
[all...]
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 Duprops.cpp138 int32_t destLength; local
139 destLength=u_strFoldCase(dest, LENGTHOF(dest),
144 dest, destLength, FALSE));
H A Dustrcase.c461 int32_t destLength; local
502 destLength=0;
505 destLength=ustr_foldCase(csm->csp, temp, destCapacity, src, srcLength,
514 destLength=_caseMap(csm, ucase_toFullLower,
520 destLength=_caseMap(csm, ucase_toFullUpper,
530 destLength=_toTitle((UCaseMap *)csm, temp, destCapacity,
538 if(destLength>0) {
539 int32_t copyLength= destLength<=destCapacity ? destLength : destCapacity;
549 return u_terminateUChars(dest, destCapacity, destLength, pErrorCod
[all...]
H A Duts46.cpp546 int32_t destLength=dest.length(); local
548 while(labelLimit<destLength) {
560 destLength+=newLength-labelLength;
565 destLength=mapDevChars(dest, labelStart, labelLimit, errorCode);
580 // Permit an empty label at the end (0<labelStart==labelLimit==destLength is ok)
H A Dushape.c1404 int32_t destLength; local
1587 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,2);
1590 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,1);
1594 destLength = handleTashkeelWithTatweel(tempbuffer,destLength,destCapacity,options,pErrorCode);
1600 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,0);
1605 destLength = deShapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode);
1609 destLength = 0;
1616 * we should U_ASSERT(outputSize==destLength)
1621 countSpaces(tempbuffer,destLength,option
[all...]
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Duparse.c240 int32_t destLength; local
253 destLength=0;
257 if(destLength<destCapacity) {
258 dest[destLength]=0;
259 } else if(destLength==destCapacity) {
264 return destLength;
281 if((destLength+U16_LENGTH(value))<=destCapacity) {
282 U16_APPEND_UNSAFE(dest, destLength, value);
284 destLength+=U16_LENGTH(value);
/external/icu4c/common/
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 Dunistr_cnv.cpp190 int32_t destLength; local
192 destLength = length;
194 destLength = capacity;
196 u_UCharsToChars(getArrayStart() + start, target, destLength);
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 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 Duprops.cpp138 int32_t destLength; local
139 destLength=u_strFoldCase(dest, LENGTHOF(dest),
144 dest, destLength, FALSE));
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 Dushape.cpp1411 int32_t destLength; local
1588 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,2,shapeVars);
1591 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,1,shapeVars);
1595 destLength = handleTashkeelWithTatweel(tempbuffer,destLength,destCapacity,options,pErrorCode);
1601 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,0,shapeVars);
1606 destLength = deShapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,shapeVars);
1610 destLength = 0;
1617 * we should U_ASSERT(outputSize==destLength)
1622 countSpaces(tempbuffer,destLength,option
[all...]
/external/icu4c/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/perf/utrie2perf/
H A Dutrie2perf.cpp192 int32_t destLength=unorm_normalize(testcase.getBuffer(), testcase.getBufferLen(), local
196 if(U_FAILURE(errorCode) || destLength!=destCapacity) {
/external/icu4c/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/chromium_org/third_party/icu/source/test/cintltst/
H A Dcustrtrn.c876 int32_t destLength; local
881 destLength=-99;
882 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 3, &errorCode);
883 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=1) {
884 log_err("error: u_strFromUTF8(preflight srcLength=3) fails: destLength=%ld - %s\n",
885 (long)destLength, u_errorName(errorCode));
890 destLength=-99;
891 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 4, &errorCode);
892 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=2) {
893 log_err("error: u_strFromUTF8(preflight srcLength=4) fails: destLength
976 int32_t srcLength, destLength0, destLength; local
[all...]
/external/icu4c/test/cintltst/
H A Dcustrtrn.c876 int32_t destLength; local
881 destLength=-99;
882 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 3, &errorCode);
883 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=1) {
884 log_err("error: u_strFromUTF8(preflight srcLength=3) fails: destLength=%ld - %s\n",
885 (long)destLength, u_errorName(errorCode));
890 destLength=-99;
891 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 4, &errorCode);
892 if(errorCode!=U_BUFFER_OVERFLOW_ERROR || destPointer!=NULL || destLength!=2) {
893 log_err("error: u_strFromUTF8(preflight srcLength=4) fails: destLength
976 int32_t srcLength, destLength0, destLength; local
[all...]
/external/chromium_org/third_party/icu/source/tools/dumpce/
H A Ddumpce.cpp980 int32_t destLength = u_strToUpper(upperChars, length*2, exemplarChars, -1, locale, &error); local
986 UChar* pattern = new UChar[length + destLength + 10];
/external/chromium_org/third_party/icu/source/tools/genrb/
H A Dwrtxml.cpp221 static char* convertAndEscape(char** pDest, int32_t destCap, int32_t* destLength, argument
347 *destLength = destLen;

Completed in 2823 milliseconds

12