]>
gcc.gnu.org Git - gcc.git/blob - gcc/cp/cfns.h
1 /* C code produced by gperf version 2.7.2 */
2 /* Command-line: gperf -o -C -E -k '1-6,$' -j1 -D -N libc_name_p ../../../src-gcc/gcc/cp/cfns.gperf */
6 static unsigned int hash (const char *, unsigned int);
10 const char * libc_name_p (const char *, unsigned int);
11 /* maximum key range = 480, duplicates = 1 */
22 register const char *str
;
23 register unsigned int len
;
25 static const unsigned short asso_values
[] =
27 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
28 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
29 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
30 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
31 483, 483, 483, 483, 483, 483, 483, 483, 0, 0,
32 1, 483, 483, 483, 483, 483, 483, 483, 483, 483,
33 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
34 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
35 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
36 483, 483, 483, 483, 483, 483, 483, 106, 76, 0,
37 21, 0, 0, 11, 43, 26, 0, 66, 106, 17,
38 121, 0, 17, 0, 7, 0, 3, 19, 49, 1,
39 3, 41, 483, 483, 483, 483, 483, 483, 483, 483,
40 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
41 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
42 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
43 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
44 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
45 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
46 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
47 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
48 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
49 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
50 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
51 483, 483, 483, 483, 483, 483, 483, 483, 483, 483,
52 483, 483, 483, 483, 483, 483
54 register int hval
= len
;
60 hval
+= asso_values
[(unsigned char)str
[5]];
62 hval
+= asso_values
[(unsigned char)str
[4]];
64 hval
+= asso_values
[(unsigned char)str
[3]];
66 hval
+= asso_values
[(unsigned char)str
[2]];
68 hval
+= asso_values
[(unsigned char)str
[1]];
70 hval
+= asso_values
[(unsigned char)str
[0]];
73 return hval
+ asso_values
[(unsigned char)str
[len
- 1]];
80 libc_name_p (str
, len
)
81 register const char *str
;
82 register unsigned int len
;
93 static const char * const wordlist
[] =
253 static const short lookup
[] =
255 -1, -1, -1, 0, 1, -1, -1, -1,
256 -1, -1, -1, 2, -1, -1, -1, -1,
257 -1, 3, -1, -1, 4, -1, 5, 6,
258 7, -1, -1, -1, -1, 8, -1, -1,
259 -1, 9, 10, 11, -1, -1, 12, 13,
260 14, -1, 15, -1, 16, 17, 18, 19,
261 -1, 20, 21, 22, 23, 24, -1, -1,
262 -1, -1, 25, -1, 26, 27, -1, 28,
263 29, 30, -1, 31, 32, -1, 33, -1,
264 34, 35, 36, -1, 37, -1, -1, 38,
265 39, -1, -1, -1, 40, 41, -1, -1,
266 42, 43, 44, 45, 46, 47, -1, 48,
267 49, 50, 51, -1, 52, -1, -1, 53,
268 54, 55, 56, 57, -1, 58, 59, -273,
269 62, 63, -1, 64, -96, -2, 65, 66,
270 67, -1, 68, -1, 69, 70, 71, -1,
271 72, -1, -1, 73, -1, -1, -1, 74,
272 75, 76, -1, 77, -1, -1, 78, -1,
273 -1, 79, 80, 81, 82, 83, 84, 85,
274 -1, -1, 86, 87, 88, -1, 89, 90,
275 -1, 91, -1, 92, -1, 93, -1, -1,
276 -1, 94, -1, -1, 95, -1, 96, -1,
277 -1, -1, -1, 97, 98, 99, -1, 100,
278 -1, 101, 102, 103, -1, -1, -1, -1,
279 -1, 104, -1, 105, 106, -1, -1, -1,
280 -1, -1, 107, -1, -1, -1, -1, 108,
281 -1, -1, -1, -1, -1, -1, -1, -1,
282 -1, 109, -1, -1, 110, -1, 111, -1,
283 -1, -1, -1, -1, 112, 113, -1, 114,
284 -1, 115, 116, 117, -1, 118, 119, 120,
285 -1, -1, 121, 122, -1, 123, -1, 124,
286 -1, -1, -1, -1, -1, -1, -1, 125,
287 -1, -1, -1, -1, -1, -1, -1, -1,
288 -1, 126, 127, -1, -1, -1, 128, 129,
289 -1, -1, -1, 130, 131, -1, -1, 132,
290 133, 134, -1, -1, -1, -1, -1, -1,
291 -1, -1, -1, -1, 135, -1, -1, -1,
292 -1, -1, -1, -1, -1, -1, -1, -1,
293 -1, -1, -1, -1, -1, -1, -1, -1,
294 -1, -1, -1, -1, -1, -1, -1, -1,
295 136, -1, -1, -1, 137, 138, -1, -1,
296 -1, -1, 139, -1, 140, -1, -1, -1,
297 -1, -1, -1, -1, -1, 141, -1, 142,
298 -1, -1, -1, -1, -1, -1, -1, -1,
299 -1, -1, 143, 144, -1, -1, -1, -1,
300 -1, -1, -1, -1, 145, -1, -1, -1,
301 -1, -1, 146, -1, -1, -1, -1, -1,
302 -1, 147, 148, -1, -1, -1, -1, -1,
303 -1, 149, -1, -1, -1, -1, -1, -1,
304 -1, -1, -1, -1, -1, -1, -1, -1,
305 -1, -1, 150, -1, -1, -1, -1, -1,
306 -1, -1, -1, 151, -1, -1, -1, -1,
307 -1, -1, -1, -1, -1, -1, -1, -1,
308 -1, -1, -1, -1, -1, -1, -1, -1,
309 -1, -1, -1, -1, -1, -1, -1, -1,
310 -1, -1, -1, -1, -1, -1, 152, -1,
311 -1, -1, -1, -1, -1, -1, 153, -1,
312 -1, -1, -1, -1, -1, 154, -1, -1,
313 -1, -1, -1, -1, -1, -1, -1, -1,
314 -1, -1, -1, -1, -1, -1, -1, -1,
318 if (len
<= MAX_WORD_LENGTH
&& len
>= MIN_WORD_LENGTH
)
320 register int key
= hash (str
, len
);
322 if (key
<= MAX_HASH_VALUE
&& key
>= 0)
324 register int index
= lookup
[key
];
328 register const char *s
= wordlist
[index
];
330 if (*str
== *s
&& !strcmp (str
+ 1, s
+ 1))
333 else if (index
< -TOTAL_KEYWORDS
)
335 register int offset
= - 1 - TOTAL_KEYWORDS
- index
;
336 register const char * const *wordptr
= &wordlist
[TOTAL_KEYWORDS
+ lookup
[offset
]];
337 register const char * const *wordendptr
= wordptr
+ -lookup
[offset
+ 1];
339 while (wordptr
< wordendptr
)
341 register const char *s
= *wordptr
;
343 if (*str
== *s
&& !strcmp (str
+ 1, s
+ 1))
This page took 0.050848 seconds and 5 git commands to generate.