Lines Matching defs:table
33 #define MAX_FORMAT 80 /* for info table */
83 DPRINTF("usb_rcm_offline: table = %s\n", *errstring);
202 * and appends the rcm_info_t data in the form of a table to the
206 usb_rcm_info_table(rcm_info_t *rinfo, char **table)
225 if (rinfo == NULL || table == NULL) {
229 /* Set localized table header strings */
270 /* Allocate space for the table */
272 if (*table == NULL) {
274 *table = calloc(table_size, sizeof (char));
275 if (*table == NULL) {
276 DPRINTF("usb_rcm_info_table: no table\n");
281 newtable = realloc(*table, strlen(*table) + table_size);
283 DPRINTF("usb_rcm_info_table: no new table\n");
287 *table = newtable;
291 /* Place a table header into the string */
294 (void) strcat(*table, "\n");
298 (void) strcat(*table, " ");
300 (void) strcat(*table, rsrc);
303 (void) strcat(*table, " ");
307 (void) strcat(*table, " ");
310 (void) strcat(*table, " ");
312 (void) strcat(*table, info);
315 (void) strcat(*table, " ");
318 (void) strcat(*table, "\n");
322 (void) strcat(*table, "-");
325 (void) strcat(*table, " ");
327 (void) strcat(*table, "-");
330 (void) strcat(*table, "\n");
336 /* Add the tuples to the table string */
340 (void) sprintf(&((*table)[strlen(*table)]),
342 (void) strcat(*table, "\n");