Home | History | Annotate | Download | only in common

Lines Matching refs:destCapacity

34 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity,
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) {
295 destIndex=appendResult(dest, destIndex, destCapacity, c, s);
303 destIndex=appendResult(dest, destIndex, destCapacity, c, s);
314 dest+destIndex, destCapacity-destIndex,
321 if((destIndex+length)<=destCapacity) {
333 if(destIndex>destCapacity) {
345 UChar *dest, int32_t destCapacity,
358 dest, destCapacity,
365 UChar *dest, int32_t destCapacity,
378 dest, destCapacity,
387 UChar *dest, int32_t destCapacity,
404 dest, destCapacity,
417 UChar *dest, int32_t destCapacity,
431 if((destIndex<destCapacity) && (c<0 ? (c2=~c)<=0xffff : UCASE_MAX_STRING_LENGTH<c && (c2=c)<=0xffff)) {
435 destIndex=appendResult(dest, destIndex, destCapacity, c, s);
439 if(destIndex>destCapacity) {
454 UChar *dest, int32_t destCapacity,
467 if( destCapacity<0 ||
468 (dest==NULL && destCapacity>0) ||
483 ((src>=dest && src<(dest+destCapacity)) ||
487 if(destCapacity<=(sizeof(buffer)/U_SIZEOF_UCHAR)) {
492 temp=(UChar *)uprv_malloc(destCapacity*U_SIZEOF_UCHAR);
505 destLength=ustr_foldCase(csm->csp, temp, destCapacity, src, srcLength,
515 temp, destCapacity,
521 temp, destCapacity,
530 destLength=_toTitle((UCaseMap *)csm, temp, destCapacity,
539 int32_t copyLength= destLength<=destCapacity ? destLength : destCapacity;
549 return u_terminateUChars(dest, destCapacity, destLength, pErrorCode);
555 u_strToLower(UChar *dest, int32_t destCapacity,
562 dest, destCapacity,
568 u_strToUpper(UChar *dest, int32_t destCapacity,
575 dest, destCapacity,
583 u_strToTitle(UChar *dest, int32_t destCapacity,
594 dest, destCapacity,
605 UChar *dest, int32_t destCapacity,
609 dest, destCapacity,
617 u_strFoldCase(UChar *dest, int32_t destCapacity,
625 dest, destCapacity,