The start function of the thread.
static void * main_thread( thread_startargument_t * startarg )
Reads thread_t.main_arg field of thread_t object.
void * mainarg_thread( const thread_t * threadobj )
Returns thread_t.main_task.
thread_f maintask_thread( const thread_t * threadobj )
Creates directory with directory_path relative to dir.
int makedirectory_directory( directory_t * dir/*0 = > current working directory*/, const char * directory_path )
Creates a new file with file_path relative to dir.
int makefile_directory( directory_t * dir/*0 = > current working directory*/, const char * file_path, off_t file_length )
Returns power of 2 value of the argument or 0.
unsigned makepowerof2_int( unsigned i )
See mm_impl_t.malloc_mmimpl for an implementation.
int ( * malloc ) (struct mm_t * mman, size_t size, /*out*/struct memblock_t * memblock)
Calls mm->iimpl->malloc with mm->object as first parameter.
int malloc_mm( mm_t mm, size_t size, /*out*/struct memblock_t * memblock )
Allocates new memory block.
int malloc_mmimpl( mm_impl_t * mman, size_t size, /*out*/struct memblock_t * memblock )
Allocates a new memory block.
int malloc_testmm( testmm_t * mman, size_t size, /*out*/struct memblock_t * memblock )
Returns number of times and start addresses of suffixes which contain searchstr.
int matchall_suffixtree( suffixtree_t * tree, size_t length, const uint8_t searchstr[length], size_t skip_count, /*out*/size_t * matched_count, size_t maxmatchcount, /*out*/const uint8_t * matchedpos[maxmatchcount] )
Matches a string of bytes.
int matchbytes_utf8reader( utf8reader_t * utfread, size_t colnr, size_t nrbytes, const uint8_t bytes[nrbytes], /*err*/size_t * matchedsize )
Returns the maximum character value (unicode code point) which can be encoded into utf-8.
char32_t maxchar_utf8( void )
Returns the maximum supported signal number signalrt_t.
signalrt_t maxnr_signalrt( void )
Returns the maximum size of an off-screen pixel buffer.
int maxpbuffer_eglconfig( eglconfig_t eglconf, struct opengl_display_t * egldisp, /*out*/uint32_t * maxwidth, /*out*/uint32_t * maxheight, /*out*/uint32_t * maxpixels )
Returns the maximum size of an off-screen pixel buffer.
int maxpbuffer_gconfig( const gconfig_t * gconf, struct display_t * display, /*out*/uint32_t * maxwidth, /*out*/uint32_t * maxheight, /*out*/uint32_t * maxpixels )
Returns the maximum size in bytes of an utf-8 encoded multibyte sequence.
uint8_t maxsize_utf8( void )
Returns the number of system error entries.
uint16_t maxsyserrnum_errorcontext( void )
See memberasobject_typeadaptnodeoffset.
struct typeadapt_object_t * memberasobject_typeadaptmember( typeadapt_member_t * nodeadp, void * node )
Converts a pointer to a struct member to the object which contains it.
struct typeadapt_object_t * memberasobject_typeadaptnodeoffset( const typeadapt_nodeoffset_t nodeoff, void * node )
See mm_impl_t.mfree_mmimpl for an implementation.
int ( * mfree ) (struct mm_t * mman, struct memblock_t * memblock)
Calls mm->iimpl->mfree with mm->object as first parameter.
int mfree_mm( mm_t mm, struct memblock_t * memblock )
Frees the memory of an allocated memory block.
int mfree_mmimpl( mm_impl_t * mman, struct memblock_t * memblock )
Frees the memory of an allocated memory block.
int mfree_testmm( testmm_t * mman, struct memblock_t * memblock )
Declares an interface function table for accessing a memory manager service.
void mm_it_DECLARE( TYPENAME declared_it, TYPENAME memorymanager_t )
Returns the installed testmm_t memory manager or 0.
testmm_t * mmcontext_testmm( void )
Computes lbig modulo rbig.
int mod_bigint( bigint_t *restrict * result, const bigint_t * lbig, const bigint_t * rbig )
Grows an already mapped virtual memory block.
int movexpand_vmpage( vmpage_t * vmpage, size_t size_in_bytes )
See mm_impl_t.mresize_mmimpl for an implementation.
int ( * mresize ) (struct mm_t * mman, size_t newsize, struct memblock_t * memblock)
Calls mm->iimpl->mresize with mm->object as first parameter.
int mresize_mm( mm_t mm, size_t newsize, struct memblock_t * memblock )
Allocates new memory or resizes already allocated memory.
int mresize_mmimpl( mm_impl_t * mman, size_t newsize, struct memblock_t * memblock )
Allocates new or resizes already allocated memory block.
int mresize_testmm( testmm_t * mman, size_t newsize, struct memblock_t * memblock )
Multiplies two big integers and returns the result.
int mult_bigint( bigint_t *restrict * result, const bigint_t * lbig, const bigint_t * rbig )
Multiplies two numbers with the simple schoolbook algorithm.
static void mult_biginthelper( bigint_t * big, uint16_t lnrdigits, const uint32_t * ldigits, uint16_t rnrdigits, const uint32_t * rdigits, const uint16_t exponent )
Multiplies the two last parameters and returns the product in the first.
int mult_decimal( decimal_t *restrict * result, const decimal_t * ldec, const decimal_t * rdec )
Multiplies two decimal numbers and returns the positive result.
static void mult_decimalhelper( decimal_t * dec, uint8_t lsize, const uint32_t * ldigits, uint8_t rsize, const uint32_t * rdigits, int16_t exponent )
Multiplies two big integer numbers and returns the positive result.
static int multsplit_biginthelper( bigint_t *restrict * result, uint16_t lnrdigits, const uint32_t * ldigits, uint16_t rnrdigits, const uint32_t * rdigits )
Multiplies two decimal numbers and returns the positive result.
static int multsplit_decimalhelper( decimal_t * restrict * result, uint8_t lsize, const uint32_t * ldigits, uint8_t rsize, const uint32_t * rdigits )
Multiplies the big integer with a 32 bit unsigned int.
int multui32_bigint( bigint_t *restrict * result, const bigint_t * lbig, const uint32_t factor )