Lines Matching refs:srcLength
184 u_strToPunycode(const UChar *src, int32_t srcLength, in u_strToPunycode() argument
198 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { in u_strToPunycode()
208 if(srcLength==-1) { in u_strToPunycode()
245 for(j=0; j<srcLength; ++j) { in u_strToPunycode()
265 } else if(U16_IS_LEAD(c) && (j+1)<srcLength && U16_IS_TRAIL(c2=src[j+1])) { in u_strToPunycode()
377 u_strFromPunycode(const UChar *src, int32_t srcLength, in u_strFromPunycode() argument
390 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { in u_strFromPunycode()
395 if(srcLength==-1) { in u_strFromPunycode()
396 srcLength=u_strlen(src); in u_strFromPunycode()
407 for(j=srcLength; j>0;) { in u_strFromPunycode()
442 for(in=basicLength>0 ? basicLength+1 : 0; in<srcLength; /* no op */) { in u_strFromPunycode()
453 if(in>=srcLength) { in u_strFromPunycode()