Lines Matching refs:catdatum
1037 cat_datum_t *catdatum; in cat_index() local
1039 catdatum = (cat_datum_t *) datum; in cat_index()
1042 if (!catdatum->isalias) { in cat_index()
1043 if (!catdatum->s.value || catdatum->s.value > p->p_cats.nprim) in cat_index()
1045 if (p->p_cat_val_to_name[catdatum->s.value - 1] != NULL) in cat_index()
1047 p->p_cat_val_to_name[catdatum->s.value - 1] = (char *)key; in cat_index()
3154 cat_datum_t *catdatum; in cat_read() local
3158 catdatum = malloc(sizeof(cat_datum_t)); in cat_read()
3159 if (!catdatum) in cat_read()
3161 cat_datum_init(catdatum); in cat_read()
3171 catdatum->s.value = le32_to_cpu(buf[1]); in cat_read()
3172 catdatum->isalias = le32_to_cpu(buf[2]); in cat_read()
3182 if (hashtab_insert(h, key, catdatum)) in cat_read()
3188 cat_destroy(key, catdatum, NULL); in cat_read()