/external/icu/icu4c/source/common/ |
ustrcase_locale.cpp | 45 u_strToLower(UChar *dest, int32_t destCapacity, 51 dest, destCapacity, 57 u_strToUpper(UChar *dest, int32_t destCapacity, 63 dest, destCapacity, 73 UChar *dest, int32_t destCapacity, Edits *edits, 77 dest, destCapacity, 85 UChar *dest, int32_t destCapacity, Edits *edits, 89 dest, destCapacity,
|
punycode.h | 49 * @param destCapacity Size of dest. 70 UChar *dest, int32_t destCapacity, 82 * @param destCapacity Size of dest in number of UChars, 105 UChar *dest, int32_t destCapacity,
|
unorm.cpp | 99 UChar *dest, int32_t destCapacity, 106 src, srcLength, dest, destCapacity, pErrorCode); 109 src, srcLength, dest, destCapacity, pErrorCode); 118 UChar *dest, int32_t destCapacity, 125 if(destCapacity<0 || (dest==NULL && destCapacity>0) || src==NULL) { 134 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); 163 UnicodeString destString(dest, 0, destCapacity); 165 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode); 172 return buffer.extract(dest, destCapacity, *pErrorCode) [all...] |
ustr_wcs.cpp | 66 int32_t destCapacity, 204 if(0 < count && count <= destCapacity){ 223 u_terminateWChars(dest,destCapacity,count,pErrorCode); 233 int32_t destCapacity, 245 (destCapacity<0) || (dest == NULL && destCapacity > 0) 256 if(0 < srcLength && srcLength <= destCapacity){ 263 u_terminateUChars((UChar *)dest,destCapacity,srcLength,pErrorCode); 269 return (wchar_t*)u_strToUTF32((UChar32*)dest, destCapacity, pDestLength, 274 return _strToWCS(dest,destCapacity,pDestLength,src,srcLength, pErrorCode) [all...] |
ustr_imp.h | 51 * If length < destCapacity then NUL-terminate. 52 * If length == destCapacity then do not terminate but set U_STRING_NOT_TERMINATED_WARNING. 53 * If length > destCapacity then do not terminate but set U_BUFFER_OVERFLOW_ERROR. 55 * @param dest Destination buffer, can be NULL if destCapacity==0. 56 * @param destCapacity Number of UChars available at dest. 62 u_terminateUChars(UChar *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode); 69 u_terminateChars(char *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode); 76 u_terminateUChar32s(UChar32 *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode); 83 u_terminateWChars(wchar_t *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode);
|
unistr_cnv.cpp | 207 UnicodeString::extract(char *dest, int32_t destCapacity, 215 if(isBogus() || destCapacity<0 || (destCapacity>0 && dest==0)) { 222 return u_terminateChars(dest, destCapacity, 0, &errorCode); 239 int32_t len=doExtract(0, length(), dest, destCapacity, cnv, errorCode); 251 char *dest, int32_t destCapacity, 256 if(destCapacity!=0) { 266 if(destCapacity==0) { 268 } else if(destCapacity==-1) { 269 // Pin the limit to U_MAX_PTR if the "magic" destCapacity is used [all...] |
ustrcase.cpp | 43 int32_t checkOverflowAndEditsError(int32_t destIndex, int32_t destCapacity, 46 if (destIndex > destCapacity) { 65 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, 81 if(destIndex<destCapacity && c<=0xffff) { // BMP slightly-fastpath 90 } else if(destIndex<destCapacity && result<=0xffff) { // BMP slightly-fastpath 108 if(destIndex<destCapacity) { 113 U16_APPEND(dest, destIndex, destCapacity, c, isError); 120 if((destIndex+length)<=destCapacity) { 138 appendUChar(UChar *dest, int32_t destIndex, int32_t destCapacity, UChar c) { 139 if(destIndex<destCapacity) { [all...] |
uidna.cpp | 197 UChar* dest, int32_t destCapacity, 320 if(b1Len <= destCapacity){ 362 if(reqLength > destCapacity){ 392 return u_terminateUChars(dest, destCapacity, reqLength, status); 397 UChar* dest, int32_t destCapacity, 545 if(b2Len <= destCapacity) { 574 if(srcLength <= destCapacity){ 599 if(dest && srcLength <= destCapacity){ 608 return u_terminateUChars(dest, destCapacity, reqLength, status); 613 UChar* dest, int32_t destCapacity, [all...] |
locdispnames.cpp | 302 UChar *dest, int32_t destCapacity, 334 int32_t copyLength=uprv_min(length, destCapacity); 341 u_charsToUChars(substitute, dest, uprv_min(length, destCapacity)); 345 return u_terminateUChars(dest, destCapacity, length, pErrorCode); 353 UChar *dest, int32_t destCapacity, 367 if(destCapacity<0 || (destCapacity>0 && dest==NULL)) { 379 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); 387 dest, destCapacity, 394 UChar *dest, int32_t destCapacity, [all...] |
punycode.cpp | 185 UChar *dest, int32_t destCapacity, 198 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { 221 if(destLength<destCapacity) { 254 if(destLength<destCapacity) { 281 if(destLength<destCapacity) { 352 if(destLength<destCapacity) { 359 if(destLength<destCapacity) { 373 return u_terminateUChars(dest, destCapacity, destLength, pErrorCode); 378 UChar *dest, int32_t destCapacity, 390 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) [all...] |
ustrtrns.cpp | 41 int32_t destCapacity, 59 (destCapacity<0) || (dest == NULL && destCapacity > 0) || 71 destLimit = (dest!=NULL)?(dest + destCapacity):NULL; 134 u_terminateUChars(dest, destCapacity, reqLength, pErrorCode); 141 int32_t destCapacity, 147 dest, destCapacity, pDestLength, 155 int32_t destCapacity, 174 (destCapacity<0) || (dest == NULL && destCapacity > 0) | [all...] |
/external/icu/icu4c/source/test/cintltst/ |
nfsprep.h | 48 * @param destCapacity 55 char* dest, int32_t destCapacity, 62 * @param destCapacity 71 char* dest, int32_t destCapacity, 77 * @param destCapacity 86 char* dest, int32_t destCapacity, 92 * @param destCapacity 101 char* dest, int32_t destCapacity,
|
nfsprep.c | 43 char* dest, int32_t destCapacity, 68 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){ 119 if(dest!=NULL && reqLength <= destCapacity){ 134 return u_terminateChars(dest, destCapacity, reqLength, status); 209 char* dest, int32_t destCapacity, 226 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){ 261 if(dest != NULL && reqLen <= destCapacity){ 278 return u_terminateChars(dest, destCapacity, reqLen, status) [all...] |
/external/icu/icu4c/source/common/unicode/ |
casemap.h | 47 * @param destCapacity The size of the buffer (number of char16_ts). If it is 0, then 58 * When the result would be longer than destCapacity, 67 char16_t *dest, int32_t destCapacity, Edits *edits, 83 * @param destCapacity The size of the buffer (number of char16_ts). If it is 0, then 94 * When the result would be longer than destCapacity, 103 char16_t *dest, int32_t destCapacity, Edits *edits, 133 * @param destCapacity The size of the buffer (number of char16_ts). If it is 0, then 144 * When the result would be longer than destCapacity, 154 char16_t *dest, int32_t destCapacity, Edits *edits, 176 * @param destCapacity The size of the buffer (number of char16_ts). If it is 0, the [all...] |
ucasemap.h | 216 * @param destCapacity The size of the buffer (number of UChars). If it is 0, then 224 * in which case it will be greater than destCapacity. 231 UChar *dest, int32_t destCapacity, 247 * @param destCapacity The size of the buffer (number of bytes). If it is 0, then 255 * in which case it will be greater than destCapacity. 262 char *dest, int32_t destCapacity, 276 * @param destCapacity The size of the buffer (number of bytes). If it is 0, then 284 * in which case it will be greater than destCapacity. 291 char *dest, int32_t destCapacity, 326 * @param destCapacity The size of the buffer (number of bytes). If it is 0, the [all...] |
ustring.h | [all...] |
unorm.h | 367 * @param dest The output buffer; can be NULL if destCapacity==0 for pure preflighting. 368 * @param destCapacity The number of UChars that fit into dest. 388 UChar *dest, int32_t destCapacity, 400 * @param dest The output buffer; can be NULL if destCapacity==0 for pure preflighting. 401 * @param destCapacity The number of UChars that fit into dest. 421 UChar *dest, int32_t destCapacity, 449 * @param dest The output buffer; can be NULL if destCapacity==0 for pure preflighting. 450 * @param destCapacity The number of UChars that fit into dest. 466 UChar *dest, int32_t destCapacity,
|
/external/icu/icu4c/source/test/intltest/ |
idnaref.h | 43 * @param destCapacity Size of dest. 60 * U_BUFFER_OVERFLOW_ERROR if destCapacity is not enough 65 UChar* dest, int32_t destCapacity, 81 * @param destCapacity Size of dest. 98 * U_BUFFER_OVERFLOW_ERROR if destCapacity is not enough 103 UChar* dest, int32_t destCapacity, 124 * @param destCapacity Size of dest. 141 * U_BUFFER_OVERFLOW_ERROR if destCapacity is not enough 146 UChar* dest, int32_t destCapacity, 163 * @param destCapacity Size of dest [all...] |
idnaref.cpp | 132 UChar* dest, int32_t destCapacity, 183 if(b2Len < destCapacity){ 202 UChar* dest, int32_t destCapacity, 230 u_strFromUTF32(dest,destCapacity,&destLen,(UChar32*)b2,b2Len,&status); 247 UChar* dest, int32_t destCapacity, 255 if((src == NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){ 343 if(b1Len <= destCapacity){ 380 if(reqLength > destCapacity){ 410 return u_terminateUChars(dest, destCapacity, reqLength, status) [all...] |
nptrans.cpp | 142 UChar* dest, int32_t destCapacity, 151 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { 176 if(bufLen < destCapacity){ 180 return u_terminateUChars(dest, destCapacity, bufLen, &status); 187 UChar* dest, int32_t destCapacity, 197 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { 268 if(b1Len <= destCapacity){ 273 return u_terminateUChars(dest, destCapacity, b1Len, &status);
|
/external/icu/icu4c/source/tools/genrb/ |
prscmnts.h | 38 UChar** dest, int32_t destCapacity, 45 UChar** dest, int32_t destCapacity, 49 UChar** dest, int32_t destCapacity, 54 UChar** dest, int32_t destCapacity,
|
prscmnts.cpp | 88 UChar** dest, int32_t destCapacity, 114 return out.extract(*dest, destCapacity,*status); 125 UChar** dest, int32_t destCapacity, 141 int32_t destLen = stringArray[0].extract(*dest, destCapacity, *status); 186 UChar** dest, int32_t destCapacity, 216 return out.extract(*dest, destCapacity,*status); 228 UChar** dest, int32_t destCapacity, 232 int32_t destLen = getText(source, srcLen, dest, destCapacity, notePatternString, status); 238 UChar** dest, int32_t destCapacity, 242 int32_t destLen = getText(source, srcLen, dest, destCapacity, notePatternString, status) [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
uparse.cpp | 185 * store them as a UTF-32 string in dest[destCapacity] 190 uint32_t *dest, int32_t destCapacity, 199 if(s==NULL || destCapacity<0 || (destCapacity>0 && dest==NULL)) { 219 if(count<destCapacity) { 232 * store them as a string in dest[destCapacity] 238 UChar *dest, int32_t destCapacity, 248 if(s==NULL || destCapacity<0 || (destCapacity>0 && dest==NULL)) { 261 if(destLength<destCapacity) { [all...] |
uparse.h | 99 uint32_t *dest, int32_t destCapacity, 111 * @param destCapacity Capacity of dest in numbers of UChars. 119 UChar *dest, int32_t destCapacity, 149 u_parseUTF8(const char *source, int32_t sLen, char *dest, int32_t destCapacity, UErrorCode *status);
|
/external/icu/icu4c/source/i18n/ |
uregex.cpp | 669 int32_t destCapacity, 675 if (destCapacity < 0 || (destCapacity > 0 && dest == NULL)) { 680 if (destCapacity == 0 || regexp->fText != NULL) { 698 if (copyLength < destCapacity) { 700 } else if (copyLength == destCapacity) { 703 copyLength = destCapacity; 723 int32_t length = utext_extract(regexp->fMatcher->inputText(), start, limit, dest, destCapacity, status); [all...] |