/external/bzip2/ |
format.pl | 24 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 [all...] |
/external/jpeg/ |
rdcolmap.c | 79 read_gif_map (j_decompress_ptr cinfo, FILE * infile) 88 if ((header[i] = getc(infile)) == EOF) 104 R = getc(infile); 105 G = getc(infile); 106 B = getc(infile); 121 pbm_getc (FILE * infile) 127 ch = getc(infile); 130 ch = getc(infile); 138 read_pbm_integer (j_decompress_ptr cinfo, FILE * infile) 149 ch = pbm_getc(infile); [all...] |
example.c | 296 FILE * infile; /* source file */ local 306 if ((infile = fopen(filename, "rb")) == NULL) { 322 fclose(infile); 330 jpeg_stdio_src(&cinfo, infile); 399 fclose(infile);
|
jdatasrc.c | 28 FILE * infile; /* source stream */ member in struct:__anon6680 95 nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE); 182 jpeg_stdio_src (j_decompress_ptr cinfo, FILE * infile) 209 src->infile = infile;
|
/external/dropbear/ |
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, 117 key = import_read(infile, NULL, intype); 120 infile);
|
/external/pcre/ |
perltest.pl | 49 open(INFILE, "<$ARGV[0]") || die "Failed to open $ARGV[0]\n"; 50 $infile = "INFILE"; 52 else { $infile = "STDIN"; } 68 printf " re> " if $infile eq "STDIN"; 69 last if ! ($_ = <$infile>); 70 printf $outfile "$_" if $infile ne "STDIN"; 77 printf " > " if $infile eq "STDIN"; 78 last if ! ($_ = <$infile>); 79 printf $outfile "$_" if $infile ne "STDIN" [all...] |
/external/libvpx/examples/ |
decoder_tmpl.c | 46 FILE *infile, *outfile; local 58 if(!(infile = fopen(argv[1], "rb"))) 64 if(!(fread(file_hdr, 1, IVF_FILE_HDR_SZ, infile) == IVF_FILE_HDR_SZ 73 while(fread(frame_hdr, 1, IVF_FRAME_HDR_SZ, infile) == IVF_FRAME_HDR_SZ) { 82 if(fread(frame, 1, frame_sz, infile) != frame_sz) 99 fclose(infile); variable
|
/external/bluetooth/glib/tests/ |
unicode-caseconv.c | 12 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/ |
readppm.c | 81 int readpng_init(FILE *infile, ulg *pWidth, ulg *pHeight) 87 saved_infile = infile; 89 fgets(ppmline, 256, infile); 107 fgets(ppmline, 256, infile); 112 fgets(ppmline, 256, infile);
|
readpng.h | 81 int readpng_init(FILE *infile, ulg *pWidth, ulg *pHeight);
|
/frameworks/compile/slang/ |
slang-data.c | 8 fprintf(stderr, "Usage: %s PREFIX OUTFILE INFILE\n", argv[0]); 17 FILE *infile = fopen(infile_name, "rb"); local 19 if (!infile) { 28 fclose(infile); 50 size_t nread = fread(buf, sizeof(char), sizeof(buf), infile); 99 fclose(infile);
|
/external/chromium/net/tools/dnssec_chain_verify/ |
dnssec_chain_verify.cc | 44 FILE* infile = fopen(infilename, "r"); 45 if (!infile) { 50 fseek(infile, 0, SEEK_END); 51 unsigned long inlen = ftell(infile); 52 fseek(infile, 0, SEEK_SET); 55 if (fread(input, inlen, 1, infile) != 1) {
|
/external/harfbuzz/contrib/tables/ |
category-parse.py | 45 def main(infile, outfile): 46 ranges = unicode_file_parse(infile, category_to_harfbuzz)
|
grapheme-break-parse.py | 20 def main(infile, outfile): 21 ranges = unicode_file_parse(infile, property_to_harfbuzz)
|
combining-class-parse.py | 10 def main(infile, outfile): 11 ranges = unicode_file_parse(infile, IdentityMap(), '0')
|
mirroring-parse.py | 11 def main(infile, outfile): 13 for line in infile:
|
scripts-parse.py | 48 def main(infile, outfile): 49 ranges = unicode_file_parse(infile,
|
/external/openssl/apps/ |
nseq.c | 72 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);
|
pkeyparam.c | 71 char **args, *infile = NULL, *outfile = NULL; local 97 infile = *args; 146 if (infile) 148 if (!(in = BIO_new_file (infile, "r"))) 151 "Can't open input file %s\n", infile);
|
dsa.c | 107 char *infile,*outfile,*prog; local 129 infile=NULL; 152 infile= *(++argv); 205 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); 257 if (infile == NULL) 261 if (BIO_read_filename(in,infile) <= 0) 263 perror(infile); 274 pkey = load_pubkey(bio_err, infile, informat, 1, 277 pkey = load_key(bio_err, infile, informat, 1,
|
/frameworks/base/media/libstagefright/codecs/aacenc/SampleCode/ |
AAC_E_SAMPLES.c | 124 int ReadFile2Buf(FILE* infile,unsigned char* dest,int readSize) 127 readBytes = fread(dest, 1, readSize, infile); 135 FILE *infile, *outfile; local 167 infile = fopen(infileName, "rb"); 168 if (!infile) { 221 bytesLeft = ReadFile2Buf(infile,inData.Buffer,READ_SIZE); 261 nRead = ReadFile2Buf(infile, inBuf,READ_SIZE); 264 if (feof(infile)) 274 fclose(infile);
|
/external/openssl/crypto/rc4/ |
rc4.c | 77 char *infile=NULL,*outfile=NULL,*keystr=NULL; local 91 infile= *(++argv); 121 if (infile == NULL) 125 in=fopen(infile,"r");
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
InflaterInputStreamTest.java | 65 InputStream infile = Support_Resources 68 InflaterInputStream inflatIP = new InflaterInputStream(infile); 85 InputStream infile = Support_Resources.getStream("hyts_construOD.bin"); local 87 InflaterInputStream inflatIP = new InflaterInputStream(infile, 101 InputStream infile = Support_Resources.getStream("hyts_construODI.bin"); local 103 InflaterInputStream inflatIP = new InflaterInputStream(infile, 119 InputStream infile = Support_Resources.getStream("hyts_construODI.bin"); local 123 inflatIP = new InflaterInputStream(infile, null, 1); 137 inflatIP = new InflaterInputStream(infile, inflate, -1); 173 InputStream infile = Support_Resource local 198 InputStream infile = Support_Resources.getStream("hyts_construOD.bin"); local 393 InputStream infile = Support_Resources local [all...] |
/bootable/recovery/tools/ota/ |
convert-to-bmp.py | 10 infile = sys.argv[1] variable 16 im = Image.open(infile)
|
/external/zlib/examples/ |
gun.c | 81 int infile; member in struct:ind 102 ret = (int)read(me->infile, next, ret); 370 /* Decompress a gzip file from infile to outfile. strm is assumed to have been 382 local int gunpipe(z_stream *strm, int infile, int outfile) 391 ind.infile = infile; 550 int infile, outfile; local 555 infile = 0; /* stdin */ 558 infile = open(inname, O_RDONLY, 0); 559 if (infile == -1) [all...] |