Home
last modified time | relevance | path

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

/external/libcups/backend/
Dsocket.c79 tbytes; /* Total number of bytes written */ in main() local
385 tbytes = 0; in main()
388 tbytes += write(device_fd, buffer, (size_t)bytes); in main()
390 while (copies > 0 && tbytes >= 0) in main()
401 tbytes = -1; in main()
403 tbytes = bytes; in main()
405 if (print_fd != 0 && tbytes >= 0) in main()
411 if (waiteof && tbytes >= 0) in main()
448 return (tbytes >= 0 ? CUPS_BACKEND_OK : CUPS_BACKEND_FAILED); in main()
Dusb-unix.c45 ssize_t tbytes; /* Total number of bytes written */ in print_device() local
152 tbytes = 0; in print_device()
154 while (copies > 0 && tbytes >= 0) in print_device()
170 tbytes = backendRunLoop(print_fd, device_fd, -1, NULL, use_bc, 1, NULL); in print_device()
173 tbytes = backendRunLoop(print_fd, device_fd, -1, NULL, use_bc, 1, side_cb); in print_device()
176 if (print_fd != 0 && tbytes >= 0) in print_device()
Dlpd.c730 off_t tbytes; /* Total bytes written */ in lpd_queue() local
1111 tbytes = 0; in lpd_queue()
1120 100.0 * tbytes / filestats.st_size); in lpd_queue()
1128 tbytes += nbytes; in lpd_queue()
1134 if (tbytes < filestats.st_size) in lpd_queue()
/external/libcups/cups/
Dstring.c534 tbytes, /* Total string bytes */ in _cupsStrStatistics() local
545 for (count = 0, abytes = 0, tbytes = 0, in _cupsStrStatistics()
557 tbytes += item->ref_count * len; in _cupsStrStatistics()
570 *total_bytes = tbytes; in _cupsStrStatistics()
Dfile.c2480 ssize_t tbytes = 0; /* Number of bytes */ in cups_fill() local
2485 tbytes = (ssize_t)sizeof(trailer); in cups_fill()
2487 tbytes = (ssize_t)fp->stream.avail_in; in cups_fill()
2489 memcpy(trailer, fp->stream.next_in, (size_t)tbytes); in cups_fill()
2490 fp->stream.next_in += tbytes; in cups_fill()
2491 fp->stream.avail_in -= (size_t)tbytes; in cups_fill()
2494 if (tbytes < (ssize_t)sizeof(trailer)) in cups_fill()
2496 …if (read(fp->fd, trailer + tbytes, sizeof(trailer) - (size_t)tbytes) < ((ssize_t)sizeof(trailer) -… in cups_fill()
Dhttp.c4671 ssize_t tbytes, /* Total bytes sent */ in http_write() local
4677 tbytes = 0; in http_write()
4795 tbytes += bytes; in http_write()
4800 http_debug_hex("http_write", buffer - tbytes, (int)tbytes); in http_write()
4803 DEBUG_printf(("3http_write: Returning " CUPS_LLFMT ".", CUPS_LLCAST tbytes)); in http_write()
4805 return (tbytes); in http_write()
Dipp.c6579 ssize_t tbytes, /* Total bytes read */ in ipp_read_http() local
6589 for (tbytes = 0, bytes = 0; in ipp_read_http()
6590 tbytes < (int)length; in ipp_read_http()
6591 tbytes += bytes, buffer += bytes) in ipp_read_http()
6593 …DEBUG_printf(("9ipp_read_http: tbytes=" CUPS_LLFMT ", http->state=%d", CUPS_LLCAST tbytes, http->s… in ipp_read_http()
6631 if ((bytes = httpRead2(http, (char *)buffer, length - (size_t)tbytes)) < 0) in ipp_read_http()
6650 if (tbytes == 0 && bytes < 0) in ipp_read_http()
6651 tbytes = -1; in ipp_read_http()
6653 DEBUG_printf(("8ipp_read_http: Returning " CUPS_LLFMT " bytes", CUPS_LLCAST tbytes)); in ipp_read_http()
6655 return (tbytes); in ipp_read_http()
/external/libcups/cgi-bin/
Dvar.c968 tbytes; /* Total number of bytes read */ in cgi_initialize_post() local
995 for (tbytes = 0; tbytes < length; tbytes += (size_t)nbytes) in cgi_initialize_post()
996 if ((nbytes = read(0, data + tbytes, (size_t)(length - tbytes))) < 0) in cgi_initialize_post()
/external/musl/src/regex/
Dregexec.c212 size_t tbytes, rbytes, pbytes, xbytes, total_bytes; in tre_tnfa_run_parallel() local
229 tbytes = sizeof(*tmp_tags) * num_tags; in tre_tnfa_run_parallel()
235 + (rbytes + xbytes * tnfa->num_states) * 2 + tbytes + pbytes; in tre_tnfa_run_parallel()
244 tmp_buf = buf + tbytes; in tre_tnfa_run_parallel()
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h15341 __u64 tbytes; member
/external/bcc/libbpf-tools/x86/
Dvmlinux_505.h15764 __u64 tbytes; member
Dvmlinux.h15764 __u64 tbytes; member