webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
state.c File Reference
#include "./state.h"
#include <stdlib.h>
#include "./huffman.h"
#include "./types.h"

Functions

int BrotliStateIsStreamStart (const BrotliState *s)
 
int BrotliStateIsStreamEnd (const BrotliState *s)
 
void BrotliStateInit (BrotliState *s)
 
void BrotliStateInitWithCustomAllocators (BrotliState *s, brotli_alloc_func alloc_func, brotli_free_func free_func, void *opaque)
 
void BrotliStateMetablockBegin (BrotliState *s)
 
void BrotliStateCleanupAfterMetablock (BrotliState *s)
 
void BrotliStateCleanup (BrotliState *s)
 
void BrotliHuffmanTreeGroupInit (BrotliState *s, HuffmanTreeGroup *group, uint32_t alphabet_size, uint32_t ntrees)
 
void BrotliHuffmanTreeGroupRelease (BrotliState *s, HuffmanTreeGroup *group)
 

Function Documentation

◆ BrotliHuffmanTreeGroupInit()

void BrotliHuffmanTreeGroupInit ( BrotliState s,
HuffmanTreeGroup group,
uint32_t  alphabet_size,
uint32_t  ntrees 
)

◆ BrotliHuffmanTreeGroupRelease()

void BrotliHuffmanTreeGroupRelease ( BrotliState s,
HuffmanTreeGroup group 
)

◆ BrotliStateCleanup()

void BrotliStateCleanup ( BrotliState s)

◆ BrotliStateCleanupAfterMetablock()

void BrotliStateCleanupAfterMetablock ( BrotliState s)

◆ BrotliStateInit()

void BrotliStateInit ( BrotliState s)

◆ BrotliStateInitWithCustomAllocators()

void BrotliStateInitWithCustomAllocators ( BrotliState s,
brotli_alloc_func  alloc_func,
brotli_free_func  free_func,
void opaque 
)

◆ BrotliStateIsStreamEnd()

int BrotliStateIsStreamEnd ( const BrotliState s)

◆ BrotliStateIsStreamStart()

int BrotliStateIsStreamStart ( const BrotliState s)

◆ BrotliStateMetablockBegin()

void BrotliStateMetablockBegin ( BrotliState s)