Home | History | Annotate | Download | only in common

Lines Matching full:srclength

62 doWriteForward(const UChar *src, int32_t srcLength,
70 int32_t length=srcLength;
73 return srcLength;
78 return srcLength;
85 if(destSize<srcLength) {
87 return srcLength;
90 U16_NEXT(src, i, srcLength, c);
93 } while(i<srcLength);
94 return srcLength;
107 while(--srcLength>0) {
117 } while(--srcLength>0);
127 U16_NEXT(src, i, srcLength, c);
129 srcLength-=i;
136 while(srcLength>0) {
141 --srcLength;
148 } while(srcLength>0);
155 doWriteReverse(const UChar *src, int32_t srcLength,
189 if(destSize<srcLength) {
191 return srcLength;
193 destSize=srcLength;
198 i=srcLength;
201 U16_BACK_1(src, 0, srcLength);
204 j=srcLength;
208 } while(srcLength>0);
217 if(destSize<srcLength) {
219 return srcLength;
221 destSize=srcLength;
226 i=srcLength;
230 U16_PREV(src, 0, srcLength, c);
231 } while(srcLength>0 && IS_COMBINING(u_charType(c)));
234 j=srcLength;
238 } while(srcLength>0);
249 i=srcLength;
253 int32_t length=srcLength;
263 src-=srcLength;
275 i=srcLength;
278 U16_PREV(src, 0, srcLength, c);
281 while(srcLength>0 && IS_COMBINING(u_charType(c))) {
282 U16_PREV(src, 0, srcLength, c);
292 j=srcLength;
304 } while(srcLength>0);
312 ubidi_writeReverse(const UChar *src, int32_t srcLength,
323 if( src==NULL || srcLength<-1 ||
333 (dest>=src && dest<src+srcLength)))
339 if(srcLength==-1) {
340 srcLength=u_strlen(src);
342 if(srcLength>0) {
343 destLength=doWriteReverse(src, srcLength, dest, destSize, options, pErrorCode);