Home
last modified time | relevance | path

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

/external/clang/tools/c-index-test/
Dc-index-test.c133 FILE *to_file; in parse_remapped_files() local
145 to_file = fopen(semi + 1, "rb"); in parse_remapped_files()
146 if (!to_file) { in parse_remapped_files()
156 fseek(to_file, 0, SEEK_END); in parse_remapped_files()
157 unsaved->Length = ftell(to_file); in parse_remapped_files()
158 fseek(to_file, 0, SEEK_SET); in parse_remapped_files()
162 if (fread(contents, 1, unsaved->Length, to_file) != unsaved->Length) { in parse_remapped_files()
164 (feof(to_file) ? "EOF" : "error"), semi + 1); in parse_remapped_files()
165 fclose(to_file); in parse_remapped_files()
176 fclose(to_file); in parse_remapped_files()
/external/llvm/lib/Support/Unix/
DPathV2.inc147 int from_file = -1, to_file = -1;
165 if ((to_file = ::open(t.begin(), to_flags, from_stat.st_mode)) < 0)
167 AutoFD to_fd(to_file);