/third_party/python/Tools/scripts/ |
D | diff.py | 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/ |
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()
|
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/ |
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/python/Lib/ |
D | difflib.py | 1095 def unified_diff(a, b, fromfile='', tofile='', fromfiledate='', argument 1136 _check_types(a, b, fromfile, tofile, fromfiledate, tofiledate, lineterm) 1143 yield '--- {}{}{}'.format(fromfile, fromdate, lineterm) 1180 def context_diff(a, b, fromfile='', tofile='', argument 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'', argument 1293 fromfile = decode(fromfile) 1299 lines = dfunc(a, b, fromfile, tofile, fromfiledate, tofiledate, n, lineterm)
|
/third_party/ltp/testcases/realtime/tools/ |
D | ftqviz.py | 68 t = fromfile(timefile, dtype=int64, sep='\n') 69 x = fromfile(countfile, dtype=int64, sep='\n')
|
/third_party/skia/third_party/externals/expat/expat/tests/ |
D | udiffer.py | 55 diffs = list(difflib.unified_diff(first, second, fromfile=config.first,
|
/third_party/python/Lib/test/libregrtest/ |
D | cmdline.py | 152 self.fromfile = None 377 if ns.single and ns.fromfile:
|
D | main.py | 215 if self.ns.fromfile: 220 with open(os.path.join(os_helper.SAVEDCWD, self.ns.fromfile)) as fp: 250 if not self.ns.fromfile:
|
/third_party/python/Doc/library/ |
D | difflib.rst | 152 .. function:: context_diff(a, b, fromfile='', tofile='', fromfiledate='', tofiledate='', n=3, linet… 171 times. Any or all of these may be specified using strings for *fromfile*, 178 >>> sys.stdout.writelines(context_diff(s1, s2, fromfile='before.py', tofile='after.py')) 282 .. function:: unified_diff(a, b, fromfile='', tofile='', fromfiledate='', tofiledate='', n=3, linet… 302 times. Any or all of these may be specified using strings for *fromfile*, 310 >>> sys.stdout.writelines(unified_diff(s1, s2, fromfile='before.py', tofile='after.py')) 324 .. function:: diff_bytes(dfunc, a, b, fromfile=b'', tofile=b'', fromfiledate=b'', tofiledate=b'', n… 334 fromfile, tofile, fromfiledate, tofiledate, n, lineterm)``. The output of
|
D | array.rst | 152 values (as if it had been read from a file using the :meth:`fromfile` method). 158 .. method:: array.fromfile(f, n)
|
/third_party/python/Lib/test/ |
D | test_array.py | 456 self.assertRaises(TypeError, b.fromfile) 457 b.fromfile(f, len(self.example)) 460 self.assertRaises(EOFError, b.fromfile, f, len(self.example)+1) 474 self.assertRaises(OSError, a.fromfile, f, len(self.example)) 487 b.fromfile(f, len(self.example)) 490 b.fromfile(f, len(self.example))
|
D | test_regrtest.py | 142 self.assertEqual(ns.fromfile, 'foo')
|
D | datetimetester.py | 5595 def fromfile(cls, fileobj): member in ZoneInfo 5600 counts.fromfile(fileobj, 3) 5605 ut.fromfile(fileobj, counts[0]) 5610 type_indices.fromfile(fileobj, counts[0]) 5635 return cls.fromfile(f)
|
/third_party/jsoncpp/.travis_scripts/ |
D | run-clang-format.py | 80 fromfile='{}\t(original)'.format(file),
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/ |
D | expect.py | 363 fromfile='expected_output',
|
/third_party/spirv-tools/test/tools/ |
D | expect.py | 378 fromfile='expected_output',
|
/third_party/skia/third_party/externals/spirv-tools/test/tools/ |
D | expect.py | 363 fromfile='expected_output',
|
/third_party/skia/third_party/externals/angle2/src/tests/ |
D | capture_replay_tests.py | 548 captured_context, replayed_context, fromfile=capture_file,
|
/third_party/pcre2/pcre2/src/ |
D | pcre2grep.c | 3599 compile_pattern(patstr *p, int options, int fromfile, const char *fromtext, in compile_pattern() argument 3644 if (fromfile) in compile_pattern()
|
/third_party/python/Doc/whatsnew/ |
D | 3.0.rst | 637 :meth:`write` methods are gone; use :meth:`fromfile` and
|
/third_party/python/Misc/ |
D | HISTORY | 6150 - Issue #15324: Fix regrtest parsing of --fromfile, --match, and --randomize 15554 - Issue #5334: array.fromfile() failed to insert values when EOFError was raised. 27928 Carefully check for overflow when allocating the memory for fromfile 33274 methods are renamed to fromfile() and tofile().
|