langhash.c File Reference

#include "frontier.h"
#include "standard.h"
#include "error.h"
#include "memory.h"
#include "strings.h"
#include "font.h"
#include "ops.h"
#include "quickdraw.h"
#include "resources.h"
#include "lang.h"
#include "langinternal.h"
#include "langexternal.h"
#include "langipc.h"
#include "langsystem7.h"
#include "tablestructure.h"
#include "tableverbs.h"
#include "oplist.h"
#include "timedate.h"
#include "byteorder.h"

Include dependency graph for langhash.c:

Go to the source code of this file.

Data Structures

struct  tydisksymbolrecord
struct  tyOLD42disksymbolrecord
struct  tydisktablerecord
struct  tydiskvaluerecord
struct  localityinfo
struct  typackinforecord

Defines

#define tablediskversion   0x03
#define maxinlinescalarsize   1023
#define diskvalsizeflag   (-1)

Typedefs

typedef tydisksymbolrecordptrdisksymbolrecord
typedef tydisksymbolrecord ** hdldisksymbolrecord
typedef tyOLD42disksymbolrecordptrOLD42disksymbolrecord
typedef tyOLD42disksymbolrecord ** hdlOLD42disksymbolrecord
typedef tydisktablerecordptrdisktablerecord
typedef tydisktablerecord ** hdldisktablerecord
typedef localityinfo tylocalityinfo
typedef localityinfoptrlocalityinfo

Enumerations

enum  tylinetableitemflags

Functions

boolean newhashtable (hdlhashtable *htable)
short hashgetstackdepth (void)
void chainhashtable (hdlhashtable htable)
void unchainhashtable (void)
hdlhashtable sethashtable (hdlhashtable hset)
boolean pushhashtable (hdlhashtable h)
boolean pophashtable (void)
boolean pushouterlocaltable (void)
boolean hashflushcache (long *ctbytesneeded)
boolean disposehashnode (hdlhashtable ht, hdlhashnode hnode, boolean fldisposevalue, boolean fldisk)
void dirtyhashtable (hdlhashtable ht)
static short smashhashtable (hdlhashtable htable, boolean fldisk, boolean flcallback)
short emptyhashtable (hdlhashtable htable, boolean fldisk)
boolean disposehashtable (hdlhashtable htable, boolean fldisk)
short hashfunction (const bigstring bs)
static boolean hashsortedinsert (hdlhashnode hnode)
static void hashsorteddelete (hdlhashnode hnodedelete)
static boolean hashlinknode (hdlhashtable htable, hdlhashnode hnode)
boolean hashinsertnode (hdlhashnode hnode, hdlhashtable htable)
boolean hashunlinknode (hdlhashtable htable, hdlhashnode hnode)
boolean hashsetnodekey (hdlhashtable htable, hdlhashnode hnode, const bigstring bs)
static boolean newhashnode (hdlhashnode *hnode, const bigstring bskey)
boolean hashinsert (const bigstring bs, tyvaluerecord val)
boolean hashlocate (const bigstring bs, hdlhashnode *hnode, hdlhashnode *hprev)
boolean hashunlink (const bigstring bs, hdlhashnode *hnode)
boolean hashdelete (const bigstring bs, boolean fldisposevalue, boolean fldisk)
boolean hashtabledelete (hdlhashtable htable, bigstring bs)
boolean hashsymbolexists (const bigstring bs)
boolean hashtablesymbolexists (hdlhashtable htable, const bigstring bs)
static boolean hashsetlocalityvisit (hdlhashnode hnode, ptrvoid refcon)
void hashsetlocality (tyvaluerecord *val, boolean fllocal)
boolean hashassign (const bigstring bs, tyvaluerecord val)
boolean hashtableassign (hdlhashtable htable, const bigstring bs, tyvaluerecord val)
boolean hashresolvevalue (hdlhashtable htable, hdlhashnode hnode)
boolean hashlookup (const bigstring bs, tyvaluerecord *vreturned, hdlhashnode *hnode)
boolean hashtablelookup (hdlhashtable htable, const bigstring bs, tyvaluerecord *vreturned, hdlhashnode *hnode)
boolean hashlookupnode (const bigstring bs, hdlhashnode *hnode)
boolean hashtablelookupnode (hdlhashtable htable, const bigstring bs, hdlhashnode *hnode)
static boolean hashinsertaddress (bigstring bsname, bigstring bsval)
boolean hashtablevisit (hdlhashtable htable, langtablevisitcallback visit, ptrvoid refcon)
static int hashcompare (const void *h1, const void *h2)
static boolean hashquicksort (hdlhashtable htable)
boolean hashresort (hdlhashtable htable, hdlhashnode hresort)
boolean hashinversesearch (hdlhashtable htable, langinversesearchcallback visit, ptrvoid refcon, bigstring bsname)
boolean hashsortedinversesearch (hdlhashtable htable, langsortedinversesearchcallback visit, ptrvoid refcon)
static boolean nodeintablevisit (hdlhashnode hnode, ptrvoid refcon)
boolean hashnodeintable (hdlhashnode hnode, hdlhashtable htable)
static boolean hashpackstring (handlestream *s, bigstring bs, long *ix)
static void hashunpackstring (Handle hget, bigstring bs, long ix)
static boolean hashpackdata (handlestream *s, void *pdata, long ctbytes, long *ix)
static boolean hashpackbinary (handlestream *s, Handle hbinary, long *ix)
static boolean hashunpackbinary (Handle hget, Handle *hbinary, long ix)
static boolean hashpackscalar (handlestream *s, hdlhashnode hnode, long *ix)
static boolean hashunpackscalar (Handle hget, tyvaluerecord *val, long ix)
static boolean hashpackexternal (handlestream *s, hdlexternalvariable h, long *ix, boolean *flnewdbaddress)
static boolean hashunpackexternal (Handle hget, boolean flmemory, hdlexternalhandle *h, long ix)
static void hashreporterror (short iderror, bigstring bsname, bigstring bserror)
static boolean hashpackvisit (bigstring bsname, hdlhashnode hnode, tyvaluerecord val, ptrvoid refcon)
boolean hashpacktable (hdlhashtable htable, boolean flmemory, Handle *hpackedtable, boolean *flmustsave)
boolean hashunpacktable (Handle hpackedtable, boolean flmemory, hdlhashtable htable)
boolean hashcountitems (hdlhashtable htable, long *ctitems)
boolean hashsortedsearch (hdlhashtable htable, const bigstring bsname, long *item)
boolean hashgetnthnode (hdlhashtable htable, long n, hdlhashnode *hnode)
boolean hashgetsortedindex (hdlhashtable htable, hdlhashnode hnode, long *idx)
boolean hashgetiteminfo (hdlhashtable htable, long item, bigstring bsname, tyvaluerecord *val)
boolean hashgetvaluestring (tyvaluerecord val, bigstring bs)
boolean hashgettypestring (tyvaluerecord val, bigstring bstype)
boolean hashgetsizestring (const tyvaluerecord *val, bigstring bssize)
boolean hashvaltostrings (tyvaluerecord val, bigstring bstype, bigstring bsvalue, bigstring bssize)

Variables

hdlhashtable currenthashtable = nil
hdltablestack hashtablestack = nil
boolean fllanghashassignprotect = false
boolean fllangexternalvalueprotect = false
static boolean flunpackingtable = 0
static hdlhashnode hnewnode
static boolean flexternalmemorypack = false
static hdldatabaserecord hexternalpackdatabase
static hdlhashtable hfirstfreetable = nil


Define Documentation

#define diskvalsizeflag   (-1)
 

Definition at line 108 of file langhash.c.

Referenced by hashpackscalar(), and hashunpackscalar().

#define maxinlinescalarsize   1023
 

Definition at line 107 of file langhash.c.

Referenced by hashpackscalar().

#define tablediskversion   0x03
 

Definition at line 81 of file langhash.c.

Referenced by hashpacktable().


Typedef Documentation

typedef struct tydisksymbolrecord ** hdldisksymbolrecord
 

typedef struct tydisktablerecord ** hdldisktablerecord
 

typedef struct tyOLD42disksymbolrecord ** hdlOLD42disksymbolrecord
 

typedef struct tydisksymbolrecord * ptrdisksymbolrecord
 

typedef struct tydisktablerecord * ptrdisktablerecord
 

typedef struct localityinfo * ptrlocalityinfo
 

typedef struct tyOLD42disksymbolrecord * ptrOLD42disksymbolrecord
 

typedef struct localityinfo tylocalityinfo
 


Enumeration Type Documentation

enum tylinetableitemflags
 

Definition at line 96 of file langhash.c.


Function Documentation

void chainhashtable hdlhashtable  htable  ) 
 

Definition at line 478 of file langhash.c.

References currenthashtable, tyhashtable::flchained, and tyhashtable::prevhashtable.

Referenced by evaluatewith(), htmlrunmacro(), langaddlocalsymbols(), langcallscriptwithaddress(), langdefaultpushtable(), langpushscopechain(), langruncode(), langrunscriptcode(), langruntextwithcontext(), scriptpushtable(), and threadcallscriptverb().

void dirtyhashtable hdlhashtable  ht  ) 
 

Definition at line 870 of file langhash.c.

References timenow().

Referenced by hashdelete(), hashinsertnode(), hashunlink(), and langsymbolchanged().

Here is the call graph for this function:

boolean disposehashnode hdlhashtable  ht,
hdlhashnode  hnode,
boolean  fldisposevalue,
boolean  fldisk
 

Definition at line 820 of file langhash.c.

References dbpopdatabase(), dbpushdatabase(), disposehandle(), disposevaluerecord(), hnode, nil, and tablegetdatabase().

Referenced by hashdelete(), smashhashtable(), and tableundoclear().

Here is the call graph for this function:

boolean disposehashtable hdlhashtable  htable,
boolean  fldisk
 

Definition at line 935 of file langhash.c.

References cleartmpstack(), hfirstfreetable, iddisposingsystemtable, nil, pophashtable(), pushhashtable(), roottable, shellinternalerror, smashhashtable(), and STR_trying_to_dispose_global_symbol_table.

Referenced by disposecomponentglobals(), evaluatewith(), htmlbuildmacrocontext(), htmldisposemacrocontext(), inittablestructure(), langdefaultpoptable(), langfunctioncall(), langpopscopechain(), langpushlocalchain(), opxmltooutline(), osaGetScriptInfo(), osahandletrapverb(), tabledisposetable(), tableunpacktable(), threaddisposecontext(), webserverlocateresponder(), webserverlocaterespondercontextbuilder(), webservermethodnotallowed(), and xmlcompile().

Here is the call graph for this function:

short emptyhashtable hdlhashtable  htable,
boolean  fldisk
 

Definition at line 930 of file langhash.c.

References smashhashtable().

Referenced by browsersetscrap(), and tableemptytableverb().

Here is the call graph for this function:

boolean hashassign const bigstring  bs,
tyvaluerecord  val
 

Definition at line 1629 of file langhash.c.

References badexternalassignmenterror, bigstring, copyvaluedata(), currenthashtable, tyvaluerecord::data, dbpopdatabase(), dbpushdatabase(), disposevaluerecord(), tyvaluedata::externalvalue, externalvaluetype, tyvaluerecord::fldiskval, fllanghashassignprotect, tyvaluerecord::fltmpdata, tyvaluerecord::fltmpstack, hashinsert(), hashlocate(), hashsetlocality(), hnode, lang2paramerror(), langexternaltypestring(), langsymbolchanged(), nil, tablegetdatabase(), and tyvaluerecord::valuetype.

Referenced by hashtableassign(), langaddlocalsymbols(), langipccomplexsend(), langsetsymbolval(), langsettarget(), osaCompile(), setbooleansearchparam(), setstorageval(), setstringsearchparam(), and tableconfirmedinsert().

Here is the call graph for this function:

static int hashcompare const void *  h1,
const void *  h2
[static]
 

Definition at line 2005 of file langhash.c.

References tylangcallbacks::comparenodescallback, currenthashtable, and langcallbacks.

Referenced by hashquicksort().

boolean hashcountitems hdlhashtable  htable,
long ctitems
 

Definition at line 3445 of file langhash.c.

References tyhashtable::hfirstsort, nil, and tyhashnode::sortedlink.

Referenced by claygetfileinfo(), hashquicksort(), neutertags(), odbCountItems(), tableverbgetdisplaystring(), tableverbgetsize(), and xmlcompile().

boolean hashdelete const bigstring  bs,
boolean  fldisposevalue,
boolean  fldisk
 

Definition at line 1463 of file langhash.c.

References cantdeleteerror, currenthashtable, dirtyhashtable(), disposehashnode(), hashfunction(), hashlocate(), hashsorteddelete(), hnode, langparamerror(), langsymboldeleted(), langsymbolunlinking(), and nil.

Referenced by deletestorageval(), hashtabledelete(), langcleartarget(), langexternalunregisterwindow(), opxmldeleteitemfromatts(), releasesemaphorevisit(), scriptpoptable(), setarrayelement(), tableconfirmedinsert(), tablefunctionvalue(), tablemoveandrenameverb(), tablemoveverb(), unlinksystemtablestructure(), and unlocksemaphoreverb().

Here is the call graph for this function:

boolean hashflushcache long ctbytesneeded  ) 
 

Definition at line 793 of file langhash.c.

References disposehandle(), gethandlesize(), hfirstfreetable, nil, tyhashtable::prevhashtable, and roottable.

Referenced by disposecomponentglobals(), frontierfunctionvalue(), initlang(), and shellclose().

Here is the call graph for this function:

short hashfunction const bigstring  bs  ) 
 

Definition at line 1021 of file langhash.c.

References getlower, and stringlength.

Referenced by hashdelete(), hashlinknode(), hashlocate(), and hashunlink().

boolean hashgetiteminfo hdlhashtable  htable,
long  item,
bigstring  bsname,
tyvaluerecord val
 

Definition at line 3574 of file langhash.c.

References gethashkey, hashgetnthnode(), hashresolvevalue(), hnode, and nil.

Referenced by evaluateforinloop(), langgettableitemname(), odbGetNthItem(), tablearrayvalue(), tableclearroutine(), and tablegetcellstring().

Here is the call graph for this function:

boolean hashgetnthnode hdlhashtable  htable,
long  n,
hdlhashnode hnode
 

Definition at line 3510 of file langhash.c.

References tyhashtable::hfirstsort, hnode, nil, and tyhashnode::sortedlink.

Referenced by arraytofrontiervalvisit(), hashgetiteminfo(), neutertags(), structtofrontiervalvisit(), tablemakenewvalue(), webserverbuildresponse(), webservercallfilters(), webserverlocateresponder(), webservermethodnotallowed(), xmlfrontiervaltotaggedtext(), and xmlstructtofrontiervalue().

boolean hashgetsizestring const tyvaluerecord val,
bigstring  bssize
 

Definition at line 3817 of file langhash.c.

References addressvaluetype, binaryvaluetype, getbinarytypeid(), h, langgetvalsize(), numbertostring(), ostypetostring(), setemptystring, stringlength, and stringvaluetype.

Referenced by hashvaltostrings(), and tablegetcellstring().

Here is the call graph for this function:

boolean hashgetsortedindex hdlhashtable  htable,
hdlhashnode  hnode,
long idx
 

Definition at line 3543 of file langhash.c.

References tyhashtable::hfirstsort, hnode, nil, and tyhashnode::sortedlink.

short hashgetstackdepth void   ) 
 

Definition at line 458 of file langhash.c.

References ct, currenthashtable, nil, and tyhashtable::prevhashtable.

Referenced by scriptgetlevelname().

boolean hashgettypestring tyvaluerecord  val,
bigstring  bstype
 

Definition at line 3776 of file langhash.c.

References tyvaluerecord::data, tyvaluedata::externalvalue, externalvaluetype, intvaluetype, langexternaltypestring(), langgetmiscstring(), langgettypestring(), longvaluetype, nonestring, novaluetype, numberstring, and tyvaluerecord::valuetype.

Referenced by bigvaltostring(), claypostdrawline(), hashvaltostrings(), langarrayreferror(), tablegetcellstring(), and tablepasteroutine().

Here is the call graph for this function:

boolean hashgetvaluestring tyvaluerecord  val,
bigstring  bs
 

Definition at line 3610 of file langhash.c.

References addressvaluetype, aliasvaluetype, binaryvaluetype, booleanvaluetype, bytestohexstring(), charvaluetype, chnul, tyvaluedata::chvalue, cleartmpstack(), codevaluetype, coercetostring(), copyvaluerecord(), tyvaluerecord::data, datevaluetype, directionvaluetype, disablelangerror(), doublevaluetype, enablelangerror(), errorstring, externalvaluetype, filespecvaluetype, fixedvaluetype, getaddresspath(), gethandlesize(), h, insertchar(), intvaluetype, isemptystring, langcounttreenodes(), langdeparsestring(), langexternalgetdisplaystring(), langgetmiscstring(), langmiscstringlist, longvaluetype, nilstring, novaluetype, objspecvaluetype, ostypevaluetype, parsenumberstring(), patternvaluetype, pointvaluetype, pullstringvalue(), pushint(), rectvaluetype, releaseheaptmp(), rgbvaluetype, setstringwithchar, singlevaluetype, stringvaluetype, tokennumberstring, tokenvaluetype, treesizestring, unknownstring, and tyvaluerecord::valuetype.

Referenced by bigvaltostring(), cmdiconhit(), getvalueedittext(), hashvaltostrings(), osaDisplay(), and tablegetcellstring().

Here is the call graph for this function:

boolean hashinsert const bigstring  bs,
tyvaluerecord  val
 

Definition at line 1253 of file langhash.c.

References bigstring, currenthashtable, tyvaluerecord::fltmpstack, h, hashinsertnode(), hnewnode, hnode, illegalnameerror, isemptystring, lang2paramerror(), langexternalgetfullpath(), newhashnode(), and nil.

Referenced by hashassign(), hashinsertaddress(), hashinsertcstring(), hashunpacktable(), initprocessthread(), langaddbooleanconst(), langaddhandler(), langaddkeyword(), langaddlocals(), langaddtypeconst(), osaLoad(), and tablemakenewvalue().

Here is the call graph for this function:

static boolean hashinsertaddress bigstring  bsname,
bigstring  bsval
[static]
 

Definition at line 1908 of file langhash.c.

References exemptfromtmpstack(), hashinsert(), and setaddressvalue().

Referenced by hashunpacktable().

Here is the call graph for this function:

boolean hashinsertnode hdlhashnode  hnode,
hdlhashtable  htable
 

Definition at line 1153 of file langhash.c.

References bigstring, dirtyhashtable(), flunpackingtable, gethashkey, hashlinknode(), hashsortedinsert(), hnode, langsymbolinserted(), pophashtable(), and pushhashtable().

Referenced by hashinsert(), osaStore(), and tableundoclear().

Here is the call graph for this function:

boolean hashinversesearch hdlhashtable  htable,
langinversesearchcallback  visit,
ptrvoid  refcon,
bigstring  bsname
 

Definition at line 2115 of file langhash.c.

References gethashkey, nil, and return().

Referenced by exitprocessthread(), getostypedisplaystring(), gettokenname(), langfindvalue(), and langipcfindapptable().

Here is the call graph for this function:

static boolean hashlinknode hdlhashtable  htable,
hdlhashnode  hnode
[static]
 

Definition at line 1134 of file langhash.c.

References hashfunction(), tyhashnode::hashlink, and hnode.

Referenced by hashinsertnode(), and hashsetnodekey().

Here is the call graph for this function:

boolean hashlocate const bigstring  bs,
hdlhashnode hnode,
hdlhashnode hprev
 

2/7/91 dmb: new implementation of array references resolves them immediately, so we don't have to handlel them here

boolean hashlocatearray (short arrayindex, hdlhashnode *hnode, hdlhashnode *hprev) {

tyvaluerecord val; bigstring bsvarname;

if (!hashgetiteminfo (currenthashtable, arrayindex - 1, bsvarname, &val)) {

langlongparamerror (tabletoosmallerror, (long) arrayindex);

return (false); }

return (hashlocate (bsvarname, hnode, hprev)); } /hashlocatearray/

boolean hashstringtoarrayindex (bigstring bs, short *arrayindex) {

bigstring bscopy;

if (stringlength (bs) == 0) /empty names not allowed, defensive driving/ return (false);

if (bs [1] != '$') return (false);

copystring (bs, bscopy);

deletefirstchar (bscopy);

if (!stringtoshort (bscopy, arrayindex)) {

langparamerror (badindexname, bs);

return (false); }

return (true); } /hashstringtoarrayindex/

Definition at line 1366 of file langhash.c.

References equalidentifiers(), hashfunction(), tyhashnode::hashlink, hnode, and nil.

Referenced by hashassign(), hashdelete(), hashlookup(), hashlookupnode(), hashsymbolexists(), and hashunlink().

Here is the call graph for this function:

boolean hashlookup const bigstring  bs,
tyvaluerecord vreturned,
hdlhashnode hnode
 

Definition at line 1841 of file langhash.c.

References currenthashtable, hashlocate(), hashresolvevalue(), and hnode.

Referenced by FrontierOPWndProc(), getbooleansearchparam(), getstorageval(), getstringsearchparam(), hashlookupboolean(), hashlookupcolor(), hashlookupshort(), hashlookupstring(), hashtablelookup(), langcleartarget(), osaLoad(), tablemoveandrenameverb(), and tablemoveverb().

Here is the call graph for this function:

boolean hashlookupnode const bigstring  bs,
hdlhashnode hnode
 

Definition at line 1879 of file langhash.c.

References currenthashtable, hashlocate(), hashresolvevalue(), and hnode.

Referenced by hashtablelookupnode(), langgethandlercode(), opcompileverb(), opgetcodeverb(), opuncompileverb(), scriptfindhashnode(), scriptpushtable(), tablepastevalue(), tablesymbolchanged(), and tablesymbolinserted().

Here is the call graph for this function:

boolean hashnodeintable hdlhashnode  hnode,
hdlhashtable  htable
 

Definition at line 2193 of file langhash.c.

References hashtablevisit(), hnode, nil, and nodeintablevisit().

Referenced by scriptcompiler().

Here is the call graph for this function:

static boolean hashpackbinary handlestream s,
Handle  hbinary,
long ix
[static]
 

Definition at line 2243 of file langhash.c.

References gethandlesize(), writehandlestream(), and writehandlestreamhandle().

Referenced by hashpackscalar(), and hashpackvisit().

Here is the call graph for this function:

static boolean hashpackdata handlestream s,
void *  pdata,
long  ctbytes,
long ix
[static]
 

Definition at line 2228 of file langhash.c.

References writehandlestream().

Referenced by hashpackvisit().

Here is the call graph for this function:

static boolean hashpackexternal handlestream s,
hdlexternalvariable  h,
long ix,
boolean flnewdbaddress
[static]
 

Definition at line 2415 of file langhash.c.

References disposehandle(), error, flexternalmemorypack, gethandlesize(), h, HNoNode, langexternalmemorypack(), langexternalpack(), writehandlestream(), and writehandlestreamhandle().

Referenced by hashpackvisit().

Here is the call graph for this function:

static boolean hashpackscalar handlestream s,
hdlhashnode  hnode,
long ix
[static]
 

Definition at line 2271 of file langhash.c.

References tydiskvaluerecord::adr, dbassignhandle(), dbcopy(), dbpopdatabase(), dbpushdatabase(), dbrefhandle(), diskvalsizeflag, disposehandle(), disposevaluerecord(), fldatabasesaveas, flexternalmemorypack, gethandlesize(), hashpackbinary(), hexternalpackdatabase, maxinlinescalarsize, nildbaddress, tydiskvaluerecord::sizeflag, writehandlestream(), and writehandlestreamhandle().

Referenced by hashpackvisit().

Here is the call graph for this function:

static boolean hashpackstring handlestream s,
bigstring  bs,
long ix
[static]
 

Definition at line 2206 of file langhash.c.

References writehandlestream().

Referenced by hashpackvisit().

Here is the call graph for this function:

boolean hashpacktable hdlhashtable  htable,
boolean  flmemory,
Handle hpackedtable,
boolean flmustsave
 

Definition at line 2817 of file langhash.c.

References clearbytes(), closehandlestream(), flexternalmemorypack, hashpackvisit(), hashsortedinversesearch(), hexternalpackdatabase, mergehandles(), nil, openhandlestream(), sizeof(), tablediskversion, tablegetdatabase(), and writehandlestream().

Referenced by tablepacktable().

Here is the call graph for this function:

static boolean hashpackvisit bigstring  bsname,
hdlhashnode  hnode,
tyvaluerecord  val,
ptrvoid  refcon
[static]
 

Definition at line 2514 of file langhash.c.

References addressvaluetype, aliasvaluetype, assert, bigstring, binaryvaluetype, booleanvaluetype, cantpackerror, charvaluetype, clearbytes(), codevaluetype, convertToMacExtended(), copyheapstring(), handlestream::data, tyvaluerecord::data, datevaluetype, directionvaluetype, disablelangerror(), disposehandle(), disposehandlestream(), tyvaluedata::doublevalue, doublevaluetype, enablelangerror(), error, externalvaluetype, filespectoalias(), tyvaluedata::filespecvalue, filespecvaluetype, fixedvaluetype, flexternalmemorypack, typackinforecord::flmustsave, getaddresspath(), hashpackbinary(), hashpackdata(), hashpackerror, hashpackexternal(), hashpackscalar(), hashpackstring(), hashreporterror(), hnode, intvaluetype, langerror(), langpackfileval(), langpacktree(), langtraperrors(), languntraperrors(), tyvaluedata::listvalue, long, longvaluetype, nil, novaluetype, objspecvaluetype, oldstringvaluetype, oppacklist(), ostypevaluetype, passwordvaluetype, patternvaluetype, pointvaluetype, recttodiskrect(), tyvaluedata::rectvalue, rectvaluetype, rgbtodiskrgb(), tyvaluedata::rgbvalue, rgbvaluetype, typackinforecord::s1, typackinforecord::s2, short, singlevaluetype, sizeof(), tyvaluedata::stringvalue, stringvaluetype, tokenvaluetype, tyvaluerecord::valuetype, and writehandlestream().

Referenced by hashpacktable().

Here is the call graph for this function:

static boolean hashquicksort hdlhashtable  htable  )  [static]
 

Definition at line 2011 of file langhash.c.

References disposehandle(), h, hashcompare(), hashcountitems(), lockhandle(), newhandle(), nil, pophashtable(), pushhashtable(), tyhashnode::sortedlink, and unlockhandle().

Referenced by hashresort().

Here is the call graph for this function:

static void hashreporterror short  iderror,
bigstring  bsname,
bigstring  bserror
[static]
 

Definition at line 2476 of file langhash.c.

References bigstring, fllangerror, getstringlist(), lang2paramerror(), langerrorlist, langerrormessage(), midinsertstring(), nthword(), patternmatch(), pushchar(), and stringlength.

Referenced by hashpackvisit(), and hashunpacktable().

Here is the call graph for this function:

boolean hashresolvevalue hdlhashtable  htable,
hdlhashnode  hnode
 

Definition at line 1737 of file langhash.c.

References bigstring, copyheapstring(), dbpopdatabase(), dbpushdatabase(), dbpushreleasestack(), dbrefhandle(), disablelangerror(), enablelangerror(), enlargehandle(), tyhashnode::flunresolvedaddress, hnode, langexpandtodotparams(), langgettype(), lockhandle(), pathstable, pophashtable(), pushhashtable(), roottable, setaddressencoding(), setheapstring(), tablegetdatabase(), and unlockhandle().

Referenced by decompilevisit(), hashgetiteminfo(), hashlookup(), hashlookupnode(), langsearchpathvisit(), and xmlfrontiervaltotaggedtext().

Here is the call graph for this function:

boolean hashresort hdlhashtable  htable,
hdlhashnode  hresort
 

Definition at line 2085 of file langhash.c.

References hashquicksort(), hashsorteddelete(), hashsortedinsert(), nil, pophashtable(), and pushhashtable().

Referenced by hashunpacktable(), tablerenameverb(), and tablesetitemname().

Here is the call graph for this function:

void hashsetlocality tyvaluerecord val,
boolean  fllocal
 

Definition at line 1567 of file langhash.c.

References addressvaluetype, currenthashtable, disablelangerror(), enablelangerror(), externalvaluetype, filewindowtable, tyhashtable::fllocaltable, hashsetlocalityvisit(), hashtablevisit(), info, langexternalsetdatabase(), langexternalvaltotable(), nil, setaddressencoding(), and tablegetdatabase().

Referenced by hashassign(), and langaddlocals().

Here is the call graph for this function:

static boolean hashsetlocalityvisit hdlhashnode  hnode,
ptrvoid  refcon
[static]
 

Definition at line 1541 of file langhash.c.

References currenthashtable, tyvaluerecord::data, tyvaluedata::externalvalue, externalvaluetype, filewindowtable, hashtablevisit(), hnode, info, langexternalsetdatabase(), langexternalvaltotable(), and tyvaluerecord::valuetype.

Referenced by hashsetlocality().

Here is the call graph for this function:

boolean hashsetnodekey hdlhashtable  htable,
hdlhashnode  hnode,
const bigstring  bs
 

Definition at line 1223 of file langhash.c.

References copystring(), hashlinknode(), hashunlinknode(), hnode, langsymbolchanged(), and sethandlesize().

Referenced by tablerenameverb(), tablesearchcellname(), and tablesetitemname().

Here is the call graph for this function:

static void hashsorteddelete hdlhashnode  hnodedelete  )  [static]
 

Definition at line 1104 of file langhash.c.

References currenthashtable, tyhashtable::hfirstsort, hnode, nil, and tyhashnode::sortedlink.

Referenced by hashdelete(), hashresort(), and hashunlink().

static boolean hashsortedinsert hdlhashnode  hnode  )  [static]
 

Definition at line 1049 of file langhash.c.

References tylangcallbacks::comparenodescallback, currenthashtable, tyhashtable::hfirstsort, hnode, langcallbacks, nil, and tyhashnode::sortedlink.

Referenced by hashinsertnode(), and hashresort().

boolean hashsortedinversesearch hdlhashtable  htable,
langsortedinversesearchcallback  visit,
ptrvoid  refcon
 

Definition at line 2155 of file langhash.c.

References bigstring, gethashkey, tyhashtable::hfirstsort, and nil.

Referenced by ccagentpopupselect(), ccfillagentpopup(), hashpacktable(), mrcalendargetfirstaddressverb(), mrcalendargetfirstday(), mrcalendargetlastaddressverb(), mrcalendargetlastday(), and shellupdateopenrecentmenu().

boolean hashsortedsearch hdlhashtable  htable,
const bigstring  bsname,
long item
 

Definition at line 3467 of file langhash.c.

References equalidentifiers(), tyhashtable::hfirstsort, nil, and tyhashnode::sortedlink.

Here is the call graph for this function:

boolean hashsymbolexists const bigstring  bs  ) 
 

Definition at line 1511 of file langhash.c.

References hashlocate(), and hnode.

Referenced by handlerecordableevent(), hashtablesymbolexists(), initprocessthread(), langaddhandler(), langaddlocals(), odbDefined(), scriptpushtable(), tableconfirmedinsert(), and unlocksemaphoreverb().

Here is the call graph for this function:

boolean hashtableassign hdlhashtable  htable,
const bigstring  bs,
tyvaluerecord  val
 

Definition at line 1723 of file langhash.c.

References hashassign(), pophashtable(), and pushhashtable().

Referenced by addHeaderToTable(), additemtopagetable(), assigntokenstringvalue(), createtokentable(), datedayofweektostring(), datemonthtostring(), evaluatewith(), getboundsverb(), getstatsvisit(), htmlbuildmacrocontext(), htmlrundirective(), indexpage(), langaddfuncparams(), langassignaddressvalue(), langassignbooleanvalue(), langassigncharvalue(), langassigncolorvalue(), langassignlongvalue(), langassignnewtablevalue(), langassignstringvalue(), langassigntextvalue(), langexternalregisterwindow(), langpushwithtable(), langsetexternalsymbol(), langsetstringvarparam(), langsetsymbolval(), langsetthisvalue(), langtablecopyvalue(), langtracktimeslice(), locksemaphoreverb(), odbNewTable(), odbSetValue(), opgetcodeverb(), opgetsourceverb(), opstopprofileverb(), opxmlpullcloudattribute(), pictverbgetpicture(), runoutlinedirectivesverb(), structtofrontiervalvisit(), tableassigntocell(), tableassignverb(), tablecopyverb(), tablegetwpedittext(), tablemoveandrenameverb(), tablemoveverb(), webserverbuildresponse(), webserverparsecookies(), xcmdcallback(), xmladdvalueverb(), xmlcompile(), and xmlstructtofrontiervalueverb().

Here is the call graph for this function:

boolean hashtabledelete hdlhashtable  htable,
bigstring  bs
 

Definition at line 1496 of file langhash.c.

References hashdelete(), pophashtable(), and pushhashtable().

Referenced by assignordeletevalue(), browserdeletedummyvalues(), cleanindextable(), deindexpage(), disposevaluefunc(), exitprocessthread(), neutertags(), odbDelete(), runoutlinedirectivesverb(), and xmlcompile().

Here is the call graph for this function:

boolean hashtablelookup hdlhashtable  htable,
const bigstring  bs,
tyvaluerecord vreturned,
hdlhashnode hnode
 

Definition at line 1861 of file langhash.c.

References hashlookup(), hnode, nil, pophashtable(), and pushhashtable().

Referenced by addHeaderToTable(), appinfovisit(), claypostdrawline(), datedayofweektostring(), datemonthtostring(), filedialogverb(), findoneprotocolhandler(), getnetaddress(), glossarypatcherverb(), htmlbuildmacrocontext(), htmlgetpref(), indexpage(), langaddfuncparams(), langfastaddresstotable(), langfindsymbol(), langfindvalue(), langgetuserflag(), langhashtablelookup(), langipcfindtraphandler(), langipcputlistitem(), langisidentifier(), langscanner(), langsuretablevalue(), lookupstringvalue(), macrostablelookup(), opattributesgetoneattribute(), opattributesgettypestring(), opxmlgetattribute(), opxmlgetheadlinetextfromatts(), opxmlpushcloudattribute(), opxmlsetcommentandbreakpoint(), opxmlsetrefcon(), osaExecute(), osaGetScriptInfo(), osaGetSource(), osahandleevent(), processmacrosintags(), pushfunctioncall(), pushkernelcall(), scriptdebugerrordebugger(), scriptzoomdotparams(), structtofrontiervalvisit(), tablecopyverb(), unionmatchesverb(), updateconfigsettings(), webserverlocateresponder(), windowopencommand(), xcmdcallback(), xmlcompile(), xmlgetattribute(), xmlgetattributevalueverb(), xmlgetpathaddress(), and xmlgetvalueverb().

Here is the call graph for this function:

boolean hashtablelookupnode hdlhashtable  htable,
const bigstring  bs,
hdlhashnode hnode
 

Definition at line 1894 of file langhash.c.

References hashlookupnode(), hnode, pophashtable(), and pushhashtable().

Referenced by browserfindinsertionpoint(), buildpagetableverb(), closeownedwindows(), decompilevisit(), kernelfunctionvalue(), langcallscriptwithaddress(), langfindsymbol(), langhandlercall(), langipchandletrapverb(), langipcrunscript(), langrunscript(), langsymbolchanged(), langtracktimeslice(), namefunc(), tablerenameverb(), tablesetitemname(), threadcallscriptverb(), and unionmatchesverb().

Here is the call graph for this function:

boolean hashtablesymbolexists hdlhashtable  htable,
const bigstring  bs
 

Definition at line 1519 of file langhash.c.

References hashsymbolexists(), pophashtable(), and pushhashtable().

Referenced by addday(), additemtopagetable(), buildpagetableverb(), deindexpage(), fullpathsearch(), handlerecordableevent(), indexpage(), isstalepageaddress(), langtablelookup(), locksemaphoreverb(), mrcalendargetmostrecentaddress(), mrcalendargetmostrecentdayverb(), mrcalendargetnextaddress(), mrcalendargetnextdayverb(), mrcalendarnavigateverb(), osaGetScriptInfo(), osahandletrapverb(), tablegetwpedittext(), tablerenameverb(), tablesetitemname(), tablesymbolchangedvisit(), webserverprocessfirstline(), webserverreadrequest(), and xmlgetattribute().

Here is the call graph for this function:

boolean hashtablevisit hdlhashtable  htable,
langtablevisitcallback  visit,
ptrvoid  refcon
 

Definition at line 1976 of file langhash.c.

References tyhashnode::hashlink, and nil.

Referenced by closeownedwindowsvisit(), hashnodeintable(), hashsetlocality(), hashsetlocalityvisit(), issafefunctionop(), langexternalcloseregisteredwindows(), langipcmenushutdown(), langipcmenustartup(), langreleasesemaphores(), opstopprofileverb(), runshutdownscripts(), scriptinstallscripts(), scriptrunspecialscripts(), shellopen(), tableclosewindows(), tablenosubsdirty(), tableupdatesubsdirtyflag(), tableupdatewindowtitles(), and tableverbfindusedblocks().

boolean hashunlink const bigstring  bs,
hdlhashnode hnode
 

Definition at line 1416 of file langhash.c.

References cantdeleteerror, currenthashtable, dirtyhashtable(), hashfunction(), hashlocate(), hashsorteddelete(), hnode, langparamerror(), langsymboldeleted(), langsymbolunlinking(), and nil.

Referenced by osaStore(), tableclearroutine(), and tableredoclear().

Here is the call graph for this function:

boolean hashunlinknode hdlhashtable  htable,
hdlhashnode  hnode
 

Definition at line 1184 of file langhash.c.

References tyhashnode::hashlink, hnode, and nil.

Referenced by hashsetnodekey().

static boolean hashunpackbinary Handle  hget,
Handle hbinary,
long  ix
[static]
 

Definition at line 2260 of file langhash.c.

References loadfromhandletohandle(), and loadlongfromdiskhandle().

Referenced by hashunpacktable().

Here is the call graph for this function:

static boolean hashunpackexternal Handle  hget,
boolean  flmemory,
hdlexternalhandle h,
long  ix
[static]
 

Definition at line 2453 of file langhash.c.

References disposehandle(), h, langexternalmemoryunpack(), langexternalunpack(), loadfromhandletohandle(), and loadlongfromdiskhandle().

Referenced by hashunpacktable().

Here is the call graph for this function:

static boolean hashunpackscalar Handle  hget,
tyvaluerecord val,
long  ix
[static]
 

Definition at line 2365 of file langhash.c.

References diskvalsizeflag, loadfromhandletohandle(), and loadlongfromdiskhandle().

Referenced by hashunpacktable().

Here is the call graph for this function:

static void hashunpackstring Handle  hget,
bigstring  bs,
long  ix
[static]
 

Definition at line 2214 of file langhash.c.

References moveleft().

Referenced by hashunpacktable().

Here is the call graph for this function:

boolean hashunpacktable Handle  hpackedtable,
boolean  flmemory,
hdlhashtable  htable
 

Definition at line 2890 of file langhash.c.

References addressvaluetype, aliastofilespec(), aliasvaluetype, assert, bigstring, tyvaluedata::binaryvalue, binaryvaluetype, booleanvaluetype, charvaluetype, tyvaluedata::chvalue, tyvaluedata::codevalue, codevaluetype, convertFromMacExtended(), tyvaluerecord::data, tydisksymbolrecord::data, tyAEDesc::dataHandle, datevaluetype, dbpushreleasestack(), dbrefhandle(), tyAEDesc::descriptorType, directionvaluetype, disablelangerror(), diskrecttorect(), diskrgbtorgb(), tyvaluedata::diskvalue, disposehandle(), doublevaluetype, enablelangerror(), exemptfromtmpstack(), tyvaluedata::externalvalue, externalvaluetype, filespecvaluetype, fixedvaluetype, tydisktablerecord::flags, tyvaluerecord::fldiskval, flunpackingtable, gethandlesize(), tyPoint::h, h, hashinsert(), hashinsertaddress(), hashreporterror(), hashresort(), hashunpackbinary(), hashunpackerror, hashunpackexternal(), hashunpackscalar(), hashunpackstring(), hnewnode, initvalue(), tyvaluedata::intvalue, intvaluetype, isemptystring, tydisksymbolrecord::ixkey, langipcconvertaelist(), langtraperrors(), langunpackfileval(), langunpacktree(), languntraperrors(), tyvaluedata::listvalue, loadfromhandle(), tyvaluedata::longvalue, longvaluetype, newdescwithhandle(), newheapstring(), newheapvalue(), nil, novaluetype, tyvaluedata::objspecvalue, objspecvaluetype, olddoublevaluetype, oldstringvaluetype, opunpacklist(), ostypevaluetype, passwordvaluetype, patternvaluetype, tyvaluedata::pointvalue, pointvaluetype, pullfromhandle(), r, rectvaluetype, rgbvaluetype, setdoublevalue(), setemptystring, sethandlecontents(), sethashtable(), singlevaluetype, tyhashnode::sortedlink, tydisktablerecord::sortorder, stringlength, tyvaluedata::stringvalue, stringvaluetype, tydisktablerecord::timecreated, tydisktablerecord::timelastsave, timenow(), tokenvaluetype, typeAEList, typeAERecord, unmergehandles(), tyPoint::v, tyvaluerecord::valuetype, tydisksymbolrecord::valuetype, tydisksymbolrecord::version, and tydisktablerecord::version.

Referenced by checktable(), and tableunpacktable().

Here is the call graph for this function:

boolean hashvaltostrings tyvaluerecord  val,
bigstring  bstype,
bigstring  bsvalue,
bigstring  bssize
 

Definition at line 3872 of file langhash.c.

References hashgetsizestring(), hashgettypestring(), and hashgetvaluestring().

Referenced by langvaluetotextscrap(), and tablegetcellstring().

Here is the call graph for this function:

static boolean newhashnode hdlhashnode hnode,
const bigstring  bskey
[static]
 

Definition at line 1242 of file langhash.c.

References copystring(), hnode, and newclearhandle().

Referenced by hashinsert().

Here is the call graph for this function:

boolean newhashtable hdlhashtable htable  ) 
 

Definition at line 401 of file langhash.c.

References clearhandle(), ct, tyhashtable::cttmpstack, hfirstfreetable, hmagictable, newclearhandle(), nil, tyhashtable::prevhashtable, tyhashtable::timecreated, and timenow().

Referenced by claygetspecialfolder(), evaluatewith(), htmlbuildmacrocontext(), inittablestructure(), langdefaultpushtable(), langfunctioncall(), newcomponentglobals(), opxmltooutline(), osacreatemodulecontext(), tablenewtable(), tableunpacktable(), webserverlocaterespondercontextbuilder(), webservermethodnotallowed(), and xmlcompile().

Here is the call graph for this function:

static boolean nodeintablevisit hdlhashnode  hnode,
ptrvoid  refcon
[static]
 

Definition at line 2187 of file langhash.c.

References hnode.

Referenced by hashnodeintable().

boolean pophashtable void   ) 
 

Definition at line 591 of file langhash.c.

References currenthashtable, hashtablestack, idtoomanypophashtables, shellinternalerror, and STR_too_many_pophashtables.

Referenced by askfunc(), assignordeletevalue(), callosafunction(), ccsavespecialfile(), CheckFormulas(), claytabletolayout(), cmdtexthit(), disposehashtable(), filedialogverb(), findnamedtable(), FrontierOPWndProc(), getaddressvalue(), getidvalue(), getnthresinfoverb(), getnthresourceverb(), getostypedisplaystring(), getostypevalnamevisit(), getsearchparams(), getuserinfofunc(), handlerecordableevent(), hashinsertnode(), hashquicksort(), hashresolvevalue(), hashresort(), hashtableassign(), hashtabledelete(), hashtablelookup(), hashtablelookupnode(), hashtablesymbolexists(), idstringvalue(), initprocessthread(), inittablestructure(), langaddlocalsymbols(), langcallscriptwithaddress(), langcleartarget(), langexternalsetsave(), langexternalunregisterwindow(), langgethandlercode(), langgettableval(), langgettarget(), langgetuserflag(), langinitbuiltintable(), langinitkeywordtable(), langipcggettableparam(), langipchandlefastscript(), langipchandletrapverb(), langipcrunscript(), langpopscopechain(), langreleasesemaphores(), langruncode(), langrunhandle(), langrunscript(), langrunscriptcode(), langruntextwithcontext(), langsetsymboltableval(), langsettarget(), langsymbolreference(), langunpackvalue(), loadfunctionprocessor(), menugetmenuvariable(), odbDefined(), opcompileverb(), opgetcodeverb(), opuncompileverb(), opxmldeleteitemfromatts(), osaCompile(), osacreatemodulecontext(), osaLoad(), osaStore(), pushkernelcall(), replacevariabledialog(), scriptfindhashnode(), scriptpoptable(), scriptpushtable(), scriptzoomdotparams(), setarrayelement(), setsearchparams(), shellupdateopenrecentmenu(), tablearrayvalue(), tableclearroutine(), tablecomparevalues(), tableexpandtodotparams(), tablefunctionvalue(), tablegetcellstring(), tablemakenewvalue(), tablemoveandrenameverb(), tablemoveverb(), tablepasteroutine(), tablepastevalue(), tableredoclear(), tablesetwpedittext(), tablesymbolchanged(), tablesymbolinserted(), threadcallscriptverb(), unlinksystemtablestructure(), unlocksemaphoreverb(), updateconfigsettings(), and windowopencommand().

boolean pushhashtable hdlhashtable  h  ) 
 

Definition at line 566 of file langhash.c.

References cthashtables, currenthashtable, h, hashtablestack, idtablestack, langcheckstacklimit(), nil, and tablestack::stack.

Referenced by askfunc(), assignordeletevalue(), callosafunction(), ccsavespecialfile(), CheckFormulas(), claytabletolayout(), cmdtexthit(), disposehashtable(), filedialogverb(), findnamedtable(), FrontierOPWndProc(), getaddressvalue(), getidvalue(), getnthresinfoverb(), getnthresourceverb(), getostypedisplaystring(), getostypevalnamevisit(), getuserinfofunc(), handlerecordableevent(), hashinsertnode(), hashquicksort(), hashresolvevalue(), hashresort(), hashtableassign(), hashtabledelete(), hashtablelookup(), hashtablelookupnode(), hashtablesymbolexists(), idstringvalue(), initprocessthread(), inittablestructure(), langaddlocalsymbols(), langbuildnamedparamlist(), langbuildparamlist(), langcallscriptwithaddress(), langexternalsetsave(), langexternalunregisterwindow(), langgethandlercode(), langgettableval(), langgetuserflag(), langinitbuiltintable(), langinitconsttable(), langinitkeywordtable(), langipcbuildparamlist(), langipccomplexsend(), langipcggettableparam(), langipchandlefastscript(), langipchandletrapverb(), langipcrunscript(), langkernelbuildparamlist(), langpopscopechain(), langpushscopechain(), langreleasesemaphores(), langruncode(), langrunhandle(), langrunscript(), langrunscriptcode(), langruntextwithcontext(), langsetsymboltableval(), langsymbolreference(), langunpackvalue(), loadfunctionprocessor(), menugetmenuvariable(), odbDefined(), opcompileverb(), opgetcodeverb(), opuncompileverb(), opxmldeleteitemfromatts(), osaCompile(), osacreatemodulecontext(), osaLoad(), osaStore(), pushkernelcall(), pushouterlocaltable(), pushsearchparamstable(), replacevariabledialog(), scriptfindhashnode(), scriptpoptable(), scriptpushtable(), scriptzoomdotparams(), setarrayelement(), shellupdateopenrecentmenu(), tablearrayvalue(), tableclearroutine(), tablecomparevalues(), tableexpandtodotparams(), tablefunctionvalue(), tablegetcellstring(), tablemakenewvalue(), tablemoveandrenameverb(), tablemoveverb(), tablepasteroutine(), tablepastevalue(), tableredoclear(), tablesetwpedittext(), tablesymbolchanged(), tablesymbolinserted(), threadcallscriptverb(), unlinksystemtablestructure(), unlocksemaphoreverb(), updateconfigsettings(), and windowopencommand().

Here is the call graph for this function:

boolean pushouterlocaltable void   ) 
 

Definition at line 610 of file langhash.c.

References assert, currenthashtable, nil, tyhashtable::prevhashtable, and pushhashtable().

Referenced by langcleartarget(), langgettarget(), and langsettarget().

Here is the call graph for this function:

hdlhashtable sethashtable hdlhashtable  hset  ) 
 

Definition at line 552 of file langhash.c.

References currenthashtable.

Referenced by hashunpacktable().

static short smashhashtable hdlhashtable  htable,
boolean  fldisk,
boolean  flcallback
[static]
 

Definition at line 878 of file langhash.c.

References bigstring, disposehashnode(), gethashkey, tyhashnode::hashlink, langsymboldeleted(), langsymbolunlinking(), and nil.

Referenced by disposehashtable(), and emptyhashtable().

Here is the call graph for this function:

void unchainhashtable void   ) 
 

Definition at line 496 of file langhash.c.

References currenthashtable, nil, and tyhashtable::prevhashtable.

Referenced by evaluatewith(), htmlrunmacro(), langaddlocalsymbols(), langcallscriptwithaddress(), langdefaultpoptable(), langpopscopechain(), langruncode(), langrunscriptcode(), langruntextwithcontext(), scriptpoptable(), and threadcallscriptverb().


Variable Documentation

hdlhashtable currenthashtable = nil
 

Definition at line 119 of file langhash.c.

Referenced by callosafunction(), ccloadsystemtable(), chainhashtable(), clearcancoonglobals(), cleartmpstack(), copythreadglobals(), getfullpath(), getostypevalnamevisit(), getvarparam(), hashassign(), hashcompare(), hashdelete(), hashgetstackdepth(), hashinsert(), hashlookup(), hashlookupnode(), hashsetlocality(), hashsetlocalityvisit(), hashsorteddelete(), hashsortedinsert(), hashunlink(), langbuildnamedparamlist(), langbuildparamlist(), langdefaultpoptable(), langfindsymbol(), langfindvalue(), langfunctioncall(), langgethandlercode(), langgetsymbolval(), langhandlercall(), langipcbuildparamlist(), langipckernelfunction(), langkernelbuildparamlist(), langpoplocalchain(), langpopscopechain(), langrun(), langrunhandle(), langsearchpathlookup(), langunpackvalue(), pophashtable(), pushhashtable(), pushouterlocaltable(), pushtmpstack(), pushtmpstackvalue(), removeheaptmp(), scriptpoptable(), setcancoonglobals(), sethashtable(), stringtoaddress(), swapinthreadglobals(), and unchainhashtable().

boolean flexternalmemorypack = false [static]
 

Definition at line 136 of file langhash.c.

Referenced by hashpackexternal(), hashpackscalar(), hashpacktable(), and hashpackvisit().

boolean fllangexternalvalueprotect = false
 

Definition at line 125 of file langhash.c.

Referenced by assignordeletevalue(), evaltree(), langaddfuncparams(), langaddlocals(), and langaddlocalsymbols().

boolean fllanghashassignprotect = false
 

Definition at line 123 of file langhash.c.

Referenced by assignvalue(), hashassign(), and modifyassignvalue().

boolean flunpackingtable = 0 [static]
 

Definition at line 128 of file langhash.c.

Referenced by hashinsertnode(), and hashunpacktable().

hdltablestack hashtablestack = nil
 

Definition at line 121 of file langhash.c.

Referenced by ccloadsystemtable(), clearcancoonglobals(), copythreadglobals(), disposecomponentglobals(), disposethreadglobals(), initlang(), pophashtable(), popprocess(), pushhashtable(), pushprocess(), setcancoonglobals(), and swapinthreadglobals().

hdldatabaserecord hexternalpackdatabase [static]
 

Definition at line 138 of file langhash.c.

Referenced by hashpackscalar(), and hashpacktable().

hdlhashtable hfirstfreetable = nil [static]
 

Definition at line 142 of file langhash.c.

Referenced by disposehashtable(), hashflushcache(), and newhashtable().

hdlhashnode hnewnode [static]
 

Definition at line 134 of file langhash.c.

Referenced by addnewprocess(), hashinsert(), hashunpacktable(), opcopyheadrecord(), opexpandupdate(), opnewheadrecord(), optextscraptooutline(), and opunpacktexttooutline().


Generated on Sat Jun 3 08:30:45 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6