Home
last modified time | relevance | path

Searched refs:tofile (Results 1 – 25 of 43) sorted by relevance

12

/external/python/cpython3/Tools/scripts/
Ddiff.py39 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/
Ddiff.py31 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/
Dmti_test.py148 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/
Dliolib.c174 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/
Dobj_diff.py39 def first_diff(a, b, fromfile, tofile): argument
61 tofile)
/external/cldr/tools/java/org/unicode/cldr/icu/
DRBNFWriter.java57 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/
Ddifflib.py1136 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/
Dapplesingle.py86 def tofile(self, path, resonly=False): member in AppleSingle
132 asfile.tofile(outpath, resonly=resonly)
/external/python/cpython2/Doc/library/
Ddifflib.rst139 .. 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 …]
Darray.rst216 .. 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/
Ddiff-error-2.txt1 # Check error on an internal shell error (missing tofile)
/external/libaom/libaom/tools/
Daggregate_entropy_stats.py36 sum.tofile(dir+sys.argv[3])
/external/pdfium/testing/tools/
Dtext_diff.py21 str1, str2, fromfile=filename1, tofile=filename2)
/external/expat/tests/
Dudiffer.py55 tofile=config.second))
/external/compiler-rt/lib/sanitizer_common/scripts/
Dsancov.py100 array.array('I', MagicForBits(bits)).tofile(sys.stdout)
176 array.array('I', MagicForBits(bits)).tofile(f2)
/external/yapf/yapftests/
Dyapf_test_helper.py55 tofile='expected',
/external/v8/tools/clang/translation_unit/
Dtest_translation_unit.py86 tofile=os.path.relpath(actual)):
/external/perfetto/tools/
Ddiff_test_trace_processor.py108 fromfile="expected", tofile="actual")
/external/python/cpython3/Doc/library/
Ddifflib.rst147 .. 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/
Dtest.py83 tofile="-",
/external/python/cpython2/Lib/
Ddifflib.py1156 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/
Dorigin_info.py149 tofile='Reparsed nodes',
/external/fonttools/Tests/feaLib/
Dbuilder_test.py124 expected, actual, fromfile=expected_ttx, tofile=path):
156 tofile=fname + " (actual)"):
/external/catch2/scripts/
DapprovalTests.py90 …diff = difflib.unified_diff(aLines, bLines, fromfile=shortenedFilenameA, tofile=shortenedFilenameB…
/external/v8/gypfiles/
Dlandmines.py142 fromfile='old_landmines', tofile='new_landmines',

12