• Home
  • Raw
  • Download

Lines Matching refs:srcLength

44                int32_t srcLength,  in u_strFromUTF32WithSub()  argument
58 if( (src==NULL && srcLength!=0) || srcLength < -1 || in u_strFromUTF32WithSub()
75 if(srcLength < 0) { in u_strFromUTF32WithSub()
92 srcLimit = (src!=NULL)?(src + srcLength):NULL; in u_strFromUTF32WithSub()
144 int32_t srcLength, in u_strFromUTF32() argument
148 src, srcLength, in u_strFromUTF32()
158 int32_t srcLength, in u_strToUTF32WithSub() argument
173 if( (src==NULL && srcLength!=0) || srcLength < -1 || in u_strToUTF32WithSub()
190 if(srcLength < 0) { in u_strToUTF32WithSub()
206 srcLimit = (src!=NULL)?(src + srcLength):NULL; in u_strToUTF32WithSub()
250 int32_t srcLength, in u_strToUTF32() argument
254 src, srcLength, in u_strToUTF32()
264 int32_t srcLength, in u_strFromUTF8WithSub() argument
271 if( (src==NULL && srcLength!=0) || srcLength < -1 || in u_strFromUTF8WithSub()
300 if(srcLength < 0){ in u_strFromUTF8WithSub()
389 int32_t count2 = (srcLength - i) / 3; in u_strFromUTF8WithSub()
410 ((i)+1)<srcLength && in u_strFromUTF8WithSub()
417 ((i)!=srcLength) && in u_strFromUTF8WithSub()
433 (c)=utf8_nextCharSafeBody((const uint8_t *)src, &(i), srcLength, c, -1); in u_strFromUTF8WithSub()
448 while(i < srcLength && (pDest < pDestLimit)) { in u_strFromUTF8WithSub()
457 ((i)+1)<srcLength && in u_strFromUTF8WithSub()
464 ((i)!=srcLength) && in u_strFromUTF8WithSub()
470 (c)=utf8_nextCharSafeBody((const uint8_t *)src, &(i), srcLength, c, -1); in u_strFromUTF8WithSub()
490 while(i < srcLength) { in u_strFromUTF8WithSub()
499 ((i)+1)<srcLength && in u_strFromUTF8WithSub()
506 ((i)!=srcLength) && in u_strFromUTF8WithSub()
512 (c)=utf8_nextCharSafeBody((const uint8_t *)src, &(i), srcLength, c, -1); in u_strFromUTF8WithSub()
544 int32_t srcLength, in u_strFromUTF8() argument
548 src, srcLength, in u_strFromUTF8()
558 int32_t srcLength, in u_strFromUTF8Lenient() argument
570 if( (src==NULL && srcLength!=0) || srcLength < -1 || in u_strFromUTF8Lenient()
577 if(srcLength < 0) { in u_strFromUTF8Lenient()
665 const uint8_t *pSrcLimit = (pSrc!=NULL)?(pSrc + srcLength):NULL; in u_strFromUTF8Lenient()
672 if(destCapacity < srcLength) { in u_strFromUTF8Lenient()
674 *pDestLength = srcLength; /* this likely overestimates the true destLength! */ in u_strFromUTF8Lenient()
797 int32_t srcLength, in u_strToUTF8WithSub() argument
811 if( (pSrc==NULL && srcLength!=0) || srcLength < -1 || in u_strToUTF8WithSub()
824 if(srcLength==-1) { in u_strToUTF8WithSub()
897 const UChar *pSrcLimit = (pSrc!=NULL)?(pSrc+srcLength):NULL; in u_strToUTF8WithSub()
909 srcLength = (int32_t)(pSrcLimit - pSrc); in u_strToUTF8WithSub()
910 if(count > srcLength) { in u_strToUTF8WithSub()
911 count = srcLength; /* min(remaining dest/3, remaining src) */ in u_strToUTF8WithSub()
1061 int32_t srcLength, in u_strToUTF8() argument
1065 pSrc, srcLength, in u_strToUTF8()
1076 int32_t srcLength, in u_strFromJavaModifiedUTF8WithSub() argument
1083 if( (src==NULL && srcLength!=0) || srcLength < -1 || in u_strFromJavaModifiedUTF8WithSub()
1099 if(srcLength < 0) { in u_strFromJavaModifiedUTF8WithSub()
1119 srcLength = static_cast<int32_t>(uprv_strlen(src)); in u_strFromJavaModifiedUTF8WithSub()
1128 int32_t count2 = srcLength - i; in u_strFromJavaModifiedUTF8WithSub()
1129 if(count >= count2 && srcLength > 0 && U8_IS_SINGLE(*src)) { in u_strFromJavaModifiedUTF8WithSub()
1133 while(i < srcLength && U8_IS_SINGLE(b = src[i])) { in u_strFromJavaModifiedUTF8WithSub()
1198 utf8_nextCharSafeBody((const uint8_t *)src, &(i), srcLength, ch, -1); in u_strFromJavaModifiedUTF8WithSub()
1206 while(i < srcLength && (pDest < pDestLimit)) { in u_strFromJavaModifiedUTF8WithSub()
1214 (i+1) < srcLength && in u_strFromJavaModifiedUTF8WithSub()
1226 i < srcLength && in u_strFromJavaModifiedUTF8WithSub()
1240 utf8_nextCharSafeBody((const uint8_t *)src, &(i), srcLength, ch, -1); in u_strFromJavaModifiedUTF8WithSub()
1258 while(i < srcLength) { in u_strFromJavaModifiedUTF8WithSub()
1266 (i+1) < srcLength && in u_strFromJavaModifiedUTF8WithSub()
1277 i < srcLength && in u_strFromJavaModifiedUTF8WithSub()
1291 utf8_nextCharSafeBody((const uint8_t *)src, &(i), srcLength, ch, -1); in u_strFromJavaModifiedUTF8WithSub()
1318 int32_t srcLength, in u_strToJavaModifiedUTF8() argument
1331 if( (src==NULL && srcLength!=0) || srcLength < -1 || in u_strToJavaModifiedUTF8()
1338 if(srcLength==-1) { in u_strToJavaModifiedUTF8()
1354 srcLength = u_strlen(src); in u_strToJavaModifiedUTF8()
1358 pSrcLimit = (src!=NULL)?(src+srcLength):NULL; in u_strToJavaModifiedUTF8()
1361 srcLength = (int32_t)(pSrcLimit - src); in u_strToJavaModifiedUTF8()
1362 if(count >= srcLength && srcLength > 0 && *src <= 0x7f) { in u_strToJavaModifiedUTF8()
1372 srcLength -= delta; in u_strToJavaModifiedUTF8()
1379 if(count > srcLength) { in u_strToJavaModifiedUTF8()
1380 count = srcLength; /* min(remaining dest/3, remaining src) */ in u_strToJavaModifiedUTF8()