Ruby  2.5.0dev(2017-10-22revision60238)
zonetab.h
Go to the documentation of this file.
1 /* C code produced by gperf version 3.0.4 */
2 /* Command-line: gperf -E -C -c -P -p -j1 -i 1 -g -o -t -N zonetab zonetab.list */
3 /* Computed positions: -k'1-4,$' */
4 
5 #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
6  && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
7  && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \
8  && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \
9  && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \
10  && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \
11  && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \
12  && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \
13  && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \
14  && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \
15  && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \
16  && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \
17  && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \
18  && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \
19  && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \
20  && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \
21  && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \
22  && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \
23  && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \
24  && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \
25  && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \
26  && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \
27  && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126))
28 /* The character set is not based on ISO-646. */
29 error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>."
30 #endif
31 
32 #line 1 "zonetab.list"
33 
34 struct zone {
35  int name;
36  int offset;
37 };
38 static const struct zone *zonetab();
39 #line 9 "zonetab.list"
40 struct zone;
41 /* maximum key range = 434, duplicates = 0 */
42 
43 #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)
44 inline
45 #elif defined(__GNUC__)
46 __inline
47 #endif
48 static unsigned int
49 hash (str, len)
50  register const char *str;
51  register unsigned int len;
52 {
53  static const unsigned short asso_values[] =
54  {
55  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
56  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
57  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
58  439, 439, 19, 439, 439, 439, 439, 439, 439, 439,
59  439, 439, 439, 439, 439, 2, 4, 439, 439, 439,
60  439, 439, 8, 6, 3, 439, 439, 439, 439, 439,
61  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
62  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
63  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
64  439, 439, 439, 439, 439, 439, 439, 7, 63, 53,
65  2, 4, 32, 110, 88, 78, 90, 68, 47, 108,
66  10, 73, 81, 124, 3, 1, 4, 77, 116, 88,
67  15, 96, 45, 5, 439, 439, 439, 439, 439, 439,
68  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
69  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
70  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
71  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
72  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
73  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
74  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
75  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
76  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
77  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
78  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
79  439, 439, 439, 439, 439, 439, 439, 439, 439, 439,
80  439, 439, 439, 439, 439, 439, 439
81  };
82  register int hval = len;
83 
84  switch (hval)
85  {
86  default:
87  hval += asso_values[(unsigned char)str[3]];
88  /*FALLTHROUGH*/
89  case 3:
90  hval += asso_values[(unsigned char)str[2]];
91  /*FALLTHROUGH*/
92  case 2:
93  hval += asso_values[(unsigned char)str[1]];
94  /*FALLTHROUGH*/
95  case 1:
96  hval += asso_values[(unsigned char)str[0]+1];
97  break;
98  }
99  return hval + asso_values[(unsigned char)str[len - 1]];
100 }
101 
103  {
104  char stringpool_str5[sizeof("r")];
105  char stringpool_str6[sizeof("s")];
106  char stringpool_str7[sizeof("d")];
107  char stringpool_str14[sizeof("cst")];
108  char stringpool_str15[sizeof("cdt")];
109  char stringpool_str16[sizeof("sst")];
110  char stringpool_str17[sizeof("cet")];
111  char stringpool_str18[sizeof("msd")];
112  char stringpool_str19[sizeof("cest")];
113  char stringpool_str20[sizeof("cat")];
114  char stringpool_str22[sizeof("mst")];
115  char stringpool_str23[sizeof("mdt")];
116  char stringpool_str24[sizeof("sast")];
117  char stringpool_str25[sizeof("met")];
118  char stringpool_str27[sizeof("mest")];
119  char stringpool_str30[sizeof("wet")];
120  char stringpool_str31[sizeof("dateline")];
121  char stringpool_str32[sizeof("west")];
122  char stringpool_str33[sizeof("wat")];
123  char stringpool_str35[sizeof("wast")];
124  char stringpool_str36[sizeof("wadt")];
125  char stringpool_str37[sizeof("e")];
126  char stringpool_str38[sizeof("central europe")];
127  char stringpool_str39[sizeof("central asia")];
128  char stringpool_str40[sizeof("west asia")];
129  char stringpool_str41[sizeof("cen. australia")];
130  char stringpool_str42[sizeof("central america")];
131  char stringpool_str44[sizeof("est")];
132  char stringpool_str45[sizeof("edt")];
133  char stringpool_str46[sizeof("central european")];
134  char stringpool_str47[sizeof("eet")];
135  char stringpool_str48[sizeof("se asia")];
136  char stringpool_str49[sizeof("eest")];
137  char stringpool_str50[sizeof("eat")];
138  char stringpool_str51[sizeof("z")];
139  char stringpool_str52[sizeof("east")];
140  char stringpool_str53[sizeof("eadt")];
141  char stringpool_str54[sizeof("sa eastern")];
142  char stringpool_str55[sizeof("w. europe")];
143  char stringpool_str56[sizeof("c")];
144  char stringpool_str57[sizeof("yst")];
145  char stringpool_str58[sizeof("ydt")];
146  char stringpool_str59[sizeof("kst")];
147  char stringpool_str60[sizeof("clt")];
148  char stringpool_str61[sizeof("eastern")];
149  char stringpool_str62[sizeof("clst")];
150  char stringpool_str63[sizeof("bt")];
151  char stringpool_str64[sizeof("w. australia")];
152  char stringpool_str65[sizeof("bst")];
153  char stringpool_str66[sizeof("cct")];
154  char stringpool_str67[sizeof("brt")];
155  char stringpool_str69[sizeof("brst")];
156  char stringpool_str71[sizeof("a")];
157  char stringpool_str72[sizeof("e. europe")];
158  char stringpool_str73[sizeof("at")];
159  char stringpool_str74[sizeof("central")];
160  char stringpool_str75[sizeof("ast")];
161  char stringpool_str76[sizeof("adt")];
162  char stringpool_str77[sizeof("art")];
163  char stringpool_str78[sizeof("e. africa")];
164  char stringpool_str79[sizeof("e. south america")];
165  char stringpool_str80[sizeof("jst")];
166  char stringpool_str81[sizeof("e. australia")];
167  char stringpool_str82[sizeof("t")];
168  char stringpool_str83[sizeof("nt")];
169  char stringpool_str84[sizeof("n")];
170  char stringpool_str85[sizeof("nst")];
171  char stringpool_str86[sizeof("ndt")];
172  char stringpool_str87[sizeof("canada central")];
173  char stringpool_str88[sizeof("central pacific")];
174  char stringpool_str89[sizeof("west pacific")];
175  char stringpool_str90[sizeof("hst")];
176  char stringpool_str91[sizeof("hdt")];
177  char stringpool_str93[sizeof("malay peninsula")];
178  char stringpool_str95[sizeof("zp6")];
179  char stringpool_str97[sizeof("russian")];
180  char stringpool_str98[sizeof("hast")];
181  char stringpool_str99[sizeof("hadt")];
182  char stringpool_str100[sizeof("gst")];
183  char stringpool_str101[sizeof("zp5")];
184  char stringpool_str102[sizeof("ist")];
185  char stringpool_str103[sizeof("swt")];
186  char stringpool_str104[sizeof("w")];
187  char stringpool_str105[sizeof("zp4")];
188  char stringpool_str107[sizeof("mez")];
189  char stringpool_str108[sizeof("cape verde")];
190  char stringpool_str109[sizeof("mesz")];
191  char stringpool_str110[sizeof("greenland")];
192  char stringpool_str112[sizeof("x")];
193  char stringpool_str114[sizeof("mewt")];
194  char stringpool_str115[sizeof("w. central africa")];
195  char stringpool_str116[sizeof("k")];
196  char stringpool_str117[sizeof("b")];
197  char stringpool_str119[sizeof("m")];
198  char stringpool_str120[sizeof("sri lanka")];
199  char stringpool_str122[sizeof("fst")];
200  char stringpool_str124[sizeof("iran")];
201  char stringpool_str125[sizeof("sgt")];
202  char stringpool_str126[sizeof("ut")];
203  char stringpool_str128[sizeof("q")];
204  char stringpool_str129[sizeof("nzt")];
205  char stringpool_str131[sizeof("nzst")];
206  char stringpool_str132[sizeof("nzdt")];
207  char stringpool_str133[sizeof("myanmar")];
208  char stringpool_str135[sizeof("alaskan")];
209  char stringpool_str136[sizeof("pst")];
210  char stringpool_str137[sizeof("pdt")];
211  char stringpool_str138[sizeof("sa western")];
212  char stringpool_str139[sizeof("korea")];
213  char stringpool_str142[sizeof("y")];
214  char stringpool_str143[sizeof("f")];
215  char stringpool_str144[sizeof("akst")];
216  char stringpool_str145[sizeof("akdt")];
217  char stringpool_str148[sizeof("caucasus")];
218  char stringpool_str150[sizeof("msk")];
219  char stringpool_str151[sizeof("idle")];
220  char stringpool_str153[sizeof("arabian")];
221  char stringpool_str155[sizeof("o")];
222  char stringpool_str156[sizeof("l")];
223  char stringpool_str157[sizeof("mid-atlantic")];
224  char stringpool_str160[sizeof("us eastern")];
225  char stringpool_str164[sizeof("ahst")];
226  char stringpool_str167[sizeof("h")];
227  char stringpool_str168[sizeof("fle")];
228  char stringpool_str169[sizeof("i")];
229  char stringpool_str170[sizeof("north asia")];
230  char stringpool_str171[sizeof("n. central asia")];
231  char stringpool_str172[sizeof("north asia east")];
232  char stringpool_str174[sizeof("sa pacific")];
233  char stringpool_str177[sizeof("south africa")];
234  char stringpool_str181[sizeof("aus eastern")];
235  char stringpool_str182[sizeof("atlantic")];
236  char stringpool_str186[sizeof("mexico")];
237  char stringpool_str188[sizeof("mountain")];
238  char stringpool_str190[sizeof("china")];
239  char stringpool_str191[sizeof("azores")];
240  char stringpool_str192[sizeof("india")];
241  char stringpool_str194[sizeof("u")];
242  char stringpool_str195[sizeof("arabic")];
243  char stringpool_str196[sizeof("greenwich")];
244  char stringpool_str197[sizeof("new zealand")];
245  char stringpool_str198[sizeof("hawaiian")];
246  char stringpool_str199[sizeof("g")];
247  char stringpool_str200[sizeof("romance")];
248  char stringpool_str203[sizeof("arab")];
249  char stringpool_str204[sizeof("samoa")];
250  char stringpool_str205[sizeof("v")];
251  char stringpool_str206[sizeof("p")];
252  char stringpool_str207[sizeof("gmt")];
253  char stringpool_str208[sizeof("tasmania")];
254  char stringpool_str209[sizeof("fwt")];
255  char stringpool_str211[sizeof("newfoundland")];
256  char stringpool_str217[sizeof("nepal")];
257  char stringpool_str218[sizeof("aus central")];
258  char stringpool_str221[sizeof("gtb")];
259  char stringpool_str223[sizeof("vladivostok")];
260  char stringpool_str229[sizeof("utc")];
261  char stringpool_str233[sizeof("ekaterinburg")];
262  char stringpool_str265[sizeof("us mountain")];
263  char stringpool_str269[sizeof("jerusalem")];
264  char stringpool_str272[sizeof("yakutsk")];
265  char stringpool_str279[sizeof("pacific sa")];
266  char stringpool_str282[sizeof("tonga")];
267  char stringpool_str314[sizeof("afghanistan")];
268  char stringpool_str319[sizeof("idlw")];
269  char stringpool_str322[sizeof("pacific")];
270  char stringpool_str327[sizeof("taipei")];
271  char stringpool_str328[sizeof("egypt")];
272  char stringpool_str392[sizeof("tokyo")];
273  char stringpool_str438[sizeof("fiji")];
274  };
275 static const struct stringpool_t stringpool_contents =
276  {
277  "r",
278  "s",
279  "d",
280  "cst",
281  "cdt",
282  "sst",
283  "cet",
284  "msd",
285  "cest",
286  "cat",
287  "mst",
288  "mdt",
289  "sast",
290  "met",
291  "mest",
292  "wet",
293  "dateline",
294  "west",
295  "wat",
296  "wast",
297  "wadt",
298  "e",
299  "central europe",
300  "central asia",
301  "west asia",
302  "cen. australia",
303  "central america",
304  "est",
305  "edt",
306  "central european",
307  "eet",
308  "se asia",
309  "eest",
310  "eat",
311  "z",
312  "east",
313  "eadt",
314  "sa eastern",
315  "w. europe",
316  "c",
317  "yst",
318  "ydt",
319  "kst",
320  "clt",
321  "eastern",
322  "clst",
323  "bt",
324  "w. australia",
325  "bst",
326  "cct",
327  "brt",
328  "brst",
329  "a",
330  "e. europe",
331  "at",
332  "central",
333  "ast",
334  "adt",
335  "art",
336  "e. africa",
337  "e. south america",
338  "jst",
339  "e. australia",
340  "t",
341  "nt",
342  "n",
343  "nst",
344  "ndt",
345  "canada central",
346  "central pacific",
347  "west pacific",
348  "hst",
349  "hdt",
350  "malay peninsula",
351  "zp6",
352  "russian",
353  "hast",
354  "hadt",
355  "gst",
356  "zp5",
357  "ist",
358  "swt",
359  "w",
360  "zp4",
361  "mez",
362  "cape verde",
363  "mesz",
364  "greenland",
365  "x",
366  "mewt",
367  "w. central africa",
368  "k",
369  "b",
370  "m",
371  "sri lanka",
372  "fst",
373  "iran",
374  "sgt",
375  "ut",
376  "q",
377  "nzt",
378  "nzst",
379  "nzdt",
380  "myanmar",
381  "alaskan",
382  "pst",
383  "pdt",
384  "sa western",
385  "korea",
386  "y",
387  "f",
388  "akst",
389  "akdt",
390  "caucasus",
391  "msk",
392  "idle",
393  "arabian",
394  "o",
395  "l",
396  "mid-atlantic",
397  "us eastern",
398  "ahst",
399  "h",
400  "fle",
401  "i",
402  "north asia",
403  "n. central asia",
404  "north asia east",
405  "sa pacific",
406  "south africa",
407  "aus eastern",
408  "atlantic",
409  "mexico",
410  "mountain",
411  "china",
412  "azores",
413  "india",
414  "u",
415  "arabic",
416  "greenwich",
417  "new zealand",
418  "hawaiian",
419  "g",
420  "romance",
421  "arab",
422  "samoa",
423  "v",
424  "p",
425  "gmt",
426  "tasmania",
427  "fwt",
428  "newfoundland",
429  "nepal",
430  "aus central",
431  "gtb",
432  "vladivostok",
433  "utc",
434  "ekaterinburg",
435  "us mountain",
436  "jerusalem",
437  "yakutsk",
438  "pacific sa",
439  "tonga",
440  "afghanistan",
441  "idlw",
442  "pacific",
443  "taipei",
444  "egypt",
445  "tokyo",
446  "fiji"
447  };
448 #define stringpool ((const char *) &stringpool_contents)
449 #ifdef __GNUC__
450 __inline
451 #if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__
452 __attribute__ ((__gnu_inline__))
453 #endif
454 #endif
455 const struct zone *
456 zonetab (str, len)
457  register const char *str;
458  register unsigned int len;
459 {
460  enum
461  {
462  TOTAL_KEYWORDS = 170,
463  MIN_WORD_LENGTH = 1,
464  MAX_WORD_LENGTH = 17,
465  MIN_HASH_VALUE = 5,
466  MAX_HASH_VALUE = 438
467  };
468 
469  static const struct zone wordlist[] =
470  {
471  {-1}, {-1}, {-1}, {-1}, {-1},
472 #line 37 "zonetab.list"
473  {offsetof(struct stringpool_t, stringpool_str5), -5*3600},
474 #line 38 "zonetab.list"
475  {offsetof(struct stringpool_t, stringpool_str6), -6*3600},
476 #line 24 "zonetab.list"
477  {offsetof(struct stringpool_t, stringpool_str7), 4*3600},
478  {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
479 #line 15 "zonetab.list"
480  {offsetof(struct stringpool_t, stringpool_str14), -6*3600},
481 #line 16 "zonetab.list"
482  {offsetof(struct stringpool_t, stringpool_str15), -5*3600},
483 #line 85 "zonetab.list"
484  {offsetof(struct stringpool_t, stringpool_str16), 2*3600},
485 #line 71 "zonetab.list"
486  {offsetof(struct stringpool_t, stringpool_str17), 1*3600},
487 #line 90 "zonetab.list"
488  {offsetof(struct stringpool_t, stringpool_str18), 4*3600},
489 #line 79 "zonetab.list"
490  {offsetof(struct stringpool_t, stringpool_str19), 2*3600},
491 #line 65 "zonetab.list"
492  {offsetof(struct stringpool_t, stringpool_str20),-10*3600},
493  {-1},
494 #line 17 "zonetab.list"
495  {offsetof(struct stringpool_t, stringpool_str22), -7*3600},
496 #line 18 "zonetab.list"
497  {offsetof(struct stringpool_t, stringpool_str23), -6*3600},
498 #line 84 "zonetab.list"
499  {offsetof(struct stringpool_t, stringpool_str24), 2*3600},
500 #line 73 "zonetab.list"
501  {offsetof(struct stringpool_t, stringpool_str25), 1*3600},
502  {-1},
503 #line 82 "zonetab.list"
504  {offsetof(struct stringpool_t, stringpool_str27), 2*3600},
505  {-1}, {-1},
506 #line 47 "zonetab.list"
507  {offsetof(struct stringpool_t, stringpool_str30), 0*3600},
508 #line 128 "zonetab.list"
509  {offsetof(struct stringpool_t, stringpool_str31), -43200},
510 #line 78 "zonetab.list"
511  {offsetof(struct stringpool_t, stringpool_str32), 1*3600},
512 #line 77 "zonetab.list"
513  {offsetof(struct stringpool_t, stringpool_str33), 1*3600},
514  {-1},
515 #line 95 "zonetab.list"
516  {offsetof(struct stringpool_t, stringpool_str35), 7*3600},
517 #line 98 "zonetab.list"
518  {offsetof(struct stringpool_t, stringpool_str36), 8*3600},
519 #line 25 "zonetab.list"
520  {offsetof(struct stringpool_t, stringpool_str37), 5*3600},
521 #line 123 "zonetab.list"
522  {offsetof(struct stringpool_t, stringpool_str38), 3600},
523 #line 122 "zonetab.list"
524  {offsetof(struct stringpool_t, stringpool_str39), 21600},
525 #line 178 "zonetab.list"
526  {offsetof(struct stringpool_t, stringpool_str40), 18000},
527 #line 120 "zonetab.list"
528  {offsetof(struct stringpool_t, stringpool_str41), 34200},
529 #line 121 "zonetab.list"
530  {offsetof(struct stringpool_t, stringpool_str42), -21600},
531  {-1},
532 #line 13 "zonetab.list"
533  {offsetof(struct stringpool_t, stringpool_str44), -5*3600},
534 #line 14 "zonetab.list"
535  {offsetof(struct stringpool_t, stringpool_str45), -4*3600},
536 #line 124 "zonetab.list"
537  {offsetof(struct stringpool_t, stringpool_str46), 3600},
538 #line 80 "zonetab.list"
539  {offsetof(struct stringpool_t, stringpool_str47), 2*3600},
540 #line 164 "zonetab.list"
541  {offsetof(struct stringpool_t, stringpool_str48), 25200},
542 #line 88 "zonetab.list"
543  {offsetof(struct stringpool_t, stringpool_str49), 3*3600},
544 #line 87 "zonetab.list"
545  {offsetof(struct stringpool_t, stringpool_str50), 3*3600},
546 #line 45 "zonetab.list"
547  {offsetof(struct stringpool_t, stringpool_str51), 0*3600},
548 #line 101 "zonetab.list"
549  {offsetof(struct stringpool_t, stringpool_str52),10*3600},
550 #line 103 "zonetab.list"
551  {offsetof(struct stringpool_t, stringpool_str53),11*3600},
552 #line 160 "zonetab.list"
553  {offsetof(struct stringpool_t, stringpool_str54), -10800},
554 #line 177 "zonetab.list"
555  {offsetof(struct stringpool_t, stringpool_str55), 3600},
556 #line 23 "zonetab.list"
557  {offsetof(struct stringpool_t, stringpool_str56), 3*3600},
558 #line 63 "zonetab.list"
559  {offsetof(struct stringpool_t, stringpool_str57), -9*3600},
560 #line 59 "zonetab.list"
561  {offsetof(struct stringpool_t, stringpool_str58), -8*3600},
562 #line 100 "zonetab.list"
563  {offsetof(struct stringpool_t, stringpool_str59), 9*3600},
564 #line 57 "zonetab.list"
565  {offsetof(struct stringpool_t, stringpool_str60), -4*3600},
566 #line 133 "zonetab.list"
567  {offsetof(struct stringpool_t, stringpool_str61), -18000},
568 #line 54 "zonetab.list"
569  {offsetof(struct stringpool_t, stringpool_str62),-3*3600},
570 #line 86 "zonetab.list"
571  {offsetof(struct stringpool_t, stringpool_str63), 3*3600},
572 #line 175 "zonetab.list"
573  {offsetof(struct stringpool_t, stringpool_str64), 28800},
574 #line 70 "zonetab.list"
575  {offsetof(struct stringpool_t, stringpool_str65), 1*3600},
576 #line 96 "zonetab.list"
577  {offsetof(struct stringpool_t, stringpool_str66), 8*3600},
578 #line 53 "zonetab.list"
579  {offsetof(struct stringpool_t, stringpool_str67), -3*3600},
580  {-1},
581 #line 49 "zonetab.list"
582  {offsetof(struct stringpool_t, stringpool_str69),-2*3600},
583  {-1},
584 #line 21 "zonetab.list"
585  {offsetof(struct stringpool_t, stringpool_str71), 1*3600},
586 #line 131 "zonetab.list"
587  {offsetof(struct stringpool_t, stringpool_str72), 7200},
588 #line 48 "zonetab.list"
589  {offsetof(struct stringpool_t, stringpool_str73), -2*3600},
590 #line 126 "zonetab.list"
591  {offsetof(struct stringpool_t, stringpool_str74), -21600},
592 #line 56 "zonetab.list"
593  {offsetof(struct stringpool_t, stringpool_str75), -4*3600},
594 #line 52 "zonetab.list"
595  {offsetof(struct stringpool_t, stringpool_str76), -3*3600},
596 #line 51 "zonetab.list"
597  {offsetof(struct stringpool_t, stringpool_str77), -3*3600},
598 #line 129 "zonetab.list"
599  {offsetof(struct stringpool_t, stringpool_str78), 10800},
600 #line 132 "zonetab.list"
601  {offsetof(struct stringpool_t, stringpool_str79), -10800},
602 #line 99 "zonetab.list"
603  {offsetof(struct stringpool_t, stringpool_str80), 9*3600},
604 #line 130 "zonetab.list"
605  {offsetof(struct stringpool_t, stringpool_str81), 36000},
606 #line 39 "zonetab.list"
607  {offsetof(struct stringpool_t, stringpool_str82), -7*3600},
608 #line 68 "zonetab.list"
609  {offsetof(struct stringpool_t, stringpool_str83), -11*3600},
610 #line 33 "zonetab.list"
611  {offsetof(struct stringpool_t, stringpool_str84), -1*3600},
612 #line 55 "zonetab.list"
613  {offsetof(struct stringpool_t, stringpool_str85), -(3*3600+1800)},
614 #line 50 "zonetab.list"
615  {offsetof(struct stringpool_t, stringpool_str86), -(2*3600+1800)},
616 #line 117 "zonetab.list"
617  {offsetof(struct stringpool_t, stringpool_str87), -21600},
618 #line 125 "zonetab.list"
619  {offsetof(struct stringpool_t, stringpool_str88), 39600},
620 #line 179 "zonetab.list"
621  {offsetof(struct stringpool_t, stringpool_str89), 36000},
622 #line 67 "zonetab.list"
623  {offsetof(struct stringpool_t, stringpool_str90),-10*3600},
624 #line 62 "zonetab.list"
625  {offsetof(struct stringpool_t, stringpool_str91), -9*3600},
626  {-1},
627 #line 165 "zonetab.list"
628  {offsetof(struct stringpool_t, stringpool_str93), 28800},
629  {-1},
630 #line 94 "zonetab.list"
631  {offsetof(struct stringpool_t, stringpool_str95), 6*3600},
632  {-1},
633 #line 159 "zonetab.list"
634  {offsetof(struct stringpool_t, stringpool_str97), 10800},
635 #line 66 "zonetab.list"
636  {offsetof(struct stringpool_t, stringpool_str98),-10*3600},
637 #line 61 "zonetab.list"
638  {offsetof(struct stringpool_t, stringpool_str99),-9*3600},
639 #line 102 "zonetab.list"
640  {offsetof(struct stringpool_t, stringpool_str100), 10*3600},
641 #line 92 "zonetab.list"
642  {offsetof(struct stringpool_t, stringpool_str101), 5*3600},
643 #line 93 "zonetab.list"
644  {offsetof(struct stringpool_t, stringpool_str102), (5*3600+1800)},
645 #line 76 "zonetab.list"
646  {offsetof(struct stringpool_t, stringpool_str103), 1*3600},
647 #line 42 "zonetab.list"
648  {offsetof(struct stringpool_t, stringpool_str104), -10*3600},
649 #line 91 "zonetab.list"
650  {offsetof(struct stringpool_t, stringpool_str105), 4*3600},
651  {-1},
652 #line 75 "zonetab.list"
653  {offsetof(struct stringpool_t, stringpool_str107), 1*3600},
654 #line 118 "zonetab.list"
655  {offsetof(struct stringpool_t, stringpool_str108), -3600},
656 #line 83 "zonetab.list"
657  {offsetof(struct stringpool_t, stringpool_str109), 2*3600},
658 #line 138 "zonetab.list"
659  {offsetof(struct stringpool_t, stringpool_str110), -10800},
660  {-1},
661 #line 43 "zonetab.list"
662  {offsetof(struct stringpool_t, stringpool_str112), -11*3600},
663  {-1},
664 #line 74 "zonetab.list"
665  {offsetof(struct stringpool_t, stringpool_str114), 1*3600},
666 #line 176 "zonetab.list"
667  {offsetof(struct stringpool_t, stringpool_str115), 3600},
668 #line 30 "zonetab.list"
669  {offsetof(struct stringpool_t, stringpool_str116), 10*3600},
670 #line 22 "zonetab.list"
671  {offsetof(struct stringpool_t, stringpool_str117), 2*3600},
672  {-1},
673 #line 32 "zonetab.list"
674  {offsetof(struct stringpool_t, stringpool_str119), 12*3600},
675 #line 167 "zonetab.list"
676  {offsetof(struct stringpool_t, stringpool_str120), 21600},
677  {-1},
678 #line 81 "zonetab.list"
679  {offsetof(struct stringpool_t, stringpool_str122), 2*3600},
680  {-1},
681 #line 143 "zonetab.list"
682  {offsetof(struct stringpool_t, stringpool_str124), 12600},
683 #line 97 "zonetab.list"
684  {offsetof(struct stringpool_t, stringpool_str125), 8*3600},
685 #line 11 "zonetab.list"
686  {offsetof(struct stringpool_t, stringpool_str126), 0*3600},
687  {-1},
688 #line 36 "zonetab.list"
689  {offsetof(struct stringpool_t, stringpool_str128), -4*3600},
690 #line 106 "zonetab.list"
691  {offsetof(struct stringpool_t, stringpool_str129), 12*3600},
692  {-1},
693 #line 105 "zonetab.list"
694  {offsetof(struct stringpool_t, stringpool_str131),12*3600},
695 #line 107 "zonetab.list"
696  {offsetof(struct stringpool_t, stringpool_str132),13*3600},
697 #line 149 "zonetab.list"
698  {offsetof(struct stringpool_t, stringpool_str133), 23400},
699  {-1},
700 #line 109 "zonetab.list"
701  {offsetof(struct stringpool_t, stringpool_str135), -32400},
702 #line 19 "zonetab.list"
703  {offsetof(struct stringpool_t, stringpool_str136), -8*3600},
704 #line 20 "zonetab.list"
705  {offsetof(struct stringpool_t, stringpool_str137), -7*3600},
706 #line 162 "zonetab.list"
707  {offsetof(struct stringpool_t, stringpool_str138), -14400},
708 #line 145 "zonetab.list"
709  {offsetof(struct stringpool_t, stringpool_str139), 32400},
710  {-1}, {-1},
711 #line 44 "zonetab.list"
712  {offsetof(struct stringpool_t, stringpool_str142), -12*3600},
713 #line 26 "zonetab.list"
714  {offsetof(struct stringpool_t, stringpool_str143), 6*3600},
715 #line 60 "zonetab.list"
716  {offsetof(struct stringpool_t, stringpool_str144),-9*3600},
717 #line 58 "zonetab.list"
718  {offsetof(struct stringpool_t, stringpool_str145),-8*3600},
719  {-1}, {-1},
720 #line 119 "zonetab.list"
721  {offsetof(struct stringpool_t, stringpool_str148), 14400},
722  {-1},
723 #line 89 "zonetab.list"
724  {offsetof(struct stringpool_t, stringpool_str150), 3*3600},
725 #line 104 "zonetab.list"
726  {offsetof(struct stringpool_t, stringpool_str151),12*3600},
727  {-1},
728 #line 111 "zonetab.list"
729  {offsetof(struct stringpool_t, stringpool_str153), 14400},
730  {-1},
731 #line 34 "zonetab.list"
732  {offsetof(struct stringpool_t, stringpool_str155), -2*3600},
733 #line 31 "zonetab.list"
734  {offsetof(struct stringpool_t, stringpool_str156), 11*3600},
735 #line 147 "zonetab.list"
736  {offsetof(struct stringpool_t, stringpool_str157), -7200},
737  {-1}, {-1},
738 #line 172 "zonetab.list"
739  {offsetof(struct stringpool_t, stringpool_str160), -18000},
740  {-1}, {-1}, {-1},
741 #line 64 "zonetab.list"
742  {offsetof(struct stringpool_t, stringpool_str164),-10*3600},
743  {-1}, {-1},
744 #line 28 "zonetab.list"
745  {offsetof(struct stringpool_t, stringpool_str167), 8*3600},
746 #line 137 "zonetab.list"
747  {offsetof(struct stringpool_t, stringpool_str168), 7200},
748 #line 29 "zonetab.list"
749  {offsetof(struct stringpool_t, stringpool_str169), 9*3600},
750 #line 155 "zonetab.list"
751  {offsetof(struct stringpool_t, stringpool_str170), 25200},
752 #line 150 "zonetab.list"
753  {offsetof(struct stringpool_t, stringpool_str171), 21600},
754 #line 154 "zonetab.list"
755  {offsetof(struct stringpool_t, stringpool_str172), 28800},
756  {-1},
757 #line 161 "zonetab.list"
758  {offsetof(struct stringpool_t, stringpool_str174), -18000},
759  {-1}, {-1},
760 #line 166 "zonetab.list"
761  {offsetof(struct stringpool_t, stringpool_str177), 7200},
762  {-1}, {-1}, {-1},
763 #line 115 "zonetab.list"
764  {offsetof(struct stringpool_t, stringpool_str181), 36000},
765 #line 113 "zonetab.list"
766  {offsetof(struct stringpool_t, stringpool_str182), -14400},
767  {-1}, {-1}, {-1},
768 #line 146 "zonetab.list"
769  {offsetof(struct stringpool_t, stringpool_str186), -21600},
770  {-1},
771 #line 148 "zonetab.list"
772  {offsetof(struct stringpool_t, stringpool_str188), -25200},
773  {-1},
774 #line 127 "zonetab.list"
775  {offsetof(struct stringpool_t, stringpool_str190), 28800},
776 #line 116 "zonetab.list"
777  {offsetof(struct stringpool_t, stringpool_str191), -3600},
778 #line 142 "zonetab.list"
779  {offsetof(struct stringpool_t, stringpool_str192), 19800},
780  {-1},
781 #line 40 "zonetab.list"
782  {offsetof(struct stringpool_t, stringpool_str194), -8*3600},
783 #line 112 "zonetab.list"
784  {offsetof(struct stringpool_t, stringpool_str195), 10800},
785 #line 139 "zonetab.list"
786  {offsetof(struct stringpool_t, stringpool_str196), 0},
787 #line 152 "zonetab.list"
788  {offsetof(struct stringpool_t, stringpool_str197), 43200},
789 #line 141 "zonetab.list"
790  {offsetof(struct stringpool_t, stringpool_str198), -36000},
791 #line 27 "zonetab.list"
792  {offsetof(struct stringpool_t, stringpool_str199), 7*3600},
793 #line 158 "zonetab.list"
794  {offsetof(struct stringpool_t, stringpool_str200), 3600},
795  {-1}, {-1},
796 #line 110 "zonetab.list"
797  {offsetof(struct stringpool_t, stringpool_str203), 10800},
798 #line 163 "zonetab.list"
799  {offsetof(struct stringpool_t, stringpool_str204), -39600},
800 #line 41 "zonetab.list"
801  {offsetof(struct stringpool_t, stringpool_str205), -9*3600},
802 #line 35 "zonetab.list"
803  {offsetof(struct stringpool_t, stringpool_str206), -3*3600},
804 #line 12 "zonetab.list"
805  {offsetof(struct stringpool_t, stringpool_str207), 0*3600},
806 #line 169 "zonetab.list"
807  {offsetof(struct stringpool_t, stringpool_str208), 36000},
808 #line 72 "zonetab.list"
809  {offsetof(struct stringpool_t, stringpool_str209), 1*3600},
810  {-1},
811 #line 153 "zonetab.list"
812  {offsetof(struct stringpool_t, stringpool_str211), -12600},
813  {-1}, {-1}, {-1}, {-1}, {-1},
814 #line 151 "zonetab.list"
815  {offsetof(struct stringpool_t, stringpool_str217), 20700},
816 #line 114 "zonetab.list"
817  {offsetof(struct stringpool_t, stringpool_str218), 34200},
818  {-1}, {-1},
819 #line 140 "zonetab.list"
820  {offsetof(struct stringpool_t, stringpool_str221), 7200},
821  {-1},
822 #line 174 "zonetab.list"
823  {offsetof(struct stringpool_t, stringpool_str223), 36000},
824  {-1}, {-1}, {-1}, {-1}, {-1},
825 #line 46 "zonetab.list"
826  {offsetof(struct stringpool_t, stringpool_str229), 0*3600},
827  {-1}, {-1}, {-1},
828 #line 135 "zonetab.list"
829  {offsetof(struct stringpool_t, stringpool_str233), 18000},
830  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
831  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
832  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
833  {-1}, {-1}, {-1}, {-1},
834 #line 173 "zonetab.list"
835  {offsetof(struct stringpool_t, stringpool_str265), -25200},
836  {-1}, {-1}, {-1},
837 #line 144 "zonetab.list"
838  {offsetof(struct stringpool_t, stringpool_str269), 7200},
839  {-1}, {-1},
840 #line 180 "zonetab.list"
841  {offsetof(struct stringpool_t, stringpool_str272), 32400},
842  {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
843 #line 156 "zonetab.list"
844  {offsetof(struct stringpool_t, stringpool_str279), -14400},
845  {-1}, {-1},
846 #line 171 "zonetab.list"
847  {offsetof(struct stringpool_t, stringpool_str282), 46800},
848  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
849  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
850  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
851  {-1}, {-1}, {-1}, {-1},
852 #line 108 "zonetab.list"
853  {offsetof(struct stringpool_t, stringpool_str314), 16200},
854  {-1}, {-1}, {-1}, {-1},
855 #line 69 "zonetab.list"
856  {offsetof(struct stringpool_t, stringpool_str319),-12*3600},
857  {-1}, {-1},
858 #line 157 "zonetab.list"
859  {offsetof(struct stringpool_t, stringpool_str322), -28800},
860  {-1}, {-1}, {-1}, {-1},
861 #line 168 "zonetab.list"
862  {offsetof(struct stringpool_t, stringpool_str327), 28800},
863 #line 134 "zonetab.list"
864  {offsetof(struct stringpool_t, stringpool_str328), 7200},
865  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
866  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
867  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
868  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
869  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
870  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
871  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
872 #line 170 "zonetab.list"
873  {offsetof(struct stringpool_t, stringpool_str392), 32400},
874  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
875  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
876  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
877  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
878  {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
879 #line 136 "zonetab.list"
880  {offsetof(struct stringpool_t, stringpool_str438), 43200}
881  };
882 
883  if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
884  {
885  register int key = hash (str, len);
886 
887  if (key <= MAX_HASH_VALUE && key >= 0)
888  {
889  register int o = wordlist[key].name;
890  if (o >= 0)
891  {
892  register const char *s = o + stringpool;
893 
894  if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0')
895  return &wordlist[key];
896  }
897  }
898  }
899  return 0;
900 }
901 #line 181 "zonetab.list"
902 
return hval asso_values[(unsigned char) str[len - 1]]
Definition: zonetab.h:99
#define MIN_HASH_VALUE
Definition: lex.c:44
#define MAX_HASH_VALUE
Definition: lex.c:45
#define MAX_WORD_LENGTH
Definition: lex.c:43
int name
Definition: zonetab.h:35
register int hval
Definition: zonetab.h:82
#define offsetof(p_type, field)
Definition: addrinfo.h:186
int offset
Definition: zonetab.h:36
register unsigned int len
Definition: zonetab.h:51
#define MIN_WORD_LENGTH
Definition: lex.c:42
#define stringpool
Definition: zonetab.h:448
#define TOTAL_KEYWORDS
Definition: lex.c:41
Definition: zonetab.h:34
const struct zone * zonetab(str, len) register const char *str