Lines Matching refs:setOffset
278 int32_t setOffset=0;
280 setOffset=offset;
281 UTF8_NEXT_CHAR_SAFE(input, setOffset, sizeof(input), c, FALSE);
282 if(setOffset != movedOffset[i+1]){
284 offset, movedOffset[i+1], setOffset);
290 setOffset=offset;
291 U8_NEXT(input, setOffset, sizeof(input), c);
292 if(setOffset != movedOffset[i+1]){
294 offset, movedOffset[i+1], setOffset);
300 setOffset=offset;
301 UTF8_NEXT_CHAR_SAFE(input, setOffset, sizeof(input), c, TRUE);
302 if(setOffset != movedOffset[i+1]){
304 offset, movedOffset[i+2], setOffset);
315 setOffset=offset;
316 UTF8_PREV_CHAR_SAFE(input, 0, setOffset, c, FALSE);
317 if(setOffset != movedOffset[i+4]){
319 offset, movedOffset[i+4], setOffset);
325 setOffset=offset;
326 U8_PREV(input, 0, setOffset, c);
327 if(setOffset != movedOffset[i+4]){
329 offset, movedOffset[i+4], setOffset);
335 setOffset=offset;
336 UTF8_PREV_CHAR_SAFE(input, 0, setOffset, c, TRUE);
337 if(setOffset != movedOffset[i+5]){
339 offset, movedOffset[i+5], setOffset);
604 int32_t offset=0, setOffset=0;
607 setOffset=offset;
608 UTF8_SET_CHAR_START_SAFE(input, 0, setOffset);
609 if(setOffset != start_safe[i]){
610 log_err("ERROR: UTF8_SET_CHAR_START_SAFE failed for offset=%ld. Expected:%ld Got:%ld\n", offset, start_safe[i], setOffset);
613 setOffset=offset;
614 U8_SET_CP_START(input, 0, setOffset);
615 if(setOffset != start_safe[i]){
616 log_err("ERROR: U8_SET_CP_START failed for offset=%ld. Expected:%ld Got:%ld\n", offset, start_safe[i], setOffset);
620 setOffset=offset;
621 UTF8_SET_CHAR_LIMIT_SAFE(input,0, setOffset, sizeof(input));
622 if(setOffset != limit_safe[i]){
623 log_err("ERROR: UTF8_SET_CHAR_LIMIT_SAFE failed for offset=%ld. Expected:%ld Got:%ld\n", offset, limit_safe[i], setOffset);
626 setOffset=offset;
627 U8_SET_CP_LIMIT(input,0, setOffset, sizeof(input));
628 if(setOffset != limit_safe[i]){
629 log_err("ERROR: U8_SET_CP_LIMIT failed for offset=%ld. Expected:%ld Got:%ld\n", offset, limit_safe[i], setOffset);
645 int32_t offset=0, setOffset=0;
648 setOffset=offset;
649 UTF8_SET_CHAR_START_UNSAFE(input, setOffset);
650 if(setOffset != start_unsafe[i]){
651 log_err("ERROR: UTF8_SET_CHAR_START_UNSAFE failed for offset=%ld. Expected:%ld Got:%ld\n", offset, start_unsafe[i], setOffset);
654 setOffset=offset;
655 U8_SET_CP_START_UNSAFE(input, setOffset);
656 if(setOffset != start_unsafe[i]){
657 log_err("ERROR: U8_SET_CP_START_UNSAFE failed for offset=%ld. Expected:%ld Got:%ld\n", offset, start_unsafe[i], setOffset);
662 setOffset=offset;
663 UTF8_SET_CHAR_LIMIT_UNSAFE(input, setOffset);
664 if(setOffset != limit_unsafe[i]){
665 log_err("ERROR: UTF8_SET_CHAR_LIMIT_UNSAFE failed for offset=%ld. Expected:%ld Got:%ld\n", offset, limit_unsafe[i], setOffset);
668 setOffset=offset;
669 U8_SET_CP_LIMIT_UNSAFE(input, setOffset);
670 if(setOffset != limit_unsafe[i]){
671 log_err("ERROR: U8_SET_CP_LIMIT_UNSAFE failed for offset=%ld. Expected:%ld Got:%ld\n", offset, limit_unsafe[i], setOffset);