Searched refs:mFirst (Results 1 – 2 of 2) sorted by relevance
36 NODE* mFirst; variable40 LinkedList() : mFirst(0), mLast(0) { } in LinkedList()41 bool isEmpty() const { return mFirst == 0; } in isEmpty()42 NODE const* head() const { return mFirst; } in head()43 NODE* head() { return mFirst; } in head()58 if (node->prev == 0) mFirst = newNode; in insertBefore()64 if (mFirst == 0) { in insertHead()65 mFirst = mLast = newNode; in insertHead()69 newNode->next = mFirst; in insertHead()70 mFirst->prev = newNode; in insertHead()[all …]
35 NODE* mFirst; variable39 LinkedList() : mFirst(0), mLast(0) { } in LinkedList()40 bool isEmpty() const { return mFirst == 0; } in isEmpty()41 NODE const* head() const { return mFirst; } in head()42 NODE* head() { return mFirst; } in head()57 if (node->prev == 0) mFirst = newNode; in insertBefore()63 if (mFirst == 0) { in insertHead()64 mFirst = mLast = newNode; in insertHead()68 newNode->next = mFirst; in insertHead()69 mFirst->prev = newNode; in insertHead()[all …]