Home
last modified time | relevance | path

Searched refs:to_file (Results 1 – 3 of 3) sorted by relevance

/external/clang/tools/c-index-test/
Dc-index-test.c102 FILE *to_file; in parse_remapped_files() local
114 to_file = fopen(semi + 1, "rb"); in parse_remapped_files()
115 if (!to_file) { in parse_remapped_files()
125 fseek(to_file, 0, SEEK_END); in parse_remapped_files()
126 unsaved->Length = ftell(to_file); in parse_remapped_files()
127 fseek(to_file, 0, SEEK_SET); in parse_remapped_files()
131 if (fread(contents, 1, unsaved->Length, to_file) != unsaved->Length) { in parse_remapped_files()
133 (feof(to_file) ? "EOF" : "error"), semi + 1); in parse_remapped_files()
134 fclose(to_file); in parse_remapped_files()
144 fclose(to_file); in parse_remapped_files()
/external/pcre/
Dpcretest.c1401 unsigned char *to_file = NULL; in main() local
1640 to_file = pp; in main()
2073 if (to_file != NULL) in main()
2075 FILE *f = fopen((char *)to_file, "wb"); in main()
2078 fprintf(outfile, "Unable to open %s: %s\n", to_file, strerror(errno)); in main()
2096 fprintf(outfile, "Write error on %s: %s\n", to_file, strerror(errno)); in main()
2100 fprintf(outfile, "Compiled regex written to %s\n", to_file); in main()
2106 fprintf(outfile, "Write error on %s: %s\n", to_file, in main()
2109 else fprintf(outfile, "Study data written to %s\n", to_file); in main()
/external/llvm/lib/Support/Unix/
DPathV2.inc124 int from_file = -1, to_file = -1;
142 if ((to_file = ::open(t.begin(), to_flags, from_stat.st_mode)) < 0)
144 AutoFD to_fd(to_file);