/external/syslinux/gpxe/src/core/ |
downloader.c | 186 if ( meta->whence != SEEK_CUR )
|
/system/extras/libfec/ |
fec_read.cpp | 403 /* sets the internal file position to `offset' relative to `whence' */ 404 int fec_seek(struct fec_handle *f, int64_t offset, int whence) 408 if (whence == SEEK_SET) { 415 } else if (whence == SEEK_CUR) { 425 } else if (whence == SEEK_END) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
bufferedio.c | 643 _buffered_raw_seek(buffered *self, Py_off_t target, int whence)
651 whenceobj = PyLong_FromLong(whence);
1071 int whence = 0;
local 1075 if (!PyArg_ParseTuple(args, "O|i:seek", &targetobj, &whence)) {
1078 if (whence < 0 || whence > 2) {
1080 "whence must be between 0 and 2, not %d", whence);
1090 if (whence != 2 && self->readable) {
1095 Don't know how to do that when whence == 2, though. */ [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/ |
bufferedio.c | 615 _buffered_raw_seek(buffered *self, Py_off_t target, int whence)
623 whenceobj = PyLong_FromLong(whence);
1044 int whence = 0;
local 1048 if (!PyArg_ParseTuple(args, "O|i:seek", &targetobj, &whence)) {
1051 if (whence < 0 || whence > 2) {
1053 "whence must be between 0 and 2, not %d", whence);
1063 if (whence != 2 && self->readable) {
1068 Don't know how to do that when whence == 2, though. */ [all...] |
/external/python/cpython2/Modules/_io/ |
bufferedio.c | 642 _buffered_raw_seek(buffered *self, Py_off_t target, int whence) 650 whenceobj = PyLong_FromLong(whence); 1069 int whence = 0; local 1073 if (!PyArg_ParseTuple(args, "O|i:seek", &targetobj, &whence)) { 1076 if (whence < 0 || whence > 2) { 1078 "whence must be between 0 and 2, not %d", whence); 1088 if (whence != 2 && self->readable) { 1093 Don't know how to do that when whence == 2, though. * [all...] |
/prebuilts/go/darwin-x86/src/syscall/ |
syscall_linux_arm.go | 48 func seek(fd int, offset int64, whence int) (newoffset int64, err Errno) 50 func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { 51 newoffset, errno := seek(fd, offset, whence)
|
syscall_plan9.go | 155 func seek(placeholder uintptr, fd int, offset int64, whence int) (newoffset int64, err string) 157 func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { 158 newoffset, e := seek(0, fd, offset, whence)
|
syscall_linux_386.go | 158 func seek(fd int, offset int64, whence int) (newoffset int64, err Errno) 160 func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { 161 newoffset, errno := seek(fd, offset, whence)
|
/prebuilts/go/linux-x86/src/syscall/ |
syscall_linux_arm.go | 48 func seek(fd int, offset int64, whence int) (newoffset int64, err Errno) 50 func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { 51 newoffset, errno := seek(fd, offset, whence)
|
syscall_plan9.go | 155 func seek(placeholder uintptr, fd int, offset int64, whence int) (newoffset int64, err string) 157 func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { 158 newoffset, e := seek(0, fd, offset, whence)
|
syscall_linux_386.go | 158 func seek(fd int, offset int64, whence int) (newoffset int64, err Errno) 160 func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { 161 newoffset, errno := seek(fd, offset, whence)
|
/prebuilts/go/darwin-x86/src/io/ |
io_test.go | 389 for _, whence := range []int{SeekStart, SeekCurrent, SeekEnd} { 391 brOff, brErr := br.Seek(offset, whence) 392 srOff, srErr := sr.Seek(offset, whence) 394 t.Errorf("For whence %d, offset %d: bytes.Reader.Seek = (%v, %v) != SectionReader.Seek = (%v, %v)", 395 whence, offset, brOff, brErr, srErr, srOff)
|
io.go | 19 // Seek whence values. 105 // interpreted according to whence: 116 Seek(offset int64, whence int) (int64, error) 478 var errWhence = errors.New("Seek: invalid whence") 481 func (s *SectionReader) Seek(offset int64, whence int) (int64, error) { 482 switch whence {
|
/prebuilts/go/linux-x86/src/io/ |
io_test.go | 389 for _, whence := range []int{SeekStart, SeekCurrent, SeekEnd} { 391 brOff, brErr := br.Seek(offset, whence) 392 srOff, srErr := sr.Seek(offset, whence) 394 t.Errorf("For whence %d, offset %d: bytes.Reader.Seek = (%v, %v) != SectionReader.Seek = (%v, %v)", 395 whence, offset, brOff, brErr, srErr, srOff)
|
io.go | 19 // Seek whence values. 105 // interpreted according to whence: 116 Seek(offset int64, whence int) (int64, error) 478 var errWhence = errors.New("Seek: invalid whence") 481 func (s *SectionReader) Seek(offset int64, whence int) (int64, error) { 482 switch whence {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
gzio.c | 767 z_off_t ZEXPORT gzseek (file, offset, whence)
770 int whence;
774 if (s == NULL || whence == SEEK_END ||
783 if (whence == SEEK_SET) {
809 if (whence == SEEK_CUR) {
|
/art/openjdkjvm/ |
OpenjdkJvm.cc | 115 JNIEXPORT jlong JVM_Lseek(jint fd, jlong offset, jint whence) { 122 return lseek64(fd, offset, whence); 126 return lseek(fd, offset, whence);
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/UefiShell/ |
daShell.c | 90 @param[in] whence Specifies the location offset is relative to: Beginning, Current, End.
100 int whence
109 if(whence != SEEK_SET) {
111 if(whence == SEEK_END) {
|
/external/wayland/cursor/ |
xcursor.c | 188 int (*seek) (XcursorFile *file, long offset, int whence); 578 _XcursorStdioFileSeek (XcursorFile *file, long offset, int whence) 581 return fseek (f, offset, whence);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 658 off64_t offset, int whence) { 661 off_t offset, int whence) { 668 offval = FwdLockFile_lseek(session->fileDesc, offset, whence);
|
/prebuilts/go/darwin-x86/src/os/ |
file_windows.go | 235 // according to whence: 0 means relative to the origin of the file, 1 means 238 func (f *File) seek(offset int64, whence int) (ret int64, err error) { 239 ret, err = f.pfd.Seek(offset, whence)
|
file.go | 78 // Seek whence values. 187 // according to whence: 0 means relative to the origin of the file, 1 means 191 func (f *File) Seek(offset int64, whence int) (ret int64, err error) { 195 r, e := f.seek(offset, whence)
|
/prebuilts/go/linux-x86/src/os/ |
file_windows.go | 235 // according to whence: 0 means relative to the origin of the file, 1 means 238 func (f *File) seek(offset int64, whence int) (ret int64, err error) { 239 ret, err = f.pfd.Seek(offset, whence)
|
/device/google/cuttlefish_common/common/libs/fs/ |
shared_fd.h | 303 off_t LSeek(off_t offset, int whence) { 305 off_t rval = TEMP_FAILURE_RETRY(lseek(fd_, offset, whence));
|
/external/python/cpython3/Modules/ |
fcntlmodule.c | 333 whence: int = 0 352 EOF. `start` is the byte offset, relative to `whence`, to that the lock 353 starts. `whence` is as with fileobj.seek(), specifically: 362 PyObject *startobj, int whence) 409 l.l_whence = whence;
|