/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
fcntlmodule.c | 310 int fd, code, ret, whence = 0;
local 315 &lenobj, &startobj, &whence))
365 l.l_whence = whence;
380 "lockf (fd, operation, length=0, start=0, whence=0)\n\
397 EOF. start is the byte offset, relative to whence, to that the lock\n\
398 starts. whence is as with fileobj.seek(), specifically:\n\
|
/external/ltp/testcases/kernel/syscalls/llseek/ |
llseek02.c | 26 * 1. llseek() returns -1 and sets errno to EINVAL, if the 'Whence' argument 103 int Whence; 109 1, SEEK_TOP, "'whence' argument is not valid", EINVAL, setup1}, { 122 int whence; /* position of file handle in the file */ local 137 whence = Test_cases[ind].Whence; 151 TEST(lseek64(fildes, (loff_t) 0, whence));
|
/prebuilts/ndk/r11/sources/cxx-stl/stlport/src/ |
stdio_streambuf.cpp | 78 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) {
|
/prebuilts/ndk/r13/sources/cxx-stl/stlport/src/ |
stdio_streambuf.cpp | 78 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/ltp/testcases/kernel/syscalls/lseek/ |
lseek10.c | 27 * 2. lseek() returns -1 and sets errno to EINVAL, if the 'Whence' argument 106 int Whence; 113 2, SEEK_TOP, "'whence' argument is not valid", EINVAL, setup2}, { 126 int whence; /* position of file handle in the file */ local 141 whence = Test_cases[ind].Whence; 156 TEST(lseek(fildes, 0, whence));
|
/external/syslinux/gpxe/src/include/gpxe/ |
xfer.h | 112 int whence; member in struct:xfer_metadata 124 * @v whence Basis for new position 127 whence_text ( int whence ) { 128 switch ( whence ) { 156 extern int xfer_seek ( struct xfer_interface *xfer, off_t offset, int whence );
|
/prebuilts/ndk/r11/sources/cxx-stl/stlport/src/details/ |
fstream_unistd.cpp | 288 int whence; local 294 whence = SEEK_SET; 297 whence = SEEK_CUR; 302 whence = SEEK_END; 308 return LSEEK(_M_file_id, offset, whence);
|
fstream_stdio.cpp | 344 int whence; local 350 whence = SEEK_SET; 353 whence = SEEK_CUR; 358 whence = SEEK_END; 364 if ( FSEEK(_M_file, offset, whence) == 0 ) {
|
fstream_win32io.cpp | 549 int whence; local 555 whence = FILE_BEGIN; 558 whence = FILE_CURRENT; 563 whence = FILE_END; 571 li.LowPart = SetFilePointer(_M_file_id, li.LowPart, &li.HighPart, whence);
|
/prebuilts/ndk/r13/sources/cxx-stl/stlport/src/details/ |
fstream_unistd.cpp | 288 int whence; local 294 whence = SEEK_SET; 297 whence = SEEK_CUR; 302 whence = SEEK_END; 308 return LSEEK(_M_file_id, offset, whence);
|
fstream_stdio.cpp | 344 int whence; local 350 whence = SEEK_SET; 353 whence = SEEK_CUR; 358 whence = SEEK_END; 364 if ( FSEEK(_M_file, offset, whence) == 0 ) {
|
fstream_win32io.cpp | 549 int whence; local 555 whence = FILE_BEGIN; 558 whence = FILE_CURRENT; 563 whence = FILE_END; 571 li.LowPart = SetFilePointer(_M_file_id, li.LowPart, &li.HighPart, whence);
|
/external/ltp/testcases/kernel/sched/sched_stress/ |
sched_tc6.c | 321 int whence = 0; local 336 if (lseek(fd, file_offset, whence) < 0)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
fileio.c | 68 portable_lseek(int fd, PyObject *posobj, int whence);
70 static PyObject *portable_lseek(int fd, PyObject *posobj, int whence);
704 portable_lseek(int fd, PyObject *posobj, int whence)
710 switch (whence) {
712 case 0: whence = SEEK_SET; break;
715 case 1: whence = SEEK_CUR; break;
718 case 2: whence = SEEK_END; break;
742 res = _lseeki64(fd, pos, whence);
744 res = lseek(fd, pos, whence);
763 int whence = 0; local [all...] |
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...] |
textio.c | 2004 int whence = 0; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/ |
fileio.c | 73 portable_lseek(int fd, PyObject *posobj, int whence);
75 static PyObject *portable_lseek(int fd, PyObject *posobj, int whence);
692 portable_lseek(int fd, PyObject *posobj, int whence)
698 switch (whence) {
700 case 0: whence = SEEK_SET; break;
703 case 1: whence = SEEK_CUR; break;
706 case 2: whence = SEEK_END; break;
730 res = _lseeki64(fd, pos, whence);
732 res = lseek(fd, pos, whence);
751 int whence = 0; local [all...] |
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...] |
textio.c | 1958 int whence = 0; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
fileobject.c | 695 _portable_fseek(FILE *fp, Py_off_t offset, int whence)
698 return fseek(fp, offset, whence);
700 return fseeko(fp, offset, whence);
702 return fseek64(fp, offset, whence);
704 return _fseek(fp, offset, whence);
709 switch (whence) {
760 int whence;
local 768 whence = 0;
769 if (!PyArg_ParseTuple(args, "O|i:seek", &offobj, &whence))
796 ret = _portable_fseek(f->f_fp, offset, whence);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
fileobject.c | 681 _portable_fseek(FILE *fp, Py_off_t offset, int whence)
684 return fseek(fp, offset, whence);
686 return fseeko(fp, offset, whence);
688 return fseek64(fp, offset, whence);
690 return _fseek(fp, offset, whence);
695 switch (whence) {
746 int whence;
local 754 whence = 0;
755 if (!PyArg_ParseTuple(args, "O|i:seek", &offobj, &whence))
782 ret = _portable_fseek(f->f_fp, offset, whence);
[all...] |
/external/toybox/toys/posix/ |
ps.c | 1348 long long whence; member in struct:proclist [all...] |
/bionic/libc/kernel/uapi/linux/ |
fuse.h | 600 uint32_t whence; member in struct:fuse_lseek_in
|
/external/kernel-headers/original/uapi/linux/ |
fuse.h | 781 uint32_t whence; member in struct:fuse_lseek_in
|
/prebuilts/sdk/21/ |
android.jar | |