Searched refs:file_path (Results 1 - 4 of 4) sorted by relevance

/bionic/tools/versioner/src/
H A DVFS.cpp51 const char* file_path = ent->fts_accpath; local
52 unique_fd fd(open(file_path, O_RDONLY | O_CLOEXEC));
54 err(1, "failed to open header '%s'", file_path);
57 auto buffer_opt = llvm::MemoryBuffer::getOpenFile(fd, file_path, -1, false, false);
59 errx(1, "failed to map header '%s'", file_path);
62 if (!vfs->addFile(file_path, ent->fts_statp->st_mtime, std::move(buffer_opt.get()))) {
63 errx(1, "failed to add file '%s'", file_path);
H A DPreprocessor.cpp475 llvm::StringRef file_path = file_it.first; local
483 loc.end = findNextSemicolon(file_lines[file_path], loc.end);
489 mergeGuards(file_lines[file_path], guard_map);
491 if (!file_path.startswith(src_dir)) {
492 errx(1, "input file %s is not in %s\n", file_path.str().c_str(), src_dir.c_str());
496 llvm::StringRef rel_path = file_path.substr(src_dir.size(), file_path.size() - src_dir.size());
499 rewriteFile(output_path, file_lines[file_path], guard_map);
/bionic/libc/tools/
H A Dgensyscalls.py511 def parse_file(self, file_path):
512 logging.debug("parse_file: %s" % file_path)
513 with open(file_path) as fp:
/bionic/linker/
H A Dlinker.cpp955 const char* file_path = &buf[separator - path + 2]; local
970 if (FindEntry(handle, ZipString(file_path), &entry) != 0) {

Completed in 292 milliseconds