Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 25 of 95) sorted by relevance

1234

/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dcam_list.h45 struct cam_list *next, *prev; member
51 ptr->prev = ptr; in cam_list_init()
57 struct cam_list *prev = head->prev; in cam_list_add_tail_node() local
59 head->prev = item; in cam_list_add_tail_node()
61 item->prev = prev; in cam_list_add_tail_node()
62 prev->next = item; in cam_list_add_tail_node()
69 item->prev = node->prev; in cam_list_insert_before_node()
70 item->prev->next = item; in cam_list_insert_before_node()
71 node->prev = item; in cam_list_insert_before_node()
76 struct cam_list *prev = ptr->prev; in cam_list_del_node() local
[all …]
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dlist.cpp35 list->prev = list; in INITIALISE_LIST()
39 struct list_head *prev, struct list_head *next) in list_add() argument
41 next->prev = latest; in list_add()
43 latest->prev = prev; in list_add()
44 prev->next = latest; in list_add()
54 list_add(latest, head->prev, head); in list_add_tail()
57 void list_del(struct list_head *prev, struct list_head *next) in list_del() argument
59 next->prev = prev; in list_del()
60 prev->next = next; in list_del()
65 list_del(record->prev, record->next); in del_from_list()
[all …]
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dlist.cpp35 list->prev = list; in INITIALISE_LIST()
39 struct list_head *prev, struct list_head *next) in list_add() argument
41 next->prev = latest; in list_add()
43 latest->prev = prev; in list_add()
44 prev->next = latest; in list_add()
54 list_add(latest, head->prev, head); in list_add_tail()
57 void list_del(struct list_head *prev, struct list_head *next) in list_del() argument
59 next->prev = prev; in list_del()
60 prev->next = next; in list_del()
65 list_del(record->prev, record->next); in del_from_list()
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/
Dlist.h49 struct list_head *prev; member
55 item->prev = item; in list_inithead()
67 item->prev = list; in list_add()
69 list->next->prev = item; in list_add()
82 item->prev = list->prev; in list_addtail()
83 list->prev->next = item; in list_addtail()
84 list->prev = item; in list_addtail()
94 to->prev = from->prev; in list_replace()
96 from->next->prev = to; in list_replace()
97 from->prev->next = to; in list_replace()
[all …]
Du_mm.c88 heap->prev = block; in u_mmInit()
94 block->prev = heap; in u_mmInit()
124 newblock->prev = p; in SliceBlock()
125 p->next->prev = newblock; in SliceBlock()
148 newblock->prev = p; in SliceBlock()
149 p->next->prev = newblock; in SliceBlock()
244 q->next->prev = p; in Join2Blocks()
277 if (b->prev != b->heap) in u_mmFreeMem()
278 Join2Blocks(b->prev); in u_mmFreeMem()
/hardware/google/gfxstream/guest/mesa/src/util/tests/
Drb_tree_test.cpp75 struct rb_test_node *prev = NULL; in validate_tree_order() local
88 assert(prev == NULL || prev < n); in validate_tree_order()
91 prev = n; in validate_tree_order()
96 prev = NULL; in validate_tree_order()
109 assert(prev == NULL || prev < n); in validate_tree_order()
112 prev = n; in validate_tree_order()
117 prev = NULL; in validate_tree_order()
130 assert(prev == NULL || prev > n); in validate_tree_order()
133 prev = n; in validate_tree_order()
138 prev = NULL; in validate_tree_order()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dts_parser.cpp61 phead->prev = ptemp->prev; in delete_list()
62 ptemp->prev->next = phead; in delete_list()
77 pcurrent = phead->prev; in get_current_list()
88 phead->prev = ptemp->prev; in update_head()
89 ptemp->prev->next = phead; in update_head()
106 phead->prev = phead->next = phead; in add_new_list()
114 ptemp->prev = phead->prev; in add_new_list()
116 phead->prev->next = ptemp; in add_new_list()
117 phead->prev = ptemp; in add_new_list()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp69 phead->prev = ptemp->prev; in delete_list()
70 ptemp->prev->next = phead; in delete_list()
87 pcurrent = phead->prev; in get_current_list()
100 phead->prev = ptemp->prev; in update_head()
101 ptemp->prev->next = phead; in update_head()
122 phead->prev = phead->next = phead; in add_new_list()
132 ptemp->prev = phead->prev; in add_new_list()
134 phead->prev->next = ptemp; in add_new_list()
135 phead->prev = ptemp; in add_new_list()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp69 phead->prev = ptemp->prev; in delete_list()
70 ptemp->prev->next = phead; in delete_list()
87 pcurrent = phead->prev; in get_current_list()
100 phead->prev = ptemp->prev; in update_head()
101 ptemp->prev->next = phead; in update_head()
122 phead->prev = phead->next = phead; in add_new_list()
132 ptemp->prev = phead->prev; in add_new_list()
134 phead->prev->next = ptemp; in add_new_list()
135 phead->prev = ptemp; in add_new_list()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp69 phead->prev = ptemp->prev; in delete_list()
70 ptemp->prev->next = phead; in delete_list()
87 pcurrent = phead->prev; in get_current_list()
100 phead->prev = ptemp->prev; in update_head()
101 ptemp->prev->next = phead; in update_head()
122 phead->prev = phead->next = phead; in add_new_list()
132 ptemp->prev = phead->prev; in add_new_list()
134 phead->prev->next = ptemp; in add_new_list()
135 phead->prev = ptemp; in add_new_list()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp69 phead->prev = ptemp->prev; in delete_list()
70 ptemp->prev->next = phead; in delete_list()
87 pcurrent = phead->prev; in get_current_list()
100 phead->prev = ptemp->prev; in update_head()
101 ptemp->prev->next = phead; in update_head()
122 phead->prev = phead->next = phead; in add_new_list()
132 ptemp->prev = phead->prev; in add_new_list()
134 phead->prev->next = ptemp; in add_new_list()
135 phead->prev = ptemp; in add_new_list()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp69 phead->prev = ptemp->prev; in delete_list()
70 ptemp->prev->next = phead; in delete_list()
87 pcurrent = phead->prev; in get_current_list()
100 phead->prev = ptemp->prev; in update_head()
101 ptemp->prev->next = phead; in update_head()
122 phead->prev = phead->next = phead; in add_new_list()
132 ptemp->prev = phead->prev; in add_new_list()
134 phead->prev->next = ptemp; in add_new_list()
135 phead->prev = ptemp; in add_new_list()
/hardware/qcom/gps/msm8994/utils/
Dlinked_list.c41 struct list_element* prev; member
136 elem->prev = NULL; in linked_list_add()
147 tmp->prev = p_list->p_head; in linked_list_add()
186 p_list->p_tail = tmp->prev; in linked_list_remove()
298 if (NULL == tmp->prev) { in linked_list_search()
301 tmp->prev->next = tmp->next; in linked_list_search()
305 p_list->p_tail = tmp->prev; in linked_list_search()
307 tmp->next->prev = tmp->prev; in linked_list_search()
310 tmp->prev = tmp->next = NULL; in linked_list_search()
/hardware/qcom/sm7250/gps/utils/
Dlinked_list.c41 struct list_element* prev; member
135 elem->prev = NULL; in linked_list_add()
146 tmp->prev = p_list->p_head; in linked_list_add()
184 p_list->p_tail = tmp->prev; in linked_list_remove()
295 if (NULL == tmp->prev) { in linked_list_search()
298 tmp->prev->next = tmp->next; in linked_list_search()
302 p_list->p_tail = tmp->prev; in linked_list_search()
304 tmp->next->prev = tmp->prev; in linked_list_search()
307 tmp->prev = tmp->next = NULL; in linked_list_search()
/hardware/qcom/sm7150/gps/utils/
Dlinked_list.c41 struct list_element* prev; member
135 elem->prev = NULL; in linked_list_add()
146 tmp->prev = p_list->p_head; in linked_list_add()
184 p_list->p_tail = tmp->prev; in linked_list_remove()
295 if (NULL == tmp->prev) { in linked_list_search()
298 tmp->prev->next = tmp->next; in linked_list_search()
302 p_list->p_tail = tmp->prev; in linked_list_search()
304 tmp->next->prev = tmp->prev; in linked_list_search()
307 tmp->prev = tmp->next = NULL; in linked_list_search()
/hardware/qcom/gps/msm8998/utils/
Dlinked_list.c40 struct list_element* prev; member
135 elem->prev = NULL; in linked_list_add()
146 tmp->prev = p_list->p_head; in linked_list_add()
185 p_list->p_tail = tmp->prev; in linked_list_remove()
297 if (NULL == tmp->prev) { in linked_list_search()
300 tmp->prev->next = tmp->next; in linked_list_search()
304 p_list->p_tail = tmp->prev; in linked_list_search()
306 tmp->next->prev = tmp->prev; in linked_list_search()
309 tmp->prev = tmp->next = NULL; in linked_list_search()
/hardware/qcom/gps/msm8960/utils/
Dlinked_list.c41 struct list_element* prev; member
136 elem->prev = NULL; in linked_list_add()
147 tmp->prev = p_list->p_head; in linked_list_add()
186 p_list->p_tail = tmp->prev; in linked_list_remove()
298 if (NULL == tmp->prev) { in linked_list_search()
301 tmp->prev->next = tmp->next; in linked_list_search()
305 p_list->p_tail = tmp->prev; in linked_list_search()
307 tmp->next->prev = tmp->prev; in linked_list_search()
310 tmp->prev = tmp->next = NULL; in linked_list_search()
/hardware/qcom/sm8150p/gps/utils/
Dlinked_list.c41 struct list_element* prev; member
135 elem->prev = NULL; in linked_list_add()
146 tmp->prev = p_list->p_head; in linked_list_add()
184 p_list->p_tail = tmp->prev; in linked_list_remove()
295 if (NULL == tmp->prev) { in linked_list_search()
298 tmp->prev->next = tmp->next; in linked_list_search()
302 p_list->p_tail = tmp->prev; in linked_list_search()
304 tmp->next->prev = tmp->prev; in linked_list_search()
307 tmp->prev = tmp->next = NULL; in linked_list_search()
/hardware/qcom/gps/utils/
Dlinked_list.c41 struct list_element* prev; member
136 elem->prev = NULL; in linked_list_add()
147 tmp->prev = p_list->p_head; in linked_list_add()
186 p_list->p_tail = tmp->prev; in linked_list_remove()
298 if (NULL == tmp->prev) { in linked_list_search()
301 tmp->prev->next = tmp->next; in linked_list_search()
305 p_list->p_tail = tmp->prev; in linked_list_search()
307 tmp->next->prev = tmp->prev; in linked_list_search()
310 tmp->prev = tmp->next = NULL; in linked_list_search()
/hardware/qcom/gps/msm8084/utils/
Dlinked_list.c41 struct list_element* prev; member
136 elem->prev = NULL; in linked_list_add()
147 tmp->prev = p_list->p_head; in linked_list_add()
186 p_list->p_tail = tmp->prev; in linked_list_remove()
298 if (NULL == tmp->prev) { in linked_list_search()
301 tmp->prev->next = tmp->next; in linked_list_search()
305 p_list->p_tail = tmp->prev; in linked_list_search()
307 tmp->next->prev = tmp->prev; in linked_list_search()
310 tmp->prev = tmp->next = NULL; in linked_list_search()
/hardware/qcom/gps/msm8909w_3100/utils/
Dlinked_list.c40 struct list_element* prev; member
134 elem->prev = NULL; in linked_list_add()
145 tmp->prev = p_list->p_head; in linked_list_add()
183 p_list->p_tail = tmp->prev; in linked_list_remove()
294 if (NULL == tmp->prev) { in linked_list_search()
297 tmp->prev->next = tmp->next; in linked_list_search()
301 p_list->p_tail = tmp->prev; in linked_list_search()
303 tmp->next->prev = tmp->prev; in linked_list_search()
306 tmp->prev = tmp->next = NULL; in linked_list_search()
/hardware/qcom/gps/msm8996/utils/
Dlinked_list.c41 struct list_element* prev; member
136 elem->prev = NULL; in linked_list_add()
147 tmp->prev = p_list->p_head; in linked_list_add()
186 p_list->p_tail = tmp->prev; in linked_list_remove()
298 if (NULL == tmp->prev) { in linked_list_search()
301 tmp->prev->next = tmp->next; in linked_list_search()
305 p_list->p_tail = tmp->prev; in linked_list_search()
307 tmp->next->prev = tmp->prev; in linked_list_search()
310 tmp->prev = tmp->next = NULL; in linked_list_search()
/hardware/qcom/gps/msm8909/utils/
Dlinked_list.c41 struct list_element* prev; member
136 elem->prev = NULL; in linked_list_add()
147 tmp->prev = p_list->p_head; in linked_list_add()
186 p_list->p_tail = tmp->prev; in linked_list_remove()
298 if (NULL == tmp->prev) { in linked_list_search()
301 tmp->prev->next = tmp->next; in linked_list_search()
305 p_list->p_tail = tmp->prev; in linked_list_search()
307 tmp->next->prev = tmp->prev; in linked_list_search()
310 tmp->prev = tmp->next = NULL; in linked_list_search()
/hardware/qcom/sm8150/gps/utils/
Dlinked_list.c41 struct list_element* prev; member
135 elem->prev = NULL; in linked_list_add()
146 tmp->prev = p_list->p_head; in linked_list_add()
184 p_list->p_tail = tmp->prev; in linked_list_remove()
295 if (NULL == tmp->prev) { in linked_list_search()
298 tmp->prev->next = tmp->next; in linked_list_search()
302 p_list->p_tail = tmp->prev; in linked_list_search()
304 tmp->next->prev = tmp->prev; in linked_list_search()
307 tmp->prev = tmp->next = NULL; in linked_list_search()
/hardware/google/gfxstream/guest/mesa/src/util/tests/vma/
Dvma_random_test.cpp174 auto prev = next; in dealloc() local
175 prev--; in dealloc()
176 if (allocation_end_page(*prev) == next->start_page) { in dealloc()
177 allocation x {prev->start_page, in dealloc()
178 prev->num_pages + next->num_pages}; in dealloc()
180 heap_holes.erase(prev); in dealloc()
191 auto prev = next; in dealloc() local
192 prev--; in dealloc()
193 if (allocation_end_page(*prev) == a.start_page) { in dealloc()
194 allocation x {prev->start_page, prev->num_pages + a.num_pages}; in dealloc()
[all …]

1234