/external/libjpeg-turbo/ |
D | rdcolmap.c | 80 read_gif_map (j_decompress_ptr cinfo, FILE *infile) in read_gif_map() argument 89 if ((header[i] = getc(infile)) == EOF) in read_gif_map() 105 R = getc(infile); in read_gif_map() 106 G = getc(infile); in read_gif_map() 107 B = getc(infile); in read_gif_map() 122 pbm_getc (FILE *infile) in pbm_getc() argument 128 ch = getc(infile); in pbm_getc() 131 ch = getc(infile); in pbm_getc() 139 read_pbm_integer (j_decompress_ptr cinfo, FILE *infile) in read_pbm_integer() argument 150 ch = pbm_getc(infile); in read_pbm_integer() [all …]
|
/external/vboot_reference/futility/ |
D | cmd_vbutil_key.c | 70 static int Pack(const char *infile, const char *outfile, uint64_t algorithm, in Pack() argument 76 if (!infile || !outfile) { in Pack() 81 pubkey = PublicKeyReadKeyb(infile, algorithm, version); in Pack() 91 privkey = PrivateKeyReadPem(infile, algorithm); in Pack() 101 VbExError("Unable to parse either .keyb or .pem from %s\n", infile); in Pack() 106 static int Unpack(const char *infile, const char *outfile) in Unpack() argument 111 if (!infile) { in Unpack() 116 pubkey = PublicKeyRead(infile); in Unpack() 118 printf("Public Key file: %s\n", infile); in Unpack() 138 privkey = PrivateKeyRead(infile); in Unpack() [all …]
|
D | cmd_dump_kernel_config.c | 34 char *infile = NULL; in do_dump_kernel_config() local 68 infile = argv[optind]; in do_dump_kernel_config() 75 if (!infile || !*infile) { in do_dump_kernel_config() 80 config = FindKernelConfig(infile, kernel_body_load_address); in do_dump_kernel_config()
|
D | cmd_create.c | 38 static char *infile, *outfile, *outext; variable 89 fp = fopen(infile, "rb"); in vb1_make_keypair() 91 fprintf(stderr, "Unable to open %s\n", infile); in vb1_make_keypair() 99 fprintf(stderr, "Unable to read RSA key from %s\n", infile); in vb1_make_keypair() 172 fp = fopen(infile, "rb"); in vb2_make_keypair() 174 fprintf(stderr, "Unable to open %s\n", infile); in vb2_make_keypair() 182 fprintf(stderr, "Unable to read RSA key from %s\n", infile); in vb2_make_keypair() 344 if (!infile) { in do_create() 349 infile = argv[optind++]; in do_create() 362 s = infile; /* based on pem file name */ in do_create()
|
D | dump_kernel_config_lib.c | 134 char *FindKernelConfig(const char *infile, uint64_t kernel_body_load_address) in FindKernelConfig() argument 138 int fd = open(infile, O_RDONLY | O_CLOEXEC | O_LARGEFILE); in FindKernelConfig() 140 VbExError("Cannot open %s\n", infile); in FindKernelConfig() 150 VbExError("Cannot stat %s\n", infile); in FindKernelConfig() 156 ctx = mtd_read_descriptor(fd, infile); in FindKernelConfig() 158 VbExError("Cannot read from MTD device %s\n", infile); in FindKernelConfig()
|
/external/ltp/tools/ |
D | rand_lines.c | 121 int rnd_file(FILE * infile, int numlines, long seed); 122 int get_numlines(FILE * infile); 139 FILE *infile; in main() local 196 infile = stdin; in main() 202 if ((infile = fopen(argv[argc - 1], "r")) == NULL) { in main() 209 lsize = get_numlines(infile); in main() 212 rnd_file(infile, lsize, seed); in main() 247 int get_numlines(FILE *infile) in get_numlines() argument 252 while (fgets(line, MAX_LN_SZ, infile) != NULL) { in get_numlines() 257 fseek(infile, 0, SEEK_SET); in get_numlines() [all …]
|
/external/elfutils/tests/ |
D | run-strip-reloc.sh | 28 infile=$1 35 testrun ${abs_top_builddir}/src/strip -o $outfile1 -f $debugfile1 $infile || 36 { echo "*** failure strip $infile"; status=1; } 39 -f $debugfile2 $infile || 40 { echo "*** failure strip --reloc-debug-sections $infile"; status=1; } 44 { echo "*** failure readelf -a outfile1 $infile"; status=1; } 47 { echo "*** failure compare stripped files $infile"; status=1; } 54 { echo "*** failure --reloc-debug-sections not smaller $infile"; status=1; } 60 { echo "*** failure readelf -w debugfile1 $infile"; status=1; } 64 { echo "*** failure readelf -w debugfile2 $infile"; status=1; } [all …]
|
D | run-strip-groups.sh | 45 infile=testfile58 46 outfile=$infile.stripped 47 dbgfile=$infile.debug 49 testfiles $infile 52 testrun ${abs_top_builddir}/src/strip -o $outfile -f $dbgfile $infile 53 testrun ${abs_top_builddir}/src/elflint -q $infile
|
D | run-compress-test.sh | 23 infile="$1" 24 uncompressedfile="${infile}.uncompressed" 27 echo "uncompress $infile -> $uncompressedfile" 28 testrun ${abs_top_builddir}/src/elfcompress -v -t none -o ${uncompressedfile} ${infile} 33 gnucompressedfile="${infile}.gnu" 43 gnuuncompressedfile="${infile}.gnu.uncompressed" 49 elfcompressedfile="${infile}.gabi" 59 elfuncompressedfile="${infile}.gabi.uncompressed"
|
/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/ImageMagick/PerlMagick/t/ |
D | subroutines.pl | 170 my( $infile, $ref_8, $ref_16, $ref_32 ) = @_; 206 print( " testing reading from file \"", $infile, "\" ...\n"); 209 $status=$image->ReadImage("$infile"); 211 print "ReadImage $infile: $status\n"; 215 print "ReadImage $infile: $status\n"; 223 print "Image: $infile, signatures do not match.\n"; 237 if (!($infile =~ /\.bz2$/) && !($infile =~ /\.gz$/) && !($infile =~ /\.Z$/)) 241 if( open( FILE, "< $infile")) 252 print "BlobToImage $infile: $status\n"; 256 print "ReadImage $infile: $status\n"; [all …]
|
/external/xmlrpcpp/test/ |
D | TestBase64Server.cpp | 29 std::ifstream infile("pngnow.png", std::ios::binary); in execute() local 30 if (infile.fail()) in execute() 31 infile.open("../pngnow.png", std::ios::binary); in execute() 32 if (infile.fail()) in execute() 39 char c = infile.get(); in execute() 40 if (infile.eof()) break; in execute()
|
D | FileClient.cpp | 28 std::ifstream infile(argv[3]); in main() local 29 if (infile.fail()) { in main() 35 infile.seekg(0L, std::ios::end); in main() 36 long nb = infile.tellg(); in main() 37 infile.clear(); in main() 38 infile.seekg(0L); in main() 40 infile.read(b, nb); in main()
|
/external/ltp/testcases/kernel/io/direct_io/ |
D | diotest1.c | 55 static char infile[LEN]; /* Input file. Default "infile" */ variable 87 strcpy(infile, "infile"); /* Default input file */ in main() 109 strcpy(infile, optarg); in main() 122 int fd = open(infile, O_DIRECT | O_RDWR | O_CREAT, 0666); in main() 129 fd1 = SAFE_OPEN(cleanup, infile, O_DIRECT | O_RDWR | O_CREAT, 0666); in main() 157 if (filecmp(infile, outfile) != 0) { in main() 159 infile, outfile); in main()
|
/external/ImageMagick/scripts/ |
D | format_c_api_docs | 237 my($infile, $outfile) = @_; 239 open( IN, "<$infile" ) || die("Failed to open \"$infile\" for read\n" ); 329 my($infile, $tmpfile) = @_; 335 open( IN, "<$infile" ) || die("Failed to open \"$infile\" for read\n" ); 471 my($infile, $outfile) = @_; 478 open( IN, "<$infile" ) || die("Failed to open \"$infile\" for read\n" );
|
/external/selinux/libselinux/src/ |
D | matchmediacon.c | 17 FILE *infile; in matchmediacon() local 21 if ((infile = fopen(path, "r")) == NULL) in matchmediacon() 23 while (!feof_unlocked(infile)) { in matchmediacon() 24 if (!fgets_unlocked(current_line, sizeof(current_line), infile)) { in matchmediacon() 50 fclose(infile); in matchmediacon()
|
/external/syslinux/lzo/ |
D | prepcore.c | 175 lzo_bytep infile; in main() local 235 infile = xzalloc(infile_len); in main() 237 infile_len = fread(infile, 1, infile_len, f); in main() 243 prefix = (struct prefix *)infile; in main() 246 in = infile + offset; in main() 325 set_32((uint32_t *) (infile + soff), out_len); in main() 335 csum += get_32((uint32_t *) (infile + ptr)); in main() 339 set_32((uint32_t *) (infile + soff), offset - start + outfile_len); in main() 340 set_32((uint32_t *) (infile + soff + 4), csum); in main() 354 if (fwrite(infile + start, 1, offset - start, f) != offset - start || in main() [all …]
|
/external/libvpx/libvpx/examples/ |
D | twopass_encoder.c | 123 static vpx_fixed_buf_t pass0(vpx_image_t *raw, FILE *infile, in pass0() argument 134 while (vpx_img_read(raw, infile)) { in pass0() 152 static void pass1(vpx_image_t *raw, FILE *infile, const char *outfile_name, in pass1() argument 170 while (vpx_img_read(raw, infile)) { in pass1() 191 FILE *infile = NULL; in main() local 238 if (!(infile = fopen(infile_arg, "rb"))) in main() 243 stats = pass0(&raw, infile, encoder, &cfg, max_frames); in main() 246 rewind(infile); in main() 249 pass1(&raw, infile, outfile_arg, encoder, &cfg, max_frames); in main() 253 fclose(infile); in main()
|
/external/syslinux/gpxe/src/include/gpxe/efi/ |
D | import.pl | 21 my $infile = catfile ( $edkdir, $filename ); 22 if ( -e $infile ) { 24 print "$infile\n"; 25 open my $infh, "<$infile" or die "Could not open $infile: $!\n";
|
/external/zlib/src/examples/ |
D | gun.c | 82 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/toybox/toys/posix/ |
D | uniq.c | 63 FILE *infile = stdin, *outfile = stdout; in uniq_main() local 67 if (toys.optc >= 1) infile = xfopen(toys.optargs[0], "r"); in uniq_main() 73 if (getdelim(&prevline, &prevsize, eol, infile) < 0) in uniq_main() 76 while (getdelim(&thisline, &thissize, eol, infile) > 0) { in uniq_main() 117 if (infile != stdin) fclose(infile); in uniq_main()
|
/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()
|
/external/libvpx/libvpx/ |
D | ivfdec.c | 73 int ivf_read_frame(FILE *infile, uint8_t **buffer, size_t *bytes_read, in ivf_read_frame() argument 78 if (fread(raw_header, IVF_FRAME_HDR_SZ, 1, infile) != 1) { in ivf_read_frame() 79 if (!feof(infile)) warn("Failed to read frame size\n"); 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/google-breakpad/src/common/tests/ |
D | file_utils.cc | 45 int infile = HANDLE_EINTR(open(from_path, O_RDONLY)); in CopyFile() local 46 if (infile < 0) { in CopyFile() 54 if (IGNORE_EINTR(close(infile)) < 0) { in CopyFile() 64 ssize_t bytes_read = HANDLE_EINTR(read(infile, buffer, sizeof(buffer))); in CopyFile() 87 if (IGNORE_EINTR(close(infile)) == -1) { in CopyFile()
|
/external/pcre/dist2/ |
D | perltest.sh | 90 $infile = "INFILE"; 96 $infile = "INFILE"; 115 last if ! ($_ = <$infile>); 124 last if ! ($_ = <$infile>); 179 last if ! ($_ = <$infile>); 205 last NEXT_RE if ! ($_ = <$infile>);
|