/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 | 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/oss-fuzz/projects/pffft/ |
D | generate_seed_corpus.py | 46 z.tofile(os.path.join(output_path, 'zeros_%d' % n)) 49 m.tofile(os.path.join(output_path, 'max_%d' % n)) 53 rnd_s16.tofile(os.path.join(output_path, 'rnd_s16_%d' % n))
|
/external/lua/src/ |
D | liolib.c | 181 static FILE *tofile (lua_State *L) { in tofile() function 217 tofile(L); /* make sure argument is an open stream */ in f_close() 318 tofile(L); /* check that it's a valid file handle */ in g_iofile() 369 tofile(L); /* check that it's a valid file handle */ in f_lines() 386 tofile(L); /* check that it's a valid file handle */ in io_lines() 616 return g_read(L, tofile(L), 2); in f_read() 684 FILE *f = tofile(L); in f_write() 693 FILE *f = tofile(L); in f_seek() 712 FILE *f = tofile(L); in f_setvbuf() 727 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/llvm-project/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 | 1135 def unified_diff(a, b, fromfile='', tofile='', fromfiledate='', argument 1176 _check_types(a, b, fromfile, tofile, fromfiledate, tofiledate, lineterm) 1184 yield '+++ {}{}{}'.format(tofile, todate, lineterm) 1220 def context_diff(a, b, fromfile='', tofile='', argument 1264 _check_types(a, b, fromfile, tofile, fromfiledate, tofiledate, lineterm) 1273 yield '--- {}{}{}'.format(tofile, todate, lineterm) 1313 def diff_bytes(dfunc, a, b, fromfile=b'', tofile=b'', argument 1334 tofile = decode(tofile) 1339 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/llvm-project/llvm/utils/lit/tests/Inputs/shtest-shell/ |
D | diff-error-2.txt | 1 # Check error on an internal shell error (missing tofile)
|
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/ |
D | fake_external_vad.py | 20 array.tofile(open(args.o, 'w'))
|
/external/libaom/libaom/tools/ |
D | aggregate_entropy_stats.py | 36 sum.tofile(dir+sys.argv[3])
|
/external/pdfium/testing/tools/ |
D | text_diff.py | 22 str1, str2, fromfile=filename1, tofile=filename2)
|
/external/expat/tests/ |
D | udiffer.py | 55 tofile=config.second))
|
/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/yapf/yapftests/ |
D | yapf_test_helper.py | 55 tofile='expected',
|
/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/llvm-project/compiler-rt/lib/sanitizer_common/scripts/ |
D | sancov.py | 105 array.array('I', MagicForBits(bits)).tofile(stdout_buf) 180 array.array('I', MagicForBits(bits)).tofile(f2)
|
/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 | 214 tofile=CUDA_CC_GOLDEN_DIR
|
/external/parameter-framework/upstream/test/xml-generator/ |
D | test.py | 83 tofile="-",
|
/external/python/cpython3/Doc/library/ |
D | difflib.rst | 152 .. function:: context_diff(a, b, fromfile='', tofile='', fromfiledate='', tofiledate='', n=3, linet… 172 *tofile*, *fromfiledate*, and *tofiledate*. The modification times are normally 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… 303 *tofile*, *fromfiledate*, and *tofiledate*. The modification times are normally 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
|
/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)
|