/external/ltp/testcases/kernel/syscalls/sync/ |
sync02.c | 114 if (lseek(fildes, 0, SEEK_SET) < 0) { 115 tst_brkm(TFAIL, cleanup, "lseek() "
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_write/ |
1-1.c | 98 if (lseek(fd, 0, SEEK_SET) == -1) { 99 printf(TNAME " Error at lseek(): %s\n", strerror(errno));
|
3-1.c | 98 if (lseek(fd, 0, SEEK_SET) == -1) { 99 printf(TNAME " Error at lseek(): %s\n", strerror(errno));
|
/external/swiftshader/third_party/LLVM/runtime/libprofile/ |
CommonProfiling.c | 93 lseek(OutFile, 0, SEEK_END); /* O_APPEND prevents seeking */
|
/frameworks/base/services/core/jni/ |
com_android_server_UsbDescriptorParser.cpp | 50 lseek(fd, 0, SEEK_SET);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/ |
Xw32defs.h | 38 # define lseek _lseek macro
|
/system/core/libbacktrace/ |
GetPss.cpp | 37 if (lseek(fd, place * sizeof(uint64_t), SEEK_SET) < 0) {
|
/dalvik/libdex/ |
SysUtil.cpp | 88 start = lseek(fd, 0L, SEEK_CUR); 89 end = lseek(fd, 0L, SEEK_END); 90 (void) lseek(fd, start, SEEK_SET);
|
OptInvocation.cpp | 160 assert(lseek(fd, 0, SEEK_CUR) == 0);
|
/frameworks/base/libs/androidfw/ |
BackupData.cpp | 57 m_pos = (ssize_t) lseek(fd, 0, SEEK_CUR); 184 m_pos = (ssize_t) lseek(fd, 0, SEEK_CUR); 321 int pos = lseek(m_fd, m_dataEndPos, SEEK_SET);
|
/frameworks/av/media/libstagefright/webm/ |
WebmWriter.cpp | 314 mCuesOffset = ::lseek(mFd, 0, SEEK_CUR); 318 ::lseek(mFd, mCuesOffset, SEEK_SET); 329 uint64_t totalSize = ::lseek(mFd, 0, SEEK_END); 331 ::lseek(mFd, mSegmentOffset + sizeOf(kMkvSegment), SEEK_SET); 342 ::lseek(mFd, durationOffset, SEEK_SET); 352 ::lseek(mFd, mSegmentDataStart, SEEK_SET); 506 offsets[i] = ::lseek(mFd, 0, SEEK_CUR);
|
/external/autotest/client/tests/disktest/src/ |
disktest.c | 71 lseek(fd, offset, SEEK_SET); 93 lseek(fd, offset, SEEK_SET); 314 lseek(fd, 0, SEEK_SET);
|
/external/libunwind/src/coredump/ |
_UCD_create.c | 147 if (lseek(fd, ofs, SEEK_SET) != ofs) 219 if (lseek(fd, cur->p_offset, SEEK_SET) != (off_t)cur->p_offset 359 if (lseek(ui->coredump_fd, phdr->p_offset, SEEK_SET) != (off_t)phdr->p_offset
|
/external/ltp/testcases/kernel/fs/ftest/ |
ftest04.c | 26 * fsync, sync, lseek, read, write 320 if (lseek(fd, CHUNK(chunk), 0) < 0) { 323 "\tTest[%d]: lseek(0) fail at %x, errno = %d.", 398 if (lseek(fd, -xfr, 1) < 0) { 401 "\tTest[%d]: lseek(1) fail at %x, errno = %d.", 438 if (lseek(fd, CHUNK(i), 0) < 0) { 441 "\tTest[%d]: lseek fail at %x, errno = %d.",
|
/system/core/base/ |
file_test.cpp | 92 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)) << strerror(errno); 104 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)) << strerror(errno); 112 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)) << strerror(errno);
|
/system/core/libunwindstack/tests/ |
ElfCacheTest.cpp | 57 ASSERT_EQ(offset, static_cast<uint64_t>(lseek(tf->fd, offset, SEEK_SET))); 115 lseek(tf.fd, 0x500, SEEK_SET); 212 lseek(tf.fd, 0x500, SEEK_SET);
|
/art/runtime/gc/space/ |
image_space_fs.h | 154 if (lseek(file->Fd(), 0, SEEK_SET) == -1) {
|
/bionic/tools/relocation_packer/src/ |
main.cc | 114 if (TEMP_FAILURE_RETRY(lseek(fd.get(), 0, SEEK_SET)) != 0) { 115 LOG(ERROR) << file << ": lseek to 0 failed:" << strerror(errno);
|
/external/google-breakpad/src/client/linux/microdump_writer/ |
microdump_writer_unittest.cc | 109 lseek(err_fd, 0, SEEK_SET);
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
aiodio_append.c | 62 offset = lseek(fd, SEEK_END, 0);
|
dio_truncate.c | 88 offset = lseek(fd, SEEK_SET, 0);
|
/external/ltp/testcases/kernel/mem/mmapstress/ |
mmapstress02.c | 138 if (lseek(fd, 0, SEEK_SET) != 0) { 139 CLEANERROR("lseek failed");
|
/external/ltp/testcases/kernel/sched/sched_stress/ |
sched_tc4.c | 216 if (lseek(fd, 0, 0) < 0) 217 sys_error("lseek failed", __FILE__, __LINE__);
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
fanotify07.c | 80 lseek(fd, 0, SEEK_SET);
|
/external/ltp/testcases/kernel/syscalls/fsync/ |
fsync02.c | 105 if ((offsetret = lseek(fd, offset, SEEK_SET)) != offset) 107 "lseek failed: %ld, %ld", offsetret,
|