Lines Matching refs:boundaries
787 static const int8_t boundaries[]={ 0, 1, 5, 6, 7, 10, 12, 16, 17 }; in TestFwdBackUnsafe() local
796 if(offset != boundaries[i]){ in TestFwdBackUnsafe()
797 log_err("ERROR: UTF8_FWD_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
803 if(offset != boundaries[i]){ in TestFwdBackUnsafe()
804 log_err("ERROR: U8_FWD_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
822 for(i=0; i<UPRV_LENGTHOF(boundaries); ++i) { in TestFwdBackUnsafe()
825 if(offset != boundaries[i]) { in TestFwdBackUnsafe()
826 log_err("ERROR: UTF8_FWD_N_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
830 for(i=0; i<UPRV_LENGTHOF(boundaries); ++i) { in TestFwdBackUnsafe()
833 if(offset != boundaries[i]) { in TestFwdBackUnsafe()
834 log_err("ERROR: U8_FWD_N_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()