Lines Matching refs:ocnt
2355 size_t ocnt, prev_ocnt, icnt, tcnt; in php_iconv_stream_filter_append_bucket() local
2366 out_buf_size = ocnt = prev_ocnt = initial_out_buf_size; in php_iconv_stream_filter_append_bucket()
2376 if (iconv(self->cd, (ICONV_CONST char **)&pt, &tcnt, &pd, &ocnt) == (size_t)-1) { in php_iconv_stream_filter_append_bucket()
2411 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in php_iconv_stream_filter_append_bucket()
2417 out_buf_size = ocnt = initial_out_buf_size; in php_iconv_stream_filter_append_bucket()
2423 ocnt += (new_out_buf_size - out_buf_size); in php_iconv_stream_filter_append_bucket()
2434 prev_ocnt = ocnt; in php_iconv_stream_filter_append_bucket()
2441 if ((ps == NULL ? iconv(self->cd, NULL, NULL, &pd, &ocnt): in php_iconv_stream_filter_append_bucket()
2442 iconv(self->cd, (ICONV_CONST char **)&ps, &icnt, &pd, &ocnt)) == (size_t)-1) { in php_iconv_stream_filter_append_bucket()
2472 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in php_iconv_stream_filter_append_bucket()
2478 out_buf_size = ocnt = initial_out_buf_size; in php_iconv_stream_filter_append_bucket()
2484 ocnt += (new_out_buf_size - out_buf_size); in php_iconv_stream_filter_append_bucket()
2499 prev_ocnt = ocnt; in php_iconv_stream_filter_append_bucket()
2502 if (out_buf_size > ocnt) { in php_iconv_stream_filter_append_bucket()
2503 …if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persist… in php_iconv_stream_filter_append_bucket()