Lines Matching refs:srcLength
179 u_strToPunycode(const UChar *src, int32_t srcLength, in u_strToPunycode() argument
193 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { in u_strToPunycode()
203 if(srcLength==-1) { in u_strToPunycode()
240 for(j=0; j<srcLength; ++j) { in u_strToPunycode()
260 } else if(UTF_IS_LEAD(c) && (j+1)<srcLength && UTF_IS_TRAIL(c2=src[j+1])) { in u_strToPunycode()
372 u_strFromPunycode(const UChar *src, int32_t srcLength, in u_strFromPunycode() argument
385 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) { in u_strFromPunycode()
390 if(srcLength==-1) { in u_strFromPunycode()
391 srcLength=u_strlen(src); in u_strFromPunycode()
402 for(j=srcLength; j>0;) { in u_strFromPunycode()
436 for(in=basicLength>0 ? basicLength+1 : 0; in<srcLength; /* no op */) { in u_strFromPunycode()
447 if(in>=srcLength) { in u_strFromPunycode()