/frameworks/base/libs/androidfw/ |
StreamingZipInflater.cpp | 115 ::lseek(mFd, mInFileStart, SEEK_SET);
|
Asset.cpp | 146 * Under Linux, the lseek fails if we actually opened a directory. To 206 fileLen = lseek(fd, 0, SEEK_END); 211 (void) lseek(fd, 0, SEEK_SET); 438 ALOGD("failed lseek (errno=%d)\n", errno); 924 if (lseek(mFd, mStart, SEEK_SET) != mStart)
|
/system/core/libsuspend/ |
autosuspend_wakeup_count.cpp | 73 lseek(wakeup_count_fd, 0, SEEK_SET);
|
/system/core/libunwindstack/tests/ |
GenGnuDebugdata.cpp | 81 lseek(fd, 0x200, SEEK_SET);
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
file.c | 109 if (lseek(f->fd, 0, SEEK_SET) == -1)
|
/bionic/libc/include/ |
unistd.h | 171 off_t lseek(int __fd, off_t __offset, int __whence) __RENAME(lseek64); 179 off_t lseek(int __fd, off_t __offset, int __whence);
|
/bootable/recovery/boot_control/ |
boot_control.cpp | 100 if (lseek(fd, kBootloaderControlOffset, SEEK_SET) != kBootloaderControlOffset) { 101 PLOG(ERROR) << "failed to lseek " << misc_device; 118 if (lseek(fd.get(), kBootloaderControlOffset, SEEK_SET) != kBootloaderControlOffset) { 119 PLOG(ERROR) << "failed to lseek " << misc_device;
|
/external/f2fs-tools/lib/ |
libf2fs_io.c | 62 return lseek(fd, offset, set); 323 lseek(c.devices[0].fd, 0, SEEK_SET);
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
mpx-dig.c | 195 off_t seek_ret = lseek(fd, table_vaddr, SEEK_SET); 368 off_t seek_ret = lseek(proc_pid_mem_fd, seekto, SEEK_SET);
|
/external/ltp/testcases/kernel/fs/ftest/ |
ftest01.c | 26 * lseek, read, write 336 if (lseek(fd, CHUNK(chunk), 0) < 0) { 339 "Test[%d]: lseek(0) fail at %x, errno = %d.", 423 if (lseek(fd, -xfr, 1) < 0) { 426 "Test[%d]: lseek(1) fail at %x, errno = %d.",
|
ftest02.c | 26 * open, close, read, write, lseek, 265 val = lseek(fd, (rand() % M), 0); 266 warn(val, "lseek", 0); 271 val = lseek(fd, -((off_t) sizeof(crmsg) - 1), 1); 272 warn(val, "lseek", 0);
|
/external/ltp/testcases/kernel/io/direct_io/ |
diotest6.c | 125 if (lseek(fd_w, seekoff, SEEK_SET) < 0) { 126 tst_resm(TFAIL, "lseek before write failed: %s", 143 if (lseek(fd_r, seekoff, SEEK_SET) < 0) { 144 tst_resm(TFAIL, "lseek before read failed: %s",
|
/external/mesa3d/src/gallium/winsys/sw/kms-dri/ |
kms_dri_sw_winsys.c | 255 off_t lseek_ret = lseek(fd, 0, SEEK_END); 267 lseek(fd, 0, SEEK_SET);
|
/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_impl.cc | 58 // Win32 lseek is broken: If invoked on a non-seekable file descriptor, its 60 #define lseek(fd, offset, origin) ((off_t)-1) macro 158 lseek(file_, count, SEEK_CUR) != (off_t)-1) {
|
/external/zlib/src/examples/ |
gzjoin.c | 59 #include <unistd.h> /* close(), read(), lseek() */ 182 lseek(in->fd, skip - 1, SEEK_CUR); 189 lseek(in->fd, skip - left, SEEK_CUR);
|
/libcore/ojluni/src/main/java/java/io/ |
RandomAccessFile.java | 585 return Libcore.os.lseek(fd, 0L, SEEK_CUR); 615 Libcore.os.lseek(fd, pos, SEEK_SET); [all...] |
/toolchain/binutils/binutils-2.27/bfd/ |
coff-stgo32.c | 334 if ((long) lseek (f, exe_start, SEEK_SET) != exe_start) 356 lseek (f, 0L, SEEK_SET);
|
/toolchain/binutils/binutils-2.27/libiberty/ |
simple-object.c | 66 if (lseek (descriptor, offset, SEEK_SET) < 0) 68 *errmsg = "lseek"; 110 if (lseek (descriptor, offset, SEEK_SET) < 0) 112 *errmsg = "lseek";
|
/toolchain/binutils/binutils-2.27/zlib/examples/ |
gzjoin.c | 59 #include <unistd.h> /* close(), read(), lseek() */ 182 lseek(in->fd, skip - 1, SEEK_CUR); 189 lseek(in->fd, skip - left, SEEK_CUR);
|
/external/toybox/lib/ |
lib.c | 138 off_t cur = lseek(fd, 0, SEEK_CUR); 141 off_t end = lseek(fd, 0, SEEK_END) - cur; 145 if (end == lseek(fd, end, SEEK_SET)) return 0; 146 perror_exit("lseek"); 468 old = lseek(fd, 0, SEEK_CUR); 473 if (lseek(fd, pos, 0)>=0 && read(fd, &temp, 1)==1) { 485 lseek(fd, old, SEEK_SET);
|
/external/mksh/src/ |
histrap.c | 727 if ((tot = lseek(srcfd, (off_t)0, SEEK_END)) < 0 || 728 lseek(srcfd, (off_t)0, SEEK_SET) < 0 || 729 lseek(histfd, (off_t)0, SEEK_SET) < 0) 795 histfsize = lseek(histfd, (off_t)0, SEEK_END); 882 histfsize = lseek(histfd, (off_t)0, SEEK_END); 965 sizenow = lseek(histfd, (off_t)0, SEEK_END); 1001 histfsize = lseek(histfd, (off_t)0, SEEK_END); [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
ExifInterfaceTest.java | 370 Os.lseek(fd, 0, OsConstants.SEEK_SET); 378 Os.lseek(fd, 0, OsConstants.SEEK_SET); 384 Os.lseek(fd, 0, OsConstants.SEEK_SET);
|
/external/fsck_msdos/ |
fat.c | 92 if (lseek(fs, off, SEEK_SET) != off) { 185 if (lseek(fs, off, SEEK_SET) != off) { 647 if (lseek(fs, off, SEEK_SET) != off
|
/external/ltp/testcases/kernel/mem/mmapstress/ |
mmapstress10.c | 357 if (lseek(fd, sparseoffset, SEEK_SET) < 0) { 359 perror("lseek"); 725 if ((off = lseek(fd_writer, 0, SEEK_END)) == -1) { 727 perror("lseek error"); 819 if (lseek(fd, sparseoffset, SEEK_SET) < 0) { 821 perror("lseek");
|
/external/stressapptest/src/ |
os.cc | 773 if (lseek(fd, offset, SEEK_SET) < 0) { 822 if (lseek(fd, offset, SEEK_SET) < 0) { 844 uint32 pos = lseek(fd, address, SEEK_SET);
|