/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) 36 tolines = open(tofile, 'U').readlines() 39 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n) 43 …diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n) 45 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
|
/external/syslinux/com32/lua/src/ |
D | liolib.c | 154 static FILE *tofile (lua_State *L) { in tofile() function 187 tofile(L); /* make sure argument is an open stream */ in io_close() 281 tofile(L); /* check that it's a valid file handle */ in g_iofile() 319 tofile(L); /* check that it's a valid file handle */ in f_lines() 331 tofile(L); /* check that it's a valid file handle */ in io_lines() 494 return g_read(L, tofile(L), 2); in f_read() 554 FILE *f = tofile(L); in f_write() 564 FILE *f = tofile(L); in f_seek() 583 FILE *f = tofile(L); in f_setvbuf() 599 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/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/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/v8/tools/clang/translation_unit/ |
D | test_translation_unit.py | 84 tofile=os.path.relpath(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
|
D | array.rst | 224 the :meth:`tofile` method.) 230 .. method:: array.tofile(f)
|
/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)
|
D | wave.py | 433 data.tofile(self._file)
|
/external/v8/tools/clang/scripts/ |
D | test_tool.py | 164 tofile=os.path.relpath(actual)):
|
/external/v8/gypfiles/ |
D | landmines.py | 142 fromfile='old_landmines', tofile='new_landmines',
|
/external/autotest/client/cros/multimedia/ |
D | display_facade_native.py | 378 data.tofile(output_path)
|
/external/python/cpython2/Lib/test/ |
D | test_array.py | 187 self.assertRaises(TypeError, a.tofile) 188 self.assertRaises(TypeError, a.tofile, cStringIO.StringIO()) 192 a.tofile(f)
|
D | test_pydoc.py | 284 tofile='got')
|
/external/hamcrest/ |
D | build.xml.original | 34 …<copy file="build/hamcrest-generator-${version}.jar" tofile="build/hamcrest-generator-${version}-n…
|
/external/python/cpython3/Lib/test/ |
D | test_array.py | 378 self.assertRaises(TypeError, a.tofile) 382 a.tofile(f)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.0.rst | 638 :meth:`tofile` instead. Also, the ``'c'`` typecode for array is
|