#include "idlist64_p.h"
#include <gwenhywfar/debug.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
Go to the source code of this file.
#define DISABLE_DEBUGLOG |
Definition at line 31 of file idlist64.c.
static int __compAscending | ( | const void * | pa, | |
const void * | pb | |||
) | [static] |
Definition at line 398 of file idlist64.c.
Referenced by GWEN_IdList64__Sort().
static int __compDescending | ( | const void * | pa, | |
const void * | pb | |||
) | [static] |
Definition at line 412 of file idlist64.c.
Referenced by GWEN_IdList64__Sort().
uint64_t GWEN_IdList64__GetFirstId | ( | const GWEN_IDLIST64 * | idl, | |
uint64_t * | pos | |||
) |
Definition at line 526 of file idlist64.c.
References GWEN_IdTable64_IsEmpty().
Referenced by GWEN_IdList64_GetFirstId(), GWEN_IdList64_GetFirstId2(), and GWEN_IdList64_Iterator_GetFirstId().
uint64_t GWEN_IdList64__GetNextId | ( | const GWEN_IDLIST64 * | idl, | |
uint64_t * | pos | |||
) |
Definition at line 555 of file idlist64.c.
References DBG_ERROR, GWEN_IdTable64_IsEmpty(), and GWEN_LOGDOMAIN.
Referenced by GWEN_IdList64_GetNextId(), GWEN_IdList64_GetNextId2(), and GWEN_IdList64_Iterator_GetNextId().
static int GWEN_IdList64__Sort | ( | GWEN_IDLIST64 * | idl, | |
int | ascending | |||
) | [static] |
Definition at line 426 of file idlist64.c.
References __compAscending(), __compDescending(), GWEN_IdList64_AddId(), GWEN_IdList64_Clear(), GWEN_IdList64_Iterator_free(), GWEN_IdList64_Iterator_GetFirstId(), GWEN_IdList64_Iterator_GetNextId(), and GWEN_IdList64_Iterator_new().
Referenced by GWEN_IdList64_ReverseSort(), and GWEN_IdList64_Sort().
void GWEN_IdList64_AddTable | ( | GWEN_IDLIST64 * | idl, | |
GWEN_IDTABLE64 * | idt | |||
) |
Definition at line 250 of file idlist64.c.
References NULL.
Referenced by GWEN_IdList64_AddId(), GWEN_IdList64_AppendId(), and GWEN_IdList64_dup().
void GWEN_IdList64_Clean | ( | GWEN_IDLIST64 * | idl | ) |
Definition at line 360 of file idlist64.c.
References GWEN_IdTable64_free(), and GWEN_IdTable64_IsEmpty().
Referenced by GWEN_IdList64_DelId().
static int GWEN_IdTable64_AddId | ( | GWEN_IDTABLE64 * | idt, | |
uint64_t | id | |||
) | [inline, static] |
Definition at line 77 of file idlist64.c.
Referenced by GWEN_IdList64_AddId().
static int GWEN_IdTable64_AppendId | ( | GWEN_IDTABLE64 * | idt, | |
uint64_t | id | |||
) | [inline, static] |
Definition at line 92 of file idlist64.c.
Referenced by GWEN_IdList64_AppendId().
static int GWEN_IdTable64_DelId | ( | GWEN_IDTABLE64 * | idt, | |
uint64_t | id | |||
) | [inline, static] |
Definition at line 120 of file idlist64.c.
Referenced by GWEN_IdList64_DelId().
void GWEN_IdTable64_free | ( | GWEN_IDTABLE64 * | idt | ) |
Definition at line 56 of file idlist64.c.
References GWEN_FREE_OBJECT.
Referenced by GWEN_IdList64_Clean(), and GWEN_IdList64_Clear().
static unsigned int GWEN_IdTable64_GetCount | ( | const GWEN_IDTABLE64 * | idt | ) | [inline, static] |
Definition at line 147 of file idlist64.c.
static uint64_t GWEN_IdTable64_GetFirstId | ( | GWEN_IDTABLE64 * | idt | ) | [inline, static] |
Definition at line 153 of file idlist64.c.
static uint64_t GWEN_IdTable64_GetFirstId2 | ( | const GWEN_IDTABLE64 * | idt, | |
uint64_t * | tabIdx | |||
) | [inline, static] |
Definition at line 184 of file idlist64.c.
static uint64_t GWEN_IdTable64_GetNextId | ( | GWEN_IDTABLE64 * | idt | ) | [inline, static] |
Definition at line 169 of file idlist64.c.
static uint64_t GWEN_IdTable64_GetNextId2 | ( | const GWEN_IDTABLE64 * | idt, | |
uint64_t * | tabIdx | |||
) | [inline, static] |
Definition at line 199 of file idlist64.c.
static int GWEN_IdTable64_HasId | ( | const GWEN_IDTABLE64 * | idt, | |
uint64_t | id | |||
) | [inline, static] |
Definition at line 107 of file idlist64.c.
Referenced by GWEN_IdList64_HasId().
static int GWEN_IdTable64_IsEmpty | ( | const GWEN_IDTABLE64 * | idt | ) | [inline, static] |
Definition at line 135 of file idlist64.c.
Referenced by GWEN_IdList64__GetFirstId(), GWEN_IdList64__GetNextId(), GWEN_IdList64_Clean(), and GWEN_IdList64_dup().
static int GWEN_IdTable64_IsFull | ( | const GWEN_IDTABLE64 * | idt | ) | [inline, static] |
Definition at line 141 of file idlist64.c.
Referenced by GWEN_IdList64_AddId(), and GWEN_IdList64_AppendId().
GWEN_IDTABLE64* GWEN_IdTable64_new | ( | void | ) |
Definition at line 44 of file idlist64.c.
References GWEN_NEW_OBJECT.
Referenced by GWEN_IdList64_AddId(), GWEN_IdList64_AppendId(), and GWEN_IdList64_dup().