GnuCOBOL
2.0
A free COBOL compiler
|
#include "isinternal.h"
Go to the source code of this file.
Data Structures | |
struct | SVARLEN |
Functions | |
static off_t | ttailnode (const int ihandle, char *pcbuffer, const int ilength, int *pislotnumber) |
static int | ivbvarlenread (const int ihandle, char *pcbuffer, off_t tnodenumber, int islotnumber, int ilength) |
static int | ivbvarlenwrite (const int ihandle, char *pcbuffer, int ilength) |
static int | ivbvarlendelete (const int ihandle, off_t tnodenumber, int islotnumber, int ilength) |
int | ivbdataread (const int ihandle, char *pcbuffer, int *pideletedrow, const off_t trownumber) |
int | ivbdatawrite (const int ihandle, char *pcbuffer, int ideletedrow, const off_t trownumber) |
Variables | |
static const int | igroupsize [] |
static char | cnode [4096] |
static struct SVARLEN * | psvarlenheader = (struct SVARLEN *)cnode |
int ivbdataread | ( | const int | ihandle, |
char * | pcbuffer, | ||
int * | pideletedrow, | ||
const off_t | trownumber | ||
) |
Definition at line 493 of file vbdataio.c.
References cvbnodetmp, DICTINFO::idatahandle, DICTINFO::iminrowlength, inl_ldint(), inl_ldquad(), DICTINFO::inodesize, DICTINFO::iopenmode, iserrno, isreclen, DICTINFO::ivarlenlength, DICTINFO::ivarlenslot, ivbblockread(), ivbmaxusedhandle, ivbvarlenread(), MAX_RESERVED_LENGTH, psvbfile, QUADSIZE, DICTINFO::tvarlennode, tvblseek(), tvbread(), unlikely, and VB_NODE_MAX.
Referenced by idatacheck(), imakekeysfromdata(), iprocessdelete(), isread(), isrewcurr(), isrewrec(), isrewrite(), istartrownumber(), and vrebuildkeys().
int ivbdatawrite | ( | const int | ihandle, |
char * | pcbuffer, | ||
int | ideletedrow, | ||
const off_t | trownumber | ||
) |
Definition at line 611 of file vbdataio.c.
References cvbnodetmp, DICTINFO::idatahandle, DICTINFO::iminrowlength, inl_ldint(), inl_stint(), inl_stquad(), DICTINFO::inodesize, DICTINFO::iopenmode, iserrno, isreclen, DICTINFO::ivarlenlength, DICTINFO::ivarlenslot, ivbblockread(), ivbblockwrite(), ivbmaxusedhandle, ivbvarlendelete(), ivbvarlenwrite(), MAX_RESERVED_LENGTH, pcwritebuffer, psvbfile, QUADSIZE, DICTINFO::tvarlennode, tvblseek(), tvbwrite(), unlikely, and VB_NODE_MAX.
Referenced by iprocessdelete(), isrewcurr(), isrewrec(), isrewrite(), and ivbwriterow().
|
static |
Definition at line 376 of file vbdataio.c.
References SVARLEN::cfreecont, SVARLEN::cfreenext, SVARLEN::cfreeoffset, SVARLEN::cfreeprev, SVARLEN::cfreethis, SVARLEN::cgroup, cnode, SVARLEN::cusedcount, DICTNODE::cvarleng0, inl_ldint(), inl_ldquad(), inl_stint(), inl_stquad(), DICTINFO::inodesize, ivbblockread(), ivbblockwrite(), ivbnodefree(), psvbfile, QUADSIZE, DICTINFO::sdictnode, and DICTINFO::tvarlennode.
Referenced by ivbdatawrite().
|
static |
Definition at line 220 of file vbdataio.c.
References SVARLEN::cconst, SVARLEN::cfreecont, cnode, inl_ldint(), inl_ldquad(), DICTINFO::inodesize, iserrno, ivbblockread(), and psvbfile.
Referenced by ivbdataread().
|
static |
Definition at line 270 of file vbdataio.c.
References SVARLEN::cconst, SVARLEN::cflag, SVARLEN::cfreecont, SVARLEN::cfreenext, SVARLEN::cfreeoffset, SVARLEN::cfreeprev, SVARLEN::cfreethis, SVARLEN::cgroup, cnode, SVARLEN::crfu, SVARLEN::cusedcount, inl_ldint(), inl_stint(), inl_stquad(), DICTINFO::inodesize, DICTINFO::ivarlenlength, DICTINFO::ivarlenslot, ivbblockwrite(), psvbfile, ttailnode(), DICTINFO::tvarlennode, and tvbnodecountgetnext().
Referenced by ivbdatawrite().
|
static |
Definition at line 59 of file vbdataio.c.
References SVARLEN::cconst, SVARLEN::cfreenext, SVARLEN::cfreeoffset, SVARLEN::cfreeprev, SVARLEN::cfreethis, SVARLEN::cgroup, SVARLEN::cusedcount, DICTNODE::cvarleng0, igroupsize, DICTINFO::iisdictlocked, inl_ldint(), inl_ldquad(), inl_stint(), inl_stquad(), DICTINFO::inodesize, ivbblockread(), ivbblockwrite(), MAX_NODE_LENGTH, psvbfile, QUADSIZE, DICTINFO::sdictnode, tvbnodecountgetnext(), and VB_NODE_MAX.
Referenced by ivbvarlenwrite().
|
static |
Definition at line 49 of file vbdataio.c.
Referenced by ivbvarlendelete(), ivbvarlenread(), and ivbvarlenwrite().
|
static |
Definition at line 40 of file vbdataio.c.
Referenced by ttailnode().
Definition at line 50 of file vbdataio.c.