/system/core/adb/ |
D | adb_io_test.cpp | 62 ASSERT_EQ(0, lseek(tf.fd, SEEK_SET, 0)); in TEST() 76 ASSERT_EQ(0, lseek(tf.fd, SEEK_SET, 0)); in TEST() 90 ASSERT_EQ(0, lseek(tf.fd, SEEK_SET, 0)); in TEST() 109 ASSERT_EQ(0, lseek(tf.fd, SEEK_SET, 0)); in TEST() 123 ASSERT_EQ(0, lseek(tf.fd, SEEK_SET, 0)); in TEST() 149 ASSERT_EQ(0, lseek(tf.fd, SEEK_SET, 0)); in TEST() 162 ASSERT_EQ(0, lseek(tf.fd, SEEK_SET, 0)); in TEST()
|
D | sysdeps.h | 389 return lseek(fd, pos, where); in adb_lseek() 391 #undef lseek 392 #define lseek ___xxx_lseek macro
|
/system/core/debuggerd/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 | dump_maps_test.cpp | 109 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 142 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 179 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 235 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 291 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 345 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 399 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 455 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F() 493 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() [all …]
|
/system/core/base/ |
D | logging_test.cpp | 91 ASSERT_EQ(0, lseek(cap.fd(), SEEK_SET, 0)); in TEST() 104 ASSERT_EQ(0, lseek(cap.fd(), SEEK_SET, 0)); in TEST() 117 ASSERT_EQ(0, lseek(cap.fd(), SEEK_SET, 0)); in TEST() 128 ASSERT_EQ(0, lseek(cap.fd(), SEEK_SET, 0)); in TEST() 144 ASSERT_EQ(0, lseek(cap.fd(), SEEK_SET, 0)); in TEST() 160 ASSERT_EQ(0, lseek(cap.fd(), SEEK_SET, 0)); in TEST()
|
D | file_test.cpp | 76 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)) << errno; in TEST() 92 ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)) << strerror(errno); in TEST()
|
/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/extras/tests/fstest/ |
D | recovery_test.cpp | 81 if (lseek(blk_fd, SB_OFFSET, SEEK_SET) == -1) { in getSuperBlock() 116 if (lseek(blk_fd, SB_OFFSET, SEEK_SET) == -1) { in setSbErrorBit() 151 if (lseek(blk_fd, block_size, SEEK_SET) == -1) { in corruptGdtFreeBlock() 171 if (lseek(blk_fd, -sizeof(gd), SEEK_CUR) == -1) { in corruptGdtFreeBlock()
|
/system/core/libsparse/ |
D | append2simg.c | 37 #define lseek64 lseek 40 #define lseek64 lseek
|
D | simg2img.c | 74 lseek(out, SEEK_SET, 0); in main()
|
D | img2simg.c | 37 #define lseek64 lseek
|
/system/core/toolbox/upstream-netbsd/bin/dd/ |
D | dd_hostops.c | 50 .op_lseek = lseek,
|
/system/core/include/utils/ |
D | Compat.h | 29 return lseek(fd, offset, whence); in lseek64()
|
/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 …]
|
D | Loop.cpp | 322 if (lseek(fd, ((*nr_sec - 1) * 512), SEEK_SET) < 0) { in lookupInfo()
|
/system/core/liblog/ |
D | event_tag_map.c | 81 end = lseek(fd, 0L, SEEK_END); in android_openEventTagMap() 82 (void) lseek(fd, 0L, SEEK_SET); in android_openEventTagMap()
|
D | log_read.c | 718 current = TEMP_FAILURE_RETRY(lseek(logger_list->sock, in android_logger_list_read_pstore() 723 next = TEMP_FAILURE_RETRY(lseek(logger_list->sock, in android_logger_list_read_pstore()
|
/system/core/libbacktrace/ |
D | GetPss.cpp | 37 if (lseek(fd, place * sizeof(uint64_t), SEEK_SET) < 0) { in ReadData()
|
/system/core/mkbootimg/ |
D | mkbootimg.c | 39 sz = lseek(fd, 0, SEEK_END); in load_file() 42 if(lseek(fd, 0, SEEK_SET) != 0) goto oops; in load_file()
|
/system/core/libsuspend/ |
D | autosuspend_wakeup_count.c | 55 lseek(wakeup_count_fd, 0, SEEK_SET); in suspend_thread_func()
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
D | file.c | 109 if (lseek(f->fd, 0, SEEK_SET) == -1) in grep_refill()
|
/system/extras/ext4_utils/ |
D | ext4_utils.h | 42 #define lseek64 lseek
|
/system/core/libziparchive/ |
D | zip_archive_test.cc | 99 ASSERT_EQ(-1, lseek(fd, 0, SEEK_SET)); in TEST() 109 ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)); in TEST()
|
/system/extras/sound/ |
D | playwav.c | 285 lseek(fd, 0, SEEK_SET); in wav_rec()
|
/system/core/fastboot/ |
D | fastboot.cpp | 460 lseek(fd, 0, SEEK_SET); in unzip_to_file() 661 lseek(fd, 0, SEEK_SET); in load_buf_fd()
|