Lines Matching defs:table

432 /* determine number of records in a table */
473 if (ap->table == 0) {
481 if (ap->table[i].ant_key == key) {
482 if (strcmp(ap->table[i].antecedent_id, antecedent)
504 if (ap->table == 0) {
512 if (ap->table[i].ant_key == key) {
513 if (strcmp(ap->table[i].antecedent_id, antecedent)
516 *id_list = ap->table[i].dependent_id;
554 if (tblp->table == NULL)
562 *(int8_t *)value = *((int8_t *)tblp->table + index);
565 *(uint8_t *)value = *((uint8_t *)tblp->table + index);
568 *(int16_t *)value = *((int16_t *)tblp->table + index);
571 *(uint16_t *)value = *((uint16_t *)tblp->table + index);
574 *(int32_t *)value = *((int32_t *)tblp->table + index);
577 *(uint32_t *)value = *((uint32_t *)tblp->table + index);
580 *(int64_t *)value = *((int64_t *)tblp->table + index);
583 *(uint64_t *)value = *((uint64_t *)tblp->table + index);
2891 /* Load the association table */
2941 hp->assoc_tbl[id].table =
2943 if (hp->assoc_tbl[id].table == NULL)
2947 ap = &hp->assoc_tbl[id].table[j];
2969 /* Load the table of tables */
2977 int64_t *table;
3035 /* allocate and load table */
3036 tblp->table = (int64_t *)malloc(tblp->size *
3038 if (tblp->table == NULL) {
3042 table = tblp->table;
3047 *((int8_t *)table + j) = num;
3051 *((uint8_t *)table + j) = (uint8_t)num;
3055 ((int16_t *)table + j));
3059 ((uint16_t *)table + j));
3063 ((int32_t *)table + j));
3067 ((uint32_t *)table + j));
3071 ((int64_t *)table + j));
3075 ((uint64_t *)table + j));
5061 /* Build the association ID lookup table */
5093 /* Allocate object name to object pointer translation table */
5105 /* Build the association table */
5109 /* Build the table of device paths */
5137 /* Build the table of tables */
5170 if (tblp->table != 0)
5171 free(tblp->table);
5184 if (hdlp->assoc_tbl[i].table != 0)
5185 free(hdlp->assoc_tbl[i].table);