HomeSort by relevance Sort by last modified time
    Searched refs:whence (Results 26 - 50 of 365) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/flac/include/FLAC/
callback.h 123 * \param offset The new position, relative to \a whence
124 * \param whence \c SEEK_SET, \c SEEK_CUR, or \c SEEK_END
128 typedef int (*FLAC__IOCallback_Seek) (FLAC__IOHandle handle, FLAC__int64 offset, int whence);
  /external/pdfium/third_party/libopenjpeg20/
opj_includes.h 79 # define OPJ_FSEEK(stream,offset,whence) _fseeki64(stream,/* __int64 */ offset,whence)
85 # define OPJ_FSEEK(stream,offset,whence) fseek(stream,offset,whence)
  /external/python/cpython3/Modules/clinic/
fcntlmodule.c.h 137 "lockf($module, fd, cmd, len=0, start=0, whence=0, /)\n"
156 "EOF. `start` is the byte offset, relative to `whence`, to that the lock\n"
157 "starts. `whence` is as with fileobj.seek(), specifically:\n"
168 PyObject *startobj, int whence);
178 int whence = 0; local
181 conv_descriptor, &fd, &code, &lenobj, &startobj, &whence)) {
184 return_value = fcntl_lockf_impl(module, fd, code, lenobj, startobj, whence);
  /device/google/contexthub/util/common/
file.cpp 85 off64_t File::seekTo(off64_t pos, int whence) {
86 off64_t new_pos = lseek64(mFd, pos, whence);
  /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/ltp/testcases/kernel/syscalls/fcntl/
fcntl06.c 138 int do_lock(int cmd, short type, short whence, int start, int len)
143 fl.l_whence = whence;
  /external/ltp/testcases/kernel/syscalls/lseek/
lseek01.c 21 * lseek() succeeds to set the specified offset according to whence
37 int whence; member in struct:tcase
59 TEST(lseek(fd, tc->off, tc->whence));
lseek11.c 24 * whence:
69 * SEEK from "startblock * block_size - offset", "whence" as the directive
70 * whence.
72 * whence: as whence of lseek()
80 int whence; member in struct:tparam
209 offset = SAFE_LSEEK(fd, offset, tp->whence);
221 n, (tp->whence == SEEK_DATA) ? "SEEK_DATA" : "SEEK_HOLE",
226 n, (tp->whence == SEEK_DATA) ? "SEEK_DATA" : "SEEK_HOLE",
  /frameworks/native/include/android/
asset_manager.h 134 * Seek to the specified offset within the asset data. 'whence' uses the
139 off_t AAsset_seek(AAsset* asset, off_t offset, int whence)
143 * Seek to the specified offset within the asset data. 'whence' uses the
151 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence);
  /system/update_engine/payload_consumer/
fake_file_descriptor.cc 55 off64_t FakeFileDescriptor::Seek(off64_t offset, int whence) {
56 switch (whence) {
file_descriptor.h 73 virtual off64_t Seek(off64_t offset, int whence) = 0;
120 off64_t Seek(off64_t offset, int whence) override;
mtd_file_descriptor.h 42 off64_t Seek(off64_t offset, int whence) override;
78 off64_t Seek(off64_t offset, int whence) override;
  /external/pdfium/third_party/libtiff/
tiffiop.h 221 #define TIFFSeekFile(tif, off, whence) \
222 ((*(tif)->tif_seekproc)((tif)->tif_clientdata,(off),(whence)))
289 # define fseek(stream,offset,whence) fseeko(stream,offset,whence)
290 # define ftell(stream,offset,whence) ftello(stream,offset,whence)
297 #define _TIFF_lseek_f(fildes,offset,whence) _lseeki64(fildes,/* __int64 */ offset,whence)
299 #define _TIFF_fseek_f(stream,offset,whence) _fseeki64(stream,/* __int64 */ offset,whence)
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/internal/bio/
buf.go 45 func (r *Reader) Seek(offset int64, whence int) int64 {
46 if whence == 1 {
49 off, err := r.f.Seek(offset, whence)
57 func (w *Writer) Seek(offset int64, whence int) int64 {
61 off, err := w.f.Seek(offset, whence)
  /prebuilts/go/linux-x86/src/cmd/internal/bio/
buf.go 45 func (r *Reader) Seek(offset int64, whence int) int64 {
46 if whence == 1 {
49 off, err := r.f.Seek(offset, whence)
57 func (w *Writer) Seek(offset int64, whence int) int64 {
61 off, err := w.f.Seek(offset, whence)
  /external/ltp/testcases/kernel/syscalls/llseek/
llseek02.c 26 * 1. llseek() returns -1 and sets errno to EINVAL, if the 'Whence' argument
104 int Whence;
110 1, SEEK_TOP, "'whence' argument is not valid", EINVAL, setup1}, {
123 int whence; /* position of file handle in the file */ local
138 whence = Test_cases[ind].Whence;
152 TEST(lseek64(fildes, (loff_t) 0, whence));
  /bionic/libc/stdio/
fmemopen.cpp 92 static fpos_t fmemopen_seek(void* cookie, fpos_t offset, int whence) {
95 if (whence == SEEK_SET && (offset >= 0 && static_cast<size_t>(offset) <= ck->capacity)) {
97 } else if (whence == SEEK_CUR && (ck->offset + offset <= ck->capacity)) {
99 } else if (whence == SEEK_END && (offset <= 0 && static_cast<size_t>(-offset) <= ck->size)) {
  /external/python/cpython3/Modules/_io/clinic/
stringio.c.h 138 "seek($self, pos, whence=0, /)\n"
143 "Seek to character offset pos relative to position indicated by whence:\n"
153 _io_StringIO_seek_impl(stringio *self, Py_ssize_t pos, int whence);
160 int whence = 0; local
163 &pos, &whence)) {
166 return_value = _io_StringIO_seek_impl(self, pos, whence);
  /external/syslinux/gpxe/src/crypto/axtls/
os_port.h 37 int whence __unused ) {
  /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 );
  /frameworks/base/libs/androidfw/include/androidfw/
Asset.h 76 * Seek to the specified offset. "whence" uses the same values as
80 virtual off64_t seek(off64_t offset, int whence) = 0;
141 off64_t handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn);
262 virtual off64_t seek(off64_t offset, int whence);
318 virtual off64_t seek(off64_t offset, int whence);
  /frameworks/base/native/android/
asset_manager.cpp 154 off_t AAsset_seek(AAsset* asset, off_t offset, int whence)
156 return asset->mAsset->seek(offset, whence);
159 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence)
161 return asset->mAsset->seek(offset, whence);
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
stdio.c 101 __sseek(void *cookie, fpos_t offset, int whence)
112 ret = lseek(fp->_file, (off_t)offset, whence);
  /prebuilts/go/darwin-x86/src/debug/elf/
reader.go 25 func (r errorReader) Seek(offset int64, whence int) (int64, error) {
63 func (r *readSeekerFromReader) Seek(offset int64, whence int) (int64, error) {
65 switch whence {
  /prebuilts/go/linux-x86/src/debug/elf/
reader.go 25 func (r errorReader) Seek(offset int64, whence int) (int64, error) {
63 func (r *readSeekerFromReader) Seek(offset int64, whence int) (int64, error) {
65 switch whence {

Completed in 574 milliseconds

12 3 4 5 6 7 8 91011>>