Lines Matching defs:table
91 #define REG_TBL_LEN 10 /* update this when adding to the table */
93 /* Reg: type to description mapping table */
108 #define GENAUTH_TBL_LEN 1 /* update this when adding to the table */
116 /* Reg: type to function mapping table */
133 #define ADV_TBL_LEN 5 /* update this when adding to the table */
135 /* Adv: type to description mapping table */
145 /* Adv: type to function mapping table */
169 static const char *get_desc(struct ext_desc table[], uint8_t type, int max) {
172 for (i = 0; i < max && table[i].type != type; i++)
175 return (table[i].desc);
179 * The following is an accessor for the description table, used by
181 * description table.
187 static interpreter_f *get_interpreter(struct ext_dispatch table[],
192 for (i = 0; i < max && table[i].type != type; i++)
195 return (table[i].pfunc);