Searched refs:LabelPtrPair (Results 1 - 14 of 14) sorted by relevance
/third_party/gn/src/gn/ |
H A D | label_ptr.h | 24 struct LabelPtrPair { struct 27 LabelPtrPair() = default; 29 explicit LabelPtrPair(const Label& l) : label(l) {} in LabelPtrPair() function 33 explicit LabelPtrPair(const T* p) : label(p->label()), ptr(p) {} in LabelPtrPair() function 35 ~LabelPtrPair() = default; 47 using LabelConfigPair = LabelPtrPair<Config>; 48 using LabelTargetPair = LabelPtrPair<Target>; 59 inline bool operator==(const LabelPtrPair<T>& a, const LabelPtrPair<T>& b) { in operator ==() 64 inline bool operator<(const LabelPtrPair< [all...] |
H A D | tool.h | 216 const LabelPtrPair<Pool>& pool() const { return pool_; } in pool() 217 void set_pool(LabelPtrPair<Pool> pool) { pool_ = std::move(pool); } in set_pool() 269 LabelPtrPair<Pool>* field, 296 LabelPtrPair<Pool> pool_;
|
H A D | ninja_build_writer_unittest.cc | 101 ->set_pool(LabelPtrPair<Pool>(&other_regular_pool)); in TEST_F() 117 target_baz.set_pool(LabelPtrPair<Pool>(&another_regular_pool)); in TEST_F() 126 ->set_pool(LabelPtrPair<Pool>(&console_pool)); in TEST_F()
|
H A D | target.h | 321 const LabelPtrPair<Pool>& pool() const { return pool_; } in pool() 322 void set_pool(LabelPtrPair<Pool> pool) { pool_ = std::move(pool); } in set_pool() 543 LabelPtrPair<Pool> pool_;
|
H A D | value_extractors.cc | 228 // Fills the label part of a LabelPtrPair, if it is a cross-component dependency, mapping is required. 239 bool operator()(const Value& v, LabelPtrPair<T>* out, int &whole_status, Err* err) const { in operator ()() 273 // Fills the label part of a LabelPtrPair, leaving the pointer null. 282 bool operator()(const Value& v, LabelPtrPair<T>* out, Err* err) const { in operator ()() 295 // Fills the label part of a LabelPtrPair, leaving the pointer null. 304 bool operator()(const Value& v, LabelPtrPair<T>* out, int &whole_status, Err* err) const in operator ()()
|
H A D | action_target_generator.cc | 211 LabelPtrPair<Pool> pair(label); in FillPool()
|
H A D | tool.cc | 161 LabelPtrPair<Pool>* field, in ReadLabel() 175 LabelPtrPair<Pool> pair(label); in ReadLabel()
|
H A D | binary_target_generator.cc | 251 LabelPtrPair<Pool> pair(label); in FillPool()
|
H A D | builder.cc | 593 target->set_pool(LabelPtrPair<Pool>(record->item()->AsPool())); in ResolvePool() 613 tool.second->set_pool(LabelPtrPair<Pool>(record->item()->AsPool())); in ResolvePools()
|
H A D | ninja_action_target_writer_unittest.cc | 94 target.set_pool(LabelPtrPair<Pool>(&pool)); in TEST() 440 target.set_pool(LabelPtrPair<Pool>(&pool)); in TEST()
|
H A D | analyzer_unittest.cc | 483 t->set_pool(LabelPtrPair<Pool>(p.get()));
|
H A D | analyzer.cc | 260 const LabelPtrPair<Pool>& pool = item->AsTarget()->pool(); in Analyzer()
|
H A D | ninja_build_writer.cc | 393 const LabelPtrPair<Pool>& pool = target->pool(); in WriteAllPools()
|
H A D | ninja_rust_binary_target_writer_unittest.cc | 1934 target.set_pool(LabelPtrPair<Pool>(&pool)); in TEST_F()
|
Completed in 12 milliseconds