Home
last modified time | relevance | path

Searched refs:ELMT_FROM_HH (Results 1 – 2 of 2) sorted by relevance

/net-tools-2.7.6/tinydtls-0.8.2/
Duthash.h80 #define ELMT_FROM_HH(tbl,hhp) ((void*)(((char*)(hhp)) - ((tbl)->hho))) macro
162 (add)->hh.prev = ELMT_FROM_HH((head)->hh.tbl, (head)->hh.tbl->tail); \
204 if ((delptr) == ELMT_FROM_HH((head)->hh.tbl,(head)->hh.tbl->tail)) { \
290 _prev = (char*)ELMT_FROM_HH((head)->hh.tbl, _thh); \
638 if (head.hh_head) DECLTYPE_ASSIGN(out,ELMT_FROM_HH(tbl,head.hh_head)); \
644 if (out->hh.hh_next) DECLTYPE_ASSIGN(out,ELMT_FROM_HH(tbl,out->hh.hh_next)); \
798 cmpfcn(DECLTYPE(head)(ELMT_FROM_HH((head)->hh.tbl,_hs_p)), \
799 DECLTYPE(head)(ELMT_FROM_HH((head)->hh.tbl,_hs_q))) \
815 ELMT_FROM_HH((head)->hh.tbl,_hs_e) : NULL); \
820 ELMT_FROM_HH((head)->hh.tbl,_hs_tail) : NULL); \
[all …]
/net-tools-2.7.6/libcoap/include/coap/
Duthash.h101 #define ELMT_FROM_HH(tbl,hhp) ((void*)(((char*)(hhp)) - ((tbl)->hho))) macro
194 (add)->hh.prev = ELMT_FROM_HH((head)->hh.tbl, (head)->hh.tbl->tail); \
236 if ((delptr) == ELMT_FROM_HH((head)->hh.tbl,(head)->hh.tbl->tail)) { \
328 _prev = (char*)ELMT_FROM_HH((head)->hh.tbl, _thh); \
613 if (head.hh_head) DECLTYPE_ASSIGN(out,ELMT_FROM_HH(tbl,head.hh_head)); \
619 if ((out)->hh.hh_next) DECLTYPE_ASSIGN(out,ELMT_FROM_HH(tbl,(out)->hh.hh_next)); \
775 cmpfcn(DECLTYPE(head)(ELMT_FROM_HH((head)->hh.tbl,_hs_p)), \
776 DECLTYPE(head)(ELMT_FROM_HH((head)->hh.tbl,_hs_q))) \
794 ELMT_FROM_HH((head)->hh.tbl,_hs_e) : NULL); \
800 ELMT_FROM_HH((head)->hh.tbl,_hs_tail) : NULL); \
[all …]