/system/core/libcutils/tests/ |
D | trace-dev_test.cpp | 33 lseek(tmp_file_.fd, 0, SEEK_SET); in SetUp() 55 ASSERT_EQ(0, lseek(atrace_marker_fd, 0, SEEK_SET)); in TEST_F() 68 ASSERT_EQ(ATRACE_MESSAGE_LENGTH - 1, lseek(atrace_marker_fd, 0, SEEK_CUR)); in TEST_F() 69 ASSERT_EQ(0, lseek(atrace_marker_fd, 0, SEEK_SET)); in TEST_F() 77 ASSERT_EQ(0, lseek(atrace_marker_fd, 0, SEEK_SET)); in TEST_F() 80 EXPECT_EQ(ATRACE_MESSAGE_LENGTH - 1, lseek(atrace_marker_fd, 0, SEEK_CUR)); in TEST_F() 81 ASSERT_EQ(0, lseek(atrace_marker_fd, 0, SEEK_SET)); in TEST_F() 91 ASSERT_EQ(ATRACE_MESSAGE_LENGTH - 1, lseek(atrace_marker_fd, 0, SEEK_CUR)); in TEST_F() 92 ASSERT_EQ(0, lseek(atrace_marker_fd, 0, SEEK_SET)); in TEST_F() 104 ASSERT_EQ(0, lseek(atrace_marker_fd, 0, SEEK_SET)); in TEST_F() [all …]
|
/system/core/adb/ |
D | adb_io_test.cpp | 52 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST() 66 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST() 80 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST() 99 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST() 113 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST() 139 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST() 152 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST()
|
/system/core/debuggerd/libdebuggerd/test/ |
D | dump_memory_test.cpp | 158 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 178 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 197 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 210 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 266 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 286 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 311 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 337 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 391 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 416 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() [all …]
|
D | tombstone_test.cpp | 113 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 148 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 187 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 245 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 305 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 363 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 421 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 481 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 521 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 549 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() [all …]
|
/system/extras/memory_replay/tests/ |
D | NativeInfoTest.cpp | 60 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); in TEST_F() 121 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); in TEST_F() 182 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); in TEST_F() 259 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); in TEST_F()
|
D | LineBufferTest.cpp | 44 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); in TEST_F() 63 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); in TEST_F() 84 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); in TEST_F() 113 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); in TEST_F() 143 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); in TEST_F() 178 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); in TEST_F() 213 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1)); in TEST_F()
|
/system/core/libcutils/ |
D | load_file.c | 32 sz = lseek(fd, 0, SEEK_END); in load_file() 35 if(lseek(fd, 0, SEEK_SET) != 0) goto oops; in load_file()
|
/system/core/libziparchive/ |
D | zip_writer_test.cc | 59 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F() 91 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F() 126 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F() 171 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F() 200 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F() 222 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F() 251 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F() 283 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F() 349 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F()
|
/system/extras/tests/fstest/ |
D | recovery_test.cpp | 80 if (lseek(blk_fd, SB_OFFSET, SEEK_SET) == -1) { in getSuperBlock() 115 if (lseek(blk_fd, SB_OFFSET, SEEK_SET) == -1) { in setSbErrorBit() 150 if (lseek(blk_fd, block_size, SEEK_SET) == -1) { in corruptGdtFreeBlock() 170 if (lseek(blk_fd, -sizeof(gd), SEEK_CUR) == -1) { in corruptGdtFreeBlock()
|
/system/core/base/ |
D | logging_test.cpp | 210 ASSERT_EQ(0, lseek(cap.fd(), 0, SEEK_SET)); in CheckMessage() 231 ASSERT_EQ(0, lseek(cap1.fd(), 0, SEEK_CUR)); \ 237 ASSERT_EQ(0, lseek(cap1.fd(), 0, SEEK_CUR)); \ 311 ASSERT_EQ(0, lseek(cap1.fd(), 0, SEEK_CUR)); \ 317 ASSERT_EQ(0, lseek(cap1.fd(), 0, SEEK_CUR)); \ 404 ASSERT_EQ(0, lseek(cap.fd(), 0, SEEK_CUR)); \ in TEST() 463 ASSERT_EQ(0, lseek(cap1.fd(), 0, SEEK_CUR)); \ 469 ASSERT_EQ(0, lseek(cap1.fd(), 0, SEEK_CUR)); \
|
D | file_test.cpp | 92 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)) << strerror(errno); in TEST() 104 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)) << strerror(errno); in TEST() 112 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)) << strerror(errno); in TEST()
|
/system/core/libsparse/ |
D | append2simg.c | 37 #define lseek64 lseek 40 #define lseek64 lseek
|
D | simg2img.c | 73 if (lseek(out, 0, SEEK_SET) == -1) { in main()
|
D | img2simg.c | 37 #define lseek64 lseek
|
/system/extras/boot_control_copy/ |
D | bootinfo.c | 129 if (lseek(fd, BOOTINFO_OFFSET, SEEK_SET) != BOOTINFO_OFFSET) { in boot_info_load() 150 if (lseek(fd, BOOTINFO_OFFSET, SEEK_SET) != BOOTINFO_OFFSET) { in boot_info_save()
|
/system/core/toolbox/upstream-netbsd/bin/dd/ |
D | dd_hostops.c | 50 .op_lseek = lseek,
|
/system/extras/memory_replay/ |
D | main.cpp | 39 lseek(fd, 0, SEEK_SET); in GetMaxAllocs() 70 lseek(fd, 0, SEEK_SET); in ProcessDump()
|
/system/core/libutils/include/utils/ |
D | Compat.h | 29 return lseek(fd, offset, whence); in lseek64()
|
/system/extras/zram-perf/ |
D | zram-perf.cpp | 84 lseek(m_fd, offset, SEEK_SET); in benchSequentialRead() 106 lseek(m_fd, offset, SEEK_SET); in benchSequentialWrite()
|
/system/core/libbacktrace/ |
D | GetPss.cpp | 37 if (lseek(fd, place * sizeof(uint64_t), SEEK_SET) < 0) { in ReadData()
|
/system/vold/ |
D | BenchmarkGen.h | 43 TEMP_FAILURE_RETRY(lseek(t3433f17, 0, SEEK_END)); in BenchmarkRun() 44 TEMP_FAILURE_RETRY(lseek(t3433f17, 38891199, SEEK_SET)); in BenchmarkRun() 63 TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_SET)); in BenchmarkRun() 64 TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_END)); in BenchmarkRun() 65 TEMP_FAILURE_RETRY(lseek(t3433f18, 38891199, SEEK_SET)); in BenchmarkRun() 81 TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_SET)); in BenchmarkRun() 82 TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_END)); in BenchmarkRun() 83 TEMP_FAILURE_RETRY(lseek(t3433f18, 38891199, SEEK_SET)); in BenchmarkRun() 91 TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_SET)); in BenchmarkRun() 92 TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_END)); in BenchmarkRun() [all …]
|
/system/core/libappfuse/tests/ |
D | FuseBufferTest.cc | 49 lseek(fd, 0, SEEK_SET); in TestReadInvalidLength() 82 lseek(fd, 0, SEEK_SET); in TEST()
|
/system/tpm/trunks/ |
D | trunksd-seccomp-amd64.policy | 44 lseek: 1
|
D | trunksd-seccomp-arm64.policy | 39 lseek: 1
|
D | trunksd-seccomp-mips.policy | 40 lseek: 1
|