Lines Matching refs:offsafe
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()
528 if(offsafe != fwd_safe[i]){ in TestFwdBack()
529 log_err("ERROR: U16_FWD_1 offset expected:%d, Got:%d\n", fwd_safe[i], offsafe); in TestFwdBack()
535 offsafe=UPRV_LENGTHOF(input); in TestFwdBack()
546 offsafe=UPRV_LENGTHOF(input); in TestFwdBack()
557 offsafe=UPRV_LENGTHOF(input); in TestFwdBack()
559 while(offsafe > 0){ in TestFwdBack()
560 UTF16_BACK_1_SAFE(input,0, offsafe); in TestFwdBack()
561 if(offsafe != back_safe[i]){ in TestFwdBack()
562 log_err("ERROR: Backward_safe offset expected:%d, Got:%d\n", back_unsafe[i], offsafe); in TestFwdBack()
568 offsafe=UPRV_LENGTHOF(input); in TestFwdBack()
570 while(offsafe > 0){ in TestFwdBack()
571 U16_BACK_1(input,0, offsafe); in TestFwdBack()
572 if(offsafe != back_safe[i]){ in TestFwdBack()
573 log_err("ERROR: U16_BACK_1 offset expected:%d, Got:%d\n", back_unsafe[i], offsafe); in TestFwdBack()
579 offsafe=0; in TestFwdBack()
596 offsafe=0; in TestFwdBack()
598 UTF16_FWD_N_SAFE(input, offsafe, UPRV_LENGTHOF(input), Nvalue[i]); in TestFwdBack()
599 if(offsafe != fwd_N_safe[i]){ in TestFwdBack()
600 log_err("ERROR: Forward_N_safe offset expected:%d, Got:%d\n", fwd_N_safe[i], offsafe); in TestFwdBack()
604 offsafe=0; in TestFwdBack()
606 U16_FWD_N(input, offsafe, UPRV_LENGTHOF(input), Nvalue[i]); in TestFwdBack()
607 if(offsafe != fwd_N_safe[i]){ in TestFwdBack()
608 log_err("ERROR: U16_FWD_N offset expected:%d, Got:%d\n", fwd_N_safe[i], offsafe); in TestFwdBack()
628 offsafe=UPRV_LENGTHOF(input); in TestFwdBack()
630 UTF16_BACK_N_SAFE(input, 0, offsafe, Nvalue[i]); in TestFwdBack()
631 if(offsafe != back_N_safe[i]){ in TestFwdBack()
632 log_err("ERROR: backward_N_safe offset expected:%d, Got:%d\n", back_N_safe[i], offsafe); in TestFwdBack()
636 offsafe=UPRV_LENGTHOF(input); in TestFwdBack()
638 U16_BACK_N(input, 0, offsafe, Nvalue[i]); in TestFwdBack()
639 if(offsafe != back_N_safe[i]){ in TestFwdBack()
640 log_err("ERROR: U16_BACK_N offset expected:%d, Got:%d\n", back_N_safe[i], offsafe); in TestFwdBack()