/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | syslog.c | 47 #define MAXLINE 1024 /* max message size */ macro 110 char buf[MAXLINE + 1], outline[MAXLINE + 1]; in vsyslog() 115 int retsiz, outsiz = MAXLINE + 1; in vsyslog() 161 while ((c = *f++) != '\0' && c != '\n' && b < &buf[MAXLINE]) { in vsyslog() 174 (void) snprintf(b, &buf[MAXLINE] - b, "error %d", in vsyslog() 177 while (*errstr != '\0' && b < &buf[MAXLINE]) { in vsyslog() 195 if (c > MAXLINE) { in vsyslog() 196 c = MAXLINE; in vsyslog() 197 outline[MAXLINE-1] = '\0'; in vsyslog()
|
/titanic_41/usr/src/cmd/sendmail/aux/ |
H A D | mailcompat.c | 42 char *AliasList[MAXLINE]; /* list of aliases to allow */ 123 static char line[MAXLINE]; 124 static char command[MAXLINE]; 153 static char line[MAXLINE]; 269 char forward[MAXLINE]; in AutoInstall() 270 char line[MAXLINE]; in AutoInstall() 289 while (fgets(line, MAXLINE, f)) in AutoInstall() 326 char line[MAXLINE];
|
H A D | vacation.c | 69 #define MAXLINE 256 /* max size of a line */ macro 89 static char Charset[MAXLINE]; /* for use in reply message */ 90 static char *AliasList[MAXLINE]; /* list of aliases to allow */ 122 char buf[MAXLINE]; 275 while (fgets(buf, MAXLINE, stdin) != NULL) 384 static char line[MAXLINE]; 463 char buf[MAXLINE+1]; 486 while (fgets(buf, MAXLINE, stdin) != NULL && buf[0] != '\n') 576 char file[MAXLINE]; 577 char line[MAXLINE]; [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_zip.c | 60 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 66 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 75 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 82 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 87 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 257 (void) snprintf(get_sum_line(), MAXLINE, in interpret_ddp_zip() 317 (void) snprintf(get_sum_line(), MAXLINE, in interpret_atp_zip() 326 (void) snprintf(get_sum_line(), MAXLINE, in interpret_atp_zip() 331 (void) snprintf(get_sum_line(), MAXLINE, in interpret_atp_zip() 336 (void) snprintf(get_sum_line(), MAXLINE, in interpret_atp_zip() [all …]
|
H A D | snoop_trill.c | 48 (void) snprintf(get_sum_line(), MAXLINE, in interpret_trill() 78 (void) snprintf(get_sum_line(), MAXLINE, in interpret_trill() 86 (void) snprintf(get_sum_line(), MAXLINE, in interpret_trill() 93 (void) snprintf(get_sum_line(), MAXLINE, in interpret_trill() 103 (void) snprintf(get_sum_line(), MAXLINE, in interpret_trill()
|
H A D | snoop_aarp.c | 60 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp() 67 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp() 72 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp() 79 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aarp()
|
H A D | snoop_arp.c | 116 (void) snprintf(line, MAXLINE, "ARP C Who is %s ?", in interpret_arp() 120 (void) snprintf(line, MAXLINE, "ARP R %s is %s", in interpret_arp() 125 (void) snprintf(line, MAXLINE, "RARP C Who is %s ?", in interpret_arp() 129 (void) snprintf(line, MAXLINE, "RARP R %s is %s", in interpret_arp() 178 (void) snprintf(get_sum_line(), MAXLINE, in interpret_arp()
|
H A D | snoop_sctp.c | 59 #define BUFLEN MAXLINE - 64 244 static char scratch[MAXLINE]; 642 SUMAPPEND((scratch, MAXLINE, "CTSN %x ", ntohl(*ftsn))); in parse_ftsn_chunk() 675 SUMAPPEND((scratch, MAXLINE, "sn %x ", ntohl(*sn))); in parse_asconf_chunk() 698 SUMAPPEND((scratch, MAXLINE, "tsn %x str %hu/%hu win %u ", in parse_init_chunk() 767 SUMAPPEND((scratch, MAXLINE, "len %d tsn %x str %hu/%hu " in parse_data_chunk() 864 SUMAPPEND((scratch, MAXLINE, in parse_sack_chunk() 890 SUMAPPEND((scratch, MAXLINE, "tsn %x", ntohl(*cumtsn))); in parse_shutdown_chunk() 1035 SUMAPPEND((scratch, MAXLINE, "%s ", desc)); in interpret_chunks() 1112 sumlen = MAXLINE; in interpret_sctp() [all …]
|
H A D | snoop_rtmp.c | 89 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rtmp() 118 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rtmp() 144 (void) snprintf(get_sum_line(), MAXLINE, in interpret_rtmp()
|
H A D | snoop_aecho.c | 44 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aecho() 49 (void) snprintf(get_sum_line(), MAXLINE, in interpret_aecho()
|
H A D | snoop_bpdu.c | 60 (void) snprintf(get_sum_line(), MAXLINE, in interpret_bpdu() 68 (void) snprintf(get_sum_line(), MAXLINE, in interpret_bpdu()
|
H A D | snoop_dhcpv6.c | 74 (void) strlcpy(get_sum_line(), "DHCPv6?", MAXLINE); in interpret_dhcpv6() 85 line += snprintf(line, MAXLINE, "DHCPv6 %s", in interpret_dhcpv6() 91 MAXLINE - (line - lstart)); in interpret_dhcpv6() 98 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6() 109 MAXLINE - (line - lstart)); in interpret_dhcpv6() 113 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6() 124 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6() 132 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6() 137 MAXLINE - (line - lstart), " \"%.*s\"", in interpret_dhcpv6() 145 line += snprintf(line, MAXLINE - (line - lstart), in interpret_dhcpv6()
|
H A D | snoop_http.c | 74 (void) snprintf(get_sum_line(), MAXLINE, in interpret_http() 77 (void) snprintf(get_sum_line(), MAXLINE, in interpret_http()
|
/titanic_41/usr/src/lib/libbc/libc/sys/common/ |
H A D | send.c | 62 #define MAXLINE 1024 macro 131 dat.maxlen = MAXLINE; 133 if (dat.len > MAXLINE) { 134 dat.len = MAXLINE; 135 msg[MAXLINE - 1] = '\0';
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | syslog.c | 85 #define MAXLINE 1024 /* max message size (but see below) */ macro 175 char buf[MAXLINE + 2]; in vsyslog() 176 char outline[MAXLINE + 256]; /* pad to allow date, system name... */ in vsyslog() 283 while ((c = *f++) != '\0' && b < &buf[MAXLINE]) { in vsyslog() 295 (void) snprintf(b, &buf[MAXLINE] - b, "error %d", in vsyslog() 298 while (*errmsg != '\0' && b < &buf[MAXLINE]) { in vsyslog() 317 if (clen > MAXLINE) { in vsyslog() 318 clen = MAXLINE; in vsyslog() 319 outline[MAXLINE-1] = '\0'; in vsyslog()
|
/titanic_41/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | versions.c | 39 #define MAXLINE 1024 macro 51 static char Previous[MAXLINE]; 52 static char LeftMostChild[MAXLINE]; 296 (void) strncpy(LeftMostChild, token, MAXLINE); in set() 297 LeftMostChild[MAXLINE-1] = '\0'; in set() 298 (void) strncpy(Previous, token, MAXLINE); in set() 299 Previous[MAXLINE-1] = '\0'; in set() 423 (void) strncpy(Previous, token, MAXLINE); in set_parents() 425 Previous[MAXLINE-1] = '\0'; in set_parents() 554 static char line[MAXLINE]; in nexttok()
|
/titanic_41/usr/src/cmd/refer/ |
H A D | mkey2.c | 19 #define MAXLINE 500 macro 37 char line[MAXLINE], *s; in dofile() 105 if (tlen < MAXLINE && mindex(iglist, curtype) == 0) in grec() 110 if (wholefile > 0 && len >= MAXLINE) { in grec()
|
/titanic_41/usr/src/cmd/ypcmd/ |
H A D | ypserv_net_secure.c | 42 #define MAXLINE 128 macro 67 char strung[MAXLINE], nmask[MAXLINE], net[MAXLINE]; in get_secure_nets() 75 while (fgets(strung, MAXLINE, fp)) { in get_secure_nets()
|
/titanic_41/usr/src/lib/libsmbfs/smb/ |
H A D | ui-sun.c | 43 #define MAXLINE 127 48 char temp[MAXLINE+1]; 62 if (cp == &temp[MAXLINE])
|
/titanic_41/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | trace.c | 182 char infile[MAXLINE], in xlator_startfile() 183 outfile[MAXLINE], in xlator_startfile() 626 buffer[MAXLINE+1], in to_basetype() 630 assert(strlen(str) < MAXLINE, "string exceeded MAXLINE"); in to_basetype() 657 assert(q < &buffer[MAXLINE], "q fell off end of buffer"); in to_basetype() 662 assert(strlen(buffer) < MAXLINE, "buffer length exceeded MAXLINE"); in to_basetype() 675 static char buffer[MAXLINE+1]; in to_actual() 680 n = MAXLINE - snprintf(buffer, MAXLINE, "%s", name_of(p)); in to_actual() 933 char pathname[MAXLINE]; in generate_aux_file()
|
H A D | io.c | 48 static char headfile_name[MAXLINE]; /* Saved for later. */ 49 static char mapfile_name[MAXLINE]; /* Saved for later. */ 121 char hfn[MAXLINE]; in alt_code_file()
|
/titanic_41/usr/src/lib/fm/libdiagcode/common/ |
H A D | diagcode_test.c | 54 #define MAXLINE 10240 macro 251 char keystr[MAXLINE]; in do_code2key() 336 char linebuf[MAXLINE]; in testdict() 337 char fname[MAXLINE]; in testdict() 340 (void) snprintf(fname, MAXLINE, "%s/%s.dict", dirpath, dictname); in testdict() 351 while (fgets(linebuf, MAXLINE, fp) != NULL) { in testdict()
|
/titanic_41/usr/src/cmd/eqn/ |
H A D | io.c | 18 #define MAXLINE 8192 /* maximum input line */ macro 20 char in[MAXLINE+1]; /* input buffer */ 100 if (s >= in+MAXLINE) { in getaline() 103 in[MAXLINE] = '\0'; in getaline()
|
/titanic_41/usr/src/cmd/syslogd/ |
H A D | syslogd.h | 54 #define MAXLINE 1024 /* maximum line length */ macro 110 char msg[MAXLINE+1]; /* the message itself */ 129 char msg[MAXLINE+1]; 218 char msg[MAXLINE+1];
|
/titanic_41/usr/src/cmd/sendmail/src/ |
H A D | conf.h | 62 #define MAXLINE 2048 /* max line length */ macro 66 # define MAXINPLINE MAXLINE /* max input line length */
|