Searched refs:amt_read (Results 1 - 5 of 5) sorted by relevance
/freebsd-9.3-release/contrib/libpcap/ |
H A D | sf-pcap.c | 133 size_t amt_read; local 152 amt_read = fread(((char *)&hdr) + sizeof hdr.magic, 1, 154 if (amt_read != sizeof(hdr) - sizeof(hdr.magic)) { 163 (unsigned long)amt_read); 299 size_t amt_read; local 309 amt_read = fread(&sf_hdr, 1, p->sf.hdrsize, fp); 310 if (amt_read != p->sf.hdrsize) { 317 if (amt_read != 0) { 321 (unsigned long)amt_read); 392 amt_read [all...] |
H A D | savefile.c | 249 size_t amt_read; local 263 amt_read = fread((char *)&magic, 1, sizeof(magic), fp); 264 if (amt_read != sizeof(magic)) { 273 (unsigned long)amt_read);
|
H A D | sf-pcap-ng.c | 211 size_t amt_read; local 213 amt_read = fread(buf, 1, bytes_to_read, fp); 214 if (amt_read != bytes_to_read) { 220 if (amt_read == 0 && !fail_on_eof) 225 (unsigned long)amt_read); 504 size_t amt_read; local 541 amt_read = fread(&total_length, 1, sizeof(total_length), fp); 542 if (amt_read < sizeof(total_length)) { 556 amt_read = fread(&byte_order_magic, 1, sizeof(byte_order_magic), fp); 557 if (amt_read < sizeo [all...] |
/freebsd-9.3-release/sbin/camcontrol/ |
H A D | camcontrol.c | 4053 ssize_t amt_read; local 4057 for (amt_read = 0; amt_to_read > 0; 4058 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) { 4059 if (amt_read == -1) { 4064 amt_to_read -= amt_read; 4065 buf_ptr += amt_read; 6524 ssize_t amt_read; local 6528 for (amt_read = 0; amt_to_read > 0; 6529 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) { 6530 if (amt_read [all...] |
/freebsd-9.3-release/usr.sbin/ctladm/ |
H A D | ctladm.c | 1191 ssize_t amt_read; local 1195 for (amt_read = 0; amt_to_read > 0; 1196 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) { 1197 if (amt_read == -1) { 1202 amt_to_read -= amt_read; 1203 buf_ptr += amt_read;
|
Completed in 175 milliseconds