Home
last modified time | relevance | path

Searched refs:newNode (Results 1 – 2 of 2) sorted by relevance

/hardware/msm7k/libgralloc/
Dallocator.h46 void insertAfter(NODE* node, NODE* newNode) { in insertAfter() argument
47 newNode->prev = node; in insertAfter()
48 newNode->next = node->next; in insertAfter()
49 if (node->next == 0) mLast = newNode; in insertAfter()
50 else node->next->prev = newNode; in insertAfter()
51 node->next = newNode; in insertAfter()
54 void insertBefore(NODE* node, NODE* newNode) { in insertBefore() argument
55 newNode->prev = node->prev; in insertBefore()
56 newNode->next = node; in insertBefore()
57 if (node->prev == 0) mFirst = newNode; in insertBefore()
[all …]
/hardware/msm7k/libgralloc-qsd8k/
Dallocator.h47 void insertAfter(NODE* node, NODE* newNode) { in insertAfter() argument
48 newNode->prev = node; in insertAfter()
49 newNode->next = node->next; in insertAfter()
50 if (node->next == 0) mLast = newNode; in insertAfter()
51 else node->next->prev = newNode; in insertAfter()
52 node->next = newNode; in insertAfter()
55 void insertBefore(NODE* node, NODE* newNode) { in insertBefore() argument
56 newNode->prev = node->prev; in insertBefore()
57 newNode->next = node; in insertBefore()
58 if (node->prev == 0) mFirst = newNode; in insertBefore()
[all …]