Lines Matching refs:setOffset
219 uint16_t offset=0, setOffset=0; in TestNextPrevChar() local
221 setOffset=offset; in TestNextPrevChar()
222 UTF16_NEXT_CHAR_UNSAFE(input, setOffset, c); in TestNextPrevChar()
223 if(setOffset != movedOffset[i]){ in TestNextPrevChar()
225 offset, movedOffset[i], setOffset); in TestNextPrevChar()
231 setOffset=offset; in TestNextPrevChar()
232 U16_NEXT_UNSAFE(input, setOffset, c); in TestNextPrevChar()
233 if(setOffset != movedOffset[i]){ in TestNextPrevChar()
235 offset, movedOffset[i], setOffset); in TestNextPrevChar()
241 setOffset=offset; in TestNextPrevChar()
242 UTF16_NEXT_CHAR_SAFE(input, setOffset, sizeof(input)/U_SIZEOF_UCHAR, c, FALSE); in TestNextPrevChar()
243 if(setOffset != movedOffset[i+1]){ in TestNextPrevChar()
245 offset, movedOffset[i+1], setOffset); in TestNextPrevChar()
251 setOffset=offset; in TestNextPrevChar()
252 U16_NEXT(input, setOffset, sizeof(input)/U_SIZEOF_UCHAR, c); in TestNextPrevChar()
253 if(setOffset != movedOffset[i+1]){ in TestNextPrevChar()
255 offset, movedOffset[i+1], setOffset); in TestNextPrevChar()
261 setOffset=offset; in TestNextPrevChar()
262 UTF16_NEXT_CHAR_SAFE(input, setOffset, sizeof(input)/U_SIZEOF_UCHAR, c, TRUE); in TestNextPrevChar()
263 if(setOffset != movedOffset[i+1]){ in TestNextPrevChar()
265 offset, movedOffset[i+2], setOffset); in TestNextPrevChar()
275 setOffset=offset; in TestNextPrevChar()
276 UTF16_PREV_CHAR_UNSAFE(input, setOffset, c); in TestNextPrevChar()
277 if(setOffset != movedOffset[i+3]){ in TestNextPrevChar()
279 offset, movedOffset[i+3], setOffset); in TestNextPrevChar()
285 setOffset=offset; in TestNextPrevChar()
286 U16_PREV_UNSAFE(input, setOffset, c); in TestNextPrevChar()
287 if(setOffset != movedOffset[i+3]){ in TestNextPrevChar()
289 offset, movedOffset[i+3], setOffset); in TestNextPrevChar()
295 setOffset=offset; in TestNextPrevChar()
296 UTF16_PREV_CHAR_SAFE(input, 0, setOffset, c, FALSE); in TestNextPrevChar()
297 if(setOffset != movedOffset[i+4]){ in TestNextPrevChar()
299 offset, movedOffset[i+4], setOffset); in TestNextPrevChar()
305 setOffset=offset; in TestNextPrevChar()
306 U16_PREV(input, 0, setOffset, c); in TestNextPrevChar()
307 if(setOffset != movedOffset[i+4]){ in TestNextPrevChar()
309 offset, movedOffset[i+4], setOffset); in TestNextPrevChar()
315 setOffset=offset; in TestNextPrevChar()
316 UTF16_PREV_CHAR_SAFE(input, 0, setOffset, c, TRUE); in TestNextPrevChar()
317 if(setOffset != movedOffset[i+5]){ in TestNextPrevChar()
319 offset, movedOffset[i+5], setOffset); in TestNextPrevChar()
497 uint16_t offset=0, setOffset=0; in TestSetChar() local
499 setOffset=offset; in TestSetChar()
500 UTF16_SET_CHAR_START_UNSAFE(input, setOffset); in TestSetChar()
501 if(setOffset != start_unsafe[i]){ in TestSetChar()
502 …R_START_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, start_unsafe[i], setOffset); in TestSetChar()
505 setOffset=offset; in TestSetChar()
506 U16_SET_CP_START_UNSAFE(input, setOffset); in TestSetChar()
507 if(setOffset != start_unsafe[i]){ in TestSetChar()
508 …R_START_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, start_unsafe[i], setOffset); in TestSetChar()
511 setOffset=offset; in TestSetChar()
512 UTF16_SET_CHAR_START_SAFE(input, 0, setOffset); in TestSetChar()
513 if(setOffset != start_safe[i]){ in TestSetChar()
514 …_CHAR_START_SAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, start_safe[i], setOffset); in TestSetChar()
517 setOffset=offset; in TestSetChar()
518 U16_SET_CP_START(input, 0, setOffset); in TestSetChar()
519 if(setOffset != start_safe[i]){ in TestSetChar()
520 …6_SET_CHAR_START failed for offset=%ld. Expected:%lx Got:%lx\n", offset, start_safe[i], setOffset); in TestSetChar()
524 setOffset=offset; in TestSetChar()
525 UTF16_SET_CHAR_LIMIT_UNSAFE(input, setOffset); in TestSetChar()
526 if(setOffset != limit_unsafe[i]){ in TestSetChar()
527 …R_LIMIT_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, limit_unsafe[i], setOffset); in TestSetChar()
530 setOffset=offset; in TestSetChar()
531 U16_SET_CP_LIMIT_UNSAFE(input, setOffset); in TestSetChar()
532 if(setOffset != limit_unsafe[i]){ in TestSetChar()
533 …R_LIMIT_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, limit_unsafe[i], setOffset); in TestSetChar()
537 setOffset=offset; in TestSetChar()
538 U16_SET_CP_LIMIT(input,0, setOffset, sizeof(input)/U_SIZEOF_UCHAR); in TestSetChar()
539 if(setOffset != limit_safe[i]){ in TestSetChar()
540 …6_SET_CHAR_LIMIT failed for offset=%ld. Expected:%lx Got:%lx\n", offset, limit_safe[i], setOffset); in TestSetChar()