• Home
  • Raw
  • Download

Lines Matching refs:destCapacity

43 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, in appendNonEmptyUnchanged() argument
151 if((destIndex+length)<=destCapacity) { in appendNonEmptyUnchanged()
158 appendUnchanged(UChar *dest, int32_t destIndex, int32_t destCapacity, in appendUnchanged() argument
163 return appendNonEmptyUnchanged(dest, destIndex, destCapacity, s, length, options, edits); in appendUnchanged()
203 UChar *dest, int32_t destCapacity, in toLower() argument
242 destIndex = appendUnchanged(dest, destIndex, destCapacity, in toLower()
245 destIndex = appendUChar(dest, destIndex, destCapacity, lead); in toLower()
278 destIndex = appendUnchanged(dest, destIndex, destCapacity, in toLower()
281 destIndex = appendResult(dest, destIndex, destCapacity, c, s, in toLower()
291 destIndex = appendUnchanged(dest, destIndex, destCapacity, in toLower()
301 UChar *dest, int32_t destCapacity, in toUpper() argument
337 destIndex = appendUnchanged(dest, destIndex, destCapacity, in toUpper()
340 destIndex = appendUChar(dest, destIndex, destCapacity, lead); in toUpper()
369 destIndex = appendUnchanged(dest, destIndex, destCapacity, in toUpper()
372 destIndex = appendResult(dest, destIndex, destCapacity, c, s, in toUpper()
382 destIndex = appendUnchanged(dest, destIndex, destCapacity, in toUpper()
401 UChar *dest, int32_t destCapacity, in ustrcase_internalToTitle() argument
458 destIndex=appendUnchanged(dest, destIndex, destCapacity, in ustrcase_internalToTitle()
473 destIndex=appendResult(dest, destIndex, destCapacity, c, s, in ustrcase_internalToTitle()
485 destIndex=appendUChar(dest, destIndex, destCapacity, 0x004A); in ustrcase_internalToTitle()
496 destIndex=appendUnchanged(dest, destIndex, destCapacity, in ustrcase_internalToTitle()
513 dest+destIndex, destCapacity-destIndex, in ustrcase_internalToTitle()
524 destIndex=appendUnchanged(dest, destIndex, destCapacity, in ustrcase_internalToTitle()
538 return checkOverflowAndEditsError(destIndex, destCapacity, edits, errorCode); in ustrcase_internalToTitle()
1023 UChar *dest, int32_t destCapacity, in toUpper() argument
1132 destIndex=appendUChar(dest, destIndex, destCapacity, (UChar)upper); in toUpper()
1134 … destIndex=appendUChar(dest, destIndex, destCapacity, 0x308); // restore or add a dialytika in toUpper()
1137 destIndex=appendUChar(dest, destIndex, destCapacity, 0x301); in toUpper()
1140 destIndex=appendUChar(dest, destIndex, destCapacity, 0x399); in toUpper()
1151 destIndex = appendResult(dest, destIndex, destCapacity, c, s, in toUpper()
1172 UChar *dest, int32_t destCapacity, in ustrcase_internalToLower() argument
1181 dest, destCapacity, in ustrcase_internalToLower()
1184 return checkOverflowAndEditsError(destIndex, destCapacity, edits, errorCode); in ustrcase_internalToLower()
1189 UChar *dest, int32_t destCapacity, in ustrcase_internalToUpper() argument
1195 destIndex = GreekUpper::toUpper(options, dest, destCapacity, in ustrcase_internalToUpper()
1203 dest, destCapacity, in ustrcase_internalToUpper()
1207 return checkOverflowAndEditsError(destIndex, destCapacity, edits, errorCode); in ustrcase_internalToUpper()
1212 UChar *dest, int32_t destCapacity, in ustrcase_internalFold() argument
1218 dest, destCapacity, in ustrcase_internalFold()
1221 return checkOverflowAndEditsError(destIndex, destCapacity, edits, errorCode); in ustrcase_internalFold()
1226 UChar *dest, int32_t destCapacity, in ustrcase_map() argument
1237 if( destCapacity<0 || in ustrcase_map()
1238 (dest==NULL && destCapacity>0) || in ustrcase_map()
1253 ((src>=dest && src<(dest+destCapacity)) || in ustrcase_map()
1264 dest, destCapacity, src, srcLength, edits, errorCode); in ustrcase_map()
1265 return u_terminateUChars(dest, destCapacity, destLength, &errorCode); in ustrcase_map()
1270 UChar *dest, int32_t destCapacity, in ustrcase_mapWithOverlap() argument
1283 if( destCapacity<0 || in ustrcase_mapWithOverlap()
1284 (dest==NULL && destCapacity>0) || in ustrcase_mapWithOverlap()
1299 ((src>=dest && src<(dest+destCapacity)) || in ustrcase_mapWithOverlap()
1303 if(destCapacity<=UPRV_LENGTHOF(buffer)) { in ustrcase_mapWithOverlap()
1308 temp=(UChar *)uprv_malloc(destCapacity*U_SIZEOF_UCHAR); in ustrcase_mapWithOverlap()
1319 temp, destCapacity, src, srcLength, NULL, errorCode); in ustrcase_mapWithOverlap()
1322 if (U_SUCCESS(errorCode) && 0 < destLength && destLength <= destCapacity) { in ustrcase_mapWithOverlap()
1330 return u_terminateUChars(dest, destCapacity, destLength, &errorCode); in ustrcase_mapWithOverlap()
1336 u_strFoldCase(UChar *dest, int32_t destCapacity, in u_strFoldCase() argument
1342 dest, destCapacity, in u_strFoldCase()
1352 UChar *dest, int32_t destCapacity, Edits *edits, in fold() argument
1356 dest, destCapacity, in fold()