appletstrings.c File Reference

#include <Packages.h>
#include "appletops.h"
#include "appletmemory.h"
#include "appletstrings.h"

Include dependency graph for appletstrings.c:

Go to the source code of this file.

Functions

boolean isPunctuationChar (char ch)
boolean isAlphaChar (char ch)
static short IUcomparestrings (bigstring bs1, bigstring bs2)
short comparestrings (void *pvoid1, void *pvoid2)
boolean equalstrings (void *pvoid1, void *pvoid2)
boolean unicaseequalstrings (void *pvoid1, void *pvoid2)
void copystring (void *bssource, void *bsdest)
boolean pushstring (void *bssource, void *bsdest)
boolean pushspace (void *pstring)
void pushlong (long num, void *pstring)
void pushint (short num, void *pstring)
void pushostype (OSType os, void *pstring)
void pushtimeonstring (void *pstring)
void allupper (void *pstring)
void alllower (void *pstring)
boolean stringlessthan (void *p1, void *p2)
void midstring (void *psource, short ix, short len, void *pdest)
boolean pushchar (byte ch, void *pstring)
boolean scanstring (byte ch, void *pstring, short *ix)
boolean deletestring (void *pstring, short ixdelete, short ctdelete)
boolean firstword (void *psource, char chdelim, void *pdest)
boolean lastword (void *psource, char chdelim, void *pdest)
short patternmatch (void *ppattern, void *pstring)
void filledstring (char ch, short ct, void *pstring)
boolean insertstring (unsigned char *psource, unsigned char *pdest)
boolean insertchar (char ch, void *pstring)
void stringtonumber (void *pstring, long *num, boolean *flerror)
void getsizestring (unsigned long size, void *pstring)
void gettimestring (long time, void *pstring)
void commentdelete (byte chdelim, void *pstring)
static boolean whitespacechar (char ch)
boolean poptrailingwhitespace (void *pstring)
static boolean midinsertstring (void *pinsert, void *pstring, short ixinsert)
boolean replacestring (void *preplace, short ix, short ctreplace, void *pinsert)
boolean stringfindchar (byte ch, void *pstring)
void parseparamstring (bigstring bssource, bigstring bs0, bigstring bs1, bigstring bs2, bigstring bs3, bigstring bsresult)
void colortostring (RGBColor rgb, bigstring bs)
void stringtocolor (bigstring bs, RGBColor *rgb)
boolean stringendswith (bigstring ending, bigstring bs, boolean flunicase)


Function Documentation

void alllower void *  pstring  ) 
 

Definition at line 276 of file appletstrings.c.

void allupper void *  pstring  ) 
 

Definition at line 256 of file appletstrings.c.

void colortostring RGBColor  rgb,
bigstring  bs
 

Definition at line 892 of file appletstrings.c.

References tyRGBColor::blue, tyRGBColor::green, pushchar(), pushint(), tyRGBColor::red, and setstringlength.

Here is the call graph for this function:

void commentdelete byte  chdelim,
void *  pstring
 

Definition at line 684 of file appletstrings.c.

References ct, i, and stringlength.

short comparestrings void *  pvoid1,
void *  pvoid2
 

Definition at line 62 of file appletstrings.c.

void copystring void *  bssource,
void *  bsdest
 

Definition at line 154 of file appletstrings.c.

References i, and short.

boolean deletestring void *  pstring,
short  ixdelete,
short  ctdelete
 

Definition at line 387 of file appletstrings.c.

References ct, moveleft(), setstringlength, and stringlength.

Here is the call graph for this function:

boolean equalstrings void *  pvoid1,
void *  pvoid2
 

Definition at line 106 of file appletstrings.c.

References ct.

void filledstring char  ch,
short  ct,
void *  pstring
 

Definition at line 525 of file appletstrings.c.

References fillchar().

Here is the call graph for this function:

boolean firstword void *  psource,
char  chdelim,
void *  pdest
 

Definition at line 425 of file appletstrings.c.

References bssource, i, midstring(), and stringlength.

Here is the call graph for this function:

void getsizestring unsigned long  size,
void *  pstring
 

Definition at line 624 of file appletstrings.c.

References bigstring, copystring(), pushstring(), and setstringlength.

Here is the call graph for this function:

void gettimestring long  time,
void *  pstring
 

Definition at line 669 of file appletstrings.c.

References bigstring, and pushstring().

Referenced by pushtimeonstring().

Here is the call graph for this function:

boolean insertchar char  ch,
void *  pstring
 

Definition at line 562 of file appletstrings.c.

References lenbigstring, moveright(), setstringlength, and stringlength.

Here is the call graph for this function:

boolean insertstring unsigned char *  psource,
unsigned char *  pdest
 

Definition at line 538 of file appletstrings.c.

References bigstring, copystring(), lenbigstring, pushstring(), and stringlength.

Here is the call graph for this function:

boolean isAlphaChar char  ch  ) 
 

Definition at line 25 of file appletstrings.c.

boolean isPunctuationChar char  ch  ) 
 

Definition at line 13 of file appletstrings.c.

static short IUcomparestrings bigstring  bs1,
bigstring  bs2
[static]
 

Definition at line 43 of file appletstrings.c.

boolean lastword void *  psource,
char  chdelim,
void *  pdest
 

Definition at line 455 of file appletstrings.c.

References bssource, i, midstring(), and stringlength.

Here is the call graph for this function:

static boolean midinsertstring void *  pinsert,
void *  pstring,
short  ixinsert
[static]
 

Definition at line 766 of file appletstrings.c.

References lenbigstring, moveleft(), moveright(), setstringlength, and stringlength.

Here is the call graph for this function:

void midstring void *  psource,
short  ix,
short  len,
void *  pdest
 

Definition at line 323 of file appletstrings.c.

References bssource, moveleft(), and setstringlength.

Here is the call graph for this function:

void parseparamstring bigstring  bssource,
bigstring  bs0,
bigstring  bs1,
bigstring  bs2,
bigstring  bs3,
bigstring  bsresult
 

Definition at line 823 of file appletstrings.c.

References assert, bigstring, copystring(), i, nil, pushchar(), pushstring(), setemptystring, and stringlength.

Here is the call graph for this function:

short patternmatch void *  ppattern,
void *  pstring
 

Definition at line 485 of file appletstrings.c.

References i, and stringlength.

boolean poptrailingwhitespace void *  pstring  ) 
 

Definition at line 740 of file appletstrings.c.

References ct, i, setstringlength, stringlength, and whitespacechar().

Here is the call graph for this function:

boolean pushchar byte  ch,
void *  pstring
 

Definition at line 333 of file appletstrings.c.

References lenbigstring.

void pushint short  num,
void *  pstring
 

Definition at line 225 of file appletstrings.c.

References pushlong().

Here is the call graph for this function:

void pushlong long  num,
void *  pstring
 

Definition at line 215 of file appletstrings.c.

References bigstring, and pushstring().

Here is the call graph for this function:

void pushostype OSType  os,
void *  pstring
 

Definition at line 231 of file appletstrings.c.

References bigstring, moveleft(), pushstring(), and setstringlength.

Here is the call graph for this function:

boolean pushspace void *  pstring  ) 
 

Definition at line 203 of file appletstrings.c.

References bigstring, pushstring(), and setstringlength.

Here is the call graph for this function:

boolean pushstring void *  bssource,
void *  bsdest
 

Definition at line 175 of file appletstrings.c.

References lenbigstring, and stringlength.

void pushtimeonstring void *  pstring  ) 
 

Definition at line 243 of file appletstrings.c.

References bigstring, gettimestring(), now, and pushstring().

Here is the call graph for this function:

boolean replacestring void *  preplace,
short  ix,
short  ctreplace,
void *  pinsert
 

Definition at line 791 of file appletstrings.c.

References deletestring(), lenbigstring, midinsertstring(), and stringlength.

Here is the call graph for this function:

boolean scanstring byte  ch,
void *  pstring,
short ix
 

Definition at line 355 of file appletstrings.c.

References i, and stringlength.

boolean stringendswith bigstring  ending,
bigstring  bs,
boolean  flunicase
 

Definition at line 943 of file appletstrings.c.

References bigstring, equalstrings(), midstring(), stringlength, and unicaseequalstrings().

Here is the call graph for this function:

boolean stringfindchar byte  ch,
void *  pstring
 

Definition at line 810 of file appletstrings.c.

References scanstring().

Here is the call graph for this function:

boolean stringlessthan void *  p1,
void *  p2
 

Definition at line 296 of file appletstrings.c.

References i, minint(), and short.

Here is the call graph for this function:

void stringtocolor bigstring  bs,
RGBColor rgb
 

Definition at line 908 of file appletstrings.c.

References bigstring, deletestring(), firstword(), stringlength, and stringtonumber().

Here is the call graph for this function:

void stringtonumber void *  pstring,
long num,
boolean flerror
 

Definition at line 580 of file appletstrings.c.

References i, and stringlength.

boolean unicaseequalstrings void *  pvoid1,
void *  pvoid2
 

Definition at line 138 of file appletstrings.c.

References alllower(), bigstring, copystring(), and equalstrings().

Here is the call graph for this function:

static boolean whitespacechar char  ch  )  [static]
 

Definition at line 734 of file appletstrings.c.


Generated on Wed May 31 21:44:09 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6