Home
last modified time | relevance | path

Searched refs:wused (Results 1 – 4 of 4) sorted by relevance

/external/libcups/cups/
Dtestipp.c38 wused, /* Bytes used */ member
327 data.wused = 0; in main()
338 printf("FAIL - %d bytes written.\n", (int)data.wused); in main()
341 else if (data.wused != sizeof(collection)) in main()
343 printf("FAIL - wrote %d bytes, expected %d bytes!\n", (int)data.wused, in main()
345 hex_dump("Bytes Written", data.wbuffer, data.wused); in main()
349 else if (memcmp(data.wbuffer, collection, data.wused)) in main()
351 for (i = 0; i < data.wused; i ++) in main()
356 hex_dump("Bytes Written", data.wbuffer, data.wused); in main()
386 else if (data.rpos != data.wused) in main()
[all …]
Drequest.c909 int wused; /* Previous bytes in buffer */ in cupsWriteRequestData() local
935 wused = http->wused; in cupsWriteRequestData()
949 http->wused < wused || in cupsWriteRequestData()
950 (wused > 0 && (size_t)http->wused == length)) in cupsWriteRequestData()
Dhttp.c706 if (!http || !http->wused) in httpFlushWrite()
714 bytes = http_write_chunk(http, http->wbuffer, (size_t)http->wused); in httpFlushWrite()
716 bytes = http_write(http, http->wbuffer, (size_t)http->wused); in httpFlushWrite()
718 http->wused = 0; in httpFlushWrite()
1120 return (http ? (size_t)http->wused : 0); in httpGetPending()
1924 if (http->wused) in httpPrintf()
2414 http->wused = 0; in httpReconnect2()
2993 if (http->wused) in httpUpdate()
3164 if (http->wused) in httpWait()
3287 if (http->wused && (length + (size_t)http->wused) > sizeof(http->wbuffer)) in httpWrite2()
[all …]
Dhttp-private.h324 int wused; /* Write buffer bytes used */ member