OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Whence
(Results
1 - 7
of
7
) sorted by null
/external/libbrillo/brillo/streams/
stream.h
86
// When seeking in streams,
whence
specifies the origin of the seek operation.
87
enum class
Whence
{ FROM_BEGIN, FROM_CURRENT, FROM_END };
164
// beginning of the stream. This calls Seek(position,
Whence
::FROM_BEGIN),
169
// Moves the stream pointer by |offset| bytes relative to |
whence
|.
176
Whence
whence
,
/external/ltp/testcases/kernel/syscalls/lseek/
lseek02.c
129
int
Whence
[] = { SEEK_SET, SEEK_CUR, SEEK_END, -1 };
lseek01.c
129
int
Whence
[] = { SEEK_SET, SEEK_CUR, SEEK_END, -1 };
157
for (ind = 0;
Whence
[ind] >= 0; ind++) {
162
TEST(lseek(Fd, (long)offset,
Whence
[ind]));
173
Fname, offset,
Whence
[ind],
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
));
/art/compiler/linker/
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;
/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
));
/external/libchrome/base/files/
file.h
120
enum
Whence
{
207
// defined by |
whence
|. Returns the resultant current position in the file
209
int64_t Seek(
Whence
whence
, int64_t offset);
Completed in 2437 milliseconds