Home | History | Annotate | Download | only in gn

Lines Matching refs:label

21   LabelPtrPair() : label(), ptr(NULL), origin(NULL) {}
23 explicit LabelPtrPair(const Label& l) : label(l), ptr(NULL), origin(NULL) {
26 // This contructor is typically used in unit tests, it extracts the label
28 explicit LabelPtrPair(const T* p) : label(p->label()), ptr(p), origin(NULL) {
33 Label label;
46 // To do a brute-force search by label:
47 // std::find_if(vect.begin(), vect.end(), LabelPtrLabelEquals<Config>(label));
49 struct LabelPtrLabelEquals : public std::unary_function<Label, bool> {
50 explicit LabelPtrLabelEquals(const Label& l) : label(l) {}
53 return arg.label == label;
56 const Label& label;
72 // To sort by label:
79 return a.label < b.label;