Home
last modified time | relevance | path

Searched refs:fseek (Results 1 – 25 of 235) sorted by relevance

12345678910

/external/clang/test/Analysis/
Dstream.c12 extern int fseek (FILE *__stream, long int __off, int __whence);
25 fseek(p, 1, SEEK_SET); // expected-warning {{Stream pointer might be NULL}} in f2()
45 fseek(p, 1, SEEK_SET); // no-warning in f5()
46fseek(p, 1, 3); // expected-warning {{The whence argument to fseek() should be SEEK_SET, SEEK_END,… in f5()
83 fseek(stream, offset, whence); in pr8081()
/external/sfntly/cpp/src/sfntly/port/
Dfile_input_stream.cc119 fseek(file_, position_, SEEK_SET); in Skip()
123 fseek(file_, (size_t)skip_count, SEEK_CUR); in Skip()
142 fseek(file_, position_ - unread_count, SEEK_SET); in Unread()
145 fseek(file_, position_ - unread_count, SEEK_SET); in Unread()
163 fseek(file_, 0, SEEK_END); in Open()
165 fseek(file_, 0, SEEK_SET); in Open()
/external/tpm2/
DNVMem.c78 fseek(s_NVFile, 0, SEEK_END); in _plat__NVEnable()
89 fseek(s_NVFile, 0, SEEK_END); in _plat__NVEnable()
96 fseek(s_NVFile, 0, SEEK_END); in _plat__NVEnable()
99 fseek(s_NVFile, 0, SEEK_SET); in _plat__NVEnable()
260 fseek(s_NVFile, 0, SEEK_SET); in _plat__NvCommit()
/external/skia/src/ports/
DSkOSFile_stdio.cpp100 fseek(f, 0, SEEK_END); // go to the end in sk_fgetsize()
106 fseek(f, curr, SEEK_SET); // go back to our prev location in sk_fgetsize()
124 int err = fseek(f, (long)byteCount, SEEK_CUR); in sk_fread()
155 int err = fseek(f, (long)byteCount, SEEK_SET); in sk_fseek()
160 int err = fseek(f, byteCount, SEEK_CUR); in sk_fmove()
/external/dng_sdk/source/
Ddng_file_stream.cpp74 if (fseek (fFile, 0, SEEK_END) != 0) in DoGetLength()
92 if (fseek (fFile, (long) offset, SEEK_SET) != 0) in DoRead()
117 if (fseek (fFile, (uint32) offset, SEEK_SET) != 0) in DoWrite()
/external/deqp/framework/common/
DtcuResource.cpp70 fseek(m_file, 0, SEEK_END); in getSize()
72 fseek(m_file, curPos, SEEK_SET); in getSize()
83 fseek(m_file, (size_t)position, SEEK_SET); in setPosition()
/external/pdfium/third_party/libopenjpeg20/
Dopj_includes.h64 #if defined(OPJ_HAVE_FSEEKO) && !defined(fseek)
65 # define fseek fseeko macro
84 # define OPJ_FSEEK(stream,offset,whence) fseek(stream,offset,whence)
/external/libvpx/libvpx/third_party/libwebm/
Dmkvreader.cpp59 fseek(m_file, 0L, SEEK_END); in GetFileSize()
73 fseek(m_file, 0L, SEEK_SET); in GetFileSize()
121 fseek(m_file, offset, SEEK_SET); in Read()
/external/sfntly/cpp/src/test/
Dfile_io_test.cc36 fseek(file_handle, 0, SEEK_END); in TestFileInputStream()
38 fseek(file_handle, 0, SEEK_SET); in TestFileInputStream()
97 fseek(file_handle, 0, SEEK_END); in TestFontInputStreamBasic()
99 fseek(file_handle, 0, SEEK_SET); in TestFontInputStreamBasic()
/external/icu/icu4c/source/samples/layout/
DUnicodeReader.cpp46 fseek(f, 0, SEEK_END); in readFile()
49 fseek(f, 0, SEEK_SET); in readFile()
82 fseek(f, signatureLength, SEEK_SET); in readFile()
/external/sonivox/arm-wt-22k/host_src/
Deas_wave.c251 if (fseek(wFile->file, 0L, SEEK_SET) == 0) in WaveFileClose()
366 fseek(wFile->file, startChunkPos + (EAS_I32) chunk.size, SEEK_SET); in WaveFileOpen()
378 fseek(wFile->file, startChunkPos + (EAS_I32) chunk.size, SEEK_SET); in WaveFileOpen()
393 fseek(wFile->file, startChunkPos + (EAS_I32) chunk.size, SEEK_SET); in WaveFileOpen()
/external/ceres-solver/internal/ceres/
Dfile.cc60 fseek(file_descriptor, 0L, SEEK_END); in ReadFileToStringOrDie()
65 fseek(file_descriptor, 0L, SEEK_SET); in ReadFileToStringOrDie()
/external/webrtc/webrtc/modules/audio_coding/neteq/test/delay_tool/
Dparse_delay_file.m20 fseek(fid, -12, 'eof');
26 fseek(fid,-12-4, 'eof');
28 fseek(fid, start_pos, 'bof');
68 fseek(fid, fp - ftell(fid) + ...
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dinput_audio_file.cc50 RTC_CHECK_EQ(0, fseek(fp_, 0, SEEK_END)); // Move to end of file. in Seek()
59 RTC_CHECK_EQ(0, fseek(fp_, new_pos, SEEK_SET)); in Seek()
/external/compiler-rt/test/msan/Linux/
Dfopencookie.cc54 fseek(f, 100, SEEK_SET); in main()
61 fseek(f, 100, SEEK_SET); in main()
/external/harfbuzz_ng/src/
Dtest-size-params.cc70 fseek (f, 0, SEEK_END); in main()
72 fseek (f, 0, SEEK_SET); in main()
Dtest-would-substitute.cc74 fseek (f, 0, SEEK_END); in main()
76 fseek (f, 0, SEEK_SET); in main()
Dtest-buffer-serialize.cc72 fseek (f, 0, SEEK_END); in main()
74 fseek (f, 0, SEEK_SET); in main()
Dtest.cc73 fseek (f, 0, SEEK_END); in main()
75 fseek (f, 0, SEEK_SET); in main()
/external/skia/experimental/FileReaderApp/
DReaderView.cpp41 fseek(f, 0, SEEK_END); in draw()
48 fseek(f, fFilePos, SEEK_SET); in draw()
/external/sfntly/cpp/src/sample/subsetter/
Dsubset_util.cc51 fseek(input_file, 0, SEEK_END); in Subset()
53 fseek(input_file, 0, SEEK_SET); in Subset()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_fileutils.cc37 fseek(file_, 0, SEEK_END); in IsAtEnd()
39 fseek(file_, current_pos, SEEK_SET); in IsAtEnd()
/external/webrtc/webrtc/modules/video_processing/test/
DreadYUV420file.m16 fseek(fid,0,'eof'); % move to end of file
18 fseek(fid,0,'bof'); % rewind to start
/external/opencv3/3rdparty/libjpeg/
Djmemansi.c101 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
114 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
/external/bison/lib/
Dstdio.in.h450 # undef fseek
454 # undef fseek
455 # define fseek rpl_fseek
457 _GL_FUNCDECL_RPL (fseek, int, (FILE *fp, long offset, int whence)
459 _GL_CXXALIAS_RPL (fseek, int, (FILE *fp, long offset, int whence));
461 _GL_CXXALIAS_SYS (fseek, int, (FILE *fp, long offset, int whence));
463 _GL_CXXALIASWARN (fseek);
469 # undef fseek
491 # undef fseek
503 _GL_WARN_ON_USE (fseek, "fseek cannot handle files larger than 4 GB "

12345678910