Home
last modified time | relevance | path

Searched refs:enum_table (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/fruadm/
H A Dfruadm.c255 if (def->enum_table[i].value == lldata) { in display_data()
257 char *tmp = strdup(def->enum_table[i].text); in display_data()
319 "/%s[%d]/%s", *ptr, iter, def.enum_table[count].text); in print_node_data()
323 "/%s/%s", *ptr, def.enum_table[count].text); in print_node_data()
334 def.enum_table[count].text, &def1)) != FRU_SUCCESS) { in print_node_data()
432 if (strcmp(def.enum_table[i].text, in convert_update()
435 def.enum_table[i].value; in convert_update()
/titanic_41/usr/src/lib/libfru/libfru/
H A Dlibfru.cc814 if (def->enum_table != NULL) { in fru_destroy_elemdef()
816 fru_destroy_enum(&(def->enum_table[i])); in fru_destroy_elemdef()
817 free(def->enum_table); in fru_destroy_elemdef()
2062 definition->enum_table = NULL; in make_definition()
2066 definition->enum_table = (fru_enum_t *)malloc( in make_definition()
2068 if ((definition->enum_table) == NULL) { in make_definition()
2071 memset(definition->enum_table, 0x00, in make_definition()
2076 definition->enum_table[i].value = def->enumTable[i].value; in make_definition()
2077 definition->enum_table[i].text = strdup(def->enumTable[i].text); in make_definition()
2078 if ((definition->enum_table[i].text) == NULL) { in make_definition()
/titanic_41/usr/src/lib/libfru/include/
H A Dlibfru.h223 fru_enum_t *enum_table; /* enum strings or sub-elements depending on */ member