|
gwenhywfar
5.10.1
|
#include "simpleptrlist_p.h"#include <gwenhywfar/debug.h>#include <stdlib.h>#include <assert.h>#include <string.h>#include "simpleptrlist-t.c"
Go to the source code of this file.
Macros | |
| #define | DISABLE_DEBUGLOG |
| #define DISABLE_DEBUGLOG |
Definition at line 29 of file simpleptrlist.c.
|
static |
Definition at line 448 of file simpleptrlist.c.
References _attachToObject(), DBG_ERROR, DBG_VERBOUS, GWEN_LOGDOMAIN, and NULL.
Referenced by GWEN_SimplePtrList_EnsureWritability().


|
static |
Definition at line 432 of file simpleptrlist.c.
Referenced by _attachToAllObjects(), GWEN_SimplePtrList_AddPtr(), and GWEN_SimplePtrList_SetPtrAt().

|
static |
Definition at line 513 of file simpleptrlist.c.
References DBG_ERROR, DBG_VERBOUS, and GWEN_LOGDOMAIN.
Referenced by GWEN_SimplePtrList_LazyCopy().

|
static |
Definition at line 579 of file simpleptrlist.c.
References DBG_ERROR, DBG_VERBOUS, GWEN_LOGDOMAIN, and NULL.
Referenced by GWEN_SimplePtrList_EnsureWritability().

|
static |
Definition at line 469 of file simpleptrlist.c.
References _detachFromObject(), DBG_ERROR, DBG_VERBOUS, GWEN_LOGDOMAIN, and NULL.
Referenced by GWEN_SimplePtrList_Clear(), and GWEN_SimplePtrList_free().


|
static |
Definition at line 440 of file simpleptrlist.c.
Referenced by _detachFromAllObjects(), and GWEN_SimplePtrList_SetPtrAt().

|
static |
Definition at line 527 of file simpleptrlist.c.
References DBG_VERBOUS, and GWEN_LOGDOMAIN.
Referenced by GWEN_SimplePtrList_EnsureWritability(), and GWEN_SimplePtrList_free().

|
static |
Definition at line 493 of file simpleptrlist.c.
References DBG_ERROR, DBG_VERBOUS, GWEN_LOGDOMAIN, and NULL.
Referenced by GWEN_SimplePtrList_new().

|
static |
Definition at line 543 of file simpleptrlist.c.
References DBG_ERROR, DBG_INFO, DBG_VERBOUS, GWEN_LOGDOMAIN, and NULL.
Referenced by GWEN_SimplePtrList_AddPtr().

| void GWEN_SimplePtrList_AddFlags | ( | GWEN_SIMPLEPTRLIST * | pl, |
| uint32_t | f | ||
| ) |
Definition at line 384 of file simpleptrlist.c.
Referenced by GWEN_IdList64_newWithSteps().

| int64_t GWEN_SimplePtrList_AddPtr | ( | GWEN_SIMPLEPTRLIST * | pl, |
| void * | p | ||
| ) |
Definition at line 276 of file simpleptrlist.c.
References _attachToObject(), _reallocPtrList(), DBG_ERROR, DBG_INFO, GWEN_ERROR_MEMORY_FULL, GWEN_LOGDOMAIN, GWEN_SimplePtrList_EnsureWritability(), GWEN_SIMPLEPTRLIST_FLAGS_ATTACHTOOBJECTS, and NULL.
Referenced by GWEN_IdList64_AddTable().


| void GWEN_SimplePtrList_Attach | ( | GWEN_SIMPLEPTRLIST * | pl | ) |
Definition at line 113 of file simpleptrlist.c.
Referenced by GWEN_IdList64_Attach().

| void GWEN_SimplePtrList_Clear | ( | GWEN_SIMPLEPTRLIST * | pl | ) |
Definition at line 145 of file simpleptrlist.c.
References _detachFromAllObjects(), GWEN_SIMPLEPTRLIST_FLAGS_DETACHFROMOBJECTS, and NULL.
Referenced by GWEN_IdList64_Clear().


| int GWEN_SimplePtrList_DecUserCounter | ( | GWEN_SIMPLEPTRLIST * | pl | ) |
Definition at line 208 of file simpleptrlist.c.
References GWEN_ERROR_INVALID.
Referenced by GWEN_IdList64_DecIdCounter().

| int GWEN_SimplePtrList_EnsureWritability | ( | GWEN_SIMPLEPTRLIST * | pl | ) |
Definition at line 622 of file simpleptrlist.c.
References _attachToAllObjects(), _copyPtrList(), _freePtrList(), DBG_ERROR, DBG_VERBOUS, GWEN_ERROR_MEMORY_FULL, GWEN_LOGDOMAIN, GWEN_SIMPLEPTRLIST_FLAGS_ATTACHTOOBJECTS, and NULL.
Referenced by GWEN_IdList64_AddId(), GWEN_SimplePtrList_AddPtr(), and GWEN_SimplePtrList_SetPtrAt().


| void GWEN_SimplePtrList_free | ( | GWEN_SIMPLEPTRLIST * | pl | ) |
Definition at line 122 of file simpleptrlist.c.
References _detachFromAllObjects(), _freePtrList(), DBG_VERBOUS, GWEN_FREE_OBJECT, GWEN_INHERIT_FINI, GWEN_LOGDOMAIN, GWEN_SIMPLEPTRLIST_FLAGS_DETACHFROMOBJECTS, and NULL.
Referenced by GWEN_IdList64_free().


| void* GWEN_SimplePtrList_GetEntries | ( | const GWEN_SIMPLEPTRLIST * | pl | ) |
Definition at line 357 of file simpleptrlist.c.
| uint32_t GWEN_SimplePtrList_GetFlags | ( | const GWEN_SIMPLEPTRLIST * | pl | ) |
Definition at line 366 of file simpleptrlist.c.
| uint64_t GWEN_SimplePtrList_GetMaxEntries | ( | const GWEN_SIMPLEPTRLIST * | pl | ) |
Definition at line 339 of file simpleptrlist.c.
| void* GWEN_SimplePtrList_GetPtrAt | ( | const GWEN_SIMPLEPTRLIST * | pl, |
| uint64_t | idx | ||
| ) |
Definition at line 225 of file simpleptrlist.c.
References DBG_ERROR, GWEN_LOGDOMAIN, and NULL.
Referenced by GWEN_IdList64_GetTableAt().

| uint64_t GWEN_SimplePtrList_GetSteps | ( | const GWEN_SIMPLEPTRLIST * | pl | ) |
Definition at line 321 of file simpleptrlist.c.
| uint64_t GWEN_SimplePtrList_GetUsedEntries | ( | const GWEN_SIMPLEPTRLIST * | pl | ) |
Definition at line 348 of file simpleptrlist.c.
Referenced by GWEN_IdList64_dup(), GWEN_IdList64_GetLastTablePos(), and GWEN_IdList64_GetUsedTables().

| uint64_t GWEN_SimplePtrList_GetUserCounter | ( | const GWEN_SIMPLEPTRLIST * | pl | ) |
Definition at line 190 of file simpleptrlist.c.
Referenced by GWEN_IdList64_dup(), and GWEN_IdList64_GetEntryCount().

| int GWEN_SimplePtrList_GetUserIntData | ( | const GWEN_SIMPLEPTRLIST * | pl | ) |
Definition at line 163 of file simpleptrlist.c.
Referenced by GWEN_IdList64_dup(), GWEN_IdList64_GetIdAt(), and GWEN_IdList64_GetTableMaxEntries().

| void GWEN_SimplePtrList_IncUserCounter | ( | GWEN_SIMPLEPTRLIST * | pl | ) |
Definition at line 199 of file simpleptrlist.c.
Referenced by GWEN_IdList64_IncIdCounter().

| GWEN_SIMPLEPTRLIST* GWEN_SimplePtrList_LazyCopy | ( | GWEN_SIMPLEPTRLIST * | oldList | ) |
Definition at line 88 of file simpleptrlist.c.
References _attachToPtrList(), GWEN_INHERIT_INIT, and GWEN_NEW_OBJECT.
Referenced by GWEN_IdList64_LazyCopy().


| GWEN_SIMPLEPTRLIST* GWEN_SimplePtrList_new | ( | uint64_t | startEntries, |
| uint64_t | steps | ||
| ) |
Definition at line 71 of file simpleptrlist.c.
References _mallocPtrList(), GWEN_INHERIT_INIT, and GWEN_NEW_OBJECT.
Referenced by GWEN_IdList64_newWithSteps().


| GWEN_SIMPLEPTRLIST_ATTACHOBJECT_FN GWEN_SimplePtrList_SetAttachObjectFn | ( | GWEN_SIMPLEPTRLIST * | pl, |
| GWEN_SIMPLEPTRLIST_ATTACHOBJECT_FN | fn | ||
| ) |
Definition at line 402 of file simpleptrlist.c.
Referenced by GWEN_IdList64_newWithSteps().

| void GWEN_SimplePtrList_SetFlags | ( | GWEN_SIMPLEPTRLIST * | pl, |
| uint32_t | f | ||
| ) |
Definition at line 375 of file simpleptrlist.c.
| GWEN_SIMPLEPTRLIST_FREEOBJECT_FN GWEN_SimplePtrList_SetFreeObjectFn | ( | GWEN_SIMPLEPTRLIST * | pl, |
| GWEN_SIMPLEPTRLIST_FREEOBJECT_FN | fn | ||
| ) |
Definition at line 417 of file simpleptrlist.c.
Referenced by GWEN_IdList64_newWithSteps().

| int GWEN_SimplePtrList_SetPtrAt | ( | GWEN_SIMPLEPTRLIST * | pl, |
| uint64_t | idx, | ||
| void * | p | ||
| ) |
Definition at line 243 of file simpleptrlist.c.
References _attachToObject(), _detachFromObject(), DBG_ERROR, DBG_INFO, GWEN_ERROR_BUFFER_OVERFLOW, GWEN_LOGDOMAIN, GWEN_SimplePtrList_EnsureWritability(), GWEN_SIMPLEPTRLIST_FLAGS_ATTACHTOOBJECTS, and GWEN_SIMPLEPTRLIST_FLAGS_DETACHFROMOBJECTS.
Referenced by GWEN_IdList64_SetTableAt().


| void GWEN_SimplePtrList_SetSteps | ( | GWEN_SIMPLEPTRLIST * | pl, |
| uint64_t | steps | ||
| ) |
Definition at line 330 of file simpleptrlist.c.
| void GWEN_SimplePtrList_SetUserCounter | ( | GWEN_SIMPLEPTRLIST * | pl, |
| uint64_t | i | ||
| ) |
Definition at line 181 of file simpleptrlist.c.
Referenced by GWEN_IdList64_Clear(), and GWEN_IdList64_dup().

| void GWEN_SimplePtrList_SetUserIntData | ( | GWEN_SIMPLEPTRLIST * | pl, |
| int | i | ||
| ) |
Definition at line 172 of file simpleptrlist.c.
Referenced by GWEN_IdList64_newWithSteps().

| void GWEN_SimplePtrList_SubFlags | ( | GWEN_SIMPLEPTRLIST * | pl, |
| uint32_t | f | ||
| ) |
Definition at line 393 of file simpleptrlist.c.
1.8.14