Lines Matching defs:table
33 #define MAX_FORMAT 80 /* for info table */
93 DPRINTF("ib_rcm_offline: table = %s\n", *errstring);
243 * table - table to be printed
250 * and appends the rcm_info_t data in the form of a table to the
254 ib_rcm_info_table(rcm_info_t *rinfo, char **table)
273 if (rinfo == NULL || table == NULL) {
277 /* Set localized table header strings */
317 /* Allocate space for the table */
319 if (*table == NULL) {
320 *table = malloc(table_size);
322 newtable = realloc(*table, strlen(*table) + table_size);
324 *table = newtable;
326 free(*table);
327 *table = NULL;
332 if (*table == NULL) {
333 DPRINTF("ib_rcm_info_table: no table\n");
337 /* Place a table header into the string */
340 (void) strlcat(*table, "\n", sizeof (*table));
344 (void) strcat(*table, " ");
346 (void) strlcat(*table, rsrc, sizeof (*table));
349 (void) strcat(*table, " ");
353 (void) strcat(*table, " ");
356 (void) strcat(*table, " ");
358 (void) strlcat(*table, info, sizeof (*table));
361 (void) strcat(*table, " ");
364 (void) strcat(*table, "\n");
368 (void) strcat(*table, "-");
371 (void) strcat(*table, " ");
373 (void) strcat(*table, "-");
376 (void) strcat(*table, "\n");
382 /* Add the tuples to the table string */
386 (void) sprintf(&((*table)[strlen(*table)]),
388 (void) strcat(*table, "\n");