Lines Matching refs:icnt

333 	register size_t ocnt, icnt;  in php_conv_base64_encode_convert()  local
344 icnt = *in_left_p; in php_conv_base64_encode_convert()
350 if (icnt >= 2) { in php_conv_base64_encode_convert()
370 icnt -= 2; in php_conv_base64_encode_convert()
377 if (icnt >= 1) { in php_conv_base64_encode_convert()
397 icnt -= 1; in php_conv_base64_encode_convert()
404 while (icnt >= 3) { in php_conv_base64_encode_convert()
425 icnt -=3; in php_conv_base64_encode_convert()
429 for (;icnt > 0; icnt--) { in php_conv_base64_encode_convert()
435 *in_left_p = icnt; in php_conv_base64_encode_convert()
502 size_t icnt, ocnt; in php_conv_base64_decode_convert() local
518 icnt = *in_left_p; in php_conv_base64_decode_convert()
542 if (icnt < 1) { in php_conv_base64_decode_convert()
547 icnt--; in php_conv_base64_decode_convert()
598 *in_left_p = icnt; in php_conv_base64_decode_convert()
636 #define NEXT_CHAR(ps, icnt, lb_ptr, lb_cnt, lbchars) \ argument
639 #define CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt) \ argument
644 --(icnt); \
652 size_t icnt, ocnt; in php_conv_qprint_encode_convert() local
671 icnt = *in_left_p; in php_conv_qprint_encode_convert()
681 if (icnt > 0 && *ps == inst->lbchars[lb_cnt]) { in php_conv_qprint_encode_convert()
700 ps++, icnt--; in php_conv_qprint_encode_convert()
705 if (lb_ptr >= lb_cnt && icnt == 0) { in php_conv_qprint_encode_convert()
709 c = NEXT_CHAR(ps, icnt, lb_ptr, lb_cnt, inst->lbchars); in php_conv_qprint_encode_convert()
744 for (j = icnt - 1; j > 0; j--, ps2++) { in php_conv_qprint_encode_convert()
768 CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt); in php_conv_qprint_encode_convert()
793 CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt); in php_conv_qprint_encode_convert()
821 CONSUME_CHAR(ps, icnt, lb_ptr, lb_cnt); in php_conv_qprint_encode_convert()
826 *in_left_p = icnt; in php_conv_qprint_encode_convert()
885 size_t icnt, ocnt; in php_conv_qprint_decode_convert() local
902 icnt = *in_left_p; in php_conv_qprint_decode_convert()
911 if (icnt == 0) { in php_conv_qprint_decode_convert()
924 ps++, icnt--; in php_conv_qprint_decode_convert()
928 if (icnt == 0) { in php_conv_qprint_decode_convert()
933 ps++, icnt--; in php_conv_qprint_decode_convert()
939 ps++, icnt--; in php_conv_qprint_decode_convert()
945 ps++, icnt--; in php_conv_qprint_decode_convert()
951 ps++, icnt--; in php_conv_qprint_decode_convert()
957 if (icnt == 0) { in php_conv_qprint_decode_convert()
967 ps++, icnt--; in php_conv_qprint_decode_convert()
984 if (icnt == 0) { in php_conv_qprint_decode_convert()
995 ps++, icnt--; in php_conv_qprint_decode_convert()
1003 ps++, icnt--; /* consume \n */ in php_conv_qprint_decode_convert()
1012 } else if (icnt > 0) { in php_conv_qprint_decode_convert()
1015 ps++, icnt--; in php_conv_qprint_decode_convert()
1041 *in_left_p = icnt; in php_conv_qprint_decode_convert()
1346 size_t ocnt, icnt, tcnt; in strfilter_convert_append_bucket() local
1351 icnt = 1; in strfilter_convert_append_bucket()
1354 icnt = buf_len; in strfilter_convert_append_bucket()
1376 if (icnt > 0) { in strfilter_convert_append_bucket()
1382 icnt--; in strfilter_convert_append_bucket()
1434 while (icnt > 0) { in strfilter_convert_append_bucket()
1436 php_conv_convert(inst->cd, &ps, &icnt, &pd, &ocnt))); in strfilter_convert_append_bucket()
1444 if (icnt > sizeof(inst->stub)) { in strfilter_convert_append_bucket()
1448 memcpy(inst->stub, ps, icnt); in strfilter_convert_append_bucket()
1449 inst->stub_len = icnt; in strfilter_convert_append_bucket()
1450 ps += icnt; in strfilter_convert_append_bucket()
1451 icnt = 0; in strfilter_convert_append_bucket()
1490 icnt = 0; in strfilter_convert_append_bucket()
1504 *consumed += buf_len - icnt; in strfilter_convert_append_bucket()