• Home
  • Raw
  • Download

Lines Matching refs:offunsafe

493     uint16_t offunsafe=0, offsafe=0;  in TestFwdBack()  local
496 while(offunsafe < UPRV_LENGTHOF(input)){ in TestFwdBack()
497 UTF16_FWD_1_UNSAFE(input, offunsafe); in TestFwdBack()
498 if(offunsafe != fwd_unsafe[i]){ in TestFwdBack()
499 log_err("ERROR: Forward_unsafe offset expected:%d, Got:%d\n", fwd_unsafe[i], offunsafe); in TestFwdBack()
504 offunsafe=0, offsafe=0; in TestFwdBack()
506 while(offunsafe < UPRV_LENGTHOF(input)){ in TestFwdBack()
507 U16_FWD_1_UNSAFE(input, offunsafe); in TestFwdBack()
508 if(offunsafe != fwd_unsafe[i]){ in TestFwdBack()
509 … log_err("ERROR: U16_FWD_1_UNSAFE offset expected:%d, Got:%d\n", fwd_unsafe[i], offunsafe); in TestFwdBack()
514 offunsafe=0, offsafe=0; in TestFwdBack()
524 offunsafe=0, offsafe=0; in TestFwdBack()
534 offunsafe=UPRV_LENGTHOF(input); in TestFwdBack()
537 while(offunsafe > 0){ in TestFwdBack()
538 UTF16_BACK_1_UNSAFE(input, offunsafe); in TestFwdBack()
539 if(offunsafe != back_unsafe[i]){ in TestFwdBack()
540 … log_err("ERROR: Backward_unsafe offset expected:%d, Got:%d\n", back_unsafe[i], offunsafe); in TestFwdBack()
545 offunsafe=UPRV_LENGTHOF(input); in TestFwdBack()
548 while(offunsafe > 0){ in TestFwdBack()
549 U16_BACK_1_UNSAFE(input, offunsafe); in TestFwdBack()
550 if(offunsafe != back_unsafe[i]){ in TestFwdBack()
551 … log_err("ERROR: U16_BACK_1_UNSAFE offset expected:%d, Got:%d\n", back_unsafe[i], offunsafe); in TestFwdBack()
556 offunsafe=UPRV_LENGTHOF(input); in TestFwdBack()
567 offunsafe=UPRV_LENGTHOF(input); in TestFwdBack()
578 offunsafe=0; in TestFwdBack()
582 UTF16_FWD_N_UNSAFE(input, offunsafe, Nvalue[i]); in TestFwdBack()
583 if(offunsafe != fwd_N_unsafe[i]){ in TestFwdBack()
584 … log_err("ERROR: Forward_N_unsafe offset expected:%d, Got:%d\n", fwd_N_unsafe[i], offunsafe); in TestFwdBack()
588 offunsafe=0; in TestFwdBack()
590 U16_FWD_N_UNSAFE(input, offunsafe, Nvalue[i]); in TestFwdBack()
591 if(offunsafe != fwd_N_unsafe[i]){ in TestFwdBack()
592 … log_err("ERROR: U16_FWD_N_UNSAFE offset expected:%d, Got:%d\n", fwd_N_unsafe[i], offunsafe); in TestFwdBack()
612 offunsafe=UPRV_LENGTHOF(input); in TestFwdBack()
614 UTF16_BACK_N_UNSAFE(input, offunsafe, Nvalue[i]); in TestFwdBack()
615 if(offunsafe != back_N_unsafe[i]){ in TestFwdBack()
616 … log_err("ERROR: backward_N_unsafe offset expected:%d, Got:%d\n", back_N_unsafe[i], offunsafe); in TestFwdBack()
620 offunsafe=UPRV_LENGTHOF(input); in TestFwdBack()
622 U16_BACK_N_UNSAFE(input, offunsafe, Nvalue[i]); in TestFwdBack()
623 if(offunsafe != back_N_unsafe[i]){ in TestFwdBack()
624 … log_err("ERROR: U16_BACK_N_UNSAFE offset expected:%d, Got:%d\n", back_N_unsafe[i], offunsafe); in TestFwdBack()