Home
last modified time | relevance | path

Searched refs:backBoundaries (Results 1 – 1 of 1) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dutf8tst.c785 static const int8_t backBoundaries[]={ 0, 1, 5, 7, 10, 12, 16, 17 }; in TestFwdBackUnsafe() local
804 for(i=UPRV_LENGTHOF(backBoundaries)-2, offset=UPRV_LENGTHOF(input); offset>0; --i) { in TestFwdBackUnsafe()
806 if(offset != backBoundaries[i]){ in TestFwdBackUnsafe()
807 … log_err("ERROR: UTF8_BACK_1_UNSAFE offset expected:%d, Got:%d\n", backBoundaries[i], offset); in TestFwdBackUnsafe()
811 for(i=UPRV_LENGTHOF(backBoundaries)-2, offset=UPRV_LENGTHOF(input); offset>0; --i) { in TestFwdBackUnsafe()
813 if(offset != backBoundaries[i]){ in TestFwdBackUnsafe()
814 … log_err("ERROR: U8_BACK_1_UNSAFE offset expected:%d, Got:%d\n", backBoundaries[i], offset); in TestFwdBackUnsafe()
834 for(i=0; i<UPRV_LENGTHOF(backBoundaries); ++i) { in TestFwdBackUnsafe()
835 int32_t j=UPRV_LENGTHOF(backBoundaries)-1-i; in TestFwdBackUnsafe()
838 if(offset != backBoundaries[j]) { in TestFwdBackUnsafe()
[all …]