Lines Matching defs:MACHINELEN
57 #define MACHINELEN 16 /* length of machine name printed out */
245 char host[MACHINELEN + 1];
256 (void) sprintf(host, "%.*s", MACHINELEN,
259 (void) sprintf(host, "%.*s", MACHINELEN,
294 char host[MACHINELEN + 1];
298 (void) sprintf(host, "%.*s", MACHINELEN, name);
309 (void) printf("%-*.*s", MACHINELEN, MACHINELEN, host);
319 entry[curentry].machine = malloc(MACHINELEN + 1);
324 (void) strlcpy(entry[curentry].machine, name, MACHINELEN + 1);
330 entry[curentry].machine = malloc(MACHINELEN + 1);
335 (void) strlcpy(entry[curentry].machine, name, MACHINELEN + 1);
371 char host[MACHINELEN + 1];
382 (void) sprintf(host, "%.*s", MACHINELEN,
385 (void) sprintf(host, "%.*s", MACHINELEN,
420 char host[MACHINELEN + 1];
424 (void) sprintf(host, "%.*s", MACHINELEN, name);
435 (void) printf("%-*.*s", MACHINELEN, MACHINELEN, host);
442 entry[curentry].machine = malloc(MACHINELEN + 1);
447 (void) strlcpy(entry[curentry].machine, name, MACHINELEN + 1);
454 entry[curentry].machine = malloc(MACHINELEN + 1);
459 (void) strlcpy(entry[curentry].machine, name, MACHINELEN + 1);
501 (void) printf("%-*.*s", MACHINELEN,
502 MACHINELEN, entry[i].machine);
559 buf[MACHINELEN+LINEMAX] = '\0';
560 (void) printf("%-*.*s", MACHINELEN+LINEMAX, MACHINELEN+LINEMAX, buf);
586 (void) printf("%-*.*s", MACHINELEN+LMAX, MACHINELEN+LMAX, buf);