Home
last modified time | relevance | path

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

/external/icu4c/tools/genbrk/
Dgenbrk.cpp252 uint32_t destCap = ucnv_toUChars(conv, in main() local
264 UChar *ruleSourceU = new UChar[destCap+1]; in main()
267 destCap+1, in main()
281 UnicodeString ruleSourceS(FALSE, ruleSourceU, destCap); in main()
/external/icu4c/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/icu4c/tools/genrb/
Dwrtxml.cpp223 static char* convertAndEscape(char** pDest, int32_t destCap, int32_t* destLength, in convertAndEscape() argument
235 if(dest==NULL || destCap <=0){ in convertAndEscape()
236 destCap = srcLen * 8; in convertAndEscape()
237 dest = (char*) uprv_malloc(sizeof(char) * destCap); in convertAndEscape()
256 if((destLen+U8_LENGTH(c)) < destCap){ in convertAndEscape()
324 U8_APPEND((unsigned char*)dest,destLen,destCap,c,isError); in convertAndEscape()
333 destCap += destLen; in convertAndEscape()
335 temp = (char*) uprv_malloc(sizeof(char)*destCap); in convertAndEscape()
/external/icu4c/i18n/
Duregex.cpp1615 int32_t destCap = *destCapacity; in appendTail() local
1642 if (destIdx < destCap) { in appendTail()
1672 destIdx = utext_extract(m->fInputText, srcIdx, m->fInputLength, dest, destCap, status); in appendTail()
1679 if (destIdx < destCap) { in appendTail()
1681 } else if (destIdx == destCap) { in appendTail()
1691 if (destIdx < destCap) { in appendTail()
1695 *destBuf += destCap; in appendTail()