Home
last modified time | relevance | path

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

12345678910>>...14

/external/llvm/lib/Analysis/
DProfileInfoLoader.cpp46 if (fread(&NumEntries, sizeof(unsigned), 1, F) != 1) { in ReadProfilingBlock()
57 if (fread(&TempSpace[0], sizeof(unsigned)*NumEntries, 1, F) != 1) { in ReadProfilingBlock()
97 while (fread(&PacketType, sizeof(unsigned), 1, F) == 1) { in ProfileInfoLoader()
107 if (fread(&ArgLength, sizeof(unsigned), 1, F) != 1) { in ProfileInfoLoader()
118 if (fread(&Chars[0], (ArgLength+3) & ~3, 1, F) != 1) { in ProfileInfoLoader()
DPathProfileInfo.cpp302 while( fread(&profType, sizeof(ProfilingType), 1, _file) ) { in runOnModule()
337 if( fread(&savedArgsLength, sizeof(unsigned), 1, _file) != 1 ) { in handleArgumentInfo()
344 if( fread(args, 1, savedArgsLength, _file) != savedArgsLength ) in handleArgumentInfo()
360 if( fread(&functionCount, sizeof(functionCount), 1, _file) != 1 ) { in handlePathInfo()
368 if( fread(&pathHeader, sizeof(pathHeader), 1, _file) != 1 ) { in handlePathInfo()
379 if( fread(pathTable, sizeof(PathProfileTableEntry), in handlePathInfo()
/external/srec/srec/EventLog/src/
Driff.c355 if (fread(form, 1, 4, f) != 4) break; in riffDescend()
356 if (fread(&len, sizeof(int), 1, f) != 1) in riffDescend()
371 if (fread(tag, 1, 4, f) != 4) break; in riffDescend()
386 if (fread(tag, 1, 4, f) != 4) break; in riffDescend()
387 if (fread(&len, sizeof(int), 1, f) != 1) in riffDescend()
412 if (fread(form, 1, 4, f) != 4) break; in riffDescend()
413 if (fread(&len, sizeof(int), 1, f) != 1) in riffDescend()
428 if (fread(tag, 1, 4, f) != 4) break; in riffDescend()
472 fread(&swichunk->segs.num_tuples, 1, sizeof(int), f); in readSwiChunk()
484 else if (fread(swichunk->segs.tuples, 1, sub_length, f) != (size_t)sub_length) in readSwiChunk()
[all …]
/external/libvpx/libvpx/examples/
Ddecoder_tmpl.c66 if(!(fread(file_hdr, 1, IVF_FILE_HDR_SZ, infile) == IVF_FILE_HDR_SZ in main()
75 while(fread(frame_hdr, 1, IVF_FRAME_HDR_SZ, infile) == IVF_FRAME_HDR_SZ) { in main()
84 if(fread(frame, 1, frame_sz, infile) != frame_sz) in main()
/external/libvpx/libvpx/test/
Divf_video_source.h60 ASSERT_EQ(kIvfFileHdrSize, fread(file_hdr, 1, kIvfFileHdrSize, input_file_)) in Begin()
77 if (fread(frame_hdr, 1, kIvfFrameHdrSize, input_file_) in FillFrame()
87 fread(compressed_frame_buf_, 1, frame_sz_, input_file_)) in FillFrame()
/external/tinyalsa/
Dtinyplay.c100 fread(&riff_wave_header, sizeof(riff_wave_header), 1, file); in main()
109 fread(&chunk_header, sizeof(chunk_header), 1, file); in main()
113 fread(&chunk_fmt, sizeof(chunk_fmt), 1, file); in main()
207 num_read = fread(buffer, 1, size, file); in play_sample()
/external/zlib/src/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/libvorbis/include/vorbis/
Dvorbisfile.h76 (size_t (*)(void *, size_t, size_t, void *)) fread,
83 (size_t (*)(void *, size_t, size_t, void *)) fread,
90 (size_t (*)(void *, size_t, size_t, void *)) fread,
97 (size_t (*)(void *, size_t, size_t, void *)) fread,
/external/sonivox/arm-wt-22k/host_src/
Deas_wave.c332 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen()
345 if (fread(&tag, sizeof(tag), 1, wFile->file) != 1) in WaveFileOpen()
358 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen()
374 if (fread(&wFile->wh.fc, sizeof(FMT_CHUNK), 1, wFile->file) != 1) in WaveFileOpen()
385 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen()
/external/sonivox/arm-hybrid-22k/host_src/
Deas_wave.c332 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen()
345 if (fread(&tag, sizeof(tag), 1, wFile->file) != 1) in WaveFileOpen()
358 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen()
374 if (fread(&wFile->wh.fc, sizeof(FMT_CHUNK), 1, wFile->file) != 1) in WaveFileOpen()
385 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen()
/external/sonivox/arm-fm-22k/host_src/
Deas_wave.c332 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen()
345 if (fread(&tag, sizeof(tag), 1, wFile->file) != 1) in WaveFileOpen()
358 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen()
374 if (fread(&wFile->wh.fc, sizeof(FMT_CHUNK), 1, wFile->file) != 1) in WaveFileOpen()
385 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen()
/external/webrtc/src/modules/audio_processing/test/
Dprocess_test.cc51 if (fread(&size, sizeof(int32_t), 1, file) != 1) { in ReadMessageFromFile()
60 if (fread(array.get(), sizeof(char), usize, file) != usize) { in ReadMessageFromFile()
477 ASSERT_EQ(path_size, fread(echo_path.get(), in void_main()
697 read_count = fread(&event, sizeof(event), 1, event_file); in void_main()
711 fread(&sample_rate_hz, sizeof(sample_rate_hz), 1, event_file)); in void_main()
715 fread(&device_sample_rate_hz, in void_main()
743 read_count = fread(far_frame._payloadData, in void_main()
784 read_count = fread(near_frame._payloadData, in void_main()
807 fread(&delay_ms, 2, 1, delay_file)); in void_main()
809 fread(&drift_samples, sizeof(drift_samples), 1, drift_file)); in void_main()
[all …]
/external/webrtc/test/testsupport/metrics/
Dvideo_metrics.cc112 int ref_bytes = fread(ref, 1, frame_length, ref_fp); in CalculateMetrics()
113 int test_bytes = fread(test, 1, frame_length, test_fp); in CalculateMetrics()
134 ref_bytes = fread(ref, 1, frame_length, ref_fp); in CalculateMetrics()
135 test_bytes = fread(test, 1, frame_length, test_fp); in CalculateMetrics()
/external/bison/lib/
Dunlocked-io.h86 # undef fread
87 # define fread(w,x,y,z) fread_unlocked (w,x,y,z) macro
89 # define fread_unlocked(w,x,y,z) fread (w,x,y,z)
/external/qemu/distrib/libpng-1.2.19/
Dpngrio.c57 check = (png_size_t)fread(data, (png_size_t)1, length, in png_default_read_data()
90 check = fread(n_data, 1, length, io_ptr); in png_default_read_data()
106 err = fread(buf, (png_size_t)1, read, io_ptr); in png_default_read_data()
/external/webkit/Source/WebCore/platform/network/win/
DDownloadBundleWin.cpp135 if (fread(&footerMagicNumber, 4, 1, bundle) != 1) { in extractResumeData()
156 if (fread(&footerLength, 4, 1, bundle) != 1) { in extractResumeData()
170 if (fread(footerBuffer.data(), 1, footerLength, bundle) != footerLength) { in extractResumeData()
/external/libvorbis/examples/
Dencoder_example.c86 fread(readbuffer,1,2,stdin); in main()
90 fread(readbuffer,1,6,stdin); in main()
182 long bytes=fread(readbuffer,1,READ*4,stdin); /* stereo hardwired here */ in main()
Ddecoder_example.c90 bytes=fread(buffer,1,4096,stdin); in main()
177 bytes=fread(buffer,1,4096,stdin); in main()
286 bytes=fread(buffer,1,4096,stdin); in main()
/external/libpng/
Dpngrio.c79 check = (png_size_t)fread(data, (png_size_t)1, length, in png_default_read_data()
114 check = fread(n_data, 1, length, io_ptr); in png_default_read_data()
130 err = fread(buf, (png_size_t)1, read, io_ptr); in png_default_read_data()
/external/libyuv/files/util/
Dcompare.cc41 amt1 = fread(buf1, 1, kBlockSize, fin1); in main()
44 amt2 = fread(buf2, 1, kBlockSize, fin2); in main()
/external/quake/quake/src/QW/client/
Dcl_demo.c152 fread(&demotime, sizeof(demotime), 1, cls.demofile); in CL_GetDemoMessage()
192 fread (&c, sizeof(c), 1, cls.demofile); in CL_GetDemoMessage()
199 r = fread (pcmd, sizeof(*pcmd), 1, cls.demofile); in CL_GetDemoMessage()
216 r = fread (&f, 4, 1, cls.demofile); in CL_GetDemoMessage()
223 fread (&net_message.cursize, 4, 1, cls.demofile); in CL_GetDemoMessage()
228 r = fread (net_message.data, net_message.cursize, 1, cls.demofile); in CL_GetDemoMessage()
237 fread (&i, 4, 1, cls.demofile); in CL_GetDemoMessage()
239 fread (&i, 4, 1, cls.demofile); in CL_GetDemoMessage()
Dgl_mesh.c306 fread (&numcommands, 4, 1, f); in GL_MakeAliasModelDisplayLists()
307 fread (&numorder, 4, 1, f); in GL_MakeAliasModelDisplayLists()
308 fread (&commands, numcommands * sizeof(commands[0]), 1, f); in GL_MakeAliasModelDisplayLists()
309 fread (&vertexorder, numorder * sizeof(vertexorder[0]), 1, f); in GL_MakeAliasModelDisplayLists()
/external/dropbear/libtomcrypt/demos/
Dencrypt.c168 if (fread(IV,1,ivsize,fdin) != ivsize) { in main()
180 y = fread(inbuf,1,sizeof(inbuf),fdin); in main()
221 y = fread(inbuf,1,sizeof(inbuf),fdin); in main()
/external/clang/test/Analysis/
Dstream.c11 extern size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream);
19 fread(buf, 1, 1, p); // expected-warning {{Stream pointer might be NULL}} in f1()
/external/quake/quake/src/WinQuake/
Dgl_mesh.cpp321 fread (&numcommands, 4, 1, f); in GL_MakeAliasModelDisplayLists()
322 fread (&numorder, 4, 1, f); in GL_MakeAliasModelDisplayLists()
323 fread (&commands, numcommands * sizeof(commands[0]), 1, f); in GL_MakeAliasModelDisplayLists()
324 fread (&vertexorder, numorder * sizeof(vertexorder[0]), 1, f); in GL_MakeAliasModelDisplayLists()

12345678910>>...14