Lines Matching refs:MACHINELEN
54 #define MACHINELEN 16 /* length of machine name printed out */ macro
242 char host[MACHINELEN + 1]; in collectnames()
253 (void) sprintf(host, "%.*s", MACHINELEN, in collectnames()
256 (void) sprintf(host, "%.*s", MACHINELEN, in collectnames()
291 char host[MACHINELEN + 1]; in print_info()
295 (void) sprintf(host, "%.*s", MACHINELEN, name); in print_info()
306 (void) printf("%-*.*s", MACHINELEN, MACHINELEN, host); in print_info()
316 entry[curentry].machine = malloc(MACHINELEN + 1); in print_info()
321 (void) strlcpy(entry[curentry].machine, name, MACHINELEN + 1); in print_info()
327 entry[curentry].machine = malloc(MACHINELEN + 1); in print_info()
332 (void) strlcpy(entry[curentry].machine, name, MACHINELEN + 1); in print_info()
368 char host[MACHINELEN + 1]; in collectnames_3()
379 (void) sprintf(host, "%.*s", MACHINELEN, in collectnames_3()
382 (void) sprintf(host, "%.*s", MACHINELEN, in collectnames_3()
417 char host[MACHINELEN + 1]; in print_info_3()
421 (void) sprintf(host, "%.*s", MACHINELEN, name); in print_info_3()
432 (void) printf("%-*.*s", MACHINELEN, MACHINELEN, host); in print_info_3()
439 entry[curentry].machine = malloc(MACHINELEN + 1); in print_info_3()
444 (void) strlcpy(entry[curentry].machine, name, MACHINELEN + 1); in print_info_3()
451 entry[curentry].machine = malloc(MACHINELEN + 1); in print_info_3()
456 (void) strlcpy(entry[curentry].machine, name, MACHINELEN + 1); in print_info_3()
498 (void) printf("%-*.*s", MACHINELEN, in printnames()
499 MACHINELEN, entry[i].machine); in printnames()
556 buf[MACHINELEN+LINEMAX] = '\0'; in putline_2()
557 (void) printf("%-*.*s", MACHINELEN+LINEMAX, MACHINELEN+LINEMAX, buf); in putline_2()
583 (void) printf("%-*.*s", MACHINELEN+LMAX, MACHINELEN+LMAX, buf); in putline_3()