Home
last modified time | relevance | path

Searched refs:destCap (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/samples/ugrep/
Dugrep.cpp328 uint32_t destCap = ucnv_toUChars(conv, in readFile() local
340 ucharBuf = (UChar *)realloc(ucharBuf, (destCap+1) * sizeof(UChar)); in readFile()
343 destCap+1, in readFile()
357 fileLen = destCap; in readFile()
/external/icu/icu4c/source/tools/genbrk/
Dgenbrk.cpp254 uint32_t destCap = ucnv_toUChars(conv, in main() local
266 UChar *ruleSourceU = new UChar[destCap+1]; in main()
269 destCap+1, in main()
283 UnicodeString ruleSourceS(FALSE, ruleSourceU, destCap); in main()
/external/icu/icu4c/source/tools/genrb/
Dwrtxml.cpp233 static char* convertAndEscape(char** pDest, int32_t destCap, int32_t* destLength, in convertAndEscape() argument
245 if(dest==NULL || destCap <=0){ in convertAndEscape()
246 destCap = srcLen * 8; in convertAndEscape()
247 dest = (char*) uprv_malloc(sizeof(char) * destCap); in convertAndEscape()
266 if((destLen+U8_LENGTH(c)) < destCap){ in convertAndEscape()
334 U8_APPEND((unsigned char*)dest,destLen,destCap,c,isError); in convertAndEscape()
343 destCap += destLen; in convertAndEscape()
345 temp = (char*) uprv_malloc(sizeof(char)*destCap); in convertAndEscape()
/external/icu/icu4c/source/i18n/
Duregex.cpp1642 int32_t destCap = *destCapacity; in appendTail() local
1669 if (destIdx < destCap) { in appendTail()
1699 destIdx = utext_extract(m->fInputText, srcIdx, m->fInputLength, dest, destCap, status); in appendTail()
1706 if (destIdx < destCap) { in appendTail()
1708 } else if (destIdx == destCap) { in appendTail()
1718 if (destIdx < destCap) { in appendTail()
1722 *destBuf += destCap; in appendTail()