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