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

12 3 4 5 6 7 8 91011>>

  /external/zlib/src/examples/
gzlog.c 231 #include <unistd.h> /* lseek, read, write, close, unlink, sleep, */
415 if (lseek(log->fd, 0, SEEK_SET) < 0 ||
451 ret = lseek(log->fd, HEAD, SEEK_SET) < 0 ||
476 if (back != 8 && (lseek(log->fd, log->last - len, SEEK_SET) < 0 ||
491 return lseek(log->fd, log->last - len, SEEK_SET) < 0 ||
493 lseek(log->fd, log->stored, SEEK_CUR) < 0 ? -1 : 0;
553 (end = lseek(log->fd, 0, SEEK_CUR)) < 0 || ftruncate(log->fd, end))
644 if (lseek(log->fd, log->first - (log->back > 8 ? 2 : 1),
646 read(log->fd, buf, 1) != 1 || lseek(log->fd, -1, SEEK_CUR) < 0) {
677 if ((log->first = lseek(log->fd, -1, SEEK_CUR)) < 0 |
    [all...]
gzappend.c 33 * - Add L to constants in lseek() calls
208 if (lseek(in->fd, (off_t)bypass, SEEK_CUR) == -1)
289 lastoff = lseek(gz.fd, 0L, SEEK_CUR) - gz.left;
329 lastoff = lseek(gz.fd, 0L, SEEK_CUR) - strm->avail_in;
338 end = lseek(gz.fd, 0L, SEEK_CUR) - gz.left;
353 lseek(gz.fd, lastoff - (lastbit != 0), SEEK_SET);
356 lseek(gz.fd, -1L, SEEK_CUR);
372 lseek(gz.fd, --end, SEEK_SET);
376 lseek(gz.fd, end, SEEK_SET);
  /device/samsung/tuna/reflash-bootloader/
reflash-bootloader.c 135 ret = lseek(to_fd, to_offset, SEEK_SET);
162 ret = lseek(to_fd, to_offset, SEEK_SET);
166 ret = lseek(from_fd, from_offset, SEEK_SET);
219 ret = lseek(to_fd, to_offset, SEEK_SET);
223 ret = lseek(from_fd, from_offset, SEEK_SET);
  /external/linux-tools-perf/util/
header.c 412 lseek(fd, sec_start + sec_size, SEEK_SET);
420 trace_sec->offset = lseek(fd, 0, SEEK_CUR);
422 trace_sec->size = lseek(fd, 0, SEEK_CUR) - trace_sec->offset;
431 buildid_sec->offset = lseek(fd, 0, SEEK_CUR);
437 buildid_sec->size = lseek(fd, 0, SEEK_CUR) -
443 lseek(fd, sec_start, SEEK_SET);
481 lseek(fd, sizeof(f_header), SEEK_SET);
487 attr->id_offset = lseek(fd, 0, SEEK_CUR);
503 header->attr_offset = lseek(fd, 0, SEEK_CUR);
520 header->event_offset = lseek(fd, 0, SEEK_CUR)
    [all...]
  /bootable/recovery/minzip/
SysUtil.c 55 start = lseek(fd, 0L, SEEK_CUR);
56 end = lseek(fd, 0L, SEEK_END);
57 (void) lseek(fd, start, SEEK_SET);
  /frameworks/base/tools/aapt/
printapk.cpp 50 size = lseek(fd, 0, SEEK_END);
51 amt = lseek(fd, 0, SEEK_SET);
  /system/extras/libpagemap/
pm_kernel.c 122 off = lseek(ker->kpagecount_fd, pfn * sizeof(uint64_t), SEEK_SET);
138 off = lseek(ker->kpageflags_fd, pfn * sizeof(uint64_t), SEEK_SET);
  /dalvik/libdex/
OptInvocation.cpp 125 assert(lseek(fd, 0, SEEK_CUR) == 0);
  /system/core/libsparse/
simg2img.c 74 lseek(out, SEEK_SET, 0);
img2simg.c 37 #define lseek64 lseek
  /external/qemu/
loader.c 60 size = lseek(fd, 0, SEEK_END);
73 size = lseek(fd, 0, SEEK_END);
74 lseek(fd, 0, SEEK_SET);
234 lseek(fd, N_TXTOFF(e), SEEK_SET);
242 lseek(fd, N_TXTOFF(e), SEEK_SET);
266 if (lseek(fd, offset, SEEK_SET) < 0)
340 lseek(fd, 0, SEEK_SET);
  /external/fsck_msdos/
boot.c 109 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
136 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
156 if (lseek(dosfs, boot->Backup * boot->BytesPerSec, SEEK_SET)
270 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
284 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
  /ndk/sources/host-tools/sed-4.2.1/lib/
unistd.in.h 509 <http://www.opengroup.org/susv3xsh/lseek.html>. */
510 # define lseek rpl_lseek macro
511 extern off_t lseek (int fd, off_t offset, int whence);
514 # undef lseek macro
515 # define lseek(f,o,w) \ macro
516 (GL_LINK_WARNING ("lseek does not fail with ESPIPE on pipes on some " \
517 "systems - use gnulib module lseek for portability"), \
518 lseek (f, o, w))
  /ndk/sources/host-tools/make-3.81/
arscan.c 349 if (lseek (desc, 0, 0) < 0)
448 if (lseek (desc, member_offset, 0) < 0)
654 if (lseek (desc, member_offset, 0) != member_offset)
780 if (lseek (fd, pos, 0) < 0)
785 if (lseek (fd, pos, 0) < 0)
805 if (lseek (fd, pos, 0) < 0)
  /dalvik/vm/
RawDexFile.cpp 35 if (lseek(srcFd, 0, SEEK_SET) != 0) {
36 ALOGE("lseek failure: %s", strerror(errno));
182 dexOffset = lseek(optFd, 0, SEEK_CUR);
  /external/oprofile/libpopt/
poptconfig.c 108 fileLength = lseek(fd, 0, SEEK_END);
109 if (fileLength == -1 || lseek(fd, 0, 0) == -1) {
  /frameworks/compile/libbcc/lib/Support/
FileBase.cpp 250 off_t result = ::lseek(mFD, pOffset, SEEK_SET);
266 off_t result = ::lseek(mFD, 0, SEEK_CUR);
  /external/llvm/runtime/libprofile/
CommonProfiling.c 103 lseek(OutFile, 0, SEEK_END); /* O_APPEND prevents seeking */
  /libcore/luni/src/main/java/java/io/
FileInputStream.java 188 // Try lseek(2). That returns the new offset, but we'll throw an
190 Libcore.os.lseek(fd, byteCount, SEEK_CUR);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/lib/gcc/i686-linux/4.4.3/include-fixed/X11/
Xw32defs.h 49 #define lseek _lseek macro
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/
Xw32defs.h 40 #define lseek _lseek macro
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/lib/gcc/i686-linux/4.6.x-google/include-fixed/X11/
Xw32defs.h 49 #define lseek _lseek macro
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/
Xw32defs.h 40 #define lseek _lseek macro
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/lib/gcc/x86_64-linux/4.6.x-google/include-fixed/X11/
Xw32defs.h 49 #define lseek _lseek macro
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/
Xw32defs.h 40 #define lseek _lseek macro

Completed in 1320 milliseconds

12 3 4 5 6 7 8 91011>>