/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/gettext/gettext-tools/misc/ |
D | convert-archive.in | 79 fromfile="$3" 80 test -n "$fromfile" || fromfile=`pwd`/archive.$from.tar.gz 97 dir) cat < "$fromfile" ;; 98 dirgz) gzip -d -c < "$fromfile" ;; 99 dirbz2) bzip2 -d -c < "$fromfile" ;; 100 dirxz) xz -d -c < "$fromfile" ;; 158 gzip -d -c < "$fromfile" | (cd "$cvs_dir" && tar xf -) 211 gzip -d -c < "$fromfile" | (cd "$work_dir/master" && tar xf -)
|
/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/Doc/tools/extensions/ |
D | c_annotations.py | 38 def fromfile(cls, filename): member in Annotations 102 refcounts = Annotations.fromfile(
|
/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/python/Lib/ |
D | difflib.py | 1135 def unified_diff(a, b, fromfile='', tofile='', fromfiledate='', argument 1176 _check_types(a, b, fromfile, tofile, fromfiledate, tofiledate, lineterm) 1183 yield '--- {}{}{}'.format(fromfile, fromdate, lineterm) 1220 def context_diff(a, b, fromfile='', tofile='', argument 1264 _check_types(a, b, fromfile, tofile, fromfiledate, tofiledate, lineterm) 1272 yield '*** {}{}{}'.format(fromfile, fromdate, lineterm) 1313 def diff_bytes(dfunc, a, b, fromfile=b'', tofile=b'', argument 1333 fromfile = decode(fromfile) 1339 lines = dfunc(a, b, fromfile, tofile, fromfiledate, tofiledate, n, lineterm)
|
/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/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 | 323 exclude=False, single=False, randomize=False, fromfile=None, 349 if ns.single and ns.fromfile:
|
D | main.py | 213 if self.ns.fromfile: 218 with open(os.path.join(support.SAVEDCWD, self.ns.fromfile)) as fp: 248 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/curl/lib/ |
D | cookie.c | 1197 bool fromfile = TRUE; in Curl_cookie_init() local 1222 fromfile = FALSE; in Curl_cookie_init() 1263 if(fromfile) in Curl_cookie_init() 1281 if(fromfile && fp) in Curl_cookie_init()
|
/third_party/python/Lib/test/ |
D | test_array.py | 376 self.assertRaises(TypeError, b.fromfile) 377 b.fromfile(f, len(self.example)) 380 self.assertRaises(EOFError, b.fromfile, f, len(self.example)+1) 394 self.assertRaises(OSError, a.fromfile, f, len(self.example)) 407 b.fromfile(f, len(self.example)) 410 b.fromfile(f, len(self.example))
|
D | test_regrtest.py | 140 self.assertEqual(ns.fromfile, 'foo')
|
D | datetimetester.py | 5616 def fromfile(cls, fileobj): member in ZoneInfo 5621 counts.fromfile(fileobj, 3) 5626 ut.fromfile(fileobj, counts[0]) 5631 type_indices.fromfile(fileobj, counts[0]) 5656 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/spirv-tools/test/tools/ |
D | expect.py | 363 fromfile='expected_output',
|
/third_party/skia/third_party/externals/swiftshader/third_party/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 | 3666 compile_pattern(patstr *p, int options, int fromfile, const char *fromtext, in compile_pattern() argument 3711 if (fromfile) in compile_pattern()
|
/third_party/uboot/u-boot-2020.01/tools/ |
D | moveconfig.py | 492 fromfile=os.path.join('a', file_path),
|
/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().
|