Home
last modified time | relevance | path

Searched refs:Inode (Results 1 – 6 of 6) sorted by relevance

/system/iorap/src/inode2filename/
Dinode.h26 struct Inode { struct
31 static bool Parse(const std::string& str, /*out*/Inode* out, /*out*/std::string* error_msg); argument
33 bool operator==(const Inode& rhs) const {
39 bool operator!=(const Inode& rhs) const {
44 inline std::ostream& operator<<(std::ostream& os, const Inode& inode) {
53 struct hash<iorap::inode2filename::Inode> {
54 using argument_type = iorap::inode2filename::Inode;
Dsearch_directories.h33 Inode inode;
38 static InodeResult makeSuccess(Inode inode, std::string filename) { in makeSuccess()
42 static InodeResult makeFailure(Inode inode, int err_no) { in makeFailure()
102 std::vector<Inode> inode_list,
128 std::vector<Inode> inode_list,
Dsearch_directories.cc78 std::unordered_multimap<ino_t, Inode>::iterator begin_, end_;
90 [](const std::pair<const ino_t, Inode>& pair) { in IterateValues()
101 static InodeSet OfList(const std::vector<Inode>& list) { in OfList()
103 std::unordered_multimap<ino_t, Inode>* map = &new_inode_set.set_; in OfList()
105 for (const Inode& inode : list) { in OfList()
123 std::optional<Inode> FindAndRemoveInodeInList(ValueRange inode_list, in FindAndRemoveInodeInList()
130 [&](const std::pair<ino_t, Inode>& pair) { in FindAndRemoveInodeInList()
131 const Inode& inode = pair.second; in FindAndRemoveInodeInList()
152 const Inode& inode = found->second; in FindAndRemoveInodeInList()
180 std::unordered_multimap<ino_t, Inode> set_; // TODO: Rename to map_.
[all …]
Dinode.cc31 bool Inode::Parse(const std::string& str, Inode* out, std::string* error_msg) { in Parse()
Dmain.cc49 std::vector<Inode> inode_list; in main()
74 Inode maybe_inode{}; in main()
77 if (Inode::Parse(argstr, /*out*/&maybe_inode, /*out*/&error_msg)) { in main()
/system/iorap/tests/src/inode2filename/
Dsearch_directories_test.cc1291 Inode inode;
1294 static std::vector<PathEntry> Zip(std::vector<Inode>& inodes, std::vector<std::string>& paths) { in Zip()
1406 static std::vector<Inode> ParseInodes(std::vector<std::string> inode_strings) { in ParseInodes()
1407 std::vector<Inode> results; in ParseInodes()
1410 Inode inode; in ParseInodes()
1413 bool inode_parse_succeeded = Inode::Parse(s, /*out*/&inode, /*out*/&error_msg); in ParseInodes()
2425 std::vector<Inode> inodes = ParseInodes(inode_values); in CreateFakePathEntries()
2448 Inode inode = maybe_path_entry->inode; in stat()
2679 std::vector<Inode> search_inodes;
2765 auto MakeAllFailInodes(std::vector<std::string> root_dirs, std::vector<Inode> inodes) { in MakeAllFailInodes()
[all …]