Lines Matching refs:icnt
458 register size_t ocnt, icnt; in php_conv_base64_encode_convert() local
469 icnt = *in_left_p; in php_conv_base64_encode_convert()
475 if (icnt >= 2) { in php_conv_base64_encode_convert()
495 icnt -= 2; in php_conv_base64_encode_convert()
502 if (icnt >= 1) { in php_conv_base64_encode_convert()
522 icnt -= 1; in php_conv_base64_encode_convert()
529 while (icnt >= 3) { in php_conv_base64_encode_convert()
550 icnt -=3; in php_conv_base64_encode_convert()
554 for (;icnt > 0; icnt--) { in php_conv_base64_encode_convert()
560 *in_left_p = icnt; in php_conv_base64_encode_convert()
627 size_t icnt, ocnt; in php_conv_base64_decode_convert() local
643 icnt = *in_left_p; in php_conv_base64_decode_convert()
667 if (icnt < 1) { in php_conv_base64_decode_convert()
672 icnt--; in php_conv_base64_decode_convert()
723 *in_left_p = icnt; in php_conv_base64_decode_convert()
761 #define NEXT_CHAR(ps, icnt, lb_ptr, lb_cnt, lbchars) \ argument
764 #define CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt) \ argument
769 --(icnt); \
777 size_t icnt, ocnt; in php_conv_qprint_encode_convert() local
796 icnt = *in_left_p; in php_conv_qprint_encode_convert()
806 if (icnt > 0 && *ps == inst->lbchars[lb_cnt]) { in php_conv_qprint_encode_convert()
825 ps++, icnt--; in php_conv_qprint_encode_convert()
830 if (lb_ptr >= lb_cnt && icnt <= 0) { in php_conv_qprint_encode_convert()
834 c = NEXT_CHAR(ps, icnt, lb_ptr, lb_cnt, inst->lbchars); in php_conv_qprint_encode_convert()
869 for (j = icnt - 1; j > 0; j--, ps2++) { in php_conv_qprint_encode_convert()
893 CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt); in php_conv_qprint_encode_convert()
918 CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt); in php_conv_qprint_encode_convert()
946 CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt); in php_conv_qprint_encode_convert()
951 *in_left_p = icnt; in php_conv_qprint_encode_convert()
1010 size_t icnt, ocnt; in php_conv_qprint_decode_convert() local
1027 icnt = *in_left_p; in php_conv_qprint_decode_convert()
1036 if (icnt <= 0) { in php_conv_qprint_decode_convert()
1049 ps++, icnt--; in php_conv_qprint_decode_convert()
1053 if (icnt <= 0) { in php_conv_qprint_decode_convert()
1058 ps++, icnt--; in php_conv_qprint_decode_convert()
1064 ps++, icnt--; in php_conv_qprint_decode_convert()
1070 ps++, icnt--; in php_conv_qprint_decode_convert()
1076 ps++, icnt--; in php_conv_qprint_decode_convert()
1082 if (icnt <= 0) { in php_conv_qprint_decode_convert()
1092 ps++, icnt--; in php_conv_qprint_decode_convert()
1109 if (icnt <= 0) { in php_conv_qprint_decode_convert()
1121 ps++, icnt--; in php_conv_qprint_decode_convert()
1129 ps++, icnt--; /* consume \n */ in php_conv_qprint_decode_convert()
1138 } else if (icnt > 0) { in php_conv_qprint_decode_convert()
1141 ps++, icnt--; in php_conv_qprint_decode_convert()
1167 *in_left_p = icnt; in php_conv_qprint_decode_convert()
1471 size_t ocnt, icnt, tcnt; in strfilter_convert_append_bucket() local
1476 icnt = 1; in strfilter_convert_append_bucket()
1479 icnt = buf_len; in strfilter_convert_append_bucket()
1501 if (icnt > 0) { in strfilter_convert_append_bucket()
1507 icnt--; in strfilter_convert_append_bucket()
1559 while (icnt > 0) { in strfilter_convert_append_bucket()
1561 php_conv_convert(inst->cd, &ps, &icnt, &pd, &ocnt))); in strfilter_convert_append_bucket()
1569 if (icnt > sizeof(inst->stub)) { in strfilter_convert_append_bucket()
1573 memcpy(inst->stub, ps, icnt); in strfilter_convert_append_bucket()
1574 inst->stub_len = icnt; in strfilter_convert_append_bucket()
1575 ps += icnt; in strfilter_convert_append_bucket()
1576 icnt = 0; in strfilter_convert_append_bucket()
1615 icnt = 0; in strfilter_convert_append_bucket()
1629 *consumed += buf_len - icnt; in strfilter_convert_append_bucket()