Searched refs:file_path (Results 1 – 8 of 8) sorted by relevance
/bionic/tools/versioner/src/ |
D | VFS.cpp | 51 const char* file_path = ent->fts_accpath; in addDirectoryToVFS() local 52 unique_fd fd(open(file_path, O_RDONLY | O_CLOEXEC)); in addDirectoryToVFS() 54 err(1, "failed to open header '%s'", file_path); in addDirectoryToVFS() 57 auto buffer_opt = llvm::MemoryBuffer::getOpenFile(fd, file_path, -1, false, false); in addDirectoryToVFS() 59 errx(1, "failed to map header '%s'", file_path); in addDirectoryToVFS() 62 if (!vfs->addFile(file_path, ent->fts_statp->st_mtime, std::move(buffer_opt.get()))) { in addDirectoryToVFS() 63 errx(1, "failed to add file '%s'", file_path); in addDirectoryToVFS()
|
D | SymbolFileParser.cpp | 54 : file_path(path), in SymbolFileParser() 121 file_path.c_str(), curr_line_num); in parseVersion() 138 file_path.c_str(), curr_line_num); in parseVersion() 173 file_path.c_str(), curr_line_num, visibility.c_str()); in parseVersion() 182 file_path.c_str(), curr_line_num); in parseVersion() 191 file_path.c_str(), curr_line_num); in parseVersion() 200 file_path.c_str(), curr_line_num, start_line_num); in parseVersion() 286 const std::string& file_path; member in __anon9c86abc20111::SymbolFileParser 300 std::optional<SymbolMap> parseSymbolFile(const std::string& file_path, in parseSymbolFile() argument 302 SymbolFileParser parser(file_path, type); in parseSymbolFile()
|
D | Preprocessor.cpp | 469 llvm::StringRef file_path = file_it.first; in preprocessHeaders() local 477 loc.end = findNextSemicolon(file_lines[file_path], loc.end); in preprocessHeaders() 483 mergeGuards(file_lines[file_path], guard_map); in preprocessHeaders() 485 if (!file_path.startswith(src_dir)) { in preprocessHeaders() 486 errx(1, "input file %s is not in %s\n", file_path.str().c_str(), src_dir.c_str()); in preprocessHeaders() 490 llvm::StringRef rel_path = file_path.substr(src_dir.size(), file_path.size() - src_dir.size()); in preprocessHeaders() 493 rewriteFile(output_path, file_lines[file_path], guard_map); in preprocessHeaders()
|
/bionic/libc/tools/ |
D | genfunctosyscallnrs.py | 14 def load_syscall_names_from_file(file_path, architecture): argument 16 parser.parse_open_file(open(file_path))
|
D | genseccomp.py | 34 def load_syscall_names_from_file(file_path, architecture): argument 36 parser.parse_open_file(open(file_path))
|
D | gensyscalls.py | 520 def parse_file(self, file_path): argument 521 logging.debug("parse_file: %s" % file_path) 522 with open(file_path) as fp:
|
/bionic/tests/ |
D | grp_pwd_test.cpp | 561 static void TestAidNamePrefix(const std::string& file_path) { in TestAidNamePrefix() argument 563 if (!ReadFileToString(file_path, &file_contents)) { in TestAidNamePrefix()
|
/bionic/linker/ |
D | linker.cpp | 1027 const char* file_path = &buf[separator - path + 2]; in open_library_in_zipfile() local 1042 if (FindEntry(handle, ZipString(file_path), &entry) != 0) { in open_library_in_zipfile()
|