Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 51) sorted by relevance

123

/net-tools-3.4.0/libcoap/include/coap/
Dutlist.h85 #define _NEXT(elt,list,next) ((char*)((list)->next)) argument
86 #define _NEXTASGN(elt,list,to,next) { char **_alias = (char**)&((list)->next); *_alias=(char*)(to);… argument
93 #define _NEXT(elt,list,next) ((elt)->next) argument
94 #define _NEXTASGN(elt,list,to,next) ((elt)->next)=(to) argument
106 LL_SORT2(list, cmp, next)
108 #define LL_SORT2(list, cmp, next) \ argument
129 _SV(_ls_q,list); _ls_q = _NEXT(_ls_q,list,next); _RS(list); \
136 _NEXT(_ls_q,list,next); _RS(list); _ls_qsize--; \
139 _NEXT(_ls_p,list,next); _RS(list); _ls_psize--; \
142 _NEXT(_ls_p,list,next); _RS(list); _ls_psize--; \
[all …]
Dt_list.h79 struct list *next; member
130 ((struct list *)newitem)->next = ((struct list *)previtem)->next; in list_insert()
131 ((struct list *)previtem)->next = (struct list*)newitem; in list_insert()
138 return item == NULL? NULL: ((struct list *)item)->next; in list_item_next()
Duthash.h185 (add)->hh.next = NULL; \
193 (head)->hh.tbl->tail->next = (add); \
227 if ( ((delptr)->hh.prev == NULL) && ((delptr)->hh.next == NULL) ) { \
243 (head)->hh.tbl->hho))->next = (delptr)->hh.next; \
245 DECLTYPE_ASSIGN(head,(delptr)->hh.next); \
247 if (_hd_hh_del->next) { \
248 ((UT_hash_handle*)((ptrdiff_t)_hd_hh_del->next + \
329 _thh = ( _thh->next ? (UT_hash_handle*)((char*)(_thh->next) + \
753 _hs_q = (UT_hash_handle*)((_hs_q->next) ? \
754 ((void*)((char*)(_hs_q->next) + \
[all …]
Dsubscribe.h55 struct coap_subscription_t *next; /**< next element in linked list */ member
Dasync.h48 struct coap_async_state_t *next; /**< internally used for linking */ member
Dresource.h54 struct coap_attr_t *next; member
82 struct coap_resource_t *next; member
/net-tools-3.4.0/libcoap/tests/
Dtest_sendqueue.c34 queue = queue->next; in add_timestamps()
58 CU_ASSERT_PTR_EQUAL(sendqueue->next, node[2]); in t_sendqueue2()
75 CU_ASSERT_PTR_NOT_NULL(sendqueue->next); in t_sendqueue3()
76 CU_ASSERT_PTR_NOT_NULL(sendqueue->next->next); in t_sendqueue3()
78 CU_ASSERT(sendqueue->next->t == timestamp[1] - timestamp[3]); in t_sendqueue3()
79 CU_ASSERT(sendqueue->next->next->t == timestamp[2] - timestamp[1]); in t_sendqueue3()
93 CU_ASSERT_PTR_NOT_NULL(sendqueue->next); in t_sendqueue4()
94 CU_ASSERT_PTR_EQUAL(sendqueue->next, node[1]); in t_sendqueue4()
96 CU_ASSERT_PTR_NOT_NULL(sendqueue->next->next); in t_sendqueue4()
97 CU_ASSERT_PTR_EQUAL(sendqueue->next->next, node[4]); in t_sendqueue4()
[all …]
/net-tools-3.4.0/tinydtls-0.8.2/
Dutlist.h80 #define _NEXT(elt,list) ((char*)((list)->next))
81 #define _NEXTASGN(elt,list,to) { char **_alias = (char**)&((list)->next); *_alias=(char*)(to); }
88 #define _NEXT(elt,list) ((elt)->next)
89 #define _NEXTASGN(elt,list,to) ((elt)->next)=(to)
289 (add)->next = head; \
296 (add)->next=NULL; \
299 while (_tmp->next) { _tmp = _tmp->next; } \
300 _tmp->next=(add); \
310 (head)=(head)->next; \
313 while (_tmp->next && (_tmp->next != (del))) { \
[all …]
Dt_list.h81 struct list *next; member
131 ((struct list *)newitem)->next = ((struct list *)previtem)->next; in list_insert()
132 ((struct list *)previtem)->next = newitem; in list_insert()
139 return item == NULL? NULL: ((struct list *)item)->next; in list_item_next()
Duthash.h153 (add)->hh.next = NULL; \
161 (head)->hh.tbl->tail->next = (add); \
196 if ( ((delptr)->hh.prev == NULL) && ((delptr)->hh.next == NULL) ) { \
211 (head)->hh.tbl->hho))->next = (delptr)->hh.next; \
213 DECLTYPE_ASSIGN(head,(delptr)->hh.next); \
215 if (_hd_hh_del->next) { \
216 ((UT_hash_handle*)((char*)_hd_hh_del->next + \
291 _thh = ( _thh->next ? (UT_hash_handle*)((char*)(_thh->next) + \
778 _hs_q = (UT_hash_handle*)((_hs_q->next) ? \
779 ((void*)((char*)(_hs_q->next) + \
[all …]
Dnetq.h39 struct netq_t *next; member
Dpeer.h56 struct dtls_peer_t *next;
/net-tools-3.4.0/mbedtls-2.4.0/library/
Dmemory_buffer_alloc.c61 memory_header *next; member
103 (size_t) hdr, (size_t) hdr->prev, (size_t) hdr->next, in debug_header()
124 cur = cur->next; in debug_chain()
164 if( hdr->prev != NULL && hdr->prev == hdr->next ) in verify_header()
185 memory_header *prv = heap.first, *cur = heap.first->next; in verify_chain()
226 cur = cur->next; in verify_chain()
329 new->next = cur->next; in buffer_alloc_calloc()
337 if( new->next != NULL ) in buffer_alloc_calloc()
338 new->next->prev = new; in buffer_alloc_calloc()
354 cur->next = new; in buffer_alloc_calloc()
[all …]
Dx509_crl.c240 cur_entry->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_crl_entry ) ); in x509_get_entries()
242 if( cur_entry->next == NULL ) in x509_get_entries()
245 cur_entry = cur_entry->next; in x509_get_entries()
277 while( crl->version != 0 && crl->next != NULL ) in mbedtls_x509_crl_parse_der()
278 crl = crl->next; in mbedtls_x509_crl_parse_der()
280 if( crl->version != 0 && crl->next == NULL ) in mbedtls_x509_crl_parse_der()
282 crl->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_crl ) ); in mbedtls_x509_crl_parse_der()
284 if( crl->next == NULL ) in mbedtls_x509_crl_parse_der()
290 mbedtls_x509_crl_init( crl->next ); in mbedtls_x509_crl_parse_der()
291 crl = crl->next; in mbedtls_x509_crl_parse_der()
[all …]
Dx509_crt.c487 if( cur->next != NULL ) in x509_get_subject_alt_name()
490 cur->next = mbedtls_calloc( 1, sizeof( mbedtls_asn1_sequence ) ); in x509_get_subject_alt_name()
492 if( cur->next == NULL ) in x509_get_subject_alt_name()
496 cur = cur->next; in x509_get_subject_alt_name()
507 cur->next = NULL; in x509_get_subject_alt_name()
931 while( crt->version != 0 && crt->next != NULL ) in mbedtls_x509_crt_parse_der()
934 crt = crt->next; in mbedtls_x509_crt_parse_der()
940 if( crt->version != 0 && crt->next == NULL ) in mbedtls_x509_crt_parse_der()
942 crt->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in mbedtls_x509_crt_parse_der()
944 if( crt->next == NULL ) in mbedtls_x509_crt_parse_der()
[all …]
Dssl_cache.c78 cur = cur->next; in mbedtls_ssl_cache_get()
181 cur = cur->next; in mbedtls_ssl_cache_set()
214 cache->chain = cur->next; in mbedtls_ssl_cache_set()
215 cur->next = NULL; in mbedtls_ssl_cache_set()
216 prv->next = cur; in mbedtls_ssl_cache_set()
234 prv->next = cur; in mbedtls_ssl_cache_set()
310 cur = cur->next; in mbedtls_ssl_cache_free()
Dasn1parse.c272 cur->next = (mbedtls_asn1_sequence*)mbedtls_calloc( 1, in mbedtls_asn1_get_sequence_of()
275 if( cur->next == NULL ) in mbedtls_asn1_get_sequence_of()
278 cur = cur->next; in mbedtls_asn1_get_sequence_of()
283 cur->next = NULL; in mbedtls_asn1_get_sequence_of()
370 *head = cur->next; in mbedtls_asn1_free_named_data_list()
387 list = list->next; in mbedtls_asn1_find_named_data()
Dx509.c402 cur->next = NULL; in x509_get_attr_type_value()
460 cur->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_name ) ); in mbedtls_x509_get_name()
462 if( cur->next == NULL ) in mbedtls_x509_get_name()
465 cur = cur->next; in mbedtls_x509_get_name()
474 cur->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_name ) ); in mbedtls_x509_get_name()
476 if( cur->next == NULL ) in mbedtls_x509_get_name()
479 cur = cur->next; in mbedtls_x509_get_name()
726 name = name->next; in mbedtls_x509_dn_gets()
759 name = name->next; in mbedtls_x509_dn_gets()
/net-tools-3.4.0/libcoap/src/
Dnet.c200 q = q->next; in coap_adjust_basetime()
231 node->next = q; in coap_insert_node()
241 q = q->next; in coap_insert_node()
248 node->next = q; in coap_insert_node()
249 p->next = node; in coap_insert_node()
269 coap_delete_all( queue->next ); in coap_delete_all()
299 coap_queue_t *next; in coap_pop_next() local
304 next = context->sendqueue; in coap_pop_next()
305 context->sendqueue = context->sendqueue->next; in coap_pop_next()
307 context->sendqueue->t += next->t; in coap_pop_next()
[all …]
/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/
Dx509_crl.h61 struct mbedtls_x509_crl_entry *next; member
94 struct mbedtls_x509_crl *next; member
Dasn1.h143 struct mbedtls_asn1_sequence *next; /**< The next entry in the sequence. */ member
154 struct mbedtls_asn1_named_data *next; /**< The next entry in the sequence. */ member
Dssl_cache.h69 mbedtls_ssl_cache_entry *next; /*!< chain pointer */ member
/net-tools-3.4.0/libcoap/examples/
Dcoap_list.h17 struct coap_list_t *next; member
/net-tools-3.4.0/mbedtls-2.4.0/programs/ssl/
Dssl_server2.c493 sni_entry *next; member
498 sni_entry *cur = head, *next; in sni_free() local
514 next = cur->next; in sni_free()
516 cur = next; in sni_free()
594 new->next = cur; in sni_parse()
628 cur = cur->next; in sni_callback()
683 psk_entry *next; member
691 psk_entry *next; in psk_free() local
695 next = head->next; in psk_free()
697 head = next; in psk_free()
[all …]
/net-tools-3.4.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_ctr_drbg.function143 * so the next few calls should not use entropy */
160 * so the next call should reseed */
179 /* Now enable PR, so the next few calls should all reseed */

123