Home
last modified time | relevance | path

Searched refs:dst_file (Results 1 – 3 of 3) sorted by relevance

/bionic/tests/
Dsys_sendfile_test.cpp30 TemporaryFile dst_file; in TEST() local
34 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count); in TEST()
38 ASSERT_EQ(0, lseek(dst_file.fd, 0, SEEK_SET)); in TEST()
41 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(dst_file.fd, &buf, 2))); in TEST()
49 TemporaryFile dst_file; in TEST() local
53 ssize_t rc = sendfile64(dst_file.fd, src_file.fd, &offset, count); in TEST()
57 ASSERT_EQ(0, lseek(dst_file.fd, 0, SEEK_SET)); in TEST()
60 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(dst_file.fd, &buf, 2))); in TEST()
/bionic/libc/kernel/tools/
Dclean_header.py82 def cleanupFile(dst_file, src_file, rel_path, no_update = True): argument
175 dst_file = os.path.join(dst_dir, path) variable
177 new_data = cleanupFile(dst_file, src_file, path)
187 dst_file = os.path.join(dst_dir, path) variable
189 new_data = cleanupFile(dst_file, src_file, path, no_update)
Dupdate_all.py52 dst_file = os.path.join(update_dir, rel_path)
53 new_data = clean_header.cleanupFile(dst_file, src_file, rel_path)
56 updater.readFile(dst_file)
57 ret_val = updater.editFile(dst_file, new_data)