Lines Matching full:srclength
42 int32_t srcLength,
56 if( (src==NULL && srcLength!=0) || srcLength < -1 ||
73 if(srcLength < 0) {
90 srcLimit = (src!=NULL)?(src + srcLength):NULL;
142 int32_t srcLength,
146 src, srcLength,
156 int32_t srcLength,
171 if( (src==NULL && srcLength!=0) || srcLength < -1 ||
188 if(srcLength < 0) {
204 srcLimit = (src!=NULL)?(src + srcLength):NULL;
248 int32_t srcLength,
252 src, srcLength,
404 int32_t srcLength,
420 if( (src==NULL && srcLength!=0) || srcLength < -1 ||
446 if(srcLength < 0){
536 } else /* srcLength >= 0 */ {
537 const uint8_t *pSrcLimit = pSrc + srcLength;
549 srcLength = (int32_t)((pSrcLimit - pSrc) / 3);
550 if(count > srcLength) {
551 count = srcLength; /* min(remaining dest, remaining src/3) */
728 int32_t srcLength,
732 src, srcLength,
742 int32_t srcLength,
754 if( (src==NULL && srcLength!=0) || srcLength < -1 ||
761 if(srcLength < 0) {
848 } else /* srcLength >= 0 */ {
849 const uint8_t *pSrcLimit = (pSrc!=NULL)?(pSrc + srcLength):NULL;
852 * This function requires that if srcLength is given, then it must be
853 * destCapatity >= srcLength so that we need not check for
856 if(destCapacity < srcLength) {
858 *pDestLength = srcLength; /* this likely overestimates the true destLength! */
981 int32_t srcLength,
995 if( (pSrc==NULL && srcLength!=0) || srcLength < -1 ||
1008 if(srcLength==-1) {
1081 const UChar *pSrcLimit = (pSrc!=NULL)?(pSrc+srcLength):NULL;
1093 srcLength = (int32_t)(pSrcLimit - pSrc);
1094 if(count > srcLength) {
1095 count = srcLength; /* min(remaining dest/3, remaining src) */
1245 int32_t srcLength,
1249 pSrc, srcLength,
1260 int32_t srcLength,
1277 if( (src==NULL && srcLength!=0) || srcLength < -1 ||
1290 if(srcLength < 0) {
1309 srcLength = uprv_strlen((const char *)pSrc);
1313 pSrcLimit = (pSrc == NULL) ? NULL : pSrc + srcLength;
1316 srcLength = (int32_t)(pSrcLimit - pSrc);
1317 if(count >= srcLength && srcLength > 0 && *pSrc <= 0x7f) {
1327 srcLength -= delta;
1333 srcLength /= 3;
1334 if(count > srcLength) {
1335 count = srcLength; /* min(remaining dest, remaining src/3) */
1513 int32_t srcLength,
1526 if( (src==NULL && srcLength!=0) || srcLength < -1 ||
1533 if(srcLength==-1) {
1549 srcLength = u_strlen(src);
1553 pSrcLimit = (src!=NULL)?(src+srcLength):NULL;
1556 srcLength = (int32_t)(pSrcLimit - src);
1557 if(count >= srcLength && srcLength > 0 && *src <= 0x7f) {
1567 srcLength -= delta;
1574 if(count > srcLength) {
1575 count = srcLength; /* min(remaining dest/3, remaining src) */