Searched defs:whence (Results 1 - 25 of 67) sorted by relevance

123

/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
H A Dfdopen.c22 static int fdopen_seek(void *cookie, off_t *offset, int whence) { argument
23 off_t ret = lseek((int) cookie, *offset, whence);
/external/e2fsprogs/lib/blkid/
H A Dllseek.c90 blkid_loff_t blkid_llseek(int fd, blkid_loff_t offset, int whence) argument
97 return lseek(fd, (off_t) offset, whence);
104 result = my_llseek(fd, offset, whence);
/external/marisa-trie/lib/marisa/
H A Dmapper.cc64 void Mapper::open(const char *filename, long offset, int whence) { argument
88 temp.seek(offset, whence);
92 void Mapper::open(const char *filename, long offset, int whence) { argument
112 temp.seek(offset, whence);
135 void Mapper::seek(long offset, int whence) { argument
136 switch (whence) {
H A Dreader.cc32 void Reader::open(const char *filename, long offset, int whence) { argument
44 if (::fseek(file, offset, whence) != 0) {
H A Dwriter.cc33 long offset, int whence) {
56 if (::fseek(file, offset, whence) != 0) {
32 open(const char *filename, bool trunc_flag, long offset, int whence) argument
H A Dintvector.cc44 long offset, int whence) {
47 temp_mapper.open(filename, offset, whence);
67 long offset, int whence) {
69 reader.open(filename, offset, whence);
98 long offset, int whence) const {
100 writer.open(filename, trunc_flag, offset, whence);
43 mmap(Mapper *mapper, const char *filename, long offset, int whence) argument
66 load(const char *filename, long offset, int whence) argument
H A Dtrie.cc13 long offset, int whence) {
16 temp_mapper.open(filename, offset, whence);
46 long offset, int whence) {
48 reader.open(filename, offset, whence);
87 long offset, int whence) const {
89 writer.open(filename, trunc_flag, offset, whence);
12 mmap(Mapper *mapper, const char *filename, long offset, int whence) argument
45 load(const char *filename, long offset, int whence) argument
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
H A Dmapper.cc66 void Mapper::open(const char *filename, long offset, int whence) { argument
91 temp.seek(offset, whence);
95 void Mapper::open(const char *filename, long offset, int whence) { argument
116 temp.seek(offset, whence);
139 void Mapper::seek(long offset, int whence) { argument
140 switch (whence) {
H A Dreader.cc32 void Reader::open(const char *filename, long offset, int whence) { argument
44 if (::fseek(file, offset, whence) != 0) {
H A Dwriter.cc33 long offset, int whence) {
56 if (::fseek(file, offset, whence) != 0) {
32 open(const char *filename, bool trunc_flag, long offset, int whence) argument
H A Dintvector.cc44 long offset, int whence) {
47 temp_mapper.open(filename, offset, whence);
67 long offset, int whence) {
69 reader.open(filename, offset, whence);
98 long offset, int whence) const {
100 writer.open(filename, trunc_flag, offset, whence);
43 mmap(Mapper *mapper, const char *filename, long offset, int whence) argument
66 load(const char *filename, long offset, int whence) argument
H A Dtrie.cc13 long offset, int whence) {
16 temp_mapper.open(filename, offset, whence);
46 long offset, int whence) {
48 reader.open(filename, offset, whence);
87 long offset, int whence) const {
89 writer.open(filename, trunc_flag, offset, whence);
12 mmap(Mapper *mapper, const char *filename, long offset, int whence) argument
45 load(const char *filename, long offset, int whence) argument
/external/chromium_org/media/filters/
H A Dffmpeg_glue_unittest.cc62 int64 Seek(int64 offset, int whence) { argument
63 return glue_->format_context()->pb->seek(protocol_.get(), offset, whence);
H A Dffmpeg_glue.cc30 static int64 AVIOSeekOperation(void* opaque, int64 offset, int whence) { argument
33 switch (whence) {
/external/chromium_org/net/base/
H A Dmock_file_stream.cc16 int MockFileStream::Seek(Whence whence, int64 offset, argument
18 return ReturnError(FileStream::Seek(whence, offset, callback));
21 int64 MockFileStream::SeekSync(Whence whence, int64 offset) { argument
22 return ReturnError64(FileStream::SeekSync(whence, offset));
H A Dfile_stream_context.cc127 void FileStream::Context::SeekAsync(Whence whence, argument
136 &Context::SeekFileImpl, base::Unretained(this), whence, offset),
146 int64 FileStream::Context::SeekSync(Whence whence, int64 offset) { argument
147 IOResult result = SeekFileImpl(whence, offset);
H A Dfile_stream_context_posix.cc147 FileStream::Context::IOResult FileStream::Context::SeekFileImpl(Whence whence, argument
150 static_cast<int>(whence));
/external/clang/test/Analysis/
H A Dstream.c46 fseek(p, 1, 3); // expected-warning {{The whence argument to fseek() should be SEEK_SET, SEEK_END, or SEEK_CUR}}
81 // PR 8081 - null pointer crash when 'whence' is not an integer constant
82 void pr8081(FILE *stream, long offset, int whence) { argument
83 fseek(stream, offset, whence);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_wrap_dummy.cc30 int _real_lseek(int fd, off_t offset, int whence, off_t* new_offset) { argument
/external/libvpx/libvpx/nestegg/test/
H A Dtest.c29 stdio_seek(int64_t offset, int whence, void * fp) argument
31 return fseek(fp, offset, whence);
/external/stlport/src/
H A Dstdio_streambuf.cpp78 int whence; local
81 whence = SEEK_SET;
84 whence = SEEK_CUR;
87 whence = SEEK_END;
93 if (off <= numeric_limits<off_type>::max() && FSEEK(_M_file, off, whence) == 0) {
/external/chromium/net/base/
H A Dfile_stream_posix.cc328 int64 FileStream::Seek(Whence whence, int64 offset) { argument
338 static_cast<int>(whence));
H A Dfile_stream_win.cc183 int64 FileStream::Seek(Whence whence, int64 offset) { argument
190 DWORD move_method = static_cast<DWORD>(whence);
/external/chromium_org/base/files/
H A Dfile_posix.cc228 int64 File::Seek(Whence whence, int64 offset) { argument
234 return lseek(file_, static_cast<off_t>(offset), static_cast<int>(whence));
H A Dfile_win.cc111 int64 File::Seek(Whence whence, int64 offset) { argument
119 DWORD move_method = static_cast<DWORD>(whence);

Completed in 542 milliseconds

123