/device/google/marlin/power/ |
D | list.c | 37 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 …]
|
D | list.h | 37 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/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/ |
D | hisi_mcu.c | 70 static int is_binary_header_invalid(struct mcu_image_head *head, in is_binary_header_invalid() argument 74 if ((head->image_size == 0) || in is_binary_header_invalid() 75 (head->image_size > length) || in is_binary_header_invalid() 76 (head->secs_num > MCU_SECTION_MAX) || in is_binary_header_invalid() 77 (head->secs_num == 0)) in is_binary_header_invalid() 84 struct mcu_image_head *head) in is_binary_section_invalid() argument 88 if ((sec->serial >= head->secs_num) || in is_binary_section_invalid() 89 (sec->src_offset + sec->size > head->image_size)) in is_binary_section_invalid() 157 struct mcu_image_head *head; in hisi_mcu_load_image() local 160 head = (struct mcu_image_head *)image_base; in hisi_mcu_load_image() [all …]
|
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_queue.c | 40 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/google/marlin/camera/QCamera2/stack/common/ |
D | cam_queue.h | 42 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 …]
|
D | cam_list.h | 54 struct cam_list *head) in cam_list_add_tail_node() argument 56 struct cam_list *prev = head->prev; in cam_list_add_tail_node() 58 head->prev = item; in cam_list_add_tail_node() 59 item->next = head; in cam_list_add_tail_node()
|
/device/google/marlin/camera/QCamera2/util/ |
D | QCameraQueue.cpp | 226 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/google/contexthub/firmware/os/core/ |
D | simpleQ.c | 32 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 …]
|
D | eventQ.c | 29 #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/generic/car/emulator/audio/driver/ |
D | audio_vbuffer.c | 41 audio_vbuffer->head = 0; in audio_vbuffer_init() 84 if (audio_vbuffer->live == 0 || audio_vbuffer->head > audio_vbuffer->tail) { in audio_vbuffer_write() 86 MIN(frame_count, audio_vbuffer->frame_count - audio_vbuffer->head); in audio_vbuffer_write() 87 } else if (audio_vbuffer->head < audio_vbuffer->tail) { in audio_vbuffer_write() 88 frames = MIN(frame_count, audio_vbuffer->tail - (audio_vbuffer->head)); in audio_vbuffer_write() 94 &audio_vbuffer->data[audio_vbuffer->head * audio_vbuffer->frame_size], in audio_vbuffer_write() 100 audio_vbuffer->head = in audio_vbuffer_write() 101 (audio_vbuffer->head + frames) % audio_vbuffer->frame_count; in audio_vbuffer_write() 116 audio_vbuffer->tail > audio_vbuffer->head) { in audio_vbuffer_read() 119 } else if (audio_vbuffer->tail < audio_vbuffer->head) { in audio_vbuffer_read() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
D | dir_util.py | 49 (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/linaro/hikey/hifi/xaf/hifi-dpf/include/ |
D | xf-msg.h | 73 __xf_message_t *head; member 94 xf_message_t *head; member 108 queue->head = queue->tail = NULL; in xf_msg_queue_init() 114 int empty = (queue->head == NULL); in xf_msg_enqueue() 120 queue->head = m; in xf_msg_enqueue() 140 xf_message_t *m = queue->head; in xf_msg_dequeue() 146 if ((queue->head = m->next) == NULL) in xf_msg_dequeue() 159 return (queue->head == NULL); in xf_msg_queue_empty() 165 return queue->head; in xf_msg_queue_head()
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_queue.c | 111 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/linaro/bootloader/edk2/StdLib/Include/net/ |
D | radix.h | 119 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/ |
D | slist.cpp | 52 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()
|
/device/linaro/bootloader/arm-trusted-firmware/bl2/ |
D | bl2_image_load_v2.c | 36 assert(bl2_load_info->head); in bl2_load_images() 39 bl2_node_info = bl2_load_info->head; in bl2_load_images() 85 assert(bl2_to_next_bl_params->head); in bl2_load_images() 88 assert(bl2_to_next_bl_params->head->ep_info); in bl2_load_images() 91 bl2_to_next_bl_params->head->ep_info->args.arg0 = (u_register_t)bl2_to_next_bl_params; in bl2_load_images() 96 return bl2_to_next_bl_params->head->ep_info; in bl2_load_images()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ |
D | slist.cpp | 53 if ( head == *cursor ) { *cursor = (*cursor)->next(); } in iterate() 69 if ( head == NULL ) in add() 71 head = tail = p; in add() 85 if ( head==NULL ) return; /* empty list */ in lfree() 86 for (p = head; p!=NULL; p=q) in lfree() 99 for (p = head; p!=NULL; p=p->next()) in to_ast()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | posixpath.py | 84 head, tail = p[:i], p[i:] 85 if head and head != '/'*len(head): 86 head = head.rstrip('/') 87 return head, tail 121 head = p[:i] 122 if head and head != '/'*len(head): 123 head = head.rstrip('/') 124 return head
|
D | os.py | 145 head, tail = path.split(name) 147 head, tail = path.split(head) 148 if head and tail and not path.exists(head): 150 makedirs(head, mode) 171 head, tail = path.split(name) 173 head, tail = path.split(head) 174 while head and tail: 176 rmdir(head) 179 head, tail = path.split(head) 196 head, tail = path.split(new) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/ |
D | os.py | 172 head, tail = path.split(name) 174 head, tail = path.split(head) 175 if head and tail and not path.exists(head): 177 makedirs(head, mode) 198 head, tail = path.split(name) 200 head, tail = path.split(head) 201 while head and tail: 203 rmdir(head) 206 head, tail = path.split(head) 223 head, tail = path.split(new) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/ |
D | os.py | 159 head, tail = path.split(name) 161 head, tail = path.split(head) 162 if head and tail and not path.exists(head): 164 makedirs(head, mode) 185 head, tail = path.split(name) 187 head, tail = path.split(head) 188 while head and tail: 190 rmdir(head) 193 head, tail = path.split(head) 210 head, tail = path.split(new) [all …]
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/ |
D | xf-msg.c | 51 for (pool->head = &pool->p[i = 0]; i < n - 1; i++) in xf_msg_pool_init() 79 XF_CHK_ERR(_m = pool->head, NULL); in xf_msg_pool_get() 82 pool->head = (__xf_message_t *)(((xf_message_t *) _m)->next); in xf_msg_pool_get() 103 m->next = (xf_message_t *) pool->head; in xf_msg_pool_put() 106 pool->head = _m; in xf_msg_pool_put()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
D | inflate.c | 117 state->head = Z_NULL; 604 if (state->head != Z_NULL) 605 state->head->done = -1; 647 if (state->head != Z_NULL) 648 state->head->text = (int)((hold >> 8) & 1); 654 if (state->head != Z_NULL) 655 state->head->time = hold; 661 if (state->head != Z_NULL) { 662 state->head->xflags = (int)(hold & 0xff); 663 state->head->os = (int)(hold >> 8); [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
D | inflate.c | 119 state->head = Z_NULL; 655 if (state->head != Z_NULL) 656 state->head->done = -1; 700 if (state->head != Z_NULL) 701 state->head->text = (int)((hold >> 8) & 1); 707 if (state->head != Z_NULL) 708 state->head->time = hold; 714 if (state->head != Z_NULL) { 715 state->head->xflags = (int)(hold & 0xff); 716 state->head->os = (int)(hold >> 8); [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/ |
D | inflate.c | 134 state->head = Z_NULL; 674 if (state->head != Z_NULL) 675 state->head->done = -1; 719 if (state->head != Z_NULL) 720 state->head->text = (int)((hold >> 8) & 1); 727 if (state->head != Z_NULL) 728 state->head->time = hold; 735 if (state->head != Z_NULL) { 736 state->head->xflags = (int)(hold & 0xff); 737 state->head->os = (int)(hold >> 8); [all …]
|