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

1234567

/external/vboot_reference/utility/include/
H A Dbmpblk_util.h10 int dump_bmpblock(const char *infile, int show_as_yaml,
/external/elfutils/tests/
H A Drun-strip-groups.sh45 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
H A Drun-strip-reloc.sh28 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"; statu
[all...]
H A Drun-compress-test.sh23 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/libjpeg-turbo/
H A Drdcolmap.c80 read_gif_map (j_decompress_ptr cinfo, FILE *infile) argument
89 if ((header[i] = getc(infile)) == EOF)
105 R = getc(infile);
106 G = getc(infile);
107 B = getc(infile);
122 pbm_getc (FILE *infile) argument
128 ch = getc(infile);
131 ch = getc(infile);
139 read_pbm_integer (j_decompress_ptr cinfo, FILE *infile) argument
150 ch = pbm_getc(infile);
172 read_ppm_map(j_decompress_ptr cinfo, FILE *infile) argument
232 read_color_map(j_decompress_ptr cinfo, FILE *infile) argument
[all...]
H A Dexample.c296 FILE *infile; /* source file */ local
306 if ((infile = fopen(filename, "rb")) == NULL) {
322 fclose(infile);
330 jpeg_stdio_src(&cinfo, infile);
399 fclose(infile);
/external/xmlrpcpp/test/
H A DTestBase64Server.cpp29 std::ifstream infile("pngnow.png", std::ios::binary);
30 if (infile.fail())
31 infile.open("../pngnow.png", std::ios::binary);
32 if (infile.fail())
39 char c = infile.get();
40 if (infile.eof()) break;
H A DFileClient.cpp28 std::ifstream infile(argv[3]);
29 if (infile.fail()) {
35 infile.seekg(0L, std::ios::end);
36 long nb = infile.tellg();
37 infile.clear();
38 infile.seekg(0L);
40 infile.read(b, nb);
/external/vboot_reference/futility/
H A Dcmd_vbutil_key.c49 " --key <infile> RSA key file (.keyb or .pem)\n"
62 "Usage: " MYNAME " %s --unpack <infile>\n"
70 static int Pack(const char *infile, const char *outfile, uint64_t algorithm, argument
76 if (!infile || !outfile) {
81 pubkey = PublicKeyReadKeyb(infile, algorithm, version);
91 privkey = PrivateKeyReadPem(infile, algorithm);
101 VbExError("Unable to parse either .keyb or .pem from %s\n", infile);
106 static int Unpack(const char *infile, const char *outfile) argument
111 if (!infile) {
116 pubkey = PublicKeyRead(infile);
167 char *infile = NULL; local
[all...]
H A Dcmd_dump_kernel_config.c34 char *infile = NULL; local
68 infile = argv[optind];
75 if (!infile || !*infile) {
80 config = FindKernelConfig(infile, kernel_body_load_address);
/external/libvpx/libvpx/
H A Divfdec.h21 int ivf_read_frame(FILE *infile, uint8_t **buffer, size_t *bytes_read,
H A Divfdec.c73 int ivf_read_frame(FILE *infile, uint8_t **buffer, size_t *bytes_read, argument
78 if (fread(raw_header, IVF_FRAME_HDR_SZ, 1, infile) != 1) {
79 if (!feof(infile)) warn("Failed to read frame size\n");
101 if (!feof(infile)) {
102 if (fread(*buffer, 1, frame_size, infile) != frame_size) {
/external/bzip2/
H A Dformat.pl24 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
34 die "Can't input $infile
[all...]
/external/libpng/contrib/gregbook/
H A Dreadppm.c81 int readpng_init(FILE *infile, ulg *pWidth, ulg *pHeight) argument
87 saved_infile = infile;
89 fgets(ppmline, 256, infile);
107 fgets(ppmline, 256, infile);
112 fgets(ppmline, 256, infile);
/external/ltp/tools/
H A Drand_lines.c76 * array. The array is then processed sequentially. The infile's
78 * This output will thus be infile's lines in random order.
121 int rnd_file(FILE * infile, int numlines, long seed);
122 int get_numlines(FILE * infile);
139 FILE *infile; local
196 infile = stdin;
202 if ((infile = fopen(argv[argc - 1], "r")) == NULL) {
209 lsize = get_numlines(infile);
212 rnd_file(infile, lsize, seed);
247 int get_numlines(FILE *infile) argument
270 rnd_file(FILE *infile, int numlines, long seed) argument
410 rnd_stdin(FILE *infile, int space, int numlines, long seed) argument
[all...]
/external/selinux/libselinux/src/
H A Dmatchmediacon.c17 FILE *infile; local
21 if ((infile = fopen(path, "r")) == NULL)
23 while (!feof_unlocked(infile)) {
24 if (!fgets_unlocked(current_line, sizeof(current_line), infile)) {
50 fclose(infile);
/external/libjpeg-turbo/simd/
H A Dnasm_lt.sh3 infile=""
44 infile=$1
56 outfile="-o `echo $infile | sed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.o"
/external/ltp/testcases/kernel/io/direct_io/
H A Ddiotest1.c26 * diotest1 [-b bufsize] [-n numblks] [-i infile] [-o outfile]
55 static char infile[LEN]; /* Input file. Default "infile" */ variable
65 "Usage: diotest1 [-b bufsize] [-n numblks] [-i infile] [-o outfile]\n");
87 strcpy(infile, "infile"); /* Default input file */
109 strcpy(infile, optarg);
122 int fd = open(infile, O_DIRECT | O_RDWR | O_CREAT, 0666);
129 fd1 = SAFE_OPEN(cleanup, infile, O_DIRECT | O_RDWR | O_CREAT, 0666);
143 /* Copy infile t
[all...]
/external/google-breakpad/src/common/tests/
H A Dfile_utils.cc45 int infile = HANDLE_EINTR(open(from_path, O_RDONLY)); local
46 if (infile < 0) {
54 if (IGNORE_EINTR(close(infile)) < 0) {
64 ssize_t bytes_read = HANDLE_EINTR(read(infile, buffer, sizeof(buffer)));
87 if (IGNORE_EINTR(close(infile)) == -1) {
/external/toybox/toys/posix/
H A Duniq.c63 FILE *infile = stdin, *outfile = stdout; local
67 if (toys.optc >= 1) infile = xfopen(toys.optargs[0], "r");
73 if (getdelim(&prevline, &prevsize, eol, infile) < 0)
76 while (getdelim(&thisline, &thissize, eol, infile) > 0) {
117 if (infile != stdin) fclose(infile);
/external/openssh/
H A Dfixprogs33 @infile=<IN>;
37 foreach (@infile) {
/external/parameter-framework/upstream/tools/xmlGenerator/
H A DhostConfig.py35 def configure(infile=sys.stdin, outfile=sys.stdout, serverPort=None, structPath=None):
41 dom = xml.dom.minidom.parse(infile)
/external/deqp/scripts/src_util/
H A Dpre_commit.py88 def check_external_guards (infile):
89 contents = infile.read()
92 croak(infile.name, lineno, "External include guard")
/external/pcre/dist2/
H A Dperltest.sh90 $infile = "INFILE";
96 $infile = "INFILE";
115 last if ! ($_ = <$infile>);
124 last if ! ($_ = <$infile>);
179 last if ! ($_ = <$infile>);
205 last NEXT_RE if ! ($_ = <$infile>);
/external/syslinux/lzo/
H A Dprepcore.c175 lzo_bytep infile; local
235 infile = xzalloc(infile_len);
237 infile_len = fread(infile, 1, infile_len, f);
243 prefix = (struct prefix *)infile;
246 in = infile + offset;
325 set_32((uint32_t *) (infile + soff), out_len);
335 csum += get_32((uint32_t *) (infile + ptr));
339 set_32((uint32_t *) (infile + soff), offset - start + outfile_len);
340 set_32((uint32_t *) (infile + soff + 4), csum);
354 if (fwrite(infile
[all...]

Completed in 1535 milliseconds

1234567