/external/icu/icu4c/source/common/ |
D | unorm.cpp | 99 UChar *dest, int32_t destCapacity, in unorm_normalize() argument 106 src, srcLength, dest, destCapacity, pErrorCode); in unorm_normalize() 109 src, srcLength, dest, destCapacity, pErrorCode); in unorm_normalize() 118 UChar *dest, int32_t destCapacity, in _iterate() argument 125 if(destCapacity<0 || (dest==NULL && destCapacity>0) || src==NULL) { in _iterate() 134 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in _iterate() 163 UnicodeString destString(dest, 0, destCapacity); in _iterate() 165 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode); in _iterate() 172 return buffer.extract(dest, destCapacity, *pErrorCode); in _iterate() 178 UChar *dest, int32_t destCapacity, in unorm_iterate() argument [all …]
|
D | locdispnames.cpp | 302 UChar *dest, int32_t destCapacity, in _getStringOrCopyKey() argument 334 int32_t copyLength=uprv_min(length, destCapacity); in _getStringOrCopyKey() 341 u_charsToUChars(substitute, dest, uprv_min(length, destCapacity)); in _getStringOrCopyKey() 345 return u_terminateUChars(dest, destCapacity, length, pErrorCode); in _getStringOrCopyKey() 353 UChar *dest, int32_t destCapacity, in _getDisplayNameForComponent() argument 367 if(destCapacity<0 || (destCapacity>0 && dest==NULL)) { in _getDisplayNameForComponent() 379 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in _getDisplayNameForComponent() 387 dest, destCapacity, in _getDisplayNameForComponent() 394 UChar *dest, int32_t destCapacity, in uloc_getDisplayLanguage() argument 396 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayLanguage() [all …]
|
D | ustrcase.cpp | 43 int32_t checkOverflowAndEditsError(int32_t destIndex, int32_t destCapacity, in checkOverflowAndEditsError() argument 46 if (destIndex > destCapacity) { in checkOverflowAndEditsError() 65 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument 81 if(destIndex<destCapacity && c<=0xffff) { // BMP slightly-fastpath in appendResult() 90 } else if(destIndex<destCapacity && result<=0xffff) { // BMP slightly-fastpath in appendResult() 108 if(destIndex<destCapacity) { in appendResult() 113 U16_APPEND(dest, destIndex, destCapacity, c, isError); in appendResult() 120 if((destIndex+length)<=destCapacity) { in appendResult() 138 appendUChar(UChar *dest, int32_t destIndex, int32_t destCapacity, UChar c) { in appendUChar() argument 139 if(destIndex<destCapacity) { in appendUChar() [all …]
|
D | ustr_wcs.cpp | 66 int32_t destCapacity, in _strToWCS() argument 204 if(0 < count && count <= destCapacity){ in _strToWCS() 223 u_terminateWChars(dest,destCapacity,count,pErrorCode); in _strToWCS() 233 int32_t destCapacity, in u_strToWCS() argument 245 (destCapacity<0) || (dest == NULL && destCapacity > 0) in u_strToWCS() 256 if(0 < srcLength && srcLength <= destCapacity){ in u_strToWCS() 263 u_terminateUChars((UChar *)dest,destCapacity,srcLength,pErrorCode); in u_strToWCS() 269 return (wchar_t*)u_strToUTF32((UChar32*)dest, destCapacity, pDestLength, in u_strToWCS() 274 return _strToWCS(dest,destCapacity,pDestLength,src,srcLength, pErrorCode); in u_strToWCS() 284 int32_t destCapacity, in _strFromWCS() argument [all …]
|
D | ustrtrns.cpp | 41 int32_t destCapacity, in u_strFromUTF32WithSub() argument 59 (destCapacity<0) || (dest == NULL && destCapacity > 0) || in u_strFromUTF32WithSub() 71 destLimit = (dest!=NULL)?(dest + destCapacity):NULL; in u_strFromUTF32WithSub() 134 u_terminateUChars(dest, destCapacity, reqLength, pErrorCode); in u_strFromUTF32WithSub() 141 int32_t destCapacity, in u_strFromUTF32() argument 147 dest, destCapacity, pDestLength, in u_strFromUTF32() 155 int32_t destCapacity, in u_strToUTF32WithSub() argument 174 (destCapacity<0) || (dest == NULL && destCapacity > 0) || in u_strToUTF32WithSub() 186 destLimit = (dest!=NULL)?(dest + destCapacity):NULL; in u_strToUTF32WithSub() 240 u_terminateUChar32s(dest, destCapacity, reqLength, pErrorCode); in u_strToUTF32WithSub() [all …]
|
D | ustrcase_locale.cpp | 45 u_strToLower(UChar *dest, int32_t destCapacity, in u_strToLower() argument 51 dest, destCapacity, in u_strToLower() 57 u_strToUpper(UChar *dest, int32_t destCapacity, in u_strToUpper() argument 63 dest, destCapacity, in u_strToUpper() 73 UChar *dest, int32_t destCapacity, Edits *edits, in toLower() argument 77 dest, destCapacity, in toLower() 85 UChar *dest, int32_t destCapacity, Edits *edits, in toUpper() argument 89 dest, destCapacity, in toUpper()
|
D | uidna.cpp | 197 UChar* dest, int32_t destCapacity, in _internal_toASCII() argument 320 if(b1Len <= destCapacity){ in _internal_toASCII() 362 if(reqLength > destCapacity){ in _internal_toASCII() 392 return u_terminateUChars(dest, destCapacity, reqLength, status); in _internal_toASCII() 397 UChar* dest, int32_t destCapacity, in _internal_toUnicode() argument 545 if(b2Len <= destCapacity) { in _internal_toUnicode() 574 if(srcLength <= destCapacity){ in _internal_toUnicode() 599 if(dest && srcLength <= destCapacity){ in _internal_toUnicode() 608 return u_terminateUChars(dest, destCapacity, reqLength, status); in _internal_toUnicode() 613 UChar* dest, int32_t destCapacity, in uidna_toASCII() argument [all …]
|
D | unistr_cnv.cpp | 207 UnicodeString::extract(char *dest, int32_t destCapacity, in extract() argument 215 if(isBogus() || destCapacity<0 || (destCapacity>0 && dest==0)) { in extract() 222 return u_terminateChars(dest, destCapacity, 0, &errorCode); in extract() 239 int32_t len=doExtract(0, length(), dest, destCapacity, cnv, errorCode); in extract() 251 char *dest, int32_t destCapacity, in doExtract() argument 256 if(destCapacity!=0) { in doExtract() 266 if(destCapacity==0) { in doExtract() 268 } else if(destCapacity==-1) { in doExtract() 272 destCapacity=0x7fffffff; in doExtract() 274 destLimit=dest+destCapacity; in doExtract() [all …]
|
D | punycode.cpp | 185 UChar *dest, int32_t destCapacity, in u_strToPunycode() argument 198 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { in u_strToPunycode() 221 if(destLength<destCapacity) { in u_strToPunycode() 254 if(destLength<destCapacity) { in u_strToPunycode() 281 if(destLength<destCapacity) { in u_strToPunycode() 352 if(destLength<destCapacity) { in u_strToPunycode() 359 if(destLength<destCapacity) { in u_strToPunycode() 373 return u_terminateUChars(dest, destCapacity, destLength, pErrorCode); in u_strToPunycode() 378 UChar *dest, int32_t destCapacity, in u_strFromPunycode() argument 390 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { in u_strFromPunycode() [all …]
|
D | ucasemap.cpp | 623 char *dest, int32_t destCapacity, in ucasemap_mapUTF8() argument 632 if( destCapacity<0 || in ucasemap_mapUTF8() 633 (dest==NULL && destCapacity>0) || in ucasemap_mapUTF8() 647 ((src>=dest && src<(dest+destCapacity)) || in ucasemap_mapUTF8() 654 CheckedArrayByteSink sink(dest, destCapacity); in ucasemap_mapUTF8() 668 return u_terminateChars(dest, destCapacity, sink.NumberOfBytesAppended(), &errorCode); in ucasemap_mapUTF8() 675 char *dest, int32_t destCapacity, in ucasemap_utf8ToLower() argument 680 dest, destCapacity, in ucasemap_utf8ToLower() 687 char *dest, int32_t destCapacity, in ucasemap_utf8ToUpper() argument 692 dest, destCapacity, in ucasemap_utf8ToUpper() [all …]
|
D | ucasemap_imp.h | 151 UChar *dest, int32_t destCapacity, 159 UChar *dest, int32_t destCapacity, 170 UChar *dest, int32_t destCapacity, 180 UChar *dest, int32_t destCapacity, 191 UChar *dest, int32_t destCapacity, 204 UChar *dest, int32_t destCapacity, 249 char *dest, int32_t destCapacity,
|
D | ustring.cpp | 1358 static void _appendUChars(UChar *dest, int32_t destCapacity, in _appendUChars() argument 1360 if (destCapacity < 0) { in _appendUChars() 1361 destCapacity = 0; in _appendUChars() 1363 if (srcLen > destCapacity) { in _appendUChars() 1364 srcLen = destCapacity; in _appendUChars() 1371 u_unescape(const char *src, UChar *dest, int32_t destCapacity) { in u_unescape() argument 1385 _appendUChars(dest + i, destCapacity - i, in u_unescape() 1396 if (dest != NULL && U16_LENGTH(c32) <= (destCapacity - i)) { in u_unescape() 1408 _appendUChars(dest + i, destCapacity - i, in u_unescape() 1413 if (dest != NULL && i < destCapacity) { in u_unescape() [all …]
|
D | ustr_imp.h | 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);
|
/external/icu/icu4c/source/test/cintltst/ |
D | nfsprep.c | 43 char* dest, int32_t destCapacity, in nfs4_prepare() argument 68 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){ in nfs4_prepare() 119 if(dest!=NULL && reqLength <= destCapacity){ in nfs4_prepare() 134 return u_terminateChars(dest, destCapacity, reqLength, status); in nfs4_prepare() 209 char* dest, int32_t destCapacity, in nfs4_mixed_prepare() argument 226 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){ in nfs4_mixed_prepare() 261 if(dest != NULL && reqLen <= destCapacity){ in nfs4_mixed_prepare() 278 return u_terminateChars(dest, destCapacity, reqLen, status); in nfs4_mixed_prepare() 283 char* dest, int32_t destCapacity, in nfs4_cis_prepare() argument 286 return nfs4_prepare(src, srcLength, dest, destCapacity, NFS4_CIS_PREP, parseError, status); in nfs4_cis_prepare() [all …]
|
D | nfsprep.h | 55 char* dest, int32_t destCapacity, 71 char* dest, int32_t destCapacity, 86 char* dest, int32_t destCapacity, 101 char* dest, int32_t destCapacity,
|
/external/icu/icu4c/source/i18n/ |
D | uregex.cpp | 669 int32_t destCapacity, in uregex_group() argument 675 if (destCapacity < 0 || (destCapacity > 0 && dest == NULL)) { in uregex_group() 680 if (destCapacity == 0 || regexp->fText != NULL) { in uregex_group() 698 if (copyLength < destCapacity) { in uregex_group() 700 } else if (copyLength == destCapacity) { in uregex_group() 703 copyLength = destCapacity; in uregex_group() 723 …_t length = utext_extract(regexp->fMatcher->inputText(), start, limit, dest, destCapacity, status); in uregex_group() 1155 int32_t destCapacity, in uregex_replaceAll() argument 1162 (destBuf == NULL && destCapacity > 0) || in uregex_replaceAll() 1163 destCapacity < 0) { in uregex_replaceAll() [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | uparse.cpp | 190 uint32_t *dest, int32_t destCapacity, in u_parseCodePoints() argument 199 if(s==NULL || destCapacity<0 || (destCapacity>0 && dest==NULL)) { in u_parseCodePoints() 219 if(count<destCapacity) { in u_parseCodePoints() 238 UChar *dest, int32_t destCapacity, in u_parseString() argument 248 if(s==NULL || destCapacity<0 || (destCapacity>0 && dest==NULL)) { in u_parseString() 261 if(destLength<destCapacity) { in u_parseString() 263 } else if(destLength==destCapacity) { in u_parseString() 285 if((destLength+U16_LENGTH(value))<=destCapacity) { in u_parseString() 366 u_parseUTF8(const char *source, int32_t sLen, char *dest, int32_t destCapacity, UErrorCode *status)… in u_parseUTF8() argument 376 if(i < destCapacity) { in u_parseUTF8() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | idnaref.cpp | 132 UChar* dest, int32_t destCapacity, in convertToPuny() argument 183 if(b2Len < destCapacity){ in convertToPuny() 202 UChar* dest, int32_t destCapacity, in convertFromPuny() argument 230 u_strFromUTF32(dest,destCapacity,&destLen,(UChar32*)b2,b2Len,&status); in convertFromPuny() 247 UChar* dest, int32_t destCapacity, in idnaref_toASCII() argument 255 if((src == NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){ in idnaref_toASCII() 343 if(b1Len <= destCapacity){ in idnaref_toASCII() 380 if(reqLength > destCapacity){ in idnaref_toASCII() 410 return u_terminateUChars(dest, destCapacity, reqLength, status); in idnaref_toASCII() 416 UChar* dest, int32_t destCapacity, in idnaref_toUnicode() argument [all …]
|
D | nptrans.cpp | 142 UChar* dest, int32_t destCapacity, in map() argument 151 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { in map() 176 if(bufLen < destCapacity){ in map() 180 return u_terminateUChars(dest, destCapacity, bufLen, &status); in map() 187 UChar* dest, int32_t destCapacity, in process() argument 197 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { in process() 268 if(b1Len <= destCapacity){ in process() 273 return u_terminateUChars(dest, destCapacity, b1Len, &status); in process()
|
D | idnaref.h | 65 UChar* dest, int32_t destCapacity, 103 UChar* dest, int32_t destCapacity, 146 UChar* dest, int32_t destCapacity, 185 UChar* dest, int32_t destCapacity,
|
/external/icu/icu4c/source/common/unicode/ |
D | ustring.h | 1000 UChar *dest, int32_t destCapacity); 1073 u_strToUpper(UChar *dest, int32_t destCapacity, 1099 u_strToLower(UChar *dest, int32_t destCapacity, 1145 u_strToTitle(UChar *dest, int32_t destCapacity, 1178 u_strFoldCase(UChar *dest, int32_t destCapacity, 1208 int32_t destCapacity, 1237 int32_t destCapacity, 1268 int32_t destCapacity, 1298 int32_t destCapacity, 1341 int32_t destCapacity, [all …]
|
D | casemap.h | 67 char16_t *dest, int32_t destCapacity, Edits *edits, 103 char16_t *dest, int32_t destCapacity, Edits *edits, 154 char16_t *dest, int32_t destCapacity, Edits *edits, 196 char16_t *dest, int32_t destCapacity, Edits *edits, 355 char *dest, int32_t destCapacity, Edits *edits, 391 char *dest, int32_t destCapacity, Edits *edits, 441 char *dest, int32_t destCapacity, Edits *edits, 483 char *dest, int32_t destCapacity, Edits *edits,
|
D | ucasemap.h | 231 UChar *dest, int32_t destCapacity, 262 char *dest, int32_t destCapacity, 291 char *dest, int32_t destCapacity, 343 char *dest, int32_t destCapacity, 381 char *dest, int32_t destCapacity,
|
/external/icu/icu4c/source/tools/genrb/ |
D | prscmnts.cpp | 88 UChar** dest, int32_t destCapacity, in getText() argument 114 return out.extract(*dest, destCapacity,*status); in getText() 125 UChar** dest, int32_t destCapacity, in getDescription() argument 141 int32_t destLen = stringArray[0].extract(*dest, destCapacity, *status); in getDescription() 186 UChar** dest, int32_t destCapacity, in getAt() argument 216 return out.extract(*dest, destCapacity,*status); in getAt() 228 UChar** dest, int32_t destCapacity, in getTranslate() argument 232 int32_t destLen = getText(source, srcLen, dest, destCapacity, notePatternString, status); in getTranslate() 238 UChar** dest, int32_t destCapacity, in getNote() argument 242 int32_t destLen = getText(source, srcLen, dest, destCapacity, notePatternString, status); in getNote()
|
D | 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,
|