• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/apr-30/apr/apr/include/

Lines Matching refs:hp

155  * @param hp   The head of the ring
159 #define APR_RING_SENTINEL(hp, elem, link) \
160 (struct elem *)((char *)(&(hp)->next) - APR_OFFSETOF(struct elem, link))
164 * @param hp The head of the ring
166 #define APR_RING_FIRST(hp) (hp)->next
169 * @param hp The head of the ring
171 #define APR_RING_LAST(hp) (hp)->prev
188 * @param hp The head of the ring
192 #define APR_RING_INIT(hp, elem, link) do { \
193 APR_RING_FIRST((hp)) = APR_RING_SENTINEL((hp), elem, link); \
194 APR_RING_LAST((hp)) = APR_RING_SENTINEL((hp), elem, link); \
199 * @param hp The head of the ring
204 #define APR_RING_EMPTY(hp, elem, link) \
205 (APR_RING_FIRST((hp)) == APR_RING_SENTINEL((hp), elem, link))
279 * (..hp.. becomes ..hp..ep1..epN..)
280 * @param hp Head of the ring
286 #define APR_RING_SPLICE_HEAD(hp, ep1, epN, elem, link) \
287 APR_RING_SPLICE_AFTER(APR_RING_SENTINEL((hp), elem, link), \
292 * (..hp.. becomes ..ep1..epN..hp..)
293 * @param hp Head of the ring
299 #define APR_RING_SPLICE_TAIL(hp, ep1, epN, elem, link) \
300 APR_RING_SPLICE_BEFORE(APR_RING_SENTINEL((hp), elem, link), \
305 * (..hp.. becomes ..hp..nep..)
306 * @param hp Head of the ring
311 #define APR_RING_INSERT_HEAD(hp, nep, elem, link) \
312 APR_RING_SPLICE_HEAD((hp), (nep), (nep), elem, link)
316 * (..hp.. becomes ..nep..hp..)
317 * @param hp Head of the ring
322 #define APR_RING_INSERT_TAIL(hp, nep, elem, link) \
323 APR_RING_SPLICE_TAIL((hp), (nep), (nep), elem, link)
414 #define APR_RING_CHECK(hp, elem, link, msg) \
415 APR_RING_CHECK_ELEM(APR_RING_SENTINEL(hp, elem, link), elem, link, msg)
444 #define APR_RING_CHECK_CONSISTENCY(hp, elem, link) \
445 APR_RING_CHECK_ELEM_CONSISTENCY(APR_RING_SENTINEL(hp, elem, link),\
471 * @param hp Head of the ring
476 #define APR_RING_CHECK(hp, elem, link, msg)
482 * @param hp Head of the ring
486 #define APR_RING_CHECK_CONSISTENCY(hp, elem, link)