/external/libjpeg-turbo/ |
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 | 78 pbm_getc (FILE * infile) in pbm_getc() argument 84 ch = getc(infile); in pbm_getc() 87 ch = getc(infile); in pbm_getc() 95 read_pbm_integer (j_compress_ptr cinfo, FILE * infile, int maxval) in read_pbm_integer() argument 106 ch = pbm_getc(infile); in read_pbm_integer() 115 while ((ch = pbm_getc(infile)) >= '0' && ch <= '9') { in read_pbm_integer() 143 FILE * infile = source->pub.input_file; in get_text_gray_row() local 151 *ptr++ = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_gray_row() 162 FILE * infile = source->pub.input_file; in get_text_rgb_row() local 170 *ptr++ = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_rgb_row() [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/pcre/dist/ |
D | perltest.pl | 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"; 124 if ($infile != "STDIN") 128 last if ! ($_ = <$infile>); [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/chromium-trace/catapult/third_party/gsutil/third_party/rsa/tests/ |
D | test_varblock.py | 19 infile = BytesIO(encoded) 21 (decoded, read) = varblock.read_varint(infile) 28 self.assertEqual(b('crummy'), infile.read()) 33 infile = BytesIO(encoded) 35 (decoded, read) = varblock.read_varint(infile) 42 self.assertEqual(b('crummy'), infile.read()) 69 infile = BytesIO(b('\x01\x0512345\x06Sybren')) 71 varblocks = list(varblock.yield_varblocks(infile)) 78 infile = BytesIO(b('123456Sybren')) 80 fixedblocks = list(varblock.yield_fixedblocks(infile, 6))
|
/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/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/ |
D | varblock.py | 42 def read_varint(infile): argument 58 char = infile.read(1) 103 def yield_varblocks(infile): argument 112 first_char = infile.read(1) 121 (block_size, read_bytes) = read_varint(infile) 127 block = infile.read(block_size) 137 def yield_fixedblocks(infile, blocksize): argument 145 block = infile.read(blocksize)
|
D | bigfile.py | 45 def encrypt_bigfile(infile, outfile, pub_key): argument 64 for block in varblock.yield_fixedblocks(infile, blocksize): 70 def decrypt_bigfile(infile, outfile, priv_key): argument 82 for block in varblock.yield_varblocks(infile):
|
/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/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/libvpx/libvpx/examples/ |
D | twopass_encoder.c | 130 FILE *infile, in pass0() argument 141 while (vpx_img_read(raw, infile)) { in pass0() 159 FILE *infile, in pass1() argument 181 while (vpx_img_read(raw, infile)) { in pass1() 200 FILE *infile = NULL; in main() local 247 if (!(infile = fopen(infile_arg, "rb"))) in main() 252 stats = pass0(&raw, infile, encoder, &cfg); in main() 255 rewind(infile); in main() 258 pass1(&raw, infile, outfile_arg, encoder, &cfg); in main() 262 fclose(infile); in main()
|
/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/libvpx/libvpx/ |
D | ivfdec.c | 72 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/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/opencv3/samples/tapi/ |
D | clahe.cpp | 47 string infile = cmd.get<string>("i"), outfile = cmd.get<string>("o"); in main() local 66 if(infile != "") in main() 68 imread(infile).copyTo(frame); in main() 71 cout << "error read image: " << infile << endl; in main() 88 imread(infile).copyTo(frame); in main()
|
/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/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() 159 Sections[SectionsRead].Offset = ftell(infile); in ReadJpegSections() 162 lh = fgetc(infile); in ReadJpegSections() 163 ll = fgetc(infile); in ReadJpegSections() 187 got = fread(Data+2, 1, itemlen-2, infile); // Read the whole section. in ReadJpegSections() 203 cp = ftell(infile); in ReadJpegSections() 204 fseek(infile, 0, SEEK_END); in ReadJpegSections() [all …]
|