/third_party/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()
|
/third_party/icu/icu4c/source/samples/ugrep/ |
D | ugrep.cpp | 335 uint32_t destCap = ucnv_toUChars(conv, in readFile() local 347 ucharBuf = (UChar *)realloc(ucharBuf, (destCap+1) * sizeof(UChar)); in readFile() 350 destCap+1, in readFile() 364 fileLen = destCap; in readFile()
|
/third_party/skia/third_party/externals/icu/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()
|
/third_party/skia/third_party/externals/icu/source/samples/ugrep/ |
D | ugrep.cpp | 335 uint32_t destCap = ucnv_toUChars(conv, in readFile() local 347 ucharBuf = (UChar *)realloc(ucharBuf, (destCap+1) * sizeof(UChar)); in readFile() 350 destCap+1, in readFile() 364 fileLen = destCap; in readFile()
|
/third_party/skia/third_party/externals/icu/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()
|
/third_party/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()
|
/third_party/node/deps/icu-small/source/tools/genrb/ |
D | wrtxml.cpp | 235 static char* convertAndEscape(char** pDest, int32_t destCap, int32_t* destLength, in convertAndEscape() argument 247 if(dest==nullptr || 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()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | uregex.cpp | 1647 int32_t destCap = *destCapacity; in appendTail() local 1674 if (destIdx < destCap) { in appendTail() 1704 destIdx = utext_extract(m->fInputText, srcIdx, m->fInputLength, dest, destCap, status); in appendTail() 1711 if (destIdx < destCap) { in appendTail() 1713 } else if (destIdx == destCap) { in appendTail() 1723 if (destIdx < destCap) { in appendTail() 1727 *destBuf += destCap; in appendTail()
|
/third_party/icu/icu4c/source/i18n/ |
D | uregex.cpp | 1647 int32_t destCap = *destCapacity; in appendTail() local 1674 if (destIdx < destCap) { in appendTail() 1704 destIdx = utext_extract(m->fInputText, srcIdx, m->fInputLength, dest, destCap, status); in appendTail() 1711 if (destIdx < destCap) { in appendTail() 1713 } else if (destIdx == destCap) { in appendTail() 1723 if (destIdx < destCap) { in appendTail() 1727 *destBuf += destCap; in appendTail()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | uregex.cpp | 1647 int32_t destCap = *destCapacity; in appendTail() local 1674 if (destIdx < destCap) { in appendTail() 1704 destIdx = utext_extract(m->fInputText, srcIdx, m->fInputLength, dest, destCap, status); in appendTail() 1711 if (destIdx < destCap) { in appendTail() 1713 } else if (destIdx == destCap) { in appendTail() 1723 if (destIdx < destCap) { in appendTail() 1727 *destBuf += destCap; in appendTail()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | regextst.cpp | 5782 const int32_t destCap = 20; in TestBug13632() local 5783 char16_t dest[destCap] = {}; in TestBug13632() 5785 uregex_replaceAll(re, replacement, 2, dest, destCap, &status); in TestBug13632()
|