/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/musl/libc-test/src/functionalext/supplement/linux/ |
D | sendfile.c | 24 const char *fromfile = "/data/tests/libc-test/src/fromfile.txt"; variable 34 FILE *f = fopen(fromfile, "w+"); in sendfile_0100() 42 int fromfd = open(fromfile, O_RDONLY); in sendfile_0100() 70 remove(fromfile); in sendfile_0100()
|
D | splice.c | 24 const char *fromfile = "/data/tests/libc-test/src/fromfile.txt"; variable 35 int fromfd = open(fromfile, O_RDWR | O_CREAT); in splice_0100() 59 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/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/mindspore/tests/ut/python/dataset/ |
D | test_datasets_mnist.py | 37 labels = np.fromfile(lbpath, dtype=np.uint8) 40 images = np.fromfile(imgpath, dtype=np.uint8)
|
D | test_eager_vision.py | 23 img = np.fromfile("../data/dataset/apple.jpg", dtype=np.uint8)
|
D | test_uniform_augment.py | 36 img = np.fromfile("../data/dataset/apple.jpg", dtype=np.uint8)
|
D | test_invert.py | 37 img = np.fromfile("../data/dataset/apple.jpg", dtype=np.uint8)
|
D | test_random_crop_and_resize.py | 43 img = np.fromfile("../data/dataset/apple.jpg", dtype=np.uint8)
|
D | test_datasets_cifarop.py | 38 raw = np.append(raw, np.fromfile(file, dtype=np.uint8), axis=0)
|
/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/jsoncpp/.travis_scripts/ |
D | run-clang-format.py | 80 fromfile='{}\t(original)'.format(file),
|
/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))
|
/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/spirv-tools/test/tools/ |
D | expect.py | 363 fromfile='expected_output',
|