8#if defined(OM_INLINE) || defined(OM_ALLOC_C)
20 while (bin->sticky != sticky && bin->next !=
NULL)
77OM_INLINE_IMPL
void*
_omReallocSize(
void* addr,
size_t old_size,
size_t new_size)
83OM_INLINE_IMPL
void*
_omRealloc0Size(
void* addr,
size_t old_size,
size_t new_size)
102#ifdef OM_ALIGNMENT_NEEDS_WORK
103OM_INLINE_IMPL
void* _omAllocAligned(
size_t size)
109OM_INLINE_IMPL
void* _omAlloc0Aligned(
size_t size)
115OM_INLINE_IMPL
void* _omReallocAlignedSize(
void* addr,
size_t old_size,
size_t new_size)
121OM_INLINE_IMPL
void* _omRealloc0AlignedSize(
void* addr,
size_t old_size,
size_t new_size)
127OM_INLINE_IMPL
void* _omReallocAligned(
void* addr,
size_t size)
133OM_INLINE_IMPL
void* _omRealloc0Aligned(
void* addr,
size_t size)
140OM_INLINE_IMPL
void* _omMemDupAligned(
void* addr)
159 memcpy(r, (
void*)
s,
i);
163OM_INLINE_IMPL
void*
_omMemDup(
void* addr)
197OM_INLINE_IMPL
void*
_omreallocSize(
void* addr,
size_t old_size,
size_t new_size)
201 if (!new_size) new_size = (size_t)1;
213OM_INLINE_IMPL
void*
_omrealloc0Size(
void* addr,
size_t old_size,
size_t new_size)
217 if (!new_size) new_size = (size_t)1;
218 if (addr !=
NULL && old_size > ((
size_t)0))
const CanonicalForm int s
#define __omTypeRealloc0Size(old_addr, old_size, new_type, new_addr, new_size)
#define __omTypeReallocBin(old_addr, old_bin, new_type, new_addr, new_bin)
#define __omTypeAlloc0Bin(type, addr, bin)
#define omGetTopBinOfAddr(addr)
#define __omTypeRealloc0Bin(old_addr, old_bin, new_type, new_addr, new_bin)
#define __omTypeRealloc(old_addr, new_type, new_addr, new_size)
#define __omTypeRealloc0(old_addr, new_type, new_addr, new_size)
#define __omTypeAllocBin(type, addr, bin)
#define __omTypeRealloc0Aligned
#define omGetTopBinOfPage(page)
#define __omTypeReallocSize(old_addr, old_size, new_type, new_addr, new_size)
#define __omTypeAlloc0(type, addr, size)
#define __omTypeAlloc(type, addr, size)
#define omGetStickyOfPage(page)
#define __omTypeRealloc0AlignedSize
#define __omTypeAllocAligned
#define __omTypeAlloc0Aligned
#define __omTypeReallocAligned
#define __omTypeReallocAlignedSize
unsigned long om_MaxBinPageIndex
unsigned long om_MinBinPageIndex
unsigned long * om_BinPageIndicies
#define omGetPageShiftOfAddr(addr)
#define omGetPageIndexOfAddr(addr)
#define omIsStickyBin(bin)
#define omIsNormalBinPageAddr(addr)
OM_INLINE_DECL void * _omReallocBin(void *addr, omBin old_bin, omBin new_bin)
OM_INLINE_DECL char * _omStrDup(const char *s)
OM_INLINE_DECL omBin omGetBinOfPage(omBinPage page)
OM_INLINE_DECL void * _omalloc(size_t size)
OM_INLINE_DECL void * _omalloc0(size_t size)
OM_INLINE_DECL void * _omAlloc0Bin(omBin bin)
OM_INLINE_DECL void * _omRealloc0(void *addr, size_t size)
OM_INLINE_DECL int _omIsBinPageAddr(const void *addr)
OM_INLINE_DECL void * _omRealloc(void *addr, size_t size)
OM_INLINE_DECL void * _omAlloc(size_t size)
OM_INLINE_DECL void * _omReallocSize(void *addr, size_t old_size, size_t new_size)
OM_INLINE_DECL void * _omRealloc0Bin(void *addr, omBin old_bin, omBin new_bin)
OM_INLINE_DECL void * _omrealloc(void *addr, size_t size)
OM_INLINE_DECL void * _omMemDup(void *addr)
OM_INLINE_DECL void * _omreallocSize(void *addr, size_t old_size, size_t new_size)
OM_INLINE_DECL void * _omRealloc0Size(void *addr, size_t old_size, size_t new_size)
OM_INLINE_DECL void * _omAlloc0(size_t size)
OM_INLINE_DECL void * _omrealloc0(void *addr, size_t size)
OM_INLINE_DECL void * _omrealloc0Size(void *addr, size_t old_size, size_t new_size)
OM_INLINE_DECL void * _omAllocBin(omBin bin)
#define omMemcpyW(p1, p2, l)
static int index(p_Length length, p_Ord ord)