Searched defs:destCapacity (Results 1 - 25 of 41) sorted by relevance

12

/external/icu4c/common/
H A Dubidiwrt.c358 int32_t length, destCapacity; local
393 /* destSize shrinks, later destination length=destCapacity-destSize */
395 destCapacity=destSize;
629 return u_terminateUChars(saveDest, destCapacity, destCapacity-destSize, pErrorCode);
H A Dunistr_cnv.cpp215 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 Dunorm.cpp99 UChar *dest, int32_t destCapacity,
106 src, srcLength, dest, destCapacity, pErrorCode);
109 src, srcLength, dest, destCapacity, pErrorCode);
118 UChar *dest, int32_t destCapacity,
139 if( destCapacity<0 || (dest==NULL && destCapacity>0) ||
150 return u_terminateUChars(dest, destCapacity, 0, pErrorCode);
179 UnicodeString destString(dest, 0, destCapacity);
181 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode);
188 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 unorm_iterate(UCharIterator *src, UBool forward, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) argument
193 unorm_previous(UCharIterator *src, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) argument
206 unorm_next(UCharIterator *src, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode) argument
221 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 Dpunycode.c180 UChar *dest, int32_t destCapacity,
193 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) {
216 if(destLength<destCapacity) {
249 if(destLength<destCapacity) {
276 if(destLength<destCapacity) {
347 if(destLength<destCapacity) {
354 if(destLength<destCapacity) {
368 return u_terminateUChars(dest, destCapacity, destLength, pErrorCode);
373 UChar *dest, int32_t destCapacity,
385 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!
179 u_strToPunycode(const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, const UBool *caseFlags, UErrorCode *pErrorCode) argument
372 u_strFromPunycode(const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, UBool *caseFlags, UErrorCode *pErrorCode) argument
[all...]
H A Ducasemap.c130 appendResult(uint8_t *dest, int32_t destIndex, int32_t destCapacity, argument
149 if(destIndex<destCapacity) {
154 U8_APPEND(dest, destIndex, destCapacity, c, isError);
163 (char *)(dest+destIndex), destCapacity-destIndex, &destLength,
223 uint8_t *dest, int32_t destCapacity,
243 while(destIndex<destCapacity && i<srcIndex) {
249 if((destIndex<destCapacity) && (c<0 ? (c2=~c)<=0x7f : UCASE_MAX_STRING_LENGTH<c && (c2=c)<=0x7f)) {
253 destIndex=appendResult(dest, destIndex, destCapacity, c, s);
257 if(destIndex>destCapacity) {
270 uint8_t *dest, int32_t destCapacity,
222 _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
269 _toTitle(UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, UCaseContext *csc, int32_t srcLength, UErrorCode *pErrorCode) argument
408 utf8_foldCase(const UCaseProps *csp, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, uint32_t options, UErrorCode *pErrorCode) argument
453 caseMap(const UCaseMap *csm, uint8_t *dest, int32_t destCapacity, const uint8_t *src, int32_t srcLength, int32_t toWhichCase, UErrorCode *pErrorCode) argument
529 ucasemap_utf8ToLower(const UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
540 ucasemap_utf8ToUpper(const UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
553 ucasemap_utf8ToTitle(UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
566 ucasemap_utf8FoldCase(const UCaseMap *csm, char *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
[all...]
H A Dustr_wcs.c68 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
67 _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 Dustrtrns.c35 int32_t destCapacity,
53 (destCapacity<0) || (dest == NULL && destCapacity > 0) ||
65 destLimit = dest + destCapacity;
128 u_terminateUChars(dest, destCapacity, reqLength, pErrorCode);
135 int32_t destCapacity,
141 dest, destCapacity, pDestLength,
149 int32_t destCapacity,
168 (destCapacity<0) || (dest == NULL && destCapacity >
34 u_strFromUTF32WithSub(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument
134 u_strFromUTF32(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const UChar32 *src, int32_t srcLength, UErrorCode *pErrorCode) argument
148 u_strToUTF32WithSub(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument
240 u_strToUTF32(UChar32 *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
394 u_strFromUTF8WithSub(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char* src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument
718 u_strFromUTF8(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char* src, int32_t srcLength, UErrorCode *pErrorCode) argument
732 u_strFromUTF8Lenient(UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
971 u_strToUTF8WithSub(char *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *pSrc, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument
1235 u_strToUTF8(char *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *pSrc, int32_t srcLength, UErrorCode *pErrorCode) argument
1249 u_strFromJavaModifiedUTF8WithSub( UChar *dest, int32_t destCapacity, int32_t *pDestLength, const char *src, int32_t srcLength, UChar32 subchar, int32_t *pNumSubstitutions, UErrorCode *pErrorCode) argument
1502 u_strToJavaModifiedUTF8( char *dest, int32_t destCapacity, int32_t *pDestLength, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
[all...]
H A Duidna.cpp195 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 Duprops.cpp166 // Small destCapacity for NFKC_CF(c).
582 u_getFC_NFKC_Closure(UChar32 c, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) { argument
586 if(destCapacity<0 || (dest==NULL && destCapacity>0)) {
608 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); // c does not change at all under CaseFolding+NFKC
624 return u_terminateUChars(dest, destCapacity, 0, pErrorCode);
626 return kc2.extract(dest, destCapacity, *pErrorCode);
H A Dustrcase.c34 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, argument
52 if(destIndex<destCapacity) {
57 U16_APPEND(dest, destIndex, destCapacity, c, isError);
64 if((destIndex+length)<=destCapacity) {
123 UChar *dest, int32_t destCapacity,
142 if((destIndex<destCapacity) && (c<0 ? (c2=~c)<=0xffff : UCASE_MAX_STRING_LENGTH<c && (c2=c)<=0xffff)) {
146 destIndex=appendResult(dest, destIndex, destCapacity, c, s);
150 if(destIndex>destCapacity) {
210 UChar *dest, int32_t destCapacity,
283 if((destIndex+length)<=destCapacity) {
122 _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
209 _toTitle(UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, UCaseContext *csc, int32_t srcLength, UErrorCode *pErrorCode) argument
344 ustr_toLower(const UCaseProps *csp, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument
364 ustr_toUpper(const UCaseProps *csp, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument
386 ustr_toTitle(const UCaseProps *csp, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UBreakIterator *titleIter, const char *locale, uint32_t options, UErrorCode *pErrorCode) argument
416 ustr_foldCase(const UCaseProps *csp, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, uint32_t options, UErrorCode *pErrorCode) argument
453 caseMap(const UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, int32_t toWhichCase, UErrorCode *pErrorCode) argument
555 u_strToLower(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument
568 u_strToUpper(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument
583 u_strToTitle(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UBreakIterator *titleIter, const char *locale, UErrorCode *pErrorCode) argument
604 ucasemap_toTitle(UCaseMap *csm, UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
617 u_strFoldCase(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, uint32_t options, UErrorCode *pErrorCode) argument
[all...]
H A Dlocdispnames.cpp299 UChar *dest, int32_t destCapacity,
331 int32_t copyLength=uprv_min(length, destCapacity);
338 u_charsToUChars(substitute, dest, uprv_min(length, destCapacity));
342 return u_terminateUChars(dest, destCapacity, length, pErrorCode);
350 UChar *dest, int32_t destCapacity,
364 if(destCapacity<0 || (destCapacity>0 && dest==NULL)) {
376 return u_terminateUChars(dest, destCapacity, 0, pErrorCode);
384 dest, destCapacity,
391 UChar *dest, int32_t destCapacity,
294 _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) argument
348 _getDisplayNameForComponent(const char *locale, const char *displayLocale, UChar *dest, int32_t destCapacity, UDisplayNameGetter *getter, const char *tag, UErrorCode *pErrorCode) argument
389 uloc_getDisplayLanguage(const char *locale, const char *displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
398 uloc_getDisplayScript(const char* locale, const char* displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
408 uloc_getDisplayCountry(const char *locale, const char *displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
422 uloc_getDisplayVariant(const char *locale, const char *displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
443 uloc_getDisplayName(const char *locale, const char *displayLocale, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
710 uloc_getDisplayKeyword(const char* keyword, const char* displayLocale, UChar* dest, int32_t destCapacity, UErrorCode* status) argument
741 uloc_getDisplayKeywordValue( const char* locale, const char* keyword, const char* displayLocale, UChar* dest, int32_t destCapacity, UErrorCode* status) argument
[all...]
H A Duset.cpp337 uset_serialize(const USet* set, uint16_t* dest, int32_t destCapacity, UErrorCode* ec) { argument
342 return ((const UnicodeSet*) set)->UnicodeSet::serialize(dest, destCapacity,* ec);
/external/icu4c/test/intltest/
H A Dnptrans.cpp140 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
H A Didnaref.cpp130 UChar* dest, int32_t destCapacity,
181 if(b2Len < destCapacity){
200 UChar* dest, int32_t destCapacity,
228 u_strFromUTF32(dest,destCapacity,&destLen,(UChar32*)b2,b2Len,&status);
245 UChar* dest, int32_t destCapacity,
253 if((src == NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){
339 if(b1Len <= destCapacity){
376 if(reqLength > destCapacity){
406 return u_terminateUChars(dest, destCapacity, reqLengt
129 convertToPuny(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, UErrorCode& status) argument
199 convertFromPuny( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, UErrorCode& status) argument
244 idnaref_toASCII(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
411 idnaref_toUnicode(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
676 idnaref_IDNToASCII( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
831 idnaref_IDNToUnicode( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
[all...]
/external/icu4c/tools/genrb/
H A Dprscmnts.cpp76 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 Duparse.c182 * store them as a UTF-32 string in dest[destCapacity]
187 uint32_t *dest, int32_t destCapacity,
196 if(s==NULL || destCapacity<0 || (destCapacity>0 && dest==NULL)) {
216 if(count<destCapacity) {
229 * store them as a string in dest[destCapacity]
235 UChar *dest, int32_t destCapacity,
245 if(s==NULL || destCapacity<0 || (destCapacity>0 && dest==NULL)) {
257 if(destLength<destCapacity) {
186 u_parseCodePoints(const char *s, uint32_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument
234 u_parseString(const char *s, UChar *dest, int32_t destCapacity, uint32_t *pFirst, UErrorCode *pErrorCode) argument
362 u_parseUTF8(const char *source, int32_t sLen, char *dest, int32_t destCapacity, UErrorCode *status) argument
[all...]
/external/icu4c/i18n/
H A Drepattrn.cpp583 int32_t destCapacity,
594 r = m.split(input, dest, destCapacity, status);
604 int32_t destCapacity,
615 r = m.split(input, dest, destCapacity, status);
581 split(const UnicodeString &input, UnicodeString dest[], int32_t destCapacity, UErrorCode &status) const argument
602 split(UText *input, UText *dest[], int32_t destCapacity, UErrorCode &status) const argument
H A Dudatpg.cpp218 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 Duspoof_wsconf.cpp75 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 Dtblcoll.cpp617 int32_t destCapacity,
620 return ucol_getReorderCodes(ucollator, dest, destCapacity, &status);
633 int32_t destCapacity,
636 return ucol_getEquivalentReorderCodes(reorderCode, dest, destCapacity, &status);
616 getReorderCodes(int32_t *dest, int32_t destCapacity, UErrorCode& status) const argument
631 getEquivalentReorderCodes(int32_t reorderCode, int32_t* dest, int32_t destCapacity, UErrorCode& status) argument
H A Dumsg.cpp617 #define MAppend(c) if (len < destCapacity) dest[len++] = c; else len++
622 int32_t destCapacity,
633 if (pattern == NULL || patternLength < -1 || (dest == NULL && destCapacity > 0)) {
706 return u_terminateUChars(dest, destCapacity, len, ec);
619 umsg_autoQuoteApostrophe(const UChar* pattern, int32_t patternLength, UChar* dest, int32_t destCapacity, UErrorCode* ec) argument
/external/icu4c/test/cintltst/
H A Dnfsprep.c41 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 Dspreptst.c296 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 Dutrie2perf.cpp177 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 DShapeArabic.c477 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);

Completed in 395 milliseconds

12