Function 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
F
 filesize_directory, directory_t
 find_exthash, exthash_t
 find_patriciatrie, patriciatrie_t
 find_redblacktree, redblacktree_t
 find_splaytree, splaytree_t
 findbyte_string
 findbyte_stringstream, stringstream_t
 findfreeblock_pagecacheimpl
 findnode_trie, trie_node_t
 findstring_suffixtree
 findutf8_stringstream, stringstream_t
 first_different_bit
 first_dlist, dlist_t
 first_queue, queue_t
 first_slist, slist_t
 first18digits_decimal, decimal_t
 first9digits_decimal, decimal_t
 firstdigit_bigint, bigint_t
 flags_x11window, x11window_t
 flush_logwriterchan, logwriter_chan_t
 flushbuffer_logwriter, logwriter_t
 fork_process
 format_floatdouble_stringfield
 format_i32_stringfield
 format_i64_stringfield
 format_string, string_t
 format_string_stringfield
 fragment_url, url_t
 frame_x11window, x11window_t
 free_arraysfiterator, arraysf_iterator_t
 free_arraystfiterator, arraystf_iterator_t
 free_binarystack, binarystack_t
 free_blockarray, blockarray_t
 free_convertwchar, convert_wchar_t
 free_cstring, cstring_t
 free_csvfilereader, csvfilereader_t
 free_display, display_t
 free_dlist, dlist_t
 free_dlistiterator, dlist_iterator_t
 free_eglconfig, eglconfig_t
 free_eglcontext, eglcontext_t
 free_egldisplay, egldisplay_t
 free_eglpbuffer, eglpbuffer_t
 free_eglwindow, eglwindow_t
 free_errorcontext, errorcontext_t
 free_exthash, exthash_t
 free_exthashiterator, exthash_iterator_t
 free_file, file_t
 free_filereader, filereader_t
 free_gconfig, gconfig_t
 free_gcontext, gcontext_t
 free_iobj, iobj_t
 free_iochannel, iochannel_t
 free_iopoll
 free_ipsocket, ipsocket_t
 free_ipsocketasync, ipsocket_async_t
 free_logbuffer, logbuffer_t
 free_logwriter, logwriter_t
 free_maincontext, maincontext_t
 free_mmfile, mmfile_t
 free_mmimpl, mm_impl_t
 free_module, module_t
 free_mutex, mutex_t
 free_objectcacheimpl, objectcache_impl_t
 free_pagecacheblock
 free_pagecacheblockmap, pagecache_blockmap_t
 free_pagecacheimpl, pagecache_impl_t
 free_patriciatrie, patriciatrie_t
 free_patriciatrieiterator, patriciatrie_iterator_t
 free_patriciatrieprefixiter, patriciatrie_prefixiter_t
 free_pixelbuffer, pixelbuffer_t
 free_process, process_t
 free_processcontext, processcontext_t
 free_processstdio2
 free_queue, queue_t
 free_queueiterator, queue_iterator_t
 free_redblacktree, redblacktree_t
 free_redblacktreeiterator, redblacktree_iterator_t
 free_resourceusage, resourceusage_t
 free_rwlock, rwlock_t
 free_semaphore, semaphore_t
 free_signalwait
 free_slist, slist_t
 free_slistiterator, slist_iterator_t
 free_splaytree, splaytree_t
 free_splaytreeiterator, splaytree_iterator_t
 free_splitstring
 free_string
 free_stringstream, stringstream_t
 free_suffixtree, suffixtree_t
 free_syncqueue, syncqueue_t
 free_syncrun, syncrun_t
 free_syncthread, syncthread_t
 free_syncwlist, syncwlist_t
 free_syncwlistiterator, syncwlist_iterator_t
 free_systimer, systimer_t
 free_sysuser, sysuser_t
 free_testerrortimer, test_errortimer_t
 free_testmm, testmm_t
 free_textpos, textpos_t
 free_textresourcereader, textresource_reader_t
 free_threadcontext, threadcontext_t
 free_threadtls, thread_tls_t
 free_thrmutex, thrmutex_t
 free_trie, trie_t
 free_typeadaptimpl, typeadapt_impl_t
 free_utf8reader, utf8reader_t
 free_utf8scanner, utf8scanner_t
 free_utf8validator, utf8validator_t
 free_valuecache, valuecache_t
 free_vmmappedregions, vm_mappedregions_t
 free_vmpage, vmpage_t
 free_waitlist, waitlist_t
 free_window, window_t
 free_x11dblbuffer, x11dblbuffer_t
 free_x11display, x11display_t
 free_x11videomodeiterator, x11videomode_iterator_t
 free_x11window, x11window_t
 freeasmm_testmm, testmm_t
 freeblock_pagecacheimpl
 freebuffer_logwriter
 freemain_threadtls, thread_tls_t
 freenode_suffixtreeiteratoradapter, suffixtreeiterator_adapter_it
 freeonce_errorcontext, errorcontext_t
 freeonce_locale
 freeonce_signalhandler, signalhandler_t
 freeonce_X11, X11_t
 freepageblock_pagecacheblock
 freesingleton_unittest, unittest_t
 freesize_blockheader, blockheader_t
 freestatic, pagecache_it
 freestatic_maincontext, maincontext_t
 freestatic_pagecache, pagecache_t
 freestatic_pagecacheimpl, pagecache_impl_t
 freethread_pagecacheimpl, pagecache_impl_t
int filesize_directory(const directory_t *dir/*0 = > current working directory*/,
const char *file_path,  
/*out*/off_t *file_size  )
Returns the filesize of a file with path »file_path«.
int find_exthash(exthash_t *htable,
const void *key,
/*out*/exthash_node_t **found_node)
Searches for a node with equal key.
int find_patriciatrie(patriciatrie_t *tree,
size_t keylength,
const uint8_t searchkey[keylength],
/*out*/patriciatrie_node_t **found_node)
Searches for a node with equal key.
int find_redblacktree(redblacktree_t *tree,
const void *key,
/*out*/redblacktree_node_t **found_node)
Searches for a node with equal key.
int find_splaytree(splaytree_t *tree,
const void *key,
/*out*/splaytree_node_t **found_node,
uint16_t nodeoffset,
typeadapt_t *typeadp)
Searches for a node with equal key.
Implements string_t.findbyte_string.
const uint8_t * findbyte_string(const string_t *str,
uint8_t byte)
Finds byte in string.
const uint8_t * findbyte_stringstream(const struct string_t *strstream,
uint8_t byte)
Finds byte in string stream.
static inline int findfreeblock_pagecacheimpl(pagecache_impl_t *pgcache,
pagesize_e pgsize,
pagecache_block_t **freeblock)
Find empty pageblock_block_t on freelist and return it in freeblock.
static int findnode_trie(trie_t *trie,
uint16_t keylen,
const uint8_t key[keylen],
/*out*/trie_findresult_t *result)
Finds node in trie who matches the given key fully or partially.
Searches the node matching searchstring beginning from root.
const uint8_t * findutf8_stringstream(const struct stringstream_t *strstream,
char32_t uchar)
Searches for unicode character in utf8 encoded stringstream.
Determines the first bit which differs in key1 and key2.
struct dlist_node_t * first_dlist(dlist_t *list)
Returns the first element in the list.
void * first_queue(const queue_t *queue,
uint16_t nodesize)
Returns the first element or 0.
struct slist_node_t * first_slist(const slist_t *list)
Returns the first element in the list.
int64_t first18digits_decimal(decimal_t *dec,
int32_t *decimal_exponent)
Returns the 18 most significant decimal digits with correct sign.
int32_t first9digits_decimal(decimal_t *dec,
int32_t *decimal_exponent)
Returns the 9 most significant decimal digits with correct sign.
uint32_t firstdigit_bigint(const bigint_t *big)
Returns most significant digit of the number.
x11window_flags_e flags_x11window(const x11window_t *x11win)
Returns flags which indicate ownership state of system resources.
static void flush_logwriterchan(logwriter_chan_t *chan)
Flushes logbuffer_t in chan.
void flushbuffer_logwriter(logwriter_t *lgwrt,
uint8_t channel)
Writes content of buffer to STDERR or configured file descriptor and clears log buffer.
static int fork_process(/*out*/pid_t *pid)
This function call returns twice.
static int format_floatdouble_stringfield(const string_field_t *field,
string_t *str)
Writes formatted float or double field.
static int format_i32_stringfield(const string_field_t *field,
string_t *str)
Writes formatted 32 bit integer field.
static int format_i64_stringfield(const string_field_t *field,
string_t *str)
Writes formatted 64 bit integer field.
int format_string(struct string_t *str,
/*out*/size_t *nr_of_fully_written_fields,
int dummy)
Writes formatted output to string_t.
static int format_string_stringfield(const string_field_t *field,
string_t *str)
Writes formatted string field.
const char * fragment_url(const url_t *url)
Returns the anchor/fragment part of the url.
int frame_x11window(const x11window_t *x11win,
/*out*/int32_t *screen_x,
/*out*/int32_t *screen_y,
/*out*/uint32_t *width,
/*out*/uint32_t *height)
This is the geometry of window including the window manager frame in screen coordinates.
int free_arraysfiterator(arraysf_iterator_t *iter)
Frees an iterator for arraysf_t.
int free_arraystfiterator(arraystf_iterator_t *iter)
Frees an iterator for an arraystf_t.
int free_binarystack(binarystack_t *stack)
Frees memory resources held by stack.
int free_blockarray(blockarray_t *barray)
Frees all memory blocks.
extern int free_convertwchar(convert_wchar_t *conv)
Frees resources associated with convert_wchar_t.
int free_cstring(cstring_t *cstr)
Frees any allocated memory associated with type cstring_t.
int free_csvfilereader(csvfilereader_t *csvfile)
Closes file and frees memory for parsed values.
int free_display(display_t *disp)
Frees all resources associated wth the display.
int free_dlist(dlist_t *list,  
uint16_t nodeoffset,  
struct typeadapt_t *typeadp/*0 = >no free called*/)
Frees all resources.
int free_dlistiterator(dlist_iterator_t *iter)
Frees an iterator for dlist_t.
int free_eglconfig(eglconfig_t *eglconf)
Frees any associated resources.
int free_eglcontext(eglcontext_t *eglcont,
struct opengl_display_t *egldisp)
Frees all associated resources with this context.
int free_egldisplay(egldisplay_t *egldisp)
Frees all associated resources with a display.
int free_eglpbuffer(eglpbuffer_t *eglpbuf,
struct opengl_display_t *egldisp)
Frees all associated resources with eglpbuf.
int free_eglwindow(eglwindow_t *eglwin,
struct opengl_display_t *egldisp)
Frees resources allocated by eglwin window surface.
int free_errorcontext(errorcontext_t *errcontext)
Sets members of errcontext to 0.
int free_exthash(exthash_t *htable)
Calls removenodes_exthash and frees the hash table memory.
int free_exthashiterator(exthash_iterator_t *iter)
Frees an iterator of exthash_t.
int free_file(file_t *fileobj)
Closes an opened file and frees held resources.
int free_filereader(filereader_t *frd)
Closes file and frees allocated buffers.
int free_gconfig(gconfig_t *gconf)
Frees any memory associated with a configuration.
int free_gcontext(gcontext_t *cont,
struct display_t *disp)
Frees graphic context cont and associated resources (frame buffers).
void free_iobj(iobj_t *iobj)
Generic free operation.
int free_iochannel(iochannel_t *ioc)
Closes the I/O channel (file descriptor).
int free_iopoll(iopoll_t *iopoll)
Frees Linux epoll object.
int free_iopoll(iopoll_t *iopoll)
Frees system event queue.
int free_ipsocket(/*out*/ipsocket_t *ipsock)
Closes communication channel and frees system resources.
int free_ipsocketasync(ipsocket_async_t *ipsockasync)
Closes socket and frees all resources.
int free_logbuffer(logbuffer_t *logbuf)
Clears all members.
int free_logwriter(logwriter_t *lgwrt)
Frees resources and frees memory of log object.
int free_maincontext(void)
Frees global context.
int free_mmfile(mmfile_t *mfile)
Frees all mapped memory and closes the file.
int free_mmimpl(mm_impl_t *mman)
Frees all memory managed by this manager.
int free_module(module_t *mod)
Unmaps a binary blob from memory.
int free_mutex(mutex_t *mutex)
Frees resources of mutex which is not in use.
int free_objectcacheimpl(objectcache_impl_t *objectcache)
Frees objectcache_impl_t and all contained objects.
static int free_pagecacheblock(pagecache_block_t *block,
pagecache_blockmap_t *blockmap)
Frees pagecache_block_t.pageblock but keeps empty block structure.
int free_pagecacheblockmap(pagecache_blockmap_t *blockmap)
Frees allocated hash table.
int free_pagecacheimpl(pagecache_impl_t *pgcache)
Frees all allocated memory pages even if they are in use.
int free_patriciatrie(patriciatrie_t *tree)
Frees all resources.
int free_patriciatrieiterator(patriciatrie_iterator_t *iter)
Frees an iterator of patriciatrie_t.
int free_patriciatrieprefixiter(patriciatrie_iterator_t *iter)
Frees an prefix iterator of patriciatrie_t.
int free_pixelbuffer(pixelbuffer_t *pbuf,
struct display_t *disp)
Frees all associated resources.
int free_process(process_t *process)
Frees resource associated with a process.
int free_processcontext(processcontext_t *pcontext)
Frees resources associated with processcontext_t.
static int free_processstdio2(process_stdfd2_t *stdfd2)
Closes if devnull if necessary.
int free_queue(queue_t *queue)
Free all memory pages even if they are not empty.
int free_queueiterator(queue_iterator_t *iter)
Frees an iterator of queue_t.
int free_redblacktree(redblacktree_t *tree)
Frees all resources.
int free_redblacktreeiterator(redblacktree_iterator_t *iter)
Frees an iterator of redblacktree_t.
int free_resourceusage(resourceusage_t *usage)
Frees any memory which may be used to store the usage information.
int free_rwlock(rwlock_t *rwlock)
Frees mutex.
int free_semaphore(semaphore_t *semaobj)
Wakes up any waiting threads and frees the associated resources.
int free_signalwait(signalwait_t *signalwait)
Frees all resources associated with signalwait.
int free_signalwait(signalwait_t *signalwait)
Frees all resources associated with signalwait.
int free_slist(slist_t *list,  
uint16_t nodeoffset,  
struct typeadapt_t *typeadp/*0 = >no free called*/)
Frees memory of all contained objects.
int free_slistiterator(slist_iterator_t *iter)
Frees an iterator of slist_t.
int free_splaytree(splaytree_t *tree,
uint16_t nodeoffset,
typeadapt_t *typeadp)
Frees all resources.
int free_splaytreeiterator(splaytree_iterator_t *iter)
Frees an iterator of splaytree_t.
Implements splitstring_t.free_splitstring.
void free_splitstring(splitstring_t *spstr)
Sets all data members to 0.
Implements string_t.free_string.
void free_string(string_t *str)
Sets string to string_FREE.
void free_stringstream(stringstream_t *strstream)
Resets stringstream to null string.
int free_suffixtree(suffixtree_t *tree)
Frees all memory of the allocated nodes.
int free_syncqueue(syncqueue_t *syncqueue)
Frees all allocated memory pages and clears syncqueue.
int free_syncrun(syncrun_t *srun)
Frees all queues and removed any stored syncthread_t.
void free_syncthread(syncthread_t *sthread)
Sets all members to 0.
int free_syncwlist(syncwlist_t *wlist,
struct syncqueue_t *queue)
Marks all listed nodes as free and removes them from the queue.
int free_syncwlistiterator(syncwlist_iterator_t *iter)
Frees an iterator of syncwlist_t.
int free_systimer(systimer_t *timer)
Frees any resources associated with the timer.
int free_sysuser(sysuser_t *sysusr)
Clears sysusr and resets system user ids.
void free_testerrortimer(test_errortimer_t *errtimer)
Sets errtimer to test_errortimer_FREE.
int free_testmm(testmm_t *mman)
Frees all memory managed by this manager.
void free_textpos(textpos_t *txtpos)
Sets pos to textpos_FREE.
static int free_textresourcereader(textresource_reader_t *reader)
Closes file and frees memory of textresource_t.
int free_threadcontext(threadcontext_t *tcontext)
Frees all resources bound to this object.
int free_threadtls(thread_tls_t *tls)
Changes protection of memory to normal and frees it.
int free_thrmutex(thrmutex_t *mutex)
Checks that no one is waiting and sets mutex to thrmutex_FREE.
int free_trie(trie_t *trie)
Frees all nodes and their associated memory.
int free_typeadaptimpl(typeadapt_impl_t *typeadp)
Sets all fields to 0.
int free_utf8reader(utf8reader_t *utfread)
Sets all internal members to 0.
int free_utf8scanner(utf8scanner_t *scan,
struct filereader_t *frd)
Sets all data members to 0 and releases any acquired buffers from frd.
int free_utf8validator(utf8validator_t *utf8validator)
Clear data members and checks that there is no internal prefix stored.
int free_valuecache(valuecache_t *valuecache)
Clears values of valuecache.
int free_vmmappedregions(vm_mappedregions_t *mappedregions)
Free internal memory cache used to store all vm_region_t objects.
int free_vmpage(vmpage_t *vmpage)
Invalidates virtual memory address range
int free_waitlist(waitlist_t *wlist)
Wakes up all waiting threads and frees all resources.
int free_window(window_t *win)
Frees win and its associated resources like native windows.
int free_x11dblbuffer(x11dblbuffer_t *dblbuf)
Frees and deallocates the double buffer associated with a window.
int free_x11display(x11display_t *x11disp)
Closes display connection and frees all resources.
int free_x11videomodeiterator(x11videomode_iterator_t *xvidit)
Frees the iterator and the associated list of all videomodes.
int free_x11window(x11window_t *x11win)
Frees all associated resources in case w11window_t.flags inidcates ownership.
int freeasmm_testmm(struct mm_t *testmm)
Calls free_testmm with object pointer from mm_t.
static inline int freeblock_pagecacheimpl(pagecache_impl_t *pgcache,
pagecache_block_t *block)
Frees pageblock_block_t and removes it from freelist and blocklist.
static int freebuffer_logwriter(memblock_t *buffer)
Frees internal buffer.
int freemain_threadtls(thread_tls_t *tls)
Same as free_threadtls but calls no other functions of C-kern system.
static int freenode_suffixtreeiteratoradapter(
   suffixtreeiterator_adapter_t *typeadp,
   suffixtree_iterator_t **iter
)
Frees memory of object type suffixtree_iterator_t.
int freeonce_errorcontext(errorcontext_t *error)
Called from maincontext_t.free_maincontext.
int freeonce_locale(void)
Called from maincontext_t.free_maincontext.
int freeonce_signalhandler(void)
Restores default signal configuration.
int freeonce_X11(void)
Does nothing at the moment.
static inline int freepageblock_pagecacheblock(vmpage_t *pageblock)
Frees resources of pagecache_block_t stored in pagecache_block_t.pageblock.
int freesingleton_unittest(void)
Frees any resources allocated with the single object of type unittest_t.
static inline uint32_t freesize_blockheader(blockheader_t *header)
Returns the number of unused bytes.
int (*freestatic) (pagecache_t * pgcache, struct memblock_t * memblock)
Frees static memory.
int freestatic_maincontext(uint8_t size)
Frees size bytes of last allocated memory.
int freestatic_pagecache(const pagecache_t pgcache,
struct memblock_t *memblock)
Calls pgcache->iimpl->freestatic with pgcache->object as first parameter.
int freestatic_pagecacheimpl(pagecache_impl_t *pgcache,
struct memblock_t *memblock)
Frees static memory.
int freethread_pagecacheimpl(struct pagecache_t *pagecache)
Calls free_pagecacheimpl with for object pointer in pagecache_t.
Close