Lines Matching refs:toconv

1927     int toconv;  in xmlCharEncFirstLineInt()  local
1935 toconv = in->use; in xmlCharEncFirstLineInt()
1945 if (toconv > len) in xmlCharEncFirstLineInt()
1946 toconv = len; in xmlCharEncFirstLineInt()
1948 if (toconv > 180) in xmlCharEncFirstLineInt()
1949 toconv = 180; in xmlCharEncFirstLineInt()
1951 if (toconv * 2 >= written) { in xmlCharEncFirstLineInt()
1952 xmlBufferGrow(out, toconv * 2); in xmlCharEncFirstLineInt()
1958 in->content, &toconv); in xmlCharEncFirstLineInt()
1959 xmlBufferShrink(in, toconv); in xmlCharEncFirstLineInt()
1966 &written, in->content, &toconv); in xmlCharEncFirstLineInt()
1967 xmlBufferShrink(in, toconv); in xmlCharEncFirstLineInt()
1976 &written, in->content, &toconv); in xmlCharEncFirstLineInt()
1977 xmlBufferShrink(in, toconv); in xmlCharEncFirstLineInt()
1988 toconv, written); in xmlCharEncFirstLineInt()
1992 toconv, written, in->use); in xmlCharEncFirstLineInt()
2000 toconv, written, in->use); in xmlCharEncFirstLineInt()
2054 size_t toconv; in xmlCharEncFirstLineInput() local
2066 toconv = xmlBufUse(in); in xmlCharEncFirstLineInput()
2067 if (toconv == 0) in xmlCharEncFirstLineInput()
2079 if (toconv > (unsigned int) len) in xmlCharEncFirstLineInput()
2080 toconv = len; in xmlCharEncFirstLineInput()
2082 if (toconv > 180) in xmlCharEncFirstLineInput()
2083 toconv = 180; in xmlCharEncFirstLineInput()
2085 if (toconv * 2 >= written) { in xmlCharEncFirstLineInput()
2086 xmlBufGrow(out, toconv * 2); in xmlCharEncFirstLineInput()
2092 c_in = toconv; in xmlCharEncFirstLineInput()
2180 size_t toconv; in xmlCharEncInput() local
2192 toconv = xmlBufUse(in); in xmlCharEncInput()
2193 if (toconv == 0) in xmlCharEncInput()
2195 if ((toconv > 64 * 1024) && (flush == 0)) in xmlCharEncInput()
2196 toconv = 64 * 1024; in xmlCharEncInput()
2200 if (toconv * 2 >= written) { in xmlCharEncInput()
2201 xmlBufGrow(out, toconv * 2); in xmlCharEncInput()
2209 c_in = toconv; in xmlCharEncInput()
2299 int toconv; in xmlCharEncInFunc() local
2308 toconv = in->use; in xmlCharEncInFunc()
2309 if (toconv == 0) in xmlCharEncInFunc()
2312 if (toconv * 2 >= written) { in xmlCharEncInFunc()
2313 xmlBufferGrow(out, out->size + toconv * 2); in xmlCharEncInFunc()
2318 in->content, &toconv); in xmlCharEncInFunc()
2319 xmlBufferShrink(in, toconv); in xmlCharEncInFunc()
2326 &written, in->content, &toconv); in xmlCharEncInFunc()
2327 xmlBufferShrink(in, toconv); in xmlCharEncInFunc()
2337 &written, in->content, &toconv); in xmlCharEncInFunc()
2338 xmlBufferShrink(in, toconv); in xmlCharEncInFunc()
2350 toconv, written); in xmlCharEncInFunc()
2357 toconv, written, in->use); in xmlCharEncInFunc()
2364 toconv, written, in->use); in xmlCharEncInFunc()
2411 size_t toconv; in xmlCharEncOutput() local
2466 toconv = xmlBufUse(in); in xmlCharEncOutput()
2467 if (toconv == 0) in xmlCharEncOutput()
2469 if (toconv > 64 * 1024) in xmlCharEncOutput()
2470 toconv = 64 * 1024; in xmlCharEncOutput()
2471 if (toconv * 4 >= written) { in xmlCharEncOutput()
2472 xmlBufGrow(out, toconv * 4); in xmlCharEncOutput()
2478 c_in = toconv; in xmlCharEncOutput()
2642 int toconv; in xmlCharEncOutFunc() local
2660 toconv = 0; in xmlCharEncOutFunc()
2663 NULL, &toconv); in xmlCharEncOutFunc()
2672 &written, NULL, &toconv); in xmlCharEncOutFunc()
2681 &written, NULL, &toconv); in xmlCharEncOutFunc()
2696 toconv = in->use; in xmlCharEncOutFunc()
2697 if (toconv == 0) in xmlCharEncOutFunc()
2699 if (toconv * 4 >= written) { in xmlCharEncOutFunc()
2700 xmlBufferGrow(out, toconv * 4); in xmlCharEncOutFunc()
2705 in->content, &toconv); in xmlCharEncOutFunc()
2707 xmlBufferShrink(in, toconv); in xmlCharEncOutFunc()
2716 &written, in->content, &toconv); in xmlCharEncOutFunc()
2717 xmlBufferShrink(in, toconv); in xmlCharEncOutFunc()
2737 &written, in->content, &toconv); in xmlCharEncOutFunc()
2738 xmlBufferShrink(in, toconv); in xmlCharEncOutFunc()
2770 toconv, written); in xmlCharEncOutFunc()
2782 toconv, written, in->use); in xmlCharEncOutFunc()
2953 int toconv = in->end - in->cur, written = 32000; in xmlByteConsumed() local
2959 toconv = in->end - cur; in xmlByteConsumed()
2962 cur, &toconv); in xmlByteConsumed()
2965 cur += toconv; in xmlByteConsumed()
2970 toconv = in->end - cur; in xmlByteConsumed()
2973 &written, cur, &toconv); in xmlByteConsumed()
2981 cur += toconv; in xmlByteConsumed()
2987 toconv = in->end - cur; in xmlByteConsumed()
2990 &written, cur, &toconv); in xmlByteConsumed()
2998 cur += toconv; in xmlByteConsumed()