Lines Matching refs:ke

47   const CGEN_KEYWORD_ENTRY *ke;  in cgen_keyword_lookup_name()  local
53 ke = kt->name_hash_table[hash_keyword_name (kt, name, 0)]; in cgen_keyword_lookup_name()
59 while (ke != NULL) in cgen_keyword_lookup_name()
62 p = ke->name; in cgen_keyword_lookup_name()
70 return ke; in cgen_keyword_lookup_name()
72 ke = ke->next_name; in cgen_keyword_lookup_name()
86 const CGEN_KEYWORD_ENTRY *ke; in cgen_keyword_lookup_value() local
91 ke = kt->value_hash_table[hash_keyword_value (kt, value)]; in cgen_keyword_lookup_value()
93 while (ke != NULL) in cgen_keyword_lookup_value()
95 if (value == ke->value) in cgen_keyword_lookup_value()
96 return ke; in cgen_keyword_lookup_value()
97 ke = ke->next_value; in cgen_keyword_lookup_value()
106 cgen_keyword_add (CGEN_KEYWORD *kt, CGEN_KEYWORD_ENTRY *ke) in cgen_keyword_add() argument
114 hash = hash_keyword_name (kt, ke->name, 0); in cgen_keyword_add()
115 ke->next_name = kt->name_hash_table[hash]; in cgen_keyword_add()
116 kt->name_hash_table[hash] = ke; in cgen_keyword_add()
118 hash = hash_keyword_value (kt, ke->value); in cgen_keyword_add()
119 ke->next_value = kt->value_hash_table[hash]; in cgen_keyword_add()
120 kt->value_hash_table[hash] = ke; in cgen_keyword_add()
122 if (ke->name[0] == 0) in cgen_keyword_add()
123 kt->null_entry = ke; in cgen_keyword_add()
125 for (i = 1; i < strlen (ke->name); i++) in cgen_keyword_add()
126 if (! ISALNUM (ke->name[i]) in cgen_keyword_add()
127 && ! strchr (kt->nonalpha_chars, ke->name[i])) in cgen_keyword_add()
136 kt->nonalpha_chars[idx] = ke->name[i]; in cgen_keyword_add()