GnuCOBOL
2.0
A free COBOL compiler
|
#include "isinternal.h"
Go to the source code of this file.
Macros | |
#define | vb_error(x) |
Functions | |
void * | pvvbmalloc (const size_t size) |
void | vvbfree (void *mptr) |
struct VBLOCK * | psvblockallocate (const int ihandle) |
void | vvblockfree (struct VBLOCK *pslock) |
struct VBTREE * | psvbtreeallocate (const int ihandle) |
void | vvbtreeallfree (const int ihandle, const int ikeynumber, struct VBTREE *pstree) |
struct VBKEY * | psvbkeyallocate (const int ihandle, const int ikeynumber) |
void | vvbkeyallfree (const int ihandle, const int ikeynumber, struct VBTREE *pstree) |
void | vvbkeyfree (const int ihandle, const int ikeynumber, struct VBKEY *pskey) |
void | vvbkeyunmalloc (const int ihandle, const int ikeynumber) |
Variables | |
static struct VBLOCK * | pslockfree = ((void*)0) |
static struct VBTREE * | pstreefree = ((void*)0) |
int | iserrno = 0 |
int | iserrio = 0 |
int | isreclen = 0 |
int | isrecnum = 0 |
#define vb_error | ( | x | ) |
Definition at line 41 of file vbmemio.c.
Referenced by psvbkeyallocate(), psvbtreeallocate(), vvbkeyallfree(), vvbkeyfree(), and vvbtreeallfree().
struct VBKEY* psvbkeyallocate | ( | const int | ihandle, |
const int | ikeynumber | ||
) |
Definition at line 120 of file vbmemio.c.
References NULL, DICTINFO::pskeydesc, DICTINFO::pskeyfree, VBKEY::psnext, psvbfile, pvvbmalloc(), VBKEY::trownode, and vb_error.
Referenced by inodesplit(), ivbkeyinsert(), and ivbnodeload().
struct VBLOCK* psvblockallocate | ( | const int | ihandle | ) |
Definition at line 67 of file vbmemio.c.
References NULL, pslockfree, VBLOCK::psnext, and pvvbmalloc().
Referenced by ilockinsert().
struct VBTREE* psvbtreeallocate | ( | const int | ihandle | ) |
Definition at line 88 of file vbmemio.c.
References NULL, VBTREE::psnext, pstreefree, pvvbmalloc(), VBTREE::tnodenumber, and vb_error.
Referenced by inodesplit(), itreeload(), and ivbkeyload().
void* pvvbmalloc | ( | const size_t | size | ) |
Definition at line 45 of file vbmemio.c.
References unlikely.
Referenced by ipreamble(), iprocessdelete(), ircvbegin(), ircvchecktrans(), ircvfileopen(), isaddindex(), isbuild(), isdi_kdsc(), isopen(), isrecover(), psvbkeyallocate(), psvblockallocate(), and psvbtreeallocate().
void vvbfree | ( | void * | mptr | ) |
Definition at line 59 of file vbmemio.c.
Referenced by ipostamble(), ircvcommit(), ircvfileopen(), ircvrollback(), isbuild(), isdelindex(), isopen(), isrecover(), ivbclose3(), and vvbkeyunmalloc().
void vvbkeyallfree | ( | const int | ihandle, |
const int | ikeynumber, | ||
struct VBTREE * | pstree | ||
) |
Definition at line 143 of file vbmemio.c.
References VBTREE::ikeysinnode, NULL, VBKEY::pschild, VBTREE::pskeycurr, VBTREE::pskeyfirst, DICTINFO::pskeyfree, VBTREE::pskeylast, VBKEY::psnext, psvbfile, VBKEY::trownode, vb_error, and vvbtreeallfree().
Referenced by ichecktree(), and vvbtreeallfree().
void vvbkeyfree | ( | const int | ihandle, |
const int | ikeynumber, | ||
struct VBKEY * | pskey | ||
) |
Definition at line 172 of file vbmemio.c.
References NULL, VBKEY::pschild, DICTINFO::pskeyfree, VBKEY::psnext, VBKEY::psprev, psvbfile, VBKEY::trownode, vb_error, and vvbtreeallfree().
Referenced by ivbkeydelete(), and ivbnodeload().
void vvbkeyunmalloc | ( | const int | ihandle, |
const int | ikeynumber | ||
) |
Definition at line 196 of file vbmemio.c.
References DICTINFO::pskeyfree, VBKEY::psnext, psvbfile, and vvbfree().
Referenced by isdelindex(), and ivbclose3().
void vvblockfree | ( | struct VBLOCK * | pslock | ) |
Definition at line 81 of file vbmemio.c.
References pslockfree, and VBLOCK::psnext.
Referenced by ilockdelete(), and ivbclose2().
void vvbtreeallfree | ( | const int | ihandle, |
const int | ikeynumber, | ||
struct VBTREE * | pstree | ||
) |
Definition at line 105 of file vbmemio.c.
References VBTREE::psnext, pstreefree, VBTREE::tnodenumber, vb_error, and vvbkeyallfree().
Referenced by iindexcheck(), isdelindex(), itreeload(), ivbclose3(), ivbenter(), ivbexit(), ivbkeydelete(), ivbkeyload(), ivbnodeload(), vvbkeyallfree(), and vvbkeyfree().
int iserrno = 0 |
Definition at line 27 of file vbmemio.c.
Referenced by iaddkeydescriptor(), idemotelocks(), imakekeysfromdata(), indexed_open(), indexed_read(), indexed_read_next(), inodesplit(), iprocessdelete(), ircvbuild(), ircvcreateindex(), ircvdelete(), ircvdeleteindex(), ircvfileclose(), ircvfileerase(), ircvfileopen(), ircvfilerename(), ircvinsert(), ircvsetunique(), ircvupdate(), irowdelete(), irowinsert(), irowupdate(), isaddindex(), isaudit(), isbegin(), isbuild(), ischeck(), iscleanup(), isclose(), iscluster(), iscommit(), isdelcurr(), isdelete(), isdelindex(), isdelrec(), isdi_curidx(), isdi_datfd(), isdi_datlen(), isdi_idxfd(), isdi_kdsc(), isdi_name(), isflush(), isfullclose(), isindexinfo(), islock(), islogclose(), islogopen(), isopen(), isread(), isrecover(), isrelcurr(), isrelease(), isrelrec(), isrename(), isrewcurr(), isrewrec(), isrewrite(), isrollback(), issetcollate(), issetunique(), isstart(), istartrownumber(), isuniqueid(), isunlock(), iswrcurr(), iswrite(), itreeload(), ivbcheckkey(), ivbclose2(), ivbdatafree(), ivbdataread(), ivbdatawrite(), ivbenter(), ivbexit(), ivbforcedataallocate(), ivbforceexit(), ivbkeylocaterow(), ivbkeysearch(), ivbnodefree(), ivbrollmeback(), ivbtransbuild(), ivbtransclose(), ivbtranscreateindex(), ivbtransdelete(), ivbtransdeleteindex(), ivbtranserase(), ivbtransinsert(), ivbtransopen(), ivbtransrename(), ivbtranssetunique(), ivbtransuniqueid(), ivbtransupdate(), ivbvarlenread(), ivbwriterow(), tdelkeydescriptor(), tvbdataallocate(), tvbdatacountgetnext(), tvbnodeallocate(), tvbnodecountgetnext(), vaddkeyforrow(), vrebuilddatafree(), and vrebuildindexfree().
int isreclen = 0 |
Definition at line 29 of file vbmemio.c.
Referenced by indexed_open(), indexed_read(), indexed_read_next(), indexed_rewrite(), indexed_write(), iprocessdelete(), ircvbuild(), ircvinsert(), ircvupdate(), isbuild(), isindexinfo(), isrewcurr(), isrewrec(), isrewrite(), iswrcurr(), iswrite(), ivbdataread(), ivbdatawrite(), ivbrollmeback(), and ivbwriterow().
int isrecnum = 0 |
Definition at line 30 of file vbmemio.c.
Referenced by indexed_read(), indexed_read_next(), indexed_rewrite(), iprocessdelete(), isread(), isrewcurr(), isrewrec(), isrewrite(), isstart(), istartrownumber(), and ivbwriterow().
|
static |
Definition at line 22 of file vbmemio.c.
Referenced by psvblockallocate(), and vvblockfree().
|
static |
Definition at line 23 of file vbmemio.c.
Referenced by psvbtreeallocate(), and vvbtreeallfree().