Lines Matching refs:toconv
2053 int toconv; in xmlCharEncFirstLineInt() local
2061 toconv = in->use; in xmlCharEncFirstLineInt()
2071 if (toconv > len) in xmlCharEncFirstLineInt()
2072 toconv = len; in xmlCharEncFirstLineInt()
2074 if (toconv > 180) in xmlCharEncFirstLineInt()
2075 toconv = 180; in xmlCharEncFirstLineInt()
2077 if (toconv * 2 >= written) { in xmlCharEncFirstLineInt()
2078 xmlBufferGrow(out, toconv * 2); in xmlCharEncFirstLineInt()
2083 in->content, &toconv, 0); in xmlCharEncFirstLineInt()
2084 xmlBufferShrink(in, toconv); in xmlCharEncFirstLineInt()
2094 toconv, written); in xmlCharEncFirstLineInt()
2098 toconv, written, in->use); in xmlCharEncFirstLineInt()
2106 toconv, written, in->use); in xmlCharEncFirstLineInt()
2160 size_t toconv; in xmlCharEncFirstLineInput() local
2172 toconv = xmlBufUse(in); in xmlCharEncFirstLineInput()
2173 if (toconv == 0) in xmlCharEncFirstLineInput()
2185 if (toconv > (unsigned int) len) in xmlCharEncFirstLineInput()
2186 toconv = len; in xmlCharEncFirstLineInput()
2188 if (toconv > 180) in xmlCharEncFirstLineInput()
2189 toconv = 180; in xmlCharEncFirstLineInput()
2191 if (toconv * 2 >= written) { in xmlCharEncFirstLineInput()
2192 xmlBufGrow(out, toconv * 2); in xmlCharEncFirstLineInput()
2198 c_in = toconv; in xmlCharEncFirstLineInput()
2267 size_t toconv; in xmlCharEncInput() local
2279 toconv = xmlBufUse(in); in xmlCharEncInput()
2280 if (toconv == 0) in xmlCharEncInput()
2282 if ((toconv > 64 * 1024) && (flush == 0)) in xmlCharEncInput()
2283 toconv = 64 * 1024; in xmlCharEncInput()
2287 if (toconv * 2 >= written) { in xmlCharEncInput()
2288 xmlBufGrow(out, toconv * 2); in xmlCharEncInput()
2296 c_in = toconv; in xmlCharEncInput()
2367 int toconv; in xmlCharEncInFunc() local
2376 toconv = in->use; in xmlCharEncInFunc()
2377 if (toconv == 0) in xmlCharEncInFunc()
2380 if (toconv * 2 >= written) { in xmlCharEncInFunc()
2381 xmlBufferGrow(out, out->size + toconv * 2); in xmlCharEncInFunc()
2385 in->content, &toconv, 1); in xmlCharEncInFunc()
2386 xmlBufferShrink(in, toconv); in xmlCharEncInFunc()
2397 toconv, written); in xmlCharEncInFunc()
2404 toconv, written, in->use); in xmlCharEncInFunc()
2411 toconv, written, in->use); in xmlCharEncInFunc()
2458 size_t toconv; in xmlCharEncOutput() local
2496 toconv = xmlBufUse(in); in xmlCharEncOutput()
2497 if (toconv == 0) in xmlCharEncOutput()
2499 if (toconv > 64 * 1024) in xmlCharEncOutput()
2500 toconv = 64 * 1024; in xmlCharEncOutput()
2501 if (toconv * 4 >= written) { in xmlCharEncOutput()
2502 xmlBufGrow(out, toconv * 4); in xmlCharEncOutput()
2508 c_in = toconv; in xmlCharEncOutput()
2631 int toconv; in xmlCharEncOutFunc() local
2648 toconv = 0; in xmlCharEncOutFunc()
2651 NULL, &toconv); in xmlCharEncOutFunc()
2664 toconv = in->use; in xmlCharEncOutFunc()
2665 if (toconv == 0) in xmlCharEncOutFunc()
2667 if (toconv * 4 >= written) { in xmlCharEncOutFunc()
2668 xmlBufferGrow(out, toconv * 4); in xmlCharEncOutFunc()
2672 in->content, &toconv); in xmlCharEncOutFunc()
2673 xmlBufferShrink(in, toconv); in xmlCharEncOutFunc()
2695 toconv, written); in xmlCharEncOutFunc()
2707 toconv, written, in->use); in xmlCharEncOutFunc()
2743 toconv = charrefLen; in xmlCharEncOutFunc()
2745 charref, &toconv); in xmlCharEncOutFunc()
2747 if ((ret < 0) || (toconv != charrefLen)) { in xmlCharEncOutFunc()
2880 int toconv = in->end - in->cur, written = 32000; in xmlByteConsumed() local
2885 toconv = in->end - cur; in xmlByteConsumed()
2888 cur, &toconv); in xmlByteConsumed()
2896 cur += toconv; in xmlByteConsumed()