Searched refs:offsafe (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | utf16tst.c | 493 uint16_t offunsafe=0, offsafe=0; in TestFwdBack() local 504 offunsafe=0, offsafe=0; in TestFwdBack() 514 offunsafe=0, offsafe=0; in TestFwdBack() 516 while(offsafe < UPRV_LENGTHOF(input)){ in TestFwdBack() 517 UTF16_FWD_1_SAFE(input, offsafe, UPRV_LENGTHOF(input)); in TestFwdBack() 518 if(offsafe != fwd_safe[i]){ in TestFwdBack() 519 log_err("ERROR: Forward_safe offset expected:%d, Got:%d\n", fwd_safe[i], offsafe); in TestFwdBack() 524 offunsafe=0, offsafe=0; in TestFwdBack() 526 while(offsafe < UPRV_LENGTHOF(input)){ in TestFwdBack() 527 U16_FWD_1(input, offsafe, UPRV_LENGTHOF(input)); in TestFwdBack() [all …]
|
D | utf8tst.c | 683 uint32_t offsafe=0; in TestFwdBack() local 687 while(offsafe < sizeof(input)){ in TestFwdBack() 688 UTF8_FWD_1_SAFE(input, offsafe, sizeof(input)); in TestFwdBack() 689 if(offsafe != fwd_safe[i]){ in TestFwdBack() 690 log_err("ERROR: Forward_safe offset expected:%d, Got:%d\n", fwd_safe[i], offsafe); in TestFwdBack() 695 offsafe=0; in TestFwdBack() 697 while(offsafe < sizeof(input)){ in TestFwdBack() 698 U8_FWD_1(input, offsafe, sizeof(input)); in TestFwdBack() 699 if(offsafe != fwd_safe[i]){ in TestFwdBack() 700 log_err("ERROR: U8_FWD_1 offset expected:%d, Got:%d\n", fwd_safe[i], offsafe); in TestFwdBack() [all …]
|