Home
last modified time | relevance | path

Searched refs:destCapacity (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/third_party/flutter/skia/third_party/externals/icu/source/common/
Dunorm.cpp99 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 …]
Dlocdispnames.cpp302 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 …]
Dustrcase.cpp43 int32_t checkOverflowAndEditsError(int32_t destIndex, int32_t destCapacity, in checkOverflowAndEditsError() argument
46 if (destIndex > destCapacity) { in checkOverflowAndEditsError()
57 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument
73 if(destIndex<destCapacity && c<=0xffff) { // BMP slightly-fastpath in appendResult()
82 } else if(destIndex<destCapacity && result<=0xffff) { // BMP slightly-fastpath in appendResult()
100 if(destIndex<destCapacity) { in appendResult()
105 U16_APPEND(dest, destIndex, destCapacity, c, isError); in appendResult()
112 if((destIndex+length)<=destCapacity) { in appendResult()
130 appendUChar(UChar *dest, int32_t destIndex, int32_t destCapacity, UChar c) { in appendUChar() argument
131 if(destIndex<destCapacity) { in appendUChar()
[all …]
Dustr_wcs.cpp66 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 …]
Dustrtrns.cpp41 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 …]
Dustrcase_locale.cpp45 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()
/third_party/skia/third_party/externals/icu/source/common/
Dunorm.cpp99 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 …]
Dlocdispnames.cpp305 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()
383 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in _getDisplayNameForComponent()
392 dest, destCapacity, in _getDisplayNameForComponent()
399 UChar *dest, int32_t destCapacity, in uloc_getDisplayLanguage() argument
401 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayLanguage()
[all …]
Dustrcase.cpp43 int32_t checkOverflowAndEditsError(int32_t destIndex, int32_t destCapacity, in checkOverflowAndEditsError() argument
46 if (destIndex > destCapacity) { in checkOverflowAndEditsError()
57 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument
73 if(destIndex<destCapacity && c<=0xffff) { // BMP slightly-fastpath in appendResult()
82 } else if(destIndex<destCapacity && result<=0xffff) { // BMP slightly-fastpath in appendResult()
100 if(destIndex<destCapacity) { in appendResult()
105 U16_APPEND(dest, destIndex, destCapacity, c, isError); in appendResult()
112 if((destIndex+length)<=destCapacity) { in appendResult()
130 appendUChar(UChar *dest, int32_t destIndex, int32_t destCapacity, UChar c) { in appendUChar() argument
131 if(destIndex<destCapacity) { in appendUChar()
[all …]
Dustr_wcs.cpp66 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 …]
Dustrtrns.cpp41 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 …]
Dustrcase_locale.cpp45 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()
/third_party/icu/icu4c/source/common/
Dunorm.cpp99 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 …]
Dlocdispnames.cpp305 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()
383 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in _getDisplayNameForComponent()
392 dest, destCapacity, in _getDisplayNameForComponent()
399 UChar *dest, int32_t destCapacity, in uloc_getDisplayLanguage() argument
401 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayLanguage()
[all …]
Dustrcase.cpp43 int32_t checkOverflowAndEditsError(int32_t destIndex, int32_t destCapacity, in checkOverflowAndEditsError() argument
46 if (destIndex > destCapacity) { in checkOverflowAndEditsError()
57 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument
73 if(destIndex<destCapacity && c<=0xffff) { // BMP slightly-fastpath in appendResult()
82 } else if(destIndex<destCapacity && result<=0xffff) { // BMP slightly-fastpath in appendResult()
100 if(destIndex<destCapacity) { in appendResult()
105 U16_APPEND(dest, destIndex, destCapacity, c, isError); in appendResult()
112 if((destIndex+length)<=destCapacity) { in appendResult()
130 appendUChar(UChar *dest, int32_t destIndex, int32_t destCapacity, UChar c) { in appendUChar() argument
131 if(destIndex<destCapacity) { in appendUChar()
[all …]
Dustr_wcs.cpp66 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 …]
Dustrtrns.cpp41 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 …]
Dustrcase_locale.cpp45 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()
/third_party/node/deps/icu-small/source/common/
Dunorm.cpp99 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 …]
Dlocdispnames.cpp305 UChar *dest, int32_t destCapacity, in _getStringOrCopyKey() argument
346 int32_t copyLength=uprv_min(length, destCapacity); in _getStringOrCopyKey()
353 u_charsToUChars(substitute, dest, uprv_min(length, destCapacity)); in _getStringOrCopyKey()
357 return u_terminateUChars(dest, destCapacity, length, pErrorCode); in _getStringOrCopyKey()
365 UChar *dest, int32_t destCapacity, in _getDisplayNameForComponent() argument
379 if(destCapacity<0 || (destCapacity>0 && dest==NULL)) { in _getDisplayNameForComponent()
395 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in _getDisplayNameForComponent()
404 dest, destCapacity, in _getDisplayNameForComponent()
411 UChar *dest, int32_t destCapacity, in uloc_getDisplayLanguage() argument
413 return _getDisplayNameForComponent(locale, displayLocale, dest, destCapacity, in uloc_getDisplayLanguage()
[all …]
Dustrcase.cpp43 int32_t checkOverflowAndEditsError(int32_t destIndex, int32_t destCapacity, in checkOverflowAndEditsError() argument
46 if (destIndex > destCapacity) { in checkOverflowAndEditsError()
57 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument
73 if(destIndex<destCapacity && c<=0xffff) { // BMP slightly-fastpath in appendResult()
82 } else if(destIndex<destCapacity && result<=0xffff) { // BMP slightly-fastpath in appendResult()
100 if(destIndex<destCapacity) { in appendResult()
105 U16_APPEND(dest, destIndex, destCapacity, c, isError); in appendResult()
112 if((destIndex+length)<=destCapacity) { in appendResult()
130 appendUChar(UChar *dest, int32_t destIndex, int32_t destCapacity, UChar c) { in appendUChar() argument
131 if(destIndex<destCapacity) { in appendUChar()
[all …]
Dustr_wcs.cpp66 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 …]
Dustrtrns.cpp41 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 …]
Dustrcase_locale.cpp45 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()
/third_party/icu/icu4c/source/test/cintltst/
Dnfsprep.c43 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 …]

12345678910>>...12