w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

bkblock.c File Reference
#include "bkblock.h"
Include dependency graph for bkblock.c:

Go to the source code of this file.

Functions

static void bkblock_acells (bk_Block *b, uint32_t len)
 
Bool__ bk_cellIsPointer (bk_Cell *cell)
 
static bk_Cellbkblock_grow (bk_Block *b, uint32_t len)
 
bk_Block_bkblock_init ()
 
static void bkblock_pushint (bk_Block *b, bk_CellType type, uint32_t x)
 
static void bkblock_pushptr (bk_Block *b, bk_CellType type, bk_Block *p)
 
static void vbkpushitems (bk_Block *b, bk_CellType type0, va_list ap)
 
bk_Blockbk_new_Block (int type0,...)
 
bk_Blockbk_push (bk_Block *b, int type0,...)
 
bk_Blockbk_newBlockFromStringLen (size_t len, const char *str)
 
bk_Blockbk_newBlockFromBuffer (MOVE caryll_Buffer *buf)
 
bk_Blockbk_newBlockFromBufferCopy (OBSERVE caryll_Buffer *buf)
 
void bk_printBlock (bk_Block *b)
 

Function Documentation

◆ _bkblock_init()

bk_Block* _bkblock_init ( void  )

Definition at line 25 of file bkblock.c.

References b, bkblock_acells(), and NEW.

Referenced by bk_new_Block().

◆ bk_cellIsPointer()

Bool__ bk_cellIsPointer ( bk_Cell cell)

Definition at line 15 of file bkblock.c.

References p16.

Referenced by bk_printBlock(), dfs_attract_cells(), dfs_insert_cells(), escalate_sppointers(), and vbkpushitems().

◆ bk_new_Block()

◆ bk_newBlockFromBuffer()

◆ bk_newBlockFromBufferCopy()

bk_Block* bk_newBlockFromBufferCopy ( OBSERVE caryll_Buffer buf)

Definition at line 107 of file bkblock.c.

References b, b8, bk_new_Block(), bkblock_pushint(), bkover, buf, j, and NULL.

Referenced by otfcc_buildCmap(), and otfcc_buildSVG().

◆ bk_newBlockFromStringLen()

bk_Block* bk_newBlockFromStringLen ( size_t  len,
const char *  str 
)

Definition at line 89 of file bkblock.c.

References b, b8, bk_new_Block(), bkblock_pushint(), bkover, j, len, NULL, and str.

Referenced by otfcc_buildMeta().

◆ bk_printBlock()

void bk_printBlock ( bk_Block b)

Definition at line 116 of file bkblock.c.

References b, bk_cellIsPointer(), fprintf, and j.

◆ bk_push()

◆ bkblock_acells()

static void bkblock_acells ( bk_Block b,
uint32_t  len 
)
static

Definition at line 3 of file bkblock.c.

References b, len, length, and RESIZE.

Referenced by _bkblock_init(), and bkblock_grow().

◆ bkblock_grow()

static bk_Cell* bkblock_grow ( bk_Block b,
uint32_t  len 
)
static

Definition at line 19 of file bkblock.c.

References b, bkblock_acells(), and len.

Referenced by bkblock_pushint(), and bkblock_pushptr().

◆ bkblock_pushint()

static void bkblock_pushint ( bk_Block b,
bk_CellType  type,
uint32_t  x 
)
static

◆ bkblock_pushptr()

static void bkblock_pushptr ( bk_Block b,
bk_CellType  type,
bk_Block p 
)
static

Definition at line 37 of file bkblock.c.

References b, bkblock_grow(), p, and type.

Referenced by vbkpushitems().

◆ vbkpushitems()