My Project
Loading...
Searching...
No Matches
omInlineDecl.h
Go to the documentation of this file.
1/*******************************************************************
2 * File: omInlineDecl.h
3 * Purpose: declarations of omalloc functions which could
4 * be inlined
5 * Author: obachman@mathematik.uni-kl.de (Olaf Bachmann)
6 * Created: 11/99
7 *******************************************************************/
8#ifndef OM_INLINE_DECL_H
9#define OM_INLINE_DECL_H
10
11OM_INLINE_DECL omBin omGetBinOfPage(omBinPage page);
12OM_INLINE_DECL int _omIsBinPageAddr(const void* addr);
13
14OM_INLINE_DECL void* _omAllocBin(omBin bin);
15OM_INLINE_DECL void* _omAlloc0Bin(omBin bin);
16OM_INLINE_DECL void* _omReallocBin(void* addr, omBin old_bin, omBin new_bin);
17OM_INLINE_DECL void* _omRealloc0Bin(void* addr, omBin old_bin, omBin new_bin);
18
19OM_INLINE_DECL void* _omAlloc(size_t size);
20OM_INLINE_DECL void* _omAlloc0(size_t size);
21OM_INLINE_DECL void* _omReallocSize(void* addr, size_t old_size, size_t new_size);
22OM_INLINE_DECL void* _omRealloc0Size(void* addr, size_t old_size, size_t new_size);
23OM_INLINE_DECL void* _omRealloc(void* addr, size_t size);
24OM_INLINE_DECL void* _omRealloc0(void* addr, size_t size);
25
26OM_INLINE_DECL void* _omalloc(size_t size);
27OM_INLINE_DECL void* _omalloc0(size_t size);
28OM_INLINE_DECL void* _omreallocSize(void* addr, size_t old_size, size_t new_size);
29OM_INLINE_DECL void* _omrealloc0Size(void* addr, size_t old_size, size_t new_size);
30OM_INLINE_DECL void* _omrealloc(void* addr, size_t size);
31OM_INLINE_DECL void* _omrealloc0(void* addr, size_t size);
32
33OM_INLINE_DECL char* _omStrDup(const char* s);
34OM_INLINE_DECL void* _omMemDup(void* addr);
35
36#ifdef OM_ALIGNMENT_NEEDS_WORK
37OM_INLINE_DECL void* _omAllocAligned(size_t size);
38OM_INLINE_DECL void* _omAlloc0Aligned(size_t size);
39OM_INLINE_DECL void* _omReallocAlignedSize(void* addr, size_t old_size, size_t new_size);
40OM_INLINE_DECL void* _omRealloc0AlignedSize(void* addr, size_t old_size, size_t new_size);
41OM_INLINE_DECL void* _omReallocAligned(void* addr, size_t size);
42OM_INLINE_DECL void* _omRealloc0Aligned(void* addr, size_t size);
43OM_INLINE_DECL void* _omMemDupAligned(void* addr);
44#endif
45
46#endif /* OM_INLINE_DECL_H */
int size(const CanonicalForm &f, const Variable &v)
int size ( const CanonicalForm & f, const Variable & v )
Definition: cf_ops.cc:600
const CanonicalForm int s
Definition: facAbsFact.cc:51
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)
omBinPage_t * omBinPage
Definition: omStructs.h:16
omBin_t * omBin
Definition: omStructs.h:12