Searched refs:infile (Results 1 - 25 of 71) sorted by relevance

123

/external/jpeg/
H A Drdcolmap.c79 read_gif_map (j_decompress_ptr cinfo, FILE * infile) argument
88 if ((header[i] = getc(infile)) == EOF)
104 R = getc(infile);
105 G = getc(infile);
106 B = getc(infile);
121 pbm_getc (FILE * infile) argument
127 ch = getc(infile);
130 ch = getc(infile);
138 read_pbm_integer (j_decompress_ptr cinfo, FILE * infile) argument
149 ch = pbm_getc(infile);
171 read_ppm_map(j_decompress_ptr cinfo, FILE * infile) argument
231 read_color_map(j_decompress_ptr cinfo, FILE * infile) argument
[all...]
H A Dexample.c296 FILE * infile; /* source file */ local
306 if ((infile = fopen(filename, "rb")) == NULL) {
322 fclose(infile);
330 jpeg_stdio_src(&cinfo, infile);
399 fclose(infile);
H A Djdatasrc.c28 FILE * infile; /* source stream */ member in struct:__anon1907
95 nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE);
182 jpeg_stdio_src (j_decompress_ptr cinfo, FILE * infile) argument
209 src->infile = infile;
H A Drdppm.c84 pbm_getc (FILE * infile) argument
90 ch = getc(infile);
93 ch = getc(infile);
101 read_pbm_integer (j_compress_ptr cinfo, FILE * infile) argument
112 ch = pbm_getc(infile);
121 while ((ch = pbm_getc(infile)) >= '0' && ch <= '9') {
145 FILE * infile = source->pub.input_file; local
152 *ptr++ = rescale[read_pbm_integer(cinfo, infile)];
163 FILE * infile = source->pub.input_file; local
170 *ptr++ = rescale[read_pbm_integer(cinfo, infile)];
[all...]
/external/dropbear/
H A Ddropbearconvert.c33 static int do_convert(int intype, const char* infile, int outtype,
62 const char* infile; local
99 infile = argv[3];
102 return do_convert(intype, infile, outtype, outfile);
110 static int do_convert(int intype, const char* infile, int outtype, argument
117 key = import_read(infile, NULL, intype);
120 infile);
/external/bzip2/
H A Dformat.pl24 my $infile = shift;
25 # check infile exists
26 die "Can't find file \"$infile\""
27 unless -f $infile;
28 # check we can read infile
29 if (! -r $infile) {
30 die "Can't read input $infile\n";
32 # check we can open infile
33 open( INFILE,"<$infile" ) or
34 die "Can't input $infile
[all...]
/external/bluetooth/glib/tests/
H A Dunicode-caseconv.c12 FILE *infile; local
28 infile = fopen (filename, "r");
29 if (!infile)
35 while (fgets (buffer, sizeof(buffer), infile))
93 fclose (infile);
98 infile = fopen (filename, "r");
99 if (!infile)
106 while (fgets (buffer, sizeof(buffer), infile))
128 fclose (infile);
/external/libpng/contrib/gregbook/
H A Dreadppm.c81 int readpng_init(FILE *infile, ulg *pWidth, ulg *pHeight) argument
87 saved_infile = infile;
89 fgets(ppmline, 256, infile);
107 fgets(ppmline, 256, infile);
112 fgets(ppmline, 256, infile);
H A Dreadpng.h81 int readpng_init(FILE *infile, ulg *pWidth, ulg *pHeight);
H A Dwpng.c177 wpng_info.infile = NULL;
311 if ((wpng_info.infile = fdopen(fileno(stdin), "rb")) == NULL) {
319 fclose(wpng_info.infile);
328 } else if (!(wpng_info.infile = fopen(inname, "rb"))) {
334 fgets(pnmline, 256, wpng_info.infile);
347 fgets(pnmline, 256, wpng_info.infile); /* lose any comments */
351 fgets(pnmline, 256, wpng_info.infile); /* more comment lines */
389 fclose(wpng_info.infile);
390 wpng_info.infile = NULL;
717 bytes = fread(wpng_info.image_data, 1, image_bytes, wpng_info.infile);
[all...]
/external/openssl/apps/
H A Dnseq.c72 char **args, *infile = NULL, *outfile = NULL; local
87 infile = *args;
108 if (infile) {
109 if (!(in = BIO_new_file (infile, "r"))) {
111 "Can't open input file %s\n", infile);
139 BIO_printf (bio_err, "Error reading certs file %s\n", infile);
149 BIO_printf (bio_err, "Error reading sequence file %s\n", infile);
H A DCA.pl175 my ($infile, $outfile, $bound) = @_;
176 open IN, $infile;
H A Dsess_id.c96 char *infile=NULL,*outfile=NULL,*context=NULL; local
127 infile= *(++argv);
164 x=load_sess_id(infile,informat);
279 static SSL_SESSION *load_sess_id(char *infile, int format) argument
291 if (infile == NULL)
295 if (BIO_read_filename(in,infile) <= 0)
297 perror(infile);
H A Dcrl2p7.c92 char *infile,*outfile,*prog,*certfile; local
107 infile=NULL;
130 infile= *(++argv);
160 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog);
185 if (infile == NULL)
189 if (BIO_read_filename(in,infile) <= 0)
191 perror(infile);
H A Ddh.c98 char *infile,*outfile,*prog; local
115 infile=NULL;
138 infile= *(++argv);
173 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog);
203 if (infile == NULL)
207 if (BIO_read_filename(in,infile) <= 0)
209 perror(infile);
H A Dec.c99 char *infile, *outfile, *prog, *engine; local
117 infile = NULL;
140 infile= *(++argv);
213 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog);
274 if (infile == NULL)
278 if (BIO_read_filename(in, infile) <= 0)
280 perror(infile);
H A Dpkcs7.c92 char *infile,*outfile,*prog; local
108 infile=NULL;
131 infile= *(++argv);
164 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog);
194 if (infile == NULL)
198 if (BIO_read_filename(in,infile) <= 0)
201 perror(infile);
H A Dpkcs8.c73 char **args, *infile = NULL, *outfile = NULL; local
189 infile = *args;
244 if (infile)
246 if (!(in = BIO_new_file(infile, "rb")))
249 "Can't open input file %s\n", infile);
278 pkey = load_key(bio_err, infile, informat, 1,
H A Dcrl.c109 char *infile=NULL,*outfile=NULL; local
170 infile= *(++argv);
236 x=load_crl(infile,informat);
405 static X509_CRL *load_crl(char *infile, int format) argument
417 if (infile == NULL)
421 if (BIO_read_filename(in,infile) <= 0)
423 perror(infile);
/external/openssl/crypto/rc4/
H A Drc4.c77 char *infile=NULL,*outfile=NULL,*keystr=NULL; local
91 infile= *(++argv);
121 if (infile == NULL)
125 in=fopen(infile,"r");
/external/jhead/
H A Djpgfile.c127 int ReadJpegSections (FILE * infile, ReadMode_t ReadMode) argument
132 a = fgetc(infile);
134 if (a != 0xff || fgetc(infile) != M_SOI){
146 marker = fgetc(infile);
159 lh = fgetc(infile);
160 ll = fgetc(infile);
184 got = fread(Data+2, 1, itemlen-2, infile); // Read the whole section.
200 cp = ftell(infile);
201 fseek(infile, 0, SEEK_END);
202 ep = ftell(infile);
331 FILE * infile; local
[all...]
/external/zlib/examples/
H A Dgun.c78 int infile; member in struct:ind
99 ret = (int)read(me->infile, next, ret);
362 /* Decompress a gzip file from infile to outfile. strm is assumed to have been
374 local int gunpipe(z_stream *strm, int infile, int outfile) argument
383 ind.infile = infile;
542 int infile, outfile; local
547 infile = 0; /* stdin */
550 infile = open(inname, O_RDONLY, 0);
551 if (infile
[all...]
/external/zlib/
H A 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);
/external/dropbear/libtomcrypt/demos/
H A Dencrypt.c18 printf("Usage: %s [-d](ecrypt) cipher infile outfile\nCiphers:\n", name);
103 char *infile, *outfile, *cipher; local
117 infile = argv[3];
122 infile = argv[2];
127 fdin = fopen(infile,"rb");
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/
H A Dsymshift.pl93 -phones <infile>,
94 -POS <infile>,
95 -accents <infile>,
96 -pb_strengths <infile> read symbol tables from <file> and shift them into

Completed in 246 milliseconds

123