SYMBOL INDEX (558 symbols across 110 files) FILE: tinyarc4.hpp function tinyARC4 (line 7) | static FILE: tinyassert.c function break_handler_ (line 36) | static void break_handler_(int signum) { signal(SIGTRAP, SIG_DFL); } function main (line 64) | int main() { FILE: tinyatoi.c function tinyatoi (line 4) | static FILE: tinybenchmark.hpp type bench (line 6) | struct bench { FILE: tinybsearch.c function bsearchint (line 6) | unsigned bsearchint( const int *array, int numelems, int key ) { function bsearchsz (line 16) | unsigned bsearchsz( const size_t *array, int numelems, size_t key ) { function bsearchstr (line 26) | unsigned bsearchstr( const char **array, int numelems, const char *key ) { FILE: tinybsearch.cc function bsearch (line 5) | unsigned bsearch( const T &x, const container &v ) { FILE: tinydefer.cc type defer (line 6) | struct defer { FILE: tinydir.cc function tinydir (line 13) | bool tinydir( const char *directory, const FN &yield ) { FILE: tinydixy.c function tinydixy (line 13) | int tinydixy( const char *s, int (*yield)(const char *key, const char *v... FILE: tinyendian.c function swap16 (line 6) | static uint16_t swap16( uint16_t x ) { return (x << 8) | (x >> 8); } function swap32 (line 7) | static uint32_t swap32( uint32_t x ) { return (x << 24) | (x >> 24) | ((... function swap64 (line 8) | static uint64_t swap64( uint64_t x ) { return (x << 56) | (x >> 56) | ((... function tobe16 (line 9) | static uint16_t tobe16( uint16_t x ) { return IS_BIG_ENDIAN ? x : swap16... function tobe32 (line 10) | static uint32_t tobe32( uint32_t x ) { return IS_BIG_ENDIAN ? x : swap32... function tobe64 (line 11) | static uint64_t tobe64( uint64_t x ) { return IS_BIG_ENDIAN ? x : swap64... function tole16 (line 12) | static uint16_t tole16( uint16_t x ) { return IS_BIG_ENDIAN ? swap16(x) ... function tole32 (line 13) | static uint32_t tole32( uint32_t x ) { return IS_BIG_ENDIAN ? swap32(x) ... function tole64 (line 14) | static uint64_t tole64( uint64_t x ) { return IS_BIG_ENDIAN ? swap64(x) ... FILE: tinyerror.c function derefence (line 31) | int derefence(int *ptr) { function main (line 38) | int main(int arg, char **argv) { FILE: tinygc.cc function gc_mark_stack (line 32) | static void gc_mark_stack(void) { function gc_mark (line 46) | static void gc_mark() { // mark reachable stack pointers function gc_sweep (line 52) | static void gc_sweep() { // sweep unreachable stack pointers function gc_init (line 79) | void gc_init(void *argc, int MiB) { function gc_run (line 83) | void gc_run() { function gc_stop (line 87) | void gc_stop() { FILE: tinyhexbase.c function hexbasenl (line 13) | static inline function hexbase (line 28) | static inline FILE: tinyhexdump.c function hexdump (line 4) | void hexdump( FILE *fp, const void *ptr, unsigned len, int width ) { FILE: tinyhuman.hpp function humanize (line 8) | inline std::string humanize( uint64_t num, const char *suffix = " " ) { function dehumanize (line 19) | inline uint64_t dehumanize( const std::string &str ) { FILE: tinyini.c function ini_cb (line 68) | static void ini_cb( const char *text, void (*yield)( const char *key, co... FILE: tinyjson5.c type json5_type (line 27) | typedef enum json5_type { type json5 (line 38) | typedef struct json5 { function vsize (line 68) | size_t vsize( void *p ) { function json5_free (line 326) | void json5_free(json5 *root) { function json5_write (line 344) | void json5_write(FILE *fp, const json5 *o) { function main (line 402) | int main() { function main (line 438) | int main() { FILE: tinylogger.h function main (line 61) | int main() { FILE: tinylogger.hpp type logger (line 6) | struct logger { method logger (line 7) | logger() { method logger (line 13) | logger() { type logger (line 12) | struct logger { method logger (line 7) | logger() { method logger (line 13) | logger() { FILE: tinymatch.c function match (line 4) | static int match( const char *pattern, const char *str ) { FILE: tinypipe.hpp function copy (line 9) | void copy( T &s, const istream &is ) { function pipe (line 19) | bool pipe( const istream &is, ostream &os, const std::vector< int (*)(co... FILE: tinyprint.cc type print (line 4) | struct print { method print (line 8) | print& operator,( const T &t ) { FILE: tinypulse.c function pulse (line 4) | void pulse( int *state ) { FILE: tinyroman.cc function romanize (line 5) | std::string romanize( int i ) { FILE: tinystring.c function stristmp (line 25) | int stristmp(const char *s) { // is_va() FILE: tinystring.cc function tokenize (line 9) | std::deque< std::string > tokenize( const std::string &self, const char ... function split (line 21) | std::deque< std::string > split( const std::string &self, const std::str... function left_of (line 33) | std::string left_of( const std::string &substring, const std::string &se... function right_of (line 38) | std::string right_of( const std::string &substring, const std::string &s... function replace_one (line 43) | std::string replace_one( const std::string &self, const std::string &tar... function replace_all (line 49) | std::string replace_all( const std::string &self, const std::string &tar... FILE: tinytga.c function tinytga (line 4) | static void tinytga(FILE *fp, void *rgba, int width, int height, int num... FILE: tinytime.cc function now (line 8) | double now() { function bench (line 17) | double bench( void (*fn)() ) { function sleep (line 21) | void sleep( double secs ) { FILE: tinytodo.c function TODO (line 7) | static inline int TODO(const char *DT) { return FILE: tinytty.c function tty256 (line 17) | void tty256( unsigned char r, unsigned char g, unsigned char b ) { function tty (line 26) | void tty( const char *txt ) { FILE: tinyuniso.cc function tinyuniso (line 10) | bool tinyuniso( istream &is, const FN &yield ) { FILE: tinyunit.c function summary (line 7) | static void summary(void){ suite("summary"){ printf("[%s] %d tests = %d ... FILE: tinyuntar.cc function tinyuntar (line 8) | bool tinyuntar( istream &is, const FN &yield ) { FILE: tinyunzip.cc function tinyunzip (line 14) | bool tinyunzip( istream &is, const FN &yield ) { FILE: tinyvariant.cc type var (line 5) | struct var { method var (line 14) | var() : type(0), integer(0) method var (line 17) | var( const int &i ) : type(0), integer(i) method var (line 20) | var( const double &r ) : type(1), real(r) method var (line 23) | var( const std::string &r ) : type(2), string( new std::string(r) ) method var (line 27) | var( const char (&s)[N]) : type(2), string( new std::string(s) ) method var (line 31) | var( const T &fn ) : type(3), callback( new std::function(fn) ) method var (line 34) | var( const var &other ) { method cleanup (line 42) | void cleanup() { method var (line 48) | var &operator=( const var &other ) { method friend (line 65) | inline friend ostream &operator <<( ostream &os, const var &self ) { function is (line 74) | inline bool is(const var &v) { return false; } function T (line 80) | inline const T& cast(const var &v) { static T t; return t = T(); } FILE: tinyvbyte.h function vbuencode (line 8) | static uint64_t vbuencode( uint8_t *buffer, uint64_t value ) { function vbudecode (line 18) | static uint64_t vbudecode( uint64_t *value, const uint8_t *buffer ) { function vbiencode (line 29) | static uint64_t vbiencode( uint8_t *buffer, int64_t value ) { function vbidecode (line 35) | static uint64_t vbidecode( int64_t *value, const uint8_t *buffer ) { FILE: tinywav.c function tinywav (line 4) | static void tinywav(FILE *fp, short numChannels, short bitsPerSample, in... FILE: tinyzlib.cpp function tinyzlib (line 4) | static bool tinyzlib(void *out, unsigned outlen, const void *in, unsigne... FILE: vault/_test.c function main (line 7) | int main() FILE: vault/bin_dbkv.c type KISSDB (line 152) | typedef struct { type KISSDB_Iterator (line 229) | typedef struct { function KISSDB_hash (line 265) | static uint64_t KISSDB_hash(const void *b,unsigned long len) function KISSDB_open (line 274) | static int KISSDB_open( function KISSDB_close (line 382) | static void KISSDB_close(KISSDB *db) function KISSDB_get (line 391) | static int KISSDB_get(KISSDB *db,const void *key,void *vbuf) function KISSDB_put (line 431) | static int KISSDB_put(KISSDB *db,const void *key,const void *value) function KISSDB_Iterator_init (line 536) | static void KISSDB_Iterator_init(KISSDB *db,KISSDB_Iterator *dbi) function KISSDB_Iterator_next (line 543) | static int KISSDB_Iterator_next(KISSDB_Iterator *dbi,void *kbuf,void *vbuf) function main (line 585) | int main(int argc,char **argv) function dbkv_read (line 737) | bool dbkv_read( const char *dbfile, const char *keystr, char *val ) { function dbkv_write (line 751) | bool dbkv_write( const char *dbfile, const char *keystr, const char *val... function main (line 768) | int main( int argc, char **argv ) { FILE: vault/bin_json5.c type json5_type (line 23) | typedef enum json5_type { type json5 (line 34) | typedef struct json5 { function json5_free (line 282) | void json5_free(json5 *root) { function json5_write (line 300) | void json5_write(FILE *fp, const json5 *o) { function main (line 364) | int main() { function main (line 400) | int main() { FILE: vault/buf_arc4.c function main (line 36) | int main( int argc, char **argv ) { FILE: vault/buf_base64.c function base64_bounds (line 24) | unsigned base64_bounds(unsigned size) { function base64_encode (line 28) | unsigned base64_encode(const void *in_, unsigned inlen, void *out_, unsi... function base64_decode (line 59) | unsigned base64_decode(const void *in_, unsigned inlen, void *out_, unsi... FILE: vault/buf_base92.c function base92_bounds (line 21) | unsigned base92_bounds(unsigned inlen) { function base92_encode (line 28) | unsigned base92_encode(const void* in, unsigned inlen, void *out, unsign... function base92_decode (line 103) | unsigned base92_decode(const void* in, unsigned size, void *out, unsigne... FILE: vault/buf_cobs.c function cobs_bounds (line 29) | unsigned cobs_bounds( unsigned len ) { function cobs_encode (line 32) | unsigned cobs_encode(const void *in, unsigned inlen, void *out, unsigned... function cobs_decode (line 60) | unsigned cobs_decode(const void *in, unsigned inlen, void *out, unsigned... function test (line 92) | void test( const char *buffer, int buflen ) { function main (line 105) | int main() { FILE: vault/buf_crc.c function crc32 (line 9) | unsigned crc32(unsigned h, const void *ptr_, unsigned len) { function crc64 (line 20) | uint64_t crc64(uint64_t h, const void *ptr, uint64_t len) { FILE: vault/buf_endian.c function bswap16 (line 7) | static uint16_t bswap16( uint16_t x ) { function bswap32 (line 10) | static uint32_t bswap32( uint32_t x ) { function bswap64 (line 14) | static uint64_t bswap64( uint64_t x ) { function is_big (line 19) | static int is_big() { function is_little (line 22) | static int is_little() { FILE: vault/buf_interleave.c function test (line 37) | void test( const char *name, int interleaving, int deinterleaving, const... function main (line 50) | int main() { FILE: vault/buf_netstring.c function netstring_bounds (line 13) | unsigned netstring_bounds(unsigned inlen) { function netstring_encode (line 16) | unsigned netstring_encode(const char *in, unsigned inlen, char *out, uns... function netstring_decode (line 21) | unsigned netstring_decode(const char *in, unsigned inlen, char *out, uns... function main (line 33) | int main() { FILE: vault/buf_pack.c function loadb_ (line 78) | int loadb_(const uint8_t *buf, const char *fmt, va_list ap) { function saveb_ (line 208) | int saveb_(uint8_t *buf, const char *fmt, va_list ap) { function saveb (line 314) | int saveb(uint8_t *buf, const char *fmt, ...) { function loadb (line 321) | int loadb(const uint8_t *buf, const char *fmt, ...) { function savef (line 329) | int savef(FILE *fp, const char *fmt, ...) { function loadf (line 345) | int loadf(FILE *fp, const char *fmt, ...) { type bootsector (line 364) | typedef struct bootsector { function main (line 380) | int main() { FILE: vault/buf_pack754.h function pack754 (line 28) | static function unpack754 (line 63) | static function pack754 (line 95) | static uint64_t pack754(long double f, unsigned bits, unsigned expbits) { function unpack754 (line 132) | static long double unpack754(uint64_t i, unsigned bits, unsigned expbits) { FILE: vault/buf_packhalf.h type half (line 6) | typedef uint16_t half; function half_to_float (line 15) | float half_to_float(half value) { function half (line 54) | half float_to_half(float value) { FILE: vault/buf_packint.h function pack16i (line 11) | static void pack16i(uint8_t *buf, uint16_t i, int swap) { function pack32i (line 16) | static void pack32i(uint8_t *buf, uint32_t i, int swap) { function pack64i (line 21) | static void pack64i(uint8_t *buf, uint64_t i, int swap) { function unpack16i (line 31) | static int16_t unpack16i(const uint8_t *buf, int swap) { function unpack32i (line 38) | static int32_t unpack32i(const uint8_t *buf, int swap) { function unpack64i (line 45) | static int64_t unpack64i(const uint8_t *buf, int swap) { FILE: vault/buf_packvli.h function pack64uv (line 44) | static uint64_t pack64uv( uint8_t *buffer, uint64_t value ) { function unpack64uv (line 58) | static uint64_t unpack64uv( const uint8_t *buffer, uint64_t *value ) { function pack64iv (line 84) | static uint64_t pack64iv( uint8_t *buffer, int64_t value_ ) { function unpack64iv (line 89) | static uint64_t unpack64iv( const uint8_t *buffer, int64_t *value ) { function pack_LEB128 (line 102) | static uint64_t pack_LEB128( uint8_t *buffer, int64_t value_ ) { function unpack_LEB128 (line 116) | static uint64_t unpack_LEB128( const uint8_t *buffer, int64_t *value ) { function main (line 134) | int main() { FILE: vault/buf_zigzag.c function zig64 (line 18) | uint64_t zig64( int64_t value ) { // convert sign|magnitude to magnitude... function zag64 (line 21) | int64_t zag64( uint64_t value ) { // convert magnitude|sign to sign|magn... function main (line 27) | int main() { FILE: vault/c_benchmark.c function main (line 23) | int main() { FILE: vault/c_ifdef.c function main (line 258) | int main() { FILE: vault/c_incbin.h function main (line 48) | int main(int argc, char **argv) { FILE: vault/ds_alloc.c function vlen (line 59) | size_t vlen( void* p ) { function xlen (line 79) | size_t xlen(void* p) { FILE: vault/ds_format.c function is_va (line 35) | int is_va(const char *s) { function main (line 78) | int main() { FILE: vault/ds_hash.c function hash32 (line 37) | uint32_t hash32(uint32_t x) { function unhash32 (line 44) | uint32_t unhash32(uint32_t x) { function hash64 (line 51) | uint64_t hash64(uint64_t x) { function unhash64 (line 65) | uint64_t unhash64(uint64_t x) { function hash_triple32 (line 74) | uint64_t hash_triple32(uint32_t x) { function hash_untriple32 (line 86) | uint64_t hash_untriple32(uint32_t x) { function hash_mix64 (line 97) | uint64_t hash_mix64(uint64_t key) { function hash_int (line 110) | uint64_t hash_int(int key) { function hash_u64 (line 117) | uint64_t hash_u64(uint64_t key) { function hash_ptr (line 124) | uint64_t hash_ptr(const void *ptr) { function hash_flt (line 129) | uint64_t hash_flt(double dbl) { function hash_vec2 (line 134) | uint64_t hash_vec2(const float v2[2]) { function hash_vec3 (line 138) | uint64_t hash_vec3(const float v3[3]) { function hash_vec4 (line 142) | uint64_t hash_vec4(const float v4[4]) { function hash_str (line 146) | uint64_t hash_str(const char* str) { function main (line 157) | int main() { FILE: vault/ds_map.c type pair (line 83) | typedef struct pair { type map (line 92) | typedef struct map { function map_get_index (line 124) | static int map_get_index(uint64_t hkey1) { function map_benchmark (line 241) | void map_benchmark() { function map_tests (line 325) | void map_tests() { function map_tests2 (line 378) | void map_tests2() { function map_benchmark2 (line 413) | void map_benchmark2() { function main (line 440) | int main() { FILE: vault/ds_quark.c type quark (line 7) | typedef unsigned quark; type quark_dictionary (line 24) | typedef struct quark_dictionary { function quark (line 33) | quark (quark_intern)(char *s) { function quark_len (line 44) | int quark_len(quark q) { function quark_hash (line 47) | int quark_hash(quark q) { function quark_cmp (line 50) | int quark_cmp(quark q1, quark q2) { FILE: vault/ds_rope.c type rope (line 4) | typedef struct rope rope; type rope (line 20) | struct rope { function rope_init (line 29) | void rope_init( rope *s, int reserve, float grow ) { function rope_append (line 35) | void rope_append( rope *s, const char *buf, int len ) { function rope_dump (line 53) | void rope_dump( rope *s ) { function rope_len (line 60) | int rope_len( rope *s ) { function main (line 69) | int main() { FILE: vault/ds_set.c type set_item (line 83) | typedef struct set_item { type set (line 91) | typedef struct set { function set_get_index (line 123) | static int set_get_index(uint64_t hkey1) { function set_tests (line 235) | void set_tests() { function set_tests2 (line 288) | void set_tests2() { function set_benchmark (line 319) | void set_benchmark() { function main (line 346) | int main() { FILE: vault/ds_sort.c function sort_int (line 49) | int sort_int(int a, int b) { function sort_u64 (line 52) | int sort_u64(uint64_t a, uint64_t b) { function sort_ptr (line 55) | int sort_ptr(void *a, void *b) { function sort_str (line 58) | int sort_str(const char *a, const char *b) { function sort_int_qs2 (line 70) | int sort_int_qs2(const void *a, const void *b) { return sort_int_qs(*(c... function sort_uns_qs2 (line 71) | int sort_uns_qs2(const void *a, const void *b) { return sort_uns_qs(*(c... function sort_i16_qs2 (line 72) | int sort_i16_qs2(const void *a, const void *b) { return sort_i16_qs(*(c... function sort_u16_qs2 (line 73) | int sort_u16_qs2(const void *a, const void *b) { return sort_u16_qs(*(c... function sort_i32_qs2 (line 74) | int sort_i32_qs2(const void *a, const void *b) { return sort_i32_qs(*(c... function sort_u32_qs2 (line 75) | int sort_u32_qs2(const void *a, const void *b) { return sort_u32_qs(*(c... function sort_f32_qs2 (line 76) | int sort_f32_qs2(const void *a, const void *b) { return sort_f32_qs(*(c... function sort_i64_qs2 (line 77) | int sort_i64_qs2(const void *a, const void *b) { return sort_i64_qs(*(c... function sort_u64_qs2 (line 78) | int sort_u64_qs2(const void *a, const void *b) { return sort_u64_qs(*(c... function sort_f64_qs2 (line 79) | int sort_f64_qs2(const void *a, const void *b) { return sort_f64_qs(*(c... function sort_ptr_qs2 (line 80) | int sort_ptr_qs2(const void *a, const void *b) { return sort_ptr_qs(*(c... function sort_str_qs2 (line 81) | int sort_str_qs2(const void *a, const void *b) { return sort_str_qs(*(c... function sort_stri_qs2 (line 82) | int sort_stri_qs2(const void *a,const void *b) { return sort_stri_qs(*(c... function sort_stra_qs2 (line 83) | int sort_stra_qs2(const void *a,const void *b) { return sort_stra_qs(*(c... function sort_int_qs (line 87) | int sort_int_qs(const void *a, const void *b) { return ( *(( int*)a... function sort_uns_qs (line 88) | int sort_uns_qs(const void *a, const void *b) { return ( *(( unsigned*)a... function sort_i16_qs (line 89) | int sort_i16_qs(const void *a, const void *b) { return ( *(( int16_t*)a... function sort_u16_qs (line 90) | int sort_u16_qs(const void *a, const void *b) { return ( *(( uint16_t*)a... function sort_i32_qs (line 91) | int sort_i32_qs(const void *a, const void *b) { return ( *(( int32_t*)a... function sort_u32_qs (line 92) | int sort_u32_qs(const void *a, const void *b) { return ( *(( uint32_t*)a... function sort_f32_qs (line 93) | int sort_f32_qs(const void *p, const void *q) { const float*a = (con... function sort_i64_qs (line 94) | int sort_i64_qs(const void *p, const void *q) { const int64_t*a = (con... function sort_u64_qs (line 95) | int sort_u64_qs(const void *p, const void *q) { const uint64_t*a = (con... function sort_f64_qs (line 96) | int sort_f64_qs(const void *p, const void *q) { const double*a = (con... function sort_ptr_qs (line 97) | int sort_ptr_qs(const void *p, const void *q) { const uintptr_t*a = (con... function sort_str_qs (line 99) | int sort_str_qs(const void *a, const void *b) { // str function sort_stri_qs (line 104) | int sort_stri_qs(const void *a, const void *b) { // str function sort_stra_qs (line 114) | int sort_stra_qs(const void *a, const void *b) { // str function sort__alphanum (line 122) | int sort__alphanum(const char *l, const char *r) { function main (line 202) | int main() { FILE: vault/ds_stream.c type FILE (line 21) | typedef FILE STREAM_FILE; type STREAM (line 65) | typedef struct STREAM STREAM; function nil_open (line 102) | static int nil_open(STREAM *s, const char *spec, va_list vl) { return 0; } function nil_read (line 103) | static int nil_read(STREAM *s, void *ptr, int sz) { return sz; } function nil_write (line 104) | static int nil_write(STREAM *s, const void *ptr, int sz) { return sz; } function nil_seek (line 105) | static int nil_seek(STREAM *s, int offs, int mode) { return 0; } function nil_tell (line 106) | static int nil_tell(STREAM *s) { return 0; } function nil_sync (line 107) | static int nil_sync(STREAM *s) { return 0; } function nil_close (line 108) | static int nil_close(STREAM *s) { return 0; } type file (line 112) | typedef struct file { function file_open (line 122) | static int file_open(STREAM *s, const char *spec, va_list vl) { function file_read_ (line 126) | static int file_read_(STREAM *s, void *ptr, int sz) { function file_write_ (line 130) | static int file_write_(STREAM *s, const void *ptr, int sz) { function file_seek (line 134) | static int file_seek(STREAM *s, int offs, int mode) { function file_tell (line 138) | static int file_tell(STREAM *s) { function file_sync (line 142) | static int file_sync(STREAM *s) { function file_close (line 146) | static int file_close(STREAM *s) { function file_access (line 150) | static int file_access( const char *filename ) { type membuffer (line 164) | typedef struct membuffer { type ramdisk (line 171) | typedef struct ramdisk { function ramdisk (line 177) | ramdisk *ramnew(void) { function ramdisk (line 182) | ramdisk *ramfind(const char *filename) { function mem_open (line 189) | static int mem_open(STREAM *s, const char *spec, va_list vl) { function mem_read (line 221) | static int mem_read(STREAM *s, void *ptr, int sz) { function round_next_pow2 (line 232) | static unsigned round_next_pow2(unsigned v) { function mem_write (line 244) | static int mem_write(STREAM *s, const void *ptr, int sz) { function mem_seek (line 269) | static int mem_seek(STREAM *s, int offs, int mode) { function mem_tell (line 283) | static int mem_tell(STREAM *s) { function mem_sync (line 288) | static int mem_sync(STREAM *s) { function mem_close (line 293) | static int mem_close(STREAM *s) { type STREAM (line 315) | typedef struct STREAM { function stream_make (line 338) | int stream_make( function STREAM (line 362) | STREAM *stream_open(const char *spec, ...) { function stream_pipe (line 393) | int stream_pipe(STREAM *self, int(*pipe)(void*,int)) { function read_loop (line 399) | static function write_loop (line 419) | static function stream_read (line 439) | int stream_read(STREAM *self, void *ptr, int sz) { function stream_puts (line 451) | int stream_puts(STREAM *self, const void *ptr, int sz) { function stream_seek (line 463) | int stream_seek(STREAM *self, int offs, int mode) { function stream_tell (line 473) | int stream_tell(STREAM *self) { function stream_sync (line 484) | int stream_sync(STREAM *self) { function stream_shut (line 493) | int stream_shut(STREAM *self) { function stream_link (line 504) | int stream_link(STREAM *self, STREAM *other) { FILE: vault/ds_string.c function strsplit (line 68) | array(char*) strsplit(const char *text_, const char *delimiters) { function strsplit2 (line 131) | array(char*) strsplit2(const char *str, const char *separator) { // @tod... function streq (line 165) | int streq( const char *string, const char *substr ) { function streqi (line 168) | int streqi( const char *string, const char *substr ) { function strhead (line 193) | int strhead( const char *str, const char *substr ) { function strtail (line 197) | int strtail( const char *s, const char *e ) { function strmatch (line 289) | int strmatch(const char *s, const char *wildcard) { function strhash (line 296) | uint64_t strhash( const char *s ) { // for convenience. wrapper over ori... function strutf8 (line 302) | array(uint32_t) strutf8( const char *utf8 ) { function strchop (line 336) | int strchop(const char *src, const char *substr, char **left, char **rig... function main (line 358) | int main() { FILE: vault/net_ecdh.h type bitvec_t (line 231) | typedef bitvec_t gf2elem_t; type bitvec_t (line 232) | typedef bitvec_t scalar_t; function bitvec_get_bit (line 359) | static int bitvec_get_bit(const bitvec_t x, const uint32_t idx) function bitvec_clr_bit (line 364) | static void bitvec_clr_bit(bitvec_t x, const uint32_t idx) function bitvec_copy (line 369) | static void bitvec_copy(bitvec_t x, const bitvec_t y) function bitvec_swap (line 378) | static void bitvec_swap(bitvec_t x, bitvec_t y) function bitvec_equal (line 388) | static int bitvec_equal(const bitvec_t x, const bitvec_t y) function bitvec_equal (line 402) | static int bitvec_equal(const bitvec_t x, const bitvec_t y) function bitvec_set_zero (line 414) | static void bitvec_set_zero(bitvec_t x) function bitvec_is_zero (line 425) | static int bitvec_is_zero(const bitvec_t x) function bitvec_is_zero (line 440) | static int bitvec_is_zero(const bitvec_t x) function bitvec_degree (line 453) | static int bitvec_degree(const bitvec_t x) function bitvec_lshift (line 480) | static void bitvec_lshift(bitvec_t x, const bitvec_t y, int nbits) function gf2field_set_one (line 522) | static void gf2field_set_one(gf2elem_t x) function gf2field_is_one (line 536) | static int gf2field_is_one(const gf2elem_t x) function gf2field_is_one (line 556) | static int gf2field_is_one(const gf2elem_t x) function gf2field_add (line 576) | static void gf2field_add(gf2elem_t z, const gf2elem_t x, const gf2elem_t y) function gf2field_inc (line 586) | static void gf2field_inc(gf2elem_t x) function gf2field_mul (line 593) | static void gf2field_mul(gf2elem_t z, const gf2elem_t x, const gf2elem_t y) function gf2field_inv (line 648) | static void gf2field_inv(gf2elem_t z, const gf2elem_t x) function gf2point_copy (line 694) | static void gf2point_copy(gf2elem_t x1, gf2elem_t y1, const gf2elem_t x2... function gf2point_set_zero (line 700) | static void gf2point_set_zero(gf2elem_t x, gf2elem_t y) function gf2point_is_zero (line 706) | static int gf2point_is_zero(const gf2elem_t x, const gf2elem_t y) function gf2point_double (line 713) | static void gf2point_double(gf2elem_t x, gf2elem_t y) function gf2point_add (line 740) | static void gf2point_add(gf2elem_t x1, gf2elem_t y1, const gf2elem_t x2,... function gf2point_mul (line 790) | static void gf2point_mul(gf2elem_t x, gf2elem_t y, const scalar_t exp) function gf2point_mul (line 810) | static void gf2point_mul(gf2elem_t x, gf2elem_t y, const scalar_t exp) function gf2point_on_curve (line 842) | static int gf2point_on_curve(const gf2elem_t x, const gf2elem_t y) function ecdh_generate_keys (line 878) | int ecdh_generate_keys(uint8_t* public_key, const uint8_t* private_key) function ecdh_shared_secret (line 908) | int ecdh_shared_secret(const uint8_t* private_key, const uint8_t* others... function ecdsa_sign (line 944) | int ecdsa_sign(const uint8_t* private_key, uint8_t* hash, uint8_t* rando... function ecdsa_verify (line 1022) | int ecdsa_verify(const uint8_t* public_key, uint8_t* hash, const uint8_t... FILE: vault/net_fragment.c type fragment_header (line 33) | typedef struct fragment_header { function fragment_num (line 41) | int fragment_num(int msglen) { function fragment_sizeof (line 44) | int fragment_sizeof(int fragment_seq, int msglen) { type fragment_header (line 60) | struct fragment_header function fragment_verify (line 70) | int fragment_verify(array(char*) fragments) { function main (line 108) | int main() { FILE: vault/net_tunnel.c function handshake_server (line 7) | void handshake_server(const char *port) { function handshake_client (line 10) | void handshake_client(const char *address, const char *port) { FILE: vault/net_webserver.c function nweb23 (line 82) | static function webserver (line 182) | int webserver(int port, const char *path) { function main (line 215) | int main() { FILE: vault/os.c function main (line 131) | int main() { function my_quit (line 134) | void my_quit(void) { FILE: vault/os_ansi.c function os_columns (line 20) | int os_columns(void) { function os_ansi (line 38) | void os_ansi(void) { function os_beep (line 51) | void os_beep(void) { function os_reset (line 55) | void os_reset(void) { function os_color (line 78) | void os_color(uint8_t r, uint8_t g, uint8_t b) { FILE: vault/os_breakpoint.c function os_breakpoint (line 7) | void os_breakpoint() { function main (line 19) | int main() { FILE: vault/os_cpu.c function ULONGLONG (line 10) | static ULONGLONG cpu_diff_time_(const FILETIME one, const FILETIME two) { function cpu_usage (line 30) | double cpu_usage(void) { function cpu_cores (line 65) | int cpu_cores(void) { function cpu_pid (line 105) | int cpu_pid(void) { function main (line 115) | int main() { FILE: vault/os_date.c function date_base10 (line 27) | static uint64_t date_base10(int64_t unixstamp) { function today_ust (line 73) | uint64_t today_ust() { function today_gmt (line 77) | uint64_t today_gmt() { function date (line 88) | uint64_t date() { function main (line 116) | int main() { FILE: vault/os_dialog.c function wchar_t (line 22) | wchar_t *dialog_widen(wchar_t *buf, int sz, const char *utf8) { // wide ... function os_dialog (line 32) | int os_dialog( int buttons, const char *title, const char *message ) { function main (line 70) | int main() { FILE: vault/os_die.c function main (line 50) | int main() { FILE: vault/os_entropy.c function os_entropy_ (line 14) | void os_entropy_( void *buf, unsigned n ) { function os_entropy_ (line 28) | void os_entropy_( void *buf, unsigned n ) { function prng_next (line 52) | static uint32_t prng_next(void) { function os_entropy_ (line 73) | void os_entropy_( void *buf, unsigned n ) { function os_entropy (line 87) | void os_entropy(void *buf, unsigned n) { function main (line 105) | int main() { FILE: vault/os_env.c function env_free (line 127) | uint64_t env_free() { function main (line 169) | int main() { FILE: vault/os_file.c function munmap (line 113) | static void munmap(void* addr, size_t length) { function wchar_t (line 125) | wchar_t *file_widen(const char *utf8) { // wide strings (windows only) function file_unmap (line 162) | void file_unmap( char *buf, size_t len ) { type maplen (line 167) | struct maplen { char *map; int len; } type maplen (line 170) | struct maplen function file_size (line 178) | int file_size( const char *pathfile ) { function file_stamp (line 193) | int file_stamp( const char *pathfile ) { function file_exist (line 199) | bool file_exist( const char *pathfile ) { function file_isdir (line 205) | bool file_isdir( const char *pathfile ) { function file_isfile (line 209) | bool file_isfile( const char *pathfile ) { function file_islink (line 213) | bool file_islink( const char *pathfile ) { function file_exact (line 223) | bool file_exact(const char *fname1, const char *fname2) { function file_write (line 267) | bool file_write(const char *pathfile, const void *data, int len) { function file_append (line 275) | bool file_append(const char *pathfile, const void *data, int len) { function file_touch (line 283) | bool file_touch( const char *pathfile, size_t modtime ) { function file_copy (line 295) | bool file_copy( const char *pathsrc, const char *pathdst ) { function file_delete (line 319) | bool file_delete( const char *path ) { function file_checksum (line 354) | uint64_t file_checksum( const char *pathfile ) { function file_stat (line 361) | bool file_stat( const char *uri, struct stat *out_info ) { function main (line 377) | int main() { FILE: vault/os_icon.c function HICON (line 12) | static HICON os_load_ico( const char *ico_pathfile ) { function os_icon (line 25) | void os_icon(const char *pathfile_ico) { function os_icon (line 38) | void os_icon(const char *) { function main (line 44) | int main() { FILE: vault/os_ini.c function main (line 63) | int main() { FILE: vault/os_locale.c function os_locale (line 7) | void os_locale(void) { FILE: vault/os_logger2.c type tm (line 27) | struct tm function log_create (line 38) | void log_create( FILE *fp, int bufsz ) { function log_puts (line 51) | int log_puts( const char *msg, ... ) { function main (line 65) | int main() { FILE: vault/os_logger3.c function main (line 71) | int main() { FILE: vault/os_mime.c type type (line 12) | struct type { function main (line 138) | int main( int argc, const char **argv ) { FILE: vault/os_singleton.c function os_singleton__quit (line 18) | void os_singleton__quit(void) { function os_singleton (line 25) | bool os_singleton(const char *guid) { function os_singleton (line 40) | bool os_singleton(const char *guid) { function main (line 48) | int main() { FILE: vault/os_test.c function unit (line 17) | int unit(const char *name) { function test (line 22) | int test(int expr) { function main (line 47) | int main() { FILE: vault/os_trap.c function os_signal_ (line 11) | void os_signal_(int handler) { function os_trap (line 30) | void os_trap( void(*handler)(int) ) { function os_crash (line 43) | void os_crash(void) { function main (line 49) | int main() { function catch_signal (line 87) | static void catch_signal( int sig ) { function catch_se (line 102) | static void _cdecl catch_se( unsigned int ex, EXCEPTION_POINTERS *p ) { function os_trap_fpe (line 118) | void os_trap_fpe() { function os_trap (line 127) | void os_trap(void) { // @todo: TRAP_C, TRAP_CPP, TRAP_FPE flags? function os_crash (line 180) | void os_crash(void) { function main (line 187) | int main() { FILE: vault/os_tray.c function LRESULT (line 19) | static LRESULT CALLBACK SystrayThreadProc(HWND hWnd, UINT Msg, WPARAM wP... function DWORD (line 56) | static DWORD CALLBACK SystrayThread(LPVOID arg) { function os_tray (line 73) | void os_tray( const char *tray_name, const char *tray_icon_pathfile ) { function os_tray (line 84) | void os_tray( const char *title, const char *icon ) function main (line 89) | int main() { FILE: vault/syn_atomic.c function atomic_set (line 33) | int64_t atomic_set( int64_t *ptr, const int value ) { function atomic_get (line 36) | int64_t atomic_get( int64_t *ptr ) { function atomic_inc (line 39) | int64_t atomic_inc( int64_t *ptr ) { function atomic_dec (line 42) | int64_t atomic_dec( int64_t *ptr ) { function main (line 49) | int main() { FILE: vault/syn_channel.c type channel (line 23) | typedef struct channel channel; type channel (line 40) | struct channel { function channel (line 52) | channel* channel_init(int valuesize) { function channel_quit (line 70) | void channel_quit(channel *chan) { function channel_send (line 78) | void channel_send(channel *chan, void *value) { function channel_recv (line 116) | int channel_recv(channel *chan, void *output) { function channel_wait (line 137) | int channel_wait(channel *chan, void *output, int ms) { function async_send (line 172) | void async_send( void *args ) { function main (line 178) | int main() { function pstate (line 197) | void pstate(channel *chan) { function precv (line 215) | void precv(channel *chan) { function main (line 225) | int main() { FILE: vault/syn_condv.c type condv (line 7) | typedef union condv { function condv_timedwait (line 68) | static int condv_timedwait( condv_t *c, mutex *m, int ms ) { function condv_init (line 92) | void condv_init( condv *c ) { function condv_quit (line 95) | void condv_quit( condv *c ) { function condv_emit (line 98) | void condv_emit( condv *c ) { function condv_wait (line 101) | void condv_wait( condv *c, void *m, int ms ) { function main (line 113) | int main() { FILE: vault/syn_coro.c type coroutine_t (line 5) | typedef struct coroutine_t { FILE: vault/syn_fiber.c function my_entry (line 145) | void my_entry(void) { function main (line 154) | int main() { FILE: vault/syn_fiber_amd64.h function co_init (line 72) | static void co_init() { function co_init (line 102) | static void co_init() { function crash (line 112) | static void crash() { function cothread_t (line 116) | cothread_t co_active() { function cothread_t (line 121) | cothread_t co_create(unsigned int size, void (*entrypoint)(void)) { function co_delete (line 141) | void co_delete(cothread_t handle) { function co_switch (line 145) | void co_switch(cothread_t handle) { FILE: vault/syn_fiber_arm.h function co_init (line 27) | static void co_init() { function cothread_t (line 36) | cothread_t co_active() { function cothread_t (line 41) | cothread_t co_create(unsigned int size, void (*entrypoint)(void)) { function co_delete (line 60) | void co_delete(cothread_t handle) { function co_switch (line 64) | __attribute__((target("arm"))) // @smibarber FILE: vault/syn_fiber_ppc.h function cothread_t (line 278) | cothread_t co_create(unsigned int size, void (*entry_)(void)) { function co_delete (line 328) | void co_delete(cothread_t t) { function co_init_ (line 332) | static void co_init_(void) { function cothread_t (line 352) | cothread_t co_active() { function co_switch (line 358) | void co_switch(cothread_t t) { FILE: vault/syn_fiber_sjlj.h type cothread_struct (line 16) | typedef struct { function springboard (line 26) | static void springboard(int ignored) { function cothread_t (line 32) | cothread_t co_active() { function cothread_t (line 37) | cothread_t co_create(unsigned int size, void (*coentry)(void)) { function co_delete (line 77) | void co_delete(cothread_t cothread) { function co_switch (line 86) | void co_switch(cothread_t cothread) { FILE: vault/syn_fiber_ucontext.h function cothread_t (line 26) | cothread_t co_active() { function cothread_t (line 31) | cothread_t co_create(unsigned int heapsize, void (*coentry)(void)) { function co_delete (line 47) | void co_delete(cothread_t cothread) { function co_switch (line 54) | void co_switch(cothread_t cothread) { FILE: vault/syn_fiber_win32.h function co_thunk (line 17) | static void __stdcall co_thunk(void* coentry) { function cothread_t (line 21) | cothread_t co_active() { function cothread_t (line 29) | cothread_t co_create(unsigned int heapsize, void (*coentry)(void)) { function co_delete (line 37) | void co_delete(cothread_t cothread) { function co_switch (line 41) | void co_switch(cothread_t cothread) { FILE: vault/syn_fiber_x86.h function co_init (line 46) | static void co_init() { function co_init (line 56) | static void co_init() { function crash (line 66) | static void crash() { function cothread_t (line 70) | cothread_t co_active() { function cothread_t (line 75) | cothread_t co_create(unsigned int size, void (*entrypoint)(void)) { function co_delete (line 95) | void co_delete(cothread_t handle) { function co_switch (line 99) | void co_switch(cothread_t handle) { FILE: vault/syn_mcmp.c type mcmp (line 8) | struct mcmp type mcmp (line 10) | struct mcmp type mcmp (line 11) | struct mcmp type mcmp (line 12) | struct mcmp type mcmp (line 13) | struct mcmp type mcmp_node (line 25) | struct mcmp_node { type mcmp (line 30) | struct mcmp { function mcmp_new (line 36) | int mcmp_new(struct mcmp *ctx) { function mcmp_del (line 46) | int mcmp_del(struct mcmp *ctx){ function mcmp_add (line 60) | int mcmp_add(struct mcmp *ctx, void * data) { type mcmp (line 78) | struct mcmp type mcmp_node (line 80) | struct mcmp_node function main (line 99) | int main() { FILE: vault/syn_mutex.c type mutex (line 8) | typedef union mutex mutex; function mutex_initial_ (line 56) | static void mutex_initial_(pthread_mutex_t *mutex) { function mutex_new (line 69) | void mutex_new(mutex *m) { function mutex_del (line 73) | void mutex_del(mutex *m) { function mutex_trylock (line 76) | bool mutex_trylock(mutex *m) { function mutex_acquire (line 79) | void mutex_acquire(mutex *m) { function mutex_release (line 82) | void mutex_release(mutex *m) { function main (line 91) | int main() { function main (line 111) | int main() { FILE: vault/syn_semaphore.c type semaphore (line 8) | typedef struct semaphore semaphore; type semaphore (line 22) | struct semaphore { function semaphore_init (line 28) | void semaphore_init( semaphore *s ) { function semaphore_wait (line 33) | void semaphore_wait( semaphore *s ) { function semaphore_emit (line 41) | void semaphore_emit( semaphore *s ) { function semaphore_quit (line 47) | void semaphore_quit( semaphore *s ) { function main (line 58) | int main() { FILE: vault/syn_sleep.c function sleep_ns (line 22) | void sleep_ns( double ns ) { function sleep_us (line 39) | void sleep_us( double us ) { function sleep_ms (line 42) | void sleep_ms( double ms ) { function sleep_ss (line 45) | void sleep_ss( double ss ) { FILE: vault/syn_thread.c function thread_self (line 57) | uint64_t thread_self() { function thread_yield (line 68) | void thread_yield() { function detach (line 78) | bool detach( void (*func)(void *), void *arg ) { function thread (line 81) | bool thread(int thread_id, void (*func)(void *), void *arg) { function join (line 84) | bool join(int thread_id) { type thread_args (line 89) | typedef struct thread_args { type thread_args (line 108) | struct thread_args type thread_args (line 108) | struct thread_args function detach (line 121) | bool detach( void (*func)(void *), void *arg ) { function thread (line 126) | bool thread(int thread_id, void (*func)(void *), void *arg) { function join (line 129) | bool join(int thread_id) { function write (line 153) | void write( void *arg ) { function main (line 156) | int main() { FILE: vault/syn_tls.c type tls (line 17) | struct tls { function tls_add_init (line 23) | void tls_add_init( void (*func)(void *arg), void *arg ) { function tls_add_quit (line 28) | void tls_add_quit( void (*func)(void *arg), void *arg ) { function tls_init (line 33) | void tls_init() { function tls_quit (line 38) | void tls_quit() { function myinit1 (line 65) | void myinit1(void *arg) { puts("hi1!"); } function myinit2 (line 66) | void myinit2(void *arg) { puts("hi2!"); } function myquit2 (line 67) | void myquit2(void *arg) { puts("bye2!"); } function myquit1 (line 68) | void myquit1(void *arg) { puts("bye1!"); } function hello (line 70) | void hello(void *arg) { puts("hello"); } function main (line 72) | int main() {