Home
last modified time | relevance | path

Searched refs:slash_bits (Results 1 – 17 of 17) sorted by relevance

/third_party/ninja/src/
Dutil_test.cc179 uint64_t slash_bits; in TEST() local
182 CanonicalizePath(&path, &slash_bits); in TEST()
184 EXPECT_EQ(0, slash_bits); in TEST()
187 CanonicalizePath(&path, &slash_bits); in TEST()
189 EXPECT_EQ(1, slash_bits); in TEST()
192 CanonicalizePath(&path, &slash_bits); in TEST()
194 EXPECT_EQ(4, slash_bits); in TEST()
197 CanonicalizePath(&path, &slash_bits); in TEST()
199 EXPECT_EQ(5, slash_bits); in TEST()
202 CanonicalizePath(&path, &slash_bits); in TEST()
[all …]
Dmanifest_parser.cc195 uint64_t slash_bits; // Unused because this only does lookup. in ParseDefault() local
196 CanonicalizePath(&path, &slash_bits); in ParseDefault()
335 uint64_t slash_bits; in ParseEdge() local
336 CanonicalizePath(&path, &slash_bits); in ParseEdge()
337 if (!state_->AddOut(edge, path, slash_bits)) { in ParseEdge()
368 uint64_t slash_bits; in ParseEdge() local
369 CanonicalizePath(&path, &slash_bits); in ParseEdge()
370 state_->AddIn(edge, path, slash_bits); in ParseEdge()
381 uint64_t slash_bits; in ParseEdge() local
382 CanonicalizePath(&path, &slash_bits); in ParseEdge()
[all …]
Ddyndep_parser.cc120 uint64_t slash_bits; in ParseEdge() local
121 CanonicalizePath(&path, &slash_bits); in ParseEdge()
207 uint64_t slash_bits; in ParseEdge() local
208 CanonicalizePath(&path, &slash_bits); in ParseEdge()
209 Node* n = state_->GetNode(path, slash_bits); in ParseEdge()
219 uint64_t slash_bits; in ParseEdge() local
220 CanonicalizePath(&path, &slash_bits); in ParseEdge()
221 Node* n = state_->GetNode(path, slash_bits); in ParseEdge()
Dstate.cc96 Node* State::GetNode(StringPiece path, uint64_t slash_bits) { in GetNode() argument
100 node = new Node(path.AsString(), slash_bits); in GetNode()
129 void State::AddIn(Edge* edge, StringPiece path, uint64_t slash_bits) { in AddIn() argument
130 Node* node = GetNode(path, slash_bits); in AddIn()
135 bool State::AddOut(Edge* edge, StringPiece path, uint64_t slash_bits) { in AddOut() argument
136 Node* node = GetNode(path, slash_bits); in AddOut()
144 void State::AddValidation(Edge* edge, StringPiece path, uint64_t slash_bits) { in AddValidation() argument
145 Node* node = GetNode(path, slash_bits); in AddValidation()
Dstate.h104 Node* GetNode(StringPiece path, uint64_t slash_bits);
108 void AddIn(Edge* edge, StringPiece path, uint64_t slash_bits);
109 bool AddOut(Edge* edge, StringPiece path, uint64_t slash_bits);
110 void AddValidation(Edge* edge, StringPiece path, uint64_t slash_bits);
Dcanon_perftest.cc37 uint64_t slash_bits; in main() local
39 CanonicalizePath(buf, &len, &slash_bits); in main()
Dgraph.h40 Node(const std::string& path, uint64_t slash_bits) in Node()
42 slash_bits_(slash_bits), in Node()
92 uint64_t slash_bits);
93 uint64_t slash_bits() const { return slash_bits_; } in slash_bits() function
Dutil.h67 void CanonicalizePath(std::string* path, uint64_t* slash_bits);
68 void CanonicalizePath(char* path, size_t* len, uint64_t* slash_bits);
Dmissing_deps.cc54 uint64_t slash_bits; in ProcessDepfileDeps() local
55 CanonicalizePath(const_cast<char*>(i->str_), &i->len_, &slash_bits); in ProcessDepfileDeps()
56 Node* node = state_->GetNode(*i, slash_bits); in ProcessDepfileDeps()
Dclparser.cc108 uint64_t slash_bits; in Parse() local
109 CanonicalizePath(&normalized, &slash_bits); in Parse()
Dincludes_normalize-win32.cc193 uint64_t slash_bits; in Normalize() local
194 CanonicalizePath(copy, &len, &slash_bits); in Normalize()
Dutil.cc122 void CanonicalizePath(string* path, uint64_t* slash_bits) { in CanonicalizePath() argument
127 CanonicalizePath(str, &len, slash_bits); in CanonicalizePath()
139 void CanonicalizePath(char* path, size_t* len, uint64_t* slash_bits) { in CanonicalizePath() argument
229 *slash_bits = bits; in CanonicalizePath()
231 *slash_bits = 0; in CanonicalizePath()
Dgraph.cc560 string Node::PathDecanonicalized(const string& path, uint64_t slash_bits) { in PathDecanonicalized() argument
565 if (slash_bits & mask) in PathDecanonicalized()
694 uint64_t slash_bits; in ProcessDepfileDeps() local
695 CanonicalizePath(const_cast<char*>(i->str_), &i->len_, &slash_bits); in ProcessDepfileDeps()
696 Node* node = state_->GetNode(*i, slash_bits); in ProcessDepfileDeps()
Dclean.cc206 uint64_t slash_bits; in CleanTargets() local
207 CanonicalizePath(&target_name, &slash_bits); in CleanTargets()
Dmanifest_parser_test.cc273 EXPECT_EQ(1, node->slash_bits()); in TEST_F()
276 EXPECT_EQ(1, node->slash_bits()); in TEST_F()
326 EXPECT_EQ(0, node->slash_bits()); in TEST_F()
329 EXPECT_EQ(1, node->slash_bits()); in TEST_F()
Dninja.cc263 uint64_t slash_bits; // Unused because this path is only used for lookup. in RebuildManifest() local
264 CanonicalizePath(&path, &slash_bits); in RebuildManifest()
298 uint64_t slash_bits; in CollectTarget() local
299 CanonicalizePath(&path, &slash_bits); in CollectTarget()
330 "unknown target '" + Node::PathDecanonicalized(path, slash_bits) + "'"; in CollectTarget()
Dbuild.cc905 uint64_t slash_bits; in ExtractDeps() local
906 CanonicalizePath(const_cast<char*>(i->str_), &i->len_, &slash_bits); in ExtractDeps()
907 deps_nodes->push_back(state_->GetNode(*i, slash_bits)); in ExtractDeps()