Home
last modified time | relevance | path

Searched refs:fname2 (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_binhex.py18 self.fname2 = support.TESTFN_ASCII + "2"
23 support.unlink(self.fname2)
32 binhex.binhex(self.fname1, self.fname2)
34 binhex.hexbin(self.fname2, self.fname1)
49 self.assertRaises(binhex.Error, binhex.binhex, self.fname3, self.fname2)
56 binhex.binhex(self.fname1, self.fname2)
58 with open(self.fname2, 'rb') as fp:
/external/elfutils/src/
Delfcmp.c164 const char *const fname2 = argv[remaining + 1]; in main() local
167 Elf *elf2 = open_file (fname2, &fd2, &ebl2); in main()
178 fname2, elf_errmsg (-1)); in main()
203 error (0, 0, _("%s %s diff: ELF header"), fname1, fname2); in main()
214 fname2, elf_errmsg (-1)); in main()
218 error (0, 0, _("%s %s diff: section count"), fname1, fname2); in main()
229 fname2, elf_errmsg (-1)); in main()
234 fname1, fname2); in main()
245 fname2, elf_errmsg (-1)); in main()
250 fname1, fname2); in main()
[all …]
/external/python/cpython2/Lib/test/
Dtest_binhex.py16 self.fname2 = test_support.TESTFN + "2"
22 try: os.unlink(self.fname2)
32 binhex.binhex(self.fname1, self.fname2)
34 binhex.hexbin(self.fname2, self.fname1)
/external/tensorflow/tensorflow/core/platform/s3/
Ds3_file_system_test.cc292 const string fname2 = TmpDir("RenameFile2"); in TEST_F() local
294 TF_EXPECT_OK(s3fs.RenameFile(fname1, fname2)); in TEST_F()
296 TF_EXPECT_OK(ReadAll(fname2, &content)); in TEST_F()
302 const string fname2 = TmpDir("RenameFile2"); in TEST_F() local
304 TF_ASSERT_OK(WriteString(fname2, "test")); in TEST_F()
305 TF_EXPECT_OK(s3fs.FileExists(fname2)); in TEST_F()
308 TF_EXPECT_OK(s3fs.RenameFile(fname1, fname2)); in TEST_F()
310 TF_EXPECT_OK(ReadAll(fname2, &content)); in TEST_F()
/external/tensorflow/tensorflow/core/platform/hadoop/
Dhadoop_file_system_test.cc171 const string fname2 = TmpDir("RenameFile2"); in TEST_F() local
173 TF_EXPECT_OK(hdfs.RenameFile(fname1, fname2)); in TEST_F()
175 TF_EXPECT_OK(ReadAll(fname2, &content)); in TEST_F()
181 const string fname2 = TmpDir("RenameFile2"); in TEST_F() local
183 TF_ASSERT_OK(WriteString(fname2, "test")); in TEST_F()
184 TF_EXPECT_OK(hdfs.FileExists(fname2)); in TEST_F()
187 TF_EXPECT_OK(hdfs.RenameFile(fname1, fname2)); in TEST_F()
189 TF_EXPECT_OK(ReadAll(fname2, &content)); in TEST_F()
/external/ltp/testcases/kernel/syscalls/link/
Dlink04.c93 char *fname1, *fname2; in main() local
109 fname2 = test_cases[i].file2; in main()
112 TEST(link(fname1, fname2)); in main()
/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify02.c40 static char fname1[BUF_SIZE], fname2[BUF_SIZE], fname3[BUF_SIZE]; variable
99 snprintf(fname2, BUF_SIZE, "%s.rename1", fname1); in verify_inotify()
100 SAFE_RENAME(fname1, fname2); in verify_inotify()
117 SAFE_RENAME(fname2, fname3); in verify_inotify()
/external/elfutils/libdw/
Ddwarf_getsrc_file.c99 const char *fname2 = line->files->info[lastfile].name; in dwarf_getsrc_file() local
101 lastmatch = strcmp (basename (fname2), fname) == 0; in dwarf_getsrc_file()
103 lastmatch = strcmp (fname2, fname) == 0; in dwarf_getsrc_file()
/external/ltp/testcases/kernel/syscalls/copy_file_range/
Dcopy_file_range01.c36 static int check_file_content(const char *fname1, const char *fname2, in check_file_content() argument
47 fp2 = SAFE_FOPEN(fname2, "r"); in check_file_content()
/external/clang/tools/arcmt-test/
Darcmt-test.cpp208 static bool filesCompareEqual(StringRef fname1, StringRef fname2) { in filesCompareEqual() argument
215 ErrorOr<std::unique_ptr<MemoryBuffer>> file2 = MemoryBuffer::getFile(fname2); in filesCompareEqual()
/external/llvm-project/clang/tools/arcmt-test/
Darcmt-test.cpp207 static bool filesCompareEqual(StringRef fname1, StringRef fname2) { in filesCompareEqual() argument
214 ErrorOr<std::unique_ptr<MemoryBuffer>> file2 = MemoryBuffer::getFile(fname2); in filesCompareEqual()
/external/tensorflow/tensorflow/python/distribute/
Dinput_lib_type_spec_test.py285 fname2 = os.path.join(self.get_temp_dir(), "2.txt")
286 _create_text_file(fname2, 9)
289 dataset = dataset_ops.DatasetV2.from_tensor_slices([fname1, fname2])