/art/compiler/linker/ |
vector_output_stream.cc | 26 off_t VectorOutputStream::Seek(off_t offset, Whence whence) { 27 CHECK(whence == kSeekSet || whence == kSeekCurrent || whence == kSeekEnd) << whence; 29 switch (whence) {
|
output_stream.h | 27 enum Whence { 32 std::ostream& operator<<(std::ostream& os, const Whence& rhs); 46 virtual off_t Seek(off_t offset, Whence whence) = 0;
|
error_delaying_output_stream.h | 51 off_t Seek(off_t offset, Whence whence) OVERRIDE { 55 switch (whence) { 63 LOG(FATAL) << "Unsupported seek type: " << whence; 67 off_t actual_offset = output_->Seek(offset, whence); 70 << " whence=" << whence << " new_offset=" << new_offset;
|
file_output_stream.h | 34 off_t Seek(off_t offset, Whence whence) OVERRIDE;
|
buffered_output_stream.cc | 63 off_t BufferedOutputStream::Seek(off_t offset, Whence whence) { 67 return out_->Seek(offset, whence);
|
file_output_stream.cc | 32 off_t FileOutputStream::Seek(off_t offset, Whence whence) { 33 return lseek(file_->Fd(), offset, static_cast<int>(whence));
|
buffered_output_stream.h | 36 off_t Seek(off_t offset, Whence whence) OVERRIDE;
|
vector_output_stream.h | 48 off_t Seek(off_t offset, Whence whence) OVERRIDE;
|
output_stream.cc | 21 std::ostream& operator<<(std::ostream& os, const Whence& rhs) {
|
/external/curl/src/ |
tool_cb_see.c | 47 int tool_seek_cb(void *userdata, curl_off_t offset, int whence) 63 if(whence != SEEK_SET) 82 if(LSEEK_ERROR == lseek(in->fd, offset, whence)) 95 # define _lseeki64(hnd,ofs,whence) lseek(hnd,ofs,whence) 101 # define _lseeki64(hnd,ofs,whence) _lseek(hnd,ofs,whence) 103 # define _lseeki64(hnd,ofs,whence) _lseek64(hnd,ofs,whence) 110 # define _lseeki64(hnd,ofs,whence) lseek(hnd,ofs,whence [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
webm_video_source.h | 37 nestegg_seek_cb(int64_t offset, int whence, void *userdata) { 39 switch (whence) { 41 whence = SEEK_SET; 44 whence = SEEK_CUR; 47 whence = SEEK_END; 50 return fseek(f, (long)offset, whence) ? -1 : 0;
|
/prebuilts/go/darwin-x86/src/time/ |
sys_plan9.go | 58 whence := 0 60 whence = 2 62 if _, err := syscall.Seek(int(fd), int64(off), whence); err != nil {
|
sys_unix.go | 58 whence := 0 60 whence = 2 62 if _, err := syscall.Seek(int(fd), int64(off), whence); err != nil {
|
sys_windows.go | 55 whence := 0 57 whence = 2 59 if _, err := syscall.Seek(syscall.Handle(fd), int64(off), whence); err != nil {
|
/prebuilts/go/linux-x86/src/time/ |
sys_plan9.go | 58 whence := 0 60 whence = 2 62 if _, err := syscall.Seek(int(fd), int64(off), whence); err != nil {
|
sys_unix.go | 58 whence := 0 60 whence = 2 62 if _, err := syscall.Seek(int(fd), int64(off), whence); err != nil {
|
sys_windows.go | 55 whence := 0 57 whence = 2 59 if _, err := syscall.Seek(syscall.Handle(fd), int64(off), whence); err != nil {
|
/external/clang/test/Analysis/ |
stream.c | 46 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) { 83 fseek(stream, offset, whence);
|
/external/strace/ |
lseek.c | 51 int whence; local 61 whence = tcp->u_arg[2]; 62 if (whence == SEEK_SET) 66 printxval(whence_codes, whence, "SEEK_???"); 74 int whence; local 78 whence = tcp->u_arg[2]; 79 if (whence == SEEK_SET) 83 printxval(whence_codes, whence, "SEEK_???");
|
/external/libbrillo/brillo/streams/ |
stream_utils_unittest.cc | 101 using Whence = Stream::Whence; 107 FROM_HERE, 0, Whence::FROM_BEGIN, current_pos, end_pos, &pos, nullptr)); 111 FROM_HERE, 0, Whence::FROM_CURRENT, current_pos, end_pos, &pos, nullptr)); 115 FROM_HERE, 0, Whence::FROM_END, current_pos, end_pos, &pos, nullptr)); 119 FROM_HERE, 10, Whence::FROM_BEGIN, current_pos, end_pos, &pos, nullptr)); 123 FROM_HERE, 10, Whence::FROM_CURRENT, current_pos, end_pos, &pos, 128 FROM_HERE, 10, Whence::FROM_END, current_pos, end_pos, &pos, nullptr)); 132 FROM_HERE, -10, Whence::FROM_CURRENT, current_pos, end_pos, &pos, 137 FROM_HERE, -10, Whence::FROM_END, current_pos, end_pos, &pos, nullptr)) [all...] |
stream_utils.cc | 153 Stream::Whence whence, 159 switch (whence) { 160 case Stream::Whence::FROM_BEGIN: 164 case Stream::Whence::FROM_CURRENT: 168 case Stream::Whence::FROM_END: 177 "Invalid stream position whence");
|
/external/e2fsprogs/lib/blkid/ |
llseek.c | 90 blkid_loff_t blkid_llseek(int fd, blkid_loff_t offset, int whence) 97 return lseek(fd, (off_t) offset, whence); 104 result = my_llseek(fd, offset, whence);
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
file_part.py | 63 def seek(self, offset, whence=os.SEEK_SET): 64 if whence == os.SEEK_END: 66 elif whence == os.SEEK_CUR: 67 return self._fp.seek(offset, whence)
|
/external/eigen/ |
COPYING.README | 5 Some files contain third-party code under BSD or LGPL licenses, whence the other
|
/device/google/contexthub/util/common/ |
file.cpp | 88 off64_t File::seekTo(off64_t pos, int whence) { 89 off64_t new_pos = lseek64(mFd, pos, whence);
|