Home
last modified time | relevance | path

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

/external/libcups/cups/
Dstring.c539 tbytes, /* Total string bytes */ in _cupsStrStatistics() local
550 for (count = 0, abytes = 0, tbytes = 0, in _cupsStrStatistics()
562 tbytes += item->ref_count * len; in _cupsStrStatistics()
575 *total_bytes = tbytes; in _cupsStrStatistics()
Dfile.c2472 ssize_t tbytes = 0; /* Number of bytes */ in cups_fill() local
2477 tbytes = (ssize_t)sizeof(trailer); in cups_fill()
2479 tbytes = (ssize_t)fp->stream.avail_in; in cups_fill()
2481 memcpy(trailer, fp->stream.next_in, (size_t)tbytes); in cups_fill()
2482 fp->stream.next_in += tbytes; in cups_fill()
2483 fp->stream.avail_in -= (size_t)tbytes; in cups_fill()
2486 if (tbytes < (ssize_t)sizeof(trailer)) in cups_fill()
2488 …if (read(fp->fd, trailer + tbytes, sizeof(trailer) - (size_t)tbytes) < ((ssize_t)sizeof(trailer) -… in cups_fill()
Dipp.c6702 ssize_t tbytes, /* Total bytes read */ in ipp_read_http() local
6712 for (tbytes = 0, bytes = 0; in ipp_read_http()
6713 tbytes < (int)length; in ipp_read_http()
6714 tbytes += bytes, buffer += bytes) in ipp_read_http()
6716 …DEBUG_printf(("9ipp_read_http: tbytes=" CUPS_LLFMT ", http->state=%d", CUPS_LLCAST tbytes, http->s… in ipp_read_http()
6754 if ((bytes = httpRead2(http, (char *)buffer, length - (size_t)tbytes)) < 0) in ipp_read_http()
6773 if (tbytes == 0 && bytes < 0) in ipp_read_http()
6774 tbytes = -1; in ipp_read_http()
6776 DEBUG_printf(("8ipp_read_http: Returning " CUPS_LLFMT " bytes", CUPS_LLCAST tbytes)); in ipp_read_http()
6778 return (tbytes); in ipp_read_http()
Dhttp.c4710 ssize_t tbytes, /* Total bytes sent */ in http_write() local
4716 tbytes = 0; in http_write()
4834 tbytes += bytes; in http_write()
4839 http_debug_hex("http_write", buffer - tbytes, (int)tbytes); in http_write()
4842 DEBUG_printf(("3http_write: Returning " CUPS_LLFMT ".", CUPS_LLCAST tbytes)); in http_write()
4844 return (tbytes); in http_write()