/third_party/python/Tools/scripts/ |
H A D | diff.py | 33 parser.add_argument('fromfile') 38 fromfile = options.fromfile 41 fromdate = file_mtime(fromfile) 43 with open(fromfile) as ff: 49 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n) 53 diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n) 55 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | sendfile.c | 31 char fromfile[PATH_MAX] = {0}; in sendfile_0100() local 33 FILE_ABSOLUTE_PATH(STR_FILE_FROM_TXT, fromfile); in sendfile_0100() 36 FILE *f = fopen(fromfile, "w+"); in sendfile_0100() 44 int fromfd = open(fromfile, O_RDONLY); in sendfile_0100() 72 remove(fromfile); in sendfile_0100()
|
H A D | splice.c | 33 char fromfile[PATH_MAX] = {0}; in splice_0100() local 35 FILE_ABSOLUTE_PATH(STR_FILE_FROM_TXT, fromfile); in splice_0100() 38 int fromfd = open(fromfile, O_RDWR | O_CREAT, TEST_MODE); in splice_0100() 62 remove(fromfile); in splice_0100()
|
/third_party/python/Tools/tz/ |
H A D | zdump.py | 18 def fromfile(cls, fileobj): member in TZInfo 26 transitions.fromfile(fileobj, tzh_timecnt) 31 type_indices.fromfile(fileobj, tzh_timecnt) 80 tzi = TZInfo.fromfile(fileobj)
|
/third_party/ltp/testcases/realtime/tools/ |
H A D | ftqviz.py | 68 t = fromfile(timefile, dtype=int64, sep='\n') 69 x = fromfile(countfile, dtype=int64, sep='\n')
|
/third_party/python/Lib/ |
H A D | difflib.py | 1095 def unified_diff(a, b, fromfile='', tofile='', fromfiledate='', 1115 'fromfile', 'tofile', 'fromfiledate', and 'tofiledate'. 1136 _check_types(a, b, fromfile, tofile, fromfiledate, tofiledate, lineterm) 1143 yield '--- {}{}{}'.format(fromfile, fromdate, lineterm) 1180 def context_diff(a, b, fromfile='', tofile='', 1200 strings for 'fromfile', 'tofile', 'fromfiledate', and 'tofiledate'. 1224 _check_types(a, b, fromfile, tofile, fromfiledate, tofiledate, lineterm) 1232 yield '*** {}{}{}'.format(fromfile, fromdate, lineterm) 1273 def diff_bytes(dfunc, a, b, fromfile=b'', tofile=b'', 1293 fromfile [all...] |
/third_party/node/deps/v8/tools/testrunner/outproc/ |
H A D | mkgrokdump.py | 21 fromfile="expected_path")
|
/third_party/skia/third_party/externals/expat/expat/tests/ |
H A D | udiffer.py | 55 diffs = list(difflib.unified_diff(first, second, fromfile=config.first,
|
/third_party/python/Lib/test/libregrtest/ |
H A D | cmdline.py | 152 self.fromfile = None 234 group.add_argument('-f', '--fromfile', metavar='FILE', 372 if ns.single and ns.fromfile:
|
H A D | main.py | 229 if self.ns.fromfile: 234 with open(os.path.join(os_helper.SAVEDCWD, self.ns.fromfile)) as fp: 264 if not self.ns.fromfile:
|
/third_party/python/Lib/test/ |
H A D | test_array.py | 457 self.assertRaises(TypeError, b.fromfile) 458 b.fromfile(f, len(self.example)) 461 self.assertRaises(EOFError, b.fromfile, f, len(self.example)+1) 470 # Issue #5395: Check if fromfile raises a proper OSError 475 self.assertRaises(OSError, a.fromfile, f, len(self.example)) 488 b.fromfile(f, len(self.example)) 491 b.fromfile(f, len(self.example))
|
H A D | datetimetester.py | 5899 def fromfile(cls, fileobj): member in ZoneInfo 5904 counts.fromfile(fileobj, 3) 5909 ut.fromfile(fileobj, counts[0]) 5914 type_indices.fromfile(fileobj, counts[0]) 5939 return cls.fromfile(f)
|
H A D | test_regrtest.py | 146 for opt in '-f', '--fromfile': 149 self.assertEqual(ns.fromfile, 'foo') 773 # test --fromfile 793 output = self.run_tests('--fromfile', filename) 801 output = self.run_tests('--fromfile', filename) 809 output = self.run_tests('--fromfile', filename) 817 output = self.run_tests('--fromfile', filename)
|
/third_party/skia/third_party/externals/spirv-tools/test/tools/ |
H A D | expect.py | 363 fromfile='expected_output',
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/ |
H A D | expect.py | 363 fromfile='expected_output',
|
/third_party/spirv-tools/test/tools/ |
H A D | expect.py | 378 fromfile='expected_output',
|
/third_party/node/deps/v8/tools/gcmole/ |
H A D | gcmole.py | 510 fromfile=str(new_file),
|
/third_party/pcre2/pcre2/src/ |
H A D | pcre2grep.c | 3678 fromfile TRUE if the pattern was read from a file 3688 compile_pattern(patstr *p, int options, int fromfile, const char *fromtext, in compile_pattern() argument 3733 if (fromfile) in compile_pattern()
|
/third_party/skia/third_party/externals/angle2/src/tests/ |
H A D | capture_replay_tests.py | 548 captured_context, replayed_context, fromfile=capture_file,
|