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)  

call_machine.cpp File Reference
#include <cassert>
#include <cstring>
#include <graphite2/Segment.h>
#include "inc/Machine.h"
#include "inc/Segment.h"
#include "inc/Slot.h"
#include "inc/Rule.h"
#include "inc/opcodes.h"
#include "inc/opcode_table.h"
Include dependency graph for call_machine.cpp:

Go to the source code of this file.

Classes

struct  regbank
 

Macros

#define registers
 
#define STARTOP(name)
 
#define ENDOP
 
#define EXIT(status)   { push(status); return false; }
 
#define do_(name)   instr(name)
 
#define smap   reg.smap
 
#define seg   smap.segment
 
#define is   reg.is
 
#define ip   reg.ip
 
#define map   reg.map
 
#define mapb   reg.map_base
 
#define flags   reg.flags
 
#define dir   reg.direction
 
#define status   reg.status
 

Typedefs

typedef bool(* ip_t) (const byte *&dp, vm::Machine::stack_t *&sp, vm::Machine::stack_t *const sb, regbank &reg)
 

Macro Definition Documentation

◆ dir

#define dir   reg.direction

Definition at line 91 of file call_machine.cpp.

◆ do_

#define do_ (   name)    instr(name)

Definition at line 61 of file call_machine.cpp.

◆ ENDOP

#define ENDOP
Value:
return (sp - sb)/Machine::STACK_MAX==0; \
}
#define sp
Definition: stack.c:11

Definition at line 55 of file call_machine.cpp.

◆ EXIT

#define EXIT (   status)    { push(status); return false; }

Definition at line 58 of file call_machine.cpp.

◆ flags

#define flags   reg.flags

Definition at line 90 of file call_machine.cpp.

◆ ip

#define ip   reg.ip

Definition at line 87 of file call_machine.cpp.

◆ is

#define is   reg.is

Definition at line 86 of file call_machine.cpp.

◆ map

#define map   reg.map

Definition at line 88 of file call_machine.cpp.

◆ mapb

#define mapb   reg.map_base

Definition at line 89 of file call_machine.cpp.

◆ registers

#define registers
Value:
const byte * & dp, vm::Machine::stack_t * & sp, \
vm::Machine::stack_t * const sb, regbank & reg
#define reg
Definition: hbf.c:83
RETTYPE mp_ptr mp_size_t mp_srcptr dp
Definition: sec_div.c:70

Definition at line 49 of file call_machine.cpp.

◆ seg

#define seg   smap.segment

Definition at line 85 of file call_machine.cpp.

◆ smap

#define smap   reg.smap

Definition at line 84 of file call_machine.cpp.

◆ STARTOP

#define STARTOP (   name)
Value:
bool name(registers) REGPARM(4);\
bool name(registers) {
#define name
#define REGPARM(n)
Definition: Machine.h:57
#define registers

Definition at line 53 of file call_machine.cpp.

◆ status

#define status   reg.status

Definition at line 92 of file call_machine.cpp.

Typedef Documentation

◆ ip_t

typedef bool(* ip_t) (const byte *&dp, vm::Machine::stack_t *&sp, vm::Machine::stack_t *const sb, regbank &reg)

Definition at line 78 of file call_machine.cpp.