Home
last modified time | relevance | path

Searched refs:head (Results 1 – 25 of 131) sorted by relevance

123456

/device/google/dragon/audio/hal/
Dutlist.h64 #define LL_PREPEND(head, add) \ argument
66 (add)->next = head; \
67 head = add; \
82 #define LL_APPEND(head, add) \ argument
84 __typeof(head) _tmp; \
86 if (head) { \
87 _tmp = head; \
92 (head) = (add); \
96 #define LL_DELETE(head, del) \ argument
98 __typeof(head) _tmp; \
[all …]
/device/huawei/angler/power/
Dlist.c37 int init_list_head(struct list_node *head) in init_list_head() argument
39 if (head == NULL) in init_list_head()
42 memset(head, 0, sizeof(*head)); in init_list_head()
47 struct list_node *add_list_node(struct list_node *head, void *data) in add_list_node() argument
52 if (head == NULL) { in add_list_node()
61 new_node->next = head->next; in add_list_node()
62 new_node->compare = head->compare; in add_list_node()
63 new_node->dump = head->dump; in add_list_node()
64 head->next = new_node; in add_list_node()
69 int is_list_empty(struct list_node *head) in is_list_empty() argument
[all …]
Dlist.h37 int init_list_head(struct list_node *head);
38 struct list_node * add_list_node(struct list_node *head, void *data);
39 int remove_list_node(struct list_node *head, struct list_node *del_node);
40 void dump_list(struct list_node *head);
41 struct list_node *find_node(struct list_node *head, void *comparison_data);
/device/lge/bullhead/power/
Dlist.c37 int init_list_head(struct list_node *head) in init_list_head() argument
39 if (head == NULL) in init_list_head()
42 memset(head, 0, sizeof(*head)); in init_list_head()
47 struct list_node *add_list_node(struct list_node *head, void *data) in add_list_node() argument
52 if (head == NULL) { in add_list_node()
61 new_node->next = head->next; in add_list_node()
62 new_node->compare = head->compare; in add_list_node()
63 new_node->dump = head->dump; in add_list_node()
64 head->next = new_node; in add_list_node()
69 int is_list_empty(struct list_node *head) in is_list_empty() argument
[all …]
Dlist.h37 int init_list_head(struct list_node *head);
38 struct list_node * add_list_node(struct list_node *head, void *data);
39 int remove_list_node(struct list_node *head, struct list_node *del_node);
40 void dump_list(struct list_node *head);
41 struct list_node *find_node(struct list_node *head, void *comparison_data);
/device/google/marlin/power/
Dlist.c37 int init_list_head(struct list_node *head) in init_list_head() argument
39 if (head == NULL) in init_list_head()
42 memset(head, 0, sizeof(*head)); in init_list_head()
47 struct list_node *add_list_node(struct list_node *head, void *data) in add_list_node() argument
52 if (head == NULL) { in add_list_node()
61 new_node->next = head->next; in add_list_node()
62 new_node->compare = head->compare; in add_list_node()
63 new_node->dump = head->dump; in add_list_node()
64 head->next = new_node; in add_list_node()
69 int is_list_empty(struct list_node *head) in is_list_empty() argument
[all …]
Dlist.h37 int init_list_head(struct list_node *head);
38 struct list_node * add_list_node(struct list_node *head, void *data);
39 int remove_list_node(struct list_node *head, struct list_node *del_node);
40 void dump_list(struct list_node *head);
41 struct list_node *find_node(struct list_node *head, void *comparison_data);
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_queue.c37 cam_list_init(&queue->head.list); in mm_jpeg_queue_init()
55 cam_list_add_tail_node(&node->list, &queue->head.list); in mm_jpeg_queue_enq()
65 struct cam_list *head = NULL; in mm_jpeg_queue_enq_head() local
77 head = &queue->head.list; in mm_jpeg_queue_enq_head()
78 pos = head->next; in mm_jpeg_queue_enq_head()
92 struct cam_list *head = NULL; in mm_jpeg_queue_deq() local
98 head = &queue->head.list; in mm_jpeg_queue_deq()
99 pos = head->next; in mm_jpeg_queue_deq()
100 if (pos != head) { in mm_jpeg_queue_deq()
137 struct cam_list *head = NULL; in mm_jpeg_queue_flush() local
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_queue.c40 cam_list_init(&queue->head.list); in mm_jpeg_queue_init()
58 cam_list_add_tail_node(&node->list, &queue->head.list); in mm_jpeg_queue_enq()
68 struct cam_list *head = NULL; in mm_jpeg_queue_enq_head() local
80 head = &queue->head.list; in mm_jpeg_queue_enq_head()
81 pos = head->next; in mm_jpeg_queue_enq_head()
95 struct cam_list *head = NULL; in mm_jpeg_queue_deq() local
101 head = &queue->head.list; in mm_jpeg_queue_deq()
102 pos = head->next; in mm_jpeg_queue_deq()
103 if (pos != head) { in mm_jpeg_queue_deq()
140 struct cam_list *head = NULL; in mm_jpeg_queue_flush() local
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_queue.c37 cam_list_init(&queue->head.list); in mm_jpeg_queue_init()
55 cam_list_add_tail_node(&node->list, &queue->head.list); in mm_jpeg_queue_enq()
65 struct cam_list *head = NULL; in mm_jpeg_queue_enq_head() local
77 head = &queue->head.list; in mm_jpeg_queue_enq_head()
78 pos = head->next; in mm_jpeg_queue_enq_head()
92 struct cam_list *head = NULL; in mm_jpeg_queue_deq() local
98 head = &queue->head.list; in mm_jpeg_queue_deq()
99 pos = head->next; in mm_jpeg_queue_deq()
100 if (pos != head) { in mm_jpeg_queue_deq()
137 struct cam_list *head = NULL; in mm_jpeg_queue_flush() local
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/drivers/
Dhisi_mcu.c110 static int is_binary_header_invalid(struct mcu_image_head *head, in is_binary_header_invalid() argument
114 if ((head->image_size == 0) || in is_binary_header_invalid()
115 (head->image_size > length) || in is_binary_header_invalid()
116 (head->secs_num > MCU_SECTION_MAX) || in is_binary_header_invalid()
117 (head->secs_num == 0)) in is_binary_header_invalid()
124 struct mcu_image_head *head) in is_binary_section_invalid() argument
128 if ((sec->serial >= head->secs_num) || in is_binary_section_invalid()
129 (sec->src_offset + sec->size > head->image_size)) in is_binary_section_invalid()
205 struct mcu_image_head *head; in hisi_mcu_load_image() local
208 head = (struct mcu_image_head *)image_base; in hisi_mcu_load_image()
[all …]
/device/google/marlin/camera/QCamera2/stack/common/
Dcam_queue.h42 cam_node_t head; /* dummy head */ member
50 cam_list_init(&queue->head.list); in cam_queue_init()
67 cam_list_add_tail_node(&node->list, &queue->head.list); in cam_queue_enq()
78 struct cam_list *head = NULL; in cam_queue_deq() local
82 head = &queue->head.list; in cam_queue_deq()
83 pos = head->next; in cam_queue_deq()
84 if (pos != head) { in cam_queue_deq()
102 struct cam_list *head = NULL; in cam_queue_flush() local
106 head = &queue->head.list; in cam_queue_flush()
107 pos = head->next; in cam_queue_flush()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/common/
Dcam_queue.h38 cam_node_t head; /* dummy head */ member
46 cam_list_init(&queue->head.list); in cam_queue_init()
63 cam_list_add_tail_node(&node->list, &queue->head.list); in cam_queue_enq()
74 struct cam_list *head = NULL; in cam_queue_deq() local
78 head = &queue->head.list; in cam_queue_deq()
79 pos = head->next; in cam_queue_deq()
80 if (pos != head) { in cam_queue_deq()
98 struct cam_list *head = NULL; in cam_queue_flush() local
102 head = &queue->head.list; in cam_queue_flush()
103 pos = head->next; in cam_queue_flush()
[all …]
/device/huawei/angler/camera/QCamera2/stack/common/
Dcam_queue.h38 cam_node_t head; /* dummy head */ member
46 cam_list_init(&queue->head.list); in cam_queue_init()
63 cam_list_add_tail_node(&node->list, &queue->head.list); in cam_queue_enq()
74 struct cam_list *head = NULL; in cam_queue_deq() local
78 head = &queue->head.list; in cam_queue_deq()
79 pos = head->next; in cam_queue_deq()
80 if (pos != head) { in cam_queue_deq()
98 struct cam_list *head = NULL; in cam_queue_flush() local
102 head = &queue->head.list; in cam_queue_flush()
103 pos = head->next; in cam_queue_flush()
[all …]
/device/google/marlin/camera/QCamera2/util/
DQCameraQueue.cpp226 struct cam_list *head = NULL; in peek() local
231 head = &m_head.list; in peek()
232 pos = head->next; in peek()
233 if (pos != head) { in peek()
261 struct cam_list *head = NULL; in dequeue() local
266 head = &m_head.list; in dequeue()
268 pos = head->next; in dequeue()
270 pos = head->prev; in dequeue()
272 if (pos != head) { in dequeue()
301 struct cam_list *head = NULL; in dequeue() local
[all …]
/device/lge/bullhead/camera/QCamera2/util/
DQCameraQueue.cpp219 struct cam_list *head = NULL; in peek() local
224 head = &m_head.list; in peek()
225 pos = head->next; in peek()
226 if (pos != head) { in peek()
254 struct cam_list *head = NULL; in dequeue() local
259 head = &m_head.list; in dequeue()
261 pos = head->next; in dequeue()
263 pos = head->prev; in dequeue()
265 if (pos != head) { in dequeue()
293 struct cam_list *head = NULL; in flush() local
[all …]
/device/huawei/angler/camera/QCamera2/util/
DQCameraQueue.cpp219 struct cam_list *head = NULL; in peek() local
224 head = &m_head.list; in peek()
225 pos = head->next; in peek()
226 if (pos != head) { in peek()
254 struct cam_list *head = NULL; in dequeue() local
259 head = &m_head.list; in dequeue()
261 pos = head->next; in dequeue()
263 pos = head->prev; in dequeue()
265 if (pos != head) { in dequeue()
293 struct cam_list *head = NULL; in flush() local
[all …]
/device/google/contexthub/firmware/os/core/
DsimpleQ.c32 uint32_t head, tail, num, freeHead, entrySz; member
64 sq->head = SIMPLE_QUEUE_IDX_NONE; in simpleQueueAlloc()
85 for (i = sq->head; i != SIMPLE_QUEUE_IDX_NONE; i = cur->nextIdx) { in simpleQueueDestroy()
96 uint32_t head; in simpleQueueDequeue() local
98 if (!sq || sq->head == SIMPLE_QUEUE_IDX_NONE) in simpleQueueDequeue()
101 head = sq->head; in simpleQueueDequeue()
102 e = simpleQueueGetNth(sq, head); in simpleQueueDequeue()
104 sq->head = e->nextIdx; in simpleQueueDequeue()
105 if (sq->tail == head) in simpleQueueDequeue()
122 for (idx = sq->head; idx != SIMPLE_QUEUE_IDX_NONE; prev=idx, idx = cur->nextIdx) { in simpleQueueAllocWithDiscard()
[all …]
DeventQ.c29 #define for_each_item_safe(head, pos, tmp) \ argument
30 for (pos = (head)->next; tmp = (pos)->next, (pos) != (head); pos = (tmp))
46 struct EvtList head; member
72 q->head.next = &q->head; in evtQueueAlloc()
73 q->head.prev = &q->head; in evtQueueAlloc()
89 for_each_item_safe (&q->head, pos, tmp) { in evtQueueFree()
116 for (pos = q->head.next; pos != &q->head; pos = pos->next) { in evtQueueEnqueue()
141 b = q->head.next; in evtQueueEnqueue()
144 a = q->head.prev; in evtQueueEnqueue()
165 for_each_item_safe (&q->head, pos, tmp) { in evtQueueRemoveAllMatching()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Ddir_util.py49 (head, tail) = os.path.split(name)
52 while head and tail and not os.path.isdir(head):
53 (head, tail) = os.path.split(head)
61 head = os.path.join(head, d)
62 abs_head = os.path.abspath(head)
68 log.info("creating %s", head)
72 os.mkdir(head, mode)
74 if not (exc.errno == errno.EEXIST and os.path.isdir(head)):
76 "could not create '%s': %s" % (head, exc.args[-1]))
77 created_dirs.append(head)
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_queue.c111 struct cam_list *head = NULL; in mm_qcamera_queue_dequeue() local
115 head = &queue->m_head.list; in mm_qcamera_queue_dequeue()
117 pos = head->next; in mm_qcamera_queue_dequeue()
119 pos = head->prev; in mm_qcamera_queue_dequeue()
121 if (pos != head) { in mm_qcamera_queue_dequeue()
139 struct cam_list *head = NULL; in mm_qcamera_queue_flush() local
147 head = &queue->m_head.list; in mm_qcamera_queue_flush()
148 pos = head->next; in mm_qcamera_queue_flush()
150 while(pos != head) { in mm_qcamera_queue_flush()
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_queue.c110 struct cam_list *head = NULL; in mm_qcamera_queue_dequeue() local
114 head = &queue->m_head.list; in mm_qcamera_queue_dequeue()
116 pos = head->next; in mm_qcamera_queue_dequeue()
118 pos = head->prev; in mm_qcamera_queue_dequeue()
120 if (pos != head) { in mm_qcamera_queue_dequeue()
138 struct cam_list *head = NULL; in mm_qcamera_queue_flush() local
146 head = &queue->m_head.list; in mm_qcamera_queue_flush()
147 pos = head->next; in mm_qcamera_queue_flush()
149 while(pos != head) { in mm_qcamera_queue_flush()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_queue.c110 struct cam_list *head = NULL; in mm_qcamera_queue_dequeue() local
114 head = &queue->m_head.list; in mm_qcamera_queue_dequeue()
116 pos = head->next; in mm_qcamera_queue_dequeue()
118 pos = head->prev; in mm_qcamera_queue_dequeue()
120 if (pos != head) { in mm_qcamera_queue_dequeue()
138 struct cam_list *head = NULL; in mm_qcamera_queue_flush() local
146 head = &queue->m_head.list; in mm_qcamera_queue_flush()
147 pos = head->next; in mm_qcamera_queue_flush()
149 while(pos != head) { in mm_qcamera_queue_flush()
/device/linaro/bootloader/edk2/StdLib/Include/net/
Dradix.h119 struct radix_node_head *head, struct radix_node nodes[]));
122 struct radix_node_head *head, struct radix_node nodes[]));
124 __P((void *v, void *mask, struct radix_node_head *head));
126 __P((void *v, void *mask, struct radix_node_head *head));
128 __P((void *v, struct radix_node_head *head));
130 __P((void *v, void *mask, struct radix_node_head *head));
132 __P((void *v, struct radix_node_head *head));
134 __P((struct radix_node_head *head, walktree_f_t *f, void *w));
136 __P((struct radix_node_head *head, void *a, void *m,
139 __P((struct radix_node *rn, struct radix_node_head *head));
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
Dslist.cpp52 if ( head == *cursor ) { *cursor = (*cursor)->next(); } in iterate()
68 if ( head == NULL ) in add()
70 head = tail = p; in add()
84 if ( head==NULL ) return; /* empty list */ in lfree()
85 for (p = head; p!=NULL; p=q) in lfree()
98 for (p = head; p!=NULL; p=p->next()) in to_ast()

123456