Lines Matching defs:m_pos
65 void* m_pos;
118 if(l->m_head_free.m_pos != NULL)\
120 element = (element_type*)(l->m_head_free.m_pos);\
124 l->m_head_free.m_pos = element->m_next;\
128 l->m_head_free.m_pos = NULL;\
133 if(l->m_buf_size < l->m_size && l->m_head_free.m_pos == NULL)\
148 if(l->m_head_free.m_pos != NULL)\
150 ((element_type*)l->m_head_free.m_pos)->m_prev = element;\
152 element->m_next = ((element_type*)l->m_head_free.m_pos);\
153 l->m_head_free.m_pos = element;
156 /*#define GET_FIRST_FREE(l) ((ELEMENT_##type*)(l->m_head_free.m_pos))*/
167 pl->m_head.m_pos = NULL;\
168 pl->m_tail.m_pos = NULL;\
169 pl->m_head_free.m_pos = NULL;\
194 if(pos->m_pos)\
196 ELEMENT_##type* element = (ELEMENT_##type*)(pos->m_pos);\
197 pos->m_pos = element->m_next;\
207 if(pos->m_pos)\
209 ELEMENT_##type* element = (ELEMENT_##type*)(pos->m_pos);\
210 pos->m_pos = element->m_prev;\
220 return !!pos.m_pos;\
224 l->m_head.m_pos = NULL;\
225 l->m_tail.m_pos = NULL;\
227 l->m_head_free.m_pos = NULL;\
234 element->m_next = (ELEMENT_##type*)(l->m_head.m_pos);\
242 l->m_tail.m_pos = element;\
244 l->m_head.m_pos = element;\
252 element->m_prev = (ELEMENT_##type*)(l->m_tail.m_pos);\
260 l->m_head.m_pos = element;\
262 l->m_tail.m_pos = element;\
267 ELEMENT_##type* element = ((ELEMENT_##type*)(l->m_head.m_pos));\
272 l->m_head.m_pos = element->m_next;\
278 ELEMENT_##type* element = ((ELEMENT_##type*)(l->m_tail.m_pos));\
283 l->m_tail.m_pos = element->m_prev;\
294 before = (ELEMENT_##type*)pos.m_pos;\
301 l->m_tail.m_pos = element;\
302 newpos.m_pos = element;\
312 after = (ELEMENT_##type*)pos.m_pos;\
319 l->m_head.m_pos = element;\
320 newpos.m_pos = element;\
325 ELEMENT_##type* element = ((ELEMENT_##type*)pos.m_pos);\
332 l->m_head.m_pos = element->m_next;\
340 l->m_tail.m_pos = element->m_prev;\
347 ELEMENT_##type* element = ((ELEMENT_##type*)(pos.m_pos));\
352 ELEMENT_##type* element = ((ELEMENT_##type*)(pos.m_pos));\