memory.c File Reference

#include "frontier.h"
#include "standard.h"
#include "error.h"
#include "memory.h"
#include "ops.h"
#include "shellhooks.h"
#include "strings.h"
#include "byteorder.h"

Include dependency graph for memory.c:

Go to the source code of this file.

Defines

#define safetycushionsize   0x2800
#define blocksize   1024

Functions

static boolean getsafetycushion (void)
static boolean safetycushionhook (long *ctbytesneeded)
static Handle getnewhandle (long ctbytes, boolean fltemp)
static boolean resizehandle (Handle hresize, long size)
boolean haveheapspace (long size)
boolean testheapspace (long size)
void lockhandle (Handle h)
void unlockhandle (Handle h)
boolean validhandle (Handle h)
boolean newhandle (long size, Handle *h)
boolean newemptyhandle (Handle *h)
void disposehandle (Handle h)
long gethandlesize (Handle h)
boolean sethandlesize (Handle h, long size)
boolean minhandlesize (Handle h, long size)
void moveleft (ptrvoid psource, ptrvoid pdest, long length)
void moveright (ptrvoid psource, ptrvoid pdest, long length)
void clearbytes (ptrvoid pclear, long ctclear)
void clearhandle (Handle hclear)
void movefromhandle (Handle h, ptrvoid pdest, long length)
boolean newclearhandle (long size, Handle *hreturned)
boolean newfilledhandle (ptrvoid pdata, long size, Handle *hreturned)
static long getidealchunksize (void)
boolean newgrowinghandle (long size, Handle *h)
boolean prepareforgrowing (Handle h)
boolean copyhandle (Handle horig, Handle *hcopy)
short comparehandles (Handle h1, Handle h2)
boolean equalhandles (Handle h1, Handle h2)
long searchhandle (Handle hsearch, Handle hpattern, long ixstart, long ixlimit)
long searchhandleunicase (Handle hsearch, Handle hpattern, long ixstart, long ixlimit)
boolean sethandlecontents (ptrvoid pdata, long ctset, Handle hset)
void texttostring (ptrvoid ptext, long ctchars, bigstring bs)
void texthandletostring (Handle htext, bigstring bs)
boolean newtexthandle (const bigstring bs, Handle *htext)
boolean insertinhandle (Handle hgrow, long ix, ptrvoid pdata, long ctgrow)
boolean inserttextinhandle (Handle hgrow, long ix, bigstring bs)
boolean inserthandleinhandle (Handle hinsert, Handle h, unsigned long ix)
boolean pullfromhandle (Handle h, long ix, long ct, ptrvoid pdata)
boolean enlargehandle (Handle hgrow, long ctgrow, ptrvoid newdata)
boolean mungehandle (Handle hmunge, long ixmunge, long ctmunge, ptrvoid pinsert, long ctinsert)
boolean pushcharhandle (char ch, Handle htext)
boolean pushstringhandle (const bigstring bs, Handle htext)
boolean pushtexthandle (const bigstring bs, Handle htext)
boolean newheapstring (const bigstring bs, hdlstring *hstring)
boolean setheapstring (const bigstring bs, hdlstring hstring)
boolean pushhandle (Handle hsource, Handle hdest)
boolean loadfromhandle (Handle hload, long *ixload, long ctload, ptrvoid pdata)
boolean loadfromhandletohandle (Handle hload, long *ixload, long ctload, boolean fltemp, Handle *hnew)
boolean loadhandleremains (long ix, Handle hsource, Handle *hdest)
boolean pushlongondiskhandle (long x, Handle hpush)
boolean loadlongfromdiskhandle (Handle hload, long *ixload, long *x)
boolean popfromhandle (Handle hpop, long ctpop, ptrvoid pdata)
boolean copyhandlecontents (Handle hsource, Handle hdest)
boolean concathandles (Handle h1, Handle h2, Handle *hmerged)
boolean mergehandles (Handle h1, Handle h2, Handle *hmerged)
boolean unmergehandles (Handle hmerged, Handle *hfirst, Handle *hsecond)
boolean newintarray (short ct, hdlintarray *harray)
boolean setintarray (hdlintarray harray, short ix, short val)
boolean getintarray (hdlintarray harray, short ix, short *val)
void fillintarray (hdlintarray harray, short val)
void openhandlestream (Handle h, handlestream *s)
boolean growhandlestream (handlestream *s, long ct)
boolean writehandlestream (handlestream *s, void *p, long ct)
boolean writehandlestreamlong (handlestream *s, long x)
boolean writehandlestreamchar (handlestream *s, byte ch)
boolean writehandlestreamstring (handlestream *s, bigstring bs)
boolean writehandlestreamhandle (handlestream *s, Handle h)
boolean writehandlestreamhandlepart (handlestream *s, Handle h, long ix, long len)
boolean writehandlestreamhandleindent (handlestream *s, Handle h, long i)
boolean writehandlestreamstringindent (handlestream *s, bigstring bs, long i)
boolean mergehandlestreamdata (handlestream *s, long ctreplace, ptrvoid pdata, long ctmerge)
boolean mergehandlestreamhandle (handlestream *s, long ctreplace, Handle hmerge)
boolean mergehandlestreamstring (handlestream *s, long ctreplace, bigstring bsmerge)
boolean readhandlestream (handlestream *s, void *p, long ct)
boolean pullfromhandlestream (handlestream *s, long ctpull, void *pdata)
long skiphandlestreamchars (handlestream *s, byte chskip)
boolean skiphandlestreamwhitespace (handlestream *s)
long seekhandlestreamchar (handlestream *s, byte chseek)
boolean readhandlestreamfieldtohandle (handlestream *s, byte chdelimiter, Handle *hreturned)
boolean readhandlestreamfield (handlestream *s, byte chdelimiter, bigstring bsfield)
byte gethandlestreamcharacter (handlestream *s, long pos)
byte nexthandlestreamcharacter (handlestream *s)
byte lasthandlestreamcharacter (handlestream *s)
boolean athandlestreameof (handlestream *s)
Handle closehandlestream (handlestream *s)
void disposehandlestream (handlestream *s)
boolean initmemory (void)

Variables

static Handle hsafetycushion = nil
static boolean flholdsafetycushion = false


Define Documentation

#define blocksize   1024
 

Referenced by growhandlestream().

#define safetycushionsize   0x2800
 

Definition at line 39 of file memory.c.

Referenced by getsafetycushion(), and safetycushionhook().


Function Documentation

boolean athandlestreameof handlestream s  ) 
 

Definition at line 2653 of file memory.c.

Referenced by getnexttoken(), intablevisit(), neutermacros(), neutertags(), opgetlinetext(), rundirectivesverb(), stripmarkup(), wpinserttexthandle(), and wpnormalizelineendings().

void clearbytes ptrvoid  pclear,
long  ctclear
 

Definition at line 602 of file memory.c.

void clearhandle Handle  hclear  ) 
 

Definition at line 612 of file memory.c.

References gethandlesize().

Here is the call graph for this function:

Handle closehandlestream handlestream s  ) 
 

Definition at line 2659 of file memory.c.

References sethandlesize().

Referenced by base64decodehandle(), datenetstandardstring(), dbwriteshadowavaillist(), dropnonalphasverb(), expandurlsverb(), glossarypatcherverb(), hashpacktable(), htmlcalendardrawverb(), htmlcleanforexport(), iso8859encodeverb(), neutermacros(), opgetlangtext(), opgetlinetext(), opgetsuboutlineverb(), opoutlinetotextscrap(), oppack(), optextscraptooutline(), opunpack(), outscrapvisit(), processhtmlmacrosverb(), rundirectivesverb(), stripmarkupverb(), textfindreplace(), webserverbuildresponse(), wpinserttexthandle(), wpnormalizelineendings(), and xmldecompile().

Here is the call graph for this function:

short comparehandles Handle  h1,
Handle  h2
 

Definition at line 948 of file memory.c.

References gethandlesize(), min, and sgn.

Here is the call graph for this function:

boolean concathandles Handle  h1,
Handle  h2,
Handle hmerged
 

Definition at line 1995 of file memory.c.

References gethandlesize(), getnewhandle(), memoryerror(), moveleft(), and nil.

Here is the call graph for this function:

boolean copyhandle Handle  horig,
Handle hcopy
 

Definition at line 917 of file memory.c.

boolean copyhandlecontents Handle  hsource,
Handle  hdest
 

Definition at line 1725 of file memory.c.

References gethandlesize(), moveleft(), and sethandlesize().

Here is the call graph for this function:

void disposehandle Handle  h  ) 
 

Definition at line 444 of file memory.c.

void disposehandlestream handlestream s  ) 
 

Definition at line 2669 of file memory.c.

References clearbytes(), and disposehandle().

Referenced by datenetstandardstring(), dbshadowavaillist(), hashpackvisit(), htmlcalendardrawverb(), opgetlangtext(), opgetsuboutlineverb(), and webserverbuildresponse().

Here is the call graph for this function:

boolean enlargehandle Handle  hgrow,
long  ctgrow,
ptrvoid  newdata
 

Definition at line 1307 of file memory.c.

boolean equalhandles Handle  h1,
Handle  h2
 

Definition at line 988 of file memory.c.

void fillintarray hdlintarray  harray,
short  val
 

Definition at line 2271 of file memory.c.

long gethandlesize Handle  h  ) 
 

Definition at line 481 of file memory.c.

byte gethandlestreamcharacter handlestream s,
long  pos
 

Definition at line 2635 of file memory.c.

Referenced by getnexttoken(), lasthandlestreamcharacter(), neutertags(), and nexthandlestreamcharacter().

static long getidealchunksize void   )  [static]
 

Definition at line 758 of file memory.c.

Referenced by newgrowinghandle().

boolean getintarray hdlintarray  harray,
short  ix,
short val
 

Definition at line 2263 of file memory.c.

static Handle getnewhandle long  ctbytes,
boolean  fltemp
[static]
 

Definition at line 164 of file memory.c.

References cttemphandles, flholdsafetycushion, getsafetycushion(), hsafetycushion, NewHandle, and nil.

Referenced by appnewhandle(), concathandles(), copyhandle(), daveNetMassager(), haveheapspace(), loadfromhandletohandle(), mergehandles(), newclearhandle(), newemptyhandle(), newfilledhandle(), newgrowinghandle(), newhandle(), newtexthandle(), and unmergehandles().

Here is the call graph for this function:

static boolean getsafetycushion void   )  [static]
 

Definition at line 67 of file memory.c.

References hsafetycushion, NewHandle, nil, and safetycushionsize.

boolean growhandlestream handlestream s,
long  ct
 

Definition at line 2304 of file memory.c.

References blocksize, newhandle(), nil, quantumize(), and sethandlesize().

Referenced by mergehandlestreamdata(), mergehandlestreamhandle(), writehandlestream(), writehandlestreamhandle(), and writehandlestreamhandlepart().

Here is the call graph for this function:

boolean haveheapspace long  size  ) 
 

Definition at line 325 of file memory.c.

References DisposeHandle, getnewhandle(), and nil.

Here is the call graph for this function:

boolean initmemory void   ) 
 

Definition at line 2680 of file memory.c.

References getsafetycushion(), safetycushionhook(), and shellpushmemoryhook().

Here is the call graph for this function:

boolean inserthandleinhandle Handle  hinsert,
Handle  h,
unsigned long  ix
 

Definition at line 1262 of file memory.c.

boolean insertinhandle Handle  hgrow,
long  ix,
ptrvoid  pdata,
long  ctgrow
 

Definition at line 1225 of file memory.c.

References clearbytes(), gethandlesize(), moveleft(), moveright(), nil, and sethandlesize().

Here is the call graph for this function:

boolean inserttextinhandle Handle  hgrow,
long  ix,
bigstring  bs
 

Definition at line 1256 of file memory.c.

References insertinhandle(), and stringlength.

Referenced by oplangtextvisit(), stringmultiplereplace(), xmladdtaggedvalue(), xmlfrontiervaltotaggedtext(), and xmlvaltostring().

Here is the call graph for this function:

byte lasthandlestreamcharacter handlestream s  ) 
 

Definition at line 2647 of file memory.c.

References handlestream::eof, and gethandlestreamcharacter().

Referenced by getnexttoken().

Here is the call graph for this function:

boolean loadfromhandle Handle  hload,
long ixload,
long  ctload,
ptrvoid  pdata
 

Definition at line 1552 of file memory.c.

boolean loadfromhandletohandle Handle  hload,
long ixload,
long  ctload,
boolean  fltemp,
Handle hnew
 

Definition at line 1637 of file memory.c.

References disposehandle(), getnewhandle(), loadfromhandle(), memoryerror(), and nil.

Here is the call graph for this function:

boolean loadhandleremains long  ix,
Handle  hsource,
Handle hdest
 

Definition at line 1677 of file memory.c.

References gethandlesize(), and loadfromhandletohandle().

Here is the call graph for this function:

boolean loadlongfromdiskhandle Handle  hload,
long ixload,
long x
 

Definition at line 1699 of file memory.c.

References loadfromhandle().

Here is the call graph for this function:

void lockhandle Handle  h  ) 
 

Definition at line 367 of file memory.c.

boolean mergehandles Handle  h1,
Handle  h2,
Handle hmerged
 

Definition at line 2035 of file memory.c.

References disposehandle(), gethandlesize(), getnewhandle(), memoryerror(), moveleft(), moveright(), nil, and resizehandle().

Here is the call graph for this function:

boolean mergehandlestreamdata handlestream s,
long  ctreplace,
ptrvoid  pdata,
long  ctmerge
 

Definition at line 2438 of file memory.c.

References handlestream::eof, growhandlestream(), moveleft(), and moveright().

Referenced by dbinsertavailshadow(), dbsetavailshadow(), mergehandlestreamhandle(), mergehandlestreamstring(), and textfindreplace().

Here is the call graph for this function:

boolean mergehandlestreamhandle handlestream s,
long  ctreplace,
Handle  hmerge
 

Definition at line 2468 of file memory.c.

References disposehandle(), handlestream::eof, gethandlesize(), growhandlestream(), and mergehandlestreamdata().

Referenced by glossarypatcherverb(), and neutermacros().

Here is the call graph for this function:

boolean mergehandlestreamstring handlestream s,
long  ctreplace,
bigstring  bsmerge
 

Definition at line 2495 of file memory.c.

References mergehandlestreamdata(), and stringlength.

Referenced by autoparagraphs(), htmlcleanforexport(), neutermacros(), neutertags(), and wpnormalizelineendings().

Here is the call graph for this function:

boolean minhandlesize Handle  h,
long  size
 

Definition at line 506 of file memory.c.

void movefromhandle Handle  h,
ptrvoid  pdest,
long  length
 

Definition at line 635 of file memory.c.

References moveleft(), and nil.

Here is the call graph for this function:

void moveleft ptrvoid  psource,
ptrvoid  pdest,
long  length
 

Definition at line 515 of file memory.c.

void moveright ptrvoid  psource,
ptrvoid  pdest,
long  length
 

Definition at line 561 of file memory.c.

boolean mungehandle Handle  hmunge,
long  ixmunge,
long  ctmunge,
ptrvoid  pinsert,
long  ctinsert
 

Definition at line 1343 of file memory.c.

References insertinhandle(), min, moveleft(), nil, pullfromhandle(), and sgn.

Here is the call graph for this function:

boolean newclearhandle long  size,
Handle hreturned
 

Definition at line 704 of file memory.c.

boolean newemptyhandle Handle h  ) 
 

Definition at line 437 of file memory.c.

boolean newfilledhandle ptrvoid  pdata,
long  size,
Handle hreturned
 

Definition at line 730 of file memory.c.

boolean newgrowinghandle long  size,
Handle h
 

Definition at line 820 of file memory.c.

References getidealchunksize(), getnewhandle(), newhandle(), nil, and SetHandleSize.

Referenced by opoutlinetonewtextscrap(), and oppack().

Here is the call graph for this function:

boolean newhandle long  size,
Handle h
 

Definition at line 422 of file memory.c.

References getnewhandle(), memoryerror(), and nil.

Here is the call graph for this function:

boolean newheapstring const bigstring  bs,
hdlstring hstring
 

Definition at line 1467 of file memory.c.

References newfilledhandle().

Here is the call graph for this function:

boolean newintarray short  ct,
hdlintarray harray
 

Definition at line 2228 of file memory.c.

boolean newtexthandle const bigstring  bs,
Handle htext
 

Definition at line 1195 of file memory.c.

References getnewhandle(), memoryerror(), moveleft(), nil, and stringlength.

Here is the call graph for this function:

byte nexthandlestreamcharacter handlestream s  ) 
 

Definition at line 2641 of file memory.c.

References gethandlestreamcharacter(), and handlestream::pos.

Referenced by getnexttoken(), neutermacros(), neutertags(), and wpnormalizelineendings().

Here is the call graph for this function:

void openhandlestream Handle  h,
handlestream s
 

Definition at line 2296 of file memory.c.

References gethandlesize().

Referenced by base64decodehandle(), datenetstandardstring(), dbshadowavaillist(), dropnonalphasverb(), expandurlsverb(), getnexttoken(), glossarypatcherverb(), hashpacktable(), hashstatsverb(), htmlcalendardrawverb(), htmlcleanforexport(), indexpageverb(), iso8859encodeverb(), listtostring(), neutermacros(), neutertags(), opgetlangtext(), opgetlinetext(), opgetsuboutlineverb(), opoutlinetotextscrap(), oppack(), optextscraptooutline(), opunpack(), outscrapvisit(), processhtmlmacrosverb(), rundirectivesverb(), stripmarkupverb(), textfindreplace(), webserverbuildresponse(), wpinserttexthandle(), wpnormalizelineendings(), xmlcompile(), xmldecompile(), and xmlfrontiervaltotaggedtext().

Here is the call graph for this function:

boolean popfromhandle Handle  hpop,
long  ctpop,
ptrvoid  pdata
 

Definition at line 1710 of file memory.c.

boolean prepareforgrowing Handle  h  ) 
 

Definition at line 852 of file memory.c.

boolean pullfromhandle Handle  h,
long  ix,
long  ct,
ptrvoid  pdata
 

Definition at line 1282 of file memory.c.

References gethandlesize(), moveleft(), nil, and sethandlesize().

Here is the call graph for this function:

boolean pullfromhandlestream handlestream s,
long  ctpull,
void *  pdata
 

Definition at line 2514 of file memory.c.

References moveleft(), and nil.

Referenced by dbdeleteavailshadow(), getnexttoken(), rundirectivesverb(), streamdropnonalphas(), and stripmarkup().

Here is the call graph for this function:

boolean pushcharhandle char  ch,
Handle  htext
 

Definition at line 1380 of file memory.c.

References gethandlesize(), and sethandlesize().

Here is the call graph for this function:

boolean pushhandle Handle  hsource,
Handle  hdest
 

Definition at line 1525 of file memory.c.

References gethandlesize(), moveleft(), nil, and sethandlesize().

Here is the call graph for this function:

boolean pushlongondiskhandle long  x,
Handle  hpush
 

Definition at line 1691 of file memory.c.

References enlargehandle().

Here is the call graph for this function:

boolean pushstringhandle const bigstring  bs,
Handle  htext
 

Definition at line 1399 of file memory.c.

References enlargehandle().

Here is the call graph for this function:

boolean pushtexthandle const bigstring  bs,
Handle  htext
 

Definition at line 1412 of file memory.c.

References enlargehandle(), and stringlength.

Here is the call graph for this function:

boolean readhandlestream handlestream s,
void *  p,
long  ct
 

Definition at line 2501 of file memory.c.

References moveleft().

Referenced by intablevisit(), opunpack(), opunpackversion2(), and wpinserttexthandle().

Here is the call graph for this function:

boolean readhandlestreamfield handlestream s,
byte  chdelimiter,
bigstring  bsfield
 

Definition at line 2616 of file memory.c.

References isemptystring, and texttostring().

Referenced by getnexttoken().

Here is the call graph for this function:

boolean readhandlestreamfieldtohandle handlestream s,
byte  chdelimiter,
Handle hreturned
 

Definition at line 2596 of file memory.c.

References fl, and loadfromhandletohandle().

Referenced by getnexttoken().

Here is the call graph for this function:

static boolean resizehandle Handle  hresize,
long  size
[static]
 

Definition at line 224 of file memory.c.

References flholdsafetycushion, gethandlesize(), getsafetycushion(), hsafetycushion, MemError, nil, noErr, NULL, and SetHandleSize.

Referenced by mergehandles(), and sethandlesize().

Here is the call graph for this function:

static boolean safetycushionhook long ctbytesneeded  )  [static]
 

Definition at line 76 of file memory.c.

References DisposeHandle, flholdsafetycushion, hsafetycushion, nil, and safetycushionsize.

Referenced by initmemory().

long searchhandle Handle  hsearch,
Handle  hpattern,
long  ixstart,
long  ixlimit
 

Definition at line 999 of file memory.c.

References gethandlesize(), min, and nil.

Here is the call graph for this function:

long searchhandleunicase Handle  hsearch,
Handle  hpattern,
long  ixstart,
long  ixlimit
 

Definition at line 1064 of file memory.c.

References gethandlesize(), getlower, min, and nil.

Referenced by textfindreplace().

Here is the call graph for this function:

long seekhandlestreamchar handlestream s,
byte  chseek
 

Definition at line 2573 of file memory.c.

boolean sethandlecontents ptrvoid  pdata,
long  ctset,
Handle  hset
 

Definition at line 1129 of file memory.c.

boolean sethandlesize Handle  h,
long  size
 

Definition at line 490 of file memory.c.

boolean setheapstring const bigstring  bs,
hdlstring  hstring
 

Definition at line 1478 of file memory.c.

References sethandlecontents(), and stringlength.

Here is the call graph for this function:

boolean setintarray hdlintarray  harray,
short  ix,
short  val
 

Definition at line 2243 of file memory.c.

long skiphandlestreamchars handlestream s,
byte  chskip
 

Definition at line 2536 of file memory.c.

Referenced by opgetlinetext().

boolean skiphandlestreamwhitespace handlestream s  ) 
 

Definition at line 2559 of file memory.c.

Referenced by getnexttoken().

boolean testheapspace long  size  ) 
 

Definition at line 350 of file memory.c.

void texthandletostring Handle  htext,
bigstring  bs
 

Definition at line 1153 of file memory.c.

References gethandlesize(), nil, setemptystring, and texttostring().

Here is the call graph for this function:

void texttostring ptrvoid  ptext,
long  ctchars,
bigstring  bs
 

Definition at line 1140 of file memory.c.

References lenbigstring, moveleft(), and setstringlength.

Here is the call graph for this function:

void unlockhandle Handle  h  ) 
 

Definition at line 373 of file memory.c.

boolean unmergehandles Handle  hmerged,
Handle hfirst,
Handle hsecond
 

Definition at line 2148 of file memory.c.

References disposehandle(), error, gethandlesize(), getnewhandle(), memoryerror(), moveleft(), nil, and sethandlesize().

Here is the call graph for this function:

boolean validhandle Handle  h  ) 
 

Definition at line 379 of file memory.c.

References frontierSize(), GetHandleSize, MemError, nil, and noErr.

Here is the call graph for this function:

boolean writehandlestream handlestream s,
void *  p,
long  ct
 

Definition at line 2337 of file memory.c.

References growhandlestream(), max, moveleft(), and handlestream::pos.

Referenced by base64decodehandle(), datenetstandardstring(), dbshadowavaillist(), hashpackbinary(), hashpackdata(), hashpackexternal(), hashpackscalar(), hashpackstring(), hashpacktable(), hashpackvisit(), oppack(), outtablevisit(), writehandlestreamchar(), writehandlestreamhandle(), writehandlestreamhandlepart(), writehandlestreamlong(), and writehandlestreamstring().

Here is the call graph for this function:

boolean writehandlestreamchar handlestream s,
byte  ch
 

Definition at line 2361 of file memory.c.

References writehandlestream().

Referenced by addclassattribute(), addday(), datenetstandardstring(), hashstatsverb(), listtostring(), opgetlinetext(), outtextvisit(), pushdiskchar(), webserverbuildresponse(), writehandlestreamhandleindent(), and writehandlestreamstringindent().

Here is the call graph for this function:

boolean writehandlestreamhandle handlestream s,
Handle  h
 

Definition at line 2373 of file memory.c.

References gethandlesize(), growhandlestream(), handlestream::pos, and writehandlestream().

Referenced by addclassattribute(), addday(), adddaynamesrow(), adddayrows(), addmonthyearrow(), hashpackbinary(), hashpackexternal(), hashpackscalar(), openoutertable(), opgetlangtext(), oplangtextvisit(), outtablevisit(), outtextvisit(), webserverbuildresponse(), writehandlestreamhandleindent(), writetableitemtostreamvisit(), and xmladdstring().

Here is the call graph for this function:

boolean writehandlestreamhandleindent handlestream s,
Handle  h,
long  i
 

Definition at line 2404 of file memory.c.

References writehandlestreamchar(), and writehandlestreamhandle().

Referenced by opgetsuboutlinevisit(), xmladdtaggedvalue(), and xmlfrontiervaltotaggedtext().

Here is the call graph for this function:

boolean writehandlestreamhandlepart handlestream s,
Handle  h,
long  ix,
long  len
 

Definition at line 2387 of file memory.c.

References gethandlesize(), growhandlestream(), handlestream::pos, and writehandlestream().

Here is the call graph for this function:

boolean writehandlestreamlong handlestream s,
long  x
 

Definition at line 2352 of file memory.c.

References bigstring, numbertostring(), stringlength, and writehandlestream().

Referenced by hashstatsverb().

Here is the call graph for this function:

boolean writehandlestreamstring handlestream s,
bigstring  bs
 

Definition at line 2367 of file memory.c.

References stringlength, and writehandlestream().

Referenced by addclassattribute(), addday(), adddaynamesrow(), adddayrows(), addmonthyearrow(), datenetstandardstring(), hashstatsverb(), htmlcalendardraw(), listtostring(), openoutertable(), opgetlangtext(), oplangtextvisit(), outtextvisit(), pushdiskchar(), webserverbuildresponse(), writehandlestreamstringindent(), writetableitemtostreamvisit(), and xmladdstring().

Here is the call graph for this function:

boolean writehandlestreamstringindent handlestream s,
bigstring  bs,
long  i
 

Definition at line 2421 of file memory.c.

References writehandlestreamchar(), and writehandlestreamstring().

Referenced by xmladdtaggedvalue(), and xmlfrontiervaltotaggedtext().

Here is the call graph for this function:


Variable Documentation

boolean flholdsafetycushion = false [static]
 

Definition at line 64 of file memory.c.

Referenced by getnewhandle(), resizehandle(), and safetycushionhook().

Handle hsafetycushion = nil [static]
 

Definition at line 62 of file memory.c.

Referenced by getnewhandle(), getsafetycushion(), resizehandle(), and safetycushionhook().


Generated on Wed Jun 7 08:01:03 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6