Home | History | Annotate | Download | only in tool

Lines Matching defs:Keyword

22   "** or not a given identifier is really an SQL keyword.  The same thing\n"
34 typedef struct Keyword Keyword;
35 struct Keyword {
36 char *zName; /* The keyword name */
37 char *zTokenType; /* Token value for this keyword */
38 int mask; /* Code this keyword if non-zero */
40 int hash; /* Hash on the keyword */
42 int len; /* Length of this keyword, not counting final \000 */
46 int substrId; /* Id to another keyword this keyword is embedded in */
47 int substrOffset; /* Offset into substrId for start of this keyword */
48 char zOrigName[20]; /* Original keyword name before processing */
145 static Keyword aKeywordTable[] = {
295 ** Comparision function for two Keyword records
298 const Keyword *pA = (Keyword*)a;
299 const Keyword *pB = (Keyword*)b;
308 const Keyword *pA = (Keyword*)a;
309 const Keyword *pB = (Keyword*)b;
318 const Keyword *pA = (Keyword*)a;
319 const Keyword *pB = (Keyword*)b;
329 static Keyword *findById(int id){
362 Keyword *p = &aKeywordTable[i];
372 /* Sort the table from shortest to longest keyword */
377 Keyword *p = &aKeywordTable[i];
379 Keyword *pOther = &aKeywordTable[j];
394 Keyword *p = &aKeywordTable[i];
397 Keyword *pOther;
415 Keyword *p = &aKeywordTable[i];
421 Keyword *pOther = &aKeywordTable[j];
438 Keyword *p = &aKeywordTable[i];
480 Keyword *p = &aKeywordTable[i];