Home
last modified time | relevance | path

Searched refs:print_bytes (Results 1 – 21 of 21) sorted by relevance

/external/libcups/backend/
Drunloop.c30 ssize_t print_bytes, /* Print bytes read */ in backendDrainOutput() local
68 if ((print_bytes = read(print_fd, print_buffer, in backendDrainOutput()
82 print_bytes = 0; in backendDrainOutput()
84 else if (print_bytes == 0) in backendDrainOutput()
94 (int)print_bytes); in backendDrainOutput()
96 for (print_ptr = print_buffer; print_bytes > 0;) in backendDrainOutput()
98 if ((bytes = write(device_fd, print_ptr, (size_t)print_bytes)) < 0) in backendDrainOutput()
115 print_bytes -= bytes; in backendDrainOutput()
140 ssize_t print_bytes, /* Print bytes read */ in backendRunLoop() local
202 for (print_bytes = 0, print_ptr = print_buffer, offline = -1, in backendRunLoop()
[all …]
Dusb-libusb.c74 ssize_t print_bytes; /* Print bytes read */ member
337 g.print_bytes = 0; in print_device()
355 if (!g.print_bytes) in print_device()
365 if (g.print_bytes) in print_device()
424 if (g.drain_output && !nfds && !g.print_bytes) in print_device()
437 g.print_bytes = read(print_fd, print_buffer, sizeof(print_buffer)); in print_device()
439 if (g.print_bytes < 0) in print_device()
454 g.print_bytes = 0; in print_device()
456 else if (g.print_bytes == 0) in print_device()
468 (int)g.print_bytes); in print_device()
[all …]
Dusb-darwin.c241 ssize_t print_bytes; /* Print bytes read */ member
564 g.print_bytes = 0; in print_device()
582 if (!g.print_bytes) in print_device()
592 if (g.print_bytes) in print_device()
651 if (g.drain_output && !nfds && !g.print_bytes) in print_device()
669 g.print_bytes = read(print_fd, print_buffer, g.debug_bytes); in print_device()
672 g.print_bytes = read(print_fd, print_buffer, sizeof(print_buffer)); in print_device()
675 if (g.print_bytes < 0) in print_device()
690 g.print_bytes = 0; in print_device()
692 else if (g.print_bytes == 0) in print_device()
[all …]
/external/v4l-utils/contrib/parsers/
Dusbmon2usbsnoop.pl6 sub print_bytes{ subroutine
32 print_bytes($1);
37 print_bytes($1);
44 print_bytes($1);
46 print_bytes($2);
50 print_bytes($1);
/external/vboot_reference/futility/
Dvb2_helper.c75 print_bytes(key.id, sizeof(*key.id)); in show_vb21_pubkey_buf()
80 print_bytes(hash.sha1, sizeof(hash.sha1)); in show_vb21_pubkey_buf()
152 print_bytes(&key->id, sizeof(key->id)); in ft_show_vb21_privkey()
157 print_bytes(hash.sha1, sizeof(hash.sha1)); in ft_show_vb21_privkey()
Dfutility.h277 void print_bytes(const void *ptr, size_t len);
Dcmd_show.c229 print_bytes((uint8_t *)body_hash->raw, in fw_show_metadata_hash()
258 print_bytes(&real_hash.raw, vb2_digest_size(real_hash.algo)); in fw_show_metadata_hash()
Dfile_type_rwsig.c46 print_bytes(&sig->id, sizeof(sig->id)); in show_sig()
Dmisc.c415 void print_bytes(const void *ptr, size_t len) in print_bytes() function
/external/elfutils/tests/
Dsectiondump.c32 static void print_bytes (Elf_Data *data);
128 print_bytes (data); in handle_section()
141 print_bytes (Elf_Data *data) in print_bytes() function
DChangeLog2453 * sectiondump.c (print_bytes): Likewise.
/external/f2fs-tools/tools/f2fs_io/
Df2fs_io.c917 unsigned bs, count, i, print_bytes; in do_read() local
946 print_bytes = atoi(argv[6]); in do_read()
947 if (print_bytes > buf_size) in do_read()
950 print_buf = xmalloc(print_bytes); in do_read()
980 memcpy(print_buf, buf, print_bytes); in do_read()
987 memcpy(print_buf, buf, print_bytes); in do_read()
991 memcpy(print_buf, data, print_bytes); in do_read()
995 ((long double)read_cnt / (get_current_us() - total_time)), print_bytes); in do_read()
997 for (i = 1; i <= print_bytes; i++) { in do_read()
/external/rust/android-crates-io/crates/os_str_bytes/
DCargo.toml61 [dependencies.print_bytes]
/external/v4l-utils/contrib/parsers/m920x/
Dm920x_parse.pl58 sub print_bytes { subroutine
/external/rust/android-crates-io/crates/os_str_bytes/src/
Draw_str.rs2154 mod print_bytes { module
2155 use print_bytes::ByteStr;
2156 use print_bytes::ToBytes;
2158 use print_bytes::WideStr;
/external/v4l-utils/utils/dvb/
Ddvbv5-zap.c737 static char *print_bytes(float val) in print_bytes() function
970 print_bytes(pidt[_pid] * 1000. * 8 * 188/ diff)); in do_traffic_monitor()
986 print_bytes(other_pidt * 1000. * 8 * 188/ diff)); in do_traffic_monitor()
1000 print_bytes(pidt[_pid] * 1000. * 8 * 188/ diff), in do_traffic_monitor()
/external/iptables/extensions/
Dlibxt_hashlimit.c842 static uint32_t print_bytes(uint64_t avg, uint64_t burst, const char *prefix) in print_bytes() function
929 quantum = print_bytes(cfg->avg, cfg->burst, ""); in hashlimit_mt_print()
1085 quantum = print_bytes(cfg->avg, cfg->burst, "--hashlimit-"); in hashlimit_mt_save()
/external/v4l-utils/utils/cec-ctl/
Dcec-ctl.cpp456 static void print_bytes(const __u8 *bytes, unsigned len) in print_bytes() function
472 print_bytes(msg->msg, msg->len); in log_raw_msg()
/external/elfutils/src/
Dreadelf.c4784 print_bytes (size_t n, const unsigned char *bytes) in print_bytes() function
8772 print_bytes (val, readp); in print_form_data()
8782 print_bytes (val, readp); in print_form_data()
8792 print_bytes (val, readp); in print_form_data()
8802 print_bytes (val, readp); in print_form_data()
8809 print_bytes (16, readp); in print_form_data()
DChangeLog1333 (print_bytes): Likewise.
/external/v4l-utils/
DChangeLog1738 cec-ctl: improve print_bytes()