Home
last modified time | relevance | path

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

/NetX-Duo-v6.2.1/addons/azure_iot/azure_iot_security_module/iot-security-module-core/src/utils/collection/
Dstack.c23 collection_item_t *current_head = stack->head; in stack_pop()
32 stack->head = new_head; in stack_pop()
41 collection_item_t *current_head = stack->head; in stack_push()
43 stack->head = item; in stack_push()
51 stack->head = item; in stack_push()
61 return stack->head; in stack_peek()
Dlist.c21 list->head = NULL; in linked_list_init()
32 return list->head; in linked_list_get_first()
72 if (list->head == NULL) { in linked_list_add_last()
74 list->head = item; in linked_list_add_last()
94 if (list->head == NULL) { in linked_list_add_first()
95 list->head = item; in linked_list_add_first()
98 list->head->previous = item; in linked_list_add_first()
99 item->next = list->head; in linked_list_add_first()
100 list->head = item; in linked_list_add_first()
146 list->head = next_item; in linked_list_remove()
[all …]
/NetX-Duo-v6.2.1/addons/azure_iot/azure_iot_security_module/iot-security-module-core/inc/asc_security_core/utils/collection/
Dlinked_list.h27 type *head;\
68 (linked_list)->head = NULL;\
80 while ((linked_list)->head != NULL) {\
81 linked_list_##type##_remove((linked_list), (linked_list)->head);\
87 return (linked_list)->head;\
106 if ((linked_list)->head == NULL) {\
107 (linked_list)->head = item;\
110 (linked_list)->head->previous = item;\
111 item->next = (linked_list)->head;\
112 (linked_list)->head = item;\
[all …]
Dlist.h54 collection_item_t *head; member
104 #define linked_list_foreach(list, iter) for (iter = (void *)((list)->head); (iter); iter = (iter)->…
Dstack.h25 collection_item_t *head; member
/NetX-Duo-v6.2.1/addons/mdns/
Dnxd_mdns.c1683 ULONG *head; in _nx_mdns_enable() local
1785 head = (ULONG*)mdns_ptr -> nx_mdns_local_service_cache; in _nx_mdns_enable()
1788 head = (ULONG*)(*head); in _nx_mdns_enable()
1791 …_MDNS_RR*)((UCHAR*)mdns_ptr -> nx_mdns_local_service_cache + sizeof(ULONG)); (ULONG*)p < head; p++) in _nx_mdns_enable()
1982 ULONG *head; in _nx_mdns_disable() local
2020 head = (ULONG*)mdns_ptr -> nx_mdns_peer_service_cache; in _nx_mdns_disable()
2023 head = (ULONG*)(*head); in _nx_mdns_disable()
2026 …X_MDNS_RR*)((UCHAR*)mdns_ptr -> nx_mdns_peer_service_cache + sizeof(ULONG)); (ULONG*)p < head; p++) in _nx_mdns_disable()
2045 head = (ULONG*)mdns_ptr -> nx_mdns_local_service_cache; in _nx_mdns_disable()
2048 head = (ULONG*)(*head); in _nx_mdns_disable()
[all …]
/NetX-Duo-v6.2.1/addons/dns/
Dnxd_dns.c9429 ALIGN_TYPE *head; in _nx_dns_cache_initialize() local
9440 head = (ALIGN_TYPE*)cache_ptr; in _nx_dns_cache_initialize()
9441 *head = (ALIGN_TYPE)((ALIGN_TYPE*)cache_ptr + 1); in _nx_dns_cache_initialize()
9759 ALIGN_TYPE *head; in _nx_dns_cache_add_rr() local
9778 head = (ALIGN_TYPE*)cache_ptr; in _nx_dns_cache_add_rr()
9779 head = (ALIGN_TYPE*)(*head); in _nx_dns_cache_add_rr()
9785 for(p = (NX_DNS_RR*)((ALIGN_TYPE*)cache_ptr + 1); p < (NX_DNS_RR*)head; p++) in _nx_dns_cache_add_rr()
9798 if((ALIGN_TYPE*)((UCHAR*)head + sizeof(NX_DNS_RR)) > tail) in _nx_dns_cache_add_rr()
9802 for(p = (NX_DNS_RR*)((ALIGN_TYPE*)cache_ptr + 1); p < (NX_DNS_RR*)head; p++) in _nx_dns_cache_add_rr()
9836 head = (ALIGN_TYPE*)cache_ptr; in _nx_dns_cache_add_rr()
[all …]