/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
diff.py | 14 usage = "usage: %prog [options] fromfile tofile"
27 parser.error("need to specify both a fromfile and tofile")
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)
|
/external/python/cpython2/Tools/scripts/ |
diff.py | 15 usage = "usage: %prog [options] fromfile tofile" 28 parser.error("need to specify both a fromfile and tofile") 31 fromfile, tofile = args 33 fromdate = time.ctime(os.stat(fromfile).st_mtime) 35 fromlines = open(fromfile, 'U').readlines() 39 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n) 43 diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n) 45 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
|
/external/pdfium/testing/tools/ |
text_diff.py | 21 str1, str2, fromfile=filename1, tofile=filename2)
|
/toolchain/binutils/binutils-2.25/libiberty/ |
maint-tool | 172 $fromfile{$seen_in{$k}} .= " " if $fromfile{$seen_in{$k}}; 173 $fromfile{$seen_in{$k}} .= $k; 176 for $f (sort keys %fromfile) { 177 $out = "$f: $fromfile{$f}";
|
/external/clang/utils/check_cfc/ |
obj_diff.py | 39 def first_diff(a, b, fromfile, tofile): 60 fromfile,
|
/external/python/cpython2/Doc/tools/extensions/ |
c_annotations.py | 38 def fromfile(cls, filename): member in class:Annotations 102 refcounts = Annotations.fromfile(
|
/external/ltp/testcases/realtime/tools/ |
ftqviz.py | 68 t = fromfile(timefile, dtype=int64, sep='\n') 69 x = fromfile(countfile, dtype=int64, sep='\n')
|
/external/v8/tools/clang/translation_unit/ |
test_translation_unit.py | 83 fromfile=os.path.relpath(expected),
|
/cts/apps/CameraITS/pymodules/its/ |
image.py | 521 y = numpy.fromfile(f, numpy.uint8, w*h, "") 522 v = numpy.fromfile(f, numpy.uint8, w*h/4, "") 523 u = numpy.fromfile(f, numpy.uint8, w*h/4, "") 526 y = numpy.fromfile(f, numpy.uint8, w*h, "") 527 vu = numpy.fromfile(f, numpy.uint8, w*h/2, "") 551 y = numpy.fromfile(f, numpy.uint8, w*h, "") 552 v = numpy.fromfile(f, numpy.uint8, w*h/4, "") 553 u = numpy.fromfile(f, numpy.uint8, w*h/4, "")
|
/external/parameter-framework/upstream/test/xml-generator/ |
test.py | 82 fromfile="reference.xml",
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
regrtest.py | 37 -f/--fromfile -- read names of tests to run from a file (see below)
229 exclude=False, single=False, randomize=False, fromfile=None,
261 'exclude', 'single', 'slow', 'random', 'fromfile', 'findleaks',
295 elif o in ('-f', '--fromfile'):
296 fromfile = a
363 if single and fromfile:
400 if fromfile:
402 fp = open(os.path.join(test_support.SAVEDCWD, fromfile))
[all...] |
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)
192 # Issue #5395: Check if fromfile raises a proper IOError
197 self.assertRaises(IOError, a.fromfile, f, len(self.example))
210 b.fromfile(f, len(self.example))
213 b.fromfile(f, len(self.example))
[all...] |
/external/python/cpython2/Lib/test/ |
test_array.py | 196 self.assertRaises(TypeError, b.fromfile) 199 b.fromfile, 202 b.fromfile(f, len(self.example)) 205 b.fromfile(f, len(self.example)) 207 self.assertRaises(EOFError, b.fromfile, f, 1) 215 # Issue #5395: Check if fromfile raises a proper IOError 220 self.assertRaises(IOError, a.fromfile, f, len(self.example)) 233 b.fromfile(f, len(self.example)) 236 b.fromfile(f, len(self.example)) [all...] |
regrtest.py | 37 -f/--fromfile -- read names of tests to run from a file (see below) 240 exclude=False, single=False, randomize=False, fromfile=None, 272 'exclude', 'single', 'slow', 'randomize', 'fromfile=', 'findleaks', 306 elif o in ('-f', '--fromfile'): 307 fromfile = a 376 if single and fromfile: 413 if fromfile: 415 fp = open(os.path.join(test_support.SAVEDCWD, fromfile)) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_array.py | 174 self.assertRaises(TypeError, b.fromfile) 177 b.fromfile, 180 b.fromfile(f, len(self.example)) 183 b.fromfile(f, len(self.example)) 185 self.assertRaises(EOFError, b.fromfile, f, 1) 193 # Issue #5395: Check if fromfile raises a proper IOError 198 self.assertRaises(IOError, a.fromfile, f, len(self.example)) 211 b.fromfile(f, len(self.example)) 214 b.fromfile(f, len(self.example)) [all...] |
regrtest.py | 37 -f/--fromfile -- read names of tests to run from a file (see below) 230 exclude=False, single=False, randomize=False, fromfile=None, 262 'exclude', 'single', 'slow', 'randomize', 'fromfile=', 'findleaks', 296 elif o in ('-f', '--fromfile'): 297 fromfile = a 364 if single and fromfile: 401 if fromfile: 403 fp = open(os.path.join(test_support.SAVEDCWD, fromfile)) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_array.py | 174 self.assertRaises(TypeError, b.fromfile) 177 b.fromfile, 180 b.fromfile(f, len(self.example)) 183 b.fromfile(f, len(self.example)) 185 self.assertRaises(EOFError, b.fromfile, f, 1) 193 # Issue #5395: Check if fromfile raises a proper IOError 198 self.assertRaises(IOError, a.fromfile, f, len(self.example)) 211 b.fromfile(f, len(self.example)) 214 b.fromfile(f, len(self.example)) [all...] |
regrtest.py | 37 -f/--fromfile -- read names of tests to run from a file (see below) 230 exclude=False, single=False, randomize=False, fromfile=None, 262 'exclude', 'single', 'slow', 'randomize', 'fromfile=', 'findleaks', 296 elif o in ('-f', '--fromfile'): 297 fromfile = a 364 if single and fromfile: 401 if fromfile: 403 fp = open(os.path.join(test_support.SAVEDCWD, fromfile)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_array.py | 174 self.assertRaises(TypeError, b.fromfile) 177 b.fromfile, 180 b.fromfile(f, len(self.example)) 183 b.fromfile(f, len(self.example)) 185 self.assertRaises(EOFError, b.fromfile, f, 1) 193 # Issue #5395: Check if fromfile raises a proper IOError 198 self.assertRaises(IOError, a.fromfile, f, len(self.example)) 211 b.fromfile(f, len(self.example)) 214 b.fromfile(f, len(self.example)) [all...] |
regrtest.py | 37 -f/--fromfile -- read names of tests to run from a file (see below) 230 exclude=False, single=False, randomize=False, fromfile=None, 262 'exclude', 'single', 'slow', 'randomize', 'fromfile=', 'findleaks', 296 elif o in ('-f', '--fromfile'): 297 fromfile = a 364 if single and fromfile: 401 if fromfile: 403 fp = open(os.path.join(test_support.SAVEDCWD, fromfile)) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_array.py | 174 self.assertRaises(TypeError, b.fromfile) 177 b.fromfile, 180 b.fromfile(f, len(self.example)) 183 b.fromfile(f, len(self.example)) 185 self.assertRaises(EOFError, b.fromfile, f, 1) 193 # Issue #5395: Check if fromfile raises a proper IOError 198 self.assertRaises(IOError, a.fromfile, f, len(self.example)) 211 b.fromfile(f, len(self.example)) 214 b.fromfile(f, len(self.example)) [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/ |
PatchPcdValue.py | 89 ByteArray.fromfile(FileHandle, FileLength)
|
/external/curl/lib/ |
cookie.c | 951 bool fromfile=TRUE; local 971 fromfile=FALSE; 1006 if(fromfile) 1020 if(fromfile && fp) [all...] |
/external/v8/gypfiles/ |
landmines.py | 142 fromfile='old_landmines', tofile='new_landmines',
|
/external/v8/tools/clang/scripts/ |
test_tool.py | 163 fromfile=os.path.relpath(expected),
|