• Home
  • Raw
  • Download

Lines Matching refs:srcLength

59 doWriteForward(const UChar *src, int32_t srcLength,  in doWriteForward()  argument
67 int32_t length=srcLength; in doWriteForward()
70 return srcLength; in doWriteForward()
75 return srcLength; in doWriteForward()
82 if(destSize<srcLength) { in doWriteForward()
84 return srcLength; in doWriteForward()
87 U16_NEXT(src, i, srcLength, c); in doWriteForward()
90 } while(i<srcLength); in doWriteForward()
91 return srcLength; in doWriteForward()
104 while(--srcLength>0) { in doWriteForward()
114 } while(--srcLength>0); in doWriteForward()
124 U16_NEXT(src, i, srcLength, c); in doWriteForward()
126 srcLength-=i; in doWriteForward()
133 while(srcLength>0) { in doWriteForward()
138 --srcLength; in doWriteForward()
145 } while(srcLength>0); in doWriteForward()
152 doWriteReverse(const UChar *src, int32_t srcLength, in doWriteReverse() argument
186 if(destSize<srcLength) { in doWriteReverse()
188 return srcLength; in doWriteReverse()
190 destSize=srcLength; in doWriteReverse()
195 i=srcLength; in doWriteReverse()
198 U16_BACK_1(src, 0, srcLength); in doWriteReverse()
201 j=srcLength; in doWriteReverse()
205 } while(srcLength>0); in doWriteReverse()
214 if(destSize<srcLength) { in doWriteReverse()
216 return srcLength; in doWriteReverse()
218 destSize=srcLength; in doWriteReverse()
223 i=srcLength; in doWriteReverse()
227 U16_PREV(src, 0, srcLength, c); in doWriteReverse()
228 } while(srcLength>0 && IS_COMBINING(u_charType(c))); in doWriteReverse()
231 j=srcLength; in doWriteReverse()
235 } while(srcLength>0); in doWriteReverse()
246 i=srcLength; in doWriteReverse()
250 int32_t length=srcLength; in doWriteReverse()
260 src-=srcLength; in doWriteReverse()
272 i=srcLength; in doWriteReverse()
275 U16_PREV(src, 0, srcLength, c); in doWriteReverse()
278 while(srcLength>0 && IS_COMBINING(u_charType(c))) { in doWriteReverse()
279 U16_PREV(src, 0, srcLength, c); in doWriteReverse()
289 j=srcLength; in doWriteReverse()
301 } while(srcLength>0); in doWriteReverse()
309 ubidi_writeReverse(const UChar *src, int32_t srcLength, in ubidi_writeReverse() argument
320 if( src==NULL || srcLength<-1 || in ubidi_writeReverse()
330 (dest>=src && dest<src+srcLength))) in ubidi_writeReverse()
336 if(srcLength==-1) { in ubidi_writeReverse()
337 srcLength=u_strlen(src); in ubidi_writeReverse()
339 if(srcLength>0) { in ubidi_writeReverse()
340 destLength=doWriteReverse(src, srcLength, dest, destSize, options, pErrorCode); in ubidi_writeReverse()