Home | History | Annotate | Download | only in common

Lines Matching refs:srcLength

61 doWriteForward(const UChar *src, int32_t srcLength,
69 int32_t length=srcLength;
72 return srcLength;
77 return srcLength;
84 if(destSize<srcLength) {
86 return srcLength;
89 UTF_NEXT_CHAR(src, i, srcLength, c);
92 } while(i<srcLength);
93 return srcLength;
106 while(--srcLength>0) {
116 } while(--srcLength>0);
126 UTF_NEXT_CHAR(src, i, srcLength, c);
128 srcLength-=i;
135 while(srcLength>0) {
140 --srcLength;
147 } while(srcLength>0);
154 doWriteReverse(const UChar *src, int32_t srcLength,
188 if(destSize<srcLength) {
190 return srcLength;
192 destSize=srcLength;
197 i=srcLength;
200 UTF_BACK_1(src, 0, srcLength);
203 j=srcLength;
207 } while(srcLength>0);
216 if(destSize<srcLength) {
218 return srcLength;
220 destSize=srcLength;
225 i=srcLength;
229 UTF_PREV_CHAR(src, 0, srcLength, c);
230 } while(srcLength>0 && IS_COMBINING(u_charType(c)));
233 j=srcLength;
237 } while(srcLength>0);
248 i=srcLength;
252 int32_t length=srcLength;
262 src-=srcLength;
274 i=srcLength;
277 UTF_PREV_CHAR(src, 0, srcLength, c);
280 while(srcLength>0 && IS_COMBINING(u_charType(c))) {
281 UTF_PREV_CHAR(src, 0, srcLength, c);
291 j=srcLength;
303 } while(srcLength>0);
311 ubidi_writeReverse(const UChar *src, int32_t srcLength,
322 if( src==NULL || srcLength<-1 ||
332 (dest>=src && dest<src+srcLength)))
338 if(srcLength==-1) {
339 srcLength=u_strlen(src);
341 if(srcLength>0) {
342 destLength=doWriteReverse(src, srcLength, dest, destSize, options, pErrorCode);