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