Macro Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
M
 mainarg_thread
 maincontext_startparam_INIT, maincontext_startparam_t
 maincontext_STATICSIZE
 maincontext_STATICTESTSIZE
 maintask_thread
 makepowerof2_int
 malloc_mm
 MAXCHILD, trie_nodedata_t
 maxpbuffer_gconfig
 MAXSIZE, header_t
 maxsyserrnum_errorcontext
 memberasobject_typeadaptmember
 memberasobject_typeadaptnodeoffset
 memblock_FREE, memblock_t
 memblock_INIT, memblock_t
 MEMCOPY
 MEMSET0
 memstream_FREE, memstream_t
 memstream_INIT, memstream_t
 mfree_mm
 mm_FREE, mm_t
 mm_INIT, mm_t
 mm_it_DECLARE
 mm_it_FREE, mm_it
 mm_it_INIT, mm_it
 mm_maincontext
 mmfile_FREE, mmfile_t
 mmimpl_FREE, mm_impl_t
 mod_bigint
 module_DIRECTORY
 module_FREE, module_t
 mresize_mm
 mutex_INIT_DEFAULT, mutex_t
#define mainarg_thread(
   threadobj
) ( __extension__ ({ volatile const thread_t * _thr ; _thr = (threadobj) ; _thr->main_arg ; }))
Implements thread_t.mainarg_thread.
#define maincontext_startparam_INIT(
   context_type,
   argc,
   argv,
   main_thread
) { context_type, argc, argv, main_thread }
Static initializer.
#define maincontext_STATICSIZE processcontext_STATICSIZE
Defines size for s_maincontext_staticmem.
#define maincontext_STATICTESTSIZE (maincontext_STATICSIZE)
Defines additonal size for s_maincontext_staticmem.
#define maintask_thread(
   threadobj
) ( __extension__ ({ volatile const thread_t * _thr ; _thr = (threadobj) ; _thr->main_task ; }))
Implements thread_t.maintask_thread.
Implements int_t.makepowerof2_int as a generic function.
#define malloc_mm(
   mm,
   size,
   /*out*/memblock
) ((mm).iimpl->malloc((mm).object, (size), (memblock)))
Implements mm_t.malloc_mm.
#define MAXCHILD (
   (MAXSIZE-offsetof(trie_nodedata_t, keylen)-sizeof(((trie_nodedata_t*)0)->uservalue)) (sizeof(void*)+sizeof(uint8_t))
)
The maximum nr of child pointer which could be stored in a trie_nodedata_t of size header_t.MAXSIZE.
#define maxpbuffer_gconfig(
   gconf,
   display,
   maxwidth,
   maxheight,
   maxpixels
) maxpbuffer_eglconfig(gl_gconfig(gconf), gl_display(display), maxwidth, maxheight, maxpixels)
Implements gconfig_t.maxpbuffer_gconfig.
#define MAXSIZE (64*sizeof(void*))
#define maxsyserrnum_errorcontext() (132)
Implements errorcontext_t.maxsyserrnum_errorcontext.
#define memberasobject_typeadaptmember(
   nodeadp,
   node
) memberasobject_typeadaptnodeoffset((nodeadp)->nodeoff, node)
Imeplements typeadapt_member_t.memberasobject_typeadaptmember.
#define memberasobject_typeadaptnodeoffset(
   nodeoff,
   node
) ( __extension__ ({ uint32_t _off = (nodeoff); (struct typeadapt_object_t*) ( (uintptr_t)(node) - _off ); }))
Implements typeadapt_nodeoffset_t.memberasobject_typeadaptnodeoffset.
#define memblock_FREE { 0, 0 }
Static initializer.
#define memblock_INIT(size,
addr) { (addr), (size) }
Static initializer.
#define MEMCOPY(
   destination,
   source
) do { static_assert(sizeof(*(destination)) == sizeof(*(source)),"same size") ; memcpy((destination), (source), sizeof(*(destination))) ; } while(0)
Copies memory from source to destination.
#define MEMSET0(pointer) memset((pointer), 0, sizeof(*(pointer)))
Sets memory of variable to 0.
#define memstream_FREE { 0, 0 }
Static initializer.
#define memstream_INIT(start,
end) { start, end }
Initializes memstream_t.
#define mfree_mm(mm,
memblock) ((mm).iimpl->mfree((mm).object, (memblock)))
Implements mm_t.mfree_mm.
#define mm_FREE iobj_FREE
Static initializer.
#define mm_INIT(object,
iimpl) iobj_INIT(object, iimpl)
Static initializer.
#define mm_it_DECLARE(
   declared_it,
   memorymanager_t
) typedef struct declared_it declared_it ; struct declared_it { int (* malloc) (memorymanager_t * mman, size_t size, /*out*/struct memblock_t * memblock) ; int (* mresize) (memorymanager_t * mman, size_t newsize, struct memblock_t * memblock) ; int (* mfree) (memorymanager_t * mman, struct memblock_t * memblock) ; size_t (* sizeallocated) (memorymanager_t * mman) ; } ;
Implements mm_it.mm_it_DECLARE.
#define mm_it_FREE { 0, 0, 0, 0 }
Static initializer.
#define mm_it_INIT(
   malloc_f,
   mresize_f,
   mfree_f,
   sizeallocated_f
) { (malloc_f), (mresize_f), (mfree_f), (sizeallocated_f) }
Static initializer.
#define mm_maincontext() (tcontext_maincontext()->mm)
Inline implementation of maincontext_t.mm_maincontext.
#define mmfile_FREE { 0, 0 }
Static initializer for mmfile_t.
#define mmimpl_FREE { 0 }
Static initializer.
#define mod_bigint(result,
lbig,
rbig) (divmod_bigint(0, result, lbig, rbig))
Implements bigint_t.mod_bigint.
#define module_DIRECTORY "bin/mod/"
The name of the directory the loadable module binary blobs are stored.
#define module_FREE { 0, 0 }
Static initializer.
#define mresize_mm(
   mm,
   newsize,
   memblock
) ((mm).iimpl->mresize((mm).object, (newsize), (memblock)))
Implements mm_t.mresize_mm.
#define mutex_INIT_DEFAULT sys_mutex_INIT_DEFAULT
Static initializer for mutex_t without error checking.
Close