Searched refs:src_file (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/kernel/tools/ |
D | clean_header.py | 82 def cleanupFile(dst_file, src_file, rel_path, no_update = True): argument 87 if not os.path.exists(src_file): 88 print_error(no_update, "'%s' does not exist\n" % src_file) 91 if not os.path.isfile(src_file): 92 print_error(no_update, "'%s' is not a file\n" % src_file) 103 blocks = parser.parseFile(src_file) 105 print_error(no_update, "Can't parse '%s'" % src_file) 183 src_file = os.path.join(src_dir, path) variable 184 new_data = cleanupFile(dst_file, src_file, path) 200 src_file = os.path.join(src_dir, path) variable [all …]
|
D | update_all.py | 44 src_file = os.path.normpath(os.path.join(root, file)) 45 rel_path = src_file[src_dir_len:] 48 src_file = os.path.join(mod_src_dir, rel_path) 53 new_data = clean_header.cleanupFile(dst_file, src_file, rel_path)
|
/bionic/tests/ |
D | sys_sendfile_test.cpp | 28 TemporaryFile src_file; in TEST() local 29 ASSERT_EQ(5, TEMP_FAILURE_RETRY(write(src_file.fd, "hello", 5))); in TEST() 35 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count); in TEST() 47 TemporaryFile src_file; in TEST() local 48 ASSERT_EQ(5, TEMP_FAILURE_RETRY(write(src_file.fd, "hello", 5))); in TEST() 54 ssize_t rc = sendfile64(dst_file.fd, src_file.fd, &offset, count); in TEST()
|