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
L
 languages, textresource_t
 last
 last_dlist
 last_queue
 last_slist
 last_syncwlist, syncwlist_t
 lastpage, queue_iterator_t
 left
 len, convert_wchar_t
 len_syncqueue
 len_syncwlist
 LENCHILDMAX, trie_nodeoffsets_t
 length
 length_arraysf
 length_arraystf
 length_utf8, utf8
 lengthof
 leninitqueue_syncrun, syncrun_t
 lenprefix_trienodeoffsets, trie_nodeoffsets_t
 lenrunqueue_syncrun, syncrun_t
 lenuservalue_trienodeoffsets, trie_nodeoffsets_t
 lenwaitqueue_syncrun, syncrun_t
 letoh_int
 level, exthash_t
 lifetime
Global
cache/objectcache_impl.ccache/valuecache.ccontext/errorcontext.ccontext/maincontext.ccontext/module.ccontext/processcontext.ccontext/threadcontext.cds/inmem/arraysf.cds/inmem/arraystf.cds/inmem/binarystack.cds/inmem/blockarray.cds/inmem/dlist.cds/inmem/exthash.cds/inmem/patriciatrie.cds/inmem/queue.cds/inmem/redblacktree.cds/inmem/slist.cds/inmem/splaytree.cds/inmem/suffixtree.cds/typeadapt/typeadapt_impl.cgraphic/display.cgraphic/gconfig.cgraphic/gcontext.cgraphic/pixelbuffer.cgraphic/window.cio/reader/csvfilereader.cio/reader/filereader.cio/reader/utf8reader.cio/reader/utf8scanner.cio/writer/log/logbuffer.cio/writer/log/logwriter.cmain/test/helper/testmodule_helper1.cmath/float/decimal.cmath/int/bigint.cmath/int/byteorder.cmemory/memstream.cmemory/mm/mm_impl.cmemory/pagecache_impl.cmemory/ptr.cplatform/Linux/io/file.cplatform/Linux/io/filepath.cplatform/Linux/io/iochannel.cplatform/Linux/io/iopoll.cplatform/Linux/io/ipaddr.cplatform/Linux/io/mmfile.cplatform/Linux/sync/rwlock.cplatform/Linux/sync/semaphore.cplatform/Linux/sync/signal.cplatform/Linux/sync/thrmutex.cplatform/Linux/sync/waitlist.cplatform/Linux/sysuser.cplatform/Linux/task/process.cplatform/Linux/task/thread.cplatform/Linux/task/thread_tls.cplatform/Linux/time/systimer.cplatform/Linux/vm.cplatform/OpenGL/EGL/eglconfig.cplatform/OpenGL/EGL/eglcontext.cplatform/OpenGL/EGL/egldisplay.cplatform/OpenGL/EGL/eglpbuffer.cplatform/OpenGL/EGL/eglwindow.cplatform/X11/x11dblbuffer.cplatform/X11/x11display.cplatform/X11/x11screen.cplatform/X11/x11videomode.cplatform/X11/x11window.cstring/string.cstring/stringstream.ctask/syncqueue.ctask/syncrun.ctask/syncwlist.ctest/mm/testmm.c
arraysf_iterator_tarraysf_mwaybranch_tarraysf_node_tarraysf_tarraystf_iterator_tarraystf_mwaybranch_tarraystf_node_tarraystf_tbigint_fixed_tbigint_tbinarystack_tblockarray_tblockheader_tconvert_wchar_tcrc32_tcstring_tcsvfilereader_tdatablock_tdecimal_tdirectory_tdisplay_tdlist_iterator_tdlist_node_tdlist_teglconfig_teglcontext_tegldisplay_teglpbuffer_teglwindow_terrorcontext_texthash_iterator_texthash_node_texthash_tfile_tfilepath_static_tfilereader_tgconfig_tgcontext_tinitqueue_entry_tiobj_tiocallback_tiochannel_tioevent_tiopoll_tipaddr_list_tipaddr_storage_tipaddr_tipport_tipsocket_async_tipsocket_tlog_header_tlogbuffer_tlogwriter_chan_tlogwriter_tlrptree_node_tlrtree_node_tmaincontext_tmemblock_tmemstream_tmm_impl_tmm_itmm_tmmfile_tmodule_tmutex_tobjectcache_impl_tobjectcache_toutconfig_fctparam_tpagecache_blockmap_tpagecache_impl_tpagecache_itpagecache_tpatriciatrie_iterator_tpatriciatrie_node_tpatriciatrie_prefixiter_tpatriciatrie_tpixelbuffer_tplatform_tprocess_stdio_tprocess_tprocesscontext_tptr_tptrblock_tqueue_iterator_tqueue_tredblacktree_iterator_tredblacktree_tresourceusage_trun2queue_entry_trunqueue_entry_trwlock_tsemaphore_tsha1_hash_tsignalstate_tsignalwait_tslist_iterator_tslist_node_tslist_tsplaytree_iterator_tsplaytree_tsplitstring_tstaticpage_tstring_field_tstring_tstringstream_tsuffixtree_addstate_tsuffixtree_iterator_tsuffixtree_leaf_tsuffixtree_node_tsuffixtree_pos_tsuffixtree_tsurface_tsyncevent_tsyncqueue_tsyncrun_tsyncthread_tsyncwait_tsyncwlist_iterator_tsyncwlist_tsystimer_tsysuser_id_tsysuser_info_tsysuser_ttest_errortimer_ttestmm_page_ttestmm_ttestmodule_functable_ttextpos_ttextresource_condition_ttextresource_langref_ttextresource_language_ttextresource_parameter_ttextresource_paramtype_ttextresource_reader_ttextresource_ttextresource_text_ttextresource_textatom_ttextresource_writer_tthread_tthread_tls_tthread_vars_tthreadcontext_tthrmutex_ttimevalue_ttrie_node_ttrie_nodeoffsets_ttrie_subnode_ttrie_subnode2_ttrie_ttypeadapt_binarykey_ttypeadapt_comparator_ittypeadapt_gethash_ittypeadapt_getkey_ittypeadapt_impl_ttypeadapt_lifetime_ittypeadapt_member_ttypeadapt_nodeoffset_ttypeadapt_tunittest_turl_parts_turl_tutf8reader_tutf8scanner_tutf8validator_tvaluecache_tvm_mappedregions_tvmpage_twait2queue_entry_twaitlist_twaitqueue_entry_twbuffer_twindow_twindowconfig_tx11dblbuffer_tx11display_tx11drawable_tx11screen_tx11videomode_iterator_tx11videomode_tx11window_txmlattribute_t
 lifetime-service, typeadapt_t
 lifetime-service-implementation, typeadapt_impl_t
 lifetime\n\
 lifetime_deleteobj_typeadaptimpl, typeadapt_impl_t
 lifetime_newcopyobj_typeadaptimpl, typeadapt_impl_t
 limit Test
 limits
 line, textpos_t
 line_textpos
 line_utf8reader
 linenr, csvfilereader_parsestate_t
 Linux Specific Includes
 LinuxSystemContext
 LinuxSystemKonfig
 LinuxSystemOptimizations
 LinuxSystemTypes
 List of Types
 load_file
 local variables
 localaddr_ipsocket, ipsocket_t
 Locale-support
 Locale-support Linux
 lock_iobuffer, objectcache_it
 lock_mutex
 lock_thrmutex, thrmutex_t
 lockflag
 lockflag;, thread_t
 lockflag_rwlock
 lockflag_thread
 lockflag_thrmutex
 lockflag_waitlist
 lockholder, thrmutex_t
 lockholder_thrmutex, thrmutex_t
 LOCKIOBUFFER_OBJECTCACHE
 lockiobuffer_objectcacheimpl, objectcache_impl_t
 lockreader_rwlock, rwlock_t
 lockwriter_rwlock, rwlock_t
 log
 Log-Object
 log-text
 log-variables
 log_channel_e
 log_channel_ERR
 log_channel_NROFCHANNEL
 log_channel_TEST
 log_channel_USERERR
 log_channel_WARN
 log_config_e
 log_config_MINSIZE
 log_flags_e
 log_flags_END
 log_flags_NONE
 log_flags_OPTIONALHEADER
 log_flags_START
 log_header_t
 log_it
 log_it_DECLARE
 log_maincontext
 log_state_BUFFERED
 log_state_e
 log_state_IGNORED
 log_state_IMMEDIATE
 log_state_NROFSTATE
 log_state_UNBUFFERED
 log_t
 log_text_f
 log10_int
 log10_int32
 log10_int64
 log2_int
 log2elements_per_block, blockarray_t
 log2pagesize_vm
 log2ptr_per_block, blockarray_t
 LogBuffer
 LogBuffer impl
 logbuffer_FREE, logbuffer_t
 logbuffer_INIT, logbuffer_t
 logbuffer_t
 logf_unittest, unittest_t
 logfailed_unittest, unittest_t
 logfailedunexpected_unittest, unittest_t
 logfile, unittest_t
 LogMacros
 LogMain
 LogMain impl
 logmain_t
 logresult_unittest, unittest_t
 logrun_unittest, unittest_t
 logsize, logbuffer_t
 logsummary_unittest, unittest_t
 logurl_ipaddr, ipaddr_t
 LogWriter
 LogWriter impl
 logwriter_chan_INIT, logwriter_chan_t
 logwriter_chan_t
 logwriter_FREE, logwriter_t
 logwriter_it
 logwriter_t
 LRPTree-Node
 lrptree_node_INIT, lrptree_node_t
 lrptree_node_t
 LRTree-Node
 lrtree_node_INIT, lrtree_node_t
 lrtree_node_t
 lsbits_ptr
slist_t languages
Contains list of textresource_language_t.
struct slist_node_t * last
Points to last element (tail) of list.
struct dlist_node_t * last
This variables makes syncqueue_t convertible to type queue_t.
struct slist_node_t * last
Points to last entry in list of waiting threads.
struct slist_node_t * last
The root pointer of the list of waiting threads.
#define last_dlist(list) ((list)->last)
Implements dlist_t.last_dlist.
struct dlist_node_t * last_dlist(dlist_t *list)
Returns the last element in the list.
#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.
void * last_queue(const queue_t *queue,
uint16_t nodesize)
Returns the last element or 0.
#define last_slist(list) ((list)->last)
Implements slist_t.last_slist.
struct slist_node_t * last_slist(const slist_t *list)
Returns the last node in the list.
struct syncevent_t * last_syncwlist(const syncwlist_t *wlist)
Returns pointer to last contained syncevent_t.
queue_page_t * lastpage
The last memory page in the list of pages.
lrptree_node_t * left
Points to left subtree.
lrtree_node_t * left
Points to left subtree.
patriciatrie_node_t * left
Follow left pointer if testet bit at bit_offset is 0.
size_t len
Stores size (in bytes) of the unconverted mb character sequence.
#define len_syncqueue(syncqueue) ((syncqueue)->nrelements)
Implements syncqueue_t.len_syncqueue.
size_t len_syncqueue(const syncqueue_t *syncqueue)
Returns the number of elements stored in the queue.
#define len_syncwlist(wlist) ((size_t)(wlist)->nrnodes)
Implements syncwlist_t.len_syncwlist.
size_t len_syncwlist(const syncwlist_t *wlist)
Returns the number of inserted events.
#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.
size_t length
The number of elements stored in this array.
size_t length
The number of elements stored in this array.
Length of string in bytes (sizeof(char)==1).
size_t length
Length of text data in bytes.
#define length_arraysf(array) ((array)->length)
Implements arraysf_t.length_arraysf.
size_t length_arraysf(arraysf_t *array)
Returns the number of elements stored in the array.
#define length_arraystf(array) ((array)->length)
Implements arraystf_t.length_arraystf.
size_t length_arraystf(arraystf_t *array)
Returns the number of elements stored in the array.
size_t length_utf8(const uint8_t *strstart,
const uint8_t *strend)
Returns number of UTF-8 characters encoded in string buffer.
#define lengthof(static_array) (sizeof(static_array) / sizeof(*(static_array)))
Returns number of elements of the first dimension of a static array.
size_t leninitqueue_syncrun(const syncrun_t *srun)
Returns the number of syncthreads which are started but not run at least once.
static inline uint8_t lenprefix_trienodeoffsets(
   const trie_nodeoffsets_t *offsets
)
Returns the number of bytes the encoded prefix uses.
size_t lenrunqueue_syncrun(const syncrun_t *srun)
Returns the number of syncthreads which are run at least once.
static inline uint8_t lenuservalue_trienodeoffsets(
   const trie_nodeoffsets_t *offsets
)
Returns sizeof(void*) if uservalue is available else 0.
size_t lenwaitqueue_syncrun(const syncrun_t *srun)
Returns the number of syncthreads which are waiting for an event.
Implements int_t.letoh_int.
unsigned letoh_int(unsigned little_endian_val)
Converts little_endian_val from little-endian byte order to host byte order.
uint8_t level
Determines the hash table size as pow(2,level).
typeadapt_lifetime_it lifetime
Interface to adapt the lifetime of an object type.
int lifetime_deleteobj_typeadaptimpl(typeadapt_impl_t *typeadp,
struct typeadapt_object_t **object)
Implements typeadapt_lifetime_it.delete_object.
int lifetime_newcopyobj_typeadaptimpl(
   typeadapt_impl_t *typeadp,
   /*out*/struct typeadapt_object_t **destobject,
   const struct typeadapt_object_t *srcobject
)
Implements typeadapt_lifetime_it.newcopy_object.
Asserts that all application defined limits (OFF_MAX) of the standard types have the correct value.
size_t line
Line number of the next unread character.
#define line_textpos(txtpos) ((txtpos)->line)
Implements textpos_t.line_textpos.
size_t line_textpos(const textpos_t *txtpos)
Returns the current line number beginning from 1.
#define line_utf8reader(utfread) (line_textpos(&(utfread)->pos))
Implements utf8reader_t.line_utf8reader.
size_t line_utf8reader(const utf8reader_t *utfread)
Returns the line nr of the current readng position.
size_t linenr
Current text line nr.
Include all C99, Posix and Linux specific header files.
Defines sys_context_threadtls and other thread context specific functions.
System specific configuration for Linux.
Contains optimizations, for example fast redefinitions for functions.
Defines system specific types which are used in public interfaces.
The following list shows the suffixes of a type name and on the right side what kind of type this suffix stands for.
int load_file(const char *filepath,
/*ret*/struct wbuffer_t *result,
struct directory_t *relative_to)
Loads content of file and appends it to result.
int localaddr_ipsocket(const ipsocket_t *ipsock,
struct ipaddr_t *localaddr)
Returns local ip address in localaddr.
Supports setting and getting of process locale (C runtime libraries).
Implements Locale-support.
void (
   *lock_iobuffer
) (struct objectcache_t * cache, /*out*/struct memblock_t ** iobuffer)
See objectcache_impl_t.lockiobuffer_objectcacheimpl for an implementation.
#define lock_mutex(mutex) (0)
Implement mutex_t.lock_mutex as a no op if !defined(KONFIG_SUBSYS_THREAD)
int lock_mutex(mutex_t *mutex)
Locks a mutex.
int lock_thrmutex(thrmutex_t *mutex)
Locks the mutex.
uint8_t lockflag
Lock flag used to protect access to data members.
uint8_t lockflag
Lock flag used to protect access to data members.
uint8_t lockflag
Lock flag used to protect access to data members.
Lock flag used to protect access to data members.
static inline void lockflag_rwlock(rwlock_t *rwlock)
Wait until rwlock->lockflag is cleared and set it atomically.
#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.
void lockflag_thread(thread_t *thread)
Wait until thread->lockflag (lockflag) is cleared and set it atomically.
static inline void lockflag_thrmutex(thrmutex_t *mutex)
Waits until mutex->lockflag is cleared and sets it atomically.
static inline void lockflag_waitlist(waitlist_t *wlist)
Wait until wlist->lockflag is cleared and set it atomically.
struct thread_t * lockholder
The threads which acquired the lock and is allowed to run.
struct thread_t * lockholder_thrmutex(thrmutex_t *mutex)
Returns the thread which locked the mutex.
#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.
void lockiobuffer_objectcacheimpl(objectcache_impl_t *objectcache,
/*out*/struct memblock_t **iobuffer)
Locks the io buffer and returns a pointer to it in iobuffer.
int lockreader_rwlock(rwlock_t *rwlock)
Acquire entrylock, increment nrofreader and release entrylock.
int lockwriter_rwlock(rwlock_t *rwlock)
Acquire entrylock, sets writer to seld and wait until nrofreader == 0.
iobj_DECLARE(,
log) log
Thread local erorr log.
Interface to access log service.
Used to switch between log channels.
Uses error channel for log output.
Use this value to determine the number of different channels numbered from 0 up to (log_channel_NROFCHANNEL-1).
Uses test channel for log output.
Uses STDERR channel for log output.
Uses warning channel for log output.
Used to configure system wide restrictions.
The minimum size in bytes of one log entry before it is possibly truncated.
Used to configure system wide restrictions.
Indicates that this is the last part of a log entry.
Indicates that the log entry does not change append or not append state.
A given log_header_t is only written before the log entry if the pointer to the function name in log_header_t differs from the pointer given in the previous call.
Indicates that this is the beginning of a new log entry.
struct log_header_t
Contains information for a log header.
struct log_it
The function table which describes the log service.
Implements log_it.log_it_DECLARE.
void log_it_DECLARE(TYPENAME declared_it,
TYPENAME log_t)
Declares a function table for accessing a log service.
#define log_maincontext() (tcontext_maincontext()->log)
Inline implementation of maincontext_t.log_maincontext.
Returns log service log_t (see logwriter_t).
Normal operation mode.
Used to configure the state of a log_channel_e.
Ignore any writing to this channel.
Every part of a log entry is written immediately without waiting for the last part end.
Use this value to determine the number of different states numbered from 0 up to (log_state_NROFSTATE-1).
Every log entry is constructed in a buffer and if the last part of the entry is added to it the log entry is written out as a whole.
iobj_DECLARE(log_t,
log)
Uses iobj_DECLARE to declare object supporting interface log_it.
typedef void (*log_text_f)(struct logbuffer_t * logbuffer, va_list vargs)
Declare function pointer which writes a text resource into logbuffer_t.
Implements int_t.log10_int.
unsigned log10_int(unsigned i)
Returns the logarithm to base 2 as integer of an integer value.
unsigned log10_int32(uint32_t i)
Uses s_pow10 table to decrement result if necessary.
unsigned log10_int32(uint32_t i)
Implements log10_int for 32 bit values.
unsigned log10_int64(uint64_t i)
Uses s_pow10 table to decrement result if necessary.
unsigned log10_int64(uint64_t i)
Implements log10_int for 64 bit values.
Implements int_t.log2_int as a generic function.
unsigned log2_int(unsigned i)
Returns the logarithm to base 2 as integer of an integer value.
uint8_t log2elements_per_block
The log2 of elements_per_block plus 1 or value 0.
uint8_t log2pagesize_vm(void)
Returns log2_int of pagesize_vm.
uint8_t log2pagesize_vm
The log2_int value of pagesize_vm.
uint8_t log2ptr_per_block
The log2 of number of pointer stored in a memory block.
Wirte formatted error messages into a memory buffer.
Implements LogBuffer.
#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.
struct logbuffer_t
A logbuffer_t writes error messages to a buffer.
void logf_unittest(
   const char *format,
    ...
) __attribute__ ((__format__ (__printf__, 1, 2)))
Logs a formatted string.
void logfailed_unittest(const char *filename,
unsigned line_number,
const char *msg)
Logs “filename:<line_number>: <msg>\n”.
void logfailedunexpected_unittest(
   const char *filename,
   unsigned line_number,
   const char *format,
    ...
) __attribute__ ((__format__ (__printf__, 3, 4)))
Logs “filename:<line_number>: UNEXPECTED VALUE <value>\n”.
Makes LogWriter service more accessible with simple defined macros.
Used in static initializer for threadcontext_t.
Implements LogMain.
struct logmain_t
No object necessary.
void logresult_unittest(bool isFailed)
Logs “OK\n” or “FAILED\n”.
void logrun_unittest(const char *testname)
Logs “RUN %s: “.
uint32_t logsize
Stores the size in bytes of the buffered log entries.
void logsummary_unittest(void)
Logs how many tests passed and how many failed.
void logurl_ipaddr(const ipaddr_t *addr,
const char *varname,
uint8_t logchannel)
Writes “varname: [tcp|udp]://[ip]:[port]” to logchannel.
Write error messages to STDERR for diagnostic purposes.
Implements logging of error messages to standard error channel.
#define logwriter_chan_INIT(
   size,
   addr,
   io,
   logstate
) { logbuffer_INIT(size, addr, io), 0, logstate, false }
Static initializer.
struct logwriter_chan_t
Extends logbuffer_t with isappend mode and log_state_e.
#define logwriter_FREE { 0, 0, 0 }
Static initializer.
log_it_DECLARE(logwriter_it,
logwriter_t)
struct logwriter_t
A logwriter writes the console channel messages to STDOUT any other channels to STDERR.
Defines node type lrptree_node_t which can be stored in trees which need left, right, and parent pointers (see redblacktree_t).
#define lrptree_node_INIT { 0, 0, 0 }
Static initializer.
struct lrptree_node_t
Management overhead of objects which wants to be stored in a redblacktree_t.
Defines node type lrtree_node_t which can be stored in trees which need only left and right pointers (see splaytree_t).
#define lrtree_node_INIT { 0, 0 }
Static initializer.
struct lrtree_node_t
Management overhead of objects which wants to be stored in a splaytree_t.
Implements ptr_t.lsbits_ptr.
int lsbits_ptr(const ptr_t ptr,
unsigned nrbits)
Returns the value of all nrbits least significant bits of ptr.
Close