Lines Matching refs:setOffset

262     uint16_t offset=0, setOffset=0;  in TestNextPrevChar()  local
264 setOffset=offset; in TestNextPrevChar()
266 UTF16_NEXT_CHAR_UNSAFE(input, setOffset, c); in TestNextPrevChar()
267 if(setOffset != movedOffset[i]){ in TestNextPrevChar()
269 offset, movedOffset[i], setOffset); in TestNextPrevChar()
275 setOffset=offset; in TestNextPrevChar()
276 U16_NEXT_UNSAFE(input, setOffset, c); in TestNextPrevChar()
277 if(setOffset != movedOffset[i]){ in TestNextPrevChar()
279 offset, movedOffset[i], setOffset); in TestNextPrevChar()
286 setOffset=offset; in TestNextPrevChar()
287 UTF16_NEXT_CHAR_SAFE(input, setOffset, UPRV_LENGTHOF(input), c, FALSE); in TestNextPrevChar()
288 if(setOffset != movedOffset[i+1]){ in TestNextPrevChar()
290 offset, movedOffset[i+1], setOffset); in TestNextPrevChar()
296 setOffset=offset; in TestNextPrevChar()
297 U16_NEXT(input, setOffset, UPRV_LENGTHOF(input), c); in TestNextPrevChar()
298 if(setOffset != movedOffset[i+1]){ in TestNextPrevChar()
300 offset, movedOffset[i+1], setOffset); in TestNextPrevChar()
306 setOffset=offset; in TestNextPrevChar()
307 U16_NEXT_OR_FFFD(input, setOffset, UPRV_LENGTHOF(input), c); in TestNextPrevChar()
308 if(setOffset != movedOffset[i+1]){ in TestNextPrevChar()
310 offset, movedOffset[i+1], setOffset); in TestNextPrevChar()
317 setOffset=offset; in TestNextPrevChar()
318 UTF16_NEXT_CHAR_SAFE(input, setOffset, UPRV_LENGTHOF(input), c, TRUE); in TestNextPrevChar()
319 if(setOffset != movedOffset[i+1]){ in TestNextPrevChar()
321 offset, movedOffset[i+2], setOffset); in TestNextPrevChar()
331 setOffset=offset; in TestNextPrevChar()
333 UTF16_PREV_CHAR_UNSAFE(input, setOffset, c); in TestNextPrevChar()
334 if(setOffset != movedOffset[i+3]){ in TestNextPrevChar()
336 offset, movedOffset[i+3], setOffset); in TestNextPrevChar()
342 setOffset=offset; in TestNextPrevChar()
343 U16_PREV_UNSAFE(input, setOffset, c); in TestNextPrevChar()
344 if(setOffset != movedOffset[i+3]){ in TestNextPrevChar()
346 offset, movedOffset[i+3], setOffset); in TestNextPrevChar()
352 setOffset=offset; in TestNextPrevChar()
353 UTF16_PREV_CHAR_SAFE(input, 0, setOffset, c, FALSE); in TestNextPrevChar()
354 if(setOffset != movedOffset[i+4]){ in TestNextPrevChar()
356 offset, movedOffset[i+4], setOffset); in TestNextPrevChar()
362 setOffset=offset; in TestNextPrevChar()
363 U16_PREV(input, 0, setOffset, c); in TestNextPrevChar()
364 if(setOffset != movedOffset[i+4]){ in TestNextPrevChar()
366 offset, movedOffset[i+4], setOffset); in TestNextPrevChar()
373 setOffset=offset; in TestNextPrevChar()
374 U16_PREV_OR_FFFD(input, 0, setOffset, c); in TestNextPrevChar()
375 if(setOffset != movedOffset[i+4]){ in TestNextPrevChar()
377 offset, movedOffset[i+4], setOffset); in TestNextPrevChar()
384 setOffset=offset; in TestNextPrevChar()
385 UTF16_PREV_CHAR_SAFE(input, 0, setOffset, c, TRUE); in TestNextPrevChar()
386 if(setOffset != movedOffset[i+5]){ in TestNextPrevChar()
388 offset, movedOffset[i+5], setOffset); in TestNextPrevChar()
653 uint16_t offset=0, setOffset=0; in TestSetChar() local
656 setOffset=offset; in TestSetChar()
657 UTF16_SET_CHAR_START_UNSAFE(input, setOffset); in TestSetChar()
658 if(setOffset != start_unsafe[i]){ in TestSetChar()
659 …R_START_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, start_unsafe[i], setOffset); in TestSetChar()
662 setOffset=offset; in TestSetChar()
663 U16_SET_CP_START_UNSAFE(input, setOffset); in TestSetChar()
664 if(setOffset != start_unsafe[i]){ in TestSetChar()
665 …R_START_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, start_unsafe[i], setOffset); in TestSetChar()
668 setOffset=offset; in TestSetChar()
669 UTF16_SET_CHAR_START_SAFE(input, 0, setOffset); in TestSetChar()
670 if(setOffset != start_safe[i]){ in TestSetChar()
671 …_CHAR_START_SAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, start_safe[i], setOffset); in TestSetChar()
674 setOffset=offset; in TestSetChar()
675 U16_SET_CP_START(input, 0, setOffset); in TestSetChar()
676 if(setOffset != start_safe[i]){ in TestSetChar()
677 …6_SET_CHAR_START failed for offset=%ld. Expected:%lx Got:%lx\n", offset, start_safe[i], setOffset); in TestSetChar()
682 setOffset=offset; in TestSetChar()
683 UTF16_SET_CHAR_LIMIT_UNSAFE(input, setOffset); in TestSetChar()
684 if(setOffset != limit_unsafe[i]){ in TestSetChar()
685 …R_LIMIT_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, limit_unsafe[i], setOffset); in TestSetChar()
688 setOffset=offset; in TestSetChar()
689 U16_SET_CP_LIMIT_UNSAFE(input, setOffset); in TestSetChar()
690 if(setOffset != limit_unsafe[i]){ in TestSetChar()
691 …R_LIMIT_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, limit_unsafe[i], setOffset); in TestSetChar()
695 setOffset=offset; in TestSetChar()
696 U16_SET_CP_LIMIT(input,0, setOffset, UPRV_LENGTHOF(input)); in TestSetChar()
697 if(setOffset != limit_safe[i]){ in TestSetChar()
698 …6_SET_CHAR_LIMIT failed for offset=%ld. Expected:%lx Got:%lx\n", offset, limit_safe[i], setOffset); in TestSetChar()