Lines Matching refs:Dummy
67 struct Dummy { struct
72 static bool LessP(Dummy* const& a, Dummy* const& b) { return a->fPriority < b->fPriority; } in LessP() argument
73 static int* PQIndex(Dummy* const& dummy) { return &dummy->fIndex; } in PQIndex() argument
75 bool operator== (const Dummy& that) const { in operator ==() argument
78 bool operator!= (const Dummy& that) const { return !(*this == that); } in operator !=() argument
83 static const Dummy kSentinel = {-1, -1, -1}; in random_test()
88 SkTDArray<Dummy> array; in random_test()
91 Dummy* dummy = array.append(); in random_test()
102 SkTDPQueue<Dummy*, Dummy::LessP, Dummy::PQIndex> pq; in random_test()
115 Dummy* top = pq.peek(); in random_test()
124 Dummy* top = pq.peek(); in random_test()