Searched refs:destCap (Results 1 – 4 of 4) sorted by relevance
/external/icu/icu4c/source/samples/ugrep/ |
D | ugrep.cpp | 334 uint32_t destCap = ucnv_toUChars(conv, in readFile() local 346 ucharBuf = (UChar *)realloc(ucharBuf, (destCap+1) * sizeof(UChar)); in readFile() 349 destCap+1, in readFile() 363 fileLen = destCap; in readFile()
|
/external/icu/icu4c/source/tools/genbrk/ |
D | genbrk.cpp | 256 uint32_t destCap = ucnv_toUChars(conv, in main() local 268 UChar *ruleSourceU = new UChar[destCap+1]; in main() 271 destCap+1, in main() 285 UnicodeString ruleSourceS(FALSE, ruleSourceU, destCap); in main()
|
/external/icu/icu4c/source/tools/genrb/ |
D | wrtxml.cpp | 235 static char* convertAndEscape(char** pDest, int32_t destCap, int32_t* destLength, in convertAndEscape() argument 247 if(dest==NULL || destCap <=0){ in convertAndEscape() 248 destCap = srcLen * 8; in convertAndEscape() 249 dest = (char*) uprv_malloc(sizeof(char) * destCap); in convertAndEscape() 268 if((destLen+U8_LENGTH(c)) < destCap){ in convertAndEscape() 336 U8_APPEND((unsigned char*)dest,destLen,destCap,c,isError); in convertAndEscape() 345 destCap += destLen; in convertAndEscape() 347 temp = (char*) uprv_malloc(sizeof(char)*destCap); in convertAndEscape()
|
/external/icu/icu4c/source/i18n/ |
D | uregex.cpp | 1644 int32_t destCap = *destCapacity; in appendTail() local 1671 if (destIdx < destCap) { in appendTail() 1701 destIdx = utext_extract(m->fInputText, srcIdx, m->fInputLength, dest, destCap, status); in appendTail() 1708 if (destIdx < destCap) { in appendTail() 1710 } else if (destIdx == destCap) { in appendTail() 1720 if (destIdx < destCap) { in appendTail() 1724 *destBuf += destCap; in appendTail()
|