appletmemory.h File Reference

#include "appletdefs.h"

Include dependency graph for appletmemory.h:

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

Go to the source code of this file.

Defines

#define appletmemoryinclude

Typedefs

typedef short ** hdlintarray

Functions

boolean equalmemory (void *, void *, long)
boolean equalhandles (Handle, Handle)
void moveleft (void *, void *, long)
void moveright (void *, void *, long)
void clearbytes (void *, long)
boolean loadfromhandle (Handle, long *, long, void *)
boolean loadhandlefromhandle (Handle, long *, long, Handle *)
long gethandlesize (Handle)
boolean sethandlesize (Handle, long)
void disposehandle (Handle)
boolean newtexthandle (void *, Handle *)
boolean pushtexthandle (void *, Handle)
boolean pushhandleonhandle (Handle, Handle)
boolean enlargehandle (Handle, long, void *)
boolean pushathandlestart (ptrvoid, long, Handle)
boolean getnewhandle (unsigned long, Handle *h)
boolean newemptyhandle (Handle *)
Handle appnewhandle (Size)
unsigned long memavail (void)
boolean copyhandle (Handle, Handle *)
void texthandletostring (Handle, void *)
void lockhandle (Handle)
void unlockhandle (Handle)
boolean newheapstring (ptrstring, hdlstring *)
void copyheapstring (hdlstring, void *)
boolean newclearhandle (long, Handle *)
boolean newfilledhandle (ptrvoid, long, Handle *)
boolean sethandlecontents (void *, long, Handle)
boolean testheapspace (long)
boolean minhandlesize (Handle, long)
boolean newintarray (short, hdlintarray *)
boolean setintarray (hdlintarray, short, short)
boolean getintarray (hdlintarray, short, short *)
void fillintarray (hdlintarray, short)
boolean numbertotexthandle (long, Handle *)
void texthandletonumber (Handle, long *, boolean *)
boolean popfromhandle (Handle, long, ptrvoid)
boolean insertinhandle (bigstring, Handle, unsigned long)
boolean inserthandleinhandle (Handle, Handle, unsigned long)
void deleteinhandle (Handle, unsigned long, unsigned long)
boolean handlesearch (Handle, bigstring, boolean, unsigned long *)
boolean handlereplaceall (Handle, bigstring, Handle)
long handlepatternmatch (void *, Handle)
boolean getstringfromhandle (Handle, unsigned long, unsigned long, bigstring)


Define Documentation

#define appletmemoryinclude
 

Definition at line 17 of file appletmemory.h.


Typedef Documentation

typedef short** hdlintarray
 

Definition at line 28 of file appletmemory.h.


Function Documentation

Handle appnewhandle Size   ) 
 

Definition at line 192 of file appletmemory.c.

References getnewhandle(), h, and nil.

Referenced by CopyDriverIcon(), finderevent(), getsafetycushion(), initcolorpopup(), largefilebuffer(), openmono(), pastecommand(), and testheapspace().

Here is the call graph for this function:

void clearbytes void *  ,
long 
 

Definition at line 602 of file memory.c.

References fillchar().

Here is the call graph for this function:

boolean copyhandle Handle  ,
Handle
 

Definition at line 917 of file memory.c.

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

Here is the call graph for this function:

void copyheapstring hdlstring  ,
void * 
 

Definition at line 471 of file appletmemory.c.

References copystring(), lockhandle(), nil, and unlockhandle().

Here is the call graph for this function:

void deleteinhandle Handle  ,
unsigned  long,
unsigned  long
 

Definition at line 639 of file appletmemory.c.

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

Here is the call graph for this function:

void disposehandle Handle   ) 
 

Definition at line 444 of file memory.c.

References cttemphandles, DisposeHandle, MemError, memoryerror(), and nil.

Here is the call graph for this function:

boolean enlargehandle Handle  ,
long  ,
void * 
 

Definition at line 1307 of file memory.c.

References ct, gethandlesize(), h, insertinhandle(), MemError, moveleft(), noErr, and sethandlesize().

Here is the call graph for this function:

boolean equalhandles Handle  ,
Handle 
 

Definition at line 988 of file memory.c.

References comparehandles(), equalmemory(), GetHandleSize, and nil.

Here is the call graph for this function:

boolean equalmemory void *  ,
void *  ,
long 
 

Definition at line 64 of file appletmemory.c.

Referenced by equalhandles().

void fillintarray hdlintarray  ,
short 
 

Definition at line 2271 of file memory.c.

References ct, gethandlesize(), h, and longsizeof.

Here is the call graph for this function:

long gethandlesize Handle   ) 
 

Definition at line 481 of file memory.c.

References GetHandleSize, and nil.

boolean getintarray hdlintarray  ,
short  ,
short
 

Definition at line 2263 of file memory.c.

boolean getnewhandle unsigned  long,
Handle h
 

Definition at line 161 of file appletmemory.c.

References fl, NewHandle, nil, noErr, sysmemoryerror(), and usetempmemory.

Here is the call graph for this function:

boolean getstringfromhandle Handle  ,
unsigned  long,
unsigned  long,
bigstring 
 

Definition at line 778 of file appletmemory.c.

References lenbigstring, loadfromhandle(), and setstringlength.

Here is the call graph for this function:

long handlepatternmatch void *  ,
Handle 
 

Definition at line 797 of file appletmemory.c.

References GetHandleSize, i, and stringlength.

boolean handlereplaceall Handle  ,
bigstring  ,
Handle 
 

Definition at line 723 of file appletmemory.c.

References ct, gethandlesize(), i, and stringlength.

Here is the call graph for this function:

boolean handlesearch Handle  h,
bigstring  searchfor,
boolean  flunicase,
unsigned long ix
 

lowerchar

Definition at line 659 of file appletmemory.c.

References alllower(), bigstring, copystring(), ct, gethandlesize(), i, lowerchar(), and stringlength.

Here is the call graph for this function:

boolean inserthandleinhandle Handle  ,
Handle  ,
unsigned  long
 

Definition at line 1262 of file memory.c.

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

Here is the call graph for this function:

boolean insertinhandle bigstring  ,
Handle  ,
unsigned  long
 

Definition at line 602 of file appletmemory.c.

References ct, gethandlesize(), moveleft(), moveright(), sethandlesize(), and stringlength.

Here is the call graph for this function:

boolean loadfromhandle Handle  ,
long ,
long  ,
void * 
 

Definition at line 1552 of file memory.c.

References ct, gethandlesize(), h, and moveleft().

Here is the call graph for this function:

boolean loadhandlefromhandle Handle  ,
long ,
long  ,
Handle
 

Definition at line 312 of file appletmemory.c.

References fl, and newfilledhandle().

Here is the call graph for this function:

void lockhandle Handle   ) 
 

Definition at line 367 of file memory.c.

References HLock, and nil.

unsigned long memavail void   ) 
 

Definition at line 207 of file appletmemory.c.

References FreeMem(), and usetempmemory.

Referenced by largefilebuffer(), and sysfunctionvalue().

Here is the call graph for this function:

boolean minhandlesize Handle  ,
long 
 

Definition at line 506 of file memory.c.

References gethandlesize(), MemError, noErr, and sethandlesize().

Here is the call graph for this function:

void moveleft void *  ,
void *  ,
long 
 

Definition at line 515 of file memory.c.

References memmove.

void moveright void *  ,
void *  ,
long 
 

Definition at line 561 of file memory.c.

References memmove.

boolean newclearhandle long  ,
Handle
 

Definition at line 704 of file memory.c.

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

Here is the call graph for this function:

boolean newemptyhandle Handle  ) 
 

Definition at line 437 of file memory.c.

References getnewhandle(), and newhandle().

Here is the call graph for this function:

boolean newfilledhandle ptrvoid  ,
long  ,
Handle
 

Definition at line 730 of file memory.c.

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

Here is the call graph for this function:

boolean newheapstring ptrstring  ,
hdlstring
 

Definition at line 465 of file appletmemory.c.

References newfilledhandle(), and stringlength.

Here is the call graph for this function:

boolean newintarray short  ,
hdlintarray
 

Definition at line 2228 of file memory.c.

References h, longsizeof, and newclearhandle().

Here is the call graph for this function:

boolean newtexthandle void *  ,
Handle
 

Definition at line 327 of file appletmemory.c.

References getnewhandle(), moveleft(), and newstringlength.

Here is the call graph for this function:

boolean numbertotexthandle long  ,
Handle
 

Definition at line 409 of file appletmemory.c.

References bigstring, and newtexthandle().

Here is the call graph for this function:

boolean popfromhandle Handle  ,
long  ,
ptrvoid 
 

Definition at line 1710 of file memory.c.

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

Here is the call graph for this function:

boolean pushathandlestart ptrvoid  ,
long  ,
Handle 
 

Definition at line 268 of file appletmemory.c.

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

Here is the call graph for this function:

boolean pushhandleonhandle Handle  ,
Handle 
 

Definition at line 369 of file appletmemory.c.

References enlargehandle(), fl, gethandlesize(), lockhandle(), nil, and unlockhandle().

Here is the call graph for this function:

boolean pushtexthandle void *  ,
Handle 
 

Definition at line 354 of file appletmemory.c.

References enlargehandle(), and stringlength.

Here is the call graph for this function:

boolean sethandlecontents void *  ,
long  ,
Handle 
 

Definition at line 1129 of file memory.c.

References MemError, moveleft(), noErr, and sethandlesize().

Here is the call graph for this function:

boolean sethandlesize Handle  ,
long 
 

Definition at line 490 of file memory.c.

References MemError, memoryerror(), nil, noErr, resizehandle(), and SetHandleSize.

Here is the call graph for this function:

boolean setintarray hdlintarray  ,
short  ,
short 
 

Definition at line 2243 of file memory.c.

References h, longsizeof, and minhandlesize().

Here is the call graph for this function:

boolean testheapspace long   ) 
 

Definition at line 350 of file memory.c.

References appnewhandle(), haveheapspace(), memoryerror(), and nil.

Here is the call graph for this function:

void texthandletonumber Handle  ,
long ,
boolean
 

Definition at line 419 of file appletmemory.c.

References bigstring, stringtonumber(), and texthandletostring().

Here is the call graph for this function:

void texthandletostring Handle  ,
void * 
 

Definition at line 386 of file appletmemory.c.

References gethandlesize(), lenbigstring, moveleft(), nil, and setstringlength.

Here is the call graph for this function:

void unlockhandle Handle   ) 
 

Definition at line 373 of file memory.c.

References HUnlock, and nil.


Generated on Wed May 31 21:32:37 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6