Home
last modified time | relevance | path

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

/net-tools-3.4.0/libcoap/include/coap/
Dutlist.h88 #define _PREVASGN(elt,list,to,prev) { char **_alias = (char**)&((list)->prev); *_alias=(char*)(to);… argument
96 #define _PREVASGN(elt,list,to,prev) ((elt)->prev)=(to) argument
169 DL_SORT2(list, cmp, prev, next)
171 #define DL_SORT2(list, cmp, prev, next) \ argument
215 _SV(_ls_e,list); _PREVASGN(_ls_e,list,_ls_tail,prev); _RS(list); \
220 _CASTASGN(list->prev, _ls_tail); \
231 CDL_SORT2(list, cmp, prev, next)
233 #define CDL_SORT2(list, cmp, prev, next) \ argument
290 _SV(_ls_e,list); _PREVASGN(_ls_e,list,_ls_tail,prev); _RS(list); \
295 _CASTASGN(list->prev,_ls_tail); \
[all …]
Duthash.h190 (head)->hh.prev = NULL; \
194 (add)->hh.prev = ELMT_FROM_HH((head)->hh.tbl, (head)->hh.tbl->tail); \
227 if ( ((delptr)->hh.prev == NULL) && ((delptr)->hh.next == NULL) ) { \
238 (UT_hash_handle*)((ptrdiff_t)((delptr)->hh.prev) + \
241 if ((delptr)->hh.prev) { \
242 ((UT_hash_handle*)((ptrdiff_t)((delptr)->hh.prev) + \
249 (head)->hh.tbl->hho))->prev = \
250 _hd_hh_del->prev; \
324 if (_prev !=(char*)(_thh->prev)) { \
326 _thh->prev, _prev ); \
[all …]
/net-tools-3.4.0/tinydtls-0.8.2/
Dutlist.h82 #define _PREV(elt,list) ((char*)((list)->prev))
83 #define _PREVASGN(elt,list,to) { char **_alias = (char**)&((list)->prev); *_alias=(char*)(to); }
90 #define _PREV(elt,list) ((elt)->prev)
91 #define _PREVASGN(elt,list,to) ((elt)->prev)=(to)
204 _CASTASGN(list->prev, _ls_tail); \
273 _CASTASGN(list->prev,_ls_tail); \
388 (add)->prev = (head)->prev; \
389 (head)->prev = (add); \
391 (add)->prev = (add); \
399 (add)->prev = (head)->prev; \
[all …]
Duthash.h158 (head)->hh.prev = NULL; \
162 (add)->hh.prev = ELMT_FROM_HH((head)->hh.tbl, (head)->hh.tbl->tail); \
196 if ( ((delptr)->hh.prev == NULL) && ((delptr)->hh.next == NULL) ) { \
206 (UT_hash_handle*)((char*)((delptr)->hh.prev) + \
209 if ((delptr)->hh.prev) { \
210 ((UT_hash_handle*)((char*)((delptr)->hh.prev) + \
217 (head)->hh.tbl->hho))->prev = \
218 _hd_hh_del->prev; \
286 if (_prev !=(char*)(_thh->prev)) { \
288 _thh->prev, _prev ); \
[all …]
/net-tools-3.4.0/mbedtls-2.4.0/library/
Dmemory_buffer_alloc.c60 memory_header *prev; member
103 (size_t) hdr, (size_t) hdr->prev, (size_t) hdr->next, in debug_header()
164 if( hdr->prev != NULL && hdr->prev == hdr->next ) in verify_header()
196 if( heap.first->prev != NULL ) in verify_chain()
216 if( cur->prev != prv ) in verify_chain()
328 new->prev = cur; in buffer_alloc_calloc()
338 new->next->prev = new; in buffer_alloc_calloc()
428 if( hdr->prev != NULL && hdr->prev->alloc == 0 ) in buffer_alloc_free()
433 hdr->prev->size += sizeof(memory_header) + hdr->size; in buffer_alloc_free()
434 hdr->prev->next = hdr->next; in buffer_alloc_free()
[all …]
Dx509_crt.c923 mbedtls_x509_crt *crt = chain, *prev = NULL; in mbedtls_x509_crt_parse_der() local
933 prev = crt; in mbedtls_x509_crt_parse_der()
947 prev = crt; in mbedtls_x509_crt_parse_der()
954 if( prev ) in mbedtls_x509_crt_parse_der()
955 prev->next = NULL; in mbedtls_x509_crt_parse_der()
/net-tools-3.4.0/mbedtls-2.4.0/programs/test/
Dudp_proxy.c357 static packet prev; variable
361 memset( &prev, 0, sizeof( packet ) ); in clear_pending()
443 prev.dst == NULL && in handle_message()
448 memcpy( &prev, &cur, sizeof( packet ) ); in handle_message()
457 if( prev.dst != NULL ) in handle_message()
459 ret = send_packet( &prev, "delayed" ); in handle_message()
460 memset( &prev, 0, sizeof( packet ) ); in handle_message()