Home
last modified time | relevance | path

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

12345678

/external/libjpeg-turbo/
Drdcolmap.c80 read_gif_map (j_decompress_ptr cinfo, FILE *infile) in read_gif_map() argument
89 if ((header[i] = getc(infile)) == EOF) in read_gif_map()
105 R = getc(infile); in read_gif_map()
106 G = getc(infile); in read_gif_map()
107 B = getc(infile); in read_gif_map()
122 pbm_getc (FILE *infile) in pbm_getc() argument
128 ch = getc(infile); in pbm_getc()
131 ch = getc(infile); in pbm_getc()
139 read_pbm_integer (j_decompress_ptr cinfo, FILE *infile) in read_pbm_integer() argument
150 ch = pbm_getc(infile); in read_pbm_integer()
[all …]
/external/vboot_reference/futility/
Dcmd_vbutil_key.c70 static int Pack(const char *infile, const char *outfile, uint64_t algorithm, in Pack() argument
76 if (!infile || !outfile) { in Pack()
81 pubkey = PublicKeyReadKeyb(infile, algorithm, version); in Pack()
91 privkey = PrivateKeyReadPem(infile, algorithm); in Pack()
101 VbExError("Unable to parse either .keyb or .pem from %s\n", infile); in Pack()
106 static int Unpack(const char *infile, const char *outfile) in Unpack() argument
111 if (!infile) { in Unpack()
116 pubkey = PublicKeyRead(infile); in Unpack()
118 printf("Public Key file: %s\n", infile); in Unpack()
138 privkey = PrivateKeyRead(infile); in Unpack()
[all …]
Dcmd_dump_kernel_config.c34 char *infile = NULL; in do_dump_kernel_config() local
68 infile = argv[optind]; in do_dump_kernel_config()
75 if (!infile || !*infile) { in do_dump_kernel_config()
80 config = FindKernelConfig(infile, kernel_body_load_address); in do_dump_kernel_config()
/external/python/cpython2/Lib/plat-mac/
Dapplesingle.py107 def decode(infile, outpath, resonly=False, verbose=False): argument
119 if not hasattr(infile, 'read'):
120 if isinstance(infile, Carbon.File.Alias):
121 infile = infile.ResolveAlias()[0]
124 if isinstance(infile, (Carbon.File.FSSpec, Carbon.File.FSRef)):
125 infile = infile.as_pathname()
127 if isinstance(infile, Carbon.File.FSRef):
128 infile = infile.as_pathname()
129 infile = open(infile, 'rb')
131 asfile = AppleSingle(infile, verbose=verbose)
/external/elfutils/tests/
Drun-strip-reloc.sh28 infile=$1
35 testrun ${abs_top_builddir}/src/strip -o $outfile1 -f $debugfile1 $infile ||
36 { echo "*** failure strip $infile"; status=1; }
39 -f $debugfile2 $infile ||
40 { echo "*** failure strip --reloc-debug-sections $infile"; status=1; }
44 { echo "*** failure readelf -a outfile1 $infile"; status=1; }
47 { echo "*** failure compare stripped files $infile"; status=1; }
54 { echo "*** failure --reloc-debug-sections not smaller $infile"; status=1; }
60 { echo "*** failure readelf -w debugfile1 $infile"; status=1; }
64 { echo "*** failure readelf -w debugfile2 $infile"; status=1; }
[all …]
Drun-strip-groups.sh45 infile=testfile58
46 outfile=$infile.stripped
47 dbgfile=$infile.debug
49 testfiles $infile
52 testrun ${abs_top_builddir}/src/strip -o $outfile -f $dbgfile $infile
53 testrun ${abs_top_builddir}/src/elflint -q $infile
Drun-compress-test.sh23 infile="$1"
24 uncompressedfile="${infile}.uncompressed"
27 echo "uncompress $infile -> $uncompressedfile"
28 testrun ${abs_top_builddir}/src/elfcompress -v -t none -o ${uncompressedfile} ${infile}
33 gnucompressedfile="${infile}.gnu"
43 gnuuncompressedfile="${infile}.gnu.uncompressed"
49 elfcompressedfile="${infile}.gabi"
59 elfuncompressedfile="${infile}.gabi.uncompressed"
/external/bzip2/
Dformat.pl24 my $infile = shift;
26 die "Can't find file \"$infile\""
27 unless -f $infile;
29 if (! -r $infile) {
30 die "Can't read input $infile\n";
33 open( INFILE,"<$infile" ) or
34 die "Can't input $infile $!";
/external/python/cpython2/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)
/external/ImageMagick/PerlMagick/t/
Dsubroutines.pl170 my( $infile, $ref_8, $ref_16, $ref_32 ) = @_;
206 print( " testing reading from file \"", $infile, "\" ...\n");
209 $status=$image->ReadImage("$infile");
211 print "ReadImage $infile: $status\n";
215 print "ReadImage $infile: $status\n";
223 print "Image: $infile, signatures do not match.\n";
237 if (!($infile =~ /\.bz2$/) && !($infile =~ /\.gz$/) && !($infile =~ /\.Z$/))
241 if( open( FILE, "< $infile"))
252 print "BlobToImage $infile: $status\n";
256 print "ReadImage $infile: $status\n";
[all …]
/external/python/cpython2/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.py54 infile = open(fullpath, 'rU')
58 line1 = infile.readline()
59 line2 = infile.readline()
64 infile.close()
68 rest = infile.read()
69 infile.close()
/external/xmlrpcpp/test/
DTestBase64Server.cpp29 std::ifstream infile("pngnow.png", std::ios::binary); in execute() local
30 if (infile.fail()) in execute()
31 infile.open("../pngnow.png", std::ios::binary); in execute()
32 if (infile.fail()) in execute()
39 char c = infile.get(); in execute()
40 if (infile.eof()) break; in execute()
DFileClient.cpp28 std::ifstream infile(argv[3]); in main() local
29 if (infile.fail()) { in main()
35 infile.seekg(0L, std::ios::end); in main()
36 long nb = infile.tellg(); in main()
37 infile.clear(); in main()
38 infile.seekg(0L); in main()
40 infile.read(b, nb); in main()
/external/python/cpython2/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 …]
/external/brotli/python/
Dbro.py129 if options.infile:
130 if not os.path.isfile(options.infile):
131 parser.error('file "%s" not found' % options.infile)
132 with open(options.infile, 'rb') as infile:
133 data = infile.read()
138 infile = get_binary_stdio('stdin')
139 data = infile.read()
169 'bro: error: %s: %s' % (e, options.infile or 'sys.stdin'))
/external/ltp/testcases/kernel/io/direct_io/
Ddiotest1.c55 static char infile[LEN]; /* Input file. Default "infile" */ variable
87 strcpy(infile, "infile"); /* Default input file */ in main()
109 strcpy(infile, optarg); in main()
122 int fd = open(infile, O_DIRECT | O_RDWR | O_CREAT, 0666); in main()
129 fd1 = SAFE_OPEN(cleanup, infile, O_DIRECT | O_RDWR | O_CREAT, 0666); in main()
157 if (filecmp(infile, outfile) != 0) { in main()
159 infile, outfile); in main()
/external/python/cpython2/Doc/library/
Dmimify.rst32 .. function:: mimify(infile, outfile)
34 Copy the message in *infile* to *outfile*, converting parts to quoted-printable
35 and adding MIME mail headers when necessary. *infile* and *outfile* can be file
36 objects (actually, any object that has a :meth:`readline` method (for *infile*)
38 *infile* and *outfile* are both strings, they may have the same value.
41 .. function:: unmimify(infile, outfile[, decode_base64])
43 Copy the message in *infile* to *outfile*, decoding all quoted-printable parts.
44 *infile* and *outfile* can be file objects (actually, any object that has a
45 :meth:`readline` method (for *infile*) or a :meth:`write` method (for
46 *outfile*)) or strings naming the files. If *infile* and *outfile* are both
[all …]
/external/python/cpython2/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)
/external/selinux/libselinux/src/
Dmatchmediacon.c17 FILE *infile; in matchmediacon() local
21 if ((infile = fopen(path, "re")) == NULL) in matchmediacon()
23 while (!feof_unlocked(infile)) { in matchmediacon()
24 if (!fgets_unlocked(current_line, sizeof(current_line), infile)) { in matchmediacon()
50 fclose(infile); in matchmediacon()
/external/ImageMagick/scripts/
Dformat_c_api_docs237 my($infile, $outfile) = @_;
239 open( IN, "<$infile" ) || die("Failed to open \"$infile\" for read\n" );
329 my($infile, $tmpfile) = @_;
335 open( IN, "<$infile" ) || die("Failed to open \"$infile\" for read\n" );
471 my($infile, $outfile) = @_;
478 open( IN, "<$infile" ) || die("Failed to open \"$infile\" for read\n" );
/external/syslinux/gpxe/src/include/gpxe/efi/
Dimport.pl21 my $infile = catfile ( $edkdir, $filename );
22 if ( -e $infile ) {
24 print "$infile\n";
25 open my $infh, "<$infile" or die "Could not open $infile: $!\n";
/external/syslinux/lzo/
Dprepcore.c175 lzo_bytep infile; in main() local
235 infile = xzalloc(infile_len); in main()
237 infile_len = fread(infile, 1, infile_len, f); in main()
243 prefix = (struct prefix *)infile; in main()
246 in = infile + offset; in main()
325 set_32((uint32_t *) (infile + soff), out_len); in main()
335 csum += get_32((uint32_t *) (infile + ptr)); in main()
339 set_32((uint32_t *) (infile + soff), offset - start + outfile_len); in main()
340 set_32((uint32_t *) (infile + soff + 4), csum); in main()
354 if (fwrite(infile + start, 1, offset - start, f) != offset - start || in main()
[all …]
/external/libvpx/libvpx/examples/
Dtwopass_encoder.c123 static vpx_fixed_buf_t pass0(vpx_image_t *raw, FILE *infile, in pass0() argument
134 while (vpx_img_read(raw, infile)) { in pass0()
152 static void pass1(vpx_image_t *raw, FILE *infile, const char *outfile_name, in pass1() argument
170 while (vpx_img_read(raw, infile)) { in pass1()
191 FILE *infile = NULL; in main() local
238 if (!(infile = fopen(infile_arg, "rb"))) in main()
243 stats = pass0(&raw, infile, encoder, &cfg, max_frames); in main()
246 rewind(infile); in main()
249 pass1(&raw, infile, outfile_arg, encoder, &cfg, max_frames); in main()
253 fclose(infile); in main()
/external/python/cpython2/Tools/i18n/
Dmsgfmt.py106 infile = filename
108 infile = filename + '.po'
110 outfile = os.path.splitext(infile)[0] + '.mo'
113 lines = open(infile).readlines()
148 (infile, lno)
159 (infile, lno)
167 (infile, lno)
180 print >> sys.stderr, 'Syntax error on %s:%d' % (infile, lno), \

12345678