Lines Matching refs:ocnt
2631 size_t ocnt, prev_ocnt, icnt, tcnt; in php_iconv_stream_filter_append_bucket() local
2642 out_buf_size = ocnt = prev_ocnt = initial_out_buf_size; in php_iconv_stream_filter_append_bucket()
2652 if (iconv(self->cd, &pt, &tcnt, &pd, &ocnt) == (size_t)-1) { in php_iconv_stream_filter_append_bucket()
2688 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in php_iconv_stream_filter_append_bucket()
2694 out_buf_size = ocnt = initial_out_buf_size; in php_iconv_stream_filter_append_bucket()
2700 ocnt += (new_out_buf_size - out_buf_size); in php_iconv_stream_filter_append_bucket()
2711 if (ocnt == prev_ocnt) { in php_iconv_stream_filter_append_bucket()
2717 prev_ocnt = ocnt; in php_iconv_stream_filter_append_bucket()
2724 if ((ps == NULL ? iconv(self->cd, NULL, NULL, &pd, &ocnt): in php_iconv_stream_filter_append_bucket()
2725 iconv(self->cd, (char **)&ps, &icnt, &pd, &ocnt)) == (size_t)-1) { in php_iconv_stream_filter_append_bucket()
2756 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in php_iconv_stream_filter_append_bucket()
2762 out_buf_size = ocnt = initial_out_buf_size; in php_iconv_stream_filter_append_bucket()
2768 ocnt += (new_out_buf_size - out_buf_size); in php_iconv_stream_filter_append_bucket()
2779 if (ocnt == prev_ocnt) { in php_iconv_stream_filter_append_bucket()
2789 prev_ocnt = ocnt; in php_iconv_stream_filter_append_bucket()
2792 if (out_buf_size > ocnt) { in php_iconv_stream_filter_append_bucket()
2793 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in php_iconv_stream_filter_append_bucket()