/third_party/ninja/src/ |
D | util_test.cc | 179 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 …]
|
D | manifest_parser.cc | 195 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 …]
|
D | dyndep_parser.cc | 120 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()
|
D | state.cc | 96 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()
|
D | state.h | 104 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);
|
D | canon_perftest.cc | 37 uint64_t slash_bits; in main() local 39 CanonicalizePath(buf, &len, &slash_bits); in main()
|
D | graph.h | 40 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
|
D | util.h | 67 void CanonicalizePath(std::string* path, uint64_t* slash_bits); 68 void CanonicalizePath(char* path, size_t* len, uint64_t* slash_bits);
|
D | missing_deps.cc | 54 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()
|
D | clparser.cc | 108 uint64_t slash_bits; in Parse() local 109 CanonicalizePath(&normalized, &slash_bits); in Parse()
|
D | includes_normalize-win32.cc | 193 uint64_t slash_bits; in Normalize() local 194 CanonicalizePath(copy, &len, &slash_bits); in Normalize()
|
D | util.cc | 122 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()
|
D | graph.cc | 560 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()
|
D | clean.cc | 206 uint64_t slash_bits; in CleanTargets() local 207 CanonicalizePath(&target_name, &slash_bits); in CleanTargets()
|
D | manifest_parser_test.cc | 273 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()
|
D | ninja.cc | 263 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()
|
D | build.cc | 905 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()
|