63 if(
l->linkDeallocator)
64 l->linkDeallocator(lk);
83 else if (data0 ==
data1)
104 for(lk =
l->sentinel->next;lk !=
l->sentinel &&
l->linkCompare(lk->
data,
data) <0 ;lk = lk->
next);
124 for(lk =
l->sentinel->prev;lk !=
l->sentinel &&
l->linkCompare(lk->
data,
data) >0 ;lk = lk->
prev);
144 if (lk ==
l->sentinel)
169 if (lk ==
l->sentinel)
193 "Cannot initialize memory for list");
202 "Cannot initialize memory for sentinel");
206 l->sentinel->next =
l->sentinel;
207 l->sentinel->prev =
l->sentinel;
208 l->sentinel->data =
NULL;
211 if (deallocator !=
NULL)
212 l->linkDeallocator = deallocator;
284 "Cannot initialize memory for new link");
288 lkPlace = lkPlace->
prev;
290 (lkPlace->
next)->prev = lkNew;
291 lkPlace->
next = lkNew;
292 lkNew->
prev = lkPlace;
316 "Cannot initialize memory for new link");
321 (lkPlace->
next)->prev = lkNew;
322 lkPlace->
next = lkNew;
323 lkNew->
prev = lkPlace;
428 lk =
l->sentinel->next;
429 while(lk !=
l->sentinel) {
450 return (
l->sentinel->next ==
l->sentinel);
466 return (
l->sentinel->next);
482 return (
l->sentinel->prev);
502 for(lk =
l->sentinel->next; lk !=
l->sentinel; lk = lk->
next,
count++);
548 lkPlace =
l->sentinel;
553 "Cannot initialize memory for new link");
558 (lkPlace->
next)->prev = lkNew;
559 lkPlace->
next = lkNew;
560 lkNew->
prev = lkPlace;
580 lkPlace =
l->sentinel->prev;
584 "Cannot initialize memory for new link");
589 (lkPlace->
next)->prev = lkNew;
590 lkPlace->
next = lkNew;
591 lkNew->
prev = lkPlace;
625 lkPrev =
l->sentinel;
626 for (lk =
l->sentinel->next; lk !=
l->sentinel; lk = lk->
next) {
681 for(lk =
l->sentinel->next; lk !=
l->sentinel; lk = lk->
next) {
702 for(lk =
l->sentinel->prev; lk !=
l->sentinel; lk = lk->
prev) {
void user(int argc, const char *argv[])
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLuint GLuint GLsizei count
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
static unsigned __int64 next
XMLPUBVAR xmlMallocFunc xmlMalloc
XMLPUBVAR xmlFreeFunc xmlFree
XMLPUBVAR void * xmlGenericErrorContext
XMLPUBVAR xmlGenericErrorFunc xmlGenericError
int(* xmlListWalker)(const void *data, void *user)
void(* xmlListDeallocator)(xmlLinkPtr lk)
int(* xmlListDataCompare)(const void *data0, const void *data1)
static xmlLinkPtr xmlListLinkSearch(xmlListPtr l, void *data)
int xmlListRemoveLast(xmlListPtr l, void *data)
void xmlListSort(xmlListPtr l)
void xmlListReverse(xmlListPtr l)
static xmlLinkPtr xmlListHigherSearch(xmlListPtr l, void *data)
void * xmlListReverseSearch(xmlListPtr l, void *data)
static void xmlLinkDeallocator(xmlListPtr l, xmlLinkPtr lk)
int xmlListEmpty(xmlListPtr l)
static int xmlLinkCompare(const void *data0, const void *data1)
xmlLinkPtr xmlListEnd(xmlListPtr l)
void xmlListWalk(xmlListPtr l, xmlListWalker walker, void *user)
void xmlListPopFront(xmlListPtr l)
void xmlListPopBack(xmlListPtr l)
int xmlListPushBack(xmlListPtr l, void *data)
void xmlListReverseWalk(xmlListPtr l, xmlListWalker walker, void *user)
xmlListPtr xmlListDup(const xmlListPtr old)
xmlLinkPtr xmlListFront(xmlListPtr l)
int xmlListAppend(xmlListPtr l, void *data)
void * xmlLinkGetData(xmlLinkPtr lk)
xmlListPtr xmlListCreate(xmlListDeallocator deallocator, xmlListDataCompare compare)
int xmlListRemoveAll(xmlListPtr l, void *data)
void * xmlListSearch(xmlListPtr l, void *data)
void xmlListClear(xmlListPtr l)
int xmlListCopy(xmlListPtr cur, const xmlListPtr old)
int xmlListRemoveFirst(xmlListPtr l, void *data)
int xmlListPushFront(xmlListPtr l, void *data)
int xmlListSize(xmlListPtr l)
void xmlListDelete(xmlListPtr l)
void xmlListMerge(xmlListPtr l1, xmlListPtr l2)
static xmlLinkPtr xmlListLowerSearch(xmlListPtr l, void *data)
int xmlListInsert(xmlListPtr l, void *data)
static xmlLinkPtr xmlListLinkReverseSearch(xmlListPtr l, void *data)
int(* linkCompare)(const void *, const void *)
void(* linkDeallocator)(xmlLinkPtr)