/external/jpeg/ |
D | rdcolmap.c | 79 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 …]
|
D | rdppm.c | 84 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 …]
|
D | example.c | 296 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()
|
D | jdatasrc.c | 28 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/qemu/distrib/jpeg-6b/ |
D | rdcolmap.c | 79 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 …]
|
D | rdppm.c | 84 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 …]
|
D | example.c | 296 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()
|
D | jdatasrc.c | 28 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/bzip2/ |
D | format.pl | 24 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/dropbear/ |
D | dropbearconvert.c | 33 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/libvpx/libvpx/examples/ |
D | decoder_tmpl.c | 48 FILE *infile, *outfile; in main() local 60 if(!(infile = fopen(argv[1], "rb"))) in main() 66 if(!(fread(file_hdr, 1, IVF_FILE_HDR_SZ, infile) == IVF_FILE_HDR_SZ in main() 75 while(fread(frame_hdr, 1, IVF_FRAME_HDR_SZ, infile) == IVF_FRAME_HDR_SZ) { in main() 84 if(fread(frame, 1, frame_sz, infile) != frame_sz) in main() 101 fclose(infile);
|
/external/openssl/apps/ |
D | nseq.c | 72 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()
|
D | pkeyparam.c | 71 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()
|
D | sess_id.c | 97 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()
|
D | dsa.c | 107 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()
|
D | dh.c | 95 char *infile,*outfile,*prog; in MAIN() local 112 infile=NULL; in MAIN() 135 infile= *(++argv); in MAIN() 200 if (infile == NULL) in MAIN() 204 if (BIO_read_filename(in,infile) <= 0) in MAIN() 206 perror(infile); in MAIN()
|
/external/chromium/net/tools/dnssec_chain_verify/ |
D | dnssec_chain_verify.cc | 44 FILE* infile = fopen(infilename, "r"); in main() local 45 if (!infile) { in main() 50 fseek(infile, 0, SEEK_END); in main() 51 unsigned long inlen = ftell(infile); in main() 52 fseek(infile, 0, SEEK_SET); in main() 55 if (fread(input, inlen, 1, infile) != 1) { in main()
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
D | InflaterInputStreamTest.java | 85 InputStream infile = Support_Resources.getStream("hyts_construOD.bin"); in test_ConstructorLjava_io_InputStreamLjava_util_zip_Inflater() local 87 InflaterInputStream inflatIP = new InflaterInputStream(infile, in test_ConstructorLjava_io_InputStreamLjava_util_zip_Inflater() 101 InputStream infile = Support_Resources.getStream("hyts_construODI.bin"); in test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI() local 103 InflaterInputStream inflatIP = new InflaterInputStream(infile, in test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI() 119 InputStream infile = Support_Resources.getStream("hyts_construODI.bin"); in test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI_1() local 123 inflatIP = new InflaterInputStream(infile, null, 1); in test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI_1() 137 inflatIP = new InflaterInputStream(infile, inflate, -1); in test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI_1() 173 InputStream infile = Support_Resources in test_read() local 176 InflaterInputStream inflatIP = new InflaterInputStream(infile, in test_read() 198 InputStream infile = Support_Resources.getStream("hyts_construOD.bin"); in test_read_LBII() local [all …]
|
/external/libpng/contrib/gregbook/ |
D | readppm.c | 81 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()
|
D | wpng.c | 177 wpng_info.infile = NULL; in main() 311 if ((wpng_info.infile = fdopen(fileno(stdin), "rb")) == NULL) { in main() 319 fclose(wpng_info.infile); in main() 328 } else if (!(wpng_info.infile = fopen(inname, "rb"))) { in main() 334 fgets(pnmline, 256, wpng_info.infile); in main() 347 fgets(pnmline, 256, wpng_info.infile); /* lose any comments */ in main() 351 fgets(pnmline, 256, wpng_info.infile); /* more comment lines */ in main() 389 fclose(wpng_info.infile); in main() 390 wpng_info.infile = NULL; in main() 717 bytes = fread(wpng_info.image_data, 1, image_bytes, wpng_info.infile); in main() [all …]
|
/external/zlib/src/examples/ |
D | gun.c | 81 int infile; member 102 ret = (int)read(me->infile, next, ret); in in() 382 local int gunpipe(z_stream *strm, int infile, int outfile) in gunpipe() argument 391 ind.infile = infile; in gunpipe() 550 int infile, outfile; in gunzip() local 555 infile = 0; /* stdin */ in gunzip() 558 infile = open(inname, O_RDONLY, 0); in gunzip() 559 if (infile == -1) { in gunzip() 573 close(infile); in gunzip() 581 ret = gunpipe(strm, infile, outfile); in gunzip() [all …]
|
/external/libvpx/libvpx/ |
D | vpxdec.c | 215 FILE *infile; member 232 FILE *infile = input->infile; in read_frame() local 268 ? IVF_FRAME_HDR_SZ : RAW_FRAME_HDR_SZ, 1, infile) != 1) in read_frame() 270 if (!feof(infile)) in read_frame() 309 if (!feof(infile)) in read_frame() 311 if (fread(*buf, 1, *buf_sz, infile) != *buf_sz) in read_frame() 387 unsigned int file_is_ivf(FILE *infile, in file_is_ivf() argument 397 if (fread(raw_hdr, 1, 32, infile) == 32) in file_is_ivf() 439 rewind(infile); in file_is_ivf() 445 unsigned int file_is_raw(FILE *infile, in file_is_raw() argument [all …]
|
/external/jhead/ |
D | jpgfile.c | 129 int ReadJpegSections (FILE * infile, ReadMode_t ReadMode) in ReadJpegSections() argument 134 a = fgetc(infile); in ReadJpegSections() 136 if (a != 0xff || fgetc(infile) != M_SOI){ in ReadJpegSections() 148 marker = fgetc(infile); in ReadJpegSections() 161 lh = fgetc(infile); in ReadJpegSections() 162 ll = fgetc(infile); in ReadJpegSections() 186 got = fread(Data+2, 1, itemlen-2, infile); // Read the whole section. in ReadJpegSections() 202 cp = ftell(infile); in ReadJpegSections() 203 fseek(infile, 0, SEEK_END); in ReadJpegSections() 204 ep = ftell(infile); in ReadJpegSections() [all …]
|
/external/openssl/crypto/rc4/ |
D | rc4.c | 77 char *infile=NULL,*outfile=NULL,*keystr=NULL; in main() local 91 infile= *(++argv); in main() 121 if (infile == NULL) in main() 125 in=fopen(infile,"r"); in main()
|
/external/libvorbis/vq/ |
D | huffbuild.c | 64 char *infile; in main() local 73 infile=strdup(argv[1]); in main() 74 base=strdup(infile); in main() 105 file=fopen(infile,"r"); in main() 107 fprintf(stderr,"Could not open file %s\n",infile); in main()
|