/external/python/cpython2/Tools/scripts/ |
D | diff.py | 31 fromfile, tofile = args 33 fromdate = time.ctime(os.stat(fromfile).st_mtime) 35 fromlines = open(fromfile, '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/clang/utils/check_cfc/ |
D | obj_diff.py | 39 def first_diff(a, b, fromfile, tofile): argument 60 fromfile,
|
/external/python/cpython2/Doc/tools/extensions/ |
D | c_annotations.py | 38 def fromfile(cls, filename): member in Annotations 102 refcounts = Annotations.fromfile(
|
/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/pdfium/testing/tools/ |
D | text_diff.py | 21 str1, str2, fromfile=filename1, tofile=filename2)
|
/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 …]
|
D | array.rst | 146 .. method:: array.fromfile(f, n) 164 values (as if it had been read from a file using the :meth:`fromfile` method). 197 Use the :meth:`fromfile` method.
|
/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))
|
D | regrtest.py | 240 exclude=False, single=False, randomize=False, fromfile=None, argument 307 fromfile = a 376 if single and fromfile: 413 if fromfile: 415 fp = open(os.path.join(test_support.SAVEDCWD, fromfile))
|
D | test_pydoc.py | 283 diffs = difflib.unified_diff(lines1, lines2, n=0, fromfile='expected',
|
/external/v8/tools/clang/translation_unit/ |
D | test_translation_unit.py | 83 fromfile=os.path.relpath(expected),
|
/external/curl/lib/ |
D | cookie.c | 951 bool fromfile=TRUE; in Curl_cookie_init() local 971 fromfile=FALSE; in Curl_cookie_init() 1006 if(fromfile) in Curl_cookie_init() 1020 if(fromfile && fp) in Curl_cookie_init()
|
/external/parameter-framework/upstream/test/xml-generator/ |
D | test.py | 82 fromfile="reference.xml",
|
/external/google-breakpad/src/third_party/libdisasm/swig/ |
D | README | 46 >>> buf.fromfile( tgt, size )
|
/external/python/cpython2/Lib/ |
D | difflib.py | 1156 def unified_diff(a, b, fromfile='', tofile='', fromfiledate='', argument 1203 yield '--- {}{}{}'.format(fromfile, fromdate, lineterm) 1240 def context_diff(a, b, fromfile='', tofile='', argument 1290 yield '*** {}{}{}'.format(fromfile, fromdate, lineterm)
|
D | wave.py | 247 data.fromfile(chunk.file.file, nitems)
|
/external/v8/tools/clang/scripts/ |
D | test_tool.py | 163 fromfile=os.path.relpath(expected),
|
/external/v8/gypfiles/ |
D | landmines.py | 142 fromfile='old_landmines', tofile='new_landmines',
|
/external/pcre/dist2/src/ |
D | pcre2grep.c | 2772 compile_pattern(patstr *p, int options, int popts, int fromfile, in compile_pattern() argument 2822 if (fromfile) in compile_pattern()
|
/external/python/cpython2/Misc/ |
D | NEWS | 3988 - Issue #15324: Fix regrtest parsing of --fromfile and --randomize options. 5829 - Issue #5395: array.fromfile() would raise a spurious EOFError when an
|
D | HISTORY | 10549 Carefully check for overflow when allocating the memory for fromfile 15895 methods are renamed to fromfile() and tofile().
|