/external/python/cpython3/Tools/scripts/ |
D | diff.py | 39 tofile = options.tofile 42 todate = file_mtime(tofile) 45 with open(tofile) as tf: 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 34 todate = time.ctime(os.stat(tofile).st_mtime) 37 with open(tofile, '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 | 148 def expect_ttx(self, expected_ttx, actual_ttx, fromfile=None, tofile=None): argument 154 expected, actual, fromfile=fromfile, tofile=tofile): 200 self.expect_ttx(xml_binary, xml_built, fromfile='decompiled', tofile='built') 201 self.expect_ttx(xml_expected, xml_built, fromfile=xml_expected_path, tofile='built') 219 self.expect_ttx(xml_expected, xml_fromxml, fromfile=xml_expected_path, tofile='fromxml')
|
/external/lua/src/ |
D | liolib.c | 174 static FILE *tofile (lua_State *L) { in tofile() function 210 tofile(L); /* make sure argument is an open stream */ in f_close() 309 tofile(L); /* check that it's a valid file handle */ in g_iofile() 350 tofile(L); /* check that it's a valid file handle */ in f_lines() 362 tofile(L); /* check that it's a valid file handle */ in io_lines() 585 return g_read(L, tofile(L), 2); in f_read() 650 FILE *f = tofile(L); in f_write() 659 FILE *f = tofile(L); in f_seek() 678 FILE *f = tofile(L); in f_setvbuf() 693 return luaL_fileresult(L, fflush(tofile(L)) == 0, NULL); in f_flush()
|
/external/clang/utils/check_cfc/ |
D | obj_diff.py | 39 def first_diff(a, b, fromfile, tofile): argument 61 tofile)
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | RBNFWriter.java | 57 String tofile = options[TOFILE].value; in main() local 71 System.out.println(tofile); in main() 73 … PrintWriter out = FileUtilities.openUTF8Writer(options[DESTDIR].value + File.separator, tofile); in main()
|
/external/python/cpython3/Lib/ |
D | difflib.py | 1136 def unified_diff(a, b, fromfile='', tofile='', fromfiledate='', argument 1177 _check_types(a, b, fromfile, tofile, fromfiledate, tofiledate, lineterm) 1185 yield '+++ {}{}{}'.format(tofile, todate, lineterm) 1221 def context_diff(a, b, fromfile='', tofile='', argument 1265 _check_types(a, b, fromfile, tofile, fromfiledate, tofiledate, lineterm) 1274 yield '--- {}{}{}'.format(tofile, todate, lineterm) 1314 def diff_bytes(dfunc, a, b, fromfile=b'', tofile=b'', argument 1335 tofile = decode(tofile) 1340 lines = dfunc(a, b, fromfile, tofile, fromfiledate, tofiledate, n, lineterm)
|
/external/python/cpython2/Lib/plat-mac/ |
D | applesingle.py | 86 def tofile(self, path, resonly=False): member in AppleSingle 132 asfile.tofile(outpath, resonly=resonly)
|
/external/python/cpython2/Doc/library/ |
D | difflib.rst | 139 .. function:: context_diff(a, b[, fromfile][, tofile][, fromfiledate][, tofiledate][, n][, lineterm… 159 *tofile*, *fromfiledate*, and *tofiledate*. The modification times are normally 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… 294 *tofile*, *fromfiledate*, and *tofiledate*. The modification times are normally 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 759 todate = time.ctime(os.stat(tofile).st_mtime) [all …]
|
D | array.rst | 216 .. method:: array.tofile(f) 230 the :meth:`tofile` method.) 243 Use the :meth:`tofile` method.
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/tests/Inputs/shtest-shell/ |
D | diff-error-2.txt | 1 # Check error on an internal shell error (missing tofile)
|
/external/libaom/libaom/tools/ |
D | aggregate_entropy_stats.py | 36 sum.tofile(dir+sys.argv[3])
|
/external/pdfium/testing/tools/ |
D | text_diff.py | 21 str1, str2, fromfile=filename1, tofile=filename2)
|
/external/expat/tests/ |
D | udiffer.py | 55 tofile=config.second))
|
/external/compiler-rt/lib/sanitizer_common/scripts/ |
D | sancov.py | 100 array.array('I', MagicForBits(bits)).tofile(sys.stdout) 176 array.array('I', MagicForBits(bits)).tofile(f2)
|
/external/yapf/yapftests/ |
D | yapf_test_helper.py | 55 tofile='expected',
|
/external/v8/tools/clang/translation_unit/ |
D | test_translation_unit.py | 86 tofile=os.path.relpath(actual)):
|
/external/perfetto/tools/ |
D | diff_test_trace_processor.py | 108 fromfile="expected", tofile="actual")
|
/external/python/cpython3/Doc/library/ |
D | difflib.rst | 147 .. function:: context_diff(a, b, fromfile='', tofile='', fromfiledate='', tofiledate='', n=3, linet… 167 *tofile*, *fromfiledate*, and *tofiledate*. The modification times are normally 173 >>> sys.stdout.writelines(context_diff(s1, s2, fromfile='before.py', tofile='after.py')) 277 .. function:: unified_diff(a, b, fromfile='', tofile='', fromfiledate='', tofiledate='', n=3, linet… 298 *tofile*, *fromfiledate*, and *tofiledate*. The modification times are normally 305 >>> sys.stdout.writelines(unified_diff(s1, s2, fromfile='before.py', tofile='after.py')) 319 .. function:: diff_bytes(dfunc, a, b, fromfile=b'', tofile=b'', fromfiledate=b'', tofiledate=b'', n… 329 fromfile, tofile, fromfiledate, tofiledate, n, lineterm)``. The output of
|
/external/parameter-framework/upstream/test/xml-generator/ |
D | test.py | 83 tofile="-",
|
/external/python/cpython2/Lib/ |
D | difflib.py | 1156 def unified_diff(a, b, fromfile='', tofile='', fromfiledate='', argument 1204 yield '+++ {}{}{}'.format(tofile, todate, lineterm) 1240 def context_diff(a, b, fromfile='', tofile='', argument 1291 yield '--- {}{}{}'.format(tofile, todate, lineterm)
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | origin_info.py | 149 tofile='Reparsed nodes',
|
/external/fonttools/Tests/feaLib/ |
D | builder_test.py | 124 expected, actual, fromfile=expected_ttx, tofile=path): 156 tofile=fname + " (actual)"):
|
/external/catch2/scripts/ |
D | approvalTests.py | 90 …diff = difflib.unified_diff(aLines, bLines, fromfile=shortenedFilenameA, tofile=shortenedFilenameB…
|
/external/v8/gypfiles/ |
D | landmines.py | 142 fromfile='old_landmines', tofile='new_landmines',
|