| /* C code produced by gperf version 3.0.3 */
/* Command-line: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/gperf test.gperf */
/* Computed positions: -k'1-2' */
#line 2 "test.gperf"
struct chars { char *c1; char *c2; };
#define TOTAL_KEYWORDS 66
#define MIN_WORD_LENGTH 2
#define MAX_WORD_LENGTH 2
#define MIN_HASH_VALUE 2
#define MAX_HASH_VALUE 132
/* maximum key range = 131, duplicates = 0 */
#ifdef __GNUC__
__inline
#else
#ifdef __cplusplus
inline
#endif
#endif
static unsigned int
hash (str, len)
register const char *str;
register unsigned int len;
{
static unsigned char asso_values[] =
{
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 64, 10,
59, 54, 49, 44, 39, 34, 29, 24, 19, 14,
9, 4, 127, 2, 117, 0, 112, 107, 102, 97,
92, 87, 82, 77, 72, 67, 62, 57, 52, 47,
42, 37, 32, 27, 22, 17, 12, 7, 2, 125,
120, 115, 110, 105, 100, 95, 90, 85, 80, 75,
70, 65, 60, 55, 50, 45, 40, 35, 30, 25,
20, 15, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 5, 0,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
133, 133, 133, 133, 133, 133
};
return len + asso_values[(unsigned char)str[1]] + asso_values[(unsigned char)str[0]];
}
struct chars *
in_word_set (str, len)
register const char *str;
register unsigned int len;
{
static struct chars wordlist[] =
{
{""}, {""},
#line 18 "test.gperf"
{"\321\221", "\xd0\x81"},
{""},
#line 70 "test.gperf"
{"\321\217", "\xd0\xaf"},
{""},
#line 66 "test.gperf"
{"\321\215", "\xd0\xad"},
#line 7 "test.gperf"
{"\320\221", "\xd0\xb1"},
{""},
#line 55 "test.gperf"
{"\320\250", "\xd1\x88"},
{""},
#line 64 "test.gperf"
{"\321\214", "\xd0\xac"},
#line 42 "test.gperf"
{"\321\201", "\xd0\xa1"},
{""},
#line 53 "test.gperf"
{"\320\247", "\xd1\x87"},
{""},
#line 62 "test.gperf"
{"\321\213", "\xd0\xab"},
#line 17 "test.gperf"
{"\320\201", "\xd1\x91"},
{""},
#line 51 "test.gperf"
{"\320\246", "\xd1\x86"},
{""},
#line 60 "test.gperf"
{"\321\212", "\xd0\xaa"},
#line 38 "test.gperf"
{"\320\277", "\xd0\x9f"},
{""},
#line 49 "test.gperf"
{"\320\245", "\xd1\x85"},
{""},
#line 58 "test.gperf"
{"\321\211", "\xd0\xa9"},
#line 36 "test.gperf"
{"\320\276", "\xd0\x9e"},
{""},
#line 47 "test.gperf"
{"\320\244", "\xd1\x84"},
{""},
#line 56 "test.gperf"
{"\321\210", "\xd0\xa8"},
#line 34 "test.gperf"
{"\320\275", "\xd0\x9d"},
{""},
#line 45 "test.gperf"
{"\320\243", "\xd1\x83"},
{""},
#line 54 "test.gperf"
{"\321\207", "\xd0\xa7"},
#line 32 "test.gperf"
{"\320\274", "\xd0\x9c"},
{""},
#line 43 "test.gperf"
{"\320\242", "\xd1\x82"},
{""},
#line 52 "test.gperf"
{"\321\206", "\xd0\xa6"},
#line 30 "test.gperf"
{"\320\273", "\xd0\x9b"},
{""},
#line 41 "test.gperf"
{"\320\241", "\xd1\x81"},
{""},
#line 50 "test.gperf"
{"\321\205", "\xd0\xa5"},
#line 28 "test.gperf"
{"\320\272", "\xd0\x9a"},
{""},
#line 39 "test.gperf"
{"\320\240", "\xd1\x80"},
{""},
#line 48 "test.gperf"
{"\321\204", "\xd0\xa4"},
#line 26 "test.gperf"
{"\320\271", "\xd0\x99"},
{""},
#line 37 "test.gperf"
{"\320\237", "\xd0\xbf"},
{""},
#line 46 "test.gperf"
{"\321\203", "\xd0\xa3"},
#line 24 "test.gperf"
{"\320\270", "\xd0\x98"},
{""},
#line 35 "test.gperf"
{"\320\236", "\xd0\xbe"},
{""},
#line 44 "test.gperf"
{"\321\202", "\xd0\xa2"},
#line 22 "test.gperf"
{"\320\267", "\xd0\x97"},
{""},
#line 33 "test.gperf"
{"\320\235", "\xd0\xbd"},
{""},
#line 40 "test.gperf"
{"\321\200", "\xd0\xa0"},
#line 20 "test.gperf"
{"\320\266", "\xd0\x96"},
{""},
#line 31 "test.gperf"
{"\320\234", "\xd0\xbc"},
{""}, {""},
#line 16 "test.gperf"
{"\320\265", "\xd0\x95"},
{""},
#line 29 "test.gperf"
{"\320\233", "\xd0\xbb"},
{""}, {""},
#line 14 "test.gperf"
{"\320\264", "\xd0\x94"},
{""},
#line 27 "test.gperf"
{"\320\232", "\xd0\xba"},
{""}, {""},
#line 12 "test.gperf"
{"\320\263", "\xd0\x93"},
{""},
#line 25 "test.gperf"
{"\320\231", "\xd0\xb9"},
{""}, {""},
#line 10 "test.gperf"
{"\320\262", "\xd0\x92"},
{""},
#line 23 "test.gperf"
{"\320\230", "\xd0\xb8"},
{""}, {""},
#line 8 "test.gperf"
{"\320\261", "\xd0\x91"},
{""},
#line 21 "test.gperf"
{"\320\227", "\xd0\xb7"},
{""}, {""},
#line 6 "test.gperf"
{"\320\260", "\xd0\x90"},
{""},
#line 19 "test.gperf"
{"\320\226", "\xd0\xb6"},
{""}, {""},
#line 69 "test.gperf"
{"\320\257", "\xd1\x8f"},
{""},
#line 15 "test.gperf"
{"\320\225", "\xd0\xb5"},
{""}, {""},
#line 67 "test.gperf"
{"\320\256", "\xd1\x8e"},
{""},
#line 13 "test.gperf"
{"\320\224", "\xd0\xb4"},
{""}, {""},
#line 65 "test.gperf"
{"\320\255", "\xd1\x8d"},
{""},
#line 11 "test.gperf"
{"\320\223", "\xd0\xb3"},
{""}, {""},
#line 63 "test.gperf"
{"\320\254", "\xd1\x8c"},
{""},
#line 9 "test.gperf"
{"\320\222", "\xd0\xb2"},
{""}, {""},
#line 61 "test.gperf"
{"\320\253", "\xd1\x8b"},
{""},
#line 5 "test.gperf"
{"\320\220", "\xd0\xb0"},
{""}, {""},
#line 59 "test.gperf"
{"\320\252", "\xd1\x8a"},
{""},
#line 68 "test.gperf"
{"\321\216", "\xd0\xae"},
{""}, {""},
#line 57 "test.gperf"
{"\320\251", "\xd1\x89"}
};
if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
{
unsigned int key = hash (str, len);
if (key <= MAX_HASH_VALUE)
{
register const char *s = wordlist[key].c1;
if (*str == *s && !strcmp (str + 1, s + 1))
return &wordlist[key];
}
}
return 0;
}
|