/external/icu4c/common/ |
H A D | ucasemap_titlecase_brkiter.cpp | 45 char *dest, int32_t destCapacity, 60 (uint8_t *)dest, destCapacity, 44 ucasemap_utf8ToTitle(UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
|
H A D | unistr_titlecase_brkiter.cpp | 31 UChar *dest, int32_t destCapacity, 35 return ustrcase_internalToTitle(csm, dest, destCapacity, src, srcLength, pErrorCode); 30 unistr_case_internalToTitle(const UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
|
H A D | ustr_titlecase_brkiter.cpp | 51 u_strToTitle(UChar *dest, int32_t destCapacity, argument 65 dest, destCapacity, 76 UChar *dest, int32_t destCapacity, 86 dest, destCapacity, 75 ucasemap_toTitle(UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
|
H A D | ustrcase_locale.cpp | 85 u_strToLower(UChar *dest, int32_t destCapacity, argument 93 dest, destCapacity, 99 u_strToUpper(UChar *dest, int32_t destCapacity, argument 107 dest, destCapacity,
|
H A D | ustrtrns.cpp | 39 int32_t destCapacity, 57 (destCapacity<0) || (dest == NULL && destCapacity > 0) || 69 destLimit = (dest!=NULL)?(dest + destCapacity):NULL; 132 u_terminateUChars(dest, destCapacity, reqLength, pErrorCode); 139 int32_t destCapacity, 145 dest, destCapacity, pDestLength, 153 int32_t destCapacity, 172 (destCapacity<0) || (dest == NULL && destCapacity > 38 u_strFromUTF32WithSub(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument 138 u_strFromUTF32(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UErrorCode *pErrorCode) argument 152 u_strToUTF32WithSub(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument 244 u_strToUTF32(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument [all...] |
H A D | ubidiwrt.c | 359 int32_t length, destCapacity; local 394 /* destSize shrinks, later destination length=destCapacity-destSize */ 396 destCapacity=destSize; 642 return u_terminateUChars(saveDest, destCapacity, destCapacity-destSize, pErrorCode);
|
H A D | unistr_cnv.cpp | 215 UnicodeString::extract(char *dest, int32_t destCapacity, argument 223 if(isBogus() || destCapacity<0 || (destCapacity>0 && dest==0)) { 230 return u_terminateChars(dest, destCapacity, 0, &errorCode); 247 int32_t len=doExtract(0, length(), dest, destCapacity, cnv, errorCode); 259 char *dest, int32_t destCapacity, 264 if(destCapacity!=0) { 274 if(destCapacity==0) { 276 } else if(destCapacity==-1) { 277 // Pin the limit to U_MAX_PTR if the "magic" destCapacity i 258 doExtract(int32_t start, int32_t length, char *dest, int32_t destCapacity, UConverter *cnv, UErrorCode &errorCode) const argument [all...] |
H A D | 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, *pErrorCod 97 unorm_normalize(const UChar *src, int32_t srcLength, UNormalizationMode mode, int32_t options, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument 117 _iterate(UCharIterator *src, UBool forward, UChar *dest, int32_t destCapacity, const Normalizer2 *n2, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) argument 177 unorm_iterate(UCharIterator *src, UBool forward, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) argument 197 unorm_previous(UCharIterator *src, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) argument 210 unorm_next(UCharIterator *src, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) argument 225 _concatenate(const UChar *left, int32_t leftLength, const UChar *right, int32_t rightLength, UChar *dest, int32_t destCapacity, const Normalizer2 *n2, UErrorCode *pErrorCode) argument 261 unorm_concatenate(const UChar *left, int32_t leftLength, const UChar *right, int32_t rightLength, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UErrorCode *pErrorCode) argument [all...] |
H A D | punycode.cpp | 183 UChar *dest, int32_t destCapacity, 196 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { 219 if(destLength<destCapacity) { 252 if(destLength<destCapacity) { 279 if(destLength<destCapacity) { 350 if(destLength<destCapacity) { 357 if(destLength<destCapacity) { 371 return u_terminateUChars(dest, destCapacity, destLength, pErrorCode); 376 UChar *dest, int32_t destCapacity, 388 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity! 182 u_strToPunycode(const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, const UBool *caseFlags, UErrorCode *pErrorCode) argument 375 u_strFromPunycode(const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, UBool *caseFlags, UErrorCode *pErrorCode) argument [all...] |
H A D | ucasemap.cpp | 122 appendResult(uint8_t *dest, int32_t destIndex, int32_t destCapacity, argument 141 if(destIndex<destCapacity) { 146 U8_APPEND(dest, destIndex, destCapacity, c, isError); 155 (char *)(dest+destIndex), destCapacity-destIndex, &destLength, 215 uint8_t *dest, int32_t destCapacity, 235 while(destIndex<destCapacity && i<srcIndex) { 241 if((destIndex<destCapacity) && (c<0 ? (c2=~c)<=0x7f : UCASE_MAX_STRING_LENGTH<c && (c2=c)<=0x7f)) { 245 destIndex=appendResult(dest, destIndex, destCapacity, c, s); 249 if(destIndex>destCapacity) { 259 uint8_t *dest, int32_t destCapacity, 214 _caseMap(const UCaseMap *csm, UCaseMapFull *map, uint8_t *dest, int32_t destCapacity, const uint8_t *src, UCaseContext *csc, int32_t srcStart, int32_t srcLimit, UErrorCode *pErrorCode) argument 258 ucasemap_internalUTF8ToTitle(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument 390 ucasemap_internalUTF8ToLower(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument 405 ucasemap_internalUTF8ToUpper(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument 420 utf8_foldCase(const UCaseProps *csp, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, uint32_t options, UErrorCode *pErrorCode) argument 458 ucasemap_internalUTF8Fold(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument 466 ucasemap_mapUTF8(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, UTF8CaseMapper *stringCaseMapper, UErrorCode *pErrorCode) argument 507 ucasemap_utf8ToLower(const UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument 518 ucasemap_utf8ToUpper(const UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument 529 ucasemap_utf8FoldCase(const UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument [all...] |
H A D | ustr_wcs.cpp | 64 int32_t destCapacity, 202 if(0 < count && count <= destCapacity){ 221 u_terminateWChars(dest,destCapacity,count,pErrorCode); 231 int32_t destCapacity, 243 (destCapacity<0) || (dest == NULL && destCapacity > 0) 254 if(0 < srcLength && srcLength <= destCapacity){ 261 u_terminateUChars(dest,destCapacity,srcLength,pErrorCode); 267 return (wchar_t*)u_strToUTF32((UChar32*)dest, destCapacity, pDestLength, 272 return _strToWCS(dest,destCapacity,pDestLengt 63 _strToWCS(wchar_t *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument 230 u_strToWCS(wchar_t *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument 281 _strFromWCS( UChar *dest, int32_t destCapacity, int32_t *pDestLength, const wchar_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument 484 u_strFromWCS(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const wchar_t *src, int32_t srcLength, UErrorCode *pErrorCode) argument [all...] |
H A D | uidna.cpp | 195 UChar* dest, int32_t destCapacity, 318 if(b1Len <= destCapacity){ 360 if(reqLength > destCapacity){ 390 return u_terminateUChars(dest, destCapacity, reqLength, status); 395 UChar* dest, int32_t destCapacity, 544 if(b2Len <= destCapacity) { 573 if(srcLength <= destCapacity){ 598 if(dest && srcLength <= destCapacity){ 607 return u_terminateUChars(dest, destCapacity, reqLength, status); 612 UChar* dest, int32_t destCapacity, 194 _internal_toASCII(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UStringPrepProfile* nameprep, UParseError* parseError, UErrorCode* status) argument 394 _internal_toUnicode(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UStringPrepProfile* nameprep, UParseError* parseError, UErrorCode* status) argument 611 uidna_toASCII(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument 640 uidna_toUnicode(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument 669 uidna_IDNToASCII( const UChar *src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError *parseError, UErrorCode *status) argument 762 uidna_IDNToUnicode( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument [all...] |
H A D | uprops.cpp | 166 // Small destCapacity for NFKC_CF(c). 556 u_getFC_NFKC_Closure(UChar32 c, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) { argument 560 if(destCapacity<0 || (dest==NULL && destCapacity>0)) { 582 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); // c does not change at all under CaseFolding+NFKC 598 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); 600 return kc2.extract(dest, destCapacity, *pErrorCode);
|
H A D | ustrcase.cpp | 40 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, argument 58 if(destIndex<destCapacity) { 63 U16_APPEND(dest, destIndex, destCapacity, c, isError); 70 if((destIndex+length)<=destCapacity) { 129 UChar *dest, int32_t destCapacity, 148 if((destIndex<destCapacity) && (c<0 ? (c2=~c)<=0xffff : UCASE_MAX_STRING_LENGTH<c && (c2=c)<=0xffff)) { 152 destIndex=appendResult(dest, destIndex, destCapacity, c, s); 156 if(destIndex>destCapacity) { 166 UChar *dest, int32_t destCapacity, 239 if((destIndex+length)<=destCapacity) { 128 _caseMap(const UCaseMap *csm, UCaseMapFull *map, UChar *dest, int32_t destCapacity, const UChar *src, UCaseContext *csc, int32_t srcStart, int32_t srcLimit, UErrorCode *pErrorCode) argument 165 ustrcase_internalToTitle(const UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument 300 ustrcase_internalToLower(const UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument 315 ustrcase_internalToUpper(const UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument 330 ustr_foldCase(const UCaseProps *csp, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, uint32_t options, UErrorCode *pErrorCode) argument 360 ustrcase_internalFold(const UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument 368 ustrcase_map(const UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UStringCaseMapper *stringCaseMapper, UErrorCode *pErrorCode) argument 437 u_strFoldCase(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, uint32_t options, UErrorCode *pErrorCode) argument [all...] |
/external/icu4c/test/intltest/ |
H A D | nptrans.cpp | 140 UChar* dest, int32_t destCapacity, 149 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { 174 if(bufLen < destCapacity){ 178 return u_terminateUChars(dest, destCapacity, bufLen, &status); 185 UChar* dest, int32_t destCapacity, 195 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { 266 if(b1Len <= destCapacity){ 271 return u_terminateUChars(dest, destCapacity, b1Len, &status); 139 map(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, UBool allowUnassigned, UParseError* , UErrorCode& status ) argument 184 process( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, UBool allowUnassigned, UParseError* parseError, UErrorCode& status ) argument
|
/external/icu4c/tools/genrb/ |
H A D | prscmnts.cpp | 76 UChar** dest, int32_t destCapacity, 102 return out.extract(*dest, destCapacity,*status); 113 UChar** dest, int32_t destCapacity, 129 int32_t destLen = stringArray[0].extract(*dest, destCapacity, *status); 173 UChar** dest, int32_t destCapacity, 202 return out.extract(*dest, destCapacity,*status); 214 UChar** dest, int32_t destCapacity, 218 int32_t destLen = getText(source, srcLen, dest, destCapacity, notePatternString, status); 224 UChar** dest, int32_t destCapacity, 228 int32_t destLen = getText(source, srcLen, dest, destCapacity, notePatternStrin 75 getText(const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UnicodeString patternString, UErrorCode* status) argument 112 getDescription( const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UErrorCode* status) argument 172 getAt(const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, int32_t index, UParseCommentsOption option, UErrorCode* status) argument 213 getTranslate( const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UErrorCode* status) argument 223 getNote(const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UErrorCode* status) argument [all...] |
/external/icu4c/tools/toolutil/ |
H A D | uparse.c | 183 * store them as a UTF-32 string in dest[destCapacity] 188 uint32_t *dest, int32_t destCapacity, 197 if(s==NULL || destCapacity<0 || (destCapacity>0 && dest==NULL)) { 217 if(count<destCapacity) { 230 * store them as a string in dest[destCapacity] 236 UChar *dest, int32_t destCapacity, 246 if(s==NULL || destCapacity<0 || (destCapacity>0 && dest==NULL)) { 259 if(destLength<destCapacity) { 187 u_parseCodePoints(const char *s, uint32_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument 235 u_parseString(const char *s, UChar *dest, int32_t destCapacity, uint32_t *pFirst, UErrorCode *pErrorCode) argument 364 u_parseUTF8(const char *source, int32_t sLen, char *dest, int32_t destCapacity, UErrorCode *status) argument [all...] |
/external/icu4c/i18n/ |
H A D | repattrn.cpp | 580 int32_t destCapacity, 591 r = m.split(input, dest, destCapacity, status); 601 int32_t destCapacity, 612 r = m.split(input, dest, destCapacity, status); 578 split(const UnicodeString &input, UnicodeString dest[], int32_t destCapacity, UErrorCode &status) const argument 599 split(UText *input, UText *dest[], int32_t destCapacity, UErrorCode &status) const argument
|
H A D | udatpg.cpp | 218 UChar *dest, int32_t destCapacity, 222 dest, destCapacity, pErrorCode); 230 UChar *dest, int32_t destCapacity, 242 return result.extract(dest, destCapacity, *pErrorCode); 215 udatpg_replaceFieldTypes(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t patternLength, const UChar *skeleton, int32_t skeletonLength, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument 226 udatpg_replaceFieldTypesWithOptions(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t patternLength, const UChar *skeleton, int32_t skeletonLength, UDateTimePatternMatchOptions options, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
|
H A D | uspoof_wsconf.cpp | 75 URegularExpression *e, int32_t group, char *destBuf, int32_t destCapacity, UErrorCode &status) { 81 if (U_FAILURE(status) || len == -1 || len >= destCapacity) { 85 s.extract(0, len, destBuf, destCapacity, US_INV); 74 extractGroup( URegularExpression *e, int32_t group, char *destBuf, int32_t destCapacity, UErrorCode &status) argument
|
H A D | tblcoll.cpp | 520 int32_t destCapacity, 523 return ucol_getReorderCodes(ucollator, dest, destCapacity, &status); 536 int32_t destCapacity, 539 return ucol_getEquivalentReorderCodes(reorderCode, dest, destCapacity, &status); 519 getReorderCodes(int32_t *dest, int32_t destCapacity, UErrorCode& status) const argument 534 getEquivalentReorderCodes(int32_t reorderCode, int32_t* dest, int32_t destCapacity, UErrorCode& status) argument
|
/external/icu4c/test/cintltst/ |
H A D | nfsprep.c | 41 char* dest, int32_t destCapacity, 66 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){ 117 if(dest!=NULL && reqLength <= destCapacity){ 132 return u_terminateChars(dest, destCapacity, reqLength, status); 207 char* dest, int32_t destCapacity, 224 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){ 259 if(dest != NULL && reqLen <= destCapacity){ 276 return u_terminateChars(dest, destCapacity, reqLe 40 nfs4_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, NFS4ProfileState state, UParseError* parseError, UErrorCode* status) argument 206 nfs4_mixed_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, UParseError* parseError, UErrorCode* status) argument 280 nfs4_cis_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, UParseError* parseError, UErrorCode* status) argument 289 nfs4_cs_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, UBool isCaseSensitive, UParseError* parseError, UErrorCode* status) argument [all...] |
H A D | spreptst.c | 296 char* dest, int32_t destCapacity, 308 u_strToUTF8(dest, destCapacity, &destLen, b1, b1Len, status); 295 unescapeData(const char* src, int32_t srcLen, char* dest, int32_t destCapacity, UErrorCode* status) argument
|
/external/icu4c/test/perf/utrie2perf/ |
H A D | utrie2perf.cpp | 177 destCapacity=unorm_normalize(testcase.getBuffer(), testcase.getBufferLen(), 181 dest=new UChar[destCapacity]; 194 dest, destCapacity, 196 if(U_FAILURE(errorCode) || destLength!=destCapacity) { 204 int32_t destCapacity; member in class:ToNFC
|
/external/webkit/Source/WebCore/platform/text/mac/ |
H A D | ShapeArabic.c | 477 int32_t shapeArabic(const UChar *source, int32_t sourceLength, UChar *dest, int32_t destCapacity, uint32_t options, UErrorCode *pErrorCode) { argument 487 (dest==NULL && destCapacity!=0) || destCapacity<0 || 506 (dest<=source && source<dest+destCapacity)) 519 if(outputSize>destCapacity) { 532 destLength = shapeUnicode(dest,sourceLength,destCapacity,1); 536 destLength = shapeUnicode(dest,sourceLength,destCapacity,0);
|