Searched refs:fname1 (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Lib/test/ |
D | test_binhex.py | 21 self.fname1 = os_helper.TESTFN_ASCII + "1" 26 os_helper.unlink(self.fname1) 33 with open(self.fname1, 'wb') as f: 36 binhex.binhex(self.fname1, self.fname2) 38 binhex.hexbin(self.fname2, self.fname1) 40 with open(self.fname1, 'rb') as f: 57 with open(self.fname1, 'wb') as f: 60 binhex.binhex(self.fname1, self.fname2)
|
/third_party/ltp/testcases/kernel/syscalls/inotify/ |
D | inotify02.c | 40 static char fname1[BUF_SIZE], fname2[BUF_SIZE], fname3[BUF_SIZE]; variable 94 if (getcwd(fname1, BUF_SIZE) == NULL) { in verify_inotify() 96 "getcwd(%p, %d) failed", fname1, BUF_SIZE); in verify_inotify() 99 snprintf(fname2, BUF_SIZE, "%s.rename1", fname1); in verify_inotify() 100 SAFE_RENAME(fname1, fname2); in verify_inotify() 116 snprintf(fname3, BUF_SIZE, "%s.rename2", fname1); in verify_inotify() 119 SAFE_RENAME(fname3, fname1); in verify_inotify()
|
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify16.c | 53 static char fname1[BUF_SIZE + 11], fname2[BUF_SIZE + 11]; variable 196 fd = SAFE_CREAT(fname1, 0755); in do_test() 199 fanotify_save_fid(fname1, &file_fid); in do_test() 202 SAFE_RENAME(fname1, fname2); in do_test() 551 sprintf(fname1, "%s/%s", dname1, FILE_NAME1); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/copy_file_range/ |
D | copy_file_range01.c | 36 static int check_file_content(const char *fname1, const char *fname2, in check_file_content() argument 43 fp1 = SAFE_FOPEN(fname1, "r"); in check_file_content()
|