• Home
  • Raw
  • Download

Lines Matching refs:boundaries

659     static const int8_t boundaries[]={ 0, 1, 5, 7, 10, 12, 16, 17 };  in TestFwdBackUnsafe()  local
665 if(offset != boundaries[i]){ in TestFwdBackUnsafe()
666 log_err("ERROR: UTF8_FWD_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
671 if(offset != boundaries[i]){ in TestFwdBackUnsafe()
672 log_err("ERROR: U8_FWD_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
676 for(i=UPRV_LENGTHOF(boundaries)-2, offset=UPRV_LENGTHOF(input); offset>0; --i) { in TestFwdBackUnsafe()
678 if(offset != boundaries[i]){ in TestFwdBackUnsafe()
679 … log_err("ERROR: UTF8_BACK_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
682 for(i=UPRV_LENGTHOF(boundaries)-2, offset=UPRV_LENGTHOF(input); offset>0; --i) { in TestFwdBackUnsafe()
684 if(offset != boundaries[i]){ in TestFwdBackUnsafe()
685 log_err("ERROR: U8_BACK_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
689 for(i=0; i<UPRV_LENGTHOF(boundaries); ++i) { in TestFwdBackUnsafe()
692 if(offset != boundaries[i]) { in TestFwdBackUnsafe()
693 log_err("ERROR: UTF8_FWD_N_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
696 for(i=0; i<UPRV_LENGTHOF(boundaries); ++i) { in TestFwdBackUnsafe()
699 if(offset != boundaries[i]) { in TestFwdBackUnsafe()
700 log_err("ERROR: U8_FWD_N_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
704 for(i=0; i<UPRV_LENGTHOF(boundaries); ++i) { in TestFwdBackUnsafe()
705 int32_t j=UPRV_LENGTHOF(boundaries)-1-i; in TestFwdBackUnsafe()
708 if(offset != boundaries[j]) { in TestFwdBackUnsafe()
709 … log_err("ERROR: UTF8_BACK_N_UNSAFE offset expected:%d, Got:%d\n", boundaries[j], offset); in TestFwdBackUnsafe()
712 for(i=0; i<UPRV_LENGTHOF(boundaries); ++i) { in TestFwdBackUnsafe()
713 int32_t j=UPRV_LENGTHOF(boundaries)-1-i; in TestFwdBackUnsafe()
716 if(offset != boundaries[j]) { in TestFwdBackUnsafe()
717 log_err("ERROR: U8_BACK_N_UNSAFE offset expected:%d, Got:%d\n", boundaries[j], offset); in TestFwdBackUnsafe()