search.h File Reference

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

Go to the source code of this file.

Data Structures

struct  tysearchparameters

Defines

#define searchinclude

Functions

boolean isword (byte *, long, long, long)
boolean textsearch (byte *, long, long *, long *)
boolean handlesearch (Handle, long *, long *)
boolean stringsearch (bigstring, short *, short *)
void startnewsearch (boolean, boolean)
boolean startingtosearch (long)
boolean searchshouldwrap (long)
boolean searchshouldcontinue (long)
void endcurrentsearch (void)
boolean initsearch (void)
boolean getsearchparams (void)
boolean setsearchparams (void)

Variables

tysearchparameters searchparams


Define Documentation

#define searchinclude
 

Definition at line 28 of file search.h.


Function Documentation

void endcurrentsearch void   ) 
 

Definition at line 238 of file search.c.

References tysearchparameters::ctreplaced, tysearchparameters::flfirsttime, searchparams, and tysearchparameters::searchrefcon.

Referenced by doreplaceallfunc(), getsearchparams(), opfindverb(), and searchfunctionvalue().

boolean getsearchparams void   ) 
 

Definition at line 426 of file shellverbs.c.

References alllower(), bigstring, tysearchparameters::bsfind, tysearchparameters::bsorigfind, tysearchparameters::bsorigreplace, tysearchparameters::bsreplace, copystring(), disposehandle(), endcurrentsearch(), equalstrings(), fl, tysearchparameters::flclosebehind, tysearchparameters::flonelevel, tysearchparameters::floneobject, tysearchparameters::flregexp, tysearchparameters::flunicase, tysearchparameters::flwholewords, tysearchparameters::flwraparound, getbooleansearchparam(), getstringsearchparam(), isemptystring, ixcasesensitive, ixclosewindows, ixflatsearch, ixfrontwindowonly, ixreplacewith, ixsearchfor, ixwholewords, ixwraparound, langerrormessage(), nil, nullterminate, PCRE_CASELESS, PCRE_DOTALL, PCRE_MULTILINE, PCRE_NOTEMPTY, pophashtable(), pushsearchparamstable(), searchparams, setemptystring, setstringsearchparam(), stringlength, and zerostring.

Referenced by doreplaceallfunc(), opfindverb(), and searchfunctionvalue().

Here is the call graph for this function:

boolean handlesearch Handle  ,
long ,
long
 

Definition at line 119 of file search.c.

Referenced by opflatfind(), and tablesearchcellvalue().

boolean initsearch void   ) 
 

Definition at line 253 of file search.c.

References tysearchparameters::bsfind, tysearchparameters::bsorigfind, tysearchparameters::bsorigreplace, tysearchparameters::bsreplace, tysearchparameters::flclosebehind, tysearchparameters::flfirsttime, tysearchparameters::flonelevel, tysearchparameters::floneobject, tysearchparameters::flonetype, tysearchparameters::flregexp, tysearchparameters::flreplaceall, tysearchparameters::flunicase, tysearchparameters::flwholewords, tysearchparameters::flwraparound, tysearchparameters::flzoomfound, nil, searchparams, tysearchparameters::searchrefcon, and setemptystring.

Referenced by shellinit().

boolean isword byte ,
long  ,
long  ,
long 
 

Definition at line 42 of file search.c.

References nil.

Referenced by textsearch().

boolean searchshouldcontinue long   ) 
 

Definition at line 201 of file search.c.

References tysearchparameters::floneobject, searchparams, and tysearchparameters::searchrefcon.

Referenced by continuetablesearch(), mecontinuesearch(), menuverbsearch(), opverbsearch(), pictsearch(), scriptsearch(), searchshouldwrap(), tableverbsearch(), and wpverbsearch().

boolean searchshouldwrap long   ) 
 

Definition at line 220 of file search.c.

References tysearchparameters::flwraparound, searchparams, and searchshouldcontinue().

Referenced by continuetablesearch(), mecontinuesearch(), menuverbsearch(), opverbsearch(), scriptsearch(), tableverbsearch(), and wpverbsearch().

Here is the call graph for this function:

boolean setsearchparams void   ) 
 

Definition at line 558 of file shellverbs.c.

References tysearchparameters::bsorigfind, tysearchparameters::bsorigreplace, tysearchparameters::flclosebehind, tysearchparameters::flonelevel, tysearchparameters::floneobject, tysearchparameters::flregexp, tysearchparameters::flunicase, tysearchparameters::flwholewords, tysearchparameters::flwraparound, ixcasesensitive, ixclosewindows, ixflatsearch, ixfrontwindowonly, ixreplacewith, ixsearchfor, ixwholewords, ixwraparound, pophashtable(), pushsearchparamstable(), searchparams, setbooleansearchparam(), and setstringsearchparam().

Referenced by doreplaceallfunc(), opfindverb(), and searchfunctionvalue().

Here is the call graph for this function:

boolean startingtosearch long   ) 
 

Definition at line 167 of file search.c.

References tysearchparameters::flfirsttime, tysearchparameters::flwindowzoomed, initbeachball(), right, searchparams, and tysearchparameters::searchrefcon.

Referenced by menuverbsearch(), opfindverb(), opverbsearch(), pictsearch(), scriptsearch(), tableverbsearch(), and wpverbsearch().

Here is the call graph for this function:

void startnewsearch boolean  ,
boolean 
 

Definition at line 157 of file search.c.

References tysearchparameters::ctreplaced, tysearchparameters::flreplaceall, tysearchparameters::flzoomfound, and searchparams.

Referenced by doreplaceallfunc(), opfindverb(), and searchfunctionvalue().

boolean stringsearch bigstring  ,
short ,
short
 

Definition at line 133 of file search.c.

References offset, stringlength, and textsearch().

Referenced by tablesearchcellname().

Here is the call graph for this function:

boolean textsearch byte ,
long  ,
long ,
long
 

Definition at line 81 of file search.c.

References tysearchparameters::bsfind, tysearchparameters::flregexp, tysearchparameters::flunicase, tysearchparameters::flwholewords, isword(), searchparams, stringlength, and textpatternmatch().

Referenced by handlesearch(), stringsearch(), and xcmdcallback().

Here is the call graph for this function:


Variable Documentation

tysearchparameters searchparams
 

Definition at line 39 of file search.c.

Referenced by doreplaceallfunc(), dosearch(), endcurrentsearch(), getsearchparams(), initsearch(), mecontinuesearch(), mesearchrefconroutine(), opfindverb(), opflatfind(), opgetsortstring(), searchfunctionvalue(), searchshouldcontinue(), searchshouldwrap(), setsearchparams(), startingtosearch(), startnewsearch(), tablefindvisit(), tablesearchcellname(), tablesearchcellvalue(), tableverbcontinuesearch(), tablezoomfound(), textsearch(), windowzoom(), and xcmdcallback().


Generated on Sat Jun 10 06:18:31 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6