#include <assert.h>
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <grpc/support/log.h>
#include "src/core/ext/transport/chttp2/transport/huffsyms.h"
Go to the source code of this file.
Classes | |
struct | nibblelut |
struct | symset |
Macros | |
#define | MAXHUFFSTATES 1024 |
#define | NOT_SET (~(unsigned)0) |
Functions | |
static void | build_dec_tbl (unsigned state, unsigned nibble, int nibbits, unsigned bitofs, unsigned emit, symset syms) |
static int | ctbl_idx (nibblelut x) |
static void | dump_ctbl (const char *name) |
static void | generate_base64_huff_encoder_table (void) |
static void | generate_huff_tables (void) |
int | main (void) |
static nibblelut | nibblelut_empty (void) |
static int | nsyms (symset s) |
static unsigned | state_index (unsigned bitofs, symset syms, unsigned *isnew) |
static symset | symset_all (void) |
static symset | symset_none (void) |
Variables | |
static nibblelut | ctbl [MAXHUFFSTATES] |
struct { | |
unsigned bitofs | |
nibblelut emit | |
nibblelut next | |
symset syms | |
} | huffstates [MAXHUFFSTATES] |
static int | nctbl |
static unsigned | nhuffstates = 0 |
#define MAXHUFFSTATES 1024 |
Definition at line 33 of file gen_hpack_tables.cc.
#define NOT_SET (~(unsigned)0) |
Definition at line 40 of file gen_hpack_tables.cc.
|
static |
Definition at line 127 of file gen_hpack_tables.cc.
Definition at line 183 of file gen_hpack_tables.cc.
|
static |
Definition at line 193 of file gen_hpack_tables.cc.
|
static |
Definition at line 227 of file gen_hpack_tables.cc.
|
static |
Definition at line 205 of file gen_hpack_tables.cc.
int main | ( | void | ) |
Definition at line 242 of file gen_hpack_tables.cc.
|
static |
Definition at line 57 of file gen_hpack_tables.cc.
Definition at line 68 of file gen_hpack_tables.cc.
|
static |
Definition at line 95 of file gen_hpack_tables.cc.
|
static |
Definition at line 43 of file gen_hpack_tables.cc.
|
static |
Definition at line 50 of file gen_hpack_tables.cc.
unsigned bitofs |
Definition at line 81 of file gen_hpack_tables.cc.
|
static |
Definition at line 180 of file gen_hpack_tables.cc.
nibblelut emit |
Definition at line 88 of file gen_hpack_tables.cc.
struct { ... } huffstates[MAXHUFFSTATES] |
|
static |
Definition at line 181 of file gen_hpack_tables.cc.
nibblelut next |
Definition at line 86 of file gen_hpack_tables.cc.
|
static |
Definition at line 90 of file gen_hpack_tables.cc.
symset syms |
Definition at line 83 of file gen_hpack_tables.cc.