/AliOS-Things-master/components/ble_host/include/misc/ |
A D | slist.h | 32 sys_snode_t *tail; member 185 list->tail = NULL; in sys_slist_init() 223 return list->tail; in sys_slist_peek_tail() 264 if (!list->tail) { in sys_slist_prepend() 265 list->tail = list->head; in sys_slist_prepend() 280 if (!list->tail) { in sys_slist_append() 281 list->tail = node; in sys_slist_append() 285 list->tail = node; in sys_slist_append() 302 if (!list->tail) { in sys_slist_append_list() 304 list->tail = (sys_snode_t *)tail; in sys_slist_append_list() [all …]
|
A D | dlist.h | 35 struct _dnode *tail; /* ptr to tail of list (sys_dlist_t) */ member 191 list->tail = (sys_dnode_t *)list; in sys_dlist_init() 221 return list->tail == node; in sys_dlist_is_tail() 249 return list->head != list->tail; in sys_dlist_has_multiple_nodes() 294 return (node == list->tail) ? NULL : node->next; in sys_dlist_peek_next_no_check() 323 return sys_dlist_is_empty(list) ? NULL : list->tail; in sys_dlist_peek_tail() 340 node->prev = list->tail; in sys_dlist_append() 342 list->tail->next = node; in sys_dlist_append() 343 list->tail = node; in sys_dlist_append() 510 if (node == list->tail) in sys_dlist_node_number()
|
/AliOS-Things-master/kernel/rhino/ |
A D | k_ringbuf.c | 35 if (p_ringbuf->tail == p_ringbuf->end) { in ringbuf_push() 36 p_ringbuf->tail = p_ringbuf->buf; in ringbuf_push() 56 if (p_ringbuf->tail == p_ringbuf->end) { in ringbuf_push() 57 p_ringbuf->tail = p_ringbuf->buf; in ringbuf_push() 66 p_ringbuf->tail = p_ringbuf->buf; in ringbuf_push() 75 p_ringbuf->tail += len_bytes; in ringbuf_push() 82 p_ringbuf->tail = p_ringbuf->buf; in ringbuf_push() 91 p_ringbuf->tail = p_ringbuf->buf; in ringbuf_push() 95 memcpy(p_ringbuf->tail, data, len); in ringbuf_push() 96 p_ringbuf->tail += len; in ringbuf_push() [all …]
|
/AliOS-Things-master/components/littlevgl/src/lv_misc/ |
A D | lv_ll.c | 53 ll_p->tail = NULL; in lv_ll_init() 92 ll_p->tail = n_new; in lv_ll_ins_head() 169 ll_p->tail = NULL; in lv_ll_rem() 175 ll_p->tail = lv_ll_get_prev(ll_p, node_p); in lv_ll_rem() 176 if(ll_p->tail == NULL) { in lv_ll_rem() 179 node_set_next(ll_p, ll_p->tail, NULL); in lv_ll_rem() 235 ll_new_p->tail = node; in lv_ll_chg_list() 276 void * tail = NULL; in lv_ll_get_tail() local 279 tail = ll_p->tail; in lv_ll_get_tail() 282 return tail; in lv_ll_get_tail() [all …]
|
/AliOS-Things-master/components/cli/src/iobox/ |
A D | path_helper.c | 9 char *tail; in up_one_level() local 14 tail = s + strlen(s) - 1; in up_one_level() 15 if (*tail == '/') in up_one_level() 16 tail--; in up_one_level() 18 while (*tail != '\0' && *tail != '/') in up_one_level() 19 tail--; in up_one_level() 21 if (*tail == '\0') { in up_one_level() 24 *(tail + 1) = '\0'; in up_one_level()
|
/AliOS-Things-master/components/mbedtls/programs/test/ |
A D | udp_proxy_wrapper.sh | 40 tail="$1" quoted="" 41 while [ -n "$tail" ]; do 42 case "$tail" in 43 *\'*) quoted="${quoted}${tail%%\'*}'\\''" tail="${tail#*\'}";; 44 *) quoted="${quoted}${tail}"; tail=; false;; 50 unset tail quoted
|
/AliOS-Things-master/kernel/rhino/include/ |
A D | k_ringbuf.h | 34 uint8_t *tail; member 51 if (p_ringbuf->tail == p_ringbuf->end) { in ringbuf_queue_push() 52 p_ringbuf->tail = p_ringbuf->buf; in ringbuf_queue_push() 55 memcpy(p_ringbuf->tail, data, p_ringbuf->blk_size); in ringbuf_queue_push() 56 p_ringbuf->tail += p_ringbuf->blk_size; in ringbuf_queue_push()
|
/AliOS-Things-master/components/linkkit/external/nghttp2/ |
A D | nghttp2_outbound_item.c | 102 q->head = q->tail = NULL; in nghttp2_outbound_queue_init() 109 if (q->tail) { in nghttp2_outbound_queue_push() 110 q->tail = q->tail->qnext = item; in nghttp2_outbound_queue_push() 112 q->head = q->tail = item; in nghttp2_outbound_queue_push() 127 q->tail = NULL; in nghttp2_outbound_queue_pop()
|
/AliOS-Things-master/components/py_engine/engine/tools/ |
A D | codestats.sh | 57 size $2 | tail -n1 | $AWK '{print $1}' 65 size $2 | tail -n1 | $AWK '{print $1}' 67 size $3 | tail -n1 | $AWK '{print $1}' 75 size $2 | tail -n1 | $AWK '{print $1}' 77 size $3 | tail -n1 | $AWK '{print $1}' 79 size $4 | tail -n1 | $AWK '{print $1}' 87 last_rev=$(tail -n1 $output | $AWK '{print $1}')
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/ |
A D | wifi_promisc.c | 147 struct eth_frame *tail; member 280 if(eth_buffer.tail) { in promisc_callback() 281 eth_buffer.tail->next = frame; in promisc_callback() 283 eth_buffer.tail = frame; in promisc_callback() 287 eth_buffer.tail = frame; in promisc_callback() 311 eth_buffer.tail = NULL; in retrieve_frame() 326 eth_buffer.tail = NULL; in promisc_test() 425 if(eth_buffer.tail) { in promisc_callback_all() 428 eth_buffer.tail = frame; in promisc_callback_all() 432 eth_buffer.tail = frame; in promisc_callback_all() [all …]
|
/AliOS-Things-master/components/SDL2/src/ |
A D | SDL_dataqueue.c | 38 SDL_DataQueuePacket *tail; /* queue fills to here. */ member 114 queue->tail->next = queue->pool; in SDL_ClearDataQueue() 120 queue->tail = NULL; in SDL_ClearDataQueue() 164 if (queue->tail == NULL) { in AllocateDataQueuePacket() 167 queue->tail->next = packet; in AllocateDataQueuePacket() 169 queue->tail = packet; in AllocateDataQueuePacket() 190 origtail = queue->tail; in SDL_WriteToDataQueue() 194 SDL_DataQueuePacket *packet = queue->tail; in SDL_WriteToDataQueue() 209 queue->tail = origtail; in SDL_WriteToDataQueue() 278 SDL_assert((packet->next != NULL) || (packet == queue->tail)); in SDL_ReadFromDataQueue() [all …]
|
/AliOS-Things-master/components/py_engine/engine/lib/littlefs/ |
A D | lfs1.c | 341 d->tail[0] = lfs1_fromle32(d->tail[0]); in lfs1_dir_fromle32() 342 d->tail[1] = lfs1_fromle32(d->tail[1]); in lfs1_dir_fromle32() 348 d->tail[0] = lfs1_tole32(d->tail[0]); in lfs1_dir_tole32() 349 d->tail[1] = lfs1_tole32(d->tail[1]); in lfs1_dir_tole32() 731 pdir.d.tail[0] = dir->d.tail[0]; in lfs1_dir_remove() 932 dir.d.tail[0] = cwd.d.tail[0]; in lfs1_mkdir() 933 dir.d.tail[1] = cwd.d.tail[1]; in lfs1_mkdir() 1906 cwd.d.tail[0] = dir.d.tail[0]; in lfs1_remove() 1907 cwd.d.tail[1] = dir.d.tail[1]; in lfs1_remove() 2009 newcwd.d.tail[0] = dir.d.tail[0]; in lfs1_rename() [all …]
|
A D | lfs2.c | 1495 lfs2_pair_tole32(tail->tail); in lfs2_dir_drop() 1497 {LFS2_MKTAG(LFS2_TYPE_TAIL + tail->split, 0x3ff, 8), tail->tail})); in lfs2_dir_drop() 1498 lfs2_pair_fromle32(tail->tail); in lfs2_dir_drop() 1520 tail.tail[0] = dir->tail[0]; in lfs2_dir_split() 1521 tail.tail[1] = dir->tail[1]; in lfs2_dir_split() 1528 dir->tail[0] = tail.pair[0]; in lfs2_dir_split() 1529 dir->tail[1] = tail.pair[1]; in lfs2_dir_split() 4332 d->tail[0] = lfs2_fromle32(d->tail[0]); 4333 d->tail[1] = lfs2_fromle32(d->tail[1]); 4339 d->tail[0] = lfs2_tole32(d->tail[0]); [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/osdep/alios/ |
A D | wrapper.h | 226 unsigned char *tail; /* Tail pointer */ 244 unsigned char *tmp=skb->tail; 245 skb->tail+=len; 247 if(skb->tail>skb->end) { 274 skb->tail+=len; 332 skb->tail = buf; 338 return skb->tail; 343 skb->tail = skb->data; 348 skb->tail = skb->data + offset;
|
/AliOS-Things-master/components/minilibc/include/ |
A D | mm_queue.h | 48 #define sq_init(q) do { (q)->head = NULL; (q)->tail = NULL; } while (0) 49 #define dq_init(q) do { (q)->head = NULL; (q)->tail = NULL; } while (0) 81 sq_entry_t *tail; member 88 dq_entry_t *tail; member
|
/AliOS-Things-master/components/littlefs/src/littlefs-v220/ |
A D | lfs.c | 1424 lfs_pair_tole32(tail->tail); in lfs_dir_drop() 1426 {LFS_MKTAG(LFS_TYPE_TAIL + tail->split, 0x3ff, 8), tail->tail})); in lfs_dir_drop() 1427 lfs_pair_fromle32(tail->tail); in lfs_dir_drop() 1451 tail.tail[0] = dir->tail[0]; in lfs_dir_split() 1452 tail.tail[1] = dir->tail[1]; in lfs_dir_split() 1459 dir->tail[0] = tail.pair[0]; in lfs_dir_split() 1460 dir->tail[1] = tail.pair[1]; in lfs_dir_split() 4728 d->tail[0] = lfs_fromle32(d->tail[0]); in lfs1_dir_fromle32() 4729 d->tail[1] = lfs_fromle32(d->tail[1]); in lfs1_dir_fromle32() 4735 d->tail[0] = lfs_tole32(d->tail[0]); in lfs1_dir_tole32() [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/api/ |
A D | netbuf.c | 172 netbuf_chain(struct netbuf *head, struct netbuf *tail) in netbuf_chain() argument 175 LWIP_ERROR("netbuf_chain: invalid tail", (tail != NULL), return;); in netbuf_chain() 176 pbuf_cat(head->p, tail->p); in netbuf_chain() 178 memp_free(MEMP_NETBUF, tail); in netbuf_chain()
|
/AliOS-Things-master/components/freetype/src/base/ |
A D | ftutil.c | 267 FT_ListNode before = list->tail; in FT_List_Add() 278 list->tail = node; in FT_List_Add() 295 list->tail = node; in FT_List_Insert() 323 list->tail = before; in FT_List_Remove() 348 list->tail = before; in FT_List_Up() 410 list->tail = 0; in FT_List_Finalize()
|
/AliOS-Things-master/components/py_engine/engine/extmod/nimble/nimble/ |
A D | nimble_npl_os.c | 257 struct ble_npl_event *tail = evq->head; in ble_npl_eventq_put() local 259 if (tail == ev) { in ble_npl_eventq_put() 265 if (tail->next == NULL) { in ble_npl_eventq_put() 267 tail->next = ev; in ble_npl_eventq_put() 268 ev->prev = tail; in ble_npl_eventq_put() 271 DEBUG_EVENT_printf(" --> %p\n", tail->next); in ble_npl_eventq_put() 272 tail = tail->next; in ble_npl_eventq_put()
|
/AliOS-Things-master/components/oss/src/model/ |
A D | SelectObjectRequest.cc | 38 uint8_t tail[4]; member 118 memcpy(frame->tail + frame->tail_len, ptr, copy); in selectObjectDepackFrame() 163 payload_crc32 = frame->tail[0]; in selectObjectTransferContent() 164 payload_crc32 = (payload_crc32 << 8) | frame->tail[1]; in selectObjectTransferContent() 165 payload_crc32 = (payload_crc32 << 8) | frame->tail[2]; in selectObjectTransferContent() 166 payload_crc32 = (payload_crc32 << 8) | frame->tail[3]; in selectObjectTransferContent()
|
/AliOS-Things-master/components/ble_host/bt_host/port/core/ |
A D | buf.c | 536 struct net_buf *tail; in net_buf_slist_put() local 542 for (tail = buf; tail->frags; tail = tail->frags) { in net_buf_slist_put() 543 tail->flags |= NET_BUF_FRAGS; in net_buf_slist_put() 547 sys_slist_append_list(list, &buf->node, &tail->node); in net_buf_slist_put() 586 struct net_buf *tail; in net_buf_put() local 604 for (tail = buf; tail->frags; tail = tail->frags) { in net_buf_put() 605 tail->flags |= NET_BUF_FRAGS; in net_buf_put() 882 u8_t *tail = net_buf_simple_tail(buf); in net_buf_simple_add() local 889 return tail; in net_buf_simple_add()
|
/AliOS-Things-master/components/ramfs/src/ |
A D | ramfs.c | 70 ll->tail = NULL; in ramfs_ll_init() 102 if (ll->tail == NULL) { /* If there is no tail, set the tail too */ in ramfs_ll_ins_head() 103 ll->tail = new; in ramfs_ll_ins_head() 137 void *tail = NULL; in ramfs_ll_get_tail() local 139 if (ll->tail != NULL) { in ramfs_ll_get_tail() 140 tail = ll->tail; in ramfs_ll_get_tail() 143 return tail; in ramfs_ll_get_tail() 205 ll->tail = NULL; in ramfs_ll_remove() 211 ll->tail = ramfs_ll_get_prev(ll, node); in ramfs_ll_remove() 213 if (ll->tail == NULL) { in ramfs_ll_remove() [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/ |
A D | recording_simple_memory_allocator.cc | 74 const uint8_t* previous_tail = tail(); in AllocateFromTail() 77 used_bytes_ += previous_tail - tail(); in AllocateFromTail()
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | objlist.c | 293 STATIC void mp_quicksort(mp_obj_t *head, mp_obj_t *tail, mp_obj_t key_fn, mp_obj_t binop_less_resul… in mp_quicksort() argument 295 while (head < tail) { in mp_quicksort() 297 mp_obj_t *t = tail; in mp_quicksort() 298 …mp_obj_t v = key_fn == MP_OBJ_NULL ? tail[0] : mp_call_function_1(key_fn, tail[0]); // get pivot u… in mp_quicksort() 312 h[0] = tail[0]; in mp_quicksort() 313 tail[0] = x; in mp_quicksort() 315 if (t - head < tail - h - 1) { in mp_quicksort() 319 mp_quicksort(h + 1, tail, key_fn, binop_less_result); in mp_quicksort() 320 tail = t; in mp_quicksort()
|
/AliOS-Things-master/components/linkkit/dev_model/ |
A D | dm_log_report.c | 45 const char *tail = "]}"; in add_tail() local 47 return push_log(tail, strlen(tail)); in add_tail()
|