Searched refs:filename1 (Results 1 – 2 of 2) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_unicode_file.py | 78 def _do_equivalent(self, filename1, filename2): argument 82 self.assertTrue(type(filename1)!=type(filename2), 85 self.assertEqual(os.stat(filename1), 87 self.assertEqual(os.lstat(filename1), 90 self._do_copyish(filename1, filename2) 93 def _do_copyish(self, filename1, filename2): argument 95 self.assertTrue(os.path.isfile(filename1)) # must exist. 96 os.rename(filename1, filename2 + ".new") 97 self.assertTrue(os.path.isfile(filename1+".new")) 98 os.rename(filename1 + ".new", filename2) [all …]
|
/device/linaro/hikey/installer/hikey/ |
D | hisi-idt.py | 180 def download(self, filename1, filename2): argument 182 f=open(filename1,"rb") 186 print 'Sending', filename1, '...' 200 def burnboot(chiptype, serialport, filename1, filename2=''): argument 202 downloader.download(filename1, filename2)
|