idlist64.c File Reference

#include "idlist64_p.h"
#include <gwenhywfar/debug.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
Include dependency graph for idlist64.c:

Go to the source code of this file.

Functions

static int __compAscending (const void *pa, const void *pb)
static int __compDescending (const void *pa, const void *pb)
static int GWEN_IdList64__Sort (GWEN_IDLIST64 *idl, int ascending)
int GWEN_IdList64_AddId (GWEN_IDLIST64 *idl, uint64_t id)
int GWEN_IdList64_AppendId (GWEN_IDLIST64 *idl, uint64_t id)
void GWEN_IdList64_Attach (GWEN_IDLIST64 *idl)
void GWEN_IdList64_Clean (GWEN_IDLIST64 *idl)
void GWEN_IdList64_Clear (GWEN_IDLIST64 *idl)
int GWEN_IdList64_DelId (GWEN_IDLIST64 *idl, uint64_t id)
GWEN_IDLIST64GWEN_IdList64_dup (const GWEN_IDLIST64 *idl)
void GWEN_IdList64_free (GWEN_IDLIST64 *idl)
uint64_t GWEN_IdList64_GetFirstId (GWEN_IDLIST64 *idl)
uint64_t GWEN_IdList64_GetFirstId2 (const GWEN_IDLIST64 *idl, uint64_t *pos)
uint64_t GWEN_IdList64_GetIdAt (const GWEN_IDLIST64 *idl, uint64_t idx)
uint64_t GWEN_IdList64_GetNextId (GWEN_IDLIST64 *idl)
uint64_t GWEN_IdList64_GetNextId2 (const GWEN_IDLIST64 *idl, uint64_t *pos)
int GWEN_IdList64_HasId (const GWEN_IDLIST64 *idl, uint64_t id)
void GWEN_IdList64_Iterator_free (GWEN_IDLIST64_ITERATOR *it)
uint64_t GWEN_IdList64_Iterator_GetFirstId (GWEN_IDLIST64_ITERATOR *it)
uint64_t GWEN_IdList64_Iterator_GetNextId (GWEN_IDLIST64_ITERATOR *it)
GWEN_IDLIST64_ITERATORGWEN_IdList64_Iterator_new (GWEN_IDLIST64 *idl)
GWEN_IDLIST64GWEN_IdList64_new ()
int GWEN_IdList64_ReverseSort (GWEN_IDLIST64 *idl)
int GWEN_IdList64_Sort (GWEN_IDLIST64 *idl)
static int GWEN_IdTable64_AddId (GWEN_IDTABLE64 *idt, uint64_t id)
static int GWEN_IdTable64_AppendId (GWEN_IDTABLE64 *idt, uint64_t id)
void GWEN_IdTable64_Attach (GWEN_IDTABLE64 *idt)
static int GWEN_IdTable64_DelId (GWEN_IDTABLE64 *idt, uint64_t id)
void GWEN_IdTable64_free (GWEN_IDTABLE64 *idt)
static unsigned int GWEN_IdTable64_GetCount (const GWEN_IDTABLE64 *idt)
static uint64_t GWEN_IdTable64_GetFirstId (GWEN_IDTABLE64 *idt)
static uint64_t GWEN_IdTable64_GetFirstId2 (const GWEN_IDTABLE64 *idt, uint64_t *tabIdx)
static uint64_t GWEN_IdTable64_GetNextId (GWEN_IDTABLE64 *idt)
static uint64_t GWEN_IdTable64_GetNextId2 (const GWEN_IDTABLE64 *idt, uint64_t *tabIdx)
static int GWEN_IdTable64_HasId (const GWEN_IDTABLE64 *idt, uint64_t id)
static int GWEN_IdTable64_IsEmpty (const GWEN_IDTABLE64 *idt)
static int GWEN_IdTable64_IsFull (const GWEN_IDTABLE64 *idt)
GWEN_IDTABLE64 * GWEN_IdTable64_new ()

Function Documentation

static int __compAscending ( const void *  pa,
const void *  pb 
) [static]

Definition at line 399 of file idlist64.c.

Referenced by GWEN_IdList64__Sort().

Here is the caller graph for this function:

static int __compDescending ( const void *  pa,
const void *  pb 
) [static]

Definition at line 413 of file idlist64.c.

Referenced by GWEN_IdList64__Sort().

Here is the caller graph for this function:

static int GWEN_IdList64__Sort ( GWEN_IDLIST64 idl,
int  ascending 
) [static]
void GWEN_IdList64_Clean ( GWEN_IDLIST64 idl  ) 

Definition at line 318 of file idlist64.c.

References GWEN_IdTable64_free(), and GWEN_IdTable64_IsEmpty().

Referenced by GWEN_IdList64_DelId().

Here is the call graph for this function:

Here is the caller graph for this function:

static int GWEN_IdTable64_AddId ( GWEN_IDTABLE64 *  idt,
uint64_t  id 
) [inline, static]

Definition at line 82 of file idlist64.c.

Referenced by GWEN_IdList64_AddId().

Here is the caller graph for this function:

static int GWEN_IdTable64_AppendId ( GWEN_IDTABLE64 *  idt,
uint64_t  id 
) [inline, static]

Definition at line 97 of file idlist64.c.

Referenced by GWEN_IdList64_AppendId().

Here is the caller graph for this function:

void GWEN_IdTable64_Attach ( GWEN_IDTABLE64 *  idt  ) 

Definition at line 74 of file idlist64.c.

Referenced by GWEN_IdList64_Iterator_GetFirstId(), and GWEN_IdList64_Iterator_GetNextId().

Here is the caller graph for this function:

static int GWEN_IdTable64_DelId ( GWEN_IDTABLE64 *  idt,
uint64_t  id 
) [inline, static]

Definition at line 125 of file idlist64.c.

Referenced by GWEN_IdList64_DelId().

Here is the caller graph for this function:

void GWEN_IdTable64_free ( GWEN_IDTABLE64 *  idt  ) 

Definition at line 62 of file idlist64.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

Referenced by GWEN_IdList64_Clean(), GWEN_IdList64_Iterator_free(), GWEN_IdList64_Iterator_GetFirstId(), and GWEN_IdList64_Iterator_GetNextId().

Here is the caller graph for this function:

static unsigned int GWEN_IdTable64_GetCount ( const GWEN_IDTABLE64 *  idt  )  [inline, static]

Definition at line 152 of file idlist64.c.

Referenced by GWEN_IdList64__Sort().

Here is the caller graph for this function:

static uint64_t GWEN_IdTable64_GetFirstId ( GWEN_IDTABLE64 *  idt  )  [inline, static]

Definition at line 158 of file idlist64.c.

Referenced by GWEN_IdList64_GetFirstId(), and GWEN_IdList64_GetNextId().

Here is the caller graph for this function:

static uint64_t GWEN_IdTable64_GetFirstId2 ( const GWEN_IDTABLE64 *  idt,
uint64_t *  tabIdx 
) [inline, static]

Definition at line 189 of file idlist64.c.

Referenced by GWEN_IdList64_GetFirstId2().

Here is the caller graph for this function:

static uint64_t GWEN_IdTable64_GetNextId ( GWEN_IDTABLE64 *  idt  )  [inline, static]

Definition at line 174 of file idlist64.c.

Referenced by GWEN_IdList64_GetNextId().

Here is the caller graph for this function:

static uint64_t GWEN_IdTable64_GetNextId2 ( const GWEN_IDTABLE64 *  idt,
uint64_t *  tabIdx 
) [inline, static]

Definition at line 204 of file idlist64.c.

Referenced by GWEN_IdList64_GetNextId2().

Here is the caller graph for this function:

static int GWEN_IdTable64_HasId ( const GWEN_IDTABLE64 *  idt,
uint64_t  id 
) [inline, static]

Definition at line 112 of file idlist64.c.

Referenced by GWEN_IdList64_HasId().

Here is the caller graph for this function:

static int GWEN_IdTable64_IsEmpty ( const GWEN_IDTABLE64 *  idt  )  [inline, static]

Definition at line 140 of file idlist64.c.

Referenced by GWEN_IdList64_Clean().

Here is the caller graph for this function:

static int GWEN_IdTable64_IsFull ( const GWEN_IDTABLE64 *  idt  )  [inline, static]

Definition at line 146 of file idlist64.c.

Referenced by GWEN_IdList64_AddId(), and GWEN_IdList64_AppendId().

Here is the caller graph for this function:

GWEN_IDTABLE64* GWEN_IdTable64_new (  ) 

Definition at line 49 of file idlist64.c.

References GWEN_LIST_INIT, and GWEN_NEW_OBJECT.

Referenced by GWEN_IdList64_AddId(), and GWEN_IdList64_AppendId().

Here is the caller graph for this function:

Generated on Mon Jul 5 22:53:23 2010 for gwenhywfar by  doxygen 1.6.3