Home
last modified time | relevance | path

Searched refs:fread (Results 1 – 25 of 728) sorted by relevance

12345678910>>...30

/external/webrtc/modules/audio_coding/neteq/test/delay_tool/
Dparse_delay_file.m37 Npackets = fread(fid, 1, 'int32');
61 signal = fread(fid, 1, '*int32');
65 clock = fread(fid, 1, '*float32');
74 temp = fread(fid, [2 M], '*int32');
81 clock = fread(fid, 1, '*float32');
84 temp_ts = fread(fid, 1, 'uint32');
106 seqno(temp_ix) = fread(fid, 1, 'uint16');
107 pt(temp_ix) = fread(fid, 1, 'int32');
108 plen(temp_ix) = fread(fid, 1, 'int16');
118 last_decode_ts = fread(fid, 1, 'uint32');
[all …]
/external/brotli/research/
Dread_dist.h32 CHECK(fread(copy, sizeof(int), 1, fin) == 1); in ReadBackwardReference()
37 CHECK(fread(pos, sizeof(int), 1, fin) == 1); in ReadBackwardReference()
38 CHECK(fread(dist, sizeof(int), 1, fin) == 1); in ReadBackwardReference()
43 CHECK(fread(pos, sizeof(int), 1, fin) == 1); in ReadBackwardReference()
44 CHECK(fread(dist, sizeof(int), 1, fin) == 1); in ReadBackwardReference()
/external/llvm-project/clang/test/Analysis/
Dstream-error.c66 int Ret = fread(Buf, 1, 10, F); in error_fread()
73fread(Buf, 1, 10, F); // expected-warning {{Read function called when stream is in EOF s… in error_fread()
79 fread(Buf, 1, 10, F); // expected-warning {{might be 'indeterminate'}} in error_fread()
83 Ret = fread(Buf, 1, 10, F); // expected-warning {{Stream might be already closed}} in error_fread()
106 fread(0, 1, 0, F); in freadwrite_zerosize()
107 fread(0, 0, 1, F); in freadwrite_zerosize()
113 fread(0, 1, 0, F); // expected-warning {{Read function called when stream is in EOF state}} in freadwrite_zerosize_eofstate()
114 fread(0, 0, 1, F); // expected-warning {{Read function called when stream is in EOF state}} in freadwrite_zerosize_eofstate()
214 if (fread(Buf, 1, 10, F) < 10) { in error_indeterminate_feof1()
228 if (fread(Buf, 1, 10, F) < 10) { in error_indeterminate_feof2()
Dstd-c-library-functions-arg-constraints.c174 size_t fread(void *restrict, size_t, size_t, FILE *restrict);
176 fread(0, sizeof(int), 10, fp); // \ in test_notnull_concrete()
182 fread(buf, sizeof(int), 10, fp); in test_notnull_symbolic()
192 fread(buf, sizeof(int), 10, fp); // \ in test_notnull_symbolic2()
208 fread(wbuf, size, nitems, file); // \ in ARR38_C_F()
Dstd-c-library-functions-lookup.cpp14 size_t fread(void *, size_t, size_t, FILE *);
17 size_t fread(void *, size_t, size_t, MyFile *);
Dweak-dependencies.c10 size_t fread(void *restrict, size_t, size_t, FILE *restrict) __attribute__((nonnull(1)));
14fread(p, sizeof(int), 5, F); // expected-warning{{Null pointer passed to 1st parameter expecting '… in f()
/external/ltp/testcases/kernel/syscalls/fmtmsg/
Dfmtmsg01.c103 fread(buf, sizeof(buf[0]), strlen(str1), fp); in main()
112 fread(&ch, sizeof(ch), 1, fp); in main()
114 fread(&ch, sizeof(ch), 1, fp); in main()
118 fread(buf, sizeof(buf[0]), strlen(str2), fp); in main()
169 fread(buf, sizeof(buf[0]), strlen(str3), fp); in main()
178 fread(&ch, sizeof(ch), 1, fp); in main()
180 fread(&ch, sizeof(ch), 1, fp); in main()
184 fread(buf, sizeof(buf[0]), strlen(str4), fp); in main()
/external/webrtc/modules/audio_coding/test/
DRTPFile.cc167 EXPECT_EQ(1u, fread(&start_sec, 4, 1, _rtpFile)); in ReadHeader()
169 EXPECT_EQ(1u, fread(&start_usec, 4, 1, _rtpFile)); in ReadHeader()
171 EXPECT_EQ(1u, fread(&source, 4, 1, _rtpFile)); in ReadHeader()
173 EXPECT_EQ(1u, fread(&port, 2, 1, _rtpFile)); in ReadHeader()
175 EXPECT_EQ(1u, fread(&padding, 2, 1, _rtpFile)); in ReadHeader()
209 size_t read_len = fread(&lengthBytes, 2, 1, _rtpFile); in Read()
215 EXPECT_EQ(1u, fread(&plen, 2, 1, _rtpFile)); in Read()
216 EXPECT_EQ(1u, fread(offset, 4, 1, _rtpFile)); in Read()
222 EXPECT_EQ(1u, fread(rtpHeader, 12, 1, _rtpFile)); in Read()
236 EXPECT_EQ(lengthBytes, fread(payloadData, 1, lengthBytes, _rtpFile)); in Read()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Drdtsc_buckets_shared.h121 fread(&data, sizeof(VIZ_START_DATA), 1, f); in Deserialize()
132 fread(&data, sizeof(VIZ_STOP_DATA), 1, f); in Deserialize()
149 fread(&length, sizeof(length), 1, f); in Deserialize()
150 fread(cstr, length, 1, f); in Deserialize()
167 fread(&desc.enableThreadViz, sizeof(desc.enableThreadViz), 1, f); in Deserialize()
168 fread(&desc.color, sizeof(desc.color), 1, f); in Deserialize()
/external/webrtc/modules/audio_processing/vad/
Dpitch_based_vad_unittest.cc51 while (fread(audio_features.spectral_peak, in TEST()
55 ASSERT_EQ(1u, fread(audio_features.log_pitch_gain, in TEST()
59 fread(audio_features.pitch_lag_hz, in TEST()
61 ASSERT_EQ(1u, fread(&reference_activity_probability, in TEST()
/external/mesa3d/src/gallium/drivers/lima/standalone/
Dlima_disasm.c90 if (!fread(&chunk, sizeof(chunk), 1, in)) { in extract_shader_binary()
100 if (!fread(&chunk, sizeof(chunk), 1, in)) { in extract_shader_binary()
119 if (!fread(&chunk, sizeof(chunk), 1, in)) { in extract_shader_binary()
141 if (!fread(bin, chunk.size, 1, in)) { in extract_shader_binary()
/external/arm-trusted-firmware/tools/cert_create/src/
Dsha.c35 while ((bytes = fread(data, 1, BUFFER_SIZE, inFile)) != 0) { in sha_file()
41 while ((bytes = fread(data, 1, BUFFER_SIZE, inFile)) != 0) { in sha_file()
47 while ((bytes = fread(data, 1, BUFFER_SIZE, inFile)) != 0) { in sha_file()
/external/deqp/external/vulkancts/framework/vulkan/
DvkPrograms.cpp210 if (ok) ok = fread(&chunksize, 1, 4, file) == 4; in shaderCacheFirstRunCheck()
211 if (ok) ok = fread(&hash, 1, 4, file) == 4; in shaderCacheFirstRunCheck()
270 if (ok) ok = fread(&temp, 1, 4, file) == 4; // Chunk size (skip) in shadercacheLoad()
271 if (ok) ok = fread(&temp, 1, 4, file) == 4; // Stored hash in shadercacheLoad()
273 if (ok) ok = fread(&format, 1, 4, file) == 4; in shadercacheLoad()
274 if (ok) ok = fread(&length, 1, 4, file) == 4; in shadercacheLoad()
277 if (ok) ok = fread(bin, 1, length, file) == (size_t)length; in shadercacheLoad()
278 if (ok) ok = fread(&sourcelength, 1, 4, file) == 4; in shadercacheLoad()
282 ok = fread(source, 1, sourcelength, file) == (size_t)sourcelength; in shadercacheLoad()
335 if (ok) ok = fread(&temp, 1, 4, file) == 4; // Chunk size (skip) in shadercacheSave()
[all …]
/external/libvpx/libvpx/
Divfdec.c44 if (fread(raw_hdr, 1, 32, input_ctx->file) == 32) { in file_is_ivf()
78 if (fread(raw_header, IVF_FRAME_HDR_SZ, 1, infile) != 1) { in ivf_read_frame()
102 if (fread(*buffer, 1, frame_size, infile) != frame_size) { in ivf_read_frame()
/external/xz-embedded/userspace/
Dboottest.c32 return fread(buf, 1, size, stdin); in fill()
44 in_size = fread(in, 1, sizeof(in), stdin); in test_buf_to_buf()
55 in_size = fread(in, 1, sizeof(in), stdin); in test_buf_to_cb()
/external/libvpx/libvpx/test/
Divf_video_source.h55 ASSERT_EQ(kIvfFileHdrSize, fread(file_hdr, 1, kIvfFileHdrSize, input_file_)) in Begin()
74 if (fread(frame_hdr, 1, kIvfFrameHdrSize, input_file_) != in FillFrame()
84 fread(compressed_frame_buf_, 1, frame_sz_, input_file_)) in FillFrame()
/external/lz4/examples/
DblockStreaming_ringBuffer.c40 return fread(i, sizeof(*i), 1, fp); in read_int32()
44 return fread(array, 1, arrayBytes, fp); in read_bin()
121 const size_t r0 = fread(b0, 1, sizeof(b0), f0); in compare()
122 const size_t r1 = fread(b1, 1, sizeof(b1), f1); in compare()
DblockStreaming_lineByLine.c28 return fread(i, sizeof(*i), 1, fp); in read_uint16()
33 return fread(array, 1, arrayBytes, fp); in read_bin()
133 const size_t r0 = fread(b0, 1, tempBufferBytes, f0); in compare()
134 const size_t r1 = fread(b1, 1, tempBufferBytes, f1); in compare()
/external/libusb/examples/
Dezusb.c402 data_len = fread(data, 1, 4096, image); in parse_bin()
454 if (fread(&block_header, 1, sizeof(block_header), image) != 4) { in parse_iic()
465 read_len = fread(data, 1, data_len, image); in parse_iic()
582 if (fread(hBuf, sizeof(char), sizeof(hBuf), image) != sizeof(hBuf)) { in fx3_load_ram()
629 if ((fread(&dLength, sizeof(uint32_t), 1, image) != 1) || // read dLength in fx3_load_ram()
630 (fread(&dAddress, sizeof(uint32_t), 1, image) != 1)) { // read dAddress in fx3_load_ram()
647 if (fread(dImageBuf, sizeof(uint32_t), dLength, image) != dLength) { in fx3_load_ram()
687 if ((fread(&dExpectedCheckSum, sizeof(uint32_t), 1, image) != 1) || in fx3_load_ram()
739 if ( (fread(iic_header, 1, sizeof(iic_header), image) != sizeof(iic_header)) in ezusb_load_ram()
/external/zlib/contrib/minizip/
Dmztools.c49 while ( fread(header, 1, 30, fpZip) == 30 ) {
77 if (fread(filename, 1, fnsize, fpZip) == fnsize) {
100 if (fread(extra, 1, extsize, fpZip) == extsize) {
126 if ((int)fread(data, 1, dataSize, fpZip) == dataSize) {
261 while ( (nRead = (int)fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) {
/external/rust/crates/libz-sys/src/zlib/contrib/minizip/
Dmztools.c49 while ( fread(header, 1, 30, fpZip) == 30 ) {
77 if (fread(filename, 1, fnsize, fpZip) == fnsize) {
100 if (fread(extra, 1, extsize, fpZip) == extsize) {
126 if ((int)fread(data, 1, dataSize, fpZip) == dataSize) {
261 while ( (nRead = (int)fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) {
/external/libaom/libaom/common/
Divfdec.c35 if (fread(raw_hdr, 1, 32, input_ctx->file) == 32) { in file_is_ivf()
69 if (fread(raw_header, IVF_FRAME_HDR_SZ, 1, infile) != 1) { in ivf_read_frame()
99 if (fread(*buffer, 1, frame_size, infile) != frame_size) { in ivf_read_frame()
/external/webrtc/modules/audio_processing/agc/
Dloudness_histogram_unittest.cc57 EXPECT_EQ(fread(&buffer_size, sizeof(buffer_size), 1, in_file), 1u); in RunTest()
67 while (fread(&io, sizeof(InputOutput), 1, in_file) == 1) { in RunTest()
75 if (fread(&io, sizeof(InputOutput), 1, in_file) != 1) in RunTest()
/external/libaom/libaom/test/
Divf_video_source.h60 ASSERT_EQ(kIvfFileHdrSize, fread(file_hdr, 1, kIvfFileHdrSize, input_file_)) in Begin()
79 if (fread(frame_hdr, 1, kIvfFrameHdrSize, input_file_) != in FillFrame()
90 fread(compressed_frame_buf_, 1, frame_sz_, input_file_)) in FillFrame()
/external/llvm-project/lldb/test/API/macosx/lc-note/kern-ver-str/
Dcreate-empty-corefile.cpp153 if (::fread (magic, 1, 4, f) != 4) in get_uuid_from_binary()
173 if (::fread (&mh, 1, sizeof (mh), f) != sizeof (mh)) in get_uuid_from_binary()
192 if (::fread (&mh, 1, sizeof (mh), f) != sizeof (mh)) in get_uuid_from_binary()
216 ::fread (&cmd, sizeof (uint32_t), 1, f); in get_uuid_from_binary()
217 ::fread (&cmdsize, sizeof (uint32_t), 1, f); in get_uuid_from_binary()
222 if (::fread (&uuidcmd, 1, sizeof (uuidcmd), f) != sizeof (uuidcmd)) in get_uuid_from_binary()

12345678910>>...30