Searched refs:amt_read (Results 1 - 6 of 6) sorted by relevance

/external/libpcap/
H A Dsf-pcap.c155 size_t amt_read; local
184 amt_read = fread(((char *)&hdr) + sizeof hdr.magic, 1,
186 if (amt_read != sizeof(hdr) - sizeof(hdr.magic)) {
195 (unsigned long)amt_read);
402 size_t amt_read; local
412 amt_read = fread(&sf_hdr, 1, ps->hdrsize, fp);
413 if (amt_read != ps->hdrsize) {
420 if (amt_read != 0) {
424 (unsigned long)amt_read);
521 amt_read
705 int amt_read; local
[all...]
H A Dsavefile.c261 size_t amt_read; local
272 amt_read = fread((char *)&magic, 1, sizeof(magic), fp);
273 if (amt_read != sizeof(magic)) {
282 (unsigned long)amt_read);
H A Dsf-pcap-ng.c234 size_t amt_read; local
236 amt_read = fread(buf, 1, bytes_to_read, fp);
237 if (amt_read != bytes_to_read) {
243 if (amt_read == 0 && !fail_on_eof)
248 (unsigned long)amt_read);
648 size_t amt_read; local
693 amt_read = fread(&total_length, 1, sizeof(total_length), fp);
694 if (amt_read < sizeof(total_length)) {
709 amt_read = fread(&byte_order_magic, 1, sizeof(byte_order_magic), fp);
710 if (amt_read < sizeo
[all...]
/external/icu/icu4c/source/test/intltest/
H A Ditspoof.cpp383 int32_t amt_read = fread(fileBuf.getAlias(), 1, fileSize, f.getAlias()); local
384 TEST_ASSERT_EQ(amt_read, fileSize);
386 if (amt_read != fileSize || fileSize <=0) {
H A Drbbitst.cpp1624 int amt_read; local
1630 amt_read = fread(fileBuf, 1, fileSize, f);
1631 if (amt_read != fileSize || fileSize <= 0) {
H A Dregextst.cpp3910 int32_t amt_read; local
3916 amt_read = fread(fileBuf, 1, fileSize, f);
3917 if (amt_read != fileSize || fileSize <= 0) {

Completed in 955 milliseconds