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

/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Deinfo.c50 * @v infile Filename
53 static void einfo ( const char *infile, argument
62 if ( ( fd = open ( infile, O_RDONLY ) ) < 0 ) {
64 infile, strerror ( errno ) );
71 infile, strerror ( errno ) );
82 infile, strerror ( errno ) );
152 const char *infile; local
163 infile = argv[infile_index];
164 einfo ( infile, &opts );
H A Defirom.c173 "infile outfile\n", program_name );
234 FILE *infile; local
248 infile = fopen ( infile_name, "r" );
249 if ( ! infile ) {
262 make_efi_rom ( infile, outfile, &opts );
265 fclose ( infile );
H A Dnrv2b.c61 FILE *infile, *outfile;
1252 fseek(infile, 0, SEEK_END);
1253 in_len = ftell(infile);
1286 rewind(infile);
1294 if (fread(in, in_len, 1, infile) != 1) {
1385 if (fseek(infile, sizeof(magic) + sizeof(tw) + 1 + 1 + sizeof(tw),
1389 if (fread(&tw, sizeof(tw), 1, infile) < 1)
1392 if (fread(&tw, sizeof(tw), 1, infile) < 1)
1396 if (fread(&tw, sizeof(tw), 1, infile) < 1)
1409 src_len = fread(src, 1, max_src_len, infile);
[all...]
H A Delf2efi.c740 eprintf ( "Syntax: %s [--subsystem=<number>] infile outfile\n",
795 const char *infile; local
807 infile = argv[infile_index];
811 elf2pe ( infile, outfile, &opts );
H A Dzbin.c7 FILE *infile, *outfile; variable
/vbox/src/libs/libpng-1.2.8/contrib/gregbook/
H A Dreadpng.h57 int readpng_init(FILE *infile, ulg *pWidth, ulg *pHeight);
H A Dwpng.c140 wpng_info.infile = NULL;
274 if ((wpng_info.infile = fdopen(fileno(stdin), "rb")) == NULL) {
282 fclose(wpng_info.infile);
291 } else if (!(wpng_info.infile = fopen(inname, "rb"))) {
297 fgets(pnmline, 256, wpng_info.infile);
310 fgets(pnmline, 256, wpng_info.infile); /* lose any comments */
314 fgets(pnmline, 256, wpng_info.infile); /* more comment lines */
352 fclose(wpng_info.infile);
353 wpng_info.infile = NULL;
680 bytes = fread(wpng_info.image_data, 1, image_bytes, wpng_info.infile);
[all...]
H A Drpng-win.c93 static FILE *infile; variable
159 infile = fopen("/etc/config/system.glGammaVal", "r");
160 if (infile) {
163 fgets(tmpline, 80, infile);
164 fclose(infile);
252 } else if (!(infile = fopen(filename, "rb"))) {
256 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) {
279 fclose(infile);
357 fclose(infile);
H A Dreadpng.c63 int readpng_init(FILE *infile, ulg *pWidth, ulg *pHeight) argument
71 fread(sig, 1, 8, infile);
103 png_init_io(png_ptr, infile);
H A Dwritepng.h71 FILE *infile; member in struct:_mainprog_info
H A Drpng-x.c95 static FILE *infile; variable
167 infile = fopen("/etc/config/system.glGammaVal", "r");
168 if (infile) {
171 fgets(tmpline, 80, infile);
172 fclose(infile);
240 } else if (!(infile = fopen(filename, "rb"))) {
244 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) {
275 fclose(infile);
349 fclose(infile);
H A Drpng2-win.c127 static FILE *infile; variable
273 infile = fopen("/etc/config/system.glGammaVal", "r");
274 if (infile) {
277 fgets(tmpline, 80, infile);
278 fclose(infile);
394 } else if (!(infile = fopen(filename, "rb"))) {
398 incount = fread(inbuf, 1, INBUFSIZE, infile);
422 fclose(infile);
517 if (error || feof(infile) || rpng2_info.done)
521 incount = fread(inbuf, 1, INBUFSIZE, infile);
[all...]
H A Drpng2-x.c133 static FILE *infile; variable
280 infile = fopen("/etc/config/system.glGammaVal", "r");
281 if (infile) {
284 fgets(tmpline, 80, infile);
285 fclose(infile);
390 } else if (!(infile = fopen(filename, "rb"))) {
394 incount = fread(inbuf, 1, INBUFSIZE, infile);
426 fclose(infile);
513 if (error || feof(infile) || rpng2_info.done)
517 incount = fread(inbuf, 1, INBUFSIZE, infile);
[all...]
/vbox/src/libs/zlib-1.2.6/examples/
H A Dgun.c81 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) argument
391 ind.infile = infile;
550 int infile, outfile; local
555 infile = 0; /* stdin */
558 infile = open(inname, O_RDONLY, 0);
559 if (infile
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/efi/
H A Dimport.pl51 my $infile = catfile ( $edktop, $edkdir, $filename );
52 if ( -e $infile ) {
56 open my $infh, "<$infile" or die "Could not open $infile: $!\n";
81 die "Duplicate header guard detected in $infile\n" if $guard;
89 warn "Cannot detect licence in $infile\n" unless $licence;
90 warn "Cannot detect header guard in $infile\n" unless $guard;
/vbox/src/libs/zlib-1.2.6/test/
H A Dminigzip.c492 char *infile, *outfile; local
505 infile = file;
510 infile = buf;
511 strcat(infile, GZ_SUFFIX);
513 in = gzopen(infile, "rb");
515 fprintf(stderr, "%s: can't gzopen %s\n", prog, infile);
526 unlink(infile);
/vbox/src/libs/libxml2-2.6.31/
H A Dregressions.py155 infile = open(inbase + filename, 'rt')
156 pin.writelines(infile.readlines())
157 infile.close()

Completed in 81 milliseconds