Home
last modified time | relevance | path

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

12345678910>>...12

/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 …]
Duidna.cpp195 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 …]
/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 …]
Duidna.cpp195 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 …]
/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 …]
Duidna.cpp195 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 …]
/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 …]
/third_party/icu/icu4c/source/i18n/
Duregex.cpp669 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 …]
/third_party/node/deps/icu-small/source/i18n/
Duregex.cpp669 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 …]

12345678910>>...12