Home
last modified time | relevance | path

Searched refs:destCapacity (Results 1 - 25 of 228) sorted by relevance

12345678910

/third_party/icu/icu4c/source/common/
H A Dunorm.cpp99 UChar *dest, int32_t destCapacity, in unorm_normalize()
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()
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, *pErrorCod in _iterate()
97 unorm_normalize(const UChar *src, int32_t srcLength, UNormalizationMode mode, int32_t options, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) unorm_normalize() argument
117 _iterate(UCharIterator *src, UBool forward, UChar *dest, int32_t destCapacity, const Normalizer2 *n2, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) _iterate() argument
177 unorm_iterate(UCharIterator *src, UBool forward, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_iterate() argument
197 unorm_previous(UCharIterator *src, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_previous() argument
210 unorm_next(UCharIterator *src, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_next() 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) _concatenate() 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) unorm_concatenate() argument
[all...]
H A Dustr_wcs.cpp66 int32_t destCapacity, in _strToWCS()
204 if(0 < count && count <= destCapacity){ in _strToWCS()
223 u_terminateWChars(dest,destCapacity,count,pErrorCode); in _strToWCS()
233 int32_t destCapacity, in u_strToWCS()
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,pDestLengt in u_strToWCS()
65 _strToWCS(wchar_t *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) _strToWCS() argument
232 u_strToWCS(wchar_t *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) u_strToWCS() argument
283 _strFromWCS( UChar *dest, int32_t destCapacity, int32_t *pDestLength, const wchar_t *src, int32_t srcLength, UErrorCode *pErrorCode) _strFromWCS() argument
486 u_strFromWCS(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const wchar_t *src, int32_t srcLength, UErrorCode *pErrorCode) u_strFromWCS() argument
[all...]
H A Dlocdispnames.cpp305 UChar *dest, int32_t destCapacity, in _getStringOrCopyKey()
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()
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()
300 _getStringOrCopyKey(const char *path, const char *locale, const char *tableKey, const char* subTableKey, const char *itemKey, const char *substitute, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) _getStringOrCopyKey() argument
363 _getDisplayNameForComponent(const char *locale, const char *displayLocale, UChar *dest, int32_t destCapacity, UDisplayNameGetter *getter, const char *tag, UErrorCode *pErrorCode) _getDisplayNameForComponent() argument
409 uloc_getDisplayLanguage(const char *locale, const char *displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayLanguage() argument
418 uloc_getDisplayScript(const char* locale, const char* displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayScript() argument
443 uloc_getDisplayScriptInContext(const char* locale, const char* displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayScriptInContext() argument
453 uloc_getDisplayCountry(const char *locale, const char *displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayCountry() argument
467 uloc_getDisplayVariant(const char *locale, const char *displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayVariant() argument
488 uloc_getDisplayName(const char *locale, const char *displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayName() argument
789 uloc_getDisplayKeyword(const char* keyword, const char* displayLocale, UChar* dest, int32_t destCapacity, UErrorCode* status) uloc_getDisplayKeyword() argument
820 uloc_getDisplayKeywordValue( const char* locale, const char* keyword, const char* displayLocale, UChar* dest, int32_t destCapacity, UErrorCode* status) uloc_getDisplayKeywordValue() argument
[all...]
H A 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()
77 dest, destCapacity, in toLower()
85 UChar *dest, int32_t destCapacity, Edits *edits, in toUpper()
89 dest, destCapacity, in toUpper()
70 toLower( const char *locale, uint32_t options, const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) toLower() argument
82 toUpper( const char *locale, uint32_t options, const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) toUpper() argument
H A Duidna.cpp195 UChar* dest, int32_t destCapacity, in _internal_toASCII()
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()
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()
194 _internal_toASCII(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UStringPrepProfile* nameprep, UParseError* parseError, UErrorCode* status) _internal_toASCII() argument
394 _internal_toUnicode(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UStringPrepProfile* nameprep, UParseError* parseError, UErrorCode* status) _internal_toUnicode() argument
611 uidna_toASCII(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) uidna_toASCII() argument
640 uidna_toUnicode(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) uidna_toUnicode() argument
669 uidna_IDNToASCII( const UChar *src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError *parseError, UErrorCode *status) uidna_IDNToASCII() argument
762 uidna_IDNToUnicode( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) uidna_IDNToUnicode() argument
[all...]
H A Dustrcase.cpp49 int32_t checkOverflowAndEditsError(int32_t destIndex, int32_t destCapacity, in checkOverflowAndEditsError() argument
52 if (destIndex > destCapacity) { in checkOverflowAndEditsError()
63 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument
79 if(destIndex<destCapacity && c<=0xffff) { // BMP slightly-fastpath in appendResult()
88 } else if(destIndex<destCapacity && result<=0xffff) { // BMP slightly-fastpath in appendResult()
106 if(destIndex<destCapacity) { in appendResult()
111 U16_APPEND(dest, destIndex, destCapacity, c, isError); in appendResult()
118 if((destIndex+length)<=destCapacity) { in appendResult()
136 appendUChar(UChar *dest, int32_t destIndex, int32_t destCapacity, UChar c) { in appendUChar() argument
137 if(destIndex<destCapacity) { in appendUChar()
146 appendNonEmptyUnchanged(UChar *dest, int32_t destIndex, int32_t destCapacity, const UChar *s, int32_t length, uint32_t options, icu::Edits *edits) appendNonEmptyUnchanged() argument
164 appendUnchanged(UChar *dest, int32_t destIndex, int32_t destCapacity, const UChar *s, int32_t length, uint32_t options, icu::Edits *edits) appendUnchanged() argument
208 toLower(int32_t caseLocale, uint32_t options, UChar *dest, int32_t destCapacity, const UChar *src, UCaseContext *csc, int32_t srcStart, int32_t srcLimit, icu::Edits *edits, UErrorCode &errorCode) toLower() argument
306 toUpper(int32_t caseLocale, uint32_t options, UChar *dest, int32_t destCapacity, const UChar *src, UCaseContext *csc, int32_t srcLength, icu::Edits *edits, UErrorCode &errorCode) toUpper() argument
416 maybeTitleDutchIJ(const UChar *src, UChar32 c, int32_t start, int32_t segmentLimit, UChar *dest, int32_t &destIndex, int32_t destCapacity, uint32_t options, icu::Edits *edits) maybeTitleDutchIJ() argument
[all...]
H A Dustrtrns.cpp41 int32_t destCapacity, in u_strFromUTF32WithSub()
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()
147 dest, destCapacity, pDestLength, in u_strFromUTF32()
155 int32_t destCapacity, in u_strToUTF32WithSub()
174 (destCapacity<0) || (dest == NULL && destCapacity > in u_strToUTF32WithSub()
40 u_strFromUTF32WithSub(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) u_strFromUTF32WithSub() argument
140 u_strFromUTF32(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UErrorCode *pErrorCode) u_strFromUTF32() argument
154 u_strToUTF32WithSub(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) u_strToUTF32WithSub() argument
246 u_strToUTF32(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) u_strToUTF32() argument
260 u_strFromUTF8WithSub(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char* src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) u_strFromUTF8WithSub() argument
540 u_strFromUTF8(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char* src, int32_t srcLength, UErrorCode *pErrorCode) u_strFromUTF8() argument
554 u_strFromUTF8Lenient(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char *src, int32_t srcLength, UErrorCode *pErrorCode) u_strFromUTF8Lenient() argument
793 u_strToUTF8WithSub(char *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *pSrc, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) u_strToUTF8WithSub() argument
1057 u_strToUTF8(char *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *pSrc, int32_t srcLength, UErrorCode *pErrorCode) u_strToUTF8() argument
1071 u_strFromJavaModifiedUTF8WithSub( UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) u_strFromJavaModifiedUTF8WithSub() argument
1313 u_strToJavaModifiedUTF8( char *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) u_strToJavaModifiedUTF8() argument
[all...]
/third_party/node/deps/icu-small/source/common/
H A Dunorm.cpp99 char16_t *dest, int32_t destCapacity, in unorm_normalize()
106 src, srcLength, dest, destCapacity, pErrorCode); in unorm_normalize()
109 src, srcLength, dest, destCapacity, pErrorCode); in unorm_normalize()
118 char16_t *dest, int32_t destCapacity, in _iterate()
125 if(destCapacity<0 || (dest==nullptr && destCapacity>0) || src==nullptr) { 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, *pErrorCod in _iterate()
97 unorm_normalize(const char16_t *src, int32_t srcLength, UNormalizationMode mode, int32_t options, char16_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) unorm_normalize() argument
117 _iterate(UCharIterator *src, UBool forward, char16_t *dest, int32_t destCapacity, const Normalizer2 *n2, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) _iterate() argument
177 unorm_iterate(UCharIterator *src, UBool forward, char16_t *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_iterate() argument
197 unorm_previous(UCharIterator *src, char16_t *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_previous() argument
210 unorm_next(UCharIterator *src, char16_t *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_next() argument
225 _concatenate(const char16_t *left, int32_t leftLength, const char16_t *right, int32_t rightLength, char16_t *dest, int32_t destCapacity, const Normalizer2 *n2, UErrorCode *pErrorCode) _concatenate() argument
261 unorm_concatenate(const char16_t *left, int32_t leftLength, const char16_t *right, int32_t rightLength, char16_t *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UErrorCode *pErrorCode) unorm_concatenate() argument
[all...]
H A Dustr_wcs.cpp66 int32_t destCapacity, in _strToWCS()
204 if(0 < count && count <= destCapacity){ in _strToWCS()
223 u_terminateWChars(dest,destCapacity,count,pErrorCode); in _strToWCS()
233 int32_t destCapacity, in u_strToWCS()
245 (destCapacity<0) || (dest == nullptr && destCapacity > 0) in u_strToWCS()
256 if(0 < srcLength && srcLength <= destCapacity){ in u_strToWCS()
263 u_terminateUChars((char16_t *)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,pDestLengt in u_strToWCS()
65 _strToWCS(wchar_t *dest, int32_t destCapacity, int32_t *pDestLength, const char16_t *src, int32_t srcLength, UErrorCode *pErrorCode) _strToWCS() argument
232 u_strToWCS(wchar_t *dest, int32_t destCapacity, int32_t *pDestLength, const char16_t *src, int32_t srcLength, UErrorCode *pErrorCode) u_strToWCS() argument
283 _strFromWCS( char16_t *dest, int32_t destCapacity, int32_t *pDestLength, const wchar_t *src, int32_t srcLength, UErrorCode *pErrorCode) _strFromWCS() argument
486 u_strFromWCS(char16_t *dest, int32_t destCapacity, int32_t *pDestLength, const wchar_t *src, int32_t srcLength, UErrorCode *pErrorCode) u_strFromWCS() argument
[all...]
H A Dlocdispnames.cpp305 char16_t *dest, int32_t destCapacity, in _getStringOrCopyKey()
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 char16_t *dest, int32_t destCapacity, in _getDisplayNameForComponent()
379 if(destCapacity<0 || (destCapacity>0 && dest==nullptr)) { in _getDisplayNameForComponent()
395 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); in _getDisplayNameForComponent()
404 dest, destCapacity, in _getDisplayNameForComponent()
411 char16_t *dest, int32_t destCapacity, in uloc_getDisplayLanguage()
300 _getStringOrCopyKey(const char *path, const char *locale, const char *tableKey, const char* subTableKey, const char *itemKey, const char *substitute, char16_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) _getStringOrCopyKey() argument
363 _getDisplayNameForComponent(const char *locale, const char *displayLocale, char16_t *dest, int32_t destCapacity, UDisplayNameGetter *getter, const char *tag, UErrorCode *pErrorCode) _getDisplayNameForComponent() argument
409 uloc_getDisplayLanguage(const char *locale, const char *displayLocale, char16_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayLanguage() argument
418 uloc_getDisplayScript(const char* locale, const char* displayLocale, char16_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayScript() argument
443 uloc_getDisplayScriptInContext(const char* locale, const char* displayLocale, char16_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayScriptInContext() argument
453 uloc_getDisplayCountry(const char *locale, const char *displayLocale, char16_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayCountry() argument
467 uloc_getDisplayVariant(const char *locale, const char *displayLocale, char16_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayVariant() argument
488 uloc_getDisplayName(const char *locale, const char *displayLocale, char16_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayName() argument
789 uloc_getDisplayKeyword(const char* keyword, const char* displayLocale, char16_t* dest, int32_t destCapacity, UErrorCode* status) uloc_getDisplayKeyword() argument
820 uloc_getDisplayKeywordValue( const char* locale, const char* keyword, const char* displayLocale, char16_t* dest, int32_t destCapacity, UErrorCode* status) uloc_getDisplayKeywordValue() argument
[all...]
H A Dustrcase_locale.cpp45 u_strToLower(char16_t *dest, int32_t destCapacity, in u_strToLower() argument
51 dest, destCapacity, in u_strToLower()
57 u_strToUpper(char16_t *dest, int32_t destCapacity, in u_strToUpper() argument
63 dest, destCapacity, in u_strToUpper()
73 char16_t *dest, int32_t destCapacity, Edits *edits, in toLower()
77 dest, destCapacity, in toLower()
85 char16_t *dest, int32_t destCapacity, Edits *edits, in toUpper()
89 dest, destCapacity, in toUpper()
70 toLower( const char *locale, uint32_t options, const char16_t *src, int32_t srcLength, char16_t *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) toLower() argument
82 toUpper( const char *locale, uint32_t options, const char16_t *src, int32_t srcLength, char16_t *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) toUpper() argument
H A Duidna.cpp195 char16_t* dest, int32_t destCapacity, in _internal_toASCII()
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 char16_t* dest, int32_t destCapacity, in _internal_toUnicode()
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 char16_t* dest, int32_t destCapacity, in uidna_toASCII()
194 _internal_toASCII(const char16_t* src, int32_t srcLength, char16_t* dest, int32_t destCapacity, int32_t options, UStringPrepProfile* nameprep, UParseError* parseError, UErrorCode* status) _internal_toASCII() argument
394 _internal_toUnicode(const char16_t* src, int32_t srcLength, char16_t* dest, int32_t destCapacity, int32_t options, UStringPrepProfile* nameprep, UParseError* parseError, UErrorCode* status) _internal_toUnicode() argument
611 uidna_toASCII(const char16_t* src, int32_t srcLength, char16_t* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) uidna_toASCII() argument
640 uidna_toUnicode(const char16_t* src, int32_t srcLength, char16_t* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) uidna_toUnicode() argument
669 uidna_IDNToASCII( const char16_t *src, int32_t srcLength, char16_t* dest, int32_t destCapacity, int32_t options, UParseError *parseError, UErrorCode *status) uidna_IDNToASCII() argument
762 uidna_IDNToUnicode( const char16_t* src, int32_t srcLength, char16_t* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) uidna_IDNToUnicode() argument
[all...]
H A Dustrcase.cpp49 int32_t checkOverflowAndEditsError(int32_t destIndex, int32_t destCapacity, in checkOverflowAndEditsError() argument
52 if (destIndex > destCapacity) { in checkOverflowAndEditsError()
63 appendResult(char16_t *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument
79 if(destIndex<destCapacity && c<=0xffff) { // BMP slightly-fastpath in appendResult()
88 } else if(destIndex<destCapacity && result<=0xffff) { // BMP slightly-fastpath in appendResult()
106 if(destIndex<destCapacity) { in appendResult()
111 U16_APPEND(dest, destIndex, destCapacity, c, isError); in appendResult()
118 if((destIndex+length)<=destCapacity) { in appendResult()
136 appendUChar(char16_t *dest, int32_t destIndex, int32_t destCapacity, char16_t c) { in appendUChar() argument
137 if(destIndex<destCapacity) { in appendUChar()
146 appendNonEmptyUnchanged(char16_t *dest, int32_t destIndex, int32_t destCapacity, const char16_t *s, int32_t length, uint32_t options, icu::Edits *edits) appendNonEmptyUnchanged() argument
164 appendUnchanged(char16_t *dest, int32_t destIndex, int32_t destCapacity, const char16_t *s, int32_t length, uint32_t options, icu::Edits *edits) appendUnchanged() argument
208 toLower(int32_t caseLocale, uint32_t options, char16_t *dest, int32_t destCapacity, const char16_t *src, UCaseContext *csc, int32_t srcStart, int32_t srcLimit, icu::Edits *edits, UErrorCode &errorCode) toLower() argument
306 toUpper(int32_t caseLocale, uint32_t options, char16_t *dest, int32_t destCapacity, const char16_t *src, UCaseContext *csc, int32_t srcLength, icu::Edits *edits, UErrorCode &errorCode) toUpper() argument
416 maybeTitleDutchIJ(const char16_t *src, UChar32 c, int32_t start, int32_t segmentLimit, char16_t *dest, int32_t &destIndex, int32_t destCapacity, uint32_t options, icu::Edits *edits) maybeTitleDutchIJ() argument
[all...]
H A Dustrtrns.cpp41 int32_t destCapacity, in u_strFromUTF32WithSub()
59 (destCapacity<0) || (dest == nullptr && destCapacity > 0) || in u_strFromUTF32WithSub()
71 destLimit = (dest!=nullptr)?(dest + destCapacity):nullptr; in u_strFromUTF32WithSub()
134 u_terminateUChars(dest, destCapacity, reqLength, pErrorCode); in u_strFromUTF32WithSub()
141 int32_t destCapacity, in u_strFromUTF32()
147 dest, destCapacity, pDestLength, in u_strFromUTF32()
155 int32_t destCapacity, in u_strToUTF32WithSub()
174 (destCapacity<0) || (dest == nullptr && destCapacity > in u_strToUTF32WithSub()
40 u_strFromUTF32WithSub(char16_t *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) u_strFromUTF32WithSub() argument
140 u_strFromUTF32(char16_t *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UErrorCode *pErrorCode) u_strFromUTF32() argument
154 u_strToUTF32WithSub(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const char16_t *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) u_strToUTF32WithSub() argument
246 u_strToUTF32(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const char16_t *src, int32_t srcLength, UErrorCode *pErrorCode) u_strToUTF32() argument
260 u_strFromUTF8WithSub(char16_t *dest, int32_t destCapacity, int32_t *pDestLength, const char* src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) u_strFromUTF8WithSub() argument
540 u_strFromUTF8(char16_t *dest, int32_t destCapacity, int32_t *pDestLength, const char* src, int32_t srcLength, UErrorCode *pErrorCode) u_strFromUTF8() argument
554 u_strFromUTF8Lenient(char16_t *dest, int32_t destCapacity, int32_t *pDestLength, const char *src, int32_t srcLength, UErrorCode *pErrorCode) u_strFromUTF8Lenient() argument
793 u_strToUTF8WithSub(char *dest, int32_t destCapacity, int32_t *pDestLength, const char16_t *pSrc, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) u_strToUTF8WithSub() argument
1057 u_strToUTF8(char *dest, int32_t destCapacity, int32_t *pDestLength, const char16_t *pSrc, int32_t srcLength, UErrorCode *pErrorCode) u_strToUTF8() argument
1071 u_strFromJavaModifiedUTF8WithSub( char16_t *dest, int32_t destCapacity, int32_t *pDestLength, const char *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) u_strFromJavaModifiedUTF8WithSub() argument
1313 u_strToJavaModifiedUTF8( char *dest, int32_t destCapacity, int32_t *pDestLength, const char16_t *src, int32_t srcLength, UErrorCode *pErrorCode) u_strToJavaModifiedUTF8() argument
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Dunorm.cpp99 UChar *dest, int32_t destCapacity, in unorm_normalize()
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()
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, *pErrorCod in _iterate()
97 unorm_normalize(const UChar *src, int32_t srcLength, UNormalizationMode mode, int32_t options, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) unorm_normalize() argument
117 _iterate(UCharIterator *src, UBool forward, UChar *dest, int32_t destCapacity, const Normalizer2 *n2, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) _iterate() argument
177 unorm_iterate(UCharIterator *src, UBool forward, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_iterate() argument
197 unorm_previous(UCharIterator *src, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_previous() argument
210 unorm_next(UCharIterator *src, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) unorm_next() 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) _concatenate() 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) unorm_concatenate() argument
[all...]
H A Dlocdispnames.cpp305 UChar *dest, int32_t destCapacity, in _getStringOrCopyKey()
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()
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()
300 _getStringOrCopyKey(const char *path, const char *locale, const char *tableKey, const char* subTableKey, const char *itemKey, const char *substitute, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) _getStringOrCopyKey() argument
351 _getDisplayNameForComponent(const char *locale, const char *displayLocale, UChar *dest, int32_t destCapacity, UDisplayNameGetter *getter, const char *tag, UErrorCode *pErrorCode) _getDisplayNameForComponent() argument
397 uloc_getDisplayLanguage(const char *locale, const char *displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayLanguage() argument
406 uloc_getDisplayScript(const char* locale, const char* displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayScript() argument
431 uloc_getDisplayScriptInContext(const char* locale, const char* displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayScriptInContext() argument
441 uloc_getDisplayCountry(const char *locale, const char *displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayCountry() argument
455 uloc_getDisplayVariant(const char *locale, const char *displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayVariant() argument
476 uloc_getDisplayName(const char *locale, const char *displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) uloc_getDisplayName() argument
777 uloc_getDisplayKeyword(const char* keyword, const char* displayLocale, UChar* dest, int32_t destCapacity, UErrorCode* status) uloc_getDisplayKeyword() argument
808 uloc_getDisplayKeywordValue( const char* locale, const char* keyword, const char* displayLocale, UChar* dest, int32_t destCapacity, UErrorCode* status) uloc_getDisplayKeywordValue() argument
[all...]
H A Dustr_wcs.cpp66 int32_t destCapacity, in _strToWCS()
204 if(0 < count && count <= destCapacity){ in _strToWCS()
223 u_terminateWChars(dest,destCapacity,count,pErrorCode); in _strToWCS()
233 int32_t destCapacity, in u_strToWCS()
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,pDestLengt in u_strToWCS()
65 _strToWCS(wchar_t *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) _strToWCS() argument
232 u_strToWCS(wchar_t *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) u_strToWCS() argument
283 _strFromWCS( UChar *dest, int32_t destCapacity, int32_t *pDestLength, const wchar_t *src, int32_t srcLength, UErrorCode *pErrorCode) _strFromWCS() argument
486 u_strFromWCS(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const wchar_t *src, int32_t srcLength, UErrorCode *pErrorCode) u_strFromWCS() argument
[all...]
H A 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()
77 dest, destCapacity, in toLower()
85 UChar *dest, int32_t destCapacity, Edits *edits, in toUpper()
89 dest, destCapacity, in toUpper()
70 toLower( const char *locale, uint32_t options, const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) toLower() argument
82 toUpper( const char *locale, uint32_t options, const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) toUpper() argument
H A Duidna.cpp195 UChar* dest, int32_t destCapacity, in _internal_toASCII()
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()
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()
194 _internal_toASCII(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UStringPrepProfile* nameprep, UParseError* parseError, UErrorCode* status) _internal_toASCII() argument
394 _internal_toUnicode(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UStringPrepProfile* nameprep, UParseError* parseError, UErrorCode* status) _internal_toUnicode() argument
611 uidna_toASCII(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) uidna_toASCII() argument
640 uidna_toUnicode(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) uidna_toUnicode() argument
669 uidna_IDNToASCII( const UChar *src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError *parseError, UErrorCode *status) uidna_IDNToASCII() argument
762 uidna_IDNToUnicode( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) uidna_IDNToUnicode() argument
[all...]
H A Dustrtrns.cpp41 int32_t destCapacity, in u_strFromUTF32WithSub()
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()
147 dest, destCapacity, pDestLength, in u_strFromUTF32()
155 int32_t destCapacity, in u_strToUTF32WithSub()
174 (destCapacity<0) || (dest == NULL && destCapacity > in u_strToUTF32WithSub()
40 u_strFromUTF32WithSub(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) u_strFromUTF32WithSub() argument
140 u_strFromUTF32(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UErrorCode *pErrorCode) u_strFromUTF32() argument
154 u_strToUTF32WithSub(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) u_strToUTF32WithSub() argument
246 u_strToUTF32(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) u_strToUTF32() argument
260 u_strFromUTF8WithSub(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char* src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) u_strFromUTF8WithSub() argument
540 u_strFromUTF8(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char* src, int32_t srcLength, UErrorCode *pErrorCode) u_strFromUTF8() argument
554 u_strFromUTF8Lenient(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char *src, int32_t srcLength, UErrorCode *pErrorCode) u_strFromUTF8Lenient() argument
793 u_strToUTF8WithSub(char *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *pSrc, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) u_strToUTF8WithSub() argument
1057 u_strToUTF8(char *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *pSrc, int32_t srcLength, UErrorCode *pErrorCode) u_strToUTF8() argument
1071 u_strFromJavaModifiedUTF8WithSub( UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) u_strFromJavaModifiedUTF8WithSub() argument
1313 u_strToJavaModifiedUTF8( char *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) u_strToJavaModifiedUTF8() argument
[all...]
H A 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()
140 appendNonEmptyUnchanged(UChar *dest, int32_t destIndex, int32_t destCapacity, const UChar *s, int32_t length, uint32_t options, icu::Edits *edits) appendNonEmptyUnchanged() argument
158 appendUnchanged(UChar *dest, int32_t destIndex, int32_t destCapacity, const UChar *s, int32_t length, uint32_t options, icu::Edits *edits) appendUnchanged() argument
202 toLower(int32_t caseLocale, uint32_t options, UChar *dest, int32_t destCapacity, const UChar *src, UCaseContext *csc, int32_t srcStart, int32_t srcLimit, icu::Edits *edits, UErrorCode &errorCode) toLower() argument
300 toUpper(int32_t caseLocale, uint32_t options, UChar *dest, int32_t destCapacity, const UChar *src, UCaseContext *csc, int32_t srcLength, icu::Edits *edits, UErrorCode &errorCode) toUpper() argument
400 ustrcase_internalToTitle(int32_t caseLocale, uint32_t options, BreakIterator *iter, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, icu::Edits *edits, UErrorCode &errorCode) ustrcase_internalToTitle() argument
1022 toUpper(uint32_t options, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, Edits *edits, UErrorCode &errorCode) toUpper() argument
1171 ustrcase_internalToLower(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, icu::Edits *edits, UErrorCode &errorCode) ustrcase_internalToLower() argument
1188 ustrcase_internalToUpper(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, icu::Edits *edits, UErrorCode &errorCode) ustrcase_internalToUpper() argument
1211 ustrcase_internalFold(int32_t , uint32_t options, UCASEMAP_BREAK_ITERATOR_UNUSED UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, icu::Edits *edits, UErrorCode &errorCode) ustrcase_internalFold() argument
1225 ustrcase_map(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_PARAM UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UStringCaseMapper *stringCaseMapper, icu::Edits *edits, UErrorCode &errorCode) ustrcase_map() argument
1269 ustrcase_mapWithOverlap(int32_t caseLocale, uint32_t options, UCASEMAP_BREAK_ITERATOR_PARAM UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UStringCaseMapper *stringCaseMapper, UErrorCode &errorCode) ustrcase_mapWithOverlap() argument
1336 u_strFoldCase(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, uint32_t options, UErrorCode *pErrorCode) u_strFoldCase() argument
1349 fold( uint32_t options, const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode) fold() argument
[all...]
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Duparse.cpp185 * store them as a UTF-32 string in dest[destCapacity]
190 uint32_t *dest, int32_t destCapacity, in u_parseCodePoints()
199 if(s==nullptr || destCapacity<0 || (destCapacity>0 && dest==nullptr)) { in u_parseCodePoints()
219 if(count<destCapacity) { in u_parseCodePoints()
232 * store them as a string in dest[destCapacity]
238 char16_t *dest, int32_t destCapacity, in u_parseString()
248 if(s==nullptr || destCapacity<0 || (destCapacity>0 && dest==nullptr)) { in u_parseString()
261 if(destLength<destCapacity) { in u_parseString()
189 u_parseCodePoints(const char *s, uint32_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) u_parseCodePoints() argument
237 u_parseString(const char *s, char16_t *dest, int32_t destCapacity, uint32_t *pFirst, UErrorCode *pErrorCode) u_parseString() argument
366 u_parseUTF8(const char *source, int32_t sLen, char *dest, int32_t destCapacity, UErrorCode *status) u_parseUTF8() argument
[all...]
/third_party/icu/icu4c/source/tools/toolutil/
H A Duparse.cpp185 * store them as a UTF-32 string in dest[destCapacity]
190 uint32_t *dest, int32_t destCapacity, in u_parseCodePoints()
199 if(s==NULL || destCapacity<0 || (destCapacity>0 && dest==NULL)) { in u_parseCodePoints()
219 if(count<destCapacity) { in u_parseCodePoints()
232 * store them as a string in dest[destCapacity]
238 UChar *dest, int32_t destCapacity, in u_parseString()
248 if(s==NULL || destCapacity<0 || (destCapacity>0 && dest==NULL)) { in u_parseString()
261 if(destLength<destCapacity) { in u_parseString()
189 u_parseCodePoints(const char *s, uint32_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) u_parseCodePoints() argument
237 u_parseString(const char *s, UChar *dest, int32_t destCapacity, uint32_t *pFirst, UErrorCode *pErrorCode) u_parseString() argument
366 u_parseUTF8(const char *source, int32_t sLen, char *dest, int32_t destCapacity, UErrorCode *status) u_parseUTF8() argument
[all...]
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A Duparse.cpp185 * store them as a UTF-32 string in dest[destCapacity]
190 uint32_t *dest, int32_t destCapacity, in u_parseCodePoints()
199 if(s==NULL || destCapacity<0 || (destCapacity>0 && dest==NULL)) { in u_parseCodePoints()
219 if(count<destCapacity) { in u_parseCodePoints()
232 * store them as a string in dest[destCapacity]
238 UChar *dest, int32_t destCapacity, in u_parseString()
248 if(s==NULL || destCapacity<0 || (destCapacity>0 && dest==NULL)) { in u_parseString()
261 if(destLength<destCapacity) { in u_parseString()
189 u_parseCodePoints(const char *s, uint32_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) u_parseCodePoints() argument
237 u_parseString(const char *s, UChar *dest, int32_t destCapacity, uint32_t *pFirst, UErrorCode *pErrorCode) u_parseString() argument
366 u_parseUTF8(const char *source, int32_t sLen, char *dest, int32_t destCapacity, UErrorCode *status) u_parseUTF8() argument
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dnfsprep.c43 char* dest, int32_t destCapacity, in nfs4_prepare()
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()
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, reqLe in nfs4_mixed_prepare()
42 nfs4_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, NFS4ProfileState state, UParseError* parseError, UErrorCode* status) nfs4_prepare() argument
208 nfs4_mixed_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, UParseError* parseError, UErrorCode* status) nfs4_mixed_prepare() argument
282 nfs4_cis_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, UParseError* parseError, UErrorCode* status) nfs4_cis_prepare() argument
291 nfs4_cs_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, UBool isCaseSensitive, UParseError* parseError, UErrorCode* status) nfs4_cs_prepare() argument
[all...]

Completed in 462 milliseconds

12345678910