Home
last modified time | relevance | path

Searched refs:MEM_ROUND (Results 1 – 3 of 3) sorted by relevance

/reactos/sdk/lib/3rdparty/adns/src/
H A Dquery.c336 an= malloc(MEM_ROUND(MEM_ROUND(sizeof(*an)) + sz)); in alloc_common()
339 return (byte*)an + MEM_ROUND(sizeof(*an)); in alloc_common()
345 sz= MEM_ROUND(sz); in adns__alloc_interim()
355 sz= MEM_ROUND(sz); in adns__alloc_preserved()
363 return alloc_common(qu,MEM_ROUND(sz)); in adns__alloc_mine()
370 an= (void*)((byte*)block - MEM_ROUND(sizeof(*an))); in adns__transfer_interim()
378 sz= MEM_ROUND(sz); in adns__transfer_interim()
392 sz= MEM_ROUND(sz); in adns__alloc_final()
474 ans= realloc(qu->answer, MEM_ROUND(MEM_ROUND(sizeof(*ans)) + qu->interim_allocd)); in makefinal_query()
479 qu->final_allocspace= (byte*)ans + MEM_ROUND(sizeof(*ans)); in makefinal_query()
H A Dinternal.h711 #define MEM_ROUND(sz) \ macro
/reactos/sdk/lib/3rdparty/adns/
H A Dchangelog46 * Call MEM_ROUND in __transfer_interim (avoids assert fail