Searched defs:infile (Results 1 - 25 of 72) sorted by relevance

123

/external/v8/build/linux/
H A Ddump_app_syms.py19 infile = sys.argv[3] variable
24 os.stat(outfile).st_mtime > os.stat(infile).st_mtime:
26 subprocess.check_call([dumpsyms, '-r', infile], stdout=outfileobj)
29 subprocess.check_call(['strip', infile])
/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/icu/icu4c/source/test/iotest/
H A Dtrnstst.c120 FILE *infile; local
186 infile = fopen(STANDARD_TEST_FILE, "rb");
187 if(infile == NULL)
193 len=fread(ubuf, sizeof(UChar), u_strlen(compare), infile);
215 fclose(infile);
/external/libvpx/libvpx/
H A Divfdec.c72 int ivf_read_frame(FILE *infile, uint8_t **buffer, argument
77 if (fread(raw_header, IVF_FRAME_HDR_SZ, 1, infile) != 1) {
78 if (!feof(infile))
101 if (!feof(infile)) {
102 if (fread(*buffer, 1, frame_size, infile) != frame_size) {
/external/vboot_reference/futility/
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);
H A Dcmd_load_fmap.c93 char *infile = 0; local
138 infile = argv[optind++];
142 futil_copy_file_or_die(infile, outfile);
144 outfile = infile;
159 fprintf(stderr, "Can't find an FMAP in %s\n", infile);
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 Ddump_kernel_config_lib.c134 char *FindKernelConfig(const char *infile, uint64_t kernel_body_load_address) argument
138 int fd = open(infile, O_RDONLY | O_CLOEXEC | O_LARGEFILE);
140 VbExError("Cannot open %s\n", infile);
150 VbExError("Cannot stat %s\n", infile);
156 ctx = mtd_read_descriptor(fd, infile);
158 VbExError("Cannot read from MTD device %s\n", infile);
/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/libjpeg-turbo/
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);
H A Djdatasrc.c31 FILE * infile; /* source stream */ member in struct:__anon9881
106 nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE);
216 jpeg_stdio_src (j_decompress_ptr cinfo, FILE * infile) argument
243 src->infile = infile;
H A Drdcolmap.c79 read_gif_map (j_decompress_ptr cinfo, FILE * infile) argument
88 if ((header[i] = getc(infile)) == EOF)
104 R = getc(infile);
105 G = getc(infile);
106 B = getc(infile);
121 pbm_getc (FILE * infile) argument
127 ch = getc(infile);
130 ch = getc(infile);
138 read_pbm_integer (j_decompress_ptr cinfo, FILE * infile) argument
149 ch = pbm_getc(infile);
171 read_ppm_map(j_decompress_ptr cinfo, FILE * infile) argument
231 read_color_map(j_decompress_ptr cinfo, FILE * infile) argument
[all...]
H A Drdppm.c78 pbm_getc (FILE * infile) argument
84 ch = getc(infile);
87 ch = getc(infile);
95 read_pbm_integer (j_compress_ptr cinfo, FILE * infile, int maxval) argument
106 ch = pbm_getc(infile);
115 while ((ch = pbm_getc(infile)) >= '0' && ch <= '9') {
143 FILE * infile = source->pub.input_file; local
151 *ptr++ = rescale[read_pbm_integer(cinfo, infile, maxval)];
162 FILE * infile = source->pub.input_file; local
170 *ptr++ = rescale[read_pbm_integer(cinfo, infile, maxva
[all...]
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3filestream.c355 ANTLR3_FDSC infile; local
360 infile = antlr3Fopen(fileName, "rb");
364 if (infile == NULL)
388 antlr3Fread(infile, fSize, input->data);
392 antlr3Fclose(infile);
/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);
H A Dreadpng.c88 int readpng_init(FILE *infile, ulg *pWidth, ulg *pHeight) argument
96 fread(sig, 1, 8, infile);
129 png_init_io(png_ptr, infile);
/external/libvpx/libvpx/examples/
H A Dvp8cx_set_ref.c62 fprintf(stderr, "Usage: %s <width> <height> <infile> <outfile> <frame>\n",
100 FILE *infile = NULL; local
161 if (!(infile = fopen(argv[3], "rb")))
168 while (vpx_img_read(&raw, infile)) {
184 fclose(infile);
H A Dvp9_lossless_encoder.c26 fprintf(stderr, "Usage: %s <width> <height> <infile> <outfile>\n", exec_name);
63 FILE *infile = NULL; local
116 if (!(infile = fopen(argv[3], "rb")))
126 while (vpx_img_read(&raw, infile)) {
134 fclose(infile);
H A Dset_maps.c59 fprintf(stderr, "Usage: %s <codec> <width> <height> <infile> <outfile>\n",
161 FILE *infile = NULL; local
220 if (!(infile = fopen(argv[4], "rb")))
227 while (vpx_img_read(&raw, infile)) {
245 fclose(infile);
H A Dsimple_encoder.c111 "Usage: %s <codec> <width> <height> <infile> <outfile> "
151 FILE *infile = NULL; local
228 if (!(infile = fopen(infile_arg, "rb")))
235 while (vpx_img_read(&raw, infile)) {
246 fclose(infile);
/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/curl/src/
H A Dtool_sdecls.h107 char *infile; /* file to upload, if GETOUT_UPLOAD is set */ member in struct:getout
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
H A DCodeMangler.java310 public boolean processFile(File infile, File outfile) { argument
358 InputStream instream = new FileInputStream(infile);
368 long expectLastModified = ((infile.lastModified() + 999)/1000)*1000;
379 if (verbose) System.out.println("no changes necessary to " + infile.getCanonicalPath());
/external/libpcap/tests/
H A Dfiltertest.c187 char *infile; local
210 infile = NULL;
228 infile = optarg;
275 if (infile)
276 cmdbuf = read_infile(infile);
/external/libvorbis/vq/
H A Dhuffbuild.c64 char *infile; local
73 infile=strdup(argv[1]);
74 base=strdup(infile);
105 file=fopen(infile,"r");
107 fprintf(stderr,"Could not open file %s\n",infile);

Completed in 684 milliseconds

123