Lines Matching refs:sym_val_to_name
65 CU_ASSERT(p->sym_val_to_name[SYM_COMMONS][d->s.value - 1] == (char *)key); in common_test_index()
74 CU_ASSERT(p->sym_val_to_name[SYM_CLASSES][d->s.value - 1] == (char *)key); in class_test_index()
84 CU_ASSERT(p->sym_val_to_name[SYM_ROLES][d->s.value - 1] == (char *)key); in role_test_index()
97 CU_ASSERT(p->sym_val_to_name[SYM_TYPES][d->s.value - 1] == (char *)key); in type_test_index()
108 CU_ASSERT(p->sym_val_to_name[SYM_USERS][d->s.value - 1] == (char *)key); in user_test_index()
118 CU_ASSERT(p->sym_val_to_name[SYM_BOOLS][d->s.value - 1] == (char *)key); in cond_test_index()
128 CU_ASSERT(p->sym_val_to_name[SYM_LEVELS][d->level->sens - 1] == (char *)key); in level_test_index()
137 CU_ASSERT(p->sym_val_to_name[SYM_CATS][d->s.value - 1] == (char *)key); in cat_test_index()
206 if (strcmp(p->sym_val_to_name[SYM_TYPES][i], types[j]) == 0) { in test_role_type_set()
213 id, p->sym_val_to_name[SYM_TYPES][i]); in test_role_type_set()
219 …printf("\nrole %s has %d types, %d expected\n", p->sym_val_to_name[SYM_ROLES][role->s.value - 1], … in test_role_type_set()
251 if (strcmp(p->sym_val_to_name[SYM_TYPES][i], types[j]) == 0) { in test_attr_types()
258 id, p->sym_val_to_name[SYM_TYPES][i]); in test_attr_types()