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
K
 KEYCOMPARE
 KONFIG_LANG
 KONFIG_MEMALIGN
 KONFIG_OS
 KONFIG_SUBSYS
 KONFIG_SUBSYS_NONE
 KONFIG_SUBSYS_SYSUSER
 KONFIG_SUBSYS_THREAD
 KONFIG_UNITTEST
 KONFIG_USERINTERFACE
 KONFIG_USERINTERFACE_EGL
 KONFIG_USERINTERFACE_NONE
 KONFIG_USERINTERFACE_X11
L
 last_dlist
 last_queue
 last_slist
 len_syncqueue
 len_syncwlist
 LENCHILDMAX, trie_nodeoffsets_t
 length_arraysf
 length_arraystf
 lengthof
 letoh_int
 line_textpos
 line_utf8reader
 lock_mutex
 lockflag_thread
 LOCKIOBUFFER_OBJECTCACHE
 log_it_DECLARE
 log_maincontext
 log2_int
 logbuffer_FREE, logbuffer_t
 logbuffer_INIT, logbuffer_t
 logwriter_chan_INIT, logwriter_chan_t
 logwriter_FREE, logwriter_t
 lrptree_node_INIT, lrptree_node_t
 lrtree_node_INIT, lrtree_node_t
 lsbits_ptr
#define KEYCOMPARE(
   key,
   node
) callcmpkeyobj_typeadaptmember(&tree->nodeadp, key, memberasobject_typeadaptmember(&tree->nodeadp, node))
Casts node to type typeadapt_object_t and calls callcmpkeyobj_typeadapt.
#define KONFIG_LANG en
Choose default language for compiletime/runtime text output.
#define KONFIG_MEMALIGN 4
Alignment of allocated memory.
#define KONFIG_OS Linux
Choose name of operating system this project is compiled for.
#define KONFIG_SUBSYS (THREAD|SYSUSER)
Defines which subsystems should be included.
#define KONFIG_SUBSYS_NONE
Will be automatically defined if KONFIG_SUBSYS contains no other valid option.
#define KONFIG_SUBSYS_SYSUSER
Will be automatically defined if KONFIG_SUBSYS contains SYSUSER.
#define KONFIG_SUBSYS_THREAD
Will be automatically defined if KONFIG_SUBSYS contains THREAD.
#define KONFIG_UNITTEST
Define this in your Makefile to include additional code for testing single components.
#define KONFIG_USERINTERFACE NONE
Sets the graphic subsystem.
#define KONFIG_USERINTERFACE_EGL
Will be automatically defined if KONFIG_USERINTERFACE contains EGL.
#define KONFIG_USERINTERFACE_NONE
Will be automatically defined if KONFIG_USERINTERFACE contains no other valid option.
#define KONFIG_USERINTERFACE_X11
Will be automatically defined if KONFIG_USERINTERFACE contains X11.
#define last_dlist(list) ((list)->last)
Implements dlist_t.last_dlist.
#define last_queue(
   queue,
   nodesize
) ( __extension__ ({ typeof(queue) _qu = (queue) ; uint16_t _ns = (nodesize) ; void * _node = 0 ; queue_page_t * _last ; if (_qu->last) { _last = (queue_page_t*)_qu->last ; if ((_last->end_offset - _last->start_offset) >= _ns) { _node = (uint8_t*)_last + _last->end_offset - _ns ; } } _node ; }))
Implements queue_t.last_queue.
#define last_slist(list) ((list)->last)
Implements slist_t.last_slist.
#define len_syncqueue(syncqueue) ((syncqueue)->nrelements)
Implements syncqueue_t.len_syncqueue.
#define len_syncwlist(wlist) ((size_t)(wlist)->nrnodes)
Implements syncwlist_t.len_syncwlist.
#define LENCHILDMAX (
   (SIZEMAXNODE-sizeof(void*)/*uservalue*/-HEADERSIZE-2/*prefix*/)/(sizeof(trie_node_t*)+1)
)
The maximum length of child array in a trie_node_t.
#define length_arraysf(array) ((array)->length)
Implements arraysf_t.length_arraysf.
#define length_arraystf(array) ((array)->length)
Implements arraystf_t.length_arraystf.
#define lengthof(static_array) (sizeof(static_array) / sizeof(*(static_array)))
Returns number of elements of the first dimension of a static array.
Implements int_t.letoh_int.
#define line_textpos(txtpos) ((txtpos)->line)
Implements textpos_t.line_textpos.
#define line_utf8reader(utfread) (line_textpos(&(utfread)->pos))
Implements utf8reader_t.line_utf8reader.
#define lock_mutex(mutex) (0)
Implement mutex_t.lock_mutex as a no op if !defined(KONFIG_SUBSYS_THREAD)
#define lockflag_thread(
   thread
) do { thread_t * const _thread = (thread) ; while (0 != atomicset_int(&_thread->lockflag)) { yield_thread() ; } } while (0)
Implements thread_t.lockflag_thread.
#define LOCKIOBUFFER_OBJECTCACHE(
   /*out*/iobuffer
) (objectcache_maincontext().iimpl->lock_iobuffer(objectcache_maincontext().object, (iobuffer)))
Locks the io buffer and returns a pointer to it in iobuffer.
Implements log_it.log_it_DECLARE.
#define log_maincontext() (tcontext_maincontext()->log)
Inline implementation of maincontext_t.log_maincontext.
Implements int_t.log2_int as a generic function.
#define logbuffer_FREE { 0, 0, 0, sys_iochannel_FREE }
Static initializer.
#define logbuffer_INIT(size,
addr,
io) { (addr), (size), ((addr)[0] = 0), (io) }
Static initializer.
#define logwriter_chan_INIT(
   size,
   addr,
   io,
   logstate
) { logbuffer_INIT(size, addr, io), 0, logstate, false }
Static initializer.
#define logwriter_FREE { 0, 0, 0 }
Static initializer.
#define lrptree_node_INIT { 0, 0, 0 }
Static initializer.
#define lrtree_node_INIT { 0, 0 }
Static initializer.
Implements ptr_t.lsbits_ptr.
Close