Searched refs:fromfile (Results 1 – 10 of 10) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | diff.py | 30 fromfile, tofile = args 32 fromdate = time.ctime(os.stat(fromfile).st_mtime) 34 fromlines = open(fromfile, 'U').readlines() 38 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n) 42 …diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n) 44 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | regrtest.py | 229 exclude=False, single=False, randomize=False, fromfile=None, argument 296 fromfile = a 363 if single and fromfile: 400 if fromfile: 402 fp = open(os.path.join(test_support.SAVEDCWD, fromfile))
|
D | test_array.py | 173 self.assertRaises(TypeError, b.fromfile) 176 b.fromfile, 179 b.fromfile(f, len(self.example)) 182 b.fromfile(f, len(self.example)) 184 self.assertRaises(EOFError, b.fromfile, f, 1) 197 self.assertRaises(IOError, a.fromfile, f, len(self.example)) 210 b.fromfile(f, len(self.example)) 213 b.fromfile(f, len(self.example))
|
D | test_pydoc.py | 218 diffs = difflib.unified_diff(lines1, lines2, n=0, fromfile='expected',
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/ |
D | PatchPcdValue.py | 89 ByteArray.fromfile(FileHandle, FileLength)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | difflib.py | 1158 def unified_diff(a, b, fromfile='', tofile='', fromfiledate='', argument 1205 yield '--- {}{}{}'.format(fromfile, fromdate, lineterm) 1242 def context_diff(a, b, fromfile='', tofile='', argument 1292 yield '*** {}{}{}'.format(fromfile, fromdate, lineterm)
|
D | wave.py | 244 data.fromfile(chunk.file.file, nitems)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
D | Report.py | 466 buf.fromfile(fd, os.path.getsize(FilePath))
|
D | FvImage.py | 1316 Buf.fromfile(Fd, os.path.getsize(FvPath)) 1429 buf.fromfile(fd, os.path.getsize(FilePath)) 1443 buf.fromfile(fd, Size)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
D | Misc.py | 1891 ByteArray.fromfile(PeObject, 0x3E) 1902 ByteArray.fromfile(PeObject, 4) 1910 ByteArray.fromfile(PeObject, 0x14) 1920 ByteArray.fromfile(PeObject, OptionalHeaderSize) 1929 ByteArray.fromfile(PeObject, 0x28)
|