Lines Matching defs:table
33 #define MAX_FORMAT 80 /* for info table */
182 * and appends the rcm_info_t data in the form of a table to the
186 sata_rcm_info_table(rcm_info_t *rinfo, char **table)
203 if (rinfo == NULL || table == NULL) {
207 /* Set localized table header strings */
248 /* Allocate space for the table */
250 if (*table == NULL) {
252 *table = calloc(table_size, sizeof (char));
253 if (*table == NULL) {
257 newtable = realloc(*table, strlen(*table) + table_size);
261 *table = newtable;
265 /* Place a table header into the string */
269 (void) strcat(*table, "\n");
273 (void) strcat(*table, " ");
275 (void) strcat(*table, rsrc);
278 (void) strcat(*table, " ");
282 (void) strcat(*table, " ");
285 (void) strcat(*table, " ");
287 (void) strcat(*table, info);
290 (void) strcat(*table, " ");
293 (void) strcat(*table, "\n");
297 (void) strcat(*table, "-");
300 (void) strcat(*table, " ");
302 (void) strcat(*table, "-");
306 (void) strcat(*table, "\n");
312 /* Add the tuples to the table string */
316 (void) sprintf(&((*table)[strlen(*table)]),
318 (void) strcat(*table, "\n");