#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <stdint.h>
#include <assert.h>
Go to the source code of this file.
Classes | |
struct | string_t |
struct | tab |
Macros | |
#define | local static |
#define | PRIbig "ju" |
Typedefs | |
typedef uintmax_t | big_t |
typedef uintmax_t | code_t |
Functions | |
int | been_here (int syms, int left, int len, int mem, int rem) |
void | cleanup (void) |
big_t | count (int syms, int left, int len) |
void | enough (int syms) |
void | examine (int syms, int left, int len, int mem, int rem) |
int | main (int argc, char **argv) |
size_t | map (int syms, int left, int len) |
void | string_clear (string_t *s) |
void | string_free (string_t *s) |
void | string_init (string_t *s) |
void | string_printf (string_t *s, char *fmt,...) |
Variables | |
struct { | |
int * code | |
struct tab * done | |
int large | |
int max | |
big_t * num | |
string_t out | |
int root | |
size_t size | |
big_t tot | |
} | g |
#define local static |
Definition at line 112 of file zlib/examples/enough.c.
#define PRIbig "ju" |
Definition at line 116 of file zlib/examples/enough.c.
Definition at line 115 of file zlib/examples/enough.c.
Definition at line 117 of file zlib/examples/enough.c.
Definition at line 308 of file zlib/examples/enough.c.
void cleanup | ( | void | ) |
Definition at line 244 of file zlib/examples/enough.c.
void enough | ( | int | syms | ) |
Definition at line 454 of file zlib/examples/enough.c.
Definition at line 361 of file zlib/examples/enough.c.
Definition at line 498 of file zlib/examples/enough.c.
Definition at line 237 of file zlib/examples/enough.c.
void string_clear | ( | string_t * | s | ) |
Definition at line 181 of file zlib/examples/enough.c.
void string_free | ( | string_t * | s | ) |
Definition at line 195 of file zlib/examples/enough.c.
void string_init | ( | string_t * | s | ) |
Definition at line 187 of file zlib/examples/enough.c.
void string_printf | ( | string_t * | s, |
char * | fmt, | ||
... | |||
) |
Definition at line 204 of file zlib/examples/enough.c.
Definition at line 231 of file zlib/examples/enough.c.
struct tab* done |
Definition at line 233 of file zlib/examples/enough.c.
struct { ... } g |
int large |
Definition at line 227 of file zlib/examples/enough.c.
int max |
Definition at line 225 of file zlib/examples/enough.c.
big_t* num |
Definition at line 232 of file zlib/examples/enough.c.
string_t out |
Definition at line 230 of file zlib/examples/enough.c.
int root |
Definition at line 226 of file zlib/examples/enough.c.
size_t size |
Definition at line 228 of file zlib/examples/enough.c.
big_t tot |
Definition at line 229 of file zlib/examples/enough.c.