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

/macosx-10.9.5/ICU-511.35/icuSources/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.cpp1403 int32_t destLength; local
1580 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,2,shapeVars);
1583 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,1,shapeVars);
1587 destLength = handleTashkeelWithTatweel(tempbuffer,destLength,destCapacity,options,pErrorCode);
1593 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,0,shapeVars);
1598 destLength = deShapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,shapeVars);
1602 destLength = 0;
1609 * we should U_ASSERT(outputSize==destLength)
1614 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.c1723 int32_t destLength; local
1755 destLength=(int32_t)(dest-originalDest);
1766 destLength+=(int32_t)(dest-buffer);
1770 destLength=0;
1773 return u_terminateChars(originalDest, destCapacity, destLength, pErrorCode);
1783 int32_t destLength; local
1815 destLength=(int32_t)(dest-originalDest);
1827 destLength+=(int32_t)(dest-buffer);
1832 destLength=0;
1835 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));
H A Duts46.cpp552 int32_t destLength=dest.length(); local
554 while(labelLimit<destLength) {
566 destLength+=newLength-labelLength;
571 destLength=mapDevChars(dest, labelStart, labelLimit, errorCode);
586 // Permit an empty label at the end (0<labelStart==labelLimit==destLength is ok)
H A Duniset.cpp1472 int32_t bmpLength, length, destLength;
1523 destLength=length+((length>bmpLength)?2:1);
1524 if (destLength<=destCapacity) {
1549 return destLength;
H A Dutext.cpp1495 int32_t destLength=0; local
1496 utext_strFromUTF8(dest, destCapacity, &destLength,
1500 return destLength;
/macosx-10.9.5/ICU-511.35/icuSources/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);
/macosx-10.9.5/ICU-511.35/icuSources/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...]
H A Dcbiditst.c1141 destLength=ubidi_getResultLength(pBiDi); local
1164 ubidi_invertMap(visualMap1, logicalMap2, destLength);
1216 for(i=0; i<destLength; ++i) {
1220 for(i=0; i<destLength; ++i) {
/macosx-10.9.5/ICU-511.35/icuSources/test/perf/utrie2perf/
H A Dutrie2perf.cpp192 int32_t destLength=unorm_normalize(testcase.getBuffer(), testcase.getBufferLen(), local
196 if(U_FAILURE(errorCode) || destLength!=destCapacity) {
/macosx-10.9.5/WebKit-7537.78.2/blackberry/WebKitSupport/
H A DInputHandler.cpp497 static bool convertStringToWchar(const WTF::String& string, wchar_t* dest, int destCapacity, int* destLength) argument
504 destLength = 0;
511 u_strToUTF32(reinterpret_cast<UChar32*>(dest), destCapacity, destLength, string.characters(), length, &ec); local
514 destLength = 0;
533 int destLength = 0; local
534 if (!convertStringToWchar(string, wcharString.data(), length + 1, &destLength))
537 wcharString.resize(destLength);
553 int destLength = 0; local
556 u_strFromUTF32(dest.data(), destCapacity, &destLength, reinterpret_cast<UChar32*>(src->str), src->length, &ec);
561 dest.resize(destLength);
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/tools/genrb/
H A Dwrtxml.cpp223 static char* convertAndEscape(char** pDest, int32_t destCap, int32_t* destLength, argument
349 *destLength = destLen;
/macosx-10.9.5/ICU-511.35/icuSources/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];
/macosx-10.9.5/ICU-511.35/icuSources/i18n/
H A Ducol.cpp4215 int32_t destLength=src1Length+src2Length; local
4216 if(destLength>destCapacity) {
4218 return destLength;
4262 /* the actual length might be less than destLength if either sort key contained illegally embedded zero bytes */

Completed in 213 milliseconds