Lines Matching refs:d
136 Entry d("d", 4, kBetaType), e("e", 5, kAlphaType), f("f", 6, kBetaType); in TestLinkedList() local
162 SuccessOrQuit(list.Add(d)); in TestLinkedList()
163 VerifyLinkedListContent(&list, &d, &c, &b, &a, nullptr); in TestLinkedList()
166 VerifyLinkedListContent(&list, &e, &d, &c, &b, &a, nullptr); in TestLinkedList()
170 VerifyOrQuit(list.Add(d) == kErrorAlready, "did not detect duplicate"); in TestLinkedList()
174 VerifyLinkedListContent(&list, &d, &c, &b, &a, nullptr); in TestLinkedList()
177 VerifyOrQuit(list.FindMatching(d.GetName(), prev) == &d); in TestLinkedList()
180 VerifyOrQuit(prev == &d); in TestLinkedList()
189 VerifyLinkedListContent(&list, &e, &d, &c, &b, &a, nullptr); in TestLinkedList()
192 VerifyLinkedListContent(&list, &e, &d, &b, &a, nullptr); in TestLinkedList()
195 VerifyLinkedListContent(&list, &e, &d, &b, &a, nullptr); in TestLinkedList()
199 VerifyLinkedListContent(&list, &d, &b, &a, nullptr); in TestLinkedList()
203 VerifyLinkedListContent(&list, &d, &b, nullptr); in TestLinkedList()
209 VerifyLinkedListContent(&list, &e, &c, &a, &d, &b, nullptr); in TestLinkedList()
211 VerifyOrQuit(list.PopAfter(&a) == &d); in TestLinkedList()
223 list.PushAfter(d, a); in TestLinkedList()
224 VerifyLinkedListContent(&list, &e, &a, &d, &b, &c, nullptr); in TestLinkedList()
227 VerifyLinkedListContent(&list, &a, &d, &b, &c, nullptr); in TestLinkedList()
230 VerifyLinkedListContent(&list, &d, &b, &c, nullptr); in TestLinkedList()
234 VerifyLinkedListContent(&list, &a, &e, &d, &b, &c, nullptr); in TestLinkedList()
237 VerifyLinkedListContent(&list, &e, &d, &b, &c, nullptr); in TestLinkedList()
240 VerifyLinkedListContent(&list, &e, &d, &b, nullptr); in TestLinkedList()
245 VerifyOrQuit(list.RemoveMatching(d.GetId()) == &d); in TestLinkedList()
262 list.Push(d); in TestLinkedList()
266 VerifyLinkedListContent(&list, &a, &b, &c, &d, &e, &f, nullptr); in TestLinkedList()
269 VerifyLinkedListContent(&list, &c, &d, &f, nullptr); in TestLinkedList()
274 VerifyLinkedListContent(&list, &c, &d, &f, nullptr); in TestLinkedList()
279 VerifyLinkedListContent(&removedList, &f, &d, &c, nullptr); in TestLinkedList()
288 list.Push(d); in TestLinkedList()
292 VerifyLinkedListContent(&list, &a, &b, &c, &d, &e, &f, nullptr); in TestLinkedList()
296 VerifyLinkedListContent(&removedList, &f, &d, &c, nullptr); in TestLinkedList()
305 list.PushAfterTail(d); in TestLinkedList()
306 VerifyLinkedListContent(&list, &a, &b, &c, &d, nullptr); in TestLinkedList()
312 Entry d("d", 4, kBetaType), e("e", 5, kAlphaType), f("f", 6, kBetaType); in TestOwningList() local
342 list.Push(d); in TestOwningList()
344 VerifyLinkedListContent(&list, &e, &d, &c, &b, &a, nullptr); in TestOwningList()
347 VerifyLinkedListContent(&list, &d, &c, &b, &a, nullptr); in TestOwningList()
351 VerifyLinkedListContent(&list, &d, &c, &a, nullptr); in TestOwningList()
355 VerifyLinkedListContent(&list, &d, &a, nullptr); in TestOwningList()
360 VerifyOrQuit(d.WasFreed()); in TestOwningList()
368 d.ResetTestFlags(); in TestOwningList()
373 list.Push(d); in TestOwningList()
375 VerifyLinkedListContent(&list, &e, &d, &c, &b, &a, nullptr); in TestOwningList()
378 VerifyLinkedListContent(&list, &e, &d, &c, &b, &a, nullptr); in TestOwningList()
383 VerifyOrQuit(ptr.Get() == &d); in TestOwningList()
384 VerifyOrQuit(!d.WasFreed()); in TestOwningList()
390 VerifyOrQuit(d.WasFreed()); in TestOwningList()
410 d.ResetTestFlags(); in TestOwningList()
416 list.Push(d); in TestOwningList()
419 VerifyLinkedListContent(&list, &f, &e, &d, &c, &b, &a, nullptr); in TestOwningList()
422 VerifyLinkedListContent(&list, &f, &d, &c, nullptr); in TestOwningList()
430 VerifyLinkedListContent(&list, &f, &d, &c, nullptr); in TestOwningList()
434 VerifyLinkedListContent(&removedList, &c, &d, &f, nullptr); in TestOwningList()