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