GnuCOBOL
2.0
A free COBOL compiler
|
#include "isinternal.h"
Go to the source code of this file.
Macros | |
#define | TCC (' ') /* Trailing Compression Character */ |
Functions | |
static int | iquicknodesave (const int ihandle, struct VBTREE *pstree, const off_t tnodenumber, struct keydesc *pskeydesc, const int imode, const int iposn) |
static int | inewroot (const int ihandle, const int ikeynumber, struct VBTREE *pstree, struct VBTREE *psnewtree, struct VBTREE *psroottree, struct VBKEY *psrootkey[], off_t tnewnode1, off_t tnewnode2) |
static int | inodesplit (const int ihandle, const int ikeynumber, struct VBTREE *pstree, struct VBKEY *pskeyhalfway) |
int | ivbnodeload (const int ihandle, const int ikeynumber, struct VBTREE *pstree, const off_t tnodenumber, const int iprevlvl) |
int | ivbnodesave (const int ihandle, const int ikeynumber, struct VBTREE *pstree, const off_t tnodenumber, const int imode, const int iposn) |
Variables | |
static char | cvbnodetmp [4096] |
#define TCC (' ') /* Trailing Compression Character */ |
Definition at line 22 of file vbnodememio.c.
Referenced by ivbnodeload(), and ivbnodesave().
|
static |
Definition at line 90 of file vbnodememio.c.
References VBKEY::ckey, VBKEY::iisdummy, VBTREE::iiseof, VBKEY::iishigh, VBTREE::iisroot, VBTREE::iistof, VBTREE::ilevel, ivbnodesave(), VBKEY::pschild, VBTREE::pskeycurr, DICTINFO::pskeydesc, VBTREE::pskeyfirst, VBTREE::pskeylast, VBKEY::psnext, VBKEY::psparent, VBTREE::psparent, VBKEY::psprev, DICTINFO::pstree, psvbfile, VBKEY::tdupnumber, VBTREE::tnodenumber, VBKEY::trownode, and vvbkeyvalueset().
Referenced by inodesplit().
|
static |
Definition at line 163 of file vbnodememio.c.
References VBKEY::ckey, VBKEY::iisdummy, VBTREE::iiseof, VBTREE::iisroot, VBTREE::iistof, VBTREE::ilevel, inewroot(), iserrno, ivbkeyinsert(), ivbnodesave(), NULL, VBKEY::pschild, VBTREE::pskeycurr, DICTINFO::pskeycurr, VBTREE::pskeyfirst, VBTREE::pskeylast, VBKEY::psnext, VBKEY::psparent, VBTREE::psparent, VBKEY::psprev, psvbfile, psvbkeyallocate(), psvbtreeallocate(), VBKEY::tdupnumber, VBTREE::tnodenumber, and tvbnodeallocate().
Referenced by ivbnodesave().
|
static |
Definition at line 27 of file vbnodememio.c.
References VBKEY::ckey, cvbnodetmp, VBKEY::iisnew, inl_ldint(), inl_stint(), inl_stquad(), ivbblockread(), ivbblockwrite(), VBTREE::pskeylist, psvbfile, QUADSIZE, VBKEY::tdupnumber, and VBKEY::trownode.
Referenced by ivbnodesave().
int ivbnodeload | ( | const int | ihandle, |
const int | ikeynumber, | ||
struct VBTREE * | pstree, | ||
const off_t | tnodenumber, | ||
const int | iprevlvl | ||
) |
Definition at line 285 of file vbnodememio.c.
References VBKEY::ckey, cvbnodetmp, VBKEY::iisdummy, VBKEY::iishigh, VBTREE::ikeysinnode, VBTREE::ilevel, inl_ldint(), inl_ldquad(), DICTINFO::inodesize, ivbblockread(), NULL, VBKEY::pschild, VBTREE::pskeycurr, DICTINFO::pskeydesc, VBTREE::pskeyfirst, VBTREE::pskeylast, VBTREE::pskeylist, VBKEY::psnext, VBKEY::psparent, VBKEY::psprev, psvbfile, psvbkeyallocate(), QUADSIZE, TCC, VBKEY::tdupnumber, VBTREE::tnodenumber, VBKEY::trownode, VBTREE::ttransnumber, vvbkeyfree(), vvbkeyvalueset(), and vvbtreeallfree().
Referenced by ichecktree(), itreeload(), ivbkeydelete(), and ivbkeyload().
int ivbnodesave | ( | const int | ihandle, |
const int | ikeynumber, | ||
struct VBTREE * | pstree, | ||
const off_t | tnodenumber, | ||
const int | imode, | ||
const int | iposn | ||
) |
Definition at line 416 of file vbnodememio.c.
References VBKEY::ckey, DICTNODE::ctransnumber, cvbnodetmp, VBKEY::iisdummy, VBKEY::iishigh, VBKEY::iisnew, VBTREE::ikeysinnode, VBTREE::ilevel, inl_ldquad(), inl_stint(), inl_stquad(), DICTINFO::inodesize, inodesplit(), iquicknodesave(), ivbblockwrite(), NULL, DICTINFO::pskeydesc, VBTREE::pskeyfirst, VBTREE::pskeylast, VBTREE::pskeylist, VBKEY::psnext, VBKEY::psprev, psvbfile, QUADSIZE, DICTINFO::sdictnode, TCC, VBKEY::tdupnumber, VBKEY::trownode, and VB_NODE_MAX.
Referenced by inewroot(), inodesplit(), ivbkeydelete(), and ivbkeyinsert().
|
static |
Definition at line 24 of file vbnodememio.c.
Referenced by iquicknodesave(), ivbnodeload(), and ivbnodesave().