Home
last modified time | relevance | path

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

123456789

/external/jpeg/
Drdcolmap.c79 read_gif_map (j_decompress_ptr cinfo, FILE * infile) in read_gif_map() argument
88 if ((header[i] = getc(infile)) == EOF) in read_gif_map()
104 R = getc(infile); in read_gif_map()
105 G = getc(infile); in read_gif_map()
106 B = getc(infile); in read_gif_map()
121 pbm_getc (FILE * infile) in pbm_getc() argument
127 ch = getc(infile); in pbm_getc()
130 ch = getc(infile); in pbm_getc()
138 read_pbm_integer (j_decompress_ptr cinfo, FILE * infile) in read_pbm_integer() argument
149 ch = pbm_getc(infile); in read_pbm_integer()
[all …]
Drdppm.c84 pbm_getc (FILE * infile) in pbm_getc() argument
90 ch = getc(infile); in pbm_getc()
93 ch = getc(infile); in pbm_getc()
101 read_pbm_integer (j_compress_ptr cinfo, FILE * infile) in read_pbm_integer() argument
112 ch = pbm_getc(infile); in read_pbm_integer()
121 while ((ch = pbm_getc(infile)) >= '0' && ch <= '9') { in read_pbm_integer()
145 FILE * infile = source->pub.input_file; in get_text_gray_row() local
152 *ptr++ = rescale[read_pbm_integer(cinfo, infile)]; in get_text_gray_row()
163 FILE * infile = source->pub.input_file; in get_text_rgb_row() local
170 *ptr++ = rescale[read_pbm_integer(cinfo, infile)]; in get_text_rgb_row()
[all …]
Djdatasrc.c28 FILE * infile; /* source stream */ member
95 nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE); in fill_input_buffer()
182 jpeg_stdio_src (j_decompress_ptr cinfo, FILE * infile) in jpeg_stdio_src() argument
209 src->infile = infile; in jpeg_stdio_src()
Dexample.c296 FILE * infile; /* source file */ in read_JPEG_file() local
306 if ((infile = fopen(filename, "rb")) == NULL) { in read_JPEG_file()
322 fclose(infile); in read_JPEG_file()
330 jpeg_stdio_src(&cinfo, infile); in read_JPEG_file()
399 fclose(infile); in read_JPEG_file()
/external/qemu/distrib/jpeg-6b/
Drdcolmap.c79 read_gif_map (j_decompress_ptr cinfo, FILE * infile) in read_gif_map() argument
88 if ((header[i] = getc(infile)) == EOF) in read_gif_map()
104 R = getc(infile); in read_gif_map()
105 G = getc(infile); in read_gif_map()
106 B = getc(infile); in read_gif_map()
121 pbm_getc (FILE * infile) in pbm_getc() argument
127 ch = getc(infile); in pbm_getc()
130 ch = getc(infile); in pbm_getc()
138 read_pbm_integer (j_decompress_ptr cinfo, FILE * infile) in read_pbm_integer() argument
149 ch = pbm_getc(infile); in read_pbm_integer()
[all …]
Drdppm.c84 pbm_getc (FILE * infile) in pbm_getc() argument
90 ch = getc(infile); in pbm_getc()
93 ch = getc(infile); in pbm_getc()
101 read_pbm_integer (j_compress_ptr cinfo, FILE * infile) in read_pbm_integer() argument
112 ch = pbm_getc(infile); in read_pbm_integer()
121 while ((ch = pbm_getc(infile)) >= '0' && ch <= '9') { in read_pbm_integer()
145 FILE * infile = source->pub.input_file; in get_text_gray_row() local
152 *ptr++ = rescale[read_pbm_integer(cinfo, infile)]; in get_text_gray_row()
163 FILE * infile = source->pub.input_file; in get_text_rgb_row() local
170 *ptr++ = rescale[read_pbm_integer(cinfo, infile)]; in get_text_rgb_row()
[all …]
Dexample.c296 FILE * infile; /* source file */ in read_JPEG_file() local
306 if ((infile = fopen(filename, "rb")) == NULL) { in read_JPEG_file()
322 fclose(infile); in read_JPEG_file()
330 jpeg_stdio_src(&cinfo, infile); in read_JPEG_file()
399 fclose(infile); in read_JPEG_file()
Djdatasrc.c28 FILE * infile; /* source stream */ member
95 nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE); in fill_input_buffer()
182 jpeg_stdio_src (j_decompress_ptr cinfo, FILE * infile) in jpeg_stdio_src() argument
209 src->infile = infile; in jpeg_stdio_src()
/external/chromium_org/chrome/tools/test/
Dgenerate_mime_tests.pl212 my $infile = join "", "iframe/", $content_type, ".html";
213 $infile =~ tr/\//_/;
214 $infile = $target_path.$infile;
216 open OUT, "> $infile" or die "Failed to open file $infile";
263 my $infile = join "", "main/", $content_type, $count, ".html";
264 $infile =~ tr/\//_/;
266 $infile = $target_path.$infile;
269 open OUT, "> $infile" or die "Failed to open file $infile";
/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/chromium_org/third_party/openssl/openssl/apps/
Dnseq.c72 char **args, *infile = NULL, *outfile = NULL; in MAIN() local
87 infile = *args; in MAIN()
108 if (infile) { in MAIN()
109 if (!(in = BIO_new_file (infile, "r"))) { in MAIN()
111 "Can't open input file %s\n", infile); in MAIN()
139 BIO_printf (bio_err, "Error reading certs file %s\n", infile); in MAIN()
149 BIO_printf (bio_err, "Error reading sequence file %s\n", infile); in MAIN()
Dpkeyparam.c71 char **args, *infile = NULL, *outfile = NULL; in MAIN() local
97 infile = *args; in MAIN()
146 if (infile) in MAIN()
148 if (!(in = BIO_new_file (infile, "r"))) in MAIN()
151 "Can't open input file %s\n", infile); in MAIN()
Dsess_id.c97 char *infile=NULL,*outfile=NULL,*context=NULL; in MAIN() local
128 infile= *(++argv); in MAIN()
165 x=load_sess_id(infile,informat); in MAIN()
281 static SSL_SESSION *load_sess_id(char *infile, int format) in load_sess_id() argument
293 if (infile == NULL) in load_sess_id()
297 if (BIO_read_filename(in,infile) <= 0) in load_sess_id()
299 perror(infile); in load_sess_id()
/external/openssl/apps/
Dnseq.c72 char **args, *infile = NULL, *outfile = NULL; in MAIN() local
87 infile = *args; in MAIN()
108 if (infile) { in MAIN()
109 if (!(in = BIO_new_file (infile, "r"))) { in MAIN()
111 "Can't open input file %s\n", infile); in MAIN()
139 BIO_printf (bio_err, "Error reading certs file %s\n", infile); in MAIN()
149 BIO_printf (bio_err, "Error reading sequence file %s\n", infile); in MAIN()
Dpkeyparam.c71 char **args, *infile = NULL, *outfile = NULL; in MAIN() local
97 infile = *args; in MAIN()
146 if (infile) in MAIN()
148 if (!(in = BIO_new_file (infile, "r"))) in MAIN()
151 "Can't open input file %s\n", infile); in MAIN()
Dsess_id.c97 char *infile=NULL,*outfile=NULL,*context=NULL; in MAIN() local
128 infile= *(++argv); in MAIN()
165 x=load_sess_id(infile,informat); in MAIN()
281 static SSL_SESSION *load_sess_id(char *infile, int format) in load_sess_id() argument
293 if (infile == NULL) in load_sess_id()
297 if (BIO_read_filename(in,infile) <= 0) in load_sess_id()
299 perror(infile); in load_sess_id()
Ddsa.c107 char *infile,*outfile,*prog; in MAIN() local
129 infile=NULL; in MAIN()
152 infile= *(++argv); in MAIN()
257 if (infile == NULL) in MAIN()
261 if (BIO_read_filename(in,infile) <= 0) in MAIN()
263 perror(infile); in MAIN()
274 pkey = load_pubkey(bio_err, infile, informat, 1, in MAIN()
277 pkey = load_key(bio_err, infile, informat, 1, in MAIN()
/external/libpng/contrib/gregbook/
Dreadppm.c81 int readpng_init(FILE *infile, ulg *pWidth, ulg *pHeight) in readpng_init() argument
87 saved_infile = infile; in readpng_init()
89 fgets(ppmline, 256, infile); in readpng_init()
107 fgets(ppmline, 256, infile); in readpng_init()
112 fgets(ppmline, 256, infile); in readpng_init()
/external/chromium_org/third_party/libvpx/source/libvpx/
Divfdec.c72 int ivf_read_frame(FILE *infile, uint8_t **buffer, in ivf_read_frame() argument
77 if (fread(raw_header, IVF_FRAME_HDR_SZ, 1, infile) != 1) { in ivf_read_frame()
78 if (!feof(infile)) in ivf_read_frame()
101 if (!feof(infile)) { in ivf_read_frame()
102 if (fread(*buffer, 1, frame_size, infile) != frame_size) { in ivf_read_frame()
/external/libvpx/libvpx/
Divfdec.c72 int ivf_read_frame(FILE *infile, uint8_t **buffer, in ivf_read_frame() argument
77 if (fread(raw_header, IVF_FRAME_HDR_SZ, 1, infile) != 1) { in ivf_read_frame()
78 if (!feof(infile)) in ivf_read_frame()
101 if (!feof(infile)) { in ivf_read_frame()
102 if (fread(*buffer, 1, frame_size, infile) != frame_size) { in ivf_read_frame()
/external/zlib/src/examples/
Dgun.c82 int infile; member
103 ret = (int)read(me->infile, next, ret); in in()
383 local int gunpipe(z_stream *strm, int infile, int outfile) in gunpipe() argument
392 ind.infile = infile; in gunpipe()
551 int infile, outfile; in gunzip() local
556 infile = 0; /* stdin */ in gunzip()
559 infile = open(inname, O_RDONLY, 0); in gunzip()
560 if (infile == -1) { in gunzip()
574 close(infile); in gunzip()
582 ret = gunpipe(strm, infile, outfile); in gunzip()
[all …]
/external/chromium_org/third_party/simplejson/
Dtool.py18 infile = sys.stdin
21 infile = open(sys.argv[1], 'rb')
24 infile = open(sys.argv[1], 'rb')
29 obj = json.load(infile,
/external/chromium_org/native_client_sdk/src/tools/tests/
Dfix_deps_test.py49 with open(self.tempfile) as infile:
50 contents = infile.read()
62 with open(self.tempfile) as infile:
63 contents = infile.read()
73 with open(self.tempfile) as infile:
74 contents = infile.read()
/external/chromium_org/tools/
Dsort-headers.py75 def SortHeader(infile, outfile): argument
77 for line in infile:
85 line = infile.next()
119 infile = open(filename, 'rb')
121 SortHeader(infile, outfile)
122 infile.close()
/external/chromium_org/tools/generate_stubs/
Dgenerate_stubs_unittest.py74 infile = StringIO.StringIO()
75 signatures = gs.ParseSignatures(infile)
80 infile = StringIO.StringIO(file_contents)
81 signatures = gs.ParseSignatures(infile)
94 infile = StringIO.StringIO(file_contents)
95 signatures = gs.ParseSignatures(infile)
108 infile = StringIO.StringIO(i)
109 self.assertRaises(gs.BadSignatureError, gs.ParseSignatures, infile)
125 infile = StringIO.StringIO(file_contents)
126 signatures = gs.ParseSignatures(infile)

123456789