Home
last modified time | relevance | path

Searched refs:infile (Results 1 – 21 of 21) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/
Dtest_tool.py49 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/
Dpysource.py54 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()
Dfindnocoding.py53 infile = open(fullpath, 'rU')
57 line1 = infile.readline()
58 line2 = infile.readline()
62 infile.close()
66 rest = infile.read()
67 infile.close()
Dparseentities.py55 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/
Dtool.py18 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/
Dsymcheck.sh22 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/
Dshlex.py23 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 …]
Dmimify.py207 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 …]
Dpipes.py184 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
Dtrace.py222 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/
Dtool.py18 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/
Dmsgfmt.py105 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/
Duu_codec.py29 infile = StringIO(str(input))
31 read = infile.read
64 infile = StringIO(str(input))
66 readline = infile.readline
Drot_13.py113 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/
Duu_codec.py29 infile = StringIO(str(input))
31 read = infile.read
64 infile = StringIO(str(input))
66 readline = infile.readline
Drot_13.py113 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/
Dminigzip.c227 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/
Dminigzip.c500 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/
Dcmd.py354 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/
Diio_utils.cpp134 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/
DUefiShellDebug1CommandsLib.uni556 "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"