langsystem7.c File Reference

#include <Aliases.h>
#include <AppleEvents.h>
#include <AEPackObject.h>
#include <AEObjects.h>
#include <AERegistry.h>
#include <Gestalt.h>
#include <standard.h>
#include "memory.h"
#include "strings.h"
#include "ops.h"
#include "error.h"
#include "file.h"
#include "lang.h"
#include "langinternal.h"
#include "langipc.h"
#include "langsystem7.h"
#include "tableinternal.h"
#include "tablestructure.h"

Include dependency graph for langsystem7.c:

Go to the source code of this file.

Data Structures

struct  tyobjspecitem

Functions

static boolean comparelists (AEDesc *, AEDesc *, tytreetype)
static boolean langgestaltcheck (OSType selector, short stringnum)
boolean langcanusealiases (void)
static boolean equaldescriptors (AEDesc *desc1, AEDesc *desc2)
static boolean findvaluevisit (bigstring bs, hdlhashnode hnode, tyvaluerecord val, ptrvoid valfind)
static boolean langfindvalue (tyvaluerecord val, hdlhashtable *htable, bigstring bsname)
static boolean getostypevalnamevisit (bigstring bsname, hdlhashnode hnode, tyvaluerecord val, tyvaluerecord *vallookfor)
static boolean getostypedisplaystring (OSType key, bigstring bsdisplay)
static boolean getlimitedvaluestring (tyvaluerecord *val, short limit, char chquote, bigstring bsvalue)
boolean getobjectmodeldisplaystring (tyvaluerecord *vitem, bigstring bsdisplay)
static boolean stringtoalias (tyvaluerecord *val)
boolean filespectoalias (const tyfilespec *fs, boolean flminimal, AliasHandle *halias)
static boolean filespecvaltoalias (tyvaluerecord *val)
boolean aliastostring (Handle halias, bigstring bs)
boolean aliastofilespec (AliasHandle halias, FSSpec *fs)
boolean coercetoalias (tyvaluerecord *v)
boolean filespecaddvalue (tyvaluerecord *v1, tyvaluerecord *v2, tyvaluerecord *vreturned)
boolean filespecsubtractvalue (tyvaluerecord *v1, tyvaluerecord *v2, tyvaluerecord *vreturned)
static pascal OSErr langsystem7accessobject (DescType classWanted, AEDesc *container, DescType containerClass, DescType keyform, AEDesc *keydesc, AEDesc *resultToken, long theRefCon)
static void setupdescriptor (Handle hdata, AEDesc *desc)
static OSErr langsystem7parseobject (const AEDesc *object, DescType *class, AEDesc *container, DescType *keyform, AEDesc *keydata)
static OSErr langsystem7resolve (const AEDesc *object, AEDesc *resultdesc)
boolean objspectoaddress (tyvaluerecord *val)
boolean objspectofilespec (tyvaluerecord *val)
boolean filespectoobjspec (tyvaluerecord *val)
static boolean stringtoobjspec (tyvaluerecord *val)
static boolean objtostring (AEDesc *, boolean, DescType, AEDesc *, bigstring)
static boolean getobjspeckeydesc (AEDesc *objdata, OSType desiredkey, AEDesc *keydata)
static void operatortostring (OSType op, bigstring bsop)
static boolean testtostring (AEDesc *testdata, bigstring bstest)
static boolean rangetostring (DescType rangeclass, AEDesc *rangecontainer, AEDesc *rangedata, bigstring bsrange)
static boolean getostypeidentifier (OSType id, bigstring bsidentifier)
boolean objspectostring (Handle hobjspec, bigstring bs)
static void getdefaultcontainer (OSType nulltype, AEDesc *containerdesc, boolean fluseexternalcontainer)
static boolean createpropertyspecifier (AEDesc *containerdesc, OSType propkey, AEDesc *objectdesc)
static boolean valtoobjspec (tyvaluerecord *val, OSType nulltype, AEDesc *objectdesc)
boolean coercetoobjspec (tyvaluerecord *v)
boolean setobjspecverb (hdltreenode hparam1, tyvaluerecord *val)
static boolean getclassvalue (hdltreenode htree, OSType *class)
static boolean evaluateobject (hdltreenode htree, OSType nulltype, AEDesc *objectdesc)
static boolean evaluateproperty (hdltreenode htree, OSType nulltype, AEDesc *objectdesc)
static boolean evaluatesimplekey (hdltreenode htree, OSType *keyform, AEDesc *keydatadesc)
static boolean evaluatefield (hdltreenode htree, OSType *key, AEDesc *data)
static boolean evaluatecustomkey (hdltreenode htree, OSType *keyform, AEDesc *keydatadesc)
static boolean evaluatecomparison (hdltreenode htree, DescType operator, AEDesc *keydatadesc)
static boolean evaluatetest (hdltreenode, tytreetype, AEDesc *)
static boolean evaluatelogical (hdltreenode hcomp1, tytreetype op1, hdltreenode hcomp2, tytreetype op2, DescType operator, AEDesc *keydatadesc)
static boolean evaluateboundryobject (hdltreenode htree, OSType rangeclass, AEDesc *objectdesc)
static boolean evaluaterange (hdltreenode htree, OSType class, AEDesc *keydatadesc)
static boolean evaluateelement (hdltreenode htree, OSType nulltype, OSType *elementclass, AEDesc *objectdesc)
boolean evaluateobjspec (hdltreenode htree, tyvaluerecord *vreturned)
static boolean getidvalue (hdltreenode htree, tyvaluerecord *val)
boolean isobjspectree (hdltreenode htree)
boolean makelistvalue (hdltreenode htree, tyvaluerecord *vreturned)
boolean makerecordvalue (hdltreenode htree, tyvaluerecord *vreturned)
static void listvaltodesc (const tyvaluerecord *val, AEDesc *desc)
boolean langgetlistsize (const tyvaluerecord *vlist, long *size)
static boolean getnthlistval (const AEDesc *listdesc, long n, OSType *pkey, tyvaluerecord *val)
boolean langgetlistitem (const tyvaluerecord *vlist, long ix, OSType *pkey, tyvaluerecord *vitem)
static boolean listtostring (const AEDesc *listdesc, tyvaluerecord *val)
static boolean makeintegerlist (tyvaluerecord *v, tyvaluetype listtype, void *pints, short ctints, AEDesc *intlist)
static boolean pullintegerlist (AEDesc *intlist, short ctints, void *pints)
static Point swappoint (Point pt)
static boolean stringtolist (tyvaluerecord *val, tyvaluetype type)
boolean coercetolist (tyvaluerecord *val, tyvaluetype type)
static boolean coercelistcontents (tyvaluerecord *val, tyvaluetype totype, AEDesc *listdesc, long ctitems)
boolean coercelistvalue (tyvaluerecord *val, tyvaluetype totype)
static boolean equalsublists (AEDesc *list1, AEDesc *list2, long ixcompare, long ctcompare, boolean flbykey)
boolean listaddvalue (tyvaluerecord *v1, tyvaluerecord *v2, tyvaluerecord *vreturned)
boolean listsubtractvalue (tyvaluerecord *v1, tyvaluerecord *v2, tyvaluerecord *vreturned)
boolean listcomparevalue (tyvaluerecord *v1, tyvaluerecord *v2, tytreetype comparisonop, tyvaluerecord *vreturned)
boolean coercetolistposition (tyvaluerecord *val)
static boolean listerror (OSErr errcode, bigstring bsname, tyvaluerecord *vlist, tyvaluerecord *vindex)
boolean listarrayvalue (tyvaluerecord *vlist, bigstring bsname, register tyvaluerecord *vindex, tyvaluerecord *vreturned)
boolean listassignvalue (tyvaluerecord *vlist, bigstring bsname, register tyvaluerecord *vindex, tyvaluerecord *vassign)
boolean listdeletevalue (tyvaluerecord *vlist, bigstring bsname, register tyvaluerecord *vindex)


Function Documentation

boolean aliastofilespec AliasHandle  halias,
FSSpec fs
 

Definition at line 639 of file langsystem7.c.

References bigstring, fileparsevolname(), langcanusealiases(), langerrorenabled(), langgetmiscstring(), nil, noErr, oserror(), setoserrorparam(), and unknownstring.

Here is the call graph for this function:

boolean aliastostring Handle  halias,
bigstring  bs
 

Definition at line 563 of file langsystem7.c.

References aliasvaluetype, bigstring, filespectopath(), h, insertstring(), isemptystring, langcanusealiases(), langgettypestring(), nil, noErr, pushchar(), and setemptystring.

Here is the call graph for this function:

static boolean coercelistcontents tyvaluerecord val,
tyvaluetype  totype,
AEDesc listdesc,
long  ctitems
[static]
 

Definition at line 3129 of file langsystem7.c.

References coercevalue(), getnthlistval(), key, oserror(), and valuetodescriptor().

Here is the call graph for this function:

boolean coercelistvalue tyvaluerecord val,
tyvaluetype  totype
 

Definition at line 3169 of file langsystem7.c.

References binaryvaluetype, booleanvaluetype, coercelistcontents(), coercetobinary(), coercevalue(), tyAEDesc::dataHandle, disposevaluerecord(), getnthlistval(), key, listtostring(), listvaltodesc(), newheapvalue(), oserror(), pointvaluetype, pt, pullintegerlist(), r, rectvaluetype, releaseheaptmp(), rgbvaluetype, setbooleanvalue(), setheapvalue(), setpointvalue(), stringvaluetype, swappoint(), typeAEList, and v.

Here is the call graph for this function:

boolean coercetoalias tyvaluerecord v  ) 
 

Definition at line 684 of file langsystem7.c.

References aliasvaluetype, binaryvaluetype, coercebinaryval(), coercelistvalue(), coercetofilespec(), filespecvaltoalias(), filespecvaluetype, flinhibitnilcoercion, langcoerceerror(), novaluetype, stringtoalias(), stringvaluetype, and v.

Here is the call graph for this function:

boolean coercetolist tyvaluerecord val,
tyvaluetype  type
 

Definition at line 3010 of file langsystem7.c.

References badexternaloperationerror, binarytodesc(), coercetobinary(), coercevalue(), tyAEDesc::dataHandle, disposevaluerecord(), externalvaluetype, flinhibitnilcoercion, langbadexternaloperror(), langcoerceerror(), langgetlistsize(), langgettypeid(), makeintegerlist(), makelistvalue(), makerecordvalue(), nil, noErr, novaluetype, oserror(), pointvaluetype, pt, r, rectvaluetype, rgbvaluetype, setheapvalue(), stringtolist(), stringvaluetype, swappoint(), v, and tyvaluerecord::valuetype.

Here is the call graph for this function:

boolean coercetolistposition tyvaluerecord val  ) 
 

Definition at line 3567 of file langsystem7.c.

References badipclistposerror, coercetolong(), coercetoostype(), disablelangerror(), enablelangerror(), fl, langerror(), longvaluetype, ostypevaluetype, and v.

Here is the call graph for this function:

boolean coercetoobjspec tyvaluerecord v  ) 
 

Definition at line 1796 of file langsystem7.c.

References coercelistvalue(), tyAEDesc::dataHandle, filespectoobjspec(), filespecvaluetype, objspecvaluetype, setheapvalue(), stringtoobjspec(), stringvaluetype, typeNull, v, and valtoobjspec().

Referenced by coercevalue(), and getobjspecparam().

Here is the call graph for this function:

static boolean comparelists AEDesc ,
AEDesc ,
tytreetype 
[static]
 

Definition at line 3479 of file langsystem7.c.

References beginswithop, containsop, tyAEDesc::descriptorType, endswithop, EQop, equalsublists(), oserror(), and typeAERecord.

Here is the call graph for this function:

static boolean createpropertyspecifier AEDesc containerdesc,
OSType  propkey,
AEDesc objectdesc
[static]
 

Definition at line 1680 of file langsystem7.c.

References cProperty, longsizeof, oserror(), and typeType.

Referenced by evaluateproperty(), and valtoobjspec().

Here is the call graph for this function:

static boolean equaldescriptors AEDesc desc1,
AEDesc desc2
[static]
 

Definition at line 107 of file langsystem7.c.

References comparelists(), tyvaluerecord::data, EQop, equalhandles(), EQvalue(), tyvaluedata::flvalue, langipcconvertaelist(), typeAEList, and typeAERecord.

Referenced by listsubtractvalue(), and objtostring().

Here is the call graph for this function:

static boolean equalsublists AEDesc list1,
AEDesc list2,
long  ixcompare,
long  ctcompare,
boolean  flbykey
[static]
 

Definition at line 3293 of file langsystem7.c.

References fl, oserror(), and typeWildCard.

Here is the call graph for this function:

static boolean evaluateboundryobject hdltreenode  htree,
OSType  rangeclass,
AEDesc objectdesc
[static]
 

Definition at line 2283 of file langsystem7.c.

References tyAEDesc::dataHandle, tyAEDesc::descriptorType, evaluateobject(), evaluatesimplekey(), h, htree, isobjspectree(), nil, and oserror().

Referenced by evaluaterange().

Here is the call graph for this function:

static boolean evaluatecomparison hdltreenode  htree,
DescType  operator,
AEDesc keydatadesc
[static]
 

Definition at line 2123 of file langsystem7.c.

References tyAEDesc::dataHandle, evaluateobject(), evaluatetree(), h, htree, oserror(), pushtmpstack(), releaseheaptmp(), and valuetodescriptor().

Referenced by evaluatetest().

Here is the call graph for this function:

static boolean evaluatecustomkey hdltreenode  htree,
OSType keyform,
AEDesc keydatadesc
[static]
 

Definition at line 2104 of file langsystem7.c.

References evaluatefield(), and htree.

Referenced by evaluateelement().

Here is the call graph for this function:

static boolean evaluateelement hdltreenode  htree,
OSType  nulltype,
OSType elementclass,
AEDesc objectdesc
[static]
 

Definition at line 2329 of file langsystem7.c.

References andandop, arrayop, assert, badobjectspecificationerror, beginswithop, bracketop, containsop, tyAEDesc::dataHandle, dotop, endswithop, EQop, evaluatecustomkey(), evaluateobject(), evaluaterange(), evaluatesimplekey(), evaluatetest(), fieldop, GEop, getclassvalue(), getdefaultcontainer(), GTop, h, htree, identifierop, langlongparamerror(), langseterrorline(), LEop, LTop, NEop, nil, tytreenode::nodetype, notop, ororop, oserror(), tytreenode::param1, tytreenode::param2, pushtmpstack(), rangeop, and releaseheaptmp().

Referenced by evaluateobject().

Here is the call graph for this function:

static boolean evaluatefield hdltreenode  htree,
OSType key,
AEDesc data
[static]
 

Definition at line 2072 of file langsystem7.c.

References assert, coercetoostype(), data, evaluatetree(), fieldop, h, htree, and valuetodescriptor().

Here is the call graph for this function:

static boolean evaluatelogical hdltreenode  hcomp1,
tytreetype  op1,
hdltreenode  hcomp2,
tytreetype  op2,
DescType  operator,
AEDesc keydatadesc
[static]
 

Definition at line 2159 of file langsystem7.c.

References error, evaluatetest(), nil, and oserror().

Referenced by evaluatetest().

Here is the call graph for this function:

static boolean evaluateobject hdltreenode  htree,
OSType  nulltype,
AEDesc objectdesc
[static]
 

Definition at line 2464 of file langsystem7.c.

References arrayop, assert, badobjectspecificationerror, bracketop, dotop, evaluateelement(), evaluateproperty(), evaluatetree(), fllangerror, h, htree, identifierop, langcheckstackspace(), langlongparamerror(), nil, and valtoobjspec().

Referenced by evaluateboundryobject(), evaluatecomparison(), evaluateelement(), evaluateobjspec(), and evaluateproperty().

Here is the call graph for this function:

boolean evaluateobjspec hdltreenode  htree,
tyvaluerecord vreturned
 

Definition at line 2533 of file langsystem7.c.

References tyAEDesc::dataHandle, evaluateobject(), htree, objspecvaluetype, setheapvalue(), and typeNull.

Referenced by arrayvalue(), dotvalue(), evaluatewith(), getobjspecparam(), and stringtoobjspec().

Here is the call graph for this function:

static boolean evaluateproperty hdltreenode  htree,
OSType  nulltype,
AEDesc objectdesc
[static]
 

Definition at line 1948 of file langsystem7.c.

References assert, badobjectspecificationerror, bracketop, createpropertyspecifier(), tyAEDesc::dataHandle, dotop, evaluateobject(), getclassvalue(), getdefaultcontainer(), h, htree, identifierop, langerror(), langseterrorline(), nil, tytreenode::param1, pushtmpstack(), and releaseheaptmp().

Referenced by evaluateobject().

Here is the call graph for this function:

static boolean evaluaterange hdltreenode  htree,
OSType  class,
AEDesc keydatadesc
[static]
 

Definition at line 2307 of file langsystem7.c.

References evaluateboundryobject(), h, htree, and oserror().

Referenced by evaluateelement().

Here is the call graph for this function:

static boolean evaluatesimplekey hdltreenode  htree,
OSType keyform,
AEDesc keydatadesc
[static]
 

Definition at line 2009 of file langsystem7.c.

References bigstring, coercetolong(), tyvaluerecord::data, evaluatetree(), htree, long, longsizeof, oserror(), tyvaluedata::ostypevalue, ostypevaluetype, pullstringvalue(), stringlength, stringvaluetype, typeChar, typeEnumeration, typeLongInteger, and tyvaluerecord::valuetype.

Referenced by evaluateboundryobject(), and evaluateelement().

Here is the call graph for this function:

static boolean evaluatetest hdltreenode  ,
tytreetype  ,
AEDesc
[static]
 

Definition at line 2197 of file langsystem7.c.

References andandop, badobjectspecificationerror, beginswithop, containsop, endswithop, EQop, evaluatecomparison(), evaluatelogical(), GEop, GTop, h, htree, kAEBeginsWith, kAEContains, kAEEndsWith, kAEEquals, kAEGreaterThan, kAEGreaterThanEquals, kAELessThan, kAELessThanEquals, langlongparamerror(), LEop, LTop, NEop, nil, noop, notop, and ororop.

Referenced by evaluateelement(), and evaluatelogical().

Here is the call graph for this function:

boolean filespecaddvalue tyvaluerecord v1,
tyvaluerecord v2,
tyvaluerecord vreturned
 

Definition at line 727 of file langsystem7.c.

References addvalue(), bigstring, coercetostring(), fileexists(), fileisfolder(), fl, insertchar(), insertstring(), noErr, pullstringvalue(), pushchar(), setfilespecvalue(), and stringfindchar().

Referenced by addvalue().

Here is the call graph for this function:

boolean filespecsubtractvalue tyvaluerecord v1,
tyvaluerecord v2,
tyvaluerecord vreturned
 

Definition at line 802 of file langsystem7.c.

References bigstring, coercetostring(), fl, noErr, pullstringvalue(), setfilespecvalue(), stringfindchar(), subtractstrings(), and subtractvalue().

Referenced by subtractvalue().

Here is the call graph for this function:

boolean filespectoalias const tyfilespec fs,
boolean  flminimal,
AliasHandle halias
 

Definition at line 508 of file langsystem7.c.

References bigstring, filespectopath(), langerrorenabled(), nil, noErr, oserror(), setoserrorparam(), and stringlength.

Here is the call graph for this function:

boolean filespectoobjspec tyvaluerecord val  ) 
 

Definition at line 1061 of file langsystem7.c.

References bigstring, cFile, container, tyvaluerecord::data, tyAEDesc::dataHandle, disposevaluerecord(), filespectopath(), tyvaluedata::filespecvalue, nil, noErr, objspecvaluetype, oserror(), setheapvalue(), stringlength, typeChar, typeNull, and v.

Referenced by coercetoobjspec().

Here is the call graph for this function:

static boolean filespecvaltoalias tyvaluerecord val  )  [static]
 

Definition at line 538 of file langsystem7.c.

References aliasvaluetype, filespectoalias(), langcanusealiases(), releaseheaptmp(), and setheapvalue().

Referenced by coercetoalias().

Here is the call graph for this function:

static boolean findvaluevisit bigstring  bs,
hdlhashnode  hnode,
tyvaluerecord  val,
ptrvoid  valfind
[static]
 

Definition at line 136 of file langsystem7.c.

References tyvaluerecord::data, and tyvaluedata::longvalue.

Referenced by langfindvalue().

static boolean getclassvalue hdltreenode  htree,
OSType class
[static]
 

Definition at line 1926 of file langsystem7.c.

References bracketop, coercetoostype(), evaluatetree(), htree, and tytreenode::param1.

Referenced by evaluateelement(), and evaluateproperty().

Here is the call graph for this function:

static void getdefaultcontainer OSType  nulltype,
AEDesc containerdesc,
boolean  fluseexternalcontainer
[static]
 

Definition at line 1634 of file langsystem7.c.

References bscontainername, tyvaluerecord::data, fl, flfindanyspecialsymbol, hnode, langgetsymbolval(), nil, tyvaluedata::objspecvalue, setupdescriptor(), and typeNull.

Referenced by evaluateelement(), evaluateproperty(), and valtoobjspec().

Here is the call graph for this function:

static boolean getidvalue hdltreenode  htree,
tyvaluerecord val
[static]
 

Definition at line 2544 of file langsystem7.c.

References bigstring, bracketop, constop, fl, h, hnode, htree, identifierop, langgetidentifier(), langgetsymbolval(), langsearchpathlookup(), pophashtable(), and pushhashtable().

Referenced by isobjspectree().

Here is the call graph for this function:

static boolean getlimitedvaluestring tyvaluerecord val,
short  limit,
char  chquote,
bigstring  bsvalue
[static]
 

Definition at line 312 of file langsystem7.c.

References binarytodesc(), binaryvaluetype, chdoublequote, chnul, coercetostring(), disposevaluerecord(), insertchar(), langdeparsestring(), noErr, pullstringvalue(), pushchar(), setdescriptorvalue(), setstringlength, stringlength, typeAERecord, typeChar, and v.

Referenced by getobjectmodeldisplaystring().

Here is the call graph for this function:

static boolean getnthlistval const AEDesc listdesc,
long  n,
OSType pkey,
tyvaluerecord val
[static]
 

Definition at line 2773 of file langsystem7.c.

References oserror(), setdescriptorvalue(), and typeWildCard.

Here is the call graph for this function:

boolean getobjectmodeldisplaystring tyvaluerecord vitem,
bigstring  bsdisplay
 

Definition at line 386 of file langsystem7.c.

References addressvaluetype, aliasvaluetype, charvaluetype, chdoublequote, chnul, chsinglequote, copystring(), datevaluetype, filespecvaluetype, getlimitedvaluestring(), getostypedisplaystring(), insertchar(), isemptystring, justnilstring, langgetmiscstring(), novaluetype, objspecvaluetype, ostypevaluetype, pointvaluetype, pushchar(), rectvaluetype, rgbvaluetype, stringvaluetype, and v.

Referenced by cmdthreadmain(), coerceInsltoTEXT(), langfunctionvalue(), objtostring(), and pusheventparameter().

Here is the call graph for this function:

static boolean getobjspeckeydesc AEDesc objdata,
OSType  desiredkey,
AEDesc keydata
[static]
 

Definition at line 1177 of file langsystem7.c.

References h, HLock, HUnlock, tyobjspecitem::key, odd, oserror(), tyobjspecitem::size, and tyobjspecitem::type.

Referenced by rangetostring(), and testtostring().

Here is the call graph for this function:

static boolean getostypedisplaystring OSType  key,
bigstring  bsdisplay
[static]
 

Definition at line 261 of file langsystem7.c.

References chsinglequote, fl, getostypevalnamevisit(), hashinversesearch(), iacgluetable, langdeparsestring(), langfindvalue(), nil, objectmodeltable, ostypetostring(), parsedialogstring(), pophashtable(), pushhashtable(), and setostypevalue().

Referenced by getobjectmodeldisplaystring(), getostypeidentifier(), listtostring(), and objtostring().

Here is the call graph for this function:

static boolean getostypeidentifier OSType  id,
bigstring  bsidentifier
[static]
 

Definition at line 1435 of file langsystem7.c.

References getostypedisplaystring(), insertchar(), and pushchar().

Referenced by objtostring().

Here is the call graph for this function:

static boolean getostypevalnamevisit bigstring  bsname,
hdlhashnode  hnode,
tyvaluerecord  val,
tyvaluerecord vallookfor
[static]
 

Definition at line 211 of file langsystem7.c.

References currenthashtable, fl, tytablevariable::flinmemory, gettablevariable(), langfindvalue(), pophashtable(), and pushhashtable().

Referenced by getostypedisplaystring().

Here is the call graph for this function:

boolean isobjspectree hdltreenode  htree  ) 
 

Definition at line 2598 of file langsystem7.c.

References arrayop, bracketop, dotop, getidvalue(), h, htree, identifierop, tytreenode::nodetype, objspecvaluetype, ostypevaluetype, and tyvaluerecord::valuetype.

Referenced by arrayvalue(), dotvalue(), evaluateboundryobject(), evaluatewith(), getobjspecparam(), and stringtoobjspec().

Here is the call graph for this function:

boolean langcanusealiases void   ) 
 

Definition at line 83 of file langsystem7.c.

References cantusealiaseserror, and langgestaltcheck().

Here is the call graph for this function:

static boolean langfindvalue tyvaluerecord  val,
hdlhashtable htable,
bigstring  bsname
[static]
 

Definition at line 142 of file langsystem7.c.

References bigstring, currenthashtable, tyvaluerecord::data, findvaluevisit(), getaddressvalue(), h, hashinversesearch(), hashtablelookup(), hnode, langgetwithvaluename(), tyvaluedata::longvalue, nil, and setemptystring.

Referenced by getostypedisplaystring(), and getostypevalnamevisit().

Here is the call graph for this function:

static boolean langgestaltcheck OSType  selector,
short  stringnum
[static]
 

Definition at line 68 of file langsystem7.c.

References gestalt(), and langerror().

Referenced by langcanusealiases().

Here is the call graph for this function:

boolean langgetlistitem const tyvaluerecord vlist,
long  ix,
OSType pkey,
tyvaluerecord vitem
 

Definition at line 2784 of file langsystem7.c.

References getnthlistval(), and listvaltodesc().

Here is the call graph for this function:

boolean langgetlistsize const tyvaluerecord vlist,
long size
 

Definition at line 2763 of file langsystem7.c.

References listvaltodesc(), and oserror().

Here is the call graph for this function:

static pascal OSErr langsystem7accessobject DescType  classWanted,
AEDesc container,
DescType  containerClass,
DescType  keyform,
AEDesc keydesc,
AEDesc resultToken,
long  theRefCon
[static]
 

Definition at line 844 of file langsystem7.c.

References bigstring, langexpandtodotparams(), noErr, texthandletostring(), and typeChar.

Referenced by langsystem7resolve().

Here is the call graph for this function:

static OSErr langsystem7parseobject const AEDesc object,
DescType class,
AEDesc container,
DescType keyform,
AEDesc keydata
[static]
 

Definition at line 910 of file langsystem7.c.

References container, nil, noErr, setupdescriptor(), typeAERecord, typeEnumerated, typeType, and typeWildCard.

Referenced by langsystem7resolve(), objspectofilespec(), and objtostring().

Here is the call graph for this function:

static OSErr langsystem7resolve const AEDesc object,
AEDesc resultdesc
[static]
 

Definition at line 958 of file langsystem7.c.

References cApplication, cCell, container, langsystem7accessobject(), langsystem7parseobject(), noErr, and typeNull.

Referenced by objspectoaddress().

Here is the call graph for this function:

boolean listaddvalue tyvaluerecord v1,
tyvaluerecord v2,
tyvaluerecord vreturned
 

Definition at line 3340 of file langsystem7.c.

References tyAEDesc::dataHandle, tyAEDesc::descriptorType, i, key, listvaltodesc(), noErr, oserror(), setheapvalue(), typeAERecord, and typeWildCard.

Here is the call graph for this function:

boolean listarrayvalue tyvaluerecord vlist,
bigstring  bsname,
register tyvaluerecord vindex,
tyvaluerecord vreturned
 

Definition at line 3621 of file langsystem7.c.

References coercetolistposition(), key, listerror(), listvaltodesc(), longvaluetype, setdescriptorvalue(), and typeWildCard.

Here is the call graph for this function:

boolean listassignvalue tyvaluerecord vlist,
bigstring  bsname,
register tyvaluerecord vindex,
tyvaluerecord vassign
 

Definition at line 3649 of file langsystem7.c.

References coercetolistposition(), listerror(), listvaltodesc(), longvaluetype, and valuetodescriptor().

Here is the call graph for this function:

boolean listcomparevalue tyvaluerecord v1,
tyvaluerecord v2,
tytreetype  comparisonop,
tyvaluerecord vreturned
 

Definition at line 3548 of file langsystem7.c.

References comparelists(), fl, fllangerror, listvaltodesc(), and setbooleanvalue().

Here is the call graph for this function:

boolean listdeletevalue tyvaluerecord vlist,
bigstring  bsname,
register tyvaluerecord vindex
 

Definition at line 3681 of file langsystem7.c.

References coercetolistposition(), listerror(), listvaltodesc(), and longvaluetype.

Here is the call graph for this function:

static boolean listerror OSErr  errcode,
bigstring  bsname,
tyvaluerecord vlist,
tyvaluerecord vindex
[static]
 

Definition at line 3599 of file langsystem7.c.

References langarrayreferror(), noErr, and oserror().

Referenced by listarrayvalue(), listassignvalue(), and listdeletevalue().

Here is the call graph for this function:

boolean listsubtractvalue tyvaluerecord v1,
tyvaluerecord v2,
tyvaluerecord vreturned
 

Definition at line 3401 of file langsystem7.c.

References tyAEDesc::dataHandle, tyAEDesc::descriptorType, equaldescriptors(), error, key, listvaltodesc(), noErr, oserror(), setheapvalue(), typeAERecord, and typeWildCard.

Here is the call graph for this function:

static boolean listtostring const AEDesc listdesc,
tyvaluerecord val
[static]
 

Definition at line 2798 of file langsystem7.c.

References bigstring, error, getostypedisplaystring(), i, key, newtexthandle(), oserror(), pushchar(), pushtexthandle(), setdescriptorvalue(), typeAERecord, and typeWildCard.

Here is the call graph for this function:

static void listvaltodesc const tyvaluerecord val,
AEDesc desc
[static]
 

Definition at line 2752 of file langsystem7.c.

References typeAEList, and typeAERecord.

Referenced by coercelistvalue(), langgetlistitem(), langgetlistsize(), listaddvalue(), listarrayvalue(), listassignvalue(), listcomparevalue(), listdeletevalue(), and listsubtractvalue().

static boolean makeintegerlist tyvaluerecord v,
tyvaluetype  listtype,
void *  pints,
short  ctints,
AEDesc intlist
[static]
 

Definition at line 2861 of file langsystem7.c.

References langcoerceerror(), nil, oserror(), typeShortInteger, and v.

Here is the call graph for this function:

boolean makelistvalue hdltreenode  htree,
tyvaluerecord vreturned
 

Definition at line 2669 of file langsystem7.c.

References error, evaluatetree(), h, htree, nil, oserror(), and valuetodescriptor().

Here is the call graph for this function:

boolean makerecordvalue hdltreenode  htree,
tyvaluerecord vreturned
 

Definition at line 2712 of file langsystem7.c.

References error, evaluatefield(), h, htree, key, nil, and oserror().

Here is the call graph for this function:

boolean objspectoaddress tyvaluerecord val  ) 
 

Definition at line 984 of file langsystem7.c.

References tyAEDesc::dataHandle, disposevaluerecord(), langsystem7resolve(), noErr, setheapvalue(), setupdescriptor(), stringtoaddress(), stringvaluetype, and v.

Referenced by coercetoaddress().

Here is the call graph for this function:

boolean objspectofilespec tyvaluerecord val  ) 
 

Definition at line 1015 of file langsystem7.c.

References cFile, coercetofilespec(), coercetostring(), container, disposevaluerecord(), filespecvaluetype, langcoerceerror(), langsystem7parseobject(), oserror(), setdescriptorvalue(), setupdescriptor(), typeNull, and v.

Referenced by coercetofilespec().

Here is the call graph for this function:

boolean objspectostring Handle  hobjspec,
bigstring  bs
 

Definition at line 1624 of file langsystem7.c.

References nil, objtostring(), and setupdescriptor().

Referenced by coercetostring().

Here is the call graph for this function:

static boolean objtostring AEDesc ,
boolean  ,
DescType  ,
AEDesc ,
bigstring 
[static]
 

Definition at line 1448 of file langsystem7.c.

References bigstring, coercetoostype(), container, copystring(), disposevaluerecord(), equaldescriptors(), fl, getobjectmodeldisplaystring(), getostypedisplaystring(), getostypeidentifier(), insertchar(), insertstring(), isemptystring, langsystem7parseobject(), nil, oserror(), parsedialogstring(), rangetostring(), setdescriptorvalue(), setemptystring, testtostring(), and typeNull.

Referenced by objspectostring(), rangetostring(), and testtostring().

Here is the call graph for this function:

static void operatortostring OSType  op,
bigstring  bsop
[static]
 

Definition at line 1225 of file langsystem7.c.

References copystring(), kAEBeginsWith, kAEContains, kAEEndsWith, kAEEquals, kAEGreaterThan, kAEGreaterThanEquals, kAELessThan, and kAELessThanEquals.

Referenced by testtostring().

Here is the call graph for this function:

static boolean pullintegerlist AEDesc intlist,
short  ctints,
void *  pints
[static]
 

Definition at line 2897 of file langsystem7.c.

References key, langlongparamerror(), listcoerceerror, oserror(), and typeShortInteger.

Here is the call graph for this function:

static boolean rangetostring DescType  rangeclass,
AEDesc rangecontainer,
AEDesc rangedata,
bigstring  bsrange
[static]
 

Definition at line 1407 of file langsystem7.c.

References bigstring, fl, getobjspeckeydesc(), nil, objtostring(), and parsedialogstring().

Referenced by objtostring().

Here is the call graph for this function:

boolean setobjspecverb hdltreenode  hparam1,
tyvaluerecord val
 

Definition at line 1831 of file langsystem7.c.

References bigstring, container, tyAEDesc::dataHandle, flnextparamislast, getlongvalue(), getobjspecparam(), getostypevalue(), getparamvalue(), getstringvalue(), langcanuseappleevents(), longsizeof, noErr, objspecvaluetype, oserror(), setheapvalue(), setupdescriptor(), stringlength, typeChar, typeLongInteger, typeType, and valuetodescriptor().

Referenced by builtinvalue().

Here is the call graph for this function:

static void setupdescriptor Handle  hdata,
AEDesc desc
[static]
 

Definition at line 897 of file langsystem7.c.

References tyAEDesc::dataHandle, nil, and typeNull.

Referenced by getdefaultcontainer(), langsystem7parseobject(), objspectoaddress(), objspectofilespec(), objspectostring(), and setobjspecverb().

static boolean stringtoalias tyvaluerecord val  )  [static]
 

Definition at line 462 of file langsystem7.c.

References aliasvaluetype, bigstring, fileexists(), langcanusealiases(), nil, oserror(), pathtofilespec(), releaseheaptmp(), setheapvalue(), stringlength, and texthandletostring().

Referenced by coercetoalias().

Here is the call graph for this function:

static boolean stringtolist tyvaluerecord val,
tyvaluetype  type
[static]
 

Definition at line 2942 of file langsystem7.c.

References copyhandle(), ctscanchars, ctscanlines, disablelangerror(), disposevaluerecord(), enablelangerror(), evaluatetree(), fl, gethandlesize(), h, langcompiletext(), langdisposetree(), listop, makelistvalue(), makerecordvalue(), nil, and recordop.

Here is the call graph for this function:

static boolean stringtoobjspec tyvaluerecord val  )  [static]
 

Definition at line 1091 of file langsystem7.c.

References badobjectspecificationerror, copyhandle(), ctscanchars, ctscanlines, disablelangerror(), disposevaluerecord(), enablelangerror(), evaluateobjspec(), fl, gethandlesize(), h, isobjspectree(), langcompiletext(), langdisposetree(), langerror(), nil, and objspecvaluetype.

Referenced by coercetoobjspec().

Here is the call graph for this function:

static Point swappoint Point  pt  )  [static]
 

Definition at line 2930 of file langsystem7.c.

References pt.

static boolean testtostring AEDesc testdata,
bigstring  bstest
[static]
 

Definition at line 1297 of file langsystem7.c.

References bigstring, copystring(), tyAEDesc::dataHandle, fl, getobjspeckeydesc(), key, nil, objtostring(), operatortostring(), oserror(), parsedialogstring(), patternmatch(), setemptystring, and typeWildCard.

Referenced by objtostring().

Here is the call graph for this function:

static boolean valtoobjspec tyvaluerecord val,
OSType  nulltype,
AEDesc objectdesc
[static]
 

Definition at line 1698 of file langsystem7.c.

References binaryvaluetype, coercebinaryval(), createpropertyspecifier(), exemptfromtmpstack(), getdefaultcontainer(), gethandlesize(), langcoerceerror(), langipcconvertoplist(), nil, objspecvaluetype, oserror(), ostypevaluetype, releaseheaptmp(), typeNull, and v.

Referenced by coercetoobjspec(), and evaluateobject().

Here is the call graph for this function:


Generated on Mon Jun 5 01:09:03 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6