/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/ |
D | test_tool.py | 49 infile = test_support.TESTFN 50 with open(infile, "w") as fp: 51 self.addCleanup(os.remove, infile) 53 return infile 56 infile = self._create_infile() 57 rc, out, err = assert_python_ok('-m', 'json.tool', infile) 62 infile = self._create_infile() 64 rc, out, err = assert_python_ok('-m', 'json.tool', infile, outfile)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | pysource.py | 54 infile = _open(fullpath) 55 if infile is None: 58 line = infile.readline() 59 infile.close() 75 infile = _open(fullpath) 76 if infile is None: 79 code = infile.read() 80 infile.close()
|
D | findnocoding.py | 53 infile = open(fullpath, 'rU') 57 line1 = infile.readline() 58 line2 = infile.readline() 62 infile.close() 66 rest = infile.read() 67 infile.close()
|
D | parseentities.py | 55 infile = open(sys.argv[1]) variable 57 infile = sys.stdin variable 62 text = infile.read()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/ |
D | tool.py | 18 infile = sys.stdin 21 infile = open(sys.argv[1], 'rb') 24 infile = open(sys.argv[1], 'rb') 28 with infile: 30 obj = json.load(infile)
|
/device/google/contexthub/firmware/ |
D | symcheck.sh | 22 infile="$1" 29 echo -e "\n\nChecking '$infile' for forbidden symbols\n\n" >&2 44 if ${CROSS_COMPILE}nm -a "$infile" |grep -e "[0-9a-f]\{8\} [Tt] $look_for" >/dev/null 54 cp "$infile" "$outfile"
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | shlex.py | 23 def __init__(self, instream=None, infile=None, posix=False): argument 28 self.infile = infile 31 self.infile = None 69 self.filestack.appendleft((self.infile, self.instream, self.lineno)) 70 self.infile = newfile 75 print 'shlex: pushing to file %s' % (self.infile,) 82 (self.infile, self.instream, self.lineno) = self.filestack.popleft() 253 if isinstance(self.infile, basestring) and not os.path.isabs(newfile): 254 newfile = os.path.join(os.path.dirname(self.infile), newfile) 257 def error_leader(self, infile=None, lineno=None): argument [all …]
|
D | mimify.py | 207 def unmimify(infile, outfile, decode_base64 = 0): argument 209 if type(infile) == type(''): 210 ifile = open(infile) 211 if type(outfile) == type('') and infile == outfile: 213 d, f = os.path.split(infile) 214 os.rename(infile, os.path.join(d, ',' + f)) 216 ifile = infile 415 def mimify(infile, outfile): argument 417 if type(infile) == type(''): 418 ifile = open(infile) [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 211 if kind[0] == 'f' and not infile: 213 list[0][0] = infile
|
D | trace.py | 222 def __init__(self, counts=None, calledfuncs=None, infile=None, argument 236 self.infile = infile 238 if self.infile: 242 pickle.load(open(self.infile, 'rb')) 246 % (self.infile, err)) 452 ignoremods=(), ignoredirs=(), infile=None, outfile=None, argument 471 self.infile = infile 658 return CoverageResults(self.counts, infile=self.infile, 794 results = CoverageResults(infile=counts_file, outfile=counts_file) 803 ignoredirs=ignore_dirs, infile=counts_file,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/ |
D | tool.py | 18 infile = sys.stdin 21 infile = open(sys.argv[1], 'rb') 24 infile = open(sys.argv[1], 'rb') 29 obj = json.load(infile)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/ |
D | msgfmt.py | 105 infile = filename 107 infile = filename + '.po' 109 outfile = os.path.splitext(infile)[0] + '.mo' 112 lines = open(infile).readlines() 147 (infile, lno) 158 (infile, lno) 166 (infile, lno) 180 print >> sys.stderr, 'Syntax error on %s:%d' % (infile, lno), \
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/ |
D | uu_codec.py | 29 infile = StringIO(str(input)) 31 read = infile.read 64 infile = StringIO(str(input)) 66 readline = infile.readline
|
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 | 29 infile = StringIO(str(input)) 31 read = infile.read 64 infile = StringIO(str(input)) 66 readline = infile.readline
|
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 | 227 char *infile, *outfile; local 235 infile = file; 240 infile = buf; 241 strcat(infile, GZ_SUFFIX); 243 in = gzopen(infile, "rb"); 245 fprintf(stderr, "%s: can't gzopen %s\n", prog, infile); 256 unlink(infile);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
D | minigzip.c | 500 char *infile, *outfile; local 517 infile = file; 522 infile = buf; 526 strcat(infile, GZ_SUFFIX); 529 in = gzopen(infile, "rb"); 531 fprintf(stderr, "%s: can't gzopen %s\n", prog, infile); 542 unlink(infile);
|
/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,
|
/device/google/trout/hal/sensors/2.0/ |
D | iio_utils.cpp | 134 std::ifstream infile(file); in sysfs_read_str() local 135 if (!infile.is_open()) return -EINVAL; in sysfs_read_str() 137 if (!std::getline(infile, *str)) in sysfs_read_str()
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/ |
D | UefiShellDebug1CommandsLib.uni | 556 "EFICOMPRESS infile outfile\r\n" 559 " infile - Specifies the file name of the uncompressed input file.\r\n" 578 "EFIDECOMPRESS infile outfile\r\n" 581 " infile - Specifies the file name of the compressed input file.\r\n"
|