Home
last modified time | relevance | path

Searched refs:fromfile (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Ddiff.py30 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/
Dregrtest.py229 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))
Dtest_array.py173 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))
Dtest_pydoc.py218 diffs = difflib.unified_diff(lines1, lines2, n=0, fromfile='expected',
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/
DPatchPcdValue.py89 ByteArray.fromfile(FileHandle, FileLength)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Ddifflib.py1158 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)
Dwave.py244 data.fromfile(chunk.file.file, nitems)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DReport.py466 buf.fromfile(fd, os.path.getsize(FilePath))
DFvImage.py1316 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/
DMisc.py1891 ByteArray.fromfile(PeObject, 0x3E)
1902 ByteArray.fromfile(PeObject, 4)
1910 ByteArray.fromfile(PeObject, 0x14)
1920 ByteArray.fromfile(PeObject, OptionalHeaderSize)
1929 ByteArray.fromfile(PeObject, 0x28)