/external/python/cpython3/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)
|
/external/python/cpython2/Tools/scripts/ |
D | diff.py | 31 fromfile, tofile = args 33 fromdate = time.ctime(os.stat(fromfile).st_mtime) 35 with open(fromfile, 'U') as f: 41 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n) 45 …diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n) 47 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
|
/external/fonttools/Tests/mtiLib/ |
D | mti_test.py | 146 def expect_ttx(self, expected_ttx, actual_ttx, fromfile=None, tofile=None): argument 152 expected, actual, fromfile=fromfile, tofile=tofile): 198 self.expect_ttx(xml_binary, xml_built, fromfile='decompiled', tofile='built') 199 self.expect_ttx(xml_expected, xml_built, fromfile=xml_expected_path, tofile='built') 217 self.expect_ttx(xml_expected, xml_fromxml, fromfile=xml_expected_path, tofile='fromxml')
|
/external/python/cpython3/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)
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | RBNFWriter.java | 56 String fromfile = options[FROMFILE].value; in main() local 59 int dot = fromfile.indexOf('.'); in main() 63 localeSpec = fromfile.substring(0, dot); in main() 65 localeSpec = fromfile; in main() 74 …putStream inFileStream = new FileInputStream(options[SOURCEDIR].value + File.separator + fromfile); in main()
|
/external/fonttools/Tests/varLib/ |
D | varLib_test.py | 102 expected, actual, fromfile=expected_ttx, tofile=path): 332 ds = DesignSpaceDocument.fromfile(ds_path) 355 ds = DesignSpaceDocument.fromfile(ds_path) 378 ds = DesignSpaceDocument.fromfile(ds_path) 401 ds = DesignSpaceDocument.fromfile(ds_path) 424 ds = DesignSpaceDocument.fromfile(ds_path) 492 ds = DesignSpaceDocument.fromfile(ds_path) 517 ds = DesignSpaceDocument.fromfile(ds_path) 534 ds = DesignSpaceDocument.fromfile(ds_path) 569 ds = DesignSpaceDocument.fromfile(ds_path) [all …]
|
/external/clang/utils/check_cfc/ |
D | obj_diff.py | 39 def first_diff(a, b, fromfile, tofile): argument 60 fromfile,
|
/external/llvm-project/clang/utils/check_cfc/ |
D | obj_diff.py | 39 def first_diff(a, b, fromfile, tofile): argument 60 fromfile,
|
/external/python/cpython3/Doc/tools/extensions/ |
D | c_annotations.py | 38 def fromfile(cls, filename): member in Annotations 102 refcounts = Annotations.fromfile(
|
/external/python/cpython2/Doc/tools/extensions/ |
D | c_annotations.py | 38 def fromfile(cls, filename): member in Annotations 102 refcounts = Annotations.fromfile(
|
/external/python/cpython3/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)
|
/external/ltp/testcases/realtime/tools/ |
D | ftqviz.py | 68 t = fromfile(timefile, dtype=int64, sep='\n') 69 x = fromfile(countfile, dtype=int64, sep='\n')
|
/external/rnnoise/training/ |
D | bin2hdf5.py | 9 data = np.fromfile(sys.argv[1], dtype='float32');
|
/external/libaom/libaom/tools/ |
D | aggregate_entropy_stats.py | 28 stats = np.fromfile(dir + fn, dtype=np.int32)
|
/external/pdfium/testing/tools/ |
D | text_diff.py | 22 str1, str2, fromfile=filename1, tofile=filename2)
|
/external/expat/tests/ |
D | udiffer.py | 54 diffs = list(difflib.unified_diff(first, second, fromfile=config.first,
|
/external/python/cpython2/Doc/library/ |
D | difflib.rst | 139 .. function:: context_diff(a, b[, fromfile][, tofile][, fromfiledate][, tofiledate][, n][, lineterm… 158 times. Any or all of these may be specified using strings for *fromfile*, 165 >>> for line in context_diff(s1, s2, fromfile='before.py', tofile='after.py'): 273 .. function:: unified_diff(a, b[, fromfile][, tofile][, fromfiledate][, tofiledate][, n][, lineterm… 293 times. Any or all of these may be specified using strings for *fromfile*, 300 >>> for line in unified_diff(s1, s2, fromfile='before.py', tofile='after.py'): 734 usage = "usage: %prog [options] fromfile tofile" 752 parser.error("need to specify both a fromfile and tofile") 755 fromfile, tofile = args # as specified in the usage string 758 fromdate = time.ctime(os.stat(fromfile).st_mtime) [all …]
|
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/ |
D | external_vad.py | 60 self._vad_output = np.fromfile(output_file_path, np.float32)
|
D | annotations.py | 282 self._apm_vad_probs = np.fromfile(output_file_path_probs, np.double) 283 self._apm_vad_rms = np.fromfile(output_file_path_rms, np.double)
|
/external/yapf/yapftests/ |
D | yapf_test_helper.py | 54 fromfile='actual',
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | cmdline.py | 323 exclude=False, single=False, randomize=False, fromfile=None, 349 if ns.single and ns.fromfile:
|
/external/python/cpython2/Lib/test/ |
D | 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) 220 self.assertRaises(IOError, a.fromfile, f, len(self.example)) 233 b.fromfile(f, len(self.example)) 236 b.fromfile(f, len(self.example))
|
/external/fonttools/Lib/fontTools/varLib/ |
D | interpolate_layout.py | 32 designspace = DesignSpaceDocument.fromfile(designspace)
|
/external/libchrome/build/ |
D | landmines.py | 74 fromfile='old_landmines', tofile='new_landmines',
|
/external/tensorflow/tensorflow/tools/tensorflow_builder/config_detector/data/ |
D | cuda_compute_capability.py | 213 fromfile=path_to_file,
|