Lines Matching refs:ocnt
260 register size_t ocnt; in php_conv_base64_encode_flush() local
264 ocnt = *out_left_p; in php_conv_base64_encode_flush()
274 if (ocnt < inst->lbchars_len) { in php_conv_base64_encode_flush()
279 ocnt -= inst->lbchars_len; in php_conv_base64_encode_flush()
282 if (ocnt < 4) { in php_conv_base64_encode_flush()
291 ocnt -= 4; in php_conv_base64_encode_flush()
297 if (ocnt < inst->lbchars_len) { in php_conv_base64_encode_flush()
302 ocnt -= inst->lbchars_len; in php_conv_base64_encode_flush()
305 if (ocnt < 4) { in php_conv_base64_encode_flush()
314 ocnt -=4; in php_conv_base64_encode_flush()
325 *out_left_p = ocnt; in php_conv_base64_encode_flush()
333 register size_t ocnt, icnt; in php_conv_base64_encode_convert() local
342 ocnt = *out_left_p; in php_conv_base64_encode_convert()
352 if (ocnt < inst->lbchars_len) { in php_conv_base64_encode_convert()
357 ocnt -= inst->lbchars_len; in php_conv_base64_encode_convert()
360 if (ocnt < 4) { in php_conv_base64_encode_convert()
368 ocnt -= 4; in php_conv_base64_encode_convert()
379 if (ocnt < inst->lbchars_len) { in php_conv_base64_encode_convert()
384 ocnt -= inst->lbchars_len; in php_conv_base64_encode_convert()
387 if (ocnt < 4) { in php_conv_base64_encode_convert()
395 ocnt -= 4; in php_conv_base64_encode_convert()
406 if (ocnt < inst->lbchars_len) { in php_conv_base64_encode_convert()
412 ocnt -= inst->lbchars_len; in php_conv_base64_encode_convert()
415 if (ocnt < 4) { in php_conv_base64_encode_convert()
426 ocnt -= 4; in php_conv_base64_encode_convert()
437 *out_left_p = ocnt; in php_conv_base64_encode_convert()
502 size_t icnt, ocnt; in php_conv_base64_decode_convert() local
519 ocnt = *out_left_p; in php_conv_base64_decode_convert()
574 if (ocnt < 1) { in php_conv_base64_decode_convert()
579 ocnt--; in php_conv_base64_decode_convert()
600 *out_left_p = ocnt; in php_conv_base64_decode_convert()
652 size_t icnt, ocnt; in php_conv_qprint_encode_convert() local
673 ocnt = *out_left_p; in php_conv_qprint_encode_convert()
687 if (ocnt < lb_cnt) { in php_conv_qprint_encode_convert()
695 ocnt--; in php_conv_qprint_encode_convert()
715 if (ocnt < inst->lbchars_len + 1) { in php_conv_qprint_encode_convert()
721 ocnt--; in php_conv_qprint_encode_convert()
726 ocnt -= inst->lbchars_len; in php_conv_qprint_encode_convert()
729 if (ocnt < 1) { in php_conv_qprint_encode_convert()
766 ocnt--; in php_conv_qprint_encode_convert()
773 if (ocnt < inst->lbchars_len + 1) { in php_conv_qprint_encode_convert()
778 ocnt--; in php_conv_qprint_encode_convert()
783 ocnt -= inst->lbchars_len; in php_conv_qprint_encode_convert()
786 if (ocnt < 1) { in php_conv_qprint_encode_convert()
791 ocnt--; in php_conv_qprint_encode_convert()
796 if (ocnt < inst->lbchars_len + 1) { in php_conv_qprint_encode_convert()
801 ocnt--; in php_conv_qprint_encode_convert()
806 ocnt -= inst->lbchars_len; in php_conv_qprint_encode_convert()
809 if (ocnt < 3) { in php_conv_qprint_encode_convert()
816 ocnt -= 3; in php_conv_qprint_encode_convert()
828 *out_left_p = ocnt; in php_conv_qprint_encode_convert()
885 size_t icnt, ocnt; in php_conv_qprint_decode_convert() local
904 ocnt = *out_left_p; in php_conv_qprint_decode_convert()
917 if (ocnt < 1) { in php_conv_qprint_decode_convert()
922 ocnt--; in php_conv_qprint_decode_convert()
974 if (ocnt < 1) { in php_conv_qprint_decode_convert()
979 ocnt--; in php_conv_qprint_decode_convert()
1026 if (ocnt < 1) { in php_conv_qprint_decode_convert()
1031 ocnt--; in php_conv_qprint_decode_convert()
1043 *out_left_p = ocnt; in php_conv_qprint_decode_convert()
1346 size_t ocnt, icnt, tcnt; in strfilter_convert_append_bucket() local
1357 out_buf_size = ocnt = initial_out_buf_size; in strfilter_convert_append_bucket()
1367 err = php_conv_convert(inst->cd, &pt, &tcnt, &pd, &ocnt); in strfilter_convert_append_bucket()
1404 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in strfilter_convert_append_bucket()
1410 out_buf_size = ocnt = initial_out_buf_size; in strfilter_convert_append_bucket()
1416 ocnt += (new_out_buf_size - out_buf_size); in strfilter_convert_append_bucket()
1435 err = ((ps == NULL ? php_conv_convert(inst->cd, NULL, NULL, &pd, &ocnt): in strfilter_convert_append_bucket()
1436 php_conv_convert(inst->cd, &ps, &icnt, &pd, &ocnt))); in strfilter_convert_append_bucket()
1466 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in strfilter_convert_append_bucket()
1472 out_buf_size = ocnt = initial_out_buf_size; in strfilter_convert_append_bucket()
1478 ocnt += (new_out_buf_size - out_buf_size); in strfilter_convert_append_bucket()
1496 if (out_buf_size > ocnt) { in strfilter_convert_append_bucket()
1497 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in strfilter_convert_append_bucket()