FreeBASIC  0.91.0
symb-struct.bas File Reference
#include "fb.bi"
#include "fbint.bi"
#include "parser.bi"
#include "hash.bi"
#include "list.bi"
#include "ir.bi"
Include dependency graph for symb-struct.bas:

Go to the source code of this file.

Functions

function_as_FBSYMBOL_ptr symbStructBegin (byval_as_FBSYMBOLTB_ptr symtb, byval_as_FBSYMBOL_ptr parent, byval_as_const_zstring_ptr id, byval_as_const_zstring_ptr id_alias, byval_as_integer isunion, byval_as_integer align, byval_as_FBSYMBOL_ptr base_, byval_as_integer attrib)
 
function_as_integer typeCalcNaturalAlign (byval_as_integer dtype, byval_as_FBSYMBOL_ptr subtype)
 
private function_as_integer hCalcPadding (byval_as_longint ofs, byval_as_integer align, byval_as_integer dtype, byval_as_FBSYMBOL_ptr subtype)
 
private function_as_integer hCheckUDTSize (byval_as_ulongint udtlen, byval_as_ulongint fieldlen, byval_as_uinteger fieldpad)
 
function_as_integer symbCheckBitField (byval_as_FBSYMBOL_ptr udt, byval_as_integer dtype, byval_as_longint lgt, byval_as_integer bits)
 
private function_as_FBSYMBOL_ptr symbAddBitField (byval_as_integer bitpos, byval_as_integer bits, byval_as_integer dtype, byval_as_longint lgt)
 
function_as_FBSYMBOL_ptr symbAddField (byval_as_FBSYMBOL_ptr parent, byval_as_zstring_ptr id, byval_as_integer dimensions, as_FBARRAYDIM dTB[+1], byval_as_integer dtype[+1], byval_as_FBSYMBOL_ptr subtype[+1], byval_as_longint lgt[+1], byval_as_integer bits[+1])
 
sub symbInsertInnerUDT (byval_as_FBSYMBOL_ptr parent, byval_as_FBSYMBOL_ptr inner)
 
private function_as_integer hGetReturnType (byval_as_FBSYMBOL_ptr sym)
 
sub symbStructEnd (byval_as_FBSYMBOL_ptr sym, byval_as_integer isnested)
 
function_as_FBSYMBOL_ptr symbCloneStruct (byval_as_FBSYMBOL_ptr sym)
 
sub symbDelField (byval_as_FBSYMBOL_ptr s)
 
sub symbDelStruct (byval_as_FBSYMBOL_ptr s)
 
private function_as_FBSYMBOL_ptr hSkipToField (byval_as_FBSYMBOL_ptr sym)
 
function_as_FBSYMBOL_ptr symbUdtGetFirstField (byval_as_FBSYMBOL_ptr parent)
 
function_as_FBSYMBOL_ptr symbUdtGetNextField (byval_as_FBSYMBOL_ptr sym)
 
private function_as_FBSYMBOL_ptr hFindCommonParent (byval_as_FBSYMBOL_ptr a, byval_as_FBSYMBOL_ptr b)
 
function_as_FBSYMBOL_ptr symbUdtGetNextInitableField (byval_as_FBSYMBOL_ptr sym)
 
function_as_integer symbGetUDTBaseLevel (byval_as_FBSYMBOL_ptr s, byval_as_FBSYMBOL_ptr baseSym)
 

Function Documentation

private function_as_integer hCalcPadding ( byval_as_longint  ofs,
byval_as_integer  align,
byval_as_integer  dtype,
byval_as_FBSYMBOL_ptr  subtype 
)

Definition at line 152 of file symb-struct.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

private function_as_integer hCheckUDTSize ( byval_as_ulongint  udtlen,
byval_as_ulongint  fieldlen,
byval_as_uinteger  fieldpad 
)

Definition at line 183 of file symb-struct.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

private function_as_FBSYMBOL_ptr hFindCommonParent ( byval_as_FBSYMBOL_ptr  a,
byval_as_FBSYMBOL_ptr  b 
)

Definition at line 839 of file symb-struct.bas.

private function_as_integer hGetReturnType ( byval_as_FBSYMBOL_ptr  sym)

Definition at line 603 of file symb-struct.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

private function_as_FBSYMBOL_ptr hSkipToField ( byval_as_FBSYMBOL_ptr  sym)

Definition at line 817 of file symb-struct.bas.

Here is the caller graph for this function:

private function_as_FBSYMBOL_ptr symbAddBitField ( byval_as_integer  bitpos,
byval_as_integer  bits,
byval_as_integer  dtype,
byval_as_longint  lgt 
)

Definition at line 231 of file symb-struct.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_FBSYMBOL_ptr symbAddField ( byval_as_FBSYMBOL_ptr  parent,
byval_as_zstring_ptr  id,
byval_as_integer  dimensions,
as_FBARRAYDIM  dTB[+1],
byval_as_integer  dtype[+1],
byval_as_FBSYMBOL_ptr  subtype[+1],
byval_as_longint  lgt[+1],
byval_as_integer  bits[+1] 
)

Definition at line 259 of file symb-struct.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer symbCheckBitField ( byval_as_FBSYMBOL_ptr  udt,
byval_as_integer  dtype,
byval_as_longint  lgt,
byval_as_integer  bits 
)

Definition at line 205 of file symb-struct.bas.

Here is the caller graph for this function:

function_as_FBSYMBOL_ptr symbCloneStruct ( byval_as_FBSYMBOL_ptr  sym)

Definition at line 767 of file symb-struct.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub symbDelField ( byval_as_FBSYMBOL_ptr  s)

Definition at line 794 of file symb-struct.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub symbDelStruct ( byval_as_FBSYMBOL_ptr  s)

Definition at line 802 of file symb-struct.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer symbGetUDTBaseLevel ( byval_as_FBSYMBOL_ptr  s,
byval_as_FBSYMBOL_ptr  baseSym 
)

Definition at line 927 of file symb-struct.bas.

Here is the caller graph for this function:

sub symbInsertInnerUDT ( byval_as_FBSYMBOL_ptr  parent,
byval_as_FBSYMBOL_ptr  inner 
)

Definition at line 520 of file symb-struct.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_FBSYMBOL_ptr symbStructBegin ( byval_as_FBSYMBOLTB_ptr  symtb,
byval_as_FBSYMBOL_ptr  parent,
byval_as_const_zstring_ptr  id,
byval_as_const_zstring_ptr  id_alias,
byval_as_integer  isunion,
byval_as_integer  align,
byval_as_FBSYMBOL_ptr  base_,
byval_as_integer  attrib 
)

Definition at line 19 of file symb-struct.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub symbStructEnd ( byval_as_FBSYMBOL_ptr  sym,
byval_as_integer  isnested 
)

Definition at line 732 of file symb-struct.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_FBSYMBOL_ptr symbUdtGetFirstField ( byval_as_FBSYMBOL_ptr  parent)

Definition at line 829 of file symb-struct.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_FBSYMBOL_ptr symbUdtGetNextField ( byval_as_FBSYMBOL_ptr  sym)

Definition at line 834 of file symb-struct.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_FBSYMBOL_ptr symbUdtGetNextInitableField ( byval_as_FBSYMBOL_ptr  sym)

Definition at line 864 of file symb-struct.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer typeCalcNaturalAlign ( byval_as_integer  dtype,
byval_as_FBSYMBOL_ptr  subtype 
)

Definition at line 114 of file symb-struct.bas.

Here is the caller graph for this function: