tablefind.c File Reference

#include "frontier.h"
#include "standard.h"
#include "cursor.h"
#include "kb.h"
#include "memory.h"
#include "search.h"
#include "strings.h"
#include "langexternal.h"
#include "opinternal.h"
#include "tablestructure.h"
#include "tableinternal.h"
#include "tableverbs.h"

Include dependency graph for tablefind.c:

Go to the source code of this file.

Functions

static boolean tableassigntocell (hdlhashtable htable, bigstring bsname, hdlhashnode hnode, tyvaluerecord val)
static void tablezoomfound (bigstring bsname, short col, long ixfound, short lenfound)
static boolean tablesearchcellname (hdlhashnode hnode, bigstring bscell)
static boolean tablesearchcellvalue (hdlhashnode hnode, bigstring bscell, tyvaluerecord val)
static boolean tablefindvisit (bigstring bsname, hdlhashnode hnode, tyvaluerecord val, ptrvoid refcon)
static boolean tablefind (hdlhashtable htable, boolean flwrap, bigstring bsmark, boolean flmarkbeforevalue)
boolean tableverbfind (hdlexternalvariable hvariable, boolean *flzoom)
static boolean continuetablesearch (hdlexternalvariable hvariable)
boolean tableverbcontinuesearch (hdlexternalvariable hvariable)
boolean tableverbsearch (void)

Variables

static hdlhashtable hsearchtable
static bigstring bssearchmarker
static boolean flsearchundermarker
static boolean flsearchwrapped


Function Documentation

static boolean continuetablesearch hdlexternalvariable  hvariable  )  [static]
 

Definition at line 363 of file tablefind.c.

References bigstring, fl, keyboardescape(), nil, searchshouldcontinue(), searchshouldwrap(), tablefind(), and tablefindvariable().

Referenced by tableverbcontinuesearch().

Here is the call graph for this function:

static boolean tableassigntocell hdlhashtable  htable,
bigstring  bsname,
hdlhashnode  hnode,
tyvaluerecord  val
[static]
 

Definition at line 54 of file tablefind.c.

References coercevalue(), disposevaluerecord(), exemptfromtmpstack(), hashtableassign(), and tyvaluerecord::valuetype.

Referenced by tablesearchcellvalue().

Here is the call graph for this function:

static boolean tablefind hdlhashtable  htable,
boolean  flwrap,
bigstring  bsmark,
boolean  flmarkbeforevalue
[static]
 

Definition at line 298 of file tablefind.c.

References bssearchmarker, copystring(), fl, flsearchundermarker, flsearchwrapped, hsearchtable, nil, tablefindvisit(), and tablesortedinversesearch().

Referenced by continuetablesearch(), tableverbfind(), and tableverbsearch().

Here is the call graph for this function:

static boolean tablefindvisit bigstring  bsname,
hdlhashnode  hnode,
tyvaluerecord  val,
ptrvoid  refcon
[static]
 

Definition at line 214 of file tablefind.c.

References activMask, bssearchmarker, equalstrings(), externalvaluetype, tysearchparameters::flonelevel, tysearchparameters::flreplaceall, flsearchundermarker, flsearchwrapped, tysearchparameters::flwindowzoomed, tysearchparameters::flzoomfound, getfrontwindowinfo(), hnode, hsearchtable, isemptystring, keyboardescape(), langexternalsearch(), langexternalzoom(), rollbeachball(), searchparams, setemptystring, shellpartialeventloop(), tablesearchcellname(), tablesearchcellvalue(), and tyvaluerecord::valuetype.

Referenced by tablefind().

Here is the call graph for this function:

static boolean tablesearchcellname hdlhashnode  hnode,
bigstring  bscell
[static]
 

Definition at line 93 of file tablefind.c.

References bigstring, tysearchparameters::bsreplace, tysearchparameters::ctreplaced, tysearchparameters::flreplaceall, gethashkey, hashsetnodekey(), hnode, hsearchtable, namecolumn, replacestring(), searchparams, stringlength, stringsearch(), and tablezoomfound().

Referenced by tablefindvisit().

Here is the call graph for this function:

static boolean tablesearchcellvalue hdlhashnode  hnode,
bigstring  bscell,
tyvaluerecord  val
[static]
 

Definition at line 138 of file tablefind.c.

References addressvaluetype, tysearchparameters::bsreplace, coercetostring(), copyvaluerecord(), tysearchparameters::ctreplaced, disposevaluerecord(), exemptfromtmpstack(), tyvaluerecord::fldiskval, tysearchparameters::flreplaceall, gethandlesize(), handlesearch(), hnode, hsearch, hsearchtable, mungehandle(), searchparams, stringlength, stringvaluetype, tableassigntocell(), tablezoomfound(), tokenvaluetype, valuecolumn, and tyvaluerecord::valuetype.

Referenced by tablefindvisit().

Here is the call graph for this function:

boolean tableverbcontinuesearch hdlexternalvariable  hvariable  ) 
 

Definition at line 410 of file tablefind.c.

References continuetablesearch(), tysearchparameters::flclosebehind, nil, searchparams, shellclosewindow(), shellwindow, and shellwindowinfo.

Referenced by langexternalcontinuesearch(), and tableverbsearch().

Here is the call graph for this function:

boolean tableverbfind hdlexternalvariable  hvariable,
boolean flzoom
 

Definition at line 338 of file tablefind.c.

References fl, HNoNode, nil, tablefind(), tablenosubsdirty(), tableverbinmemory(), and tableverbunload().

Referenced by langexternalsearch().

Here is the call graph for this function:

boolean tableverbsearch void   ) 
 

Definition at line 440 of file tablefind.c.

References bigstring, fl, hnode, keyboardescape(), searchshouldcontinue(), searchshouldwrap(), startingtosearch(), tablefind(), tablegetcursorinfo(), and tableverbcontinuesearch().

Referenced by tablestart().

Here is the call graph for this function:

static void tablezoomfound bigstring  bsname,
short  col,
long  ixfound,
short  lenfound
[static]
 

Definition at line 71 of file tablefind.c.

References tysearchparameters::flwindowzoomed, tysearchparameters::flzoomfound, hsearchtable, opeditsetselection(), opsettextmode(), searchparams, shellpopglobals(), shellpushfrontglobals(), and tablezoomtoname().

Referenced by tablesearchcellname(), and tablesearchcellvalue().

Here is the call graph for this function:


Variable Documentation

bigstring bssearchmarker [static]
 

Definition at line 47 of file tablefind.c.

Referenced by tablefind(), and tablefindvisit().

boolean flsearchundermarker [static]
 

Definition at line 49 of file tablefind.c.

Referenced by tablefind(), and tablefindvisit().

boolean flsearchwrapped [static]
 

Definition at line 51 of file tablefind.c.

Referenced by tablefind(), and tablefindvisit().

hdlhashtable hsearchtable [static]
 

Definition at line 45 of file tablefind.c.

Referenced by tablefind(), tablefindvisit(), tablesearchcellname(), tablesearchcellvalue(), and tablezoomfound().


Generated on Tue Jun 13 18:49:40 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6