Lines Matching defs:idx_tbl
74 boolean_t rightalign, boolean_t visible, const zprop_index_t *idx_tbl)
96 pd->pd_table = idx_tbl;
98 while (idx_tbl && (idx_tbl++)->pi_name != NULL)
124 const char *colname, const zprop_index_t *idx_tbl)
127 objset_types, values, colname, B_TRUE, B_TRUE, idx_tbl);
273 const zprop_index_t *idx_tbl;
281 if ((idx_tbl = prop_tbl[prop].pd_table) == NULL)
284 for (i = 0; idx_tbl[i].pi_name != NULL; i++) {
285 if (strcmp(string, idx_tbl[i].pi_name) == 0) {
286 *index = idx_tbl[i].pi_value;
299 const zprop_index_t *idx_tbl;
307 if ((idx_tbl = prop_tbl[prop].pd_table) == NULL)
310 for (i = 0; idx_tbl[i].pi_name != NULL; i++) {
311 if (idx_tbl[i].pi_value == index) {
312 *string = idx_tbl[i].pi_name;
327 const zprop_index_t *idx_tbl;
331 idx_tbl = prop_tbl[prop].pd_table;
333 if (idx_tbl == NULL)
336 return (idx_tbl[seed % prop_tbl[prop].pd_table_size].pi_value);