/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/ |
D | tool.py | 19 outfile = sys.stdout 22 outfile = sys.stdout 25 outfile = open(sys.argv[2], 'wb') 33 with outfile: 34 json.dump(obj, outfile, sort_keys=True, 36 outfile.write('\n')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/ |
D | tool.py | 19 outfile = sys.stdout 22 outfile = sys.stdout 25 outfile = open(sys.argv[2], 'wb') 32 json.dump(obj, outfile, sort_keys=True, indent=4) 33 outfile.write('\n')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/ |
D | uu_codec.py | 30 outfile = StringIO() 32 write = outfile.write 42 return (outfile.getvalue(), len(input)) 65 outfile = StringIO() 67 write = outfile.write 94 return (outfile.getvalue(), len(input))
|
D | rot_13.py | 113 def rot13(infile, outfile): argument 114 outfile.write(infile.read().encode('rot-13'))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/ |
D | uu_codec.py | 30 outfile = StringIO() 32 write = outfile.write 42 return (outfile.getvalue(), len(input)) 65 outfile = StringIO() 67 write = outfile.write 94 return (outfile.getvalue(), len(input))
|
D | rot_13.py | 113 def rot13(infile, outfile): argument 114 outfile.write(infile.read().encode('rot-13'))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
D | minigzip.c | 197 local char outfile[MAX_NAME_LEN]; local 201 strcpy(outfile, file); 202 strcat(outfile, GZ_SUFFIX); 209 out = gzopen(outfile, mode); 211 fprintf(stderr, "%s: can't gzopen %s\n", prog, outfile); 227 char *infile, *outfile; local 236 outfile = buf; 237 outfile[len-3] = '\0'; 239 outfile = file; 248 out = fopen(outfile, "wb");
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/ |
D | msgfmt.py | 99 def make(filename, outfile): argument 108 if outfile is None: 109 outfile = os.path.splitext(infile)[0] + '.mo' 192 open(outfile,"wb").write(output) 205 outfile = None 214 outfile = arg 222 make(filename, outfile)
|
D | pygettext.py | 530 outfile = 'messages.pot' variable in main.Options 551 options.outfile = arg + '.pot' 569 options.outfile = arg 648 if options.outfile == '-': 653 options.outfile = os.path.join(options.outpath, options.outfile) 654 fp = open(options.outfile, 'w')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | trace.py | 83 def usage(outfile): argument 84 outfile.write("""Usage: %s [OPTIONS] <file> [ARGS] 223 callers=None, outfile=None): argument 237 self.outfile = outfile 349 if self.outfile: 353 open(self.outfile, 'wb'), 1) 361 outfile = open(path, "w") 374 outfile.write("%5d: " % lines_hit[lineno]) 378 outfile.write(" ") 384 outfile.write(">>>>>> ") [all …]
|
D | pipes.py | 184 def copy(self, infile, outfile): argument 185 return os.system(self.makepipeline(infile, outfile)) 187 def makepipeline(self, infile, outfile): argument 188 cmd = makepipeline(infile, self.steps, outfile) 195 def makepipeline(infile, steps, outfile): argument 216 if kind[1] == 'f' and not outfile: 218 list[-1][-1] = outfile
|
D | mimify.py | 207 def unmimify(infile, outfile, decode_base64 = 0): argument 211 if type(outfile) == type('') and infile == outfile: 217 if type(outfile) == type(''): 218 ofile = open(outfile, 'w') 220 ofile = outfile 415 def mimify(infile, outfile): argument 419 if type(outfile) == type('') and infile == outfile: 425 if type(outfile) == type(''): 426 ofile = open(outfile, 'w') 428 ofile = outfile
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | h2py.py | 76 outfile = os.path.basename(filename) 77 i = outfile.rfind('.') 78 if i > 0: outfile = outfile[:i] 79 modname = outfile.upper() 80 outfile = modname + '.py' 81 outfp = open(outfile, 'w')
|
D | parseentities.py | 59 outfile = open(sys.argv[2],'w') variable 61 outfile = sys.stdout variable 64 writefile(outfile,defs)
|
D | texi2html.py | 1851 def dumpfiles(self, outfile=sys.stdout): argument 1855 print>>outfile, filename 1857 def dumpnodes(self, outfile=sys.stdout): argument 1863 print>>outfile, '<UL>' 1865 self.dumpnode(node,0,outfile) 1866 print>>outfile, '</UL>' 1868 def dumpnode(self, node, indent=0, outfile=sys.stdout): argument 1880 print>>outfile, ' '*indent, 1881 print>>outfile, '<LI><OBJECT type="text/sitemap">', 1882 print>>outfile, '<param name="Name" value="' + nodename +'">', [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/ |
D | build_scripts.py | 65 outfile = os.path.join(self.build_dir, os.path.basename(script)) 66 outfiles.append(outfile) 68 if not self.force and not newer(script, outfile): 96 outf = open(outfile, "w") 115 self.copy_file(script, outfile)
|
D | build_py.py | 338 outfile = self.get_module_outfile(self.build_lib, package, module) 339 dir = os.path.dirname(outfile) 341 return self.copy_file(module_file, outfile, preserve_mode=0)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/ |
D | test_tool.py | 63 outfile = test_support.TESTFN + '.out' 64 rc, out, err = assert_python_ok('-m', 'json.tool', infile, outfile) 65 self.addCleanup(os.remove, outfile) 66 with open(outfile, "r") as fp:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
D | minigzip.c | 461 local char outfile[MAX_NAME_LEN]; local 465 if (strlen(file) + strlen(GZ_SUFFIX) >= sizeof(outfile)) { 471 snprintf(outfile, sizeof(outfile), "%s%s", file, GZ_SUFFIX); 473 strcpy(outfile, file); 474 strcat(outfile, GZ_SUFFIX); 482 out = gzopen(outfile, mode); 484 fprintf(stderr, "%s: can't gzopen %s\n", prog, outfile); 500 char *infile, *outfile; local 518 outfile = buf; 519 outfile[len-3] = '\0'; [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
D | cmd.py | 354 def copy_file(self, infile, outfile, argument 361 infile, outfile, 367 def copy_tree(self, infile, outfile, argument 374 infile, outfile, 394 def make_file(self, infiles, outfile, func, args, argument 405 skip_msg = "skipping %s (inputs unchanged)" % outfile 416 (outfile, ', '.join(infiles)) 421 if self.force or dep_util.newer_group(infiles, outfile):
|
/device/google/contexthub/firmware/ |
D | symcheck.sh | 24 outfile="$1" 54 cp "$infile" "$outfile"
|
/device/linaro/bootloader/arm-trusted-firmware/tools/fiptool/ |
D | fiptool.c | 744 char outfile[PATH_MAX] = { 0 }; in update_cmd() local 806 snprintf(outfile, sizeof(outfile), "%s", optarg); in update_cmd() 819 if (outfile[0] == '\0') in update_cmd() 820 snprintf(outfile, sizeof(outfile), "%s", argv[0]); in update_cmd() 831 pack_images(outfile, toc_flags, align); in update_cmd() 994 char outfile[PATH_MAX] = { 0 }; in remove_cmd() local 1052 snprintf(outfile, sizeof(outfile), "%s", optarg); in remove_cmd() 1065 if (outfile[0] != '\0' && access(outfile, F_OK) == 0 && !fflag) in remove_cmd() 1067 outfile); in remove_cmd() 1069 if (outfile[0] == '\0') in remove_cmd() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/ssl/ |
D | get-remote-certificate.py | 22 def strip_to_x509_cert(certfile_contents, outfile=None): argument 34 tn2 = (outfile or tempfile.mktemp())
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
D | test_cmd.py | 43 infiles=1, outfile='', func='func', args=()) 50 cmd.make_file(infiles='in', outfile='out', func='func', args=())
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenPatchPcdTable/ |
D | GenPatchPcdTable.py | 205 if options.outfile != None: 206 generatePcdTable(list, options.outfile)
|