/external/icu4c/common/ |
D | ucasemap.c | 130 appendResult(uint8_t *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument 149 if(destIndex<destCapacity) { in appendResult() 154 U8_APPEND(dest, destIndex, destCapacity, c, isError); in appendResult() 163 (char *)(dest+destIndex), destCapacity-destIndex, &destLength, in appendResult() 223 uint8_t *dest, int32_t destCapacity, in _caseMap() argument 243 while(destIndex<destCapacity && i<srcIndex) { in _caseMap() 249 …if((destIndex<destCapacity) && (c<0 ? (c2=~c)<=0x7f : UCASE_MAX_STRING_LENGTH<c && (c2=c)<=0x7f)) { in _caseMap() 253 destIndex=appendResult(dest, destIndex, destCapacity, c, s); in _caseMap() 257 if(destIndex>destCapacity) { in _caseMap() 270 uint8_t *dest, int32_t destCapacity, in _toTitle() argument [all …]
|
D | ustrcase.c | 34 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument 52 if(destIndex<destCapacity) { in appendResult() 57 U16_APPEND(dest, destIndex, destCapacity, c, isError); in appendResult() 64 if((destIndex+length)<=destCapacity) { in appendResult() 123 UChar *dest, int32_t destCapacity, in _caseMap() argument 142 …if((destIndex<destCapacity) && (c<0 ? (c2=~c)<=0xffff : UCASE_MAX_STRING_LENGTH<c && (c2=c)<=0xfff… in _caseMap() 146 destIndex=appendResult(dest, destIndex, destCapacity, c, s); in _caseMap() 150 if(destIndex>destCapacity) { in _caseMap() 210 UChar *dest, int32_t destCapacity, in _toTitle() argument 283 if((destIndex+length)<=destCapacity) { in _toTitle() [all …]
|
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 unorm_iterate() argument 139 if( destCapacity<0 || (dest==NULL && destCapacity>0) || in unorm_iterate() 150 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in unorm_iterate() 179 UnicodeString destString(dest, 0, destCapacity); in unorm_iterate() 181 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode); in unorm_iterate() 188 return buffer.extract(dest, destCapacity, *pErrorCode); in unorm_iterate() 194 UChar *dest, int32_t destCapacity, in unorm_previous() argument [all …]
|
D | locdispnames.cpp | 299 UChar *dest, int32_t destCapacity, in _getStringOrCopyKey() argument 331 int32_t copyLength=uprv_min(length, destCapacity); in _getStringOrCopyKey() 338 u_charsToUChars(substitute, dest, uprv_min(length, destCapacity)); in _getStringOrCopyKey() 342 return u_terminateUChars(dest, destCapacity, length, pErrorCode); in _getStringOrCopyKey() 350 UChar *dest, int32_t destCapacity, in _getDisplayNameForComponent() argument 364 if(destCapacity<0 || (destCapacity>0 && dest==NULL)) { in _getDisplayNameForComponent() 376 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in _getDisplayNameForComponent() 384 dest, destCapacity, in _getDisplayNameForComponent() 391 UChar *dest, int32_t destCapacity, in uloc_getDisplayLanguage() argument 393 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayLanguage() [all …]
|
D | ustr_wcs.c | 68 int32_t destCapacity, in _strToWCS() argument 202 if(0 < count && count <= destCapacity){ in _strToWCS() 221 u_terminateWChars(dest,destCapacity,count,pErrorCode); in _strToWCS() 231 int32_t destCapacity, in u_strToWCS() argument 243 (destCapacity<0) || (dest == NULL && destCapacity > 0) in u_strToWCS() 254 if(0 < srcLength && srcLength <= destCapacity){ in u_strToWCS() 261 u_terminateUChars(dest,destCapacity,srcLength,pErrorCode); in u_strToWCS() 267 return (wchar_t*)u_strToUTF32((UChar32*)dest, destCapacity, pDestLength, in u_strToWCS() 272 return _strToWCS(dest,destCapacity,pDestLength,src,srcLength, pErrorCode); in u_strToWCS() 282 int32_t destCapacity, in _strFromWCS() argument [all …]
|
D | ustrtrns.c | 35 int32_t destCapacity, in u_strFromUTF32WithSub() argument 53 (destCapacity<0) || (dest == NULL && destCapacity > 0) || in u_strFromUTF32WithSub() 65 destLimit = dest + destCapacity; in u_strFromUTF32WithSub() 128 u_terminateUChars(dest, destCapacity, reqLength, pErrorCode); in u_strFromUTF32WithSub() 135 int32_t destCapacity, in u_strFromUTF32() argument 141 dest, destCapacity, pDestLength, in u_strFromUTF32() 149 int32_t destCapacity, in u_strToUTF32WithSub() argument 168 (destCapacity<0) || (dest == NULL && destCapacity > 0) || in u_strToUTF32WithSub() 180 destLimit = dest + destCapacity; in u_strToUTF32WithSub() 234 u_terminateUChar32s(dest, destCapacity, reqLength, pErrorCode); in u_strToUTF32WithSub() [all …]
|
D | ustr_imp.h | 111 UChar *dest, int32_t destCapacity, 118 UChar *dest, int32_t destCapacity, 127 UChar *dest, int32_t destCapacity, 140 UChar *dest, int32_t destCapacity, 158 u_terminateUChars(UChar *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode); 165 u_terminateChars(char *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode); 172 u_terminateUChar32s(UChar32 *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode); 179 u_terminateWChars(wchar_t *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode);
|
D | uidna.cpp | 195 UChar* dest, int32_t destCapacity, in _internal_toASCII() argument 318 if(b1Len <= destCapacity){ in _internal_toASCII() 360 if(reqLength > destCapacity){ in _internal_toASCII() 390 return u_terminateUChars(dest, destCapacity, reqLength, status); in _internal_toASCII() 395 UChar* dest, int32_t destCapacity, in _internal_toUnicode() argument 544 if(b2Len <= destCapacity) { in _internal_toUnicode() 573 if(srcLength <= destCapacity){ in _internal_toUnicode() 598 if(dest && srcLength <= destCapacity){ in _internal_toUnicode() 607 return u_terminateUChars(dest, destCapacity, reqLength, status); in _internal_toUnicode() 612 UChar* dest, int32_t destCapacity, in uidna_toASCII() argument [all …]
|
D | unistr_cnv.cpp | 215 UnicodeString::extract(char *dest, int32_t destCapacity, in extract() argument 223 if(isBogus() || destCapacity<0 || (destCapacity>0 && dest==0)) { in extract() 230 return u_terminateChars(dest, destCapacity, 0, &errorCode); in extract() 247 int32_t len=doExtract(0, length(), dest, destCapacity, cnv, errorCode); in extract() 259 char *dest, int32_t destCapacity, in doExtract() argument 264 if(destCapacity!=0) { in doExtract() 274 if(destCapacity==0) { in doExtract() 276 } else if(destCapacity==-1) { in doExtract() 280 destCapacity=0x7fffffff; in doExtract() 282 destLimit=dest+destCapacity; in doExtract() [all …]
|
D | punycode.c | 180 UChar *dest, int32_t destCapacity, in u_strToPunycode() argument 193 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { in u_strToPunycode() 216 if(destLength<destCapacity) { in u_strToPunycode() 249 if(destLength<destCapacity) { in u_strToPunycode() 276 if(destLength<destCapacity) { in u_strToPunycode() 347 if(destLength<destCapacity) { in u_strToPunycode() 354 if(destLength<destCapacity) { in u_strToPunycode() 368 return u_terminateUChars(dest, destCapacity, destLength, pErrorCode); in u_strToPunycode() 373 UChar *dest, int32_t destCapacity, in u_strFromPunycode() argument 385 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { in u_strFromPunycode() [all …]
|
/external/icu4c/test/cintltst/ |
D | nfsprep.c | 41 char* dest, int32_t destCapacity, in nfs4_prepare() argument 66 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){ in nfs4_prepare() 117 if(dest!=NULL && reqLength <= destCapacity){ in nfs4_prepare() 132 return u_terminateChars(dest, destCapacity, reqLength, status); in nfs4_prepare() 207 char* dest, int32_t destCapacity, in nfs4_mixed_prepare() argument 224 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){ in nfs4_mixed_prepare() 259 if(dest != NULL && reqLen <= destCapacity){ in nfs4_mixed_prepare() 276 return u_terminateChars(dest, destCapacity, reqLen, status); in nfs4_mixed_prepare() 281 char* dest, int32_t destCapacity, in nfs4_cis_prepare() argument 284 return nfs4_prepare(src, srcLength, dest, destCapacity, NFS4_CIS_PREP, parseError, status); in nfs4_cis_prepare() [all …]
|
D | nfsprep.h | 53 char* dest, int32_t destCapacity, 69 char* dest, int32_t destCapacity, 84 char* dest, int32_t destCapacity, 99 char* dest, int32_t destCapacity,
|
/external/icu4c/i18n/ |
D | uregex.cpp | 636 int32_t destCapacity, in uregex_group() argument 642 if (destCapacity < 0 || (destCapacity > 0 && dest == NULL)) { in uregex_group() 647 if (destCapacity == 0 || regexp->fText != NULL) { in uregex_group() 665 if (copyLength < destCapacity) { in uregex_group() 667 } else if (copyLength == destCapacity) { in uregex_group() 670 copyLength = destCapacity; in uregex_group() 683 …_t result = utext_extract(groupText, 0, utext_nativeLength(groupText), dest, destCapacity, status); in uregex_group() 1158 int32_t destCapacity, in uregex_replaceAll() argument 1165 (destBuf == NULL && destCapacity > 0) || in uregex_replaceAll() 1166 destCapacity < 0) { in uregex_replaceAll() [all …]
|
/external/icu4c/tools/toolutil/ |
D | uparse.c | 187 uint32_t *dest, int32_t destCapacity, in u_parseCodePoints() argument 196 if(s==NULL || destCapacity<0 || (destCapacity>0 && dest==NULL)) { in u_parseCodePoints() 216 if(count<destCapacity) { in u_parseCodePoints() 235 UChar *dest, int32_t destCapacity, in u_parseString() argument 245 if(s==NULL || destCapacity<0 || (destCapacity>0 && dest==NULL)) { in u_parseString() 257 if(destLength<destCapacity) { in u_parseString() 259 } else if(destLength==destCapacity) { in u_parseString() 281 if((destLength+U16_LENGTH(value))<=destCapacity) { in u_parseString() 362 u_parseUTF8(const char *source, int32_t sLen, char *dest, int32_t destCapacity, UErrorCode *status)… in u_parseUTF8() argument 372 if(i < destCapacity) { in u_parseUTF8() [all …]
|
/external/icu4c/common/unicode/ |
D | ustring.h | 1003 UChar *dest, int32_t destCapacity); 1076 u_strToUpper(UChar *dest, int32_t destCapacity, 1102 u_strToLower(UChar *dest, int32_t destCapacity, 1148 u_strToTitle(UChar *dest, int32_t destCapacity, 1179 u_strFoldCase(UChar *dest, int32_t destCapacity, 1209 int32_t destCapacity, 1238 int32_t destCapacity, 1269 int32_t destCapacity, 1299 int32_t destCapacity, 1343 int32_t destCapacity, [all …]
|
D | ucasemap.h | 269 UChar *dest, int32_t destCapacity, 300 char *dest, int32_t destCapacity, 329 char *dest, int32_t destCapacity, 381 char *dest, int32_t destCapacity, 417 char *dest, int32_t destCapacity,
|
/external/icu4c/test/intltest/ |
D | idnaref.cpp | 130 UChar* dest, int32_t destCapacity, in convertToPuny() argument 181 if(b2Len < destCapacity){ in convertToPuny() 200 UChar* dest, int32_t destCapacity, in convertFromPuny() argument 228 u_strFromUTF32(dest,destCapacity,&destLen,(UChar32*)b2,b2Len,&status); in convertFromPuny() 245 UChar* dest, int32_t destCapacity, in idnaref_toASCII() argument 253 if((src == NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){ in idnaref_toASCII() 339 if(b1Len <= destCapacity){ in idnaref_toASCII() 376 if(reqLength > destCapacity){ in idnaref_toASCII() 406 return u_terminateUChars(dest, destCapacity, reqLength, status); in idnaref_toASCII() 412 UChar* dest, int32_t destCapacity, in idnaref_toUnicode() argument [all …]
|
/external/icu4c/tools/genrb/ |
D | prscmnts.cpp | 76 UChar** dest, int32_t destCapacity, in getText() argument 102 return out.extract(*dest, destCapacity,*status); in getText() 113 UChar** dest, int32_t destCapacity, in getDescription() argument 129 int32_t destLen = stringArray[0].extract(*dest, destCapacity, *status); in getDescription() 173 UChar** dest, int32_t destCapacity, in getAt() argument 202 return out.extract(*dest, destCapacity,*status); in getAt() 214 UChar** dest, int32_t destCapacity, in getTranslate() argument 218 int32_t destLen = getText(source, srcLen, dest, destCapacity, notePatternString, status); in getTranslate() 224 UChar** dest, int32_t destCapacity, in getNote() argument 228 int32_t destLen = getText(source, srcLen, dest, destCapacity, notePatternString, status); in getNote()
|
D | prscmnts.h | 34 UChar** dest, int32_t destCapacity, 41 UChar** dest, int32_t destCapacity, 45 UChar** dest, int32_t destCapacity, 50 UChar** dest, int32_t destCapacity,
|
/external/webkit/Source/JavaScriptGlue/icu/unicode/ |
D | ustring.h | 979 UChar *dest, int32_t destCapacity); 1052 u_strToUpper(UChar *dest, int32_t destCapacity, 1078 u_strToLower(UChar *dest, int32_t destCapacity, 1124 u_strToTitle(UChar *dest, int32_t destCapacity, 1155 u_strFoldCase(UChar *dest, int32_t destCapacity, 1181 int32_t destCapacity, 1207 int32_t destCapacity, 1233 int32_t destCapacity, 1260 int32_t destCapacity, 1287 int32_t destCapacity, [all …]
|
/external/webkit/Source/WebCore/icu/unicode/ |
D | ustring.h | 979 UChar *dest, int32_t destCapacity); 1052 u_strToUpper(UChar *dest, int32_t destCapacity, 1078 u_strToLower(UChar *dest, int32_t destCapacity, 1124 u_strToTitle(UChar *dest, int32_t destCapacity, 1155 u_strFoldCase(UChar *dest, int32_t destCapacity, 1181 int32_t destCapacity, 1207 int32_t destCapacity, 1233 int32_t destCapacity, 1260 int32_t destCapacity, 1287 int32_t destCapacity, [all …]
|
/external/webkit/Source/WebKit/mac/icu/unicode/ |
D | ustring.h | 979 UChar *dest, int32_t destCapacity); 1052 u_strToUpper(UChar *dest, int32_t destCapacity, 1078 u_strToLower(UChar *dest, int32_t destCapacity, 1124 u_strToTitle(UChar *dest, int32_t destCapacity, 1155 u_strFoldCase(UChar *dest, int32_t destCapacity, 1181 int32_t destCapacity, 1207 int32_t destCapacity, 1233 int32_t destCapacity, 1260 int32_t destCapacity, 1287 int32_t destCapacity, [all …]
|
D | uidna.h | 117 UChar* dest, int32_t destCapacity, 167 UChar* dest, int32_t destCapacity, 217 UChar* dest, int32_t destCapacity, 263 UChar* dest, int32_t destCapacity,
|
/external/webkit/Source/JavaScriptCore/icu/unicode/ |
D | ustring.h | 979 UChar *dest, int32_t destCapacity); 1052 u_strToUpper(UChar *dest, int32_t destCapacity, 1078 u_strToLower(UChar *dest, int32_t destCapacity, 1124 u_strToTitle(UChar *dest, int32_t destCapacity, 1155 u_strFoldCase(UChar *dest, int32_t destCapacity, 1181 int32_t destCapacity, 1207 int32_t destCapacity, 1233 int32_t destCapacity, 1260 int32_t destCapacity, 1287 int32_t destCapacity, [all …]
|
/external/webkit/Source/WebCore/platform/text/mac/ |
D | ShapeArabic.c | 477 int32_t shapeArabic(const UChar *source, int32_t sourceLength, UChar *dest, int32_t destCapacity, u… in shapeArabic() argument 487 (dest==NULL && destCapacity!=0) || destCapacity<0 || in shapeArabic() 506 (dest<=source && source<dest+destCapacity)) in shapeArabic() 519 if(outputSize>destCapacity) { in shapeArabic() 532 destLength = shapeUnicode(dest,sourceLength,destCapacity,1); in shapeArabic() 536 destLength = shapeUnicode(dest,sourceLength,destCapacity,0); in shapeArabic()
|