Lines Matching refs:icnt
463 register size_t ocnt, icnt; in php_conv_base64_encode_convert() local
474 icnt = *in_left_p; in php_conv_base64_encode_convert()
480 if (icnt >= 2) { in php_conv_base64_encode_convert()
500 icnt -= 2; in php_conv_base64_encode_convert()
507 if (icnt >= 1) { in php_conv_base64_encode_convert()
527 icnt -= 1; in php_conv_base64_encode_convert()
534 while (icnt >= 3) { in php_conv_base64_encode_convert()
555 icnt -=3; in php_conv_base64_encode_convert()
559 for (;icnt > 0; icnt--) { in php_conv_base64_encode_convert()
565 *in_left_p = icnt; in php_conv_base64_encode_convert()
632 size_t icnt, ocnt; in php_conv_base64_decode_convert() local
648 icnt = *in_left_p; in php_conv_base64_decode_convert()
672 if (icnt < 1) { in php_conv_base64_decode_convert()
677 icnt--; in php_conv_base64_decode_convert()
728 *in_left_p = icnt; in php_conv_base64_decode_convert()
766 #define NEXT_CHAR(ps, icnt, lb_ptr, lb_cnt, lbchars) \ argument
769 #define CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt) \ argument
774 --(icnt); \
782 size_t icnt, ocnt; in php_conv_qprint_encode_convert() local
801 icnt = *in_left_p; in php_conv_qprint_encode_convert()
811 if (icnt > 0 && *ps == inst->lbchars[lb_cnt]) { in php_conv_qprint_encode_convert()
830 ps++, icnt--; in php_conv_qprint_encode_convert()
835 if (lb_ptr >= lb_cnt && icnt <= 0) { in php_conv_qprint_encode_convert()
839 c = NEXT_CHAR(ps, icnt, lb_ptr, lb_cnt, inst->lbchars); in php_conv_qprint_encode_convert()
874 for (j = icnt - 1; j > 0; j--, ps2++) { in php_conv_qprint_encode_convert()
898 CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt); in php_conv_qprint_encode_convert()
923 CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt); in php_conv_qprint_encode_convert()
951 CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt); in php_conv_qprint_encode_convert()
956 *in_left_p = icnt; in php_conv_qprint_encode_convert()
1015 size_t icnt, ocnt; in php_conv_qprint_decode_convert() local
1032 icnt = *in_left_p; in php_conv_qprint_decode_convert()
1041 if (icnt <= 0) { in php_conv_qprint_decode_convert()
1054 ps++, icnt--; in php_conv_qprint_decode_convert()
1058 if (icnt <= 0) { in php_conv_qprint_decode_convert()
1063 ps++, icnt--; in php_conv_qprint_decode_convert()
1069 ps++, icnt--; in php_conv_qprint_decode_convert()
1075 ps++, icnt--; in php_conv_qprint_decode_convert()
1081 ps++, icnt--; in php_conv_qprint_decode_convert()
1087 if (icnt <= 0) { in php_conv_qprint_decode_convert()
1097 ps++, icnt--; in php_conv_qprint_decode_convert()
1114 if (icnt <= 0) { in php_conv_qprint_decode_convert()
1126 ps++, icnt--; in php_conv_qprint_decode_convert()
1134 ps++, icnt--; /* consume \n */ in php_conv_qprint_decode_convert()
1143 } else if (icnt > 0) { in php_conv_qprint_decode_convert()
1146 ps++, icnt--; in php_conv_qprint_decode_convert()
1172 *in_left_p = icnt; in php_conv_qprint_decode_convert()
1479 size_t ocnt, icnt, tcnt; in strfilter_convert_append_bucket() local
1484 icnt = 1; in strfilter_convert_append_bucket()
1487 icnt = buf_len; in strfilter_convert_append_bucket()
1511 if (icnt > 0) { in strfilter_convert_append_bucket()
1517 icnt--; in strfilter_convert_append_bucket()
1579 while (icnt > 0) { in strfilter_convert_append_bucket()
1581 php_conv_convert(inst->cd, &ps, &icnt, &pd, &ocnt))); in strfilter_convert_append_bucket()
1589 if (icnt > sizeof(inst->stub)) { in strfilter_convert_append_bucket()
1593 memcpy(inst->stub, ps, icnt); in strfilter_convert_append_bucket()
1594 inst->stub_len = icnt; in strfilter_convert_append_bucket()
1595 ps += icnt; in strfilter_convert_append_bucket()
1596 icnt = 0; in strfilter_convert_append_bucket()
1644 icnt = 0; in strfilter_convert_append_bucket()
1658 *consumed += buf_len - icnt; in strfilter_convert_append_bucket()