Home | History | Annotate | Download | only in common

Lines Matching refs:srcLength

71            int32_t srcLength,
93 if(srcLength == -1){
94 srcLength = u_strlen(pSrc);
97 pSrcLimit = pSrc + srcLength;
113 (_BUFFER_CAPACITY_MULTIPLIER * (srcLength)), count,sizeof(char))){
190 nulVal = (nulLen < srcLength) ? 1 : 0;
234 int32_t srcLength,
242 if( (src==NULL && srcLength!=0) || srcLength < -1 ||
251 if(srcLength == -1){
252 srcLength = u_strlen(src);
254 if(0 < srcLength && srcLength <= destCapacity){
255 uprv_memcpy(dest,src,srcLength*U_SIZEOF_UCHAR);
258 *pDestLength = srcLength;
261 u_terminateUChars(dest,destCapacity,srcLength,pErrorCode);
268 src, srcLength, pErrorCode);
272 return _strToWCS(dest,destCapacity,pDestLength,src,srcLength, pErrorCode);
285 int32_t srcLength,
309 if(srcLength ==-1){
340 pSrcLimit = src + srcLength;
346 while(nulLen<srcLength && pSrc[nulLen++]!=0){
378 srcLength-=nulLen; /* decrement the srcLength */
421 srcLength-=nulLen; /* decrement the srcLength */
488 int32_t srcLength,
497 if( (src==NULL && srcLength!=0) || srcLength < -1 ||
506 if(srcLength == -1){
507 srcLength = u_strlen(src);
509 if(0 < srcLength && srcLength <= destCapacity){
510 uprv_memcpy(dest,src,srcLength*U_SIZEOF_UCHAR);
513 *pDestLength = srcLength;
516 u_terminateUChars(dest,destCapacity,srcLength,pErrorCode);
523 (UChar32*)src, srcLength, pErrorCode);
527 return _strFromWCS(dest,destCapacity,pDestLength,src,srcLength,pErrorCode);