|
| kStatus | kCloneItems (kType type, void *dest, const void *src, kSize count, kAlloc allocator) |
| | Performs a deep copy of a generic array of items. More...
|
| |
| kStatus | kCloneItems (kType type, kAlloc destAlloc, void *dest, kAlloc srcAlloc, const void *src, kSize count, kObject context, kAlloc destObjectAlloc, kAlloc destValueAlloc) |
| | Performs a deep copy of a generic array of items. More...
|
| |
| kStatus | kCopyItems (kType type, void *dest, const void *src, kSize count) |
| | Performs a shallow copy of a generic array of items. More...
|
| |
| kStatus | kCopyItems (kType type, kAlloc destAlloc, void *dest, kAlloc srcAlloc, const void *src, kSize count, kObject context) |
| | Performs a shallow copy of a generic array of items. More...
|
| |
| kStatus | kDestroyRef (kObject *object) |
| | Destroys an object and resets the object handle to kNULL. More...
|
| |
| kStatus | kDisposeItems (kType type, void *items, kSize count) |
| | Disposes a generic array of items. More...
|
| |
| kStatus | kDisposeRef (kObject *object) |
| | Disposes an object and resets the object handle to kNULL. More...
|
| |
| kBool | kEnumerateAllocTraits (kType type, const void *items, kSize count) |
| | Gets the bitset of allocator traits associated with objects in the specified array. More...
|
| |
| kBool | kHasSharedItems (kType type, const void *items, kSize count) |
| | Determines whether a list of items contains any shared objects. More...
|
| |
| kStatus | kLoad5 (kObject *object, const kChar *fileName, kAlloc allocator) |
| | Loads an object from file using kDat-5 serialization. More...
|
| |
| kStatus | kLoad6 (kObject *object, const kChar *fileName, kAlloc allocator) |
| | Loads an object from file using kDat-6 serialization. More...
|
| |
| kStatus | kLog (const kChar *message) |
| | Writes a message to log handlers (if registered). More...
|
| |
| kStatus | kLog (kLogOption options, const kChar *source, const kChar *message) |
| | Writes a message to log handlers (if registered). More...
|
| |
| kStatus | kLogBackTrace (kSize skip) |
| | Writes a stack backtrace to the logging handler (if registered). More...
|
| |
| kStatus | kLogBackTrace (kLogOption options, const kChar *source, kSize skip) |
| | Writes a stack backtrace to the logging handler (if registered). More...
|
| |
| kStatus | kLogf (const kChar *format,...) |
| | Formats and writes a message to log handlers (if registered). More...
|
| |
| kStatus | kLogf (kLogOption options, const kChar *source, const kChar *format,...) |
| | Formats and writes a message to log handlers (if registered). More...
|
| |
| kStatus | kLogvf (const kChar *format, kVarArgList argList) |
| | Variable-argument version of kLogf. More...
|
| |
| kStatus | kLogvf (kLogOption options, const kChar *source, const kChar *format, kVarArgList argList) |
| | Variable-argument version of kLogf. More...
|
| |
| kSize | kMeasureItems (kType type, const void *items, kSize count) |
| | Calculates the total size, in bytes, of a generic array of items. More...
|
| |
| kStatus | kMemAlloc (kSize size, void *mem) |
| | Allocates a block of memory from the application heap. More...
|
| |
| kStatus | kMemAllocZero (kSize size, void *mem) |
| | Allocates and zero-initializes block of memory from the application heap. More...
|
| |
| kStatus | kMemCopy (void *dest, const void *src, kSize size) |
| | Copies memory from a source buffer to a non-overlapping destination. More...
|
| |
| kBool | kMemEquals (const void *a, const void *b, kSize size) |
| | Compares one memory buffer with another. More...
|
| |
| kStatus | kMemFree (void *mem) |
| | Frees a block of memory that was allocated using kMemAlloc or kMemAllocZero. More...
|
| |
| kStatus | kMemFreeRef (void *mem) |
| | Frees a block of memory that was allocated using kMemAlloc or kMemAllocZero and resets the memory pointer to kNULL. More...
|
| |
| kStatus | kMemMove (void *dest, const void *src, kSize size) |
| | Copies memory from a source buffer to a potentially-overlapping destination. More...
|
| |
| kStatus | kMemReverse (void *buffer, kSize size) |
| | Reverse the order of bytes in a buffer. More...
|
| |
| kStatus | kMemReverseCopy (void *dest, const void *src, kSize size) |
| | Copies memory in reverse from a source buffer to a non-overlapping destination. More...
|
| |
| kStatus | kMemSet (void *dest, kByte fill, kSize size) |
| | Sets a block of memory to the given byte value. More...
|
| |
| kStatus | kMemZero (void *dest, kSize size) |
| | Sets a block of memory to zero. More...
|
| |
| k32u | kRandom32u () |
| | Generates a random 32-bit number. More...
|
| |
| k64u | kRandom64u () |
| | Generates a random 64-bit number. More...
|
| |
| kStatus | kRandomBytes (void *data, kSize length) |
| | Generates a random array of bytes. More...
|
| |
| kSize | kRandomSize () |
| | Generates a random number of type kSize. More...
|
| |
| kStatus | kReplaceRef (kObject *object, kObject source) |
| | Replaces a reference to existing object with a new object. More...
|
| |
| kStatus | kSave5 (kObject object, const kChar *fileName) |
| | Saves an object to file using kDat-5 serialization. More...
|
| |
| kStatus | kSave6 (kObject object, const kChar *fileName) |
| | Saves an object to file using kDat-6 serialization. More...
|
| |
| kStatus | kSaveCompressed5 (kObject object, const kChar *fileName, kCompressionType algorithm, k32s level) |
| | Saves an object to file using kDat-5 serialization and compression. More...
|
| |
| kStatus | kSaveCompressed6 (kObject object, const kChar *fileName, kCompressionType algorithm, k32s level) |
| | Saves an object to file using kDat-6 serialization and compression. More...
|
| |
| kStatus | kShareItems (kType type, void *items, kSize count) |
| | Increments the reference count of a generic array of items. More...
|
| |
| kStatus | kShareRef (kObject *object, kObject source) |
| | Shares an object and sets a handle to refer to the shared object. More...
|
| |
| kStatus | kStrCat (kChar *dest, kSize capacity, const kChar *src) |
| | Appends characters from source to destination. More...
|
| |
| k32s | kStrCompare (const kChar *a, const kChar *b) |
| | Compares one string to another. More...
|
| |
| k32s | kStrCompareLower (const kChar *a, const kChar *b) |
| | Performs a case-insenstive comparison of two strings. More...
|
| |
| k32s | kStrCompareN (const kChar *a, const kChar *b, kSize maxCount) |
| | Compares one string to another, only up to a maximum number of characters. More...
|
| |
| kStatus | kStrCopy (kChar *dest, kSize capacity, const kChar *src) |
| | Copies characters from source to destination. More...
|
| |
| kBool | kStrEquals (const kChar *a, const kChar *b) |
| | Tests a pair of character sequences for equality. More...
|
| |
| const kChar * | kStrFindFirst (const kChar *str, const kChar *subStr) |
| | Finds the first occurrence of a character sequence. More...
|
| |
| const kChar * | kStrFindLast (const kChar *str, const kChar *subStr) |
| | Finds the last occurrence of a character sequence. More...
|
| |
| kSize | kStrLength (const kChar *str) |
| | Determines the number of kChar units in a characater sequence. More...
|
| |
| kBool | kStrnEquals (const kChar *a, const kChar *b, kSize maxCount) |
| | Tests a pair of character sequences for equality, up to a maximum number of characters. More...
|
| |
| kStatus | kStrPrintf (kChar *dest, kSize capacity, const kChar *format,...) |
| | Formats a string using printf-style arguments. More...
|
| |
| kStatus | kStrPrintvf (kChar *dest, kSize capacity, const kChar *format, kVarArgList argList) |
| | Variable-argument version of kStrPrintf. More...
|
| |
| kStatus | kStrToLower (kChar *str) |
| | Converts characters in the given sequence to lower case. More...
|
| |
| kStatus | kZeroItems (kType type, void *items, kSize count) |
| | Zeros the memory associated with a generic array of items. More...
|
| |
| kAlloc | kObject_Alloc (kObject object) |
| | Gets the memory allocator associated with this object. More...
|
| |
| kAllocTrait | kObject_AllocTraits (kObject object) |
| | Gets the bitset of allocator traits for any allocators used within this object, including aggregated child elements. More...
|
| |
| kStatus | kObject_Clone (kObject *object, kObject source, kAlloc objectAllocator) |
| | Constructs a new object by copying an existing object, including any aggregated child elements. More...
|
| |
| kStatus | kObject_Clone (kObject *object, kObject source, kAlloc objectAllocator, kAlloc valueAllocator, kObject context=kNULL) |
| | Constructs a new object by copying an existing object, including any aggregated child elements. More...
|
| |
| kStatus | kObject_Destroy (kObject object) |
| | Destroys the object. More...
|
| |
| kStatus | kObject_Dispose (kObject object) |
| | Destroys the object and any aggregated child elements. More...
|
| |
| kBool | kObject_Equals (kObject object, kObject other) |
| | Determines whether the object is equal to another object. More...
|
| |
| kBool | kObject_HasForeignData (kObject object) |
| | Reports whether the object, including aggregated child elements, contains any foreign memory references. More...
|
| |
| kSize | kObject_HashCode (kObject object) |
| | Gets a hash code representing the state of this object. More...
|
| |
| kBool | kObject_HasShared (kObject object) |
| | Reports whether an object or any of its aggregated child elements has a reference count greater than one. More...
|
| |
| kBool | kObject_Is (kObject object, kType type) |
| | Determines whether this object is an instance of the specified type. More...
|
| |
| kBool | kObject_IsShared (kObject object) |
| | Reports whether the object is currently shared (reference count greater than one). More...
|
| |
| kStatus | kObject_SetPool (kObject object, kObjectPool pool) |
| | Sets the object pool associated with this object. More...
|
| |
| kStatus | kObject_Share (kObject object) |
| | Increments the reference count associated with this object. More...
|
| |
| kSize | kObject_Size (kObject object) |
| | Estimates the memory consumed by this object, including any aggregated child elements. More...
|
| |
| kType | kObject_Type (kObject object) |
| | Returns the type of the object. More...
|
| |