/external/python/cpython3/Tools/scripts/ |
diff.py | 34 parser.add_argument('tofile') 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)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
diff.py | 14 usage = "usage: %prog [options] fromfile tofile"
27 parser.error("need to specify both a fromfile and tofile")
30 fromfile, tofile = args
33 todate = time.ctime(os.stat(tofile).st_mtime)
35 tolines = open(tofile, 'U').readlines()
38 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
42 diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n)
44 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
|
/external/python/cpython2/Tools/scripts/ |
diff.py | 15 usage = "usage: %prog [options] fromfile tofile" 28 parser.error("need to specify both a fromfile and tofile") 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/expat/tests/ |
udiffer.py | 55 tofile=config.second))
|
/external/pdfium/testing/tools/ |
text_diff.py | 21 str1, str2, fromfile=filename1, tofile=filename2)
|
/external/clang/utils/check_cfc/ |
obj_diff.py | 39 def first_diff(a, b, fromfile, tofile): 61 tofile)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
liolib.c | 154 static FILE *tofile (lua_State *L) {
function 187 tofile(L); /* make sure argument is an open stream */
279 tofile(L); /* check that it's a valid file handle */
317 tofile(L); /* check that it's a valid file handle */
329 tofile(L); /* check that it's a valid file handle */
480 return g_read(L, tofile(L), 2);
540 FILE *f = tofile(L);
549 FILE *f = tofile(L);
568 FILE *f = tofile(L);
583 return luaL_fileresult(L, fflush(tofile(L)) == 0, NULL); [all...] |
/external/syslinux/com32/lua/src/ |
liolib.c | 154 static FILE *tofile (lua_State *L) { function 187 tofile(L); /* make sure argument is an open stream */ 281 tofile(L); /* check that it's a valid file handle */ 319 tofile(L); /* check that it's a valid file handle */ 331 tofile(L); /* check that it's a valid file handle */ 494 return g_read(L, tofile(L), 2); 554 FILE *f = tofile(L); 564 FILE *f = tofile(L); 583 FILE *f = tofile(L); 599 return luaL_fileresult(L, fflush(tofile(L)) == 0, NULL) [all...] |
/external/python/cpython2/Lib/plat-mac/ |
applesingle.py | 86 def tofile(self, path, resonly=False): member in class:AppleSingle 132 asfile.tofile(outpath, resonly=resonly)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
applesingle.py | 86 def tofile(self, path, resonly=False): member in class:AppleSingle 132 asfile.tofile(outpath, resonly=resonly)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
applesingle.py | 86 def tofile(self, path, resonly=False): member in class:AppleSingle 132 asfile.tofile(outpath, resonly=resonly)
|
/external/v8/tools/clang/translation_unit/ |
test_translation_unit.py | 84 tofile=os.path.relpath(actual)):
|
/external/python/cpython3/Lib/ |
difflib.py | [all...] |
/frameworks/support/samples/SupportLeanbackDemos/ |
generatev4.py | 21 def write_java_head(tofile, name): 22 tofile.write("// CHECKSTYLE:OFF Generated code\n") 23 tofile.write("/* This file is auto-generated from {}.java. DO NOT MODIFY. */\n\n".format(name))
|
/external/parameter-framework/upstream/test/xml-generator/ |
test.py | 83 tofile="-",
|
/external/compiler-rt/lib/sanitizer_common/scripts/ |
sancov.py | 100 array.array('I', MagicForBits(bits)).tofile(sys.stdout) 176 array.array('I', MagicForBits(bits)).tofile(f2)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/ |
PatchPcdValue.py | 201 ByteArray.tofile(FileHandle)
|
/external/v8/gypfiles/ |
landmines.py | 142 fromfile='old_landmines', tofile='new_landmines',
|
/external/v8/tools/clang/scripts/ |
test_tool.py | 164 tofile=os.path.relpath(actual)):
|
/development/vndk/tools/vtable-dumper/tests/ |
test_vndk_vtable_dumper.py | 191 tofile='actual'):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
difflib.py | [all...] |
/external/python/cpython2/Lib/ |
difflib.py | [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
difflib.py | [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
difflib.py | [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
difflib.py | [all...] |