memory.h File Reference

#include "shelltypes.h"

Include dependency graph for memory.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  handlestream

Defines

#define memoryinclude
#define isemptyhandle(h)   (gethandlesize(h)==0)

Typedefs

typedef handlestreamptrhandlestream

Functions

boolean newhandle (long, Handle *)
boolean newemptyhandle (Handle *)
void disposehandle (Handle)
boolean newclearhandle (long, Handle *)
boolean newfilledhandle (ptrvoid, long, Handle *)
boolean copyhandle (Handle, Handle *)
boolean newtexthandle (const bigstring, Handle *)
boolean newheapstring (const bigstring, hdlstring *)
boolean concathandles (Handle, Handle, Handle *)
boolean mergehandles (Handle, Handle, Handle *)
boolean unmergehandles (Handle, Handle *, Handle *)
boolean newintarray (short, hdlintarray *)
boolean loadfromhandletohandle (Handle, long *, long, boolean, Handle *)
boolean loadhandleremains (long, Handle, Handle *)
boolean analyzeheap (void)
boolean haveheapspace (long)
boolean testheapspace (long)
void lockhandle (Handle)
void unlockhandle (Handle)
boolean validhandle (Handle)
long gethandlesize (Handle)
boolean sethandlesize (Handle, long)
boolean minhandlesize (Handle, long)
void moveleft (ptrvoid, ptrvoid, long)
void moveright (ptrvoid, ptrvoid, long)
void clearbytes (ptrvoid, long)
void clearhandle (Handle)
void movefromhandle (Handle, ptrvoid, long)
short comparehandles (Handle, Handle)
boolean equalhandles (Handle, Handle)
long searchhandle (Handle, Handle, long, long)
long searchhandleunicase (Handle, Handle, long, long)
boolean sethandlecontents (ptrvoid, long, Handle)
void texttostring (ptrvoid, long, bigstring)
void texthandletostring (Handle, bigstring)
boolean insertinhandle (Handle, long, ptrvoid, long)
boolean inserttextinhandle (Handle, long, bigstring)
boolean inserthandleinhandle (Handle hinsert, Handle h, unsigned long ix)
boolean pullfromhandle (Handle, long, long, ptrvoid)
boolean enlargehandle (Handle, long, ptrvoid)
boolean mungehandle (Handle, long, long, ptrvoid, long)
boolean pushtexthandle (const bigstring, Handle)
boolean pushindentedline (short, bigstring, Handle)
boolean setheapstring (const bigstring, hdlstring)
boolean pushhandle (Handle, Handle)
boolean pushcharhandle (char, Handle)
boolean pushstringhandle (const bigstring, Handle)
boolean loadfromhandle (Handle, long *, long, ptrvoid)
boolean pushlongondiskhandle (long, Handle)
boolean loadlongfromdiskhandle (Handle, long *, long *)
boolean popfromhandle (Handle, long, ptrvoid)
boolean copyhandlecontents (Handle, Handle)
boolean setintarray (hdlintarray, short, short)
boolean getintarray (hdlintarray, short, short *)
void fillintarray (hdlintarray, short)
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 *, void *, long)
boolean pullfromhandlestream (handlestream *s, long ctpull, void *pdata)
long skiphandlestreamchars (handlestream *s, byte chskip)
boolean skiphandlestreamwhitespace (handlestream *)
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)


Define Documentation

#define isemptyhandle h   )     (gethandlesize(h)==0)
 

Definition at line 52 of file memory.h.

Referenced by oplangtextvisit().

#define memoryinclude
 

Definition at line 29 of file memory.h.


Typedef Documentation

typedef struct handlestream * ptrhandlestream
 


Function Documentation

boolean analyzeheap void   ) 
 

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  ,
long 
 

Definition at line 602 of file memory.c.

Referenced by adjustmenus(), alloctreenodeblock(), appletinitmanagers(), assignxmltoken(), ccinitwindowinfo(), ccsavefile(), claygetfileinfo(), claygetfilespec(), claytabletolayout(), clayunpacklinelayout(), cleardynamicarrayelement(), coercetofilespec(), datetimetoseconds(), dbflushheader(), defaultselectioninfo(), directorytopath(), diskloop(), disposehandlestream(), disposexmltoken(), dllcallverb(), expandurlsverb(), extDoScript(), filedialogverb(), fileexists(), filegetdiskicon(), filegetinfo(), filegetinfofrompb(), filegetlabelinfo(), filegetvolumeinfo(), filegetvolumename(), fileparsevolname(), filesetdefaultpath(), filterevent(), findApp(), findapplication(), findapplicationverb(), findapponanydisk(), findrunningapp(), foldercontainsalias(), freetreenode(), fullpathstats(), fwsNetEventLaunch(), getapplicationfilespec(), getappwindowfilespec(), getconfigrecord(), getfilecomment(), getfsvolume(), getinfofromvolpb(), getmacfileinfo(), getscrollbarinfo(), handlemenu(), hashpacktable(), hashpackvisit(), initconfigrecord(), initIOAcomponents(), initlangcomponents(), initmacintosh(), initparamblock(), initpopuprecord(), initprint(), initprocessthread(), initscrap(), initstrings(), insertinhandle(), keyboardpeek(), langdialogsetselectioninfo(), langipcbrowsenetwork(), langipcbuildmessage(), langnewexternalvariable(), launchApp(), launchappwithdoc(), main(), mebuildmenu(), mecmdkeypopup(), meexportscrap(), mesavemenurecord(), newchildwindow(), newclearhandle(), newfilewindow(), newoutlinevariable(), newxmltoken(), notifyuser(), nullsforallvisit(), odbNewFile(), odbSaveFile(), opdraggingmove(), openforkforcopy(), opgetrefcon(), oppack(), oppacklist(), opsetselectioninfo(), opunpacklist(), outtablevisit(), PathNameFromWD(), pathtofilespec(), pictpack(), processloop(), putscrap(), removefromdynamicarray(), saveappwindowinfo(), setfilecomment(), sfdialog(), shelladjustmenus(), shellhandlemenu(), shellinit(), shellinitmenus(), shellinitprint(), shellnew(), shellopen(), shellresetwindowrects(), stringtotime(), tablebeforeprintpage(), tablemakenewvalue(), tablepackformats(), tablesetextrainfo(), targettoprocessinfo(), unpackobject(), windowgetfspec(), wppackheader(), wpsetselectioninfo(), and xcmdcallback().

void clearhandle Handle   ) 
 

Definition at line 612 of file memory.c.

References fillchar(), and gethandlesize().

Referenced by newclearhandle(), newhashtable(), scriptnewprocess(), and statscompute().

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  ,
Handle 
 

Definition at line 948 of file memory.c.

References gethandlesize(), min, and sgn.

Referenced by equalhandles(), GTvalue(), LTvalue(), and mathfunctionvalue().

Here is the call graph for this function:

boolean concathandles Handle  ,
Handle  ,
Handle
 

Definition at line 1995 of file memory.c.

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

Referenced by addvalue().

Here is the call graph for this function:

boolean copyhandle Handle  ,
Handle
 

Definition at line 917 of file memory.c.

Referenced by addday(), adddaynamesrow(), askfilter(), binarytodesc(), callcompiledscript(), cmdloadstring(), cmdsavestring(), copyvaluerecord(), dbwriteshadowavaillist(), editgettexthandlecopy(), fwsruncallback(), getcardtexthandle(), getCardValueCopy(), getdayofweekstring(), getexempttextvalue(), getmonthstring(), getresourcehandle(), langdialogcopy(), langerrorset(), langipcgetmenuhandle(), langpackfileval(), langunpackfileval(), listaddvalue(), loadsmallicon(), opcopyheadrecord(), opcopylist(), opcopyoutlinerecord(), opcopyrefconroutine(), openscriptcomponent(), opflatfind(), opfunctionvalue(), opgetrefconverb(), opinserthandle(), oplangtextvisit(), opxmlbodyvisit(), opxmlgetwindowexpansionstate(), osaCompile(), osacompiledesc(), osaLoad(), pictcopy(), pictpaste(), pictverbgetpicture(), pictverbnew(), pictverbsetpicture(), preparseScript(), recalcclone(), replacecardtexthandle(), returnNamedValueVisit(), setcardtexthandle(), setCardValueCopy(), stealbinaryhandle(), stringtolist(), stringtoobjspec(), subtractvalue(), tableexporttextscrap(), tablegetscrapvalue(), tablegetvaluescrap(), tablegetwpedittext(), tablepasteroutine(), tableruncursor(), webserverlocateresponder(), webserverprocessfirstline(), webserverreadrequest(), wpverbmemorypack(), and xcmdcallback().

boolean copyhandlecontents Handle  ,
Handle 
 

Definition at line 1725 of file memory.c.

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

Referenced by cmdsavestring(), langdialogpaste(), opxmlgetheadlinetextfromatts(), opxmlgetonevalue(), and pictverbsetpicture().

Here is the call graph for this function:

void disposehandle Handle   ) 
 

Definition at line 444 of file memory.c.

Referenced by aboutdisposerecord(), addday(), adddaynamesrow(), adddayrows(), addHeaderToTable(), addmenucommandverb(), addmonthyearrow(), adjustwindowmenu(), ansitoutf8(), appsetmessage(), base64decodeverb(), base64encodeverb(), binarytodesc(), browsernewwindow(), callvolatile(), cardFastScript(), ccmsg(), ccunblockmsg(), checkobjectnamevisit(), closeCardWindow(), closeIOAcomponents(), closelangcomponents(), closeosaservers(), coercetostring(), commentdeleteverb(), consumetexthandle(), converttextencoding(), copy(), copyonefile(), copyvaluedata(), dbclosefile(), dbcopy(), dbdispose(), dbflushreleasestack(), dbwriteshadowavaillist(), dbzeroreleasestack(), decompilespecialtable(), decompilevisit(), deleteresource(), disposeappwindow(), disposecancoonrecord(), disposecomponentglobals(), disposedynamicarray(), disposehandlestream(), disposehashnode(), disposemenubarlist(), disposemenulist(), disposeobject(), disposepalette(), disposepopupdata(), disposeprintinfo(), disposeprocess(), disposeprocesslist(), disposerecord(), disposeshellwindowinfo(), disposetableformats(), disposetemphandle(), disposetextdata(), disposethreadglobals(), disposeundostack(), disposevaluerecord(), disposexmltoken(), editappwindow(), editclickbottleneck(), editdispose(), editnewbuffer(), editnewbufferfromhandle(), edittwostringbox(), editverb(), evaluatetry(), fifclosefile(), fifopenfile(), fifread(), fifreadfile(), filegetversion(), filereadhandle(), fillintemplate(), findlangcomponent(), freelibrary(), freeprocinfobuckets(), frontDeleteCardTable(), frontEditTable(), frontGetTable(), frontSetRuntimeCard(), fwscleanuplistener(), fwsNetEventListenStream(), fwsnewprocess(), getbinarylistdesc(), getcardtexthandle(), getnexttoken(), getnthresourceverb(), getobjectsize(), getosaserver(), getresourceverb(), getscrapverb(), getsearchparams(), getsubmenuvalue(), glossarypatcherverb(), groupvaluevisit(), hashflushcache(), hashpackexternal(), hashpackscalar(), hashpackvisit(), hashquicksort(), hashunpackexternal(), hashunpacktable(), htmlcalendardrawverb(), htmlneutermacrosverb(), htmlneutertagsverb(), htmlrunmacro(), indexpageverb(), inetdsupervisor(), initenvironment(), initlangcomponents(), iowadisposerecord(), iowasetbooleanvalue(), isoutlinescrap(), keystrokeedittext(), landgetintparam(), landgetlongparam(), landsystem7pushparam(), langassignaddressvalue(), langassignstringvalue(), langcompiletext(), langdialogcopy(), langdialogdispose(), langdialognewwindow(), langdisposetree(), langerrorcopy(), langerrordispose(), langerrornewwindow(), langerrorset(), langexternalcopyvalue(), langexternaldisposevariable(), langfunctionvalue(), langipccoerceparam(), langipcdisposemenuarray(), langipcfastgetobject(), langipchandletrapverb(), langipchandleverb(), langpacktree(), langpacktreevisit(), langpackvalue(), langpushlisttext(), langsetbinaryval(), langsetstringval(), langtablecopyvalue(), langunpackexternal(), langunpacktree(), langunpacktreenode(), langunpackvalue(), launchappwithdoc(), listaddvalue(), loadfromhandletohandle(), medisposemenubar(), medisposemenurecord(), meloadoutline(), meloadscriptoutline(), menewmenurecord(), menunewmenubar(), menuverbmemorypack(), menuverbnew(), mepackmenustructure(), mepackscriptvisit(), mergehandles(), mergehandlestreamhandle(), mesaveoutline(), meunpackmenustructure(), minicopy(), minidisposerecord(), miniloadstrings(), mininewwindow(), minisavestrings(), moveIntoCardWindow(), neutermacros(), newaboutwindow(), newappwindow(), newcancoonrecord(), newCardWindow(), newcomponentglobals(), newheapvalue(), newoutlinerecord(), newprocess(), newrecord(), newthreadglobals(), nilvaluesvisit(), notifyuser(), onestringdialog(), opcmdclick(), opcopylist(), opcopyoutlinerecord(), opdelete(), opdisposelist(), opdisposeoutline(), opemptyrefcon(), openappwindow(), openscriptcomponent(), opfunctionvalue(), opgetcodeverb(), opgetlangtext(), opgetlinetext(), opgetscrap(), opinvalscreenmap(), oplangtextvisit(), opnewheadrecord(), opnewlist(), opoutlinetonewtextscrap(), opoutlinetoxmlverb(), oppack(), oppacklist(), oppaste(), oppushhandle(), opreleaserefconvisit(), opreleasevisit(), opsetheadtext(), opsetlisthandle(), opsetrefconverb(), opundounlink(), opunpacklist(), opunshifthandle(), opverbinmemory(), opverbmemorypack(), opverbmemoryunpack(), opverbnew(), opverbpack(), opverbpacktotext(), opverbunload(), opwinloadfile(), opwinsavefile(), opxmlbodyvisit(), opxmlbuildhead(), opxmlgetonelongvalue(), opxmlgetoneshortvalue(), opxmlpushattributes(), opxmlpushcloudtag(), opxmlpushoneattribute(), opxmlpushonetag(), opxmlpushonetaglong(), opxmlpushoutlinetext(), opxmlsetrefcon(), opxmlsetwindowexpansionstate(), opxmltooutlinevisit(), osaCoerceFromDesc(), osacomponenterror(), osaDoEvent(), osaLoad(), osaregistercomponent(), osaRunSharedMenuItem(), osaStopRecording(), osaStore(), packiconsuite(), padwithzerosverb(), parseargsverb(), paste(), pastetext(), pictcopy(), pictdisposerecord(), pictundosetpict(), pictunpack(), pictverbinmemory(), pictverbmemorypack(), pictverbmemoryunpack(), pictverbnew(), pictverbpack(), postunpackfilter(), preparseScript(), processhtmlmacrosverb(), pushfunctioncall(), readverb(), recalcedittext(), recalcobjectvalue(), recalcpopup(), releaseheaptmp(), releasetemphandles(), replaceallinhandle(), replacecardtexthandle(), rundirectiveverb(), runlangscript(), saveappwindow(), saveiacdata(), scriptbuildtree(), serviceshandlercopy(), serviceshandlerpaste(), setbinaryvalue(), setcardpopup(), setcardpopupfromfolder(), setCardString(), setexemptaddressvalue(), setobjecterrormessage(), setobjectname(), setobjectrecalcscript(), setobjectscript(), setobjectvalue(), setpackedobject(), setparseparams(), setpopupattributes(), setradiotext(), settextattributes(), settextbehindbullets(), setwindowmessage(), shelldefaultsetundostatus(), shellexportscrap(), shellreadscrap(), statsdispose(), statsnewwindow(), stringfindreplace(), stringfunctionvalue(), stringmultiplereplace(), stringmultiplereplaceallverb(), stringreplaceverb(), sysfunctionvalue(), tableclienttitlepopuphit(), tablecopyroutine(), tablecopyverb(), tabledisposescrap(), tableexporttextscrap(), tablegetscrapvalue(), tablegetwpedittext(), tableloadsystemtable(), tablenewoutlinerecord(), tablenewtable(), tablepacktable(), tablesavesystemtable(), tablescraphook(), tablesetwpedittext(), tableunpacktable(), tableverbmemorypack(), tableverbpack(), textcommentdelete(), unloadprocinforesource(), unmergehandles(), unpackobject(), unpackpopupdata(), unpacktextdata(), utf8toansi(), webserveraddtoerrorlog(), webserverbuilderrorpage(), webserverbuilderrorpagefromstrings(), webservercallresponder(), webserverdispatch(), webservergetserverstring(), webservermethodnotallowed(), webserverprocessfirstline(), webserverreadrequest(), webserverserver(), winregcoercetofrontiertype(), winregwrite(), wpdisposerecord(), wpdisposevariable(), wpdisposevariablelist(), wpgetseltext(), wpgettext(), wpgettexthandle(), wpnewbuffer(), wppack(), wppaste(), wpsetname(), wpsettext(), wpunpackvariablelist(), wpverbinmemory(), wpverbmemorypack(), wpverbnew(), wpverbpack(), wpverbpacktotext(), wpverbunload(), xmladdtaggedvalue(), xmlfrontiervaltotaggedtext(), xmlfunctionvalue(), xmlstructtofrontiervalue(), and xmlvaltostring().

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  ,
long  ,
ptrvoid 
 

Definition at line 1307 of file memory.c.

Referenced by addmonthyearrow(), ancestorroutine(), claypacklinelayout(), copy(), dbpushreleasestack(), hashresolvevalue(), htmlcalendardraw(), langassignaddressvalue(), langpackdata(), packone(), pictpack(), pushhandle(), pushhandleonhandle(), pushlongondiskhandle(), pushstack(), pushstringhandle(), pushtexthandle(), pushtmpstackvalue(), setaddressencoding(), setexemptaddressvalue(), tablegetwpedittext(), tableverbpack(), wpgettexthandle(), and xcmdcallback().

boolean equalhandles Handle  ,
Handle 
 

Definition at line 988 of file memory.c.

Referenced by checkobjectnamevisit(), cmdsavestring(), equaldescriptors(), equaltrees(), EQvalue(), findbyrefconvisit(), langsettarget(), listsubtractvalue(), opsetheadtext(), replacecardtexthandle(), tablegetwpedittext(), tableverbpack(), and xmlcompile().

void fillintarray hdlintarray  ,
short 
 

Definition at line 2271 of file memory.c.

long gethandlesize Handle   ) 
 

Definition at line 481 of file memory.c.

Referenced by addday(), ansitoutf16(), ansitoutf8(), backslashdelete(), base64decodehandle(), base64encodehandle(), binarytoscalar(), bytestohex(), clearhandle(), coercebinaryval(), coercetoboolean(), comparehandles(), concathandles(), converttextencoding(), copyhandle(), copyhandlecontents(), countleadingchars(), cryptfunctionvalue(), daveNetMassager(), dballochandle(), dbassignhandle(), dbflushreleasestack(), dbreadshadowavaillist(), dbsavehandle(), dbwriteshadowavaillist(), decodehandle(), deleteinhandle(), editclickbottleneck(), edittwostringbox(), ellipsizehandle(), encodehandle(), enlargehandle(), fifwritehandle(), filereadresource(), filewritehandle(), fillintarray(), fwsNetEventInetdRead(), fwsNetEventReadStreamBytes(), fwsNetEventReadStreamUntil(), fwsNetEventReadStreamUntilClosed(), fwsNetEventWriteFileToStream(), fwsNetEventWriteHandleToStream(), getbinarynumber(), getnexttoken(), getscriptparentrefcon(), getvalidstringindex(), glossarypatcherverb(), grabnthfield(), handlebeginswith(), handlecontains(), handlehassuffix(), handlepopsuffix(), handlepoptrailingchars(), handlereplaceall(), handlesearch(), handletrimwhitespace(), hashflushcache(), hashgetvaluestring(), hashpackbinary(), hashpackexternal(), hashpackscalar(), hashunpacktable(), hextobytes(), htmlcalendardraw(), htmlcontrolnavigate(), htmlrundirective(), htmlrunmacro(), IACgetobjectattributes(), innercasehandle(), inserthandleinhandle(), insertinhandle(), isheadrecordhandle(), isoutlinetext(), langdialogpaste(), langfunctionvalue(), langgetvalsize(), langipccoerceparam(), langpackhandle(), langpacktreevisit(), langunpackhandle(), langunpackvalue(), latintomac(), loadbufferfromfile(), loadfromhandle(), loadhandleremains(), loadresource(), lowercasehandle(), mactolatin(), mergehandles(), mergehandlestreamhandle(), meunpackmenustructure(), minhandlesize(), nthfieldhandle(), numberfromhandle(), openhandlestream(), opgetrefcon(), oplangtextvisit(), oppacklist(), opsetrefcon(), opsetrefconverb(), opunpacklist(), opxmlgetwindowexpansionstate(), osaLoad(), outtablevisit(), padwithzerosverb(), parseargsverb(), parsedialoghandle(), parsesetscanstring(), pictpack(), pictverbgetsize(), popfromhandle(), popstack(), poptrailingwhitespacehandle(), pullfromhandle(), pushathandlestart(), pushcharhandle(), pushhandle(), pushhandleonhandle(), putscrap(), readverb(), resizehandle(), runoutlinedirectivesverb(), searchhandle(), searchhandleunicase(), serviceshandlercopy(), setbinarytypeid(), statscountreleasestack(), stringcomparevalue(), stringfunctionvalue(), stringmultiplereplace(), stringtolist(), stringtoobjspec(), subtractvalue(), tablefilltitlepopup(), tablesearchcellvalue(), tablesetitemname(), tableverbpack(), textfindreplace(), texthandletostring(), trimtrailingwhitespace(), truncatecstringhandle(), unmergehandles(), uppercasehandle(), urlsplit(), utf16toansi(), utf8toansi(), valtoobjspec(), visitmethods(), webserverbuildresponse(), webserverparsecookies(), webserverparseheaders(), webserverprocessfirstline(), webserverreadrequest(), winregdeletekey(), winregdeletevalue(), winregdowrite(), winreggetvalue(), winregiskey(), winregpullhkeyfromtext(), wordwraphandle(), wpapplyhtmlstyles(), wpgetpackedmaxpos(), wpgettext(), wppack(), wppaste(), wpunpacktext(), writehandlestreamhandle(), writehandlestreamhandlepart(), xmlconverttodisplayname(), and xmlgetpathaddress().

byte gethandlestreamcharacter handlestream s,
long  pos
 

Definition at line 2635 of file memory.c.

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

boolean getintarray hdlintarray  ,
short  ,
short
 

Definition at line 2263 of file memory.c.

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   ) 
 

Definition at line 325 of file memory.c.

References DisposeHandle, getnewhandle(), and nil.

Referenced by processscheduler(), and testheapspace().

Here is the call graph for this function:

boolean initmemory void   ) 
 

Definition at line 2680 of file memory.c.

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

Referenced by shellinitmemory().

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.

Referenced by glossarypatcherverb(), and parsedialoghandle().

boolean insertinhandle Handle  ,
long  ,
ptrvoid  ,
long 
 

Definition at line 1225 of file memory.c.

Referenced by coercetobinary(), decompilevisit(), enlargehandle(), getnthresourceverb(), getresourceverb(), getscrapverb(), htmlcalendardraw(), inserttextinhandle(), langaddapplescriptsyntax(), mungehandle(), oplangtextvisit(), opxmlsetwindowexpansionstate(), pushathandlestart(), setbinaryvalue(), stringfunctionvalue(), tablecopyroutine(), and tablegetwpedittext().

boolean inserttextinhandle Handle  ,
long  ,
bigstring 
 

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  ,
long ,
long  ,
ptrvoid 
 

Definition at line 1552 of file memory.c.

Referenced by athandlestreamstring(), clayunpacklinelayout(), getaddressparts(), getipcaddressvalue(), getnetaddress(), getstringfromhandle(), hashunpacktable(), langexternalmemoryunpack(), langexternalunpack(), langunpackdata(), langunpackstring(), loadfromhandletohandle(), loadfunctionprocessor(), loadlongfromdiskhandle(), meunpackmenustructure(), opunpacklist(), pictunpack(), stringfunctionvalue(), tableunpackformats(), tableunpackversion1formats(), and wpgetpackedmaxpos().

boolean loadfromhandletohandle Handle  ,
long ,
long  ,
boolean  ,
Handle
 

Definition at line 1637 of file memory.c.

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

Referenced by addHeaderToTable(), getnexttoken(), glossarypatcherverb(), grabnthfield(), hashunpackbinary(), hashunpackexternal(), hashunpackscalar(), issafemacro(), langunpackhandle(), loadhandleremains(), neutermacros(), nthfieldhandle(), opunpacklist(), pictunpack(), readhandlestreamfieldtohandle(), runoutlinedirectivesverb(), urlsplit(), webserverparsecookies(), webserverparseheaders(), webserverprocessfirstline(), and webserverreadrequest().

Here is the call graph for this function:

boolean loadhandleremains long  ,
Handle  ,
Handle
 

Definition at line 1677 of file memory.c.

References gethandlesize(), and loadfromhandletohandle().

Referenced by langipchandletrapverb(), menuverbmemoryunpack(), oplangtextvisit(), opverbmemoryunpack(), parseargsverb(), pictverbmemoryunpack(), tableverbmemoryunpack(), and wpverbmemoryunpack().

Here is the call graph for this function:

boolean loadlongfromdiskhandle Handle  ,
long ,
long
 

Definition at line 1699 of file memory.c.

References loadfromhandle().

Referenced by hashunpackbinary(), hashunpackexternal(), hashunpackscalar(), menuverbunpack(), opverbunpack(), pictverbunpack(), tableverbunpack(), and wpverbunpack().

Here is the call graph for this function:

void lockhandle Handle   ) 
 

Definition at line 367 of file memory.c.

Referenced by callprocwithparams(), cleartmpstack(), closelibrary(), copyheapstring(), cryptfunctionvalue(), dballochandle(), dbassignhandle(), dbcopy(), dbrefhandle(), dbsavehandle(), dbwriteshadowavaillist(), dllcallverb(), editdrawtexthandle(), editgetselectedtexthandle(), editnewbufferfromhandle(), editreplacehandle(), edittwostringbox(), executeresource(), fifreadfile(), filereadhandle(), fwsNetEventInetdRead(), fwsNetEventReadStreamBytes(), fwsNetEventReadStreamUntil(), fwsNetEventReadStreamUntilClosed(), fwsNetEventWriteFileToStream(), fwsNetEventWriteHandleToStream(), handlesearch(), hashquicksort(), hashresolvevalue(), initmenusystem(), initparamblock(), innercasehandle(), iowaunpack(), landgetlongparam(), langfunctionvalue(), langipchandletrapverb(), langpackhandle(), launchappwithdoc(), loadbufferfromfile(), opsetrefconverb(), pushhandleonhandle(), pushscrap(), putresourcehandle(), serviceshandlercopy(), serviceshandlerpaste(), stringfunctionvalue(), tablesetextrainfo(), textfindreplace(), unpackiconsuite(), unpacksingleobject(), unpackwordsolutionenginefile(), uppercasehandle(), winregdeletekey(), winregdeletevalue(), winregdowrite(), winreggethandlevalue(), and wppaste().

boolean mergehandles Handle  ,
Handle  ,
Handle
 

Definition at line 2035 of file memory.c.

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

Referenced by hashpacktable(), langpacktree(), mepackmenustructure(), and tablepacktable().

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  ,
long 
 

Definition at line 506 of file memory.c.

Referenced by setintarray().

void movefromhandle Handle  ,
ptrvoid  ,
long 
 

Definition at line 635 of file memory.c.

References moveleft(), and nil.

Here is the call graph for this function:

void moveleft ptrvoid  ,
ptrvoid  ,
long 
 

Definition at line 515 of file memory.c.

Referenced by addtodynamicarray(), binarytoscalar(), browserfindinsertionpoint(), bytestohex(), cardIsModal(), ccwindowsetuptableview(), concathandles(), convertpstring(), copyhandle(), copyhandlecontents(), copystring(), copythreadglobals(), decode(), decodehandle(), deleteinhandle(), deletestring(), editgettext(), enlargehandle(), filereadresource(), fillstring(), findrunningappvisit(), getcomponentdetails(), getresource(), handlejuggler(), hashunpackstring(), indexdynamicarray(), indynamicarray(), innercasehandle(), inserthandleinhandle(), insertinhandle(), iowaunpack(), langipcexpandnetaddress(), loadconfigresource(), loadfromhandle(), loadresource(), mergehandles(), mergehandlestreamdata(), midinsertstring(), midstring(), movefromhandle(), mungehandle(), newfilledhandle(), newtexthandle(), opgetrefcon(), oppack(), opsetrefcon(), ostypetostring(), parsepopcharconst(), picttextparse(), popfromhandle(), popnumber(), popstack(), preparseScript(), processhtmltext(), pullfromhandle(), pullfromhandlestream(), pushathandlestart(), pushhandle(), pushostype(), pushstring(), putscrap(), readhandlestream(), runlangscript(), sethandlecontents(), stringtoostype(), stringtopattern(), swapinthreadglobals(), tableafterprintpage(), tablebeginprint(), tableendprint(), tablegetextrainfo(), tablesetextrainfo(), texthandletostring(), texttostring(), unmergehandles(), unpackobject(), wordwraphandle(), wppackheader(), writehandlestream(), and xmlgetpathaddress().

void moveright ptrvoid  ,
ptrvoid  ,
long 
 

Definition at line 561 of file memory.c.

Referenced by convertcstring(), encodehandle(), insertchar(), inserthandleinhandle(), insertinhandle(), mergehandles(), mergehandlestreamdata(), midinsertstring(), padwithzerosverb(), and pushathandlestart().

boolean mungehandle Handle  ,
long  ,
long  ,
ptrvoid  ,
long 
 

Definition at line 1343 of file memory.c.

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

Referenced by opflatfind(), and tablesearchcellvalue().

Here is the call graph for this function:

boolean newclearhandle long  ,
Handle
 

Definition at line 704 of file memory.c.

Referenced by adjustwindowmenu(), browsernewwindow(), buildmenuarray(), dbinitverbs(), dbnew(), dbopenfile(), dbpushreleasestack(), dbrefhandle(), editnewbuffer(), editnewbufferfromhandle(), fifcomparefiles(), fifopenfile(), filereadhandle(), fwsNetEventLaunch(), fwsnewprocess(), getcomponentdetails(), getobjectsize(), initlang(), initosaservers(), initprint(), initprocess(), initscripts(), initstack(), intablevisit(), langdialognewwindow(), langerrornewwindow(), langerrorset(), langnewtreenode(), langpacktree(), menewmenubar(), menewmenurecord(), mesetupmenurecord(), mininewwindow(), moveIntoCardWindow(), newaboutwindow(), newappwindow(), newcancoonrecord(), newCardWindow(), newcomponentglobals(), newhashnode(), newhashtable(), newheaprecordvalue(), newintarray(), newlibrary(), newmenubarlist(), newoutlinerecord(), newpalette(), newprocess(), newprocesslist(), newprocinfo(), newrecord(), newshellwindowinfo(), newtableformats(), newthreadglobals(), opnewheadrecord(), opnewlist(), opnewscreenmap(), opstart(), osacomponentstart(), packiconsuite(), pictnewrecord(), pictunpack(), pushmenulist(), serviceshandlercopy(), serviceshandlerpaste(), setcardpopupfrommenu(), shellinitprint(), statsnewwindow(), wpnewbuffer(), and wppackheader().

boolean newemptyhandle Handle  ) 
 

Definition at line 437 of file memory.c.

Referenced by ansitoutf8(), base64decodeverb(), base64encodeverb(), coercetostring(), converttextencoding(), daveNetMassager(), getobjectvalue(), getscrapverb(), glossarypatcherverb(), grabnthfield(), inetdsupervisor(), initenvironment(), langpacktree(), mepackmenustructure(), nthfieldhandle(), opnewsummit(), opoutlinetoxml(), opreturnkey(), opxmlbuildhead(), opxmlgetonelongvalue(), opxmlgetoneshortvalue(), opxmlpushattributes(), opxmlpushoneattribute(), opxmlpushonetag(), opxmlpushonetaglong(), opxmlpushoutlinetext(), opxmlsetwindowexpansionstate(), opxmlsetwindowtitle(), opxmltooutlinevisit(), osaStartRecording(), shellreadscrap(), stringfunctionvalue(), sysfunctionvalue(), tableclienttitlepopuphit(), tableexporttextscrap(), tablesavesystemtable(), urlsplit(), utf8toansi(), webserverdispatch(), webservermethodnotallowed(), webserverparseheaders(), webserverprocessfirstline(), webserverreadrequest(), wpgetseltexthandle(), wpgettexthandle(), wppackvariablelist(), xmlstructtofrontiervalue(), and xmlvaltostring().

boolean newfilledhandle ptrvoid  ,
long  ,
Handle
 

Definition at line 730 of file memory.c.

Referenced by addcomponent(), addlangcomponent(), addosaserver(), addtodynamicarray(), cryptfunctionvalue(), dbopenverb(), editgetselectedtexthandle(), extDoScript(), extDoScriptText(), langexternalmemorypack(), langexternalpack(), langipcbrowsenetwork(), langnewexternalvariable(), langpackvalue(), langunpackfileval(), loadhandlefromhandle(), mepackmenustructure(), newheapstring(), newheapvalue(), newoutlinevariable(), newthread(), notifyuser(), oppacklist(), oppushdata(), opsetlistdata(), opsetrefcon(), opunlink(), parsepopnumber(), pictpack(), putresource(), stringfunctionvalue(), tablesetextrainfo(), unpackhandle(), unpackiconsuite(), unpackobject(), wpexportscrap(), wpgetseltexthandle(), wppacktext(), and xcmdcallback().

boolean newhandle long  ,
Handle
 

Definition at line 422 of file memory.c.

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

Referenced by bytestohex(), dbcopy(), fifreadfile(), growhandlestream(), hashquicksort(), hextobytes(), initmenusystem(), initstack(), langfunctionvalue(), langunpacktreenode(), largefilebuffer(), newemptyhandle(), newgrowinghandle(), opgetlinetext(), rundirectivesverb(), setbinaryvalue(), stringfunctionvalue(), and winregread().

Here is the call graph for this function:

boolean newheapstring const   bigstring,
hdlstring
 

Definition at line 1467 of file memory.c.

Referenced by ccmsg(), dbrefheapstring(), filegetlabelinfo(), hashunpacktable(), initstrings(), langassignaddressvalue(), langunpackstring(), newshellwindowinfo(), setexemptaddressvalue(), setwindowmessage(), shelldefaultsetundostatus(), and wpsetname().

boolean newintarray short  ,
hdlintarray
 

Definition at line 2228 of file memory.c.

boolean newtexthandle const   bigstring,
Handle
 

Definition at line 1195 of file memory.c.

Referenced by addday(), adddaynamesrow(), adddayrows(), addmenucommandverb(), addwebcomponent(), alertdialog(), appsetmessage(), autonameobject(), buildtexthandle(), cardcheckinit(), cardFastScript(), ccsavespecialfile(), cryptfunctionvalue(), datedayofweektostring(), datemonthtostring(), decompilespecialtable(), decompilevisit(), dockmenugetaddresscallback(), drawpopup(), edittwostringbox(), fillintemplate(), fwsgetcallbackcodetree(), getnexttoken(), getvalueedittext(), getvalueforscript(), glossarypatcherverb(), groupvaluevisit(), htmlrunmacro(), inetdaddtoerrorlog(), infodialog(), initenvironment(), iowagetbooleanvalue(), iowagetstringvalue(), langassignstringvalue(), langerrorcopy(), langexpandtodotparams(), langpushliststring(), langrunstring(), langscanner(), langsetstringval(), langtryerror(), langunpackfileval(), listtostring(), minicopy(), mrcalendarnavigateverb(), numbertotexthandle(), onestringdialog(), opaddheadline(), oppopupruncallbackscript(), opsetheadstring(), opxmlpushcloudtag(), osahandletrapverb(), processrunstring(), recalcobjectvalue(), replaceallinhandle(), replaceexistingdialog(), runlangscript(), scriptstringlookup(), setcardpopupfromfolder(), setCardString(), setcardstring(), shelldrawbutton(), stringfindreplace(), stringfunctionvalue(), stringmultiplereplace(), tablesetwpedittext(), textcommentdelete(), threewaydialog(), twowaydialog(), webserveraddtoerrorlog(), webserverbuilderrorpage(), webserverbuilderrorpagefromstrings(), webservergetserverstring(), webserverreadrequest(), winregwrite(), wpsettext(), xcmdcallback(), xmlfrontiervaltotaggedtext(), and xmlvaltostring().

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  ,
long  ,
ptrvoid 
 

Definition at line 1710 of file memory.c.

Referenced by backslashdelete(), getnexttoken(), htmlrunmacro(), paste(), tablesavesystemtable(), and wpunpack().

boolean pullfromhandle Handle  ,
long  ,
long  ,
ptrvoid 
 

Definition at line 1282 of file memory.c.

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

Referenced by binarytodesc(), coercebinaryval(), converttextencoding(), deleteinhandle(), getnexttoken(), getvalueedittext(), handlepopleadingchars(), handletrimwhitespace(), hashunpacktable(), htmlrundirective(), htmlrunmacro(), langipccoerceparam(), langipcpushparam(), langstriptextsyntax(), langunpacktreenode(), langunpackvalue(), mungehandle(), opunpacklist(), opxmlgetwindowexpansionstate(), parsedialoghandle(), pictverbsetpicture(), putresourceverb(), putscrapverb(), rundirectivesverb(), scriptcommentvisit(), setmenuitemcommandkey(), stringdeletevalue(), stripbinarytypeid(), subtractvalue(), tablegetscrapvalue(), tableverbpack(), utf16toansi(), utf8toansi(), webserverparsecookies(), webserverprocessfirstline(), winregdowrite(), winregpullhkeyfromtext(), and xmlconverttodisplayname().

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  ,
Handle 
 

Definition at line 1380 of file memory.c.

References gethandlesize(), and sethandlesize().

Here is the call graph for this function:

boolean pushhandle Handle  ,
Handle 
 

Definition at line 1525 of file memory.c.

References enlargehandle(), fl, gethandlesize(), HLock, HUnlock, and nil.

Referenced by addday(), addvalue(), decompilespecialtable(), decompilevisit(), getmonthurl(), langpacktreevisit(), menuverbmemorypack(), mepackscriptvisit(), oplangtextvisit(), oppacklist(), opverbmemorypack(), opverbpacktotext(), opxmlbuildtaggedstring(), opxmlpushhandleline(), opxmlpushoneattribute(), opxmlpushoutlinetext(), pictpack(), pictverbmemorypack(), pushhandleonhandle(), tableverbmemorypack(), webserverbuilderrorpagefromstrings(), wppack(), wpverbmemorypack(), wpverbpacktotext(), and xmlvaltostring().

Here is the call graph for this function:

boolean pushindentedline short  ,
bigstring  ,
Handle 
 

boolean pushlongondiskhandle long  ,
Handle 
 

Definition at line 1691 of file memory.c.

References enlargehandle().

Referenced by menuverbpack(), opverbpack(), pictverbpack(), and wpverbpack().

Here is the call graph for this function:

boolean pushstringhandle const   bigstring,
Handle 
 

Definition at line 1399 of file memory.c.

References enlargehandle().

Here is the call graph for this function:

boolean pushtexthandle const   bigstring,
Handle 
 

Definition at line 1412 of file memory.c.

Referenced by addday(), addmonthyearrow(), buildtexthandle(), cardFastScript(), daveNetMassager(), decompilespecialtable(), decompilevisit(), edittwostringbox(), fifwriteline(), getmonthurl(), getnexttoken(), glossarypatcherverb(), groupvaluevisit(), iowagetstringvalue(), langvaluetotextscrap(), listtostring(), oplangtextvisit(), opxmlbodyvisit(), opxmlbuildhead(), opxmlbuildtaggedstring(), opxmlpushattributes(), opxmlpushcloudtag(), opxmlpushhandleline(), opxmlpushindents(), opxmlpushoneattribute(), opxmlpushonetaglong(), opxmlpushoutlinetext(), opxmlpushstringindented(), opxmlpushstringline(), opxmlsetwindowexpansionstate(), pictverbpacktotext(), runlangscript(), sendrecordedtextevent(), setcardpopupfrommenu(), setpopupfoldervisit(), tablepacktotextvisit(), visitmethods(), webserverbuilderrorpagefromstrings(), xmladdtaggedvalue(), xmlfrontiervaltotaggedtext(), and xmlvaltostring().

boolean readhandlestream handlestream ,
void *  ,
long 
 

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:

long searchhandle Handle  ,
Handle  ,
long  ,
long 
 

Definition at line 999 of file memory.c.

References gethandlesize(), i, and min.

Referenced by fwsNetEventReadStreamUntil(), handlehassuffix(), stringcomparevalue(), stringfunctionvalue(), subtractvalue(), textcommentdelete(), textfindreplace(), and webserverreadrequest().

Here is the call graph for this function:

long searchhandleunicase Handle  ,
Handle  ,
long  ,
long 
 

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  ,
long  ,
Handle 
 

Definition at line 1129 of file memory.c.

Referenced by getscrap(), hashunpacktable(), initenvironment(), opsetactualheadstring(), putresource(), setaddressencoding(), setheapstring(), stringtopattern(), stringtorect(), stringtorgb(), and textcommentdelete().

boolean sethandlesize Handle  ,
long 
 

Definition at line 490 of file memory.c.

Referenced by ansitoutf16(), ansitoutf8(), base64decodehandle(), base64encodehandle(), callprocwithparams(), closehandlestream(), converttextencoding(), copyhandlecontents(), decodehandle(), deleteinhandle(), ellipsizehandle(), encodehandle(), enlargehandle(), fwsNetEventInetdRead(), fwsNetEventReadStreamBytes(), fwsNetEventReadStreamUntil(), fwsNetEventReadStreamUntilClosed(), getdayofweekstring(), getnexttoken(), growhandlestream(), handlepopsuffix(), handlepoptrailingchars(), handletrimwhitespace(), hashsetnodekey(), initenvironment(), inserthandleinhandle(), insertinhandle(), minhandlesize(), oplangtextvisit(), opsetrefcon(), osaLoad(), padwithzerosverb(), popfromhandle(), popstack(), poptrailingwhitespacehandle(), preparseScript(), pullfromhandle(), pushathandlestart(), pushcharhandle(), pushhandle(), sethandlecontents(), tableverbpack(), textcommentdelete(), trimtrailingwhitespace(), truncatecstringhandle(), unmergehandles(), utf16toansi(), utf8toansi(), webserverparsecookies(), webserverprocessfirstline(), webserverreadrequest(), winregdeletekey(), winregdeletevalue(), winregdowrite(), winreggetvalue(), wordwraphandle(), and wpunpack().

boolean setheapstring const   bigstring,
hdlstring 
 

Definition at line 1478 of file memory.c.

References sethandlecontents(), and stringlength.

Referenced by hashresolvevalue(), and shellsetwindowtitle().

Here is the call graph for this function:

boolean setintarray hdlintarray  ,
short  ,
short 
 

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  ) 
 

Definition at line 2559 of file memory.c.

Referenced by getnexttoken().

boolean testheapspace long   ) 
 

Definition at line 350 of file memory.c.

Referenced by browserexpandvisit(), buildlaunchparamlist(), meunpackmenustructure(), opunpack(), and osahandlerunscript().

void texthandletostring Handle  ,
bigstring 
 

Definition at line 1153 of file memory.c.

Referenced by appdrawmessage(), appinfovisit(), appsetmessage(), autonamevisit(), callcompiledscript(), consumetexthandle(), filemenufunctionvalue(), frontDeleteCardTable(), frontEditTable(), frontGetTable(), frontSetRuntimeCard(), frontStartCard(), getcardstring(), getipcaddressvalue(), getlangmenu(), getmachinename(), getmainmenuvalue(), getnexttoken(), getobjectnamestring(), handlerecordableevent(), htmlrunmacro(), IACgetcardattributes(), initenvironment(), iowasetbooleanvalue(), landgetstringparam(), langfunctionvalue(), langipcgeterrorstring(), langrunhandle(), langscanner(), langsystem7accessobject(), mapkeyvisit(), newCardWindow(), onestringdialog(), opgetheadstring(), opxmlgetonelongvalue(), opxmlgetoneshortvalue(), opxmlsetcommentandbreakpoint(), opxmlsetwindowtitle(), osacomponenterror(), osaDebug(), osaRunSharedMenuItem(), pullstringvalue(), pushfunctioncall(), returnNamedValueVisit(), runlangscript(), stringtoalias(), tablegetwpedittext(), texthandletonumber(), webserverprocessfirstline(), windowopencommand(), winregdelete(), winreggetkeytype(), winreggetvalue(), winreggetvaluelength(), winreggetvaluetype(), winregwrite(), wpgetseltext(), wpgettext(), and xmlcompile().

void texttostring ptrvoid  ,
long  ,
bigstring 
 

Definition at line 1140 of file memory.c.

References lenbigstring, moveleft(), and setstringlength.

Referenced by addHeaderToTable(), fwsNetEventReadStream(), indexpage(), nthfield(), nthword(), readhandlestreamfield(), texthandletostring(), webserverparsecookies(), webserverprocessfirstline(), and xcmdcallback().

Here is the call graph for this function:

void unlockhandle Handle   ) 
 

Definition at line 373 of file memory.c.

Referenced by callprocwithparams(), cleartmpstack(), closelibrary(), copyheapstring(), cryptfunctionvalue(), dballochandle(), dbassignhandle(), dbcopy(), dbrefhandle(), dbsavehandle(), dbwriteshadowavaillist(), editdrawtexthandle(), editgetselectedtexthandle(), editnewbufferfromhandle(), editreplacehandle(), edittwostringbox(), executeresource(), fifreadfile(), filereadhandle(), freeparamblock(), fwsNetEventInetdRead(), fwsNetEventReadStreamBytes(), fwsNetEventReadStreamUntil(), fwsNetEventReadStreamUntilClosed(), fwsNetEventWriteFileToStream(), fwsNetEventWriteHandleToStream(), handlesearch(), hashquicksort(), hashresolvevalue(), initmenusystem(), innercasehandle(), iowaunpack(), landgetlongparam(), langfunctionvalue(), langipchandletrapverb(), langpackhandle(), loadbufferfromfile(), opsetrefconverb(), pushhandleonhandle(), pushscrap(), putresourcehandle(), serviceshandlercopy(), serviceshandlerpaste(), stringfunctionvalue(), tablesetextrainfo(), textfindreplace(), unpackiconsuite(), unpacksingleobject(), winregdeletekey(), winregdeletevalue(), winregdowrite(), winreggethandlevalue(), and wppaste().

boolean unmergehandles Handle  ,
Handle ,
Handle
 

Definition at line 2148 of file memory.c.

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

Referenced by hashunpacktable(), langunpacktree(), meunpackmenustructure(), and tableunpacktable().

Here is the call graph for this function:

boolean validhandle Handle   ) 
 

Definition at line 379 of file memory.c.

References GetHandleSize, MemError, nil, and noErr.

Referenced by getaddresspath(), getaddressvalue(), pushtmpstack(), and pushtmpstackvalue().

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:


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