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.h File Reference
#include <stdint.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdlib.h>
#include <limits.h>
#include "caryll/ownership.h"
#include "support/otfcc-alloc.h"
#include "caryll/buffer.h"
Include dependency graph for bkblock.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bk_Cell
 
struct  __caryll_bkblock
 

Typedefs

typedef struct __caryll_bkblock bk_Block
 

Enumerations

enum  bk_CellType {
  bkover = 0 , b8 = 1 , b16 = 2 , b32 = 3 ,
  p16 = 0x10 , p32 = 0x11 , sp16 = 0x80 , sp32 = 0x81 ,
  bkcopy = 0xFE , bkembed = 0xFF , bkover = 0 , b8 = 1 ,
  b16 = 2 , b32 = 3 , p16 = 0x10 , p32 = 0x11 ,
  sp16 = 0x80 , sp32 = 0x81 , bkcopy = 0xFE , bkembed = 0xFF ,
  bkover = 0 , b8 = 1 , b16 = 2 , b32 = 3 ,
  p16 = 0x10 , p32 = 0x11 , sp16 = 0x80 , sp32 = 0x81 ,
  bkcopy = 0xFE , bkembed = 0xFF
}
 
enum  bk_cell_visit_state {
  VISIT_WHITE , VISIT_GRAY , VISIT_BLACK , VISIT_WHITE ,
  VISIT_GRAY , VISIT_BLACK , VISIT_WHITE , VISIT_GRAY ,
  VISIT_BLACK
}
 

Functions

bk_Block_bkblock_init (void)
 
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)
 
Bool__ bk_cellIsPointer (bk_Cell *cell)
 
void bk_printBlock (bk_Block *b)
 

Typedef Documentation

◆ bk_Block

typedef struct __caryll_bkblock bk_Block

Enumeration Type Documentation

◆ bk_cell_visit_state

Enumerator
VISIT_WHITE 
VISIT_GRAY 
VISIT_BLACK 
VISIT_WHITE 
VISIT_GRAY 
VISIT_BLACK 
VISIT_WHITE 
VISIT_GRAY 
VISIT_BLACK 

Definition at line 26 of file bkblock.h.

◆ bk_CellType

Enumerator
bkover 
b8 
b16 
b32 
p16 
p32 
sp16 
sp32 
bkcopy 
bkembed 
bkover 
b8 
b16 
b32 
p16 
p32 
sp16 
sp32 
bkcopy 
bkembed 
bkover 
b8 
b16 
b32 
p16 
p32 
sp16 
sp32 
bkcopy 
bkembed 

Definition at line 14 of file bkblock.h.

Function Documentation

◆ _bkblock_init()

bk_Block* _bkblock_init ( void  )

Definition at line 25 of file bkblock.c.

◆ bk_cellIsPointer()

Bool__ bk_cellIsPointer ( bk_Cell cell)

Definition at line 15 of file bkblock.c.

◆ bk_new_Block()

bk_Block* bk_new_Block ( int  type0,
  ... 
)

Definition at line 72 of file bkblock.c.

◆ 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.

◆ bk_printBlock()

void bk_printBlock ( bk_Block b)

Definition at line 116 of file bkblock.c.

◆ bk_push()

bk_Block* bk_push ( bk_Block b,
int  type0,
  ... 
)

Definition at line 81 of file bkblock.c.