Symbol: line
bin/cat/cat.c
293
int ch, gobble, line, prev;
bin/cat/cat.c
300
line = gobble = 0;
bin/cat/cat.c
313
(void)fprintf(stdout, "%6d\t", ++line);
bin/ed/ed.h
65
struct line *q_forw;
bin/ed/ed.h
66
struct line *q_back;
bin/pkill/pkill.c
834
char *endp, line[BUFSIZ];
bin/pkill/pkill.c
858
if (fgets(line, sizeof(line), fh) == NULL) {
bin/pkill/pkill.c
868
rval = strtol(line, &endp, 10);
bin/pwait/tests/pwait_reap.c
100
ATF_REQUIRE_EQ(strtol(line, &rest, 10), tpid);
bin/pwait/tests/pwait_reap.c
45
char line[64] = "", *eol, *rest;
bin/pwait/tests/pwait_reap.c
62
ATF_REQUIRE((ret = read(pwerr, line, sizeof(line) - 1)) > 0);
bin/pwait/tests/pwait_reap.c
65
ATF_REQUIRE((eol = strchr(line, '\n')) != NULL);
bin/pwait/tests/pwait_reap.c
67
ATF_REQUIRE_EQ(strtol(line, &rest, 10), tpid);
bin/pwait/tests/pwait_reap.c
79
char line[64] = "", *eol, *rest;
bin/pwait/tests/pwait_reap.c
95
ATF_REQUIRE((ret = read(pwout, line, sizeof(line) - 1)) > 0);
bin/pwait/tests/pwait_reap.c
98
ATF_REQUIRE((eol = strchr(line, '\n')) != NULL);
bin/sh/input.c
136
const char *line;
bin/sh/input.c
139
line = el_gets(el, &nr);
bin/sh/input.c
155
if (nr > 0 && line != NULL)
bin/sh/input.c
156
memcpy(parsefile->buf, line, nr);
bin/sh/mknodes.c
107
if (line[0] == ' ' || line[0] == '\t')
bin/sh/mknodes.c
109
else if (line[0] != '\0')
bin/sh/mknodes.c
251
while (fgets(line, sizeof line, patfile) != NULL) {
bin/sh/mknodes.c
252
for (p = line ; *p == ' ' || *p == '\t' ; p++);
bin/sh/mknodes.c
260
fputs(line, cfile);
bin/sh/mknodes.c
406
if (fgets(line, 1024, infp) == NULL)
bin/sh/mknodes.c
408
for (p = line ; *p != '#' && *p != '\n' && *p != '\0' ; p++);
bin/sh/mknodes.c
409
while (p > line && (p[-1] == ' ' || p[-1] == '\t'))
bin/sh/mknodes.c
412
linep = line;
bin/sh/mknodes.c
414
if (p - line > BUFLEN)
bin/sh/mknodes.c
80
static char line[1024];
cddl/compat/opensolaris/include/assert.h
49
__assert(const char *expr, const char *file, int line)
cddl/compat/opensolaris/include/assert.h
53
expr, file, line);
cddl/usr.sbin/zfsd/case_file.cc
1107
string line;
cddl/usr.sbin/zfsd/case_file.cc
1112
line = lineBuf.str();
cddl/usr.sbin/zfsd/case_file.cc
1113
if (line.compare(0, tentFlag.size(), tentFlag) == 0) {
cddl/usr.sbin/zfsd/case_file.cc
1115
line.erase(0, tentFlag.size());
cddl/usr.sbin/zfsd/case_file.cc
1120
Event *event(Event::CreateEvent(factory, line));
crypto/heimdal/appl/ftp/ftp/cmds.c
56
int len = strlen(line), ret;
crypto/heimdal/appl/ftp/ftp/cmds.c
58
if (len >= sizeof(line) - 3) {
crypto/heimdal/appl/ftp/ftp/cmds.c
63
line[len++] = ' ';
crypto/heimdal/appl/ftp/ftp/cmds.c
64
if (fgets(&line[len], sizeof(line) - len, stdin) == NULL)
crypto/heimdal/appl/ftp/ftp/cmds.c
66
len += strlen(&line[len]);
crypto/heimdal/appl/ftp/ftp/cmds.c
67
if (len > 0 && line[len - 1] == '\n')
crypto/heimdal/appl/ftp/ftp/cmds.c
68
line[len - 1] = '\0';
crypto/heimdal/appl/ftp/ftp/domacro.c
103
if (line + sizeof(line) - 2 < cp2)
crypto/heimdal/appl/ftp/ftp/domacro.c
130
printf("%s\n",line);
crypto/heimdal/appl/ftp/ftp/domacro.c
136
strlcpy(line, line2, sizeof(line));
crypto/heimdal/appl/ftp/ftp/domacro.c
59
strlcpy(line2, line, sizeof(line2));
crypto/heimdal/appl/ftp/ftp/domacro.c
66
cp2 = line;
crypto/heimdal/appl/ftp/ftp/domacro.c
71
if (line + sizeof(line) - 2 < cp2)
crypto/heimdal/appl/ftp/ftp/domacro.c
83
len = sizeof(line) - (cp2 - line) - 1;
crypto/heimdal/appl/ftp/ftp/domacro.c
94
len = sizeof(line) - (cp2 - line) - 1;
crypto/heimdal/appl/ftp/ftp/ftp.c
261
strlcpy (line, "$init", sizeof (line));
crypto/heimdal/appl/ftp/ftp/ftp_var.h
95
extern char line[200]; /* input line buffer */
crypto/heimdal/appl/ftp/ftp/globals.c
54
char line[200]; /* input line buffer */
crypto/heimdal/appl/ftp/ftp/main.c
290
strlcpy(line, p, sizeof(line));
crypto/heimdal/appl/ftp/ftp/main.c
295
if (fgets(line, sizeof line, stdin) == NULL)
crypto/heimdal/appl/ftp/ftp/main.c
299
l = strlen(line);
crypto/heimdal/appl/ftp/ftp/main.c
302
if (line[--l] == '\n') {
crypto/heimdal/appl/ftp/ftp/main.c
305
line[l] = '\0';
crypto/heimdal/appl/ftp/ftp/main.c
306
} else if (l == sizeof(line) - 2) {
crypto/heimdal/appl/ftp/ftp/main.c
379
stringbase = line; /* scan from first of buffer */
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1008
fin = ftpd_popen(line, "r", 0, 0);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1011
cmd = line;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1016
snprintf(line, sizeof(line), cmd, name);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1017
name = line;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1018
fin = ftpd_popen(line, "r", 1, 0);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1570
char line[LINE_MAX];
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1572
snprintf(line, sizeof(line), "/bin/ls -la -- %s", filename);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1573
fin = ftpd_popen(line, "r", 1, 0);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2345
char line[1024];
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2348
snprintf(line, sizeof(line),
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2352
f = ftpd_popen(line, "r", 1, 1);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2358
while(fgets(line, sizeof(line), f)){
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2359
if(line[strlen(line)-1] == '\n')
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2360
line[strlen(line)-1] = 0;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2361
nreply("%s", line);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
624
char *p, line[BUFSIZ];
crypto/heimdal/appl/ftp/ftpd/ftpd.c
627
while (fgets(line, sizeof(line), fd) != NULL)
crypto/heimdal/appl/ftp/ftpd/ftpd.c
628
if ((p = strchr(line, '\n')) != NULL) {
crypto/heimdal/appl/ftp/ftpd/ftpd.c
630
if (line[0] == '#')
crypto/heimdal/appl/ftp/ftpd/ftpd.c
632
if (strcmp(line, name) == 0) {
crypto/heimdal/appl/ftp/ftpd/ftpd.c
670
char *user, *perm, line[BUFSIZ];
crypto/heimdal/appl/ftp/ftpd/ftpd.c
678
while (fgets(line, sizeof(line), fd) != NULL) {
crypto/heimdal/appl/ftp/ftpd/ftpd.c
680
user = strtok_r(line, " \t\n", &foo);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
956
char line[BUFSIZ];
crypto/heimdal/appl/ftp/ftpd/ftpd.c
985
snprintf (line, sizeof(line), p->cmd, name);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
997
snprintf (line, sizeof(line),
crypto/heimdal/appl/ftp/ftpd/logwtmp.c
107
ftpd_logwtmp_wtmp(char *line, char *name, char *host)
crypto/heimdal/appl/ftp/ftpd/logwtmp.c
132
strncpy(ut.ut_line, line, sizeof(ut.ut_line));
crypto/heimdal/appl/ftp/ftpd/logwtmp.c
144
strncpy(utx.ut_line, line, sizeof(utx.ut_line));
crypto/heimdal/appl/ftp/ftpd/logwtmp.c
192
ftpd_logwtmp(char *line, char *name, char *host)
crypto/heimdal/appl/ftp/ftpd/logwtmp.c
195
ftpd_logwtmp_asl(line, name, host);
crypto/heimdal/appl/ftp/ftpd/logwtmp.c
197
ftpd_logwtmp_wtmp(line, name, host);
crypto/heimdal/appl/ftp/ftpd/logwtmp.c
84
ftpd_logwtmp_asl(char *line, char *name, char *host)
crypto/heimdal/appl/ftp/ftpd/logwtmp.c
99
host, line, name, name[0] ? " " : "dis", (int)getpid());
crypto/heimdal/appl/gssmask/gssmaestro.c
567
int32_t cmd, line;
crypto/heimdal/appl/gssmask/gssmaestro.c
584
if (krb5_ret_int32(c->logsock, &line))
crypto/heimdal/appl/gssmask/gssmaestro.c
589
file, (unsigned long)line, string);
crypto/heimdal/appl/gssmask/gssmaestro.c
591
file, (unsigned long)line, string);
crypto/heimdal/appl/login/login_access.c
100
if (!(perm = strtok_r(line, fs, &foo))
crypto/heimdal/appl/login/login_access.c
122
return (match == 0 || (line[0] == '+'));
crypto/heimdal/appl/login/login_access.c
61
char line[BUFSIZ];
crypto/heimdal/appl/login/login_access.c
85
while (!match && fgets(line, sizeof(line), fp)) {
crypto/heimdal/appl/login/login_access.c
87
if (line[end = strlen(line) - 1] != '\n') {
crypto/heimdal/appl/login/login_access.c
92
if (line[0] == '#')
crypto/heimdal/appl/login/login_access.c
94
while (end > 0 && isspace((unsigned char)line[end - 1]))
crypto/heimdal/appl/login/login_access.c
96
line[end] = 0; /* strip trailing whitespace */
crypto/heimdal/appl/login/login_access.c
97
if (line[0] == 0) /* skip blank lines */
crypto/heimdal/appl/login/utmpx_login.c
26
int utmpx_login(char *line, const char *user, const char *host) { return 0; }
crypto/heimdal/appl/login/utmpx_login.c
30
utmpx_update(struct utmpx *ut, char *line, const char *user, const char *host)
crypto/heimdal/appl/login/utmpx_login.c
33
char *clean_tty = clean_ttyname(line);
crypto/heimdal/appl/login/utmpx_login.c
58
prepare_utmp (&utmp, line, user, host);
crypto/heimdal/appl/login/utmpx_login.c
68
utmpx_login(char *line, const char *user, const char *host)
crypto/heimdal/appl/login/utmpx_login.c
89
utmpx_update(&save_ut, line, user, host);
crypto/heimdal/appl/login/utmpx_login.c
99
utmpx_update(&newut, line, user, host);
crypto/heimdal/appl/rsh/login_access.c
100
if (!(perm = strtok_r(line, fs, &foo))
crypto/heimdal/appl/rsh/login_access.c
122
return (match == 0 || (line[0] == '+'));
crypto/heimdal/appl/rsh/login_access.c
61
char line[BUFSIZ];
crypto/heimdal/appl/rsh/login_access.c
85
while (!match && fgets(line, sizeof(line), fp)) {
crypto/heimdal/appl/rsh/login_access.c
87
if (line[end = strlen(line) - 1] != '\n') {
crypto/heimdal/appl/rsh/login_access.c
92
if (line[0] == '#')
crypto/heimdal/appl/rsh/login_access.c
94
while (end > 0 && isspace((unsigned char)line[end - 1]))
crypto/heimdal/appl/rsh/login_access.c
96
line[end] = 0; /* strip trailing whitespace */
crypto/heimdal/appl/rsh/login_access.c
97
if (line[0] == 0) /* skip blank lines */
crypto/heimdal/appl/telnet/telnet/commands.c
2003
if (fgets(line, sizeof(line), rcfile) == NULL)
crypto/heimdal/appl/telnet/telnet/commands.c
2005
if (line[0] == 0)
crypto/heimdal/appl/telnet/telnet/commands.c
2007
if (line[0] == '#')
crypto/heimdal/appl/telnet/telnet/commands.c
2010
if (!isspace((unsigned char)line[0]))
crypto/heimdal/appl/telnet/telnet/commands.c
2014
if (isspace((unsigned char)line[0]))
crypto/heimdal/appl/telnet/telnet/commands.c
2016
if (strncasecmp(line, m1, l1) == 0)
crypto/heimdal/appl/telnet/telnet/commands.c
2017
strncpy(line, &line[l1], sizeof(line) - l1);
crypto/heimdal/appl/telnet/telnet/commands.c
2018
else if (strncasecmp(line, m2, l2) == 0)
crypto/heimdal/appl/telnet/telnet/commands.c
2019
strncpy(line, &line[l2], sizeof(line) - l2);
crypto/heimdal/appl/telnet/telnet/commands.c
2020
else if (strncasecmp(line, "DEFAULT", 7) == 0)
crypto/heimdal/appl/telnet/telnet/commands.c
2021
strncpy(line, &line[7], sizeof(line) - 7);
crypto/heimdal/appl/telnet/telnet/commands.c
2024
if (line[0] != ' ' && line[0] != '\t' && line[0] != '\n')
crypto/heimdal/appl/telnet/telnet/commands.c
2067
strlcpy(line, "open ", sizeof(line));
crypto/heimdal/appl/telnet/telnet/commands.c
2069
fgets(&line[strlen(line)], sizeof(line) - strlen(line), stdin);
crypto/heimdal/appl/telnet/telnet/commands.c
2376
cp = line;
crypto/heimdal/appl/telnet/telnet/commands.c
2380
if (cp == line || *--cp != '\n' || cp == line)
crypto/heimdal/appl/telnet/telnet/commands.c
2384
printf("%s\r\n", line);
crypto/heimdal/appl/telnet/telnet/commands.c
2389
if (fgets(line, sizeof(line), stdin) == NULL) {
crypto/heimdal/appl/telnet/telnet/commands.c
2397
if (line[0] == 0)
crypto/heimdal/appl/telnet/telnet/commands.c
55
static char line[256];
crypto/heimdal/appl/telnet/telnet/commands.c
67
cp = line;
crypto/heimdal/appl/telnet/telnet/commands.c
70
strlcpy(saveline, line, sizeof(saveline));
crypto/heimdal/appl/telnet/telnetd/ext.h
75
extern char *line;
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1003
i = open(line, O_RDWR);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1046
close(open(line, O_RDWR));
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1161
strncpy(wtmp.ut_line, clean_ttyname(line), sizeof(wtmp.ut_line));
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1297
clean_tty = clean_ttyname(line);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1419
char *clean_tty = clean_ttyname(line);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1492
char *clean_tty = clean_ttyname(line);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1535
chmod(line, 0666);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1536
chown(line, 0, 0);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1537
line[strlen("/dev/")] = 'p';
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1538
chmod(line, 0666);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1539
chown(line, 0, 0);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1545
rmut (char *line)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1552
strncpy(utmp.ut_line, clean_ttyname(line), sizeof(utmp.ut_line));
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1568
chmod(line, 0666);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1569
chown(line, 0, 0);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1570
line[14] = line[13];
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1571
line[13] = line[12];
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1572
line[8] = 'm';
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1573
line[9] = '/';
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1574
line[10] = 'p';
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1575
line[11] = 't';
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1576
line[12] = 'y';
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1577
chmod(line, 0666);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1578
chown(line, 0, 0);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1631
rmut(line);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1656
p = line + sizeof("/dev/") - 1;
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1659
chmod(line, 0666);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1660
chown(line, 0, 0);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1662
chmod(line, 0666);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1663
chown(line, 0, 0);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
349
char *line = Xline;
crypto/heimdal/appl/telnet/telnetd/sys_term.c
372
if(openpty(&master, &slave, line, 0, 0) == 0){
crypto/heimdal/appl/telnet/telnetd/sys_term.c
385
strlcpy(line, p, sizeof(Xline));
crypto/heimdal/appl/telnet/telnetd/sys_term.c
406
strlcpy(line, ptsname(p), sizeof(Xline));
crypto/heimdal/appl/telnet/telnetd/sys_term.c
420
snprintf(line, sizeof(Xline), "/dev/ptyXX");
crypto/heimdal/appl/telnet/telnetd/sys_term.c
421
p1 = &line[8];
crypto/heimdal/appl/telnet/telnetd/sys_term.c
422
p2 = &line[9];
crypto/heimdal/appl/telnet/telnetd/sys_term.c
424
snprintf(line, sizeof(Xline), "/dev/ptym/ptyXX");
crypto/heimdal/appl/telnet/telnetd/sys_term.c
425
p1 = &line[13];
crypto/heimdal/appl/telnet/telnetd/sys_term.c
426
p2 = &line[14];
crypto/heimdal/appl/telnet/telnetd/sys_term.c
440
if (stat(line, &stb) < 0)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
444
p = open(line, O_RDWR);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
451
line[5] = 't';
crypto/heimdal/appl/telnet/telnetd/sys_term.c
453
for (p1 = &line[8]; *p1; p1++)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
455
line[9] = 't';
crypto/heimdal/appl/telnet/telnetd/sys_term.c
457
chown(line, 0, 0);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
458
chmod(line, 0600);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
462
chmod(line, 0666);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
464
line[5] = 'p';
crypto/heimdal/appl/telnet/telnetd/sys_term.c
483
snprintf(line, sizeof(Xline), "/dev/ttyp%03d", *ptynum);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
488
if(stat(line, &sb) < 0) {
crypto/heimdal/appl/telnet/telnetd/sys_term.c
493
chown(line, 0, 0);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
494
chmod(line, 0600);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
503
if (access(line, 6) == 0)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
853
t = cleanopen(line);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
855
fatalperror(net, line);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
953
int cleanopen(char *line)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
968
chown(line, 0, 0);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
969
chmod(line, 0600);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
973
revoke(line);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
976
t = open(line, O_RDWR|O_NOCTTY);
crypto/heimdal/appl/telnet/telnetd/sys_term.c
992
t = open(line, O_RDWR|O_NOCTTY);
crypto/heimdal/appl/telnet/telnetd/utility.c
471
slash = strchr(line+1, '/');
crypto/heimdal/appl/telnet/telnetd/utility.c
473
putstr(line);
crypto/heimdal/kadmin/load.c
369
int line;
crypto/heimdal/kadmin/load.c
395
line = 0;
crypto/heimdal/kadmin/load.c
398
line++;
crypto/heimdal/kadmin/load.c
453
filename, line, msg, e.principal);
crypto/heimdal/kadmin/load.c
460
filename, line, e.key);
crypto/heimdal/kadmin/load.c
467
filename, line, e.created);
crypto/heimdal/kadmin/load.c
473
filename, line, e.modified);
crypto/heimdal/kadmin/load.c
479
filename, line, e.valid_start);
crypto/heimdal/kadmin/load.c
485
filename, line, e.valid_end);
crypto/heimdal/kadmin/load.c
491
filename, line, e.pw_end);
crypto/heimdal/kadmin/load.c
498
filename, line, e.max_life);
crypto/heimdal/kadmin/load.c
505
filename, line, e.max_renew);
crypto/heimdal/kadmin/load.c
512
filename, line, e.flags);
crypto/heimdal/kadmin/load.c
519
filename, line, e.generation);
crypto/heimdal/kadmin/load.c
526
filename, line, e.extensions);
crypto/heimdal/kdc/mit_dump.c
139
char *line = NULL;
crypto/heimdal/kdc/mit_dump.c
156
while ((ret = my_fgetln(f, &line, &line_bufsz, &line_len)) == 0) {
crypto/heimdal/kdc/mit_dump.c
157
char *p = line;
crypto/heimdal/kdc/mit_dump.c
161
if(strncmp(line, "kdb5_util", strlen("kdb5_util")) == 0) {
crypto/heimdal/kdc/mit_dump.c
187
ret = _hdb_mit_dump2mitdb_entry(pd->context, line, sp);
crypto/heimdal/kdc/mit_dump.c
201
free(line);
crypto/heimdal/kdc/mit_dump.c
42
char *line,
crypto/heimdal/lib/asn1/asn1_gen.c
101
if (ty == -1) errx(1, "no valid type on line %lu", line);
crypto/heimdal/lib/asn1/asn1_gen.c
110
line, (unsigned long)offset, c, ty, ta, l,
crypto/heimdal/lib/asn1/asn1_gen.c
51
unsigned long line = 0;
crypto/heimdal/lib/asn1/asn1_gen.c
78
line++;
crypto/heimdal/lib/asn1/asn1_gen.c
89
if (class == NULL) errx(1, "class missing on line %lu", line);
crypto/heimdal/lib/asn1/asn1_gen.c
91
if (type == NULL) errx(1, "type missing on line %lu", line);
crypto/heimdal/lib/asn1/asn1_gen.c
93
if (tag == NULL) errx(1, "tag missing on line %lu", line);
crypto/heimdal/lib/asn1/asn1_gen.c
95
if (length == NULL) errx(1, "length missing on line %lu", line);
crypto/heimdal/lib/asn1/asn1_gen.c
99
if (c == -1) errx(1, "no valid class on line %lu", line);
crypto/heimdal/lib/asn1/gen_template.c
237
char *line;
crypto/heimdal/lib/asn1/gen_template.c
315
fprintf(f, "/* %lu */ %s%s\n", (unsigned long)i++, q->line, last ? "" : ",");
crypto/heimdal/lib/asn1/gen_template.c
353
ret = strcmp(t->line, q->line);
crypto/heimdal/lib/asn1/gen_template.c
398
if (vasprintf(&q->line, fmt, ap) < 0 || q->line == NULL)
crypto/heimdal/lib/asn1/gen_template.c
583
fprintf(f, "/* %lu */ %s%s\n", (unsigned long)i++, q->line, last ? "" : ",");
crypto/heimdal/lib/asn1/gen_template.c
756
fprintf(f, "/* %lu */ %s%s\n", (unsigned long)i++, q->line, last ? "" : ",");
crypto/heimdal/lib/hdb/hdb-mitdb.c
1037
_hdb_mit_dump2mitdb_entry(krb5_context context, char *line, krb5_storage *sp)
crypto/heimdal/lib/hdb/hdb-mitdb.c
1040
char *p = line, *q;
crypto/heimdal/lib/hdb/hdb-mitdb.c
773
krb5_data line = { 0, 0 };
crypto/heimdal/lib/hdb/hdb-mitdb.c
788
ret = krb5_storage_to_data(sp, &line);
crypto/heimdal/lib/hdb/hdb-mitdb.c
794
ret = _hdb_mit_dump2mitdb_entry(context, line.data, spent);
crypto/heimdal/lib/hdb/hdb-mitdb.c
807
krb5_data_free(&line);
crypto/heimdal/lib/hx509/file.c
101
l = base64_encode(p, length, &line);
crypto/heimdal/lib/hx509/file.c
108
fprintf(f, "%s\n", line);
crypto/heimdal/lib/hx509/file.c
110
free(line);
crypto/heimdal/lib/hx509/file.c
81
char *line;
crypto/heimdal/lib/krb5/test_addr.c
175
unsigned int line,
crypto/heimdal/lib/krb5/test_addr.c
179
function, file, line, expression);
crypto/heimdal/lib/roken/getcap.c
727
char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE];
crypto/heimdal/lib/roken/getcap.c
740
line = toprec;
crypto/heimdal/lib/roken/getcap.c
742
line = fgetln(pfp, &len);
crypto/heimdal/lib/roken/getcap.c
743
if (line == NULL && pfp) {
crypto/heimdal/lib/roken/getcap.c
761
line[len - 1] = '\0';
crypto/heimdal/lib/roken/getcap.c
766
if (isspace((unsigned char)*line) ||
crypto/heimdal/lib/roken/getcap.c
767
*line == ':' || *line == '#' || slash) {
crypto/heimdal/lib/roken/getcap.c
768
if (line[len - 2] == '\\')
crypto/heimdal/lib/roken/getcap.c
774
if (line[len - 2] == '\\')
crypto/heimdal/lib/roken/getcap.c
787
for (cp = line; *cp != '\0'; cp++) {
crypto/heimdal/lib/roken/getcap.c
801
line = fgetln(pfp, &len);
crypto/heimdal/lib/roken/getcap.c
802
if (line == NULL && pfp) {
crypto/heimdal/lib/roken/getcap.c
812
line[len - 1] = '\0';
crypto/heimdal/lib/roken/rkpty.c
103
if(openpty(&master, &slave, line, 0, 0) == 0)
crypto/heimdal/lib/roken/rkpty.c
126
strlcpy(line, ptsname(master), sizeof(line));
crypto/heimdal/lib/roken/rkpty.c
127
slave = open(line, O_RDWR);
crypto/heimdal/lib/roken/rkpty.c
86
static char line[256] = { 0 };
crypto/heimdal/lib/sl/sl.c
218
sl_make_argv(char *line, int *ret_argc, char ***ret_argv)
crypto/heimdal/lib/sl/sl.c
231
p = line;
crypto/heimdal/lib/sl/test_sl.c
37
const char *line;
crypto/heimdal/lib/sl/test_sl.c
73
char *buf = strdup(lines[i].line);
crypto/krb5/src/ccapi/test/test_ccapi_check.c
14
_log_error_v(file, line, format, ap);
crypto/krb5/src/ccapi/test/test_ccapi_check.c
3
int _check_if(int expression, const char *file, int line, const char *expression_string, const char *format, ...) {
crypto/krb5/src/ccapi/test/test_ccapi_check.c
8
_log_error(file, line, expression_string);
crypto/krb5/src/ccapi/test/test_ccapi_check.h
9
int _check_if(int expression, const char *file, int line, const char *expression_string, const char *format, ...);
crypto/krb5/src/ccapi/test/test_ccapi_log.c
17
void _log_error(const char *file, int line, const char *format, ...)
crypto/krb5/src/ccapi/test/test_ccapi_log.c
21
_log_error_v(file, line, format, ap);
crypto/krb5/src/ccapi/test/test_ccapi_log.c
6
void _log_error_v(const char *file, int line, const char *format, va_list ap)
crypto/krb5/src/ccapi/test/test_ccapi_log.c
8
fprintf(stdout, "\n\t%s:%d: ", file, line);
crypto/krb5/src/ccapi/test/test_ccapi_log.h
11
void _log_error_v(const char *file, int line, const char *format, va_list ap);
crypto/krb5/src/ccapi/test/test_ccapi_log.h
12
void _log_error(const char *file, int line, const char *format, ...)
crypto/krb5/src/clients/ksu/authorization.c
188
char * line;
crypto/krb5/src/clients/ksu/authorization.c
193
retval = get_line(fp, &line);
crypto/krb5/src/clients/ksu/authorization.c
197
while (line){
crypto/krb5/src/clients/ksu/authorization.c
198
fprinc = get_first_token (line, &lp);
crypto/krb5/src/clients/ksu/authorization.c
202
free (line);
crypto/krb5/src/clients/ksu/authorization.c
207
free (line);
crypto/krb5/src/clients/ksu/authorization.c
212
free (line);
crypto/krb5/src/clients/ksu/authorization.c
214
retval = get_line(fp, &line);
crypto/krb5/src/clients/ksu/authorization.c
248
char * line;
crypto/krb5/src/clients/ksu/authorization.c
254
retval = get_line(fp, &line);
crypto/krb5/src/clients/ksu/authorization.c
258
while (line){
crypto/krb5/src/clients/ksu/authorization.c
259
fprinc = get_first_token (line, &lp);
crypto/krb5/src/clients/ksu/authorization.c
269
free (line);
crypto/krb5/src/clients/ksu/authorization.c
276
free (line);
crypto/krb5/src/clients/ksu/authorization.c
301
free (line);
crypto/krb5/src/clients/ksu/authorization.c
306
free (line);
crypto/krb5/src/clients/ksu/authorization.c
308
retval = get_line(fp, &line);
crypto/krb5/src/clients/ksu/authorization.c
567
char * line, *r, *newline , *line_ptr;
crypto/krb5/src/clients/ksu/authorization.c
570
line = (char *) xcalloc (BUFSIZ, sizeof (char ));
crypto/krb5/src/clients/ksu/authorization.c
571
line_ptr = line;
crypto/krb5/src/clients/ksu/authorization.c
572
line[0] = '\0';
crypto/krb5/src/clients/ksu/authorization.c
582
line = xrealloc(line, chunk_count * BUFSIZ);
crypto/krb5/src/clients/ksu/authorization.c
584
line_ptr = line + (BUFSIZ -1) *( chunk_count -1) ;
crypto/krb5/src/clients/ksu/authorization.c
588
if ((r == NULL) && (strlen(line) == 0)) {
crypto/krb5/src/clients/ksu/authorization.c
592
*out_line = line;
crypto/krb5/src/clients/ksu/authorization.c
608
get_first_token(char *line, char **lnext)
crypto/krb5/src/clients/ksu/authorization.c
614
out_ptr = line;
crypto/krb5/src/clients/ksu/authorization.c
615
lptr = line;
crypto/krb5/src/clients/ksu/heuristic.c
49
char * line, * fprinc, * lp, ** temp_list = NULL;
crypto/krb5/src/clients/ksu/heuristic.c
55
retval = get_line(fp, &line);
crypto/krb5/src/clients/ksu/heuristic.c
59
while (line){
crypto/krb5/src/clients/ksu/heuristic.c
60
fprinc = get_first_token (line, &lp);
crypto/krb5/src/clients/ksu/heuristic.c
76
free (line);
crypto/krb5/src/clients/ksu/heuristic.c
77
retval = get_line(fp, &line);
crypto/krb5/src/clients/kvno/kvno.c
224
const char *end_line = "-----END ", *line;
crypto/krb5/src/clients/kvno/kvno.c
237
line = read_line(fp, linebuf, sizeof(linebuf));
crypto/krb5/src/clients/kvno/kvno.c
238
if (line == NULL) {
crypto/krb5/src/clients/kvno/kvno.c
243
if (strncmp(line, begin_line, strlen(begin_line)) == 0)
crypto/krb5/src/clients/kvno/kvno.c
249
line = read_line(fp, linebuf, sizeof(linebuf));
crypto/krb5/src/clients/kvno/kvno.c
250
if (line == NULL) {
crypto/krb5/src/clients/kvno/kvno.c
256
if (strncmp(line, end_line, strlen(end_line)) == 0)
crypto/krb5/src/clients/kvno/kvno.c
261
if (*line == '\0' || strchr(line, ':') != NULL) {
crypto/krb5/src/clients/kvno/kvno.c
267
k5_buf_add(&buf, line);
crypto/krb5/src/kadmin/server/auth_acl.c
263
const char *target, const char *rs, const char *line,
crypto/krb5/src/kadmin/server/auth_acl.c
289
*op, line);
crypto/krb5/src/kadmin/server/auth_acl.c
325
parse_line(krb5_context context, const char *line, const char *fname)
crypto/krb5/src/kadmin/server/auth_acl.c
340
copy = strdup(line);
crypto/krb5/src/kadmin/server/auth_acl.c
367
entry = parse_entry(context, client, ops, target, rs, line, fname);
crypto/krb5/src/kadmin/server/auth_acl.c
391
char *line;
crypto/krb5/src/kadmin/server/auth_acl.c
414
while ((line = get_line(fp, fname, &lineno, &incr)) != NULL) {
crypto/krb5/src/kadmin/server/auth_acl.c
416
*entry_slot = parse_line(context, line, fname);
crypto/krb5/src/kadmin/server/auth_acl.c
420
fname, lineno, line);
crypto/krb5/src/kadmin/server/auth_acl.c
423
fname, lineno, line);
crypto/krb5/src/kadmin/server/auth_acl.c
425
free(line);
crypto/krb5/src/kadmin/server/auth_acl.c
430
free(line);
crypto/krb5/src/lib/crypto/crypto_tests/vectors.c
202
void check_error (int r, int line) {
crypto/krb5/src/lib/crypto/crypto_tests/vectors.c
204
fprintf (stderr, "%s:%d: %s\n", __FILE__, line,
crypto/krb5/src/lib/krad/t_test.c
33
noerror_impl(const char *file, int line, const char *cmd, int retval)
crypto/krb5/src/lib/krad/t_test.c
38
fprintf(stderr, "%s:%d: %s:\n\t%s\n", file, line, strerror(retval), cmd);
crypto/krb5/src/lib/krad/t_test.c
43
insist_impl(const char *file, int line, const char *cmd, krb5_boolean result)
crypto/krb5/src/lib/krad/t_test.c
48
fprintf(stderr, "%s:%d: insist failed:\n\t%s\n", file, line, cmd);
crypto/krb5/src/lib/krad/t_test.h
55
noerror_impl(const char *file, int line, const char *cmd, int retval);
crypto/krb5/src/lib/krad/t_test.h
58
insist_impl(const char *file, int line, const char *cmd, krb5_boolean result);
crypto/krb5/src/lib/krb5/ccache/ccselect_k5identity.c
102
princ = line + strspn(line, whitespace);
crypto/krb5/src/lib/krb5/ccache/ccselect_k5identity.c
93
parse_line(krb5_context context, char *line, krb5_principal server,
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1204
char line[512], *s;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1208
while (fgets(line, sizeof(line), in)) {
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1209
if( (s=strchr(line, '\n')) ) *s = '\0';
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1213
if (line[0] == 0 || line[0] == '#')
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1220
for (s = line, i = code = 0; *s != '#' && i < 6; i++, s++) {
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
815
char line[512], *s, *e;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
818
while (fgets(line, sizeof(line), in)) {
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
819
if( (s=strchr(line, '\n')) ) *s = '\0';
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
825
if (line[0] == 0 || line[0] == '#')
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
840
for (s = line, i = code = 0; *s != ';' && i < 6; i++, s++) {
crypto/krb5/src/lib/rpc/getrpcent.c
167
if (fgets(d->line, BUFSIZ, d->rpcf) == NULL)
crypto/krb5/src/lib/rpc/getrpcent.c
169
return interpret(d->line, strlen(d->line));
crypto/krb5/src/lib/rpc/getrpcent.c
181
strncpy(d->line, val, len);
crypto/krb5/src/lib/rpc/getrpcent.c
182
p = d->line;
crypto/krb5/src/lib/rpc/getrpcent.c
183
d->line[len] = '\n';
crypto/krb5/src/lib/rpc/getrpcent.c
203
d->rpc.r_name = d->line;
crypto/krb5/src/lib/rpc/getrpcent.c
56
char line[BUFSIZ+1];
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
101
char line[MAX_LEN];
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
203
while (fgets (line, MAX_LEN, pfile) != NULL) {
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
204
if ((str = strstr (line, service_object)) != NULL) {
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
206
if (line [strlen (service_object)] == '#')
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
255
while (fgets(line, MAX_LEN, pfile) != NULL) {
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
256
if (((str = strstr(line, service_object)) != NULL) &&
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
257
(line[strlen(service_object)] == '#')) {
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
267
if (fprintf (newfile, "%s", line) < 0) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c
68
char line[RECORDLEN], *end;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c
84
while (fgets(line, RECORDLEN, fp) != NULL) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c
86
end = line + strlen(line);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c
87
if (end > line && end[-1] == '\n')
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c
91
for (start = line; isspace(*start); ++start);
crypto/krb5/src/util/profile/prof_parse.c
290
static errcode_t parse_line(char *line, struct parse_state *state,
crypto/krb5/src/util/profile/prof_parse.c
296
if (strncmp(line, "include", 7) == 0 && isspace(line[7])) {
crypto/krb5/src/util/profile/prof_parse.c
297
cp = skip_over_blanks(line + 7);
crypto/krb5/src/util/profile/prof_parse.c
301
if (strncmp(line, "includedir", 10) == 0 && isspace(line[10])) {
crypto/krb5/src/util/profile/prof_parse.c
302
cp = skip_over_blanks(line + 10);
crypto/krb5/src/util/profile/prof_parse.c
309
if (strncmp(line, "module", 6) == 0 && isspace(line[6])) {
crypto/krb5/src/util/profile/prof_parse.c
318
cp = skip_over_blanks(line + 6);
crypto/krb5/src/util/profile/prof_parse.c
326
if (line[0] != '[')
crypto/krb5/src/util/profile/prof_parse.c
330
return parse_std_line(line, state);
crypto/krb5/src/util/profile/prof_parse.c
332
cp = skip_over_blanks(line);
crypto/krb5/src/util/profile/prof_parse.c
40
static void strip_line(char *line)
crypto/krb5/src/util/profile/prof_parse.c
42
char *p = line + strlen(line);
crypto/krb5/src/util/profile/prof_parse.c
43
while (p > line && (p[-1] == '\n' || p[-1] == '\r'))
crypto/krb5/src/util/profile/prof_parse.c
75
static errcode_t parse_std_line(char *line, struct parse_state *state)
crypto/krb5/src/util/profile/prof_parse.c
83
if (*line == 0)
crypto/krb5/src/util/profile/prof_parse.c
85
cp = skip_over_blanks(line);
crypto/krb5/src/util/ss/listen.c
54
add_history(const char *line)
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1012
printf("\nLine %lu: Only one fp_ctx allowed\n", line);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1044
printf("\nLine %lu: Fp context import failed\n", line);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1058
printf("\nLine %lu: Fp context import failed\n", line);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1071
printf("\nLine %lu: Fp context import failed\n", line);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1084
printf("\nLine %lu: Fp context import failed\n", line);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1098
printf("\nLine %lu: Fp context import failed\n", line);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1110
printf("\nLine %lu: Fp context import failed\n", line);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1121
printf("\nLine %lu: No fp_ctx available\n", line);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1127
line);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1153
line);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1161
line);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1195
printf("\nLine %lu: unknown opcode %s\n", line, op);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1197
ADD_TO_BACKTRACE("\nLine %lu: testing opcode %s\n", line, op);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1206
line += 1;
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
1214
oktests, line, line - oktests);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
892
unsigned long int test_num, line = 0, oktests = 0;
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
966
printf("\nLine %lu: unable to find record #1\n", line);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
971
assert(line == test_num);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
977
printf("\nLine %lu: unable to find record #2\n", line);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
985
if((line % 1000 == 0) && (line != 0)){
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
987
printf("\rTest %lu on the go [%s]", line, op);
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
994
printf("\nLine %lu: unable to find record #3\n", line);
crypto/openssh/audit-linux.c
91
li->line, 1) == 0)
crypto/openssh/audit.c
150
const char *t = li->line ? li->line : "(no tty)";
crypto/openssh/audit.c
166
const char *t = li->line ? li->line : "(no tty)";
crypto/openssh/auth.c
456
found->host, found->file, found->line);
crypto/openssh/auth2-pubkeyfile.c
229
char loc[256], *line = NULL, *cp, *ep;
crypto/openssh/auth2-pubkeyfile.c
237
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/auth2-pubkeyfile.c
244
for (cp = line; *cp == ' ' || *cp == '\t'; cp++)
crypto/openssh/auth2-pubkeyfile.c
258
free(line);
crypto/openssh/auth2-pubkeyfile.c
423
char *cp, *line = NULL, loc[256];
crypto/openssh/auth2-pubkeyfile.c
431
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/auth2-pubkeyfile.c
438
cp = line;
crypto/openssh/auth2-pubkeyfile.c
449
free(line);
crypto/openssh/auth2-pubkeyfile.c
458
char line[1024];
crypto/openssh/auth2-pubkeyfile.c
490
safe_path_fd(fileno(f), file, pw, line, sizeof(line)) != 0) {
crypto/openssh/auth2-pubkeyfile.c
492
logit("Authentication refused: %s", line);
crypto/openssh/auth2-pubkeyfile.c
493
auth_debug_add("Ignored %s: %s", file_type, line);
crypto/openssh/authfile.c
197
char *line = NULL, *cp;
crypto/openssh/authfile.c
219
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/authfile.c
220
cp = line;
crypto/openssh/authfile.c
245
free(line);
crypto/openssh/authfile.c
252
free(line);
crypto/openssh/authfile.c
375
char *line = NULL, *cp;
crypto/openssh/authfile.c
386
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/authfile.c
389
cp = line;
crypto/openssh/authfile.c
424
free(line);
crypto/openssh/clientloop.c
291
char *cmd, line[512], xdisplay[512];
crypto/openssh/clientloop.c
404
if (f && fgets(line, sizeof(line), f) &&
crypto/openssh/clientloop.c
405
sscanf(line, "%*s %511s %511s", proto, data) == 2)
crypto/openssh/dh.c
161
char *line = NULL;
crypto/openssh/dh.c
174
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/dh.c
176
if (!parse_prime(linenum, line, &dhg))
crypto/openssh/dh.c
192
free(line);
crypto/openssh/dh.c
193
line = NULL;
crypto/openssh/dh.c
207
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/dh.c
209
if (!parse_prime(linenum, line, &dhg))
crypto/openssh/dh.c
220
free(line);
crypto/openssh/dh.c
221
line = NULL;
crypto/openssh/dh.c
60
parse_prime(int linenum, char *line, struct dhgroup *dhg)
crypto/openssh/dh.c
68
cp = line;
crypto/openssh/fatal.c
37
sshfatal(const char *file, const char *func, int line, int showfunc,
crypto/openssh/fatal.c
43
sshlogv(file, func, line, showfunc, level, suffix, fmt, args);
crypto/openssh/hostfile.c
254
hostkeys->entries[hostkeys->num_entries].line = l->linenum;
crypto/openssh/hostfile.c
596
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/hostfile.c
618
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/hostfile.c
793
char *line = NULL, ktype[128];
crypto/openssh/hostfile.c
806
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/hostfile.c
808
line[strcspn(line, "\n")] = '\0';
crypto/openssh/hostfile.c
810
free(lineinfo.line);
crypto/openssh/hostfile.c
815
lineinfo.line = xstrdup(line);
crypto/openssh/hostfile.c
822
for (cp = line; *cp == ' ' || *cp == '\t'; cp++)
crypto/openssh/hostfile.c
960
free(lineinfo.line);
crypto/openssh/hostfile.c
961
free(line);
crypto/openssh/hostfile.h
28
u_long line;
crypto/openssh/hostfile.h
96
char *line; /* Entire key line; mutable by callback */
crypto/openssh/log.c
428
sshlog(const char *file, const char *func, int line, int showfunc,
crypto/openssh/log.c
434
sshlogv(file, func, line, showfunc, level, suffix, fmt, args);
crypto/openssh/log.c
439
sshlogdie(const char *file, const char *func, int line, int showfunc,
crypto/openssh/log.c
445
sshlogv(file, func, line, showfunc, SYSLOG_LEVEL_INFO,
crypto/openssh/log.c
452
sshlogv(const char *file, const char *func, int line, int showfunc,
crypto/openssh/log.c
465
(cp = strrchr(file, '/')) == NULL ? file : cp + 1, func, line,
crypto/openssh/loginrec.c
1041
line_abbrevname(utx.ut_id, li->line, sizeof(utx.ut_id));
crypto/openssh/loginrec.c
1220
line_fullname(li->line, ut.ut_line,
crypto/openssh/loginrec.c
1221
MIN_SIZEOF(li->line, ut.ut_line));
crypto/openssh/loginrec.c
1383
line_fullname(li->line, utx.ut_line, sizeof(li->line));
crypto/openssh/loginrec.c
1409
if (strncmp(li->line, "/dev/", 5) == 0)
crypto/openssh/loginrec.c
1410
tty = &(li->line[5]);
crypto/openssh/loginrec.c
1412
tty = li->line;
crypto/openssh/loginrec.c
1432
if (strncmp(li->line, "/dev/", 5) == 0)
crypto/openssh/loginrec.c
1433
tty = &(li->line[5]);
crypto/openssh/loginrec.c
1435
tty = li->line;
crypto/openssh/loginrec.c
1481
char line[UT_LINESIZE];
crypto/openssh/loginrec.c
1483
(void)line_stripname(line, li->line, sizeof(line));
crypto/openssh/loginrec.c
1485
if (!logout(line))
crypto/openssh/loginrec.c
1489
logwtmp(line, "", "");
crypto/openssh/loginrec.c
1593
line_stripname(last.ll_line, li->line, sizeof(last.ll_line));
crypto/openssh/loginrec.c
1628
line_fullname(li->line, ll->ll_line, sizeof(li->line));
crypto/openssh/loginrec.c
1653
line_fullname(li->line, last.ll_line, sizeof(li->line));
crypto/openssh/loginrec.c
1689
line_fullname(li->line, utx->ut_line,
crypto/openssh/loginrec.c
1690
MIN_SIZEOF(li->line, utx->ut_line));
crypto/openssh/loginrec.c
1740
strlcpy(li.line, "ssh:notty", sizeof(li.line));
crypto/openssh/loginrec.c
326
const char *hostname, const char *line)
crypto/openssh/loginrec.c
331
login_init_entry(newli, pid, username, hostname, line);
crypto/openssh/loginrec.c
354
const char *hostname, const char *line)
crypto/openssh/loginrec.c
363
if (line)
crypto/openssh/loginrec.c
364
line_fullname(li->line, line, sizeof(li->line));
crypto/openssh/loginrec.c
455
!sys_auth_record_login(li->username,li->hostname,li->line,
crypto/openssh/loginrec.c
648
line_abbrevname(ut->ut_id, li->line, sizeof(ut->ut_id));
crypto/openssh/loginrec.c
667
line_stripname(ut->ut_line, li->line, sizeof(ut->ut_line));
crypto/openssh/loginrec.c
739
line_abbrevname(utx->ut_id, li->line, sizeof(utx->ut_id));
crypto/openssh/loginrec.c
751
line_stripname(utx->ut_line, li->line, sizeof(utx->ut_line));
crypto/openssh/loginrec.h
101
const char *hostname, const char *line);
crypto/openssh/loginrec.h
71
char line[LINFO_LINESIZE]; /* tty/pty name */
crypto/openssh/loginrec.h
96
const char *hostname, const char *line);
crypto/openssh/logintest.c
134
line_stripname(stripline, li1->line, sizeof(stripline));
crypto/openssh/logintest.c
219
testLineName(char *line)
crypto/openssh/logintest.c
229
line_fullname(full, line, sizeof(full)-1);
crypto/openssh/logintest.c
232
printf("%s: %s, %s, %s\n", line, full, strip, abbrev);
crypto/openssh/logintest.c
74
li->pid, li->uid, li->line,
crypto/openssh/misc.c
2742
opt_array_append2(const char *file, const int line, const char *directive,
crypto/openssh/misc.c
2747
fatal("%s line %d: Too many %s entries", file, line, directive);
crypto/openssh/misc.c
2761
opt_array_append(const char *file, const int line, const char *directive,
crypto/openssh/misc.c
2764
opt_array_append2(file, line, directive, array, NULL, lp, s, 0);
crypto/openssh/misc.h
224
void opt_array_append(const char *file, const int line,
crypto/openssh/misc.h
226
void opt_array_append2(const char *file, const int line,
crypto/openssh/readconf.c
1125
const char *original_host, const char *remote_command, char *line,
crypto/openssh/readconf.c
1129
remote_command, line, filename, linenum, activep, flags, NULL, 0);
crypto/openssh/readconf.c
1135
const char *original_host, const char *remote_command, char *line,
crypto/openssh/readconf.c
1166
if ((len = strlen(line)) == 0)
crypto/openssh/readconf.c
1169
if (strchr(WHITESPACE "\f", line[len]) == NULL)
crypto/openssh/readconf.c
1171
line[len] = '\0';
crypto/openssh/readconf.c
1174
str = line;
crypto/openssh/readconf.c
127
char *line, const char *filename, int linenum, int *activep, int flags,
crypto/openssh/readconf.c
2541
if ((arg = strchr(line, '#')) != NULL) {
crypto/openssh/readconf.c
2543
rtrim(line);
crypto/openssh/readconf.c
2624
char *line = NULL;
crypto/openssh/readconf.c
2652
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/readconf.c
2661
remote_command, line, filename, linenum, activep, flags,
crypto/openssh/readconf.c
2665
free(line);
crypto/openssh/regress/misc/sk-dummy/fatal.c
13
sshlogv(const char *file, const char *func, int line, int showfunc,
crypto/openssh/regress/misc/sk-dummy/fatal.c
25
sshlog(const char *file, const char *func, int line, int showfunc,
crypto/openssh/regress/misc/sk-dummy/fatal.c
31
sshlogv(file, func, line, showfunc, level, suffix, fmt, args);
crypto/openssh/regress/misc/sk-dummy/fatal.c
36
sshfatal(const char *file, const char *func, int line, int showfunc,
crypto/openssh/regress/misc/sk-dummy/fatal.c
42
sshlogv(file, func, line, showfunc, level, suffix, fmt, args);
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
117
if (expected->l.line != NULL)
crypto/openssh/regress/unittests/hostkeys/test_iterate.c
118
ASSERT_STRING_EQ(l->line, expected->l.line);
crypto/openssh/regress/unittests/test_helper/test_helper.c
333
ssl_err_check(const char *file, int line)
crypto/openssh/regress/unittests/test_helper/test_helper.c
342
file, line, ERR_error_string(openssl_error, NULL));
crypto/openssh/regress/unittests/test_helper/test_helper.c
345
file, line);
crypto/openssh/regress/unittests/test_helper/test_helper.c
380
test_header(const char *file, int line, const char *a1, const char *a2,
crypto/openssh/regress/unittests/test_helper/test_helper.c
384
file, line, test_number, active_test_name,
crypto/openssh/regress/unittests/test_helper/test_helper.c
393
assert_bignum(const char *file, int line, const char *a1, const char *a2,
crypto/openssh/regress/unittests/test_helper/test_helper.c
399
test_header(file, line, a1, a2, "BIGNUM", pred);
crypto/openssh/regress/unittests/test_helper/test_helper.c
407
assert_string(const char *file, int line, const char *a1, const char *a2,
crypto/openssh/regress/unittests/test_helper/test_helper.c
413
assert_ptr(file, line, a1, "NULL", aa1, NULL, TEST_NE);
crypto/openssh/regress/unittests/test_helper/test_helper.c
414
assert_ptr(file, line, a2, "NULL", aa2, NULL, TEST_NE);
crypto/openssh/regress/unittests/test_helper/test_helper.c
418
test_header(file, line, a1, a2, "STRING", pred);
crypto/openssh/regress/unittests/test_helper/test_helper.c
425
assert_mem(const char *file, int line, const char *a1, const char *a2,
crypto/openssh/regress/unittests/test_helper/test_helper.c
435
assert_ptr(file, line, a1, "NULL", aa1, NULL, TEST_NE);
crypto/openssh/regress/unittests/test_helper/test_helper.c
436
assert_ptr(file, line, a2, "NULL", aa2, NULL, TEST_NE);
crypto/openssh/regress/unittests/test_helper/test_helper.c
440
test_header(file, line, a1, a2, "STRING", pred);
crypto/openssh/regress/unittests/test_helper/test_helper.c
465
assert_mem_filled(const char *file, int line, const char *a1,
crypto/openssh/regress/unittests/test_helper/test_helper.c
476
assert_ptr(file, line, a1, "NULL", aa1, NULL, TEST_NE);
crypto/openssh/regress/unittests/test_helper/test_helper.c
480
test_header(file, line, a1, NULL, "MEM_ZERO", pred);
crypto/openssh/regress/unittests/test_helper/test_helper.c
492
assert_int(const char *file, int line, const char *a1, const char *a2,
crypto/openssh/regress/unittests/test_helper/test_helper.c
496
test_header(file, line, a1, a2, "INT", pred);
crypto/openssh/regress/unittests/test_helper/test_helper.c
503
assert_size_t(const char *file, int line, const char *a1, const char *a2,
crypto/openssh/regress/unittests/test_helper/test_helper.c
507
test_header(file, line, a1, a2, "SIZE_T", pred);
crypto/openssh/regress/unittests/test_helper/test_helper.c
514
assert_u_int(const char *file, int line, const char *a1, const char *a2,
crypto/openssh/regress/unittests/test_helper/test_helper.c
518
test_header(file, line, a1, a2, "U_INT", pred);
crypto/openssh/regress/unittests/test_helper/test_helper.c
525
assert_long(const char *file, int line, const char *a1, const char *a2,
crypto/openssh/regress/unittests/test_helper/test_helper.c
529
test_header(file, line, a1, a2, "LONG", pred);
crypto/openssh/regress/unittests/test_helper/test_helper.c
536
assert_long_long(const char *file, int line, const char *a1, const char *a2,
crypto/openssh/regress/unittests/test_helper/test_helper.c
540
test_header(file, line, a1, a2, "LONG LONG", pred);
crypto/openssh/regress/unittests/test_helper/test_helper.c
547
assert_char(const char *file, int line, const char *a1, const char *a2,
crypto/openssh/regress/unittests/test_helper/test_helper.c
553
test_header(file, line, a1, a2, "CHAR", pred);
crypto/openssh/regress/unittests/test_helper/test_helper.c
562
assert_u8(const char *file, int line, const char *a1, const char *a2,
crypto/openssh/regress/unittests/test_helper/test_helper.c
566
test_header(file, line, a1, a2, "U8", pred);
crypto/openssh/regress/unittests/test_helper/test_helper.c
573
assert_u16(const char *file, int line, const char *a1, const char *a2,
crypto/openssh/regress/unittests/test_helper/test_helper.c
577
test_header(file, line, a1, a2, "U16", pred);
crypto/openssh/regress/unittests/test_helper/test_helper.c
584
assert_u32(const char *file, int line, const char *a1, const char *a2,
crypto/openssh/regress/unittests/test_helper/test_helper.c
588
test_header(file, line, a1, a2, "U32", pred);
crypto/openssh/regress/unittests/test_helper/test_helper.c
595
assert_u64(const char *file, int line, const char *a1, const char *a2,
crypto/openssh/regress/unittests/test_helper/test_helper.c
599
test_header(file, line, a1, a2, "U64", pred);
crypto/openssh/regress/unittests/test_helper/test_helper.c
608
assert_double(const char *file, int line, const char *a1, const char *a2,
crypto/openssh/regress/unittests/test_helper/test_helper.c
642
test_header(file, line, a1, a2, "DOUBLE", pred);
crypto/openssh/regress/unittests/test_helper/test_helper.c
649
assert_ptr(const char *file, int line, const char *a1, const char *a2,
crypto/openssh/regress/unittests/test_helper/test_helper.c
653
test_header(file, line, a1, a2, "PTR", pred);
crypto/openssh/regress/unittests/test_helper/test_helper.c
680
bench_start(const char *file, int line, const char *name)
crypto/openssh/regress/unittests/test_helper/test_helper.c
687
file, line, bench_name);
crypto/openssh/regress/unittests/test_helper/test_helper.c
714
bench_case_start(const char *file, int line)
crypto/openssh/regress/unittests/test_helper/test_helper.c
720
bench_case_finish(const char *file, int line)
crypto/openssh/regress/unittests/test_helper/test_helper.c
752
bench_finish(const char *file, int line, const char *unit)
crypto/openssh/regress/unittests/test_helper/test_helper.c
761
fprintf(stderr, "\n%s:%d benchmark %s never ran", file, line,
crypto/openssh/regress/unittests/test_helper/test_helper.h
101
void assert_u64(const char *file, int line,
crypto/openssh/regress/unittests/test_helper/test_helper.h
104
void assert_double(const char *file, int line,
crypto/openssh/regress/unittests/test_helper/test_helper.h
320
void bench_start(const char *file, int line, const char *name);
crypto/openssh/regress/unittests/test_helper/test_helper.h
321
void bench_case_start(const char *file, int line);
crypto/openssh/regress/unittests/test_helper/test_helper.h
322
void bench_case_finish(const char *file, int line);
crypto/openssh/regress/unittests/test_helper/test_helper.h
323
void bench_finish(const char *file, int line, const char *unit);
crypto/openssh/regress/unittests/test_helper/test_helper.h
56
void ssl_err_check(const char *file, int line);
crypto/openssh/regress/unittests/test_helper/test_helper.h
58
void assert_bignum(const char *file, int line,
crypto/openssh/regress/unittests/test_helper/test_helper.h
62
void assert_string(const char *file, int line,
crypto/openssh/regress/unittests/test_helper/test_helper.h
65
void assert_mem(const char *file, int line,
crypto/openssh/regress/unittests/test_helper/test_helper.h
68
void assert_mem_filled(const char *file, int line,
crypto/openssh/regress/unittests/test_helper/test_helper.h
71
void assert_int(const char *file, int line,
crypto/openssh/regress/unittests/test_helper/test_helper.h
74
void assert_size_t(const char *file, int line,
crypto/openssh/regress/unittests/test_helper/test_helper.h
77
void assert_u_int(const char *file, int line,
crypto/openssh/regress/unittests/test_helper/test_helper.h
80
void assert_long(const char *file, int line,
crypto/openssh/regress/unittests/test_helper/test_helper.h
83
void assert_long_long(const char *file, int line,
crypto/openssh/regress/unittests/test_helper/test_helper.h
86
void assert_char(const char *file, int line,
crypto/openssh/regress/unittests/test_helper/test_helper.h
89
void assert_ptr(const char *file, int line,
crypto/openssh/regress/unittests/test_helper/test_helper.h
92
void assert_u8(const char *file, int line,
crypto/openssh/regress/unittests/test_helper/test_helper.h
95
void assert_u16(const char *file, int line,
crypto/openssh/regress/unittests/test_helper/test_helper.h
98
void assert_u32(const char *file, int line,
crypto/openssh/servconf.c
1006
ci->laddress, port, line);
crypto/openssh/servconf.c
1021
ci->rdomain, arg, line);
crypto/openssh/servconf.c
1028
SSH_RELEASE, arg, line);
crypto/openssh/servconf.c
1044
debug3("match %sfound on line %d", result ? "" : "not ", line);
crypto/openssh/servconf.c
1105
process_server_config_line_depth(ServerOptions *options, char *line,
crypto/openssh/servconf.c
1131
if ((len = strlen(line)) == 0)
crypto/openssh/servconf.c
1134
if (strchr(WHITESPACE "\f", line[len]) == NULL)
crypto/openssh/servconf.c
1136
line[len] = '\0';
crypto/openssh/servconf.c
1139
str = line;
crypto/openssh/servconf.c
2375
if ((arg = strchr(line, '#')) != NULL) {
crypto/openssh/servconf.c
2377
rtrim(line);
crypto/openssh/servconf.c
248
servconf_add_hostkey(const char *file, const int line,
crypto/openssh/servconf.c
257
opt_array_append2(file, line, "HostKey",
crypto/openssh/servconf.c
2600
process_server_config_line(ServerOptions *options, char *line,
crypto/openssh/servconf.c
2606
return process_server_config_line_depth(options, line, filename,
crypto/openssh/servconf.c
2617
char *line = NULL, *cp;
crypto/openssh/servconf.c
2632
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/servconf.c
2638
cp = line + strspn(line, " \t\r");
crypto/openssh/servconf.c
264
servconf_add_hostcert(const char *file, const int line,
crypto/openssh/servconf.c
2642
free(line);
crypto/openssh/servconf.c
269
opt_array_append(file, line, "HostCertificate",
crypto/openssh/servconf.c
784
match_cfg_line_group(const char *grps, int line, const char *user)
crypto/openssh/servconf.c
794
"not exist", line, user);
crypto/openssh/servconf.c
797
"at line %d", user, line);
crypto/openssh/servconf.c
800
user, grps, line);
crypto/openssh/servconf.c
803
grps, line);
crypto/openssh/servconf.c
825
int line, struct connection_info *ci)
crypto/openssh/servconf.c
832
full_line, line);
crypto/openssh/servconf.c
841
ci->rdomain ? ci->rdomain : "(null)", line);
crypto/openssh/servconf.c
877
debug("matched invalid-user at line %d", line);
crypto/openssh/servconf.c
913
"line %d", ci->user, arg, line);
crypto/openssh/servconf.c
921
switch (match_cfg_line_group(arg, line, ci->user)) {
crypto/openssh/servconf.c
939
"%.100s' at line %d", ci->host, arg, line);
crypto/openssh/servconf.c
944
"'%s' at line %d", arg, line);
crypto/openssh/servconf.c
953
"%.100s' at line %d", ci->address, arg, line);
crypto/openssh/servconf.c
968
line);
crypto/openssh/servconf.c
979
ci->laddress, arg, line);
crypto/openssh/session.c
800
char *line = NULL, *cp, *value;
crypto/openssh/session.c
808
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/session.c
811
for (cp = line; *cp == ' ' || *cp == '\t'; cp++)
crypto/openssh/session.c
835
free(line);
crypto/openssh/sftp.c
2151
char **argv, *line, quote;
crypto/openssh/sftp.c
2163
line = xmalloc(cursor + 1);
crypto/openssh/sftp.c
2164
memcpy(line, lf->buffer, cursor);
crypto/openssh/sftp.c
2165
line[cursor] = '\0';
crypto/openssh/sftp.c
2166
argv = makeargv(line, &carg, 1, &quote, &terminated);
crypto/openssh/sftp.c
2167
free(line);
crypto/openssh/sftp.c
2171
line = xmalloc(len + 1);
crypto/openssh/sftp.c
2172
memcpy(line, lf->buffer, len);
crypto/openssh/sftp.c
2173
line[len] = '\0';
crypto/openssh/sftp.c
2174
argv = makeargv(line, &argc, 1, NULL, NULL);
crypto/openssh/sftp.c
2177
if (line[cursor] != ' ' && line[cursor] != '\0' &&
crypto/openssh/sftp.c
2178
line[cursor] != '\n') {
crypto/openssh/sftp.c
2179
free(line);
crypto/openssh/sftp.c
2187
} else if (carg == 1 && cursor > 0 && line[cursor - 1] != ' ') {
crypto/openssh/sftp.c
2198
if (carg > 1 && line[cursor-1] != ' ')
crypto/openssh/sftp.c
2211
if (line[cursor - 1] == ' ')
crypto/openssh/sftp.c
2223
free(line);
crypto/openssh/sftp.c
2340
const char *line;
crypto/openssh/sftp.c
2343
if ((line = el_gets(el, &count)) == NULL ||
crypto/openssh/sftp.c
2350
history(hl, &hev, H_ENTER, line);
crypto/openssh/sftp.c
2351
if (strlcpy(cmd, line, sizeof(cmd)) >= sizeof(cmd)) {
crypto/openssh/ssh-add.c
133
char *line = NULL, *cp;
crypto/openssh/ssh-add.c
138
while (getline(&line, &linesize, stdin) != -1) {
crypto/openssh/ssh-add.c
142
line[strcspn(line, "\n")] = '\0';
crypto/openssh/ssh-add.c
143
cp = line + strspn(line, " \t");
crypto/openssh/ssh-add.c
161
free(line);
crypto/openssh/ssh-add.c
746
hke->file, hke->line, dch->nkeys);
crypto/openssh/ssh-keygen.c
1000
free(line);
crypto/openssh/ssh-keygen.c
1158
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/ssh-keygen.c
1187
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/ssh-keygen.c
1209
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/ssh-keygen.c
1247
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/ssh-keygen.c
1256
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/ssh-keygen.c
2135
char *cp, *line = NULL;
crypto/openssh/ssh-keygen.c
2153
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/ssh-keygen.c
2158
cp = line + strspn(line, " \t");
crypto/openssh/ssh-keygen.c
2178
free(line);
crypto/openssh/ssh-keygen.c
2240
char *path, *cp, *ep, *line = NULL;
crypto/openssh/ssh-keygen.c
2257
while (getline(&line, &linesize, krl_spec) != -1) {
crypto/openssh/ssh-keygen.c
2264
cp = line + strspn(line, " \t");
crypto/openssh/ssh-keygen.c
2387
free(line);
crypto/openssh/ssh-keygen.c
578
get_line(FILE *fp, char *line, size_t len)
crypto/openssh/ssh-keygen.c
583
line[0] = '\0';
crypto/openssh/ssh-keygen.c
596
line[pos++] = c;
crypto/openssh/ssh-keygen.c
597
line[pos] = '\0';
crypto/openssh/ssh-keygen.c
608
char line[1024];
crypto/openssh/ssh-keygen.c
618
while ((blen = get_line(fp, line, sizeof(line))) != -1) {
crypto/openssh/ssh-keygen.c
619
if (blen > 0 && line[blen - 1] == '\\')
crypto/openssh/ssh-keygen.c
621
if (strncmp(line, "----", 4) == 0 ||
crypto/openssh/ssh-keygen.c
622
strstr(line, ": ") != NULL) {
crypto/openssh/ssh-keygen.c
623
if (strstr(line, SSH_COM_PRIVATE_BEGIN) != NULL)
crypto/openssh/ssh-keygen.c
625
if (strstr(line, " END ") != NULL) {
crypto/openssh/ssh-keygen.c
636
strlcat(encoded, line, sizeof(encoded));
crypto/openssh/ssh-keygen.c
915
char *comment = NULL, *cp, *ep, *line = NULL;
crypto/openssh/ssh-keygen.c
931
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/ssh-keygen.c
933
cp = line;
crypto/openssh/ssh-keygen.c
936
cp = line + strspn(line, " \t");
crypto/openssh/ssh-keygen.c
952
free(line);
crypto/openssh/ssh-keyscan.c
664
char *tname, *cp, *line = NULL;
crypto/openssh/ssh-keyscan.c
801
while (getline(&line, &linesize, fp) != -1) {
crypto/openssh/ssh-keyscan.c
803
if ((cp = strchr(line, '#')) == NULL)
crypto/openssh/ssh-keyscan.c
804
cp = line + strlen(line) - 1;
crypto/openssh/ssh-keyscan.c
805
while (cp >= line) {
crypto/openssh/ssh-keyscan.c
814
if (*line == '\0')
crypto/openssh/ssh-keyscan.c
817
do_host(line);
crypto/openssh/ssh-keyscan.c
827
free(line);
crypto/openssh/ssh.c
1036
line = xstrdup(optarg);
crypto/openssh/ssh.c
1038
host ? host : "", host ? host : "", "", line,
crypto/openssh/ssh.c
1041
free(line);
crypto/openssh/ssh.c
626
char *p, *cp, *line, *argv0, *logfile, *args;
crypto/openssh/sshconnect.c
1129
host_found->file, host_found->line);
crypto/openssh/sshconnect.c
1327
host_found->file, host_found->line);
crypto/openssh/sshconnect.c
1350
ip_found->file, ip_found->line);
crypto/openssh/sshconnect.c
1361
host_found->file, host_found->line);
crypto/openssh/sshconnect.c
1446
type, host, ip, ip_found->file, ip_found->line);
crypto/openssh/sshconnect.c
1451
host_found->file, host_found->line);
crypto/openssh/sshconnect.c
1711
found->host, found->file, found->line,
crypto/openssh/sshd-session.c
793
char *line, *laddr, *logfile = NULL;
crypto/openssh/sshd-session.c
925
line = xstrdup(optarg);
crypto/openssh/sshd-session.c
926
if (process_server_config_line(&options, line,
crypto/openssh/sshd-session.c
929
free(line);
crypto/openssh/sshd.c
1360
char *args, *fp, *line, *logfile = NULL, **rexec_argv = NULL;
crypto/openssh/sshd.c
1502
line = xstrdup(optarg);
crypto/openssh/sshd.c
1503
if (process_server_config_line(&options, line,
crypto/openssh/sshd.c
1506
free(line);
crypto/openssh/sshsig.c
1008
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/sshsig.c
1010
r = check_allowed_keys_line(path, linenum, line, sign_key,
crypto/openssh/sshsig.c
1012
free(line);
crypto/openssh/sshsig.c
1013
line = NULL;
crypto/openssh/sshsig.c
1026
free(line);
crypto/openssh/sshsig.c
1035
char *line = NULL;
crypto/openssh/sshsig.c
1048
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/sshsig.c
1050
r = check_allowed_keys_line(path, linenum, line,
crypto/openssh/sshsig.c
1052
free(line);
crypto/openssh/sshsig.c
1053
line = NULL;
crypto/openssh/sshsig.c
1064
free(line);
crypto/openssh/sshsig.c
1083
char *found, *line = NULL, **principals = NULL, **tmp;
crypto/openssh/sshsig.c
1102
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/sshsig.c
1105
if ((r = parse_principals_key_and_options(path, linenum, line,
crypto/openssh/sshsig.c
1121
free(line);
crypto/openssh/sshsig.c
1122
line = NULL;
crypto/openssh/sshsig.c
1126
free(line);
crypto/openssh/sshsig.c
736
parse_principals_key_and_options(const char *path, u_long linenum, char *line,
crypto/openssh/sshsig.c
753
cp = line;
crypto/openssh/sshsig.c
895
check_allowed_keys_line(const char *path, u_long linenum, char *line,
crypto/openssh/sshsig.c
910
if ((r = parse_principals_key_and_options(path, linenum, line,
crypto/openssh/sshsig.c
994
char *line = NULL;
crypto/openssl/apps/cmp.c
819
static int print_to_bio_out(const char *func, const char *file, int line,
crypto/openssl/apps/cmp.c
822
return OSSL_CMP_print_to_bio(bio_out, func, file, line, level, msg);
crypto/openssl/apps/cmp.c
825
static int print_to_bio_err(const char *func, const char *file, int line,
crypto/openssl/apps/cmp.c
828
return OSSL_CMP_print_to_bio(bio_err, func, file, line, level, msg);
crypto/openssl/apps/lib/s_cb.c
1595
static void keylog_callback(const SSL *ssl, const char *line)
crypto/openssl/apps/lib/s_cb.c
1606
BIO_printf(bio_keylog, "%s\n", line);
crypto/openssl/crypto/asn1/asn_mime.c
1001
static int mime_bound_check(char *line, int linelen, const char *bound, int blen)
crypto/openssl/crypto/asn1/asn_mime.c
1004
linelen = strlen(line);
crypto/openssl/crypto/asn1/asn_mime.c
1011
if ((CHECK_AND_SKIP_PREFIX(line, "--")) && strncmp(line, bound, blen) == 0)
crypto/openssl/crypto/asn1/asn_mime.c
1012
return HAS_PREFIX(line + blen, "--") ? 2 : 1;
crypto/openssl/crypto/asn1/asn_mime.c
56
static int mime_bound_check(char *line, int linelen, const char *bound, int blen);
crypto/openssl/crypto/cmp/cmp_ctx.c
317
int line = 0;
crypto/openssl/crypto/cmp/cmp_ctx.c
324
msg = ossl_cmp_log_parse_metadata(buf, &level, &func, &file, &line);
crypto/openssl/crypto/cmp/cmp_ctx.c
331
line, level, msg))
crypto/openssl/crypto/cmp/cmp_ctx.c
343
const char *func, const char *file, int line,
crypto/openssl/crypto/cmp/cmp_ctx.c
374
func, file, line, level_str);
crypto/openssl/crypto/cmp/cmp_ctx.c
387
res = ctx->log_cb(func, file, line, level, hugebuf);
crypto/openssl/crypto/cmp/cmp_local.h
822
char **file, int *line);
crypto/openssl/crypto/cmp/cmp_local.h
838
const char *func, const char *file, int line,
crypto/openssl/crypto/cmp/cmp_util.c
100
*line = (int)line_number;
crypto/openssl/crypto/cmp/cmp_util.c
127
int line, OSSL_CMP_severity level, const char *msg)
crypto/openssl/crypto/cmp/cmp_util.c
140
file, line)
crypto/openssl/crypto/cmp/cmp_util.c
156
int line, flags;
crypto/openssl/crypto/cmp/cmp_util.c
158
while ((err = ERR_get_error_all(&file, &line, &func, &data, &flags)) != 0) {
crypto/openssl/crypto/cmp/cmp_util.c
186
OSSL_CMP_print_to_bio(bio, component, file, line,
crypto/openssl/crypto/cmp/cmp_util.c
194
if (log_fn(component, file, line, OSSL_CMP_LOG_ERR, msg) <= 0)
crypto/openssl/crypto/cmp/cmp_util.c
74
char **func, char **file, int *line)
crypto/openssl/crypto/cmp/cmp_util.c
84
*line = 0;
crypto/openssl/crypto/conf/conf_def.c
167
static int def_load(CONF *conf, const char *name, long *line)
crypto/openssl/crypto/conf/conf_def.c
185
ret = def_load_bio(conf, in, line);
crypto/openssl/crypto/conf/conf_def.c
207
static int def_load_bio(CONF *conf, BIO *in, long *line)
crypto/openssl/crypto/conf/conf_def.c
588
if (line != NULL)
crypto/openssl/crypto/conf/conf_def.c
589
*line = eline;
crypto/openssl/crypto/cryptlib.c
253
void OPENSSL_die(const char *message, const char *file, int line)
crypto/openssl/crypto/cryptlib.c
256
file, line, message);
crypto/openssl/crypto/dso/dso_vms.c
31
static void *dso_malloc(__size_t num, const char *file, int line)
crypto/openssl/crypto/dso/dso_vms.c
34
if (ret == NULL && (file != NULL || line != 0)) {
crypto/openssl/crypto/dso/dso_vms.c
36
ERR_set_debug(file, line, NULL);
crypto/openssl/crypto/err/err.c
168
const char **file, int *line,
crypto/openssl/crypto/err/err.c
356
unsigned long ERR_get_error_all(const char **file, int *line,
crypto/openssl/crypto/err/err.c
360
return get_error_values(EV_POP, file, line, func, data, flags);
crypto/openssl/crypto/err/err.c
364
unsigned long ERR_get_error_line(const char **file, int *line)
crypto/openssl/crypto/err/err.c
366
return get_error_values(EV_POP, file, line, NULL, NULL, NULL);
crypto/openssl/crypto/err/err.c
369
unsigned long ERR_get_error_line_data(const char **file, int *line,
crypto/openssl/crypto/err/err.c
372
return get_error_values(EV_POP, file, line, NULL, data, flags);
crypto/openssl/crypto/err/err.c
381
unsigned long ERR_peek_error_line(const char **file, int *line)
crypto/openssl/crypto/err/err.c
383
return get_error_values(EV_PEEK, file, line, NULL, NULL, NULL);
crypto/openssl/crypto/err/err.c
396
unsigned long ERR_peek_error_all(const char **file, int *line,
crypto/openssl/crypto/err/err.c
400
return get_error_values(EV_PEEK, file, line, func, data, flags);
crypto/openssl/crypto/err/err.c
404
unsigned long ERR_peek_error_line_data(const char **file, int *line,
crypto/openssl/crypto/err/err.c
407
return get_error_values(EV_PEEK, file, line, NULL, data, flags);
crypto/openssl/crypto/err/err.c
416
unsigned long ERR_peek_last_error_line(const char **file, int *line)
crypto/openssl/crypto/err/err.c
418
return get_error_values(EV_PEEK_LAST, file, line, NULL, NULL, NULL);
crypto/openssl/crypto/err/err.c
431
unsigned long ERR_peek_last_error_all(const char **file, int *line,
crypto/openssl/crypto/err/err.c
435
return get_error_values(EV_PEEK_LAST, file, line, func, data, flags);
crypto/openssl/crypto/err/err.c
439
unsigned long ERR_peek_last_error_line_data(const char **file, int *line,
crypto/openssl/crypto/err/err.c
442
return get_error_values(EV_PEEK_LAST, file, line, NULL, data, flags);
crypto/openssl/crypto/err/err.c
447
const char **file, int *line,
crypto/openssl/crypto/err/err.c
499
if (line != NULL)
crypto/openssl/crypto/err/err.c
500
*line = es->err_line[i];
crypto/openssl/crypto/err/err_blocks.c
29
void ERR_set_debug(const char *file, int line, const char *func)
crypto/openssl/crypto/err/err_blocks.c
37
err_set_debug(es, es->top, file, line, func);
crypto/openssl/crypto/err/err_local.h
49
const char *file, int line,
crypto/openssl/crypto/err/err_local.h
65
es->err_line[i] = line;
crypto/openssl/crypto/err/err_prn.c
129
put_error(ERR_GET_LIB(err), func, err, file, line);
crypto/openssl/crypto/err/err_prn.c
26
int line, flags;
crypto/openssl/crypto/err/err_prn.c
28
while ((l = ERR_get_error_all(&file, &line, &func, &data, &flags)) != 0) {
crypto/openssl/crypto/err/err_prn.c
42
file, line, data);
crypto/openssl/crypto/err/err_prn.c
51
const char *file, int line)
crypto/openssl/crypto/err/err_prn.c
54
ERR_set_debug(file, line, func);
crypto/openssl/crypto/err/err_prn.c
63
int line;
crypto/openssl/crypto/err/err_prn.c
81
ERR_peek_last_error_all(&file, &line, &func, &data, &flags);
crypto/openssl/crypto/http/http_client.c
450
static int parse_http_line1(char *line, int *found_keep_alive)
crypto/openssl/crypto/http/http_client.c
455
if (!CHECK_AND_SKIP_PREFIX(line, HTTP_PREFIX_VERSION))
crypto/openssl/crypto/http/http_client.c
458
*found_keep_alive = *line > '0';
crypto/openssl/crypto/http/http_client.c
461
for (code = line; *code != '\0' && !ossl_isspace(*code); code++)
crypto/openssl/crypto/http/http_client.c
518
for (i = 0; i < 60 && line[i] != '\0'; i++)
crypto/openssl/crypto/http/http_client.c
519
if (!ossl_isprint(line[i]))
crypto/openssl/crypto/http/http_client.c
520
line[i] = ' ';
crypto/openssl/crypto/http/http_client.c
521
line[i] = '\0';
crypto/openssl/crypto/http/http_client.c
522
ERR_raise_data(ERR_LIB_HTTP, HTTP_R_HEADER_PARSE_ERROR, "content=%s", line);
crypto/openssl/crypto/mem.c
188
void *CRYPTO_malloc(size_t num, const char *file, int line)
crypto/openssl/crypto/mem.c
194
ptr = malloc_impl(num, file, line);
crypto/openssl/crypto/mem.c
221
if (file != NULL || line != 0) {
crypto/openssl/crypto/mem.c
223
ERR_set_debug(file, line, NULL);
crypto/openssl/crypto/mem.c
229
void *CRYPTO_zalloc(size_t num, const char *file, int line)
crypto/openssl/crypto/mem.c
233
ret = CRYPTO_malloc(num, file, line);
crypto/openssl/crypto/mem.c
241
const char *file, int line)
crypto/openssl/crypto/mem.c
279
*freeptr = CRYPTO_malloc(num + alignment, file, line);
crypto/openssl/crypto/mem.c
302
void *CRYPTO_realloc(void *str, size_t num, const char *file, int line)
crypto/openssl/crypto/mem.c
306
return realloc_impl(str, num, file, line);
crypto/openssl/crypto/mem.c
309
return CRYPTO_malloc(num, file, line);
crypto/openssl/crypto/mem.c
312
CRYPTO_free(str, file, line);
crypto/openssl/crypto/mem.c
321
const char *file, int line)
crypto/openssl/crypto/mem.c
326
return CRYPTO_malloc(num, file, line);
crypto/openssl/crypto/mem.c
329
CRYPTO_clear_free(str, old_len, file, line);
crypto/openssl/crypto/mem.c
339
ret = CRYPTO_malloc(num, file, line);
crypto/openssl/crypto/mem.c
342
CRYPTO_clear_free(str, old_len, file, line);
crypto/openssl/crypto/mem.c
347
void CRYPTO_free(void *str, const char *file, int line)
crypto/openssl/crypto/mem.c
351
free_impl(str, file, line);
crypto/openssl/crypto/mem.c
358
void CRYPTO_clear_free(void *str, size_t num, const char *file, int line)
crypto/openssl/crypto/mem.c
364
CRYPTO_free(str, file, line);
crypto/openssl/crypto/mem.c
382
int CRYPTO_mem_debug_push(const char *info, const char *file, int line)
crypto/openssl/crypto/mem.c
386
(void)line;
crypto/openssl/crypto/mem.c
396
const char *file, int line)
crypto/openssl/crypto/mem.c
402
(void)line;
crypto/openssl/crypto/mem.c
406
const char *file, int line)
crypto/openssl/crypto/mem.c
413
(void)line;
crypto/openssl/crypto/mem.c
417
const char *file, int line)
crypto/openssl/crypto/mem.c
422
(void)line;
crypto/openssl/crypto/mem_sec.c
153
void *CRYPTO_secure_malloc(size_t num, const char *file, int line)
crypto/openssl/crypto/mem_sec.c
161
return CRYPTO_malloc(num, file, line);
crypto/openssl/crypto/mem_sec.c
172
if (ret == NULL && (file != NULL || line != 0)) {
crypto/openssl/crypto/mem_sec.c
174
ERR_set_debug(file, line, NULL);
crypto/openssl/crypto/mem_sec.c
179
return CRYPTO_malloc(num, file, line);
crypto/openssl/crypto/mem_sec.c
183
void *CRYPTO_secure_zalloc(size_t num, const char *file, int line)
crypto/openssl/crypto/mem_sec.c
188
return CRYPTO_secure_malloc(num, file, line);
crypto/openssl/crypto/mem_sec.c
190
return CRYPTO_zalloc(num, file, line);
crypto/openssl/crypto/mem_sec.c
193
void CRYPTO_secure_free(void *ptr, const char *file, int line)
crypto/openssl/crypto/mem_sec.c
201
CRYPTO_free(ptr, file, line);
crypto/openssl/crypto/mem_sec.c
212
CRYPTO_free(ptr, file, line);
crypto/openssl/crypto/mem_sec.c
217
const char *file, int line)
crypto/openssl/crypto/mem_sec.c
226
CRYPTO_free(ptr, file, line);
crypto/openssl/crypto/mem_sec.c
240
CRYPTO_free(ptr, file, line);
crypto/openssl/crypto/o_str.c
22
char *CRYPTO_strdup(const char *str, const char *file, int line)
crypto/openssl/crypto/o_str.c
28
ret = CRYPTO_malloc(strlen(str) + 1, file, line);
crypto/openssl/crypto/o_str.c
34
char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line)
crypto/openssl/crypto/o_str.c
44
ret = CRYPTO_malloc(maxlen + 1, file, line);
crypto/openssl/crypto/o_str.c
52
void *CRYPTO_memdup(const void *data, size_t siz, const char *file, int line)
crypto/openssl/crypto/o_str.c
59
ret = CRYPTO_malloc(siz, file, line);
crypto/openssl/crypto/pem/pem_lib.c
224
const char *file, int line)
crypto/openssl/crypto/pem/pem_lib.c
227
CRYPTO_secure_clear_free(p, num, file, line);
crypto/openssl/crypto/pem/pem_lib.c
229
CRYPTO_free(p, file, line);
crypto/openssl/crypto/pem/pem_lib.c
235
const char *file, int line)
crypto/openssl/crypto/pem/pem_lib.c
237
return (flags & PEM_FLAG_SECURE) ? CRYPTO_secure_malloc(num, file, line)
crypto/openssl/crypto/pem/pem_lib.c
238
: CRYPTO_malloc(num, file, line);
crypto/openssl/crypto/provider_core.c
2395
const char *file, int line, const char *func)
crypto/openssl/crypto/provider_core.c
2397
ERR_set_debug(file, line, func);
crypto/openssl/crypto/x509/v3_utl.c
315
STACK_OF(CONF_VALUE) *X509V3_parse_list(const char *line)
crypto/openssl/crypto/x509/v3_utl.c
324
linebuf = OPENSSL_strdup(line);
crypto/openssl/engines/e_afalg_err.c
66
static void ERR_AFALG_error(int function, int reason, const char *file, int line)
crypto/openssl/engines/e_afalg_err.c
71
ERR_set_debug(file, line, NULL);
crypto/openssl/engines/e_capi_err.c
88
static void ERR_CAPI_error(int function, int reason, const char *file, int line)
crypto/openssl/engines/e_capi_err.c
93
ERR_set_debug(file, line, NULL);
crypto/openssl/engines/e_dasync_err.c
50
static void ERR_DASYNC_error(int function, int reason, const char *file, int line)
crypto/openssl/engines/e_dasync_err.c
55
ERR_set_debug(file, line, NULL);
crypto/openssl/engines/e_loader_attic_err.c
67
static void ERR_ATTIC_error(int function, int reason, const char *file, int line)
crypto/openssl/engines/e_loader_attic_err.c
72
ERR_set_debug(file, line, NULL);
crypto/openssl/engines/e_ossltest_err.c
50
static void ERR_OSSLTEST_error(int function, int reason, const char *file, int line)
crypto/openssl/engines/e_ossltest_err.c
55
ERR_set_debug(file, line, NULL);
crypto/openssl/fuzz/cmp.c
39
static int print_noop(const char *func, const char *file, int line,
crypto/openssl/include/internal/common.h
44
const char *file, int line)
crypto/openssl/include/internal/common.h
47
OPENSSL_die(exprstr, file, line);
crypto/openssl/include/openssl/cmp_util.h
44
typedef int (*OSSL_CMP_log_cb_t)(const char *func, const char *file, int line,
crypto/openssl/include/openssl/cmp_util.h
48
int line, OSSL_CMP_severity level, const char *msg);
crypto/openssl/include/openssl/core_dispatch.h
115
CRYPTO_malloc, (size_t num, const char *file, int line))
crypto/openssl/include/openssl/core_dispatch.h
118
CRYPTO_zalloc, (size_t num, const char *file, int line))
crypto/openssl/include/openssl/core_dispatch.h
121
CRYPTO_free, (void *ptr, const char *file, int line))
crypto/openssl/include/openssl/core_dispatch.h
124
CRYPTO_clear_free, (void *ptr, size_t num, const char *file, int line))
crypto/openssl/include/openssl/core_dispatch.h
127
CRYPTO_realloc, (void *addr, size_t num, const char *file, int line))
crypto/openssl/include/openssl/core_dispatch.h
130
CRYPTO_clear_realloc, (void *addr, size_t old_num, size_t num, const char *file, int line))
crypto/openssl/include/openssl/core_dispatch.h
133
CRYPTO_secure_malloc, (size_t num, const char *file, int line))
crypto/openssl/include/openssl/core_dispatch.h
136
CRYPTO_secure_zalloc, (size_t num, const char *file, int line))
crypto/openssl/include/openssl/core_dispatch.h
139
CRYPTO_secure_free, (void *ptr, const char *file, int line))
crypto/openssl/include/openssl/core_dispatch.h
142
CRYPTO_secure_clear_free, (void *ptr, size_t num, const char *file, int line))
crypto/openssl/include/openssl/core_dispatch.h
87
const char *file, int line, const char *func))
crypto/openssl/include/openssl/crypto.h
352
typedef void *(*CRYPTO_malloc_fn)(size_t num, const char *file, int line);
crypto/openssl/include/openssl/crypto.h
354
int line);
crypto/openssl/include/openssl/crypto.h
355
typedef void (*CRYPTO_free_fn)(void *addr, const char *file, int line);
crypto/openssl/include/openssl/crypto.h
363
OSSL_CRYPTO_ALLOC void *CRYPTO_malloc(size_t num, const char *file, int line);
crypto/openssl/include/openssl/crypto.h
364
OSSL_CRYPTO_ALLOC void *CRYPTO_zalloc(size_t num, const char *file, int line);
crypto/openssl/include/openssl/crypto.h
367
int line);
crypto/openssl/include/openssl/crypto.h
368
void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
crypto/openssl/include/openssl/crypto.h
369
char *CRYPTO_strdup(const char *str, const char *file, int line);
crypto/openssl/include/openssl/crypto.h
370
char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
crypto/openssl/include/openssl/crypto.h
371
void CRYPTO_free(void *ptr, const char *file, int line);
crypto/openssl/include/openssl/crypto.h
372
void CRYPTO_clear_free(void *ptr, size_t num, const char *file, int line);
crypto/openssl/include/openssl/crypto.h
373
void *CRYPTO_realloc(void *addr, size_t num, const char *file, int line);
crypto/openssl/include/openssl/crypto.h
375
const char *file, int line);
crypto/openssl/include/openssl/crypto.h
379
OSSL_CRYPTO_ALLOC void *CRYPTO_secure_malloc(size_t num, const char *file, int line);
crypto/openssl/include/openssl/crypto.h
380
OSSL_CRYPTO_ALLOC void *CRYPTO_secure_zalloc(size_t num, const char *file, int line);
crypto/openssl/include/openssl/crypto.h
381
void CRYPTO_secure_free(void *ptr, const char *file, int line);
crypto/openssl/include/openssl/crypto.h
383
const char *file, int line);
crypto/openssl/include/openssl/crypto.h
415
const char *file, int line);
crypto/openssl/include/openssl/crypto.h
419
const char *file, int line);
crypto/openssl/include/openssl/crypto.h
422
const char *file, int line);
crypto/openssl/include/openssl/crypto.h
424
const char *file, int line);
crypto/openssl/include/openssl/crypto.h
440
ossl_noreturn void OPENSSL_die(const char *assertion, const char *file, int line);
crypto/openssl/include/openssl/err.h
399
void ERR_set_debug(const char *file, int line, const char *func);
crypto/openssl/include/openssl/err.h
412
#define ERR_put_error(lib, func, reason, file, line) \
crypto/openssl/include/openssl/err.h
414
ERR_set_debug((file), (line), OPENSSL_FUNC), \
crypto/openssl/include/openssl/err.h
421
unsigned long ERR_get_error_all(const char **file, int *line,
crypto/openssl/include/openssl/err.h
426
unsigned long ERR_get_error_line(const char **file, int *line);
crypto/openssl/include/openssl/err.h
428
unsigned long ERR_get_error_line_data(const char **file, int *line,
crypto/openssl/include/openssl/err.h
432
unsigned long ERR_peek_error_line(const char **file, int *line);
crypto/openssl/include/openssl/err.h
435
unsigned long ERR_peek_error_all(const char **file, int *line,
crypto/openssl/include/openssl/err.h
440
unsigned long ERR_peek_error_line_data(const char **file, int *line,
crypto/openssl/include/openssl/err.h
444
unsigned long ERR_peek_last_error_line(const char **file, int *line);
crypto/openssl/include/openssl/err.h
447
unsigned long ERR_peek_last_error_all(const char **file, int *line,
crypto/openssl/include/openssl/err.h
452
unsigned long ERR_peek_last_error_line_data(const char **file, int *line,
crypto/openssl/include/openssl/ssl.h
957
typedef void (*SSL_CTX_keylog_cb_func)(const SSL *ssl, const char *line);
crypto/openssl/include/openssl/x509v3.h
985
STACK_OF(CONF_VALUE) *X509V3_parse_list(const char *line);
crypto/openssl/providers/fips/fipsprov.c
1009
void ERR_set_debug(const char *file, int line, const char *func)
crypto/openssl/providers/fips/fipsprov.c
1011
c_set_error_debug(NULL, file, line, func);
crypto/openssl/providers/fips/fipsprov.c
1066
void *CRYPTO_malloc(size_t num, const char *file, int line)
crypto/openssl/providers/fips/fipsprov.c
1068
return c_CRYPTO_malloc(num, file, line);
crypto/openssl/providers/fips/fipsprov.c
1071
void *CRYPTO_zalloc(size_t num, const char *file, int line)
crypto/openssl/providers/fips/fipsprov.c
1073
return c_CRYPTO_zalloc(num, file, line);
crypto/openssl/providers/fips/fipsprov.c
1076
void CRYPTO_free(void *ptr, const char *file, int line)
crypto/openssl/providers/fips/fipsprov.c
1078
c_CRYPTO_free(ptr, file, line);
crypto/openssl/providers/fips/fipsprov.c
1081
void CRYPTO_clear_free(void *ptr, size_t num, const char *file, int line)
crypto/openssl/providers/fips/fipsprov.c
1083
c_CRYPTO_clear_free(ptr, num, file, line);
crypto/openssl/providers/fips/fipsprov.c
1086
void *CRYPTO_realloc(void *addr, size_t num, const char *file, int line)
crypto/openssl/providers/fips/fipsprov.c
1088
return c_CRYPTO_realloc(addr, num, file, line);
crypto/openssl/providers/fips/fipsprov.c
1092
const char *file, int line)
crypto/openssl/providers/fips/fipsprov.c
1094
return c_CRYPTO_clear_realloc(addr, old_num, num, file, line);
crypto/openssl/providers/fips/fipsprov.c
1097
void *CRYPTO_secure_malloc(size_t num, const char *file, int line)
crypto/openssl/providers/fips/fipsprov.c
1099
return c_CRYPTO_secure_malloc(num, file, line);
crypto/openssl/providers/fips/fipsprov.c
1102
void *CRYPTO_secure_zalloc(size_t num, const char *file, int line)
crypto/openssl/providers/fips/fipsprov.c
1104
return c_CRYPTO_secure_zalloc(num, file, line);
crypto/openssl/providers/fips/fipsprov.c
1107
void CRYPTO_secure_free(void *ptr, const char *file, int line)
crypto/openssl/providers/fips/fipsprov.c
1109
c_CRYPTO_secure_free(ptr, file, line);
crypto/openssl/providers/fips/fipsprov.c
1112
void CRYPTO_secure_clear_free(void *ptr, size_t num, const char *file, int line)
crypto/openssl/providers/fips/fipsprov.c
1114
c_CRYPTO_secure_clear_free(ptr, num, file, line);
crypto/openssl/providers/fips/fipsprov.c
1123
const char *file, int line)
crypto/openssl/providers/legacyprov.c
279
void ERR_set_debug(const char *file, int line, const char *func)
crypto/openssl/providers/legacyprov.c
281
c_set_error_debug(NULL, file, line, func);
crypto/openssl/ssl/quic/quic_impl.c
118
int line,
crypto/openssl/ssl/quic/quic_impl.c
134
ERR_set_debug(file, line, func);
crypto/openssl/ssl/record/rec_layer_s3.c
492
char *file, int line)
crypto/openssl/ssl/record/rec_layer_s3.c
508
ERR_set_debug(file, line, 0);
crypto/openssl/ssl/record/rec_layer_s3.c
517
ERR_set_debug(file, line, 0);
crypto/openssl/ssl/record/rec_layer_s3.c
530
ERR_set_debug(file, line, 0);
crypto/openssl/ssl/record/record.h
172
char *file, int line);
crypto/openssl/ssl/ssl_lib.c
3933
static void do_sslkeylogfile(const SSL *ssl, const char *line)
crypto/openssl/ssl/ssl_lib.c
3941
BIO_printf(keylog_bio, "%s\n", line);
crypto/openssl/test/cmp_ctx_test.c
136
static int msg_total_size_log_cb(const char *func, const char *file, int line,
crypto/openssl/test/cmp_ctx_test.c
262
static int test_log_cb(const char *func, const char *file, int line,
crypto/openssl/test/cmp_ctx_test.c
273
&& (TEST_int_eq(line, test_log_line_start) || TEST_int_eq(line, 0)
crypto/openssl/test/cmp_ctx_test.c
274
|| TEST_int_eq(line, test_log_line_end))
crypto/openssl/test/danetest.c
293
char *line;
crypto/openssl/test/danetest.c
298
while (ret > 0 && (line = read_to_eol(f)) != NULL) {
crypto/openssl/test/danetest.c
311
if (*line == '\0' || *line == '#')
crypto/openssl/test/danetest.c
315
if (sscanf(line, "%d %d %d %d %d%n",
crypto/openssl/test/danetest.c
318
|| !allws(line + off)) {
crypto/openssl/test/danetest.c
334
if ((line = read_to_eol(f)) == NULL || !tlsa_import_rr(ssl, line)) {
crypto/openssl/test/endecode_test.c
134
typedef int(encoder)(const char *file, const int line,
crypto/openssl/test/endecode_test.c
139
typedef int(decoder)(const char *file, const int line,
crypto/openssl/test/endecode_test.c
143
typedef int(tester)(const char *file, const int line,
crypto/openssl/test/endecode_test.c
146
typedef int(checker)(const char *file, const int line,
crypto/openssl/test/endecode_test.c
153
static int test_encode_decode(const char *file, const int line,
crypto/openssl/test/endecode_test.c
175
if (!TEST_true(encode_cb(file, line, &encoded, &encoded_len, pkey, selection,
crypto/openssl/test/endecode_test.c
180
if (TEST_false(decode_cb(file, line, (void **)&pkey2, encoded,
crypto/openssl/test/endecode_test.c
188
if (!TEST_true(check_cb(file, line, type, encoded, encoded_len))
crypto/openssl/test/endecode_test.c
189
|| !TEST_true(decode_cb(file, line, (void **)&pkey2, encoded, encoded_len,
crypto/openssl/test/endecode_test.c
195
&& !TEST_true(decode_cb(file, line, (void **)&pkey3, encoded, encoded_len,
crypto/openssl/test/endecode_test.c
199
|| !TEST_true(encode_cb(file, line, &encoded2, &encoded2_len, pkey2, selection,
crypto/openssl/test/endecode_test.c
221
&& !test_cb(file, line, encoded, encoded_len, encoded2, encoded2_len))
crypto/openssl/test/endecode_test.c
242
static int encode_EVP_PKEY_prov(const char *file, const int line,
crypto/openssl/test/endecode_test.c
283
static int decode_EVP_PKEY_prov(const char *file, const int line,
crypto/openssl/test/endecode_test.c
34
#define TEST_FL_ptr(a) test_ptr(file, line, #a, a)
crypto/openssl/test/endecode_test.c
35
#define TEST_FL_mem_eq(a, m, b, n) test_mem_eq(file, line, #a, #b, a, m, b, n)
crypto/openssl/test/endecode_test.c
358
static int encode_EVP_PKEY_legacy_PEM(const char *file, const int line,
crypto/openssl/test/endecode_test.c
36
#define TEST_FL_strn_eq(a, b, n) test_strn_eq(file, line, #a, #b, a, n, b, n)
crypto/openssl/test/endecode_test.c
37
#define TEST_FL_strn2_eq(a, m, b, n) test_strn_eq(file, line, #a, #b, a, m, b, n)
crypto/openssl/test/endecode_test.c
38
#define TEST_FL_int_eq(a, b) test_int_eq(file, line, #a, #b, a, b)
crypto/openssl/test/endecode_test.c
39
#define TEST_FL_int_ge(a, b) test_int_ge(file, line, #a, #b, a, b)
crypto/openssl/test/endecode_test.c
398
static int encode_EVP_PKEY_MSBLOB(const char *file, const int line,
crypto/openssl/test/endecode_test.c
40
#define TEST_FL_int_gt(a, b) test_int_gt(file, line, #a, #b, a, b)
crypto/openssl/test/endecode_test.c
41
#define TEST_FL_long_gt(a, b) test_long_gt(file, line, #a, #b, a, b)
crypto/openssl/test/endecode_test.c
42
#define TEST_FL_true(a) test_true(file, line, #a, (a) != 0)
crypto/openssl/test/endecode_test.c
443
static int encode_EVP_PKEY_PVK(const char *file, const int line,
crypto/openssl/test/endecode_test.c
478
static int test_text(const char *file, const int line,
crypto/openssl/test/endecode_test.c
485
static int test_mem(const char *file, const int line,
crypto/openssl/test/endecode_test.c
527
static int check_unprotected_PKCS8_DER(const char *file, const int line,
crypto/openssl/test/endecode_test.c
565
static int check_unprotected_PKCS8_PEM(const char *file, const int line,
crypto/openssl/test/endecode_test.c
587
static int check_params_DER(const char *file, const int line,
crypto/openssl/test/endecode_test.c
613
static int check_params_PEM(const char *file, const int line,
crypto/openssl/test/endecode_test.c
645
static int check_unprotected_legacy_PEM(const char *file, const int line,
crypto/openssl/test/endecode_test.c
672
static int check_MSBLOB(const char *file, const int line,
crypto/openssl/test/endecode_test.c
694
static int check_PVK(const char *file, const int line,
crypto/openssl/test/endecode_test.c
718
static int check_protected_PKCS8_DER(const char *file, const int line,
crypto/openssl/test/endecode_test.c
742
static int check_protected_PKCS8_PEM(const char *file, const int line,
crypto/openssl/test/endecode_test.c
764
static int check_protected_legacy_PEM(const char *file, const int line,
crypto/openssl/test/endecode_test.c
811
static int check_public_DER(const char *file, const int line,
crypto/openssl/test/endecode_test.c
833
static int check_public_PEM(const char *file, const int line,
crypto/openssl/test/endecode_test.c
853
static int check_public_MSBLOB(const char *file, const int line,
crypto/openssl/test/errtest.c
37
const int line = OPENSSL_LINE;
crypto/openssl/test/errtest.c
40
const int line = 0;
crypto/openssl/test/errtest.c
68
ERR_PUT_error(ERR_LIB_SYS, 0, syserr, file, line);
crypto/openssl/test/errtest.c
91
errorcode, lib, func, reason, file, line);
crypto/openssl/test/helpers/cmp_testlib.c
77
int print_to_bio_out(const char *func, const char *file, int line,
crypto/openssl/test/helpers/cmp_testlib.c
80
return OSSL_CMP_print_to_bio(bio_out, func, file, line, level, msg);
crypto/openssl/test/helpers/cmp_testlib.h
28
int print_to_bio_out(const char *func, const char *file, int line,
crypto/openssl/test/p_test.c
77
static void p_set_error(int lib, int reason, const char *file, int line,
crypto/openssl/test/p_test.c
84
c_set_error_debug(NULL, file, line, func);
crypto/openssl/test/params_conversion_test.c
184
static int param_conversion_test(const PARAM_CONVERSION *pc, int line)
crypto/openssl/test/params_conversion_test.c
195
TEST_note("unexpected valid conversion to int32 on line %d", line);
crypto/openssl/test/params_conversion_test.c
201
TEST_note("unexpected conversion to int32 on line %d", line);
crypto/openssl/test/params_conversion_test.c
208
line);
crypto/openssl/test/params_conversion_test.c
216
TEST_note("unexpected valid conversion to int64 on line %d", line);
crypto/openssl/test/params_conversion_test.c
222
TEST_note("unexpected conversion to int64 on line %d", line);
crypto/openssl/test/params_conversion_test.c
229
line);
crypto/openssl/test/params_conversion_test.c
237
TEST_note("unexpected valid conversion to uint32 on line %d", line);
crypto/openssl/test/params_conversion_test.c
243
TEST_note("unexpected conversion to uint32 on line %d", line);
crypto/openssl/test/params_conversion_test.c
250
line);
crypto/openssl/test/params_conversion_test.c
258
TEST_note("unexpected valid conversion to uint64 on line %d", line);
crypto/openssl/test/params_conversion_test.c
264
TEST_note("unexpected conversion to uint64 on line %d", line);
crypto/openssl/test/params_conversion_test.c
271
line);
crypto/openssl/test/params_conversion_test.c
279
TEST_note("unexpected valid conversion to double on line %d", line);
crypto/openssl/test/params_conversion_test.c
284
TEST_note("unable to convert to double on line %d", line);
crypto/openssl/test/params_conversion_test.c
301
TEST_note("unexpected NaN on line %d", line);
crypto/openssl/test/params_conversion_test.c
305
TEST_note("unexpected conversion to double on line %d", line);
crypto/openssl/test/params_conversion_test.c
312
line);
crypto/openssl/test/radix/quic_ops.c
43
static void keylog_cb(const SSL *ssl, const char *line)
crypto/openssl/test/radix/quic_ops.c
46
BIO_printf(RP()->keylog_out, "%s", line);
crypto/openssl/test/radix/terp.c
221
static void opgen_set_line(GEN_CTX *ctx, const char *file, int line)
crypto/openssl/test/radix/terp.c
224
ctx->cur_line = line;
crypto/openssl/test/radix/terp.c
34
int line;
crypto/openssl/test/radix/terp.c
482
script_info->file, script_info->line);
crypto/openssl/test/sslapitest.c
159
static void client_keylog_callback(const SSL *ssl, const char *line)
crypto/openssl/test/sslapitest.c
161
int line_length = strlen(line);
crypto/openssl/test/sslapitest.c
170
strcat(client_log_buffer, line);
crypto/openssl/test/sslapitest.c
175
static void server_keylog_callback(const SSL *ssl, const char *line)
crypto/openssl/test/sslapitest.c
177
int line_length = strlen(line);
crypto/openssl/test/sslapitest.c
186
strcat(server_log_buffer, line);
crypto/openssl/test/testutil.h
342
int test_ptr(const char *file, int line, const char *s, const void *p);
crypto/openssl/test/testutil.h
343
int test_ptr_null(const char *file, int line, const char *s, const void *p);
crypto/openssl/test/testutil.h
357
int test_strn_eq(const char *file, int line, const char *, const char *,
crypto/openssl/test/testutil.h
359
int test_strn_ne(const char *file, int line, const char *, const char *,
crypto/openssl/test/testutil.h
379
int test_true(const char *file, int line, const char *s, int b);
crypto/openssl/test/testutil.h
380
int test_false(const char *file, int line, const char *s, int b);
crypto/openssl/test/testutil.h
389
int test_BN_eq_zero(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
390
int test_BN_ne_zero(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
391
int test_BN_lt_zero(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
392
int test_BN_le_zero(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
393
int test_BN_gt_zero(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
394
int test_BN_ge_zero(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
395
int test_BN_eq_one(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
396
int test_BN_odd(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
397
int test_BN_even(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
398
int test_BN_eq_word(const char *file, int line, const char *bns, const char *ws,
crypto/openssl/test/testutil.h
400
int test_BN_abs_eq_word(const char *file, int line, const char *bns,
crypto/openssl/test/testutil.h
407
void test_error(const char *file, int line, const char *desc, ...)
crypto/openssl/test/testutil.h
410
void test_info(const char *file, int line, const char *desc, ...)
crypto/openssl/test/testutil.h
414
int test_skip(const char *file, int line, const char *desc, ...)
crypto/openssl/test/testutil/format_output.c
127
int line, const char *type,
crypto/openssl/test/testutil/format_output.c
132
test_fail_string_common(prefix, file, line, type, left, right, op,
crypto/openssl/test/testutil/format_output.c
266
int line, const char *type,
crypto/openssl/test/testutil/format_output.c
280
test_fail_message_prefix(prefix, file, line, type, left, right, op);
crypto/openssl/test/testutil/format_output.c
367
int line, const char *type,
crypto/openssl/test/testutil/format_output.c
372
test_fail_bignum_common(prefix, file, line, type, left, right, op, bn1, bn2);
crypto/openssl/test/testutil/format_output.c
377
int line, const char *type,
crypto/openssl/test/testutil/format_output.c
381
test_fail_bignum_common(prefix, file, line, type, left, right, op, bn, bn);
crypto/openssl/test/testutil/format_output.c
39
int line, const char *type,
crypto/openssl/test/testutil/format_output.c
424
int line, const char *type,
crypto/openssl/test/testutil/format_output.c
436
test_fail_message_prefix(prefix, file, line, type, left, right, op);
crypto/openssl/test/testutil/format_output.c
50
test_fail_message_prefix(prefix, file, line, type, left, right, op);
crypto/openssl/test/testutil/format_output.c
519
int line, const char *type,
crypto/openssl/test/testutil/format_output.c
525
test_fail_memory_common(prefix, file, line, type, left, right, op,
crypto/openssl/test/testutil/tests.c
108
void test_info(const char *file, int line, const char *desc, ...)
crypto/openssl/test/testutil/tests.c
113
test_fail_message_va("INFO", file, line, NULL, NULL, NULL, NULL, desc, ap);
crypto/openssl/test/testutil/tests.c
127
void test_error(const char *file, int line, const char *desc, ...)
crypto/openssl/test/testutil/tests.c
132
test_fail_message_va(NULL, file, line, NULL, NULL, NULL, NULL, desc, ap);
crypto/openssl/test/testutil/tests.c
160
int test_skip(const char *file, int line, const char *desc, ...)
crypto/openssl/test/testutil/tests.c
165
test_fail_message_va("SKIP", file, line, NULL, NULL, NULL, NULL, desc, ap);
crypto/openssl/test/testutil/tests.c
210
int test_##name##_##opname(const char *file, int line, \
crypto/openssl/test/testutil/tests.c
216
test_fail_message(NULL, file, line, #type, s1, s2, #op, \
crypto/openssl/test/testutil/tests.c
244
int test_ptr_null(const char *file, int line, const char *s, const void *p)
crypto/openssl/test/testutil/tests.c
248
test_fail_message(NULL, file, line, "ptr", s, "NULL", "==", "%p", p);
crypto/openssl/test/testutil/tests.c
252
int test_ptr(const char *file, int line, const char *s, const void *p)
crypto/openssl/test/testutil/tests.c
256
test_fail_message(NULL, file, line, "ptr", s, "NULL", "!=", "%p", p);
crypto/openssl/test/testutil/tests.c
26
int line, const char *type,
crypto/openssl/test/testutil/tests.c
260
int test_true(const char *file, int line, const char *s, int b)
crypto/openssl/test/testutil/tests.c
264
test_fail_message(NULL, file, line, "bool", s, "true", "==", "false");
crypto/openssl/test/testutil/tests.c
268
int test_false(const char *file, int line, const char *s, int b)
crypto/openssl/test/testutil/tests.c
272
test_fail_message(NULL, file, line, "bool", s, "false", "==", "true");
crypto/openssl/test/testutil/tests.c
276
int test_str_eq(const char *file, int line, const char *st1, const char *st2,
crypto/openssl/test/testutil/tests.c
282
test_fail_string_message(NULL, file, line, "string", st1, st2, "==",
crypto/openssl/test/testutil/tests.c
290
int test_str_ne(const char *file, int line, const char *st1, const char *st2,
crypto/openssl/test/testutil/tests.c
296
test_fail_string_message(NULL, file, line, "string", st1, st2, "!=",
crypto/openssl/test/testutil/tests.c
304
int test_strn_eq(const char *file, int line, const char *st1, const char *st2,
crypto/openssl/test/testutil/tests.c
310
test_fail_string_message(NULL, file, line, "string", st1, st2, "==",
crypto/openssl/test/testutil/tests.c
318
int test_strn_ne(const char *file, int line, const char *st1, const char *st2,
crypto/openssl/test/testutil/tests.c
324
test_fail_string_message(NULL, file, line, "string", st1, st2, "!=",
crypto/openssl/test/testutil/tests.c
332
int test_mem_eq(const char *file, int line, const char *st1, const char *st2,
crypto/openssl/test/testutil/tests.c
338
test_fail_memory_message(NULL, file, line, "memory", st1, st2, "==",
crypto/openssl/test/testutil/tests.c
345
int test_mem_ne(const char *file, int line, const char *st1, const char *st2,
crypto/openssl/test/testutil/tests.c
353
test_fail_memory_message(NULL, file, line, "memory", st1, st2, "!=",
crypto/openssl/test/testutil/tests.c
361
int test_BN_##opname(const char *file, int line, \
crypto/openssl/test/testutil/tests.c
367
test_fail_bignum_message(NULL, file, line, "BIGNUM", s1, s2, \
crypto/openssl/test/testutil/tests.c
371
int test_BN_##opname##_zero(const char *file, int line, \
crypto/openssl/test/testutil/tests.c
376
test_fail_bignum_mono_message(NULL, file, line, "BIGNUM", \
crypto/openssl/test/testutil/tests.c
388
int test_BN_eq_one(const char *file, int line, const char *s, const BIGNUM *a)
crypto/openssl/test/testutil/tests.c
392
test_fail_bignum_mono_message(NULL, file, line, "BIGNUM", s, "1", "==", a);
crypto/openssl/test/testutil/tests.c
396
int test_BN_odd(const char *file, int line, const char *s, const BIGNUM *a)
crypto/openssl/test/testutil/tests.c
40
test_printf_stderr(" @ %s:%d", file, line);
crypto/openssl/test/testutil/tests.c
400
test_fail_bignum_mono_message(NULL, file, line, "BIGNUM", "ODD(", ")", s, a);
crypto/openssl/test/testutil/tests.c
404
int test_BN_even(const char *file, int line, const char *s, const BIGNUM *a)
crypto/openssl/test/testutil/tests.c
408
test_fail_bignum_mono_message(NULL, file, line, "BIGNUM", "EVEN(", ")", s,
crypto/openssl/test/testutil/tests.c
413
int test_BN_eq_word(const char *file, int line, const char *bns, const char *ws,
crypto/openssl/test/testutil/tests.c
422
test_fail_bignum_message(NULL, file, line, "BIGNUM", bns, ws, "==", a, bw);
crypto/openssl/test/testutil/tests.c
427
int test_BN_abs_eq_word(const char *file, int line, const char *bns,
crypto/openssl/test/testutil/tests.c
438
test_fail_bignum_message(NULL, file, line, "BIGNUM", bns, ws, "abs==",
crypto/openssl/test/testutil/tests.c
451
int test_time_t_##opname(const char *file, int line, \
crypto/openssl/test/testutil/tests.c
460
test_fail_message(NULL, file, line, "time_t", s1, s2, #op, \
crypto/openssl/test/testutil/tests.c
68
static void test_fail_message(const char *prefix, const char *file, int line,
crypto/openssl/test/testutil/tests.c
75
int line, const char *type,
crypto/openssl/test/testutil/tests.c
79
test_fail_message_prefix(prefix, file, line, type, left, right, op);
crypto/openssl/test/testutil/tests.c
88
int line, const char *type,
crypto/openssl/test/testutil/tests.c
95
test_fail_message_va(prefix, file, line, type, left, right, op, fmt, ap);
crypto/openssl/test/testutil/tu_local.h
22
int line, const char *type,
crypto/openssl/test/testutil/tu_local.h
27
int line, const char *type,
crypto/openssl/test/testutil/tu_local.h
33
int line, const char *type,
crypto/openssl/test/testutil/tu_local.h
38
int line, const char *type,
crypto/openssl/test/testutil/tu_local.h
43
int line, const char *type,
lib/geom/part/geom_part.c
909
char **ap, *argv[6], line[BUFSIZ], *pline;
lib/geom/part/geom_part.c
964
fgets(line, sizeof(line) - 1, stdin) != NULL) {
lib/geom/part/geom_part.c
969
pline = (char *)line;
lib/geom/part/geom_part.c
970
pline[strlen(line) - 1] = 0;
lib/libc/gen/assert.c
37
__assert(const char *func, const char *file, int line, const char *failedexpr)
lib/libc/gen/assert.c
42
file, line);
lib/libc/gen/assert.c
46
failedexpr, func, file, line);
lib/libc/gen/fstab.c
111
static char line[MAXLINELENGTH];
lib/libc/gen/fstab.c
117
if (!(p = fgets(line, sizeof(line), _fs_fp)))
lib/libc/gen/fstab.c
121
if (*line == '#' || *line == '\n')
lib/libc/gen/getcap.c
647
char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE];
lib/libc/gen/getcap.c
660
line = toprec;
lib/libc/gen/getcap.c
662
line = fgetln(pfp, &len);
lib/libc/gen/getcap.c
663
if (line == NULL && pfp) {
lib/libc/gen/getcap.c
685
line[len - 1] = '\0';
lib/libc/gen/getcap.c
690
if (isspace((unsigned char)*line) ||
lib/libc/gen/getcap.c
691
*line == ':' || *line == '#' || slash) {
lib/libc/gen/getcap.c
692
if (line[len - 2] == '\\')
lib/libc/gen/getcap.c
698
if (line[len - 2] == '\\')
lib/libc/gen/getcap.c
711
for (cp = line; *cp != '\0'; cp++) {
lib/libc/gen/getcap.c
725
line = fgetln(pfp, &len);
lib/libc/gen/getcap.c
726
if (line == NULL && pfp) {
lib/libc/gen/getcap.c
742
line[len - 1] = '\0';
lib/libc/gen/getgrent.c
1316
const char *name, *line;
lib/libc/gen/getgrent.c
1428
while ((line = fgetln(st->fp, &linesize)) != NULL) {
lib/libc/gen/getgrent.c
1429
if (line[linesize-1] == '\n')
lib/libc/gen/getgrent.c
1431
if (linesize > 2 && line[0] == '+') {
lib/libc/gen/getgrent.c
1432
p = memchr(&line[1], ':', linesize);
lib/libc/gen/getgrent.c
1433
if (p == NULL || p == &line[1])
lib/libc/gen/getgrent.c
1436
st->name = malloc(p - line);
lib/libc/gen/getgrent.c
1444
memcpy(st->name, &line[1], p - line - 1);
lib/libc/gen/getgrent.c
1445
st->name[p - line - 1] = '\0';
lib/libc/gen/getgrent.c
1450
rv = __gr_match_entry(line, linesize, how, name, gid);
lib/libc/gen/getgrent.c
1462
memcpy(buffer, line, linesize);
lib/libc/gen/getgrent.c
1491
__gr_match_entry(const char *line, size_t linesize, enum nss_lookup_type how,
lib/libc/gen/getgrent.c
1500
if (linesize == 0 || is_comment_line(line, linesize))
lib/libc/gen/getgrent.c
1507
eol = &line[linesize];
lib/libc/gen/getgrent.c
1508
for (p = line, i = 0; i < needed && p < eol; p++)
lib/libc/gen/getgrent.c
1516
if (namesize + 1 == (size_t)(p - line) &&
lib/libc/gen/getgrent.c
1517
memcmp(line, name, namesize) == 0)
lib/libc/gen/getgrent.c
1535
__gr_parse_entry(char *line, size_t linesize, struct group *grp, char *membuf,
lib/libc/gen/getgrent.c
1547
(grp->gr_name = strsep(&line, ":")) == NULL ||
lib/libc/gen/getgrent.c
1549
(grp->gr_passwd = strsep(&line, ":")) == NULL ||
lib/libc/gen/getgrent.c
1550
(s_gid = strsep(&line, ":")) == NULL ||
lib/libc/gen/getgrent.c
1553
s_mem = line;
lib/libc/gen/getgrent.c
843
const char *name, *line;
lib/libc/gen/getgrent.c
888
while ((line = fgetln(st->fp, &linesize)) != NULL) {
lib/libc/gen/getgrent.c
889
if (line[linesize-1] == '\n')
lib/libc/gen/getgrent.c
891
rv = __gr_match_entry(line, linesize, how, name, gid);
lib/libc/gen/getgrent.c
903
memcpy(buffer, line, linesize);
lib/libc/gen/getnetgrent.c
795
char line[LINSIZ + 2];
lib/libc/gen/getnetgrent.c
804
fgets(line, LINSIZ, netf) != NULL) {
lib/libc/gen/getnetgrent.c
823
snprintf(line, LINSIZ, "%s %s", group, result);
lib/libc/gen/getnetgrent.c
828
while (fgets(line, LINSIZ, netf) != NULL) {
lib/libc/gen/getnetgrent.c
830
pos = (char *)&line;
lib/libc/gen/getnetgrent.c
893
if (fgets(line, LINSIZ, netf)) {
lib/libc/gen/getnetgrent.c
894
pos = line;
lib/libc/gen/getttyent.c
129
if (!fgets(p = line, lbsize, tf))
lib/libc/gen/getttyent.c
135
if ((p = realloc(line, lbsize)) == NULL) {
lib/libc/gen/getttyent.c
139
line = p;
lib/libc/gen/getttyent.c
140
if (!fgets(&line[i], lbsize - i, tf))
lib/libc/gen/getttyent.c
261
if (line == NULL) {
lib/libc/gen/getttyent.c
262
if ((line = malloc(MALLOCCHUNK)) == NULL)
lib/libc/gen/getttyent.c
45
static char *line;
lib/libc/gen/getusershell.c
107
char line[MAXPATHLEN + 2];
lib/libc/gen/getusershell.c
116
while (fgets(line, MAXPATHLEN + 1, fp) != NULL) {
lib/libc/gen/getusershell.c
117
cp = line;
lib/libc/gen/getutxent.c
198
getutxline(const struct utmpx *line)
lib/libc/gen/getutxent.c
209
if (strncmp(fu.fu_line, line->ut_line,
lib/libc/gen/getutxent.c
210
MIN(sizeof(fu.fu_line), sizeof(line->ut_line))) ==
lib/libc/gen/utxdb.c
147
FTOU_STRING(fu, ut, line);
lib/libc/gen/utxdb.c
159
FTOU_STRING(fu, ut, line);
lib/libc/gen/utxdb.c
76
UTOF_STRING(ut, fu, line);
lib/libc/gen/utxdb.c
88
UTOF_STRING(ut, fu, line);
lib/libc/iconv/citrus_lookup_factory.c
106
while ((line = fgetln(in, &size)) != NULL)
lib/libc/iconv/citrus_lookup_factory.c
107
if ((ret = convert_line(df, line, size))) {
lib/libc/iconv/citrus_lookup_factory.c
50
convert_line(struct _citrus_db_factory *df, const char *line, size_t len)
lib/libc/iconv/citrus_lookup_factory.c
56
p = memchr(line, T_COMM, len);
lib/libc/iconv/citrus_lookup_factory.c
58
len = p - line;
lib/libc/iconv/citrus_lookup_factory.c
61
line = _bcs_skip_ws_len(line, &len);
lib/libc/iconv/citrus_lookup_factory.c
64
p = _bcs_skip_nonws_len(line, &len);
lib/libc/iconv/citrus_lookup_factory.c
65
if (p == line)
lib/libc/iconv/citrus_lookup_factory.c
67
snprintf(key, sizeof(key), "%.*s", (int)(p-line), line);
lib/libc/iconv/citrus_lookup_factory.c
71
line = _bcs_skip_ws_len(p, &len);
lib/libc/iconv/citrus_lookup_factory.c
72
_bcs_trunc_rws_len(line, &len);
lib/libc/iconv/citrus_lookup_factory.c
73
snprintf(data, sizeof(data), "%.*s", (int)len, line);
lib/libc/iconv/citrus_lookup_factory.c
98
char *line;
lib/libc/iconv/citrus_pivot_factory.c
105
convert_line(struct src_head *sh, const char *line, size_t len)
lib/libc/iconv/citrus_pivot_factory.c
117
p = memchr(line, T_COMM, len);
lib/libc/iconv/citrus_pivot_factory.c
119
len = p - line;
lib/libc/iconv/citrus_pivot_factory.c
122
line = _bcs_skip_ws_len(line, &len);
lib/libc/iconv/citrus_pivot_factory.c
125
p = _bcs_skip_nonws_len(line, &len);
lib/libc/iconv/citrus_pivot_factory.c
126
if (p == line)
lib/libc/iconv/citrus_pivot_factory.c
128
snprintf(key1, sizeof(key1), "%.*s", (int)(p - line), line);
lib/libc/iconv/citrus_pivot_factory.c
131
line = _bcs_skip_ws_len(p, &len);
lib/libc/iconv/citrus_pivot_factory.c
134
p = _bcs_skip_nonws_len(line, &len);
lib/libc/iconv/citrus_pivot_factory.c
135
if (p == line)
lib/libc/iconv/citrus_pivot_factory.c
137
snprintf(key2, sizeof(key2), "%.*s", (int)(p - line), line);
lib/libc/iconv/citrus_pivot_factory.c
140
line = _bcs_skip_ws_len(p, &len);
lib/libc/iconv/citrus_pivot_factory.c
141
_bcs_trunc_rws_len(line, &len);
lib/libc/iconv/citrus_pivot_factory.c
142
snprintf(data, sizeof(data), "%.*s", (int)len, line);
lib/libc/iconv/citrus_pivot_factory.c
204
char *line;
lib/libc/iconv/citrus_pivot_factory.c
210
while ((line = fgetln(in, &size)) != NULL)
lib/libc/iconv/citrus_pivot_factory.c
211
if ((ret = convert_line(&sh, line, size))) {
lib/libc/net/eui64.c
101
line = linehead;
lib/libc/net/eui64.c
104
while ((cur = strsep(&line, " \t\r\n")) != NULL) {
lib/libc/net/eui64.c
114
while ((cur = strsep(&line, " \t\r\n")) != NULL) {
lib/libc/net/eui64.c
124
while ((cur = strsep(&line, " \t\r\n")) != NULL) {
lib/libc/net/eui64.c
96
char *line, *linehead, *cur;
lib/libc/net/getaddrinfo.c
2535
_yphostent(char *line, const struct addrinfo *pai)
lib/libc/net/getaddrinfo.c
2540
char *p = line;
lib/libc/net/getnetbyht.c
84
char line[BUFSIZ + 1];
lib/libc/net/getnetbyht.c
90
p = fgets(line, sizeof line, ned->netf);
lib/libc/net/getprotoent.c
366
if ((p = fgets(ped->line, sizeof ped->line, ped->fp)) == NULL)
lib/libc/net/getservent.c
300
char *line;
lib/libc/net/getservent.c
348
if ((line = fgetln(st->fp, &linesize)) == NULL) {
lib/libc/net/getservent.c
354
if (*line=='+' && serv_mdata->compat_mode != 0)
lib/libc/net/getservent.c
386
rv = parse_result(serv, buffer, bufsize, line, linesize,
lib/libc/net/netdb_private.h
100
char line[_MAXLINELEN + 1];
lib/libc/posix1e/acl_from_text.c
195
char *mybuf_p, *line, *cur, *notcomment, *comment, *entry;
lib/libc/posix1e/acl_from_text.c
211
while ((line = strsep(&cur, "\n"))) {
lib/libc/posix1e/acl_from_text.c
213
comment = line;
lib/libc/posix1e/mac.c
169
char line[LINE_MAX];
lib/libc/posix1e/mac.c
184
while (fgets(line, LINE_MAX, file)) {
lib/libc/posix1e/mac.c
187
if (line[strlen(line)-1] == '\n')
lib/libc/posix1e/mac.c
188
line[strlen(line)-1] = '\0';
lib/libc/posix1e/mac.c
198
comment = line;
lib/libc/regex/grot/main.c
141
line++;
lib/libc/regex/grot/main.c
146
fprintf(stdout, "%d:\n", line);
lib/libc/regex/grot/main.c
149
fprintf(stderr, "bad input, line %d\n", line);
lib/libc/regex/grot/main.c
15
int line = 0;
lib/libc/regex/grot/main.c
226
line, type, eprint(err), len, sizeof(erbuf), erbuf);
lib/libc/regex/grot/main.c
231
line, type, f2);
lib/libc/regex/grot/main.c
246
fprintf(stderr, "%d: bad STARTEND syntax\n", line);
lib/libc/regex/grot/main.c
256
line, type, eprint(err), len, sizeof(erbuf), erbuf);
lib/libc/regex/grot/main.c
263
line, type);
lib/libc/regex/grot/main.c
269
fprintf(stderr, "%d: %s %s\n", line, type, grump);
lib/libc/regex/grot/main.c
289
fprintf(stderr, "%d: %s $%d %s\n", line,
lib/libc/resolv/res_init.c
278
char *line = NULL, *eol, *eow;
lib/libc/resolv/res_init.c
298
while ((len = getline(&line, &sz, fp)) != -1) {
lib/libc/resolv/res_init.c
300
eol = line;
lib/libc/resolv/res_init.c
301
while (eol < line + len && !res_comment(*eol))
lib/libc/resolv/res_init.c
305
while (eol > line && res_space(eol[-1]))
lib/libc/resolv/res_init.c
310
if (eol == line)
lib/libc/resolv/res_init.c
314
eow = line;
lib/libc/resolv/res_init.c
319
if (res_match(line, eow, "domain")) {
lib/libc/resolv/res_init.c
328
if (res_match(line, eow, "search")) {
lib/libc/resolv/res_init.c
337
if (res_match(line, eow, "nameserver")) {
lib/libc/resolv/res_init.c
356
if (res_match(line, eow, "sortlist")) {
lib/libc/resolv/res_init.c
381
if (res_match(line, eow, "options")) {
lib/libc/resolv/res_init.c
389
free(line);
lib/libc/rpc/getrpcent.c
213
char *line;
lib/libc/rpc/getrpcent.c
261
if ((line = fgetln(st->fp, &linesize)) == NULL) {
lib/libc/rpc/getrpcent.c
282
memcpy(buffer, line, linesize);
lib/libc/tests/nss/getaddrinfo_test.c
243
addrinfo_read_snapshot_ai(struct addrinfo *ai, char *line)
lib/libc/tests/nss/getaddrinfo_test.c
250
ps = line;
lib/libc/tests/nss/getaddrinfo_test.c
306
addrinfo_read_snapshot_func(struct addrinfo *ai, char *line)
lib/libc/tests/nss/getaddrinfo_test.c
312
printf("1 line read from snapshot:\n%s\n", line);
lib/libc/tests/nss/getaddrinfo_test.c
315
ps = line;
lib/libc/tests/nss/getaddrinfo_test.c
381
addrinfo_read_hostlist_func(struct addrinfo *ai, char *line)
lib/libc/tests/nss/getaddrinfo_test.c
386
printf("resolving %s: ", line);
lib/libc/tests/nss/getaddrinfo_test.c
387
rv = getaddrinfo(line, NULL, &hints, &result);
lib/libc/tests/nss/getgr_test.c
203
group_read_snapshot_func(struct group *grp, char *line)
lib/libc/tests/nss/getgr_test.c
210
printf("1 line read from snapshot:\n%s\n", line);
lib/libc/tests/nss/getgr_test.c
214
ps = line;
lib/libc/tests/nss/gethostby_test.c
490
hostent_read_hostlist_func(struct hostent *he, char *line)
lib/libc/tests/nss/gethostby_test.c
496
printf("resolving %s: ", line);
lib/libc/tests/nss/gethostby_test.c
498
result = __gethostbyname2(line, af_type);
lib/libc/tests/nss/gethostby_test.c
517
he->h_name = strdup(line);
lib/libc/tests/nss/gethostby_test.c
547
hostent_read_snapshot_func(struct hostent *ht, char *line)
lib/libc/tests/nss/gethostby_test.c
554
printf("1 line read from snapshot:\n%s\n", line);
lib/libc/tests/nss/gethostby_test.c
560
ps = line;
lib/libc/tests/nss/getproto_test.c
195
protoent_read_snapshot_func(struct protoent *pe, char *line)
lib/libc/tests/nss/getproto_test.c
201
printf("1 line read from snapshot:\n%s\n", line);
lib/libc/tests/nss/getproto_test.c
205
ps = line;
lib/libc/tests/nss/getpw_test.c
159
passwd_read_snapshot_func(struct passwd *pwd, char *line)
lib/libc/tests/nss/getpw_test.c
165
printf("1 line read from snapshot:\n%s\n", line);
lib/libc/tests/nss/getpw_test.c
169
ps = line;
lib/libc/tests/nss/getrpc_test.c
194
rpcent_read_snapshot_func(struct rpcent *rpc, char *line)
lib/libc/tests/nss/getrpc_test.c
200
printf("1 line read from snapshot:\n%s\n", line);
lib/libc/tests/nss/getrpc_test.c
204
ps = line;
lib/libc/tests/nss/getserv_test.c
200
servent_read_snapshot_func(struct servent *serv, char *line)
lib/libc/tests/nss/getserv_test.c
206
printf("1 line read from snapshot:\n%s\n", line);
lib/libc/tests/nss/getserv_test.c
210
ps = line;
lib/libc/tests/nss/getusershell_test.c
124
usershell_read_snapshot_func(struct usershell *us, char *line)
lib/libc/tests/nss/getusershell_test.c
127
us->path = strdup(line);
lib/libc/tests/resolv/resolv_test.c
79
char *line;
lib/libc/tests/resolv/resolv_test.c
83
line = NULL;
lib/libc/tests/resolv/resolv_test.c
85
while (getline(&line, &linecap, fp) >= 0) {
lib/libc/tests/resolv/resolv_test.c
88
for (ptr = strtok(line, WS); ptr; ptr = strtok(NULL, WS)) {
lib/libc/tests/resolv/resolv_test.c
94
free(line);
lib/libc/tests/stdio/getdelim_test.c
101
ATF_REQUIRE(getline(&line, &linecap, fp) == 1);
lib/libc/tests/stdio/getdelim_test.c
102
ATF_REQUIRE(line[0] == '\0' && line[1] == '\0');
lib/libc/tests/stdio/getdelim_test.c
104
line[0] = 'X';
lib/libc/tests/stdio/getdelim_test.c
105
ATF_REQUIRE(getline(&line, &linecap, fp) == -1);
lib/libc/tests/stdio/getdelim_test.c
106
ATF_REQUIRE(line[0] == '\0');
lib/libc/tests/stdio/getdelim_test.c
107
free(line);
lib/libc/tests/stdio/getdelim_test.c
108
line = NULL;
lib/libc/tests/stdio/getdelim_test.c
119
char *line;
lib/libc/tests/stdio/getdelim_test.c
123
line = NULL;
lib/libc/tests/stdio/getdelim_test.c
126
ATF_REQUIRE(getline(&line, &linecap, stdout) == -1);
lib/libc/tests/stdio/getdelim_test.c
129
ATF_REQUIRE(getdelim(&line, &linecap, 'X', stdout) == -1);
lib/libc/tests/stdio/getdelim_test.c
138
char *line;
lib/libc/tests/stdio/getdelim_test.c
145
ATF_REQUIRE(getline(&line, NULL, fp) == -1);
lib/libc/tests/stdio/getdelim_test.c
155
char *line;
lib/libc/tests/stdio/getdelim_test.c
163
line = NULL;
lib/libc/tests/stdio/getdelim_test.c
166
ATF_REQUIRE(getline(&line, &linecap, fp) == -1);
lib/libc/tests/stdio/getdelim_test.c
167
ATF_REQUIRE(line[0] == '\0');
lib/libc/tests/stdio/getdelim_test.c
180
char *line;
lib/libc/tests/stdio/getdelim_test.c
184
line = NULL;
lib/libc/tests/stdio/getdelim_test.c
190
ATF_REQUIRE(getdelim(&line, &linecap, '\0', fp) == n + 1);
lib/libc/tests/stdio/getdelim_test.c
191
ATF_REQUIRE(strcmp(line, apothegm) == 0);
lib/libc/tests/stdio/getdelim_test.c
192
ATF_REQUIRE(line[n + 1] == '\0');
lib/libc/tests/stdio/getdelim_test.c
196
ATF_REQUIRE(getdelim(&line, &linecap, '\0', fp) == n + 1);
lib/libc/tests/stdio/getdelim_test.c
197
ATF_REQUIRE(line[n + 1] == '\0');
lib/libc/tests/stdio/getdelim_test.c
208
char *line;
lib/libc/tests/stdio/getdelim_test.c
213
line = NULL;
lib/libc/tests/stdio/getdelim_test.c
215
ATF_REQUIRE(getline(&line, &linecap, fp) == sizeof(apothegm) - 1);
lib/libc/tests/stdio/getdelim_test.c
216
ATF_REQUIRE(memcmp(line, apothegm, sizeof(apothegm)) == 0);
lib/libc/tests/stdio/getdelim_test.c
218
free(line);
lib/libc/tests/stdio/getdelim_test.c
219
line = malloc(100);
lib/libc/tests/stdio/getdelim_test.c
221
ATF_REQUIRE(getline(&line, &linecap, fp) == sizeof(apothegm) - 1);
lib/libc/tests/stdio/getdelim_test.c
222
ATF_REQUIRE(memcmp(line, apothegm, sizeof(apothegm)) == 0);
lib/libc/tests/stdio/getdelim_test.c
223
free(line);
lib/libc/tests/stdio/getdelim_test.c
283
char *line;
lib/libc/tests/stdio/getdelim_test.c
289
line = NULL;
lib/libc/tests/stdio/getdelim_test.c
350
(linelen = getdelim(&line, &linecap, delim, fp)) == -1);
lib/libc/tests/stdio/getdelim_test.c
351
ATF_REQUIRE_STREQ("", line);
lib/libc/tests/stdio/getdelim_test.c
362
ATF_CHECK(getdelim(&line, &linecap, delim, fp) == strslen[0]);
lib/libc/tests/stdio/getdelim_test.c
363
ATF_REQUIRE_STREQ(strs[0], line);
lib/libc/tests/stdio/getdelim_test.c
364
ATF_REQUIRE(getdelim(&line, &linecap, delim, fp) == strslen[1]);
lib/libc/tests/stdio/getdelim_test.c
365
ATF_REQUIRE_STREQ(strs[1], line);
lib/libc/tests/stdio/getdelim_test.c
368
(linelen = getdelim(&line, &linecap, delim, fp)) == -1);
lib/libc/tests/stdio/getdelim_test.c
369
ATF_REQUIRE_STREQ("", line);
lib/libc/tests/stdio/getdelim_test.c
377
ATF_REQUIRE((linelen = getdelim(&line, &linecap, delim, fp)) != -1);
lib/libc/tests/stdio/getdelim_test.c
380
ATF_REQUIRE_STREQ(strs[2], line);
lib/libc/tests/stdio/getdelim_test.c
384
(linelen = getdelim(&line, &linecap, delim, fp)) == -1);
lib/libc/tests/stdio/getdelim_test.c
385
ATF_REQUIRE_STREQ("", line);
lib/libc/tests/stdio/getdelim_test.c
392
ATF_REQUIRE((linelen = getdelim(&line, &linecap, delim, fp)) != -1);
lib/libc/tests/stdio/getdelim_test.c
395
ATF_REQUIRE_STREQ(strs[3], line);
lib/libc/tests/stdio/getdelim_test.c
81
char *line;
lib/libc/tests/stdio/getdelim_test.c
95
line = malloc(i);
lib/libc/tests/stdio/getdelim_test.c
97
ATF_REQUIRE(getline(&line, &linecap, fp) == sizeof(apothegm) - 1);
lib/libc/tests/stdio/getdelim_test.c
98
ATF_REQUIRE(memcmp(line, apothegm, sizeof(apothegm)) == 0);
lib/libdiff/tests/libdiff_test.c
30
char line[128];
lib/libdiff/tests/libdiff_test.c
39
line[sizeof(line) - 1] = '\n';
lib/libdiff/tests/libdiff_test.c
40
for (unsigned int i = 0; i <= size / sizeof(line); i++) {
lib/libdiff/tests/libdiff_test.c
41
memset(line, 'a' + i % 26, sizeof(line) - 1);
lib/libdiff/tests/libdiff_test.c
42
ATF_REQUIRE(fwrite(line, sizeof(line), 1, f) == 1);
lib/libdiff/tests/libdiff_test.c
50
ATF_REQUIRE((size_t)d.len >= size / 2 - sizeof(line));
lib/libfetch/common.c
1460
conn->line = conn->buf;
lib/libfetch/common.c
1468
conn->line = conn->buf + conn->pos;
lib/libfetch/common.c
1473
conn->pos = conn->line - conn->buf;
lib/libfetch/common.c
1484
conn->line = conn->buf;
lib/libfetch/common.c
1510
conn->line = conn->buf = tmp;
lib/libfetch/common.c
1517
conn->linelen = (conn->buf + conn->pos) - conn->line;
lib/libfetch/common.c
1518
if (conn->linelen > 0 && conn->line[conn->linelen - 1] == '\n')
lib/libfetch/common.c
1519
conn->line[--conn->linelen] = '\0';
lib/libfetch/common.c
1520
if (conn->linelen > 0 && conn->line[conn->linelen - 1] == '\r')
lib/libfetch/common.c
1521
conn->line[--conn->linelen] = '\0';
lib/libfetch/common.c
1522
DEBUGF("<<< %.*s\n", (int)conn->linelen, conn->line);
lib/libfetch/common.c
1525
conn->line = NULL;
lib/libfetch/common.c
1553
conn->line = NULL;
lib/libfetch/common.h
52
char *line; /* line (within buffer) */
lib/libfetch/ftp.c
152
if (isftpinfo(conn->line)) {
lib/libfetch/ftp.c
153
while (rlen && !isftpreply(conn->line)) {
lib/libfetch/ftp.c
161
if (!isftpreply(conn->line)) {
lib/libfetch/ftp.c
166
conn->err = (conn->line[0] - '0') * 100
lib/libfetch/ftp.c
167
+ (conn->line[1] - '0') * 10
lib/libfetch/ftp.c
168
+ (conn->line[2] - '0');
lib/libfetch/ftp.c
240
end = conn->line + conn->linelen;
lib/libfetch/ftp.c
241
src = conn->line + 4;
lib/libfetch/ftp.c
421
for (ln = conn->line + 4; *ln && isspace((unsigned char)*ln); ln++)
lib/libfetch/ftp.c
439
for (ln = conn->line + 4; *ln && isspace((unsigned char)*ln); ln++)
lib/libfetch/ftp.c
692
ln = conn->line;
lib/libfetch/http.c
1505
char *line = NULL, *p, *q;
lib/libfetch/http.c
1509
while ((len = getline(&line, &cap, in)) >= 0) {
lib/libfetch/http.c
1510
while (len && isspace((unsigned char)line[len - 1]))
lib/libfetch/http.c
1512
for (p = q = line; q < line + len; ++q) {
lib/libfetch/http.c
1514
if (q + 2 < line + len &&
lib/libfetch/http.c
1526
if (q + 3 < line + len &&
lib/libfetch/http.c
1538
free(line);
lib/libfetch/http.c
155
for (p = io->conn->line;
lib/libfetch/http.c
433
if (conn->linelen < 4 || strncmp(conn->line, "HTTP", 4) != 0)
lib/libfetch/http.c
435
p = conn->line + 4;
lib/libfetch/http.c
528
memcpy(hbuf->buf, conn->line, conn->linelen + 1);
lib/libfetch/http.c
543
if (conn->line[0] != ' ' && conn->line[0] != '\t')
lib/libfetch/http.c
554
memcpy(hbuf->buf + hbuf->buflen, conn->line, conn->linelen + 1);
lib/libmp/mpasbn.c
291
char *line, *nline;
lib/libmp/mpasbn.c
294
line = fgetln(stdin, &linelen);
lib/libmp/mpasbn.c
295
if (line == NULL)
lib/libmp/mpasbn.c
300
memcpy(nline, line, linelen);
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
61
char *line, *name, **mem;
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
77
while (!found && (line = fgetln(f, &len)) != NULL) {
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
78
if (*line == '#')
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
80
while (len > 0 && isspace(line[len - 1]))
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
85
if (*line != '@') {
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
86
if (len == ulen && strncmp(user, line, len) == 0)
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
91
asprintf(&name, "%.*s", (int)len - 1, line + 1);
lib/libpam/modules/pam_login_access/login_access.c
105
return (match == 0 || (line[0] == '+'));
lib/libpam/modules/pam_login_access/login_access.c
53
char line[BUFSIZ];
lib/libpam/modules/pam_login_access/login_access.c
71
while (!match && fgets(line, sizeof(line), fp)) {
lib/libpam/modules/pam_login_access/login_access.c
73
if (line[end = strlen(line) - 1] != '\n') {
lib/libpam/modules/pam_login_access/login_access.c
78
if (line[0] == '#')
lib/libpam/modules/pam_login_access/login_access.c
80
while (end > 0 && isspace(line[end - 1]))
lib/libpam/modules/pam_login_access/login_access.c
82
line[end] = 0; /* strip trailing whitespace */
lib/libpam/modules/pam_login_access/login_access.c
83
if (line[0] == 0) /* skip blank lines */
lib/libpam/modules/pam_login_access/login_access.c
85
if (!(perm = strtok(line, fieldsep))
lib/libpam/modules/pam_ssh/pam_ssh.c
240
char *line, *p, *key, *val;
lib/libpam/modules/pam_ssh/pam_ssh.c
243
while ((line = fgetln(f, &len)) != NULL) {
lib/libpam/modules/pam_ssh/pam_ssh.c
244
if (len < 4 || strncmp(line, "SSH_", 4) != 0)
lib/libpam/modules/pam_ssh/pam_ssh.c
248
for (p = key = line; p < line + len; ++p)
lib/libpam/modules/pam_ssh/pam_ssh.c
251
if (p == line + len || *p != '=')
lib/libpam/modules/pam_ssh/pam_ssh.c
256
for (val = ++p; p < line + len; ++p)
lib/libpam/modules/pam_ssh/pam_ssh.c
259
if (p == line + len || *p != ';')
lib/libpjdlog/pjdlog.c
530
pjdlogv_common_single_line(const char *func, const char *file, int line,
lib/libpjdlog/pjdlog.c
555
assert((file != NULL && line > 0) ||
lib/libpjdlog/pjdlog.c
556
(func == NULL && file == NULL && line == 0));
lib/libpjdlog/pjdlog.c
591
snprlcat(logp, logs, "(%s:%d) ", file, line);
lib/libpjdlog/pjdlog.c
593
snprlcat(logp, logs, "(%s:%d:%s) ", file, line, func);
lib/libpjdlog/pjdlog.c
642
_pjdlogv_common(const char *func, const char *file, int line, int loglevel,
lib/libpjdlog/pjdlog.c
677
pjdlogv_common_single_line(func, file, line, loglevel,
lib/libpjdlog/pjdlog.c
684
pjdlogv_common_single_line(func, file, line, loglevel, debuglevel,
lib/libpjdlog/pjdlog.c
694
_pjdlog_common(const char *func, const char *file, int line, int loglevel,
lib/libpjdlog/pjdlog.c
702
_pjdlogv_common(func, file, line, loglevel, debuglevel, error, fmt, ap);
lib/libpjdlog/pjdlog.c
710
_pjdlogv_exit(const char *func, const char *file, int line, int exitcode,
lib/libpjdlog/pjdlog.c
716
_pjdlogv_common(func, file, line, exitcode == 0 ? LOG_INFO : LOG_ERR, 0,
lib/libpjdlog/pjdlog.c
726
_pjdlog_exit(const char *func, const char *file, int line, int exitcode,
lib/libpjdlog/pjdlog.c
734
_pjdlogv_exit(func, file, line, exitcode, error, fmt, ap);
lib/libpjdlog/pjdlog.c
743
_pjdlog_abort(const char *func, const char *file, int line,
lib/libpjdlog/pjdlog.c
764
_pjdlogv_common(func, file, line, LOG_CRIT, 0, -1, fmt, ap);
lib/libpjdlog/pjdlog.c
768
_pjdlog_common(func, file, line, LOG_CRIT, 0, -1, "Aborted.");
lib/libpjdlog/pjdlog.c
770
_pjdlog_common(func, file, line, LOG_CRIT, 0, -1,
lib/libpjdlog/pjdlog.c
774
_pjdlog_common(func, file, line, LOG_CRIT, 0, error, "Errno");
lib/libpjdlog/pjdlog.h
68
void _pjdlogv_common(const char *func, const char *file, int line, int loglevel,
lib/libpjdlog/pjdlog.h
70
void _pjdlog_common(const char *func, const char *file, int line, int loglevel,
lib/libpjdlog/pjdlog.h
73
void _pjdlogv_exit(const char *func, const char *file, int line, int exitcode,
lib/libpjdlog/pjdlog.h
75
void _pjdlog_exit(const char *func, const char *file, int line, int exitcode,
lib/libpjdlog/pjdlog.h
78
void _pjdlog_abort(const char *func, const char *file, int line, int error,
lib/libpmc/pmu-events/jevents.c
1024
char *line, *p;
lib/libpmc/pmu-events/jevents.c
1031
line = malloc(n);
lib/libpmc/pmu-events/jevents.c
1032
if (!line)
lib/libpmc/pmu-events/jevents.c
1039
free(line);
lib/libpmc/pmu-events/jevents.c
1046
p = fgets(line, n, mapfp);
lib/libpmc/pmu-events/jevents.c
1055
p = fgets(line, n, mapfp);
lib/libpmc/pmu-events/jevents.c
1059
if (line[0] == '#' || line[0] == '\n')
lib/libpmc/pmu-events/jevents.c
1062
if (line[strlen(line)-1] != '\n') {
lib/libpmc/pmu-events/jevents.c
1069
line[strlen(line)-1] = '\0';
lib/libpmc/pmu-events/jevents.c
1099
free(line);
lib/libulog/ulog_login.c
39
ulog_fill(struct utmpx *utx, const char *line)
lib/libulog/ulog_login.c
45
if (strncmp(line, _PATH_DEV, sizeof _PATH_DEV - 1) == 0)
lib/libulog/ulog_login.c
46
line += sizeof _PATH_DEV - 1;
lib/libulog/ulog_login.c
52
strlcpy(utx->ut_line, line, sizeof utx->ut_line);
lib/libulog/ulog_login.c
63
ulog_login(const char *line, const char *user, const char *host)
lib/libulog/ulog_login.c
67
ulog_fill(&utx, line);
lib/libulog/ulog_login.c
76
ulog_logout(const char *line)
lib/libulog/ulog_login.c
80
ulog_fill(&utx, line);
lib/libunbound/config.h
1646
void *unbound_stat_malloc_log(size_t size, const char* file, int line,
lib/libunbound/config.h
1649
int line, const char* func);
lib/libunbound/config.h
1650
void unbound_stat_free_log(void *ptr, const char* file, int line,
lib/libunbound/config.h
1653
int line, const char* func);
lib/libunbound/config.h
1655
const char* file, int line, const char* func);
lib/libunbound/config.h
1656
char *unbound_stat_strdup_log(const char *s, const char* file, int line,
lib/libusbhid/usage.c
108
if (isspace(line[0])) {
lib/libusbhid/usage.c
76
char line[100], name[100], *p, *n;
lib/libusbhid/usage.c
88
if (fgets(line, sizeof line, f) == NULL)
lib/libusbhid/usage.c
90
if (line[0] == '#')
lib/libusbhid/usage.c
92
for (p = line; *p && isspace(*p); p++)
lib/libusbhid/usage.c
96
if (sscanf(line, " * %[^\n]", name) == 1)
lib/libusbhid/usage.c
98
else if (sscanf(line, " 0x%x %[^\n]", &no, name) != 2 &&
lib/libusbhid/usage.c
99
sscanf(line, " %d %[^\n]", &no, name) != 2)
lib/libutil/fparseln.c
199
size_t size, line;
lib/libutil/fparseln.c
201
line = 0;
lib/libutil/fparseln.c
202
while ((ptr = fparseln(stdin, &size, &line, NULL,
lib/libutil/fparseln.c
204
printf("line %d (%d) |%s|\n", line, size, ptr);
lib/libutil/gr_util.c
166
char *buf, *end, *line, *p, *q, *r, *tmp;
lib/libutil/gr_util.c
179
line = NULL;
lib/libutil/gr_util.c
181
if ((line = gr_make(gr)) == NULL)
lib/libutil/gr_util.c
281
if (line != NULL) {
lib/libutil/gr_util.c
282
len = strlen(line);
lib/libutil/gr_util.c
283
if (write(tfd, line, len) != (int) len)
lib/libutil/gr_util.c
307
if (line == NULL) {
lib/libutil/gr_util.c
311
len = strlen(line);
lib/libutil/gr_util.c
312
if ((size_t)write(tfd, line, len) != len ||
lib/libutil/gr_util.c
316
free(line);
lib/libutil/gr_util.c
320
free(line);
lib/libutil/gr_util.c
430
char *line;
lib/libutil/gr_util.c
446
if ((line = p = malloc(line_size)) == NULL)
lib/libutil/gr_util.c
459
return (line);
lib/libutil/gr_util.c
597
__gr_scan(char *line, struct group *gr)
lib/libutil/gr_util.c
603
gr->gr_name = line;
lib/libutil/gr_util.c
604
if ((loc = strchr(line, ':')) == NULL)
lib/libutil/gr_util.c
621
line = loc + 1;
lib/libutil/gr_util.c
632
gr->gr_mem[ndx] = strsep(&line, ",");
lib/libutil/gr_util.c
643
gr_scan(const char *line)
lib/libutil/gr_util.c
649
if ((line_copy = strdup(line)) == NULL)
lib/libutil/pw_util.c
398
char *line;
lib/libutil/pw_util.c
400
asprintf(&line, "%s:%s:%ju:%ju:%s:%ju:%ju:%s:%s:%s", pw->pw_name,
lib/libutil/pw_util.c
404
return (line);
lib/libutil/pw_util.c
413
char *line;
lib/libutil/pw_util.c
415
asprintf(&line, "%s:*:%ju:%ju:%s:%s:%s", pw->pw_name,
lib/libutil/pw_util.c
418
return (line);
lib/libutil/pw_util.c
428
char *buf, *end, *line, *p, *q, *r, *tmp;
lib/libutil/pw_util.c
441
line = NULL;
lib/libutil/pw_util.c
443
if ((line = pw_make(pw)) == NULL)
lib/libutil/pw_util.c
544
if (line != NULL) {
lib/libutil/pw_util.c
545
len = strlen(line);
lib/libutil/pw_util.c
546
if (write(tfd, line, len) != (int)len)
lib/libutil/pw_util.c
570
if (line == NULL) {
lib/libutil/pw_util.c
574
len = strlen(line);
lib/libutil/pw_util.c
575
if ((size_t)write(tfd, line, len) != len ||
lib/libutil/pw_util.c
579
free(line);
lib/libutil/pw_util.c
583
free(line);
lib/libutil/pw_util.c
666
pw_scan(const char *line, int flags)
lib/libutil/pw_util.c
671
if ((bp = strdup(line)) == NULL)
lib/libvgl/bitmap.c
127
address[planepos] = line[pos];
lib/libvgl/bitmap.c
141
bcopy(line, dst->Bitmap + offset, i);
lib/libvgl/bitmap.c
142
line += i;
lib/libvgl/bitmap.c
153
bcopy(line, address, width * dst->PixelBytes);
lib/libvgl/bitmap.c
45
WriteVerticalLine(VGLBitmap *dst, int x, int y, int width, byte *line)
lib/libvgl/bitmap.c
71
word = (word<<1) | color2bit[line[pos++]&0x0f];
lib/libvgl/mouse.c
399
VGLMouseMerge(int x, int y, int width, byte *line)
lib/libvgl/mouse.c
413
&line[(x1 - x) * VGLDisplay->PixelBytes], VGLDisplay->PixelBytes);
lib/libvgl/vgl.h
135
void VGLMouseMerge(int x, int y, int width, byte *line);
lib/msun/tests/next_test.c
251
_testl(const char *exp, int line, long double actual, long double expected,
lib/msun/tests/next_test.c
258
atf_tc_fail_check(__FILE__, line,
lib/msun/tests/next_test.c
262
atf_tc_fail_check(__FILE__, line,
libexec/comsat/comsat.c
209
unsigned char line[BUFSIZ];
libexec/comsat/comsat.c
223
while (fgets(line, sizeof(line), fi) != NULL) {
libexec/comsat/comsat.c
225
if (line[0] == '\n') {
libexec/comsat/comsat.c
229
if (line[0] == ' ' || line[0] == '\t' ||
libexec/comsat/comsat.c
230
(strncmp(line, "From:", 5) &&
libexec/comsat/comsat.c
231
strncmp(line, "Subject:", 8)))
libexec/comsat/comsat.c
240
for (cp = line; (ch = *cp) && ch != '\n'; ++cp, --charcnt) {
libexec/fingerd/fingerd.c
105
if (!fgets(line, sizeof(line), stdin))
libexec/fingerd/fingerd.c
123
end = memchr(line, 0, sizeof(line));
libexec/fingerd/fingerd.c
125
if ((t = malloc(sizeof(line) + 1)) == NULL)
libexec/fingerd/fingerd.c
127
memcpy(t, line, sizeof(line));
libexec/fingerd/fingerd.c
128
t[sizeof(line)] = 0;
libexec/fingerd/fingerd.c
130
if ((t = strdup(line)) == NULL)
libexec/fingerd/fingerd.c
143
for (lp = line, ap = &av[4];;) {
libexec/fingerd/fingerd.c
64
char **ap, *av[ENTRIES + 1], **comp, line[1024], *prog;
libexec/mknetid/parse_group.c
103
if (!fgets(line, sizeof(line), _gr_fp))
libexec/mknetid/parse_group.c
105
bp = line;
libexec/mknetid/parse_group.c
107
if (!strchr(line, '\n')) {
libexec/mknetid/parse_group.c
52
static char line[MAXLINELENGTH];
libexec/pkg-serve/pkg-serve.c
43
char *line = NULL;
libexec/pkg-serve/pkg-serve.c
73
while ((linelen = getline(&line, &linecap, stdin)) > 0) {
libexec/pkg-serve/pkg-serve.c
75
if (linelen > 0 && line[linelen - 1] == '\n')
libexec/pkg-serve/pkg-serve.c
76
line[--linelen] = '\0';
libexec/pkg-serve/pkg-serve.c
81
if (strcmp(line, "quit") == 0)
libexec/pkg-serve/pkg-serve.c
84
if (strncmp(line, "get ", 4) != 0) {
libexec/pkg-serve/pkg-serve.c
85
printf("ko: unknown command '%s'\n", line);
libexec/pkg-serve/pkg-serve.c
90
file = line + 4;
libexec/rbootd/parseconf.c
117
while (fgets(line, C_LINELEN, fp) != NULL) {
libexec/rbootd/parseconf.c
120
if (*line == '\0' || *line == '#') /* ignore comment */
libexec/rbootd/parseconf.c
123
if ((cp = strchr(line,'#')) != NULL) /* trash comments */
libexec/rbootd/parseconf.c
126
cp = line; /* init `cp' */
libexec/rbootd/parseconf.c
79
char line[C_LINELEN];
libexec/revnetgroup/parse_netgroup.c
286
char line[LINSIZ + 1];
libexec/revnetgroup/parse_netgroup.c
290
sprintf(line, "%s %s", group, data);
libexec/revnetgroup/parse_netgroup.c
291
pos = (char *)&line;
libexec/revnetgroup/parse_netgroup.c
337
if (fgets(line, LINSIZ, netf)) {
libexec/revnetgroup/parse_netgroup.c
338
pos = line;
libexec/rtld-elf/libmap.c
206
char line[MAXPATHLEN + 13];
libexec/rtld-elf/libmap.c
214
i < sizeof(line) - 1) {
libexec/rtld-elf/libmap.c
215
line[i] = lm_p[cnt];
libexec/rtld-elf/libmap.c
219
line[i] = '\0';
libexec/rtld-elf/libmap.c
225
cp = &line[0];
libexec/rtld-elf/rtld-libc/rtld_libc.c
80
__assert(const char *func, const char *file, int line, const char *failedexpr)
libexec/rtld-elf/rtld-libc/rtld_libc.c
86
file, line);
libexec/rtld-elf/rtld-libc/rtld_libc.c
90
failedexpr, func, file, line);
libexec/ulog-helper/ulog-helper.c
74
const char *line, *user, *host;
libexec/ulog-helper/ulog-helper.c
77
if ((line = ptsname(STDIN_FILENO)) == NULL)
libexec/ulog-helper/ulog-helper.c
89
ulog_login(line, user, host);
libexec/ulog-helper/ulog-helper.c
92
ulog_logout(line);
sbin/bsdlabel/bsdlabel.c
728
char *tp, line[BUFSIZ];
sbin/bsdlabel/bsdlabel.c
739
while (fgets(line, sizeof(line) - 1, f)) {
sbin/bsdlabel/bsdlabel.c
741
if ((cp = strchr(line,'\n')) != NULL)
sbin/bsdlabel/bsdlabel.c
743
cp = skip(line);
sbin/camcontrol/modeedit.c
860
char *line; /* Pointer to static fgetln buffer. */
sbin/camcontrol/modeedit.c
871
while ((line = fgetln(file, &length)) != NULL) {
sbin/camcontrol/modeedit.c
873
while (length > 0 && isspace(line[length - 1]))
sbin/camcontrol/modeedit.c
879
memcpy(buffer, line, length);
sbin/ccdconfig/ccdconfig.c
284
char line[_POSIX2_LINE_MAX];
sbin/ccdconfig/ccdconfig.c
302
while (fgets(line, sizeof(line), f) != NULL) {
sbin/ccdconfig/ccdconfig.c
306
if ((cp = strrchr(line, '\n')) != NULL)
sbin/ccdconfig/ccdconfig.c
310
if (line[0] == '\0')
sbin/ccdconfig/ccdconfig.c
312
for (cp = line; (cp = strtok(cp, " \t")) != NULL; cp = NULL) {
sbin/ddb/ddb_script.c
108
if (line == NULL) {
sbin/ddb/ddb_script.c
59
char *buffer, *line, *nextline;
sbin/ddb/ddb_script.c
98
while ((line = strsep(&nextline, "\n")) != NULL) {
sbin/ddb/ddb_script.c
99
line_script = line;
sbin/devfs/devfs.c
144
efgetln(FILE *fp, char **line)
sbin/devfs/devfs.c
151
*line = NULL;
sbin/devfs/devfs.c
156
*line = strdup(cp);
sbin/devfs/devfs.c
157
if (*line == NULL)
sbin/devfs/devfs.c
161
*line = malloc(rv + 1);
sbin/devfs/devfs.c
162
if (*line == NULL)
sbin/devfs/devfs.c
164
memcpy(*line, cp, rv);
sbin/devfs/devfs.c
165
(*line)[rv] = '\0';
sbin/devfs/devfs.c
167
assert(rv == strlen(*line));
sbin/devfs/devfs.c
183
tokenize(const char *line, int *acp, char ***avp)
sbin/devfs/devfs.c
190
line += strspn(line, delims);
sbin/devfs/devfs.c
191
wline = strdup(line);
sbin/devfs/rule.c
273
char *line;
sbin/devfs/rule.c
277
while (efgetln(fp, &line)) {
sbin/devfs/rule.c
278
rulespec_instr(&dr, line, rsnum);
sbin/devfs/rule.c
282
free(line); /* efgetln() always malloc()s. */
sbin/dhclient/conflex.c
103
line++;
sbin/dhclient/conflex.c
126
l = line;
sbin/dhclient/conflex.c
62
static unsigned line;
sbin/dhclient/conflex.c
82
lpos = line = 1;
sbin/dump/dumprmt.c
216
char line[30];
sbin/dump/dumprmt.c
219
(void)snprintf(line, sizeof (line), "R%d\n", count);
sbin/dump/dumprmt.c
220
n = rmtcall("read", line);
sbin/dump/dumprmt.c
235
char line[30];
sbin/dump/dumprmt.c
237
(void)snprintf(line, sizeof (line), "W%d\n", count);
sbin/dump/dumprmt.c
238
write(rmtape, line, strlen(line));
sbin/dump/dumprmt.c
246
char line[30];
sbin/dump/dumprmt.c
248
(void)snprintf(line, sizeof (line), "W%d\n", count);
sbin/dump/dumprmt.c
249
write(rmtape, line, strlen(line));
sbin/dump/dumprmt.c
269
char line[80];
sbin/dump/dumprmt.c
271
(void)snprintf(line, sizeof (line), "L%d\n%d\n", offset, pos);
sbin/dump/dumprmt.c
272
return (rmtcall("seek", line));
sbin/dump/dumprmt.c
351
rmtgets(char *line, int len)
sbin/dump/dumprmt.c
353
char *cp = line;
sbin/dump/dumprmt.c
366
msg("(rmtgets got \"%s\").\n", line);
sbin/fdisk/fdisk.c
1305
process_line(char *line)
sbin/fdisk/fdisk.c
1311
parse_config_line(line, &command);
sbin/fdisk/fdisk.c
969
parse_config_line(char *line, CMD *command)
sbin/fdisk/fdisk.c
973
cp = line;
sbin/fsdb/fsdb.c
260
char *line;
sbin/fsdb/fsdb.c
288
line = strdup(elline);
sbin/fsdb/fsdb.c
289
cmd_argv = crack(line, &cmd_argc);
sbin/fsdb/fsdb.c
308
strcpy(line, elline);
sbin/fsdb/fsdb.c
309
cmd_argv = recrack(line, &cmd_argc, cmdp->maxargc);
sbin/fsdb/fsdb.c
327
free(line);
sbin/fsdb/fsdb.h
59
char **crack(char *line, int *argc);
sbin/fsdb/fsdb.h
60
char **recrack(char *line, int *argc, int argc_max);
sbin/fsdb/fsdbutil.c
54
crack(char *line, int *argc)
sbin/fsdb/fsdbutil.c
59
for (p = line, i = 0; p != NULL && i < 8; i++) {
sbin/fsdb/fsdbutil.c
72
recrack(char *line, int *argc, int argc_max)
sbin/fsdb/fsdbutil.c
77
for (p = line, i = 0; p != NULL && i < 8 && i < argc_max - 1; i++) {
sbin/ggate/ggated/ggated.c
197
line_parse(char *line, unsigned lineno)
sbin/ggate/ggated/ggated.c
209
for (i = 0, word = strtok_r(line, " \t", &brkl); word != NULL;
sbin/ggate/ggated/ggated.c
287
char buf[EXPORTS_LINE_SIZE], *line;
sbin/ggate/ggated/ggated.c
314
for (line = buf; *line == ' ' || *line == '\t'; ++line)
sbin/ggate/ggated/ggated.c
318
if (*line == '\n' || *line == '#' || *line == '\0')
sbin/ggate/ggated/ggated.c
321
len = strlen(line);
sbin/ggate/ggated/ggated.c
322
if (line[len - 1] == '\n') {
sbin/ggate/ggated/ggated.c
324
line[len - 1] = '\0';
sbin/ggate/ggated/ggated.c
330
line_parse(line, lineno);
sbin/hastd/pjdlog.c
578
pjdlog_abort(const char *func, const char *file, int line,
sbin/hastd/pjdlog.c
598
line);
sbin/hastd/pjdlog.c
601
func, file, line);
sbin/hastd/pjdlog.c
606
failedexpr, file, line);
sbin/hastd/pjdlog.c
609
failedexpr, func, file, line);
sbin/hastd/pjdlog.h
92
void pjdlog_abort(const char *func, const char *file, int line,
sbin/ipf/common/ipf_y.y
196
rules: line
sbin/ipf/common/ipf_y.y
198
| rules line
sbin/ipf/common/ipf_y.y
208
line: rule { while ((fr = frtop) != NULL) {
sbin/ipf/common/ipf_y.y
2541
doipfexpr(char *line)
sbin/ipf/common/ipf_y.y
2546
array = parseipfexpr(line, &error);
sbin/ipf/iplang/iplang_y.y
201
file: line
sbin/ipf/iplang/iplang_y.y
202
| line file
sbin/ipf/iplang/iplang_y.y
207
line: iface
sbin/ipf/iplang/iplang_y.y
432
IL_ICMP_UNREACH_NET line
sbin/ipf/iplang/iplang_y.y
433
| IL_ICMP_UNREACH_HOST line
sbin/ipf/iplang/iplang_y.y
434
| IL_ICMP_UNREACH_PROTOCOL line
sbin/ipf/iplang/iplang_y.y
435
| IL_ICMP_UNREACH_PORT line
sbin/ipf/iplang/iplang_y.y
437
| IL_ICMP_UNREACH_SRCFAIL line
sbin/ipf/iplang/iplang_y.y
438
| IL_ICMP_UNREACH_NET_UNKNOWN line
sbin/ipf/iplang/iplang_y.y
439
| IL_ICMP_UNREACH_HOST_UNKNOWN line
sbin/ipf/iplang/iplang_y.y
440
| IL_ICMP_UNREACH_ISOLATED line
sbin/ipf/iplang/iplang_y.y
441
| IL_ICMP_UNREACH_NET_PROHIB line
sbin/ipf/iplang/iplang_y.y
442
| IL_ICMP_UNREACH_HOST_PROHIB line
sbin/ipf/iplang/iplang_y.y
443
| IL_ICMP_UNREACH_TOSNET line
sbin/ipf/iplang/iplang_y.y
444
| IL_ICMP_UNREACH_TOSHOST line
sbin/ipf/iplang/iplang_y.y
445
| IL_ICMP_UNREACH_FILTER_PROHIB line
sbin/ipf/iplang/iplang_y.y
446
| IL_ICMP_UNREACH_HOST_PRECEDENCE line
sbin/ipf/iplang/iplang_y.y
447
| IL_ICMP_UNREACH_PRECEDENCE_CUTOFF line
sbin/ipf/iplang/iplang_y.y
463
IL_ICMP_TIMXCEED_INTRANS line
sbin/ipf/iplang/iplang_y.y
464
| IL_ICMP_TIMXCEED_REASS line
sbin/ipf/ipmon/ipmon.c
1057
t = line;
sbin/ipf/ipmon/ipmon.c
1061
len = sizeof(line);
sbin/ipf/ipmon/ipmon.c
113
static char line[2048];
sbin/ipf/ipmon/ipmon.c
1385
defaction = check_action(buf, line, ipmonopts, lvl);
sbin/ipf/ipmon/ipmon.c
1389
syslog(lvl, "%s", line);
sbin/ipf/ipmon/ipmon.c
1391
(void) fprintf(conf->log, "%s", line);
sbin/ipf/ipmon/ipmon.c
631
t = line;
sbin/ipf/ipmon/ipmon.c
652
len = sizeof(line);
sbin/ipf/ipmon/ipmon.c
800
syslog(LOG_INFO, "%s", line);
sbin/ipf/ipmon/ipmon.c
802
(void) fprintf(conf->log, "%s", line);
sbin/ipf/ipmon/ipmon.c
816
t = line;
sbin/ipf/ipmon/ipmon.c
836
len = sizeof(line);
sbin/ipf/ipmon/ipmon.c
953
syslog(LOG_INFO, "%s", line);
sbin/ipf/ipmon/ipmon.c
955
(void) fprintf(conf->log, "%s", line);
sbin/ipf/ipmon/ipmon_y.y
86
action: line ';'
sbin/ipf/ipmon/ipmon_y.y
92
line: IPM_MATCH '{' matching ';' '}' IPM_DO '{' doing ';' '}'
sbin/ipf/ipnat/ipnat_y.y
122
file: line
sbin/ipf/ipnat/ipnat_y.y
124
| file line
sbin/ipf/ipnat/ipnat_y.y
129
line: xx rule { int err;
sbin/ipf/ippool/ippool_y.y
100
line: table role ipftree eol { ip_pool_node_t *n;
sbin/ipf/ippool/ippool_y.y
776
char line[1024];
sbin/ipf/ippool/ippool_y.y
785
while (fgets(line, sizeof(line) - 1, fp) != NULL) {
sbin/ipf/ippool/ippool_y.y
786
line[sizeof(line) - 1] = '\0';
sbin/ipf/ippool/ippool_y.y
788
if (parsewhoisline(line, &node.ipn_addr, &node.ipn_mask))
sbin/ipf/ippool/ippool_y.y
94
file: line
sbin/ipf/ippool/ippool_y.y
96
| file line
sbin/ipf/ipscan/ipscan_y.y
72
file: line ';'
sbin/ipf/ipscan/ipscan_y.y
74
| file line ';'
sbin/ipf/ipscan/ipscan_y.y
79
line: IPSL_START dline
sbin/ipf/libipf/ipft_hx.c
124
s = line;
sbin/ipf/libipf/ipft_hx.c
59
char line[513];
sbin/ipf/libipf/ipft_hx.c
73
while (fgets(line, sizeof(line)-1, tfp)) {
sbin/ipf/libipf/ipft_hx.c
74
if ((s = strchr(line, '\n'))) {
sbin/ipf/libipf/ipft_hx.c
75
if (s == line) {
sbin/ipf/libipf/ipft_hx.c
81
if ((s = strchr(line, '#')))
sbin/ipf/libipf/ipft_hx.c
83
if (!*line)
sbin/ipf/libipf/ipft_hx.c
86
printf("input: %s", line);
sbin/ipf/libipf/ipft_hx.c
89
if ((*line == '[') && (s = strchr(line, ']'))) {
sbin/ipf/libipf/ipft_hx.c
90
t = line + 1;
sbin/ipf/libipf/ipft_tx.c
115
char line[513];
sbin/ipf/libipf/ipft_tx.c
122
while (fgets(line, sizeof(line)-1, tfp)) {
sbin/ipf/libipf/ipft_tx.c
123
if ((s = strchr(line, '\n')))
sbin/ipf/libipf/ipft_tx.c
125
if ((s = strchr(line, '\r')))
sbin/ipf/libipf/ipft_tx.c
127
if ((s = strchr(line, '#')))
sbin/ipf/libipf/ipft_tx.c
129
if (!*line)
sbin/ipf/libipf/ipft_tx.c
132
printf("input: %s\n", line);
sbin/ipf/libipf/ipft_tx.c
135
if (!parseline(line, (ip_t *)buf, ifn, dir)) {
sbin/ipf/libipf/ipft_tx.c
156
parseline(char *line, ip_t *ip, char **ifn, int *out)
sbin/ipf/libipf/ipft_tx.c
172
for (i = 0, cps[0] = strtok(line, " \b\t\r\n"); cps[i] && i < 19; )
sbin/ipf/libipf/load_file.c
16
char *s, line[1024], *t;
sbin/ipf/libipf/load_file.c
31
while (fgets(line, sizeof(line) - 1, fp)) {
sbin/ipf/libipf/load_file.c
32
line[sizeof(line) - 1] = '\0';
sbin/ipf/libipf/load_file.c
37
s = strchr(line, '\n');
sbin/ipf/libipf/load_file.c
52
s = strchr(line, '\r');
sbin/ipf/libipf/load_file.c
55
for (t = line; ISSPACE(*t); t++)
sbin/ipf/libipf/mutex_emul.c
19
eMmutex_enter(eMmutex_t *mtx, char *file, int line)
sbin/ipf/libipf/mutex_emul.c
22
fprintf(mutex_file, "%s:%d:eMmutex_enter(%s)\n", file, line,
sbin/ipf/libipf/mutex_emul.c
36
mtx->eMm_heldat = line;
sbin/ipf/libipf/mutex_emul.c
41
eMmutex_exit(eMmutex_t *mtx, char *file, int line)
sbin/ipf/libipf/mutex_emul.c
44
fprintf(mutex_file, "%s:%d:eMmutex_exit(%s)\n", file, line,
sbin/ipf/libipf/mutex_emul.c
63
eMmutex_init(eMmutex_t *mtx, char *who, char *file, int line)
sbin/ipf/libipf/mutex_emul.c
69
file, line, mtx, who);
sbin/ipf/libipf/mutex_emul.c
87
eMmutex_destroy(eMmutex_t *mtx, char *file, int line)
sbin/ipf/libipf/mutex_emul.c
91
"%s:%d:eMmutex_destroy(%p,%s)\n", file, line,
sbin/ipf/libipf/parseipfexpr.c
35
parseipfexpr(char *line, char **errorptr)
sbin/ipf/libipf/parseipfexpr.c
46
temp = strdup(line);
sbin/ipf/libipf/parsewhoisline.c
15
parsewhoisline(char *line, addrfamily_t *addrp, addrfamily_t *maskp)
sbin/ipf/libipf/parsewhoisline.c
18
char *src = line;
sbin/ipf/libipf/parsewhoisline.c
21
if (line == NULL)
sbin/ipf/libipf/rwlock_emul.c
14
void eMrwlock_read_enter(eMrwlock_t *rw, char *file, int line)
sbin/ipf/libipf/rwlock_emul.c
29
rw->eMrw_heldat = line;
sbin/ipf/libipf/rwlock_emul.c
33
void eMrwlock_write_enter(eMrwlock_t *rw, char *file, int line)
sbin/ipf/libipf/rwlock_emul.c
48
rw->eMrw_heldat = line;
sbin/ipf/libipf/rwlock_emul.c
52
void eMrwlock_try_upgrade(eMrwlock_t *rw, char *file, int line)
sbin/ipf/libipf/rwlock_emul.c
67
rw->eMrw_heldat = line;
sbin/ipf/libipf/rwlock_emul.c
70
void eMrwlock_downgrade(eMrwlock_t *rw, char *file, int line)
sbin/ipf/libipf/rwlock_emul.c
86
rw->eMrw_heldat = line;
sbin/ipf/libipf/var.c
105
value = get_variable(s, &p3, line);
sbin/ipf/libipf/var.c
109
p2 = expand_string(value, line);
sbin/ipf/libipf/var.c
37
char *get_variable(char *string, char **after, int line)
sbin/ipf/libipf/var.c
50
fprintf(stderr, "%d: { without }\n", line);
sbin/ipf/libipf/var.c
59
line, *s);
sbin/ipf/libipf/var.c
70
fprintf(stderr, "%d: unknown variable '%s'\n", line, s);
sbin/ipf/libipf/var.c
75
value = expand_string(s, line);
sbin/ipf/libipf/var.c
82
static char *expand_string(char *oldstring, int line)
sbin/ipfw/dummynet.c
877
char line[ED_MAX_LINE_LEN];
sbin/ipfw/dummynet.c
898
while (fgets(line, ED_MAX_LINE_LEN, f)) { /* read commands */
sbin/ipfw/dummynet.c
899
char *s, *cur = line, *name = NULL, *arg = NULL;
sbin/pfctl/pfctl_osfp.c
113
while ((line = fgetln(in, &len)) != NULL) {
sbin/pfctl/pfctl_osfp.c
125
if (line[i] == '#') {
sbin/pfctl/pfctl_osfp.c
130
while (len > 0 && isspace(line[len - 1]))
sbin/pfctl/pfctl_osfp.c
132
while (len > 0 && isspace(line[0])) {
sbin/pfctl/pfctl_osfp.c
134
line++;
sbin/pfctl/pfctl_osfp.c
145
get_int(&line, &len, &v, mod, n, ty, mx, fp_filename, lineno)
sbin/pfctl/pfctl_osfp.c
147
get_str(&line, &len, &v, n, mn, fp_filename, lineno)
sbin/pfctl/pfctl_osfp.c
769
get_int(char **line, size_t *len, int *var, int *mod,
sbin/pfctl/pfctl_osfp.c
780
field = get_field(line, len, &fieldlen);
sbin/pfctl/pfctl_osfp.c
858
get_str(char **line, size_t *len, char **v, const char *name, int minlen,
sbin/pfctl/pfctl_osfp.c
864
ptr = get_field(line, len, &fieldlen);
sbin/pfctl/pfctl_osfp.c
93
char *line;
sbin/pfctl/pfctl_osfp.c
971
get_field(char **line, size_t *len, int *fieldlen)
sbin/pfctl/pfctl_osfp.c
973
char *ret, *ptr = *line;
sbin/pfctl/pfctl_osfp.c
987
*line = ptr + 1;
sbin/routed/parms.c
551
parse_parms(char *line,
sbin/routed/parms.c
570
if (!strncasecmp(line, "subnet=", sizeof("subnet=")-1)
sbin/routed/parms.c
571
&& *(val = &line[sizeof("subnet=")-1]) != '\0') {
sbin/routed/parms.c
573
return bad_str(line);
sbin/routed/parms.c
583
return bad_str(line);
sbin/routed/parms.c
590
return bad_str(line);
sbin/routed/parms.c
602
if (!strncasecmp(line, "ripv1_mask=", sizeof("ripv1_mask=")-1)
sbin/routed/parms.c
603
&& *(val = &line[sizeof("ripv1_mask=")-1]) != '\0') {
sbin/routed/parms.c
606
return bad_str(line);
sbin/routed/parms.c
609
return bad_str(line);
sbin/routed/parms.c
617
return bad_str(line);
sbin/routed/parms.c
627
tgt = line + strspn(line, " ,\n\r");
sbin/routed/parms.c
630
line = tgt+strcspn(tgt, "= #,\n\r");
sbin/routed/parms.c
631
delim = *line;
sbin/routed/parms.c
633
val0 = ++line;
sbin/routed/parms.c
634
if (0 > parse_quote(&line, " #,\n\r",&delim,
sbin/routed/parms.c
642
*line = '\0';
sbin/routed/parms.c
645
++line;
sbin/routed/parms.c
647
|| (delim = *line) != ' ')
sbin/sysctl/sysctl.c
410
char *cp, *bufp, *buf, fmt[BUFSIZ], line[BUFSIZ];
sbin/sysctl/sysctl.c
414
snprintf(line, sizeof(line), " at line %d", lineno);
sbin/sysctl/sysctl.c
416
line[0] = '\0';
sbin/sysctl/sysctl.c
465
warnx("unknown oid '%s'%s", bufp, line);
sbin/sysctl/sysctl.c
467
warn("unknown oid '%s'%s", bufp, line);
sbin/sysctl/sysctl.c
475
warn("couldn't find format of oid '%s'%s", bufp, line);
sbin/sysctl/sysctl.c
508
warnx("oid '%s' isn't a leaf node%s", bufp, line);
sbin/sysctl/sysctl.c
515
warnx("oid '%s' is a read only tunable%s", bufp, line);
sbin/sysctl/sysctl.c
518
warnx("oid '%s' is read only%s", bufp, line);
sbin/sysctl/sysctl.c
546
bufp, kind & CTLTYPE, line);
sbin/sysctl/sysctl.c
564
ctl_typename[kind & CTLTYPE], cp, line);
sbin/sysctl/sysctl.c
587
string, line);
sbin/sysctl/sysctl.c
591
string, line);
sbin/sysctl/sysctl.c
595
string, line);
sbin/sysctl/sysctl.c
598
warnc(save_errno, "%s%s", string, line);
sbin/sysctl/sysctl.c
619
char line[BUFSIZ], *p, *pq, *pdq;
sbin/sysctl/sysctl.c
622
while (fgets(line, sizeof(line), file) != NULL) {
sbin/sysctl/sysctl.c
624
p = line;
sbin/sysctl/sysctl.c
625
pq = strchr(line, '\'');
sbin/sysctl/sysctl.c
626
pdq = strchr(line, '\"');
sbin/sysctl/sysctl.c
637
} else if (p == line || *(p-1) != '\\') {
sbin/sysctl/sysctl.c
644
p = line + strlen(line) - 1;
sbin/sysctl/sysctl.c
645
while (p >= line && isspace((int)*p)) {
sbin/sysctl/sysctl.c
649
p = line;
share/examples/ipfilter/l4check/l4check.c
484
char c, buf[512], *s, *t, *errtxt = NULL, *line;
share/examples/ipfilter/l4check/l4check.c
524
for (line = buf; (c = *line) && ISSPACE(c); line++)
share/examples/ipfilter/l4check/l4check.c
526
if (!*line)
share/examples/ipfilter/l4check/l4check.c
530
fprintf(stderr, "Parsing: [%s]\n", line);
share/examples/ipfilter/l4check/l4check.c
531
t = strtok(line, " \t");
share/examples/ipfilter/l4check/l4check.c
539
errtxt = line;
share/examples/ipfilter/l4check/l4check.c
555
errtxt = line;
share/examples/ipfilter/l4check/l4check.c
579
errtxt = line;
share/examples/ipfilter/l4check/l4check.c
587
errtxt = line;
share/examples/ipfilter/l4check/l4check.c
612
errtxt = line;
share/examples/ipfilter/l4check/l4check.c
627
errtxt = line;
share/examples/ipfilter/l4check/l4check.c
634
errtxt = line;
share/examples/ipfilter/l4check/l4check.c
662
errtxt = line;
share/examples/ipfilter/l4check/l4check.c
682
errtxt = line;
share/examples/ipfilter/l4check/l4check.c
688
errtxt = line;
share/examples/ipfilter/l4check/l4check.c
716
errtxt = line;
share/examples/ipfilter/l4check/l4check.c
736
errtxt = line;
stand/common/commands.c
464
char line[80];
stand/common/commands.c
469
snprintf(line, sizeof(line), "*** FILE %s BEGIN ***\n",
stand/common/commands.c
471
if (pager_output(line))
stand/common/commands.c
475
snprintf(line, sizeof(line), "*** FILE %s END ***\n",
stand/common/commands.c
477
res = pager_output(line);
stand/common/commands.c
509
char line[80];
stand/common/commands.c
534
snprintf(line, sizeof(line), "%s: (unknown)\n",
stand/common/commands.c
536
if (pager_output(line))
stand/common/commands.c
63
char line[81], *cp, *ep;
stand/common/commands.c
68
if (fgetstr(line, 80, fd) < 0)
stand/common/commands.c
71
if (strlen(line) < 3 || line[0] != '#' || line[1] != ' ')
stand/common/commands.c
74
cp = line + 2;
stand/common/disk.c
110
char line[80];
stand/common/disk.c
119
snprintf(line, sizeof(line), " %s%s: %s", pa->prefix, pname,
stand/common/disk.c
121
if (pager_output(line))
stand/common/disk.c
126
if (strlen(line) < 24)
stand/common/disk.c
129
snprintf(line, sizeof(line), "\t%s",
stand/common/disk.c
131
if (pager_output(line))
stand/common/disk.c
147
snprintf(line, sizeof(line), " %s%s",
stand/common/disk.c
150
bsd.prefix = line;
stand/common/interp_forth.c
103
line = malloc(strlen(name) + len + 1);
stand/common/interp_forth.c
104
strcpy(line, name);
stand/common/interp_forth.c
110
strcat(line, " ");
stand/common/interp_forth.c
111
strncat(line, cp, len);
stand/common/interp_forth.c
119
line = malloc(strlen(name) + len + 2);
stand/common/interp_forth.c
120
strcpy(line, name);
stand/common/interp_forth.c
122
strcat(line, " ");
stand/common/interp_forth.c
123
strncat(line, tail, len);
stand/common/interp_forth.c
127
DPRINTF("cmd '%s'", line);
stand/common/interp_forth.c
131
if (!parse(&argc, &argv, line)) {
stand/common/interp_forth.c
147
free(line);
stand/common/interp_forth.c
297
bf_run(const char *line)
stand/common/interp_forth.c
308
result = ficlExec(bf_vm, __DECONST(char *, line));
stand/common/interp_forth.c
310
DPRINTF("ficlExec '%s' = %d", line, result);
stand/common/interp_forth.c
385
int prevsrcid, fd, line;
stand/common/interp_forth.c
404
line = 0;
stand/common/interp_forth.c
407
line++;
stand/common/interp_forth.c
422
filename, line);
stand/common/interp_forth.c
71
char *name, *line, *tail, *cp;
stand/common/interp_lua.c
163
interp_run(const char *line)
stand/common/interp_lua.c
174
if ((status = luaL_dostring(luap, line)) != 0) {
stand/common/interp_lua.c
183
if (parse(&argc, &argv, line) == 0) {
stand/common/interp_lua.c
211
printf("Failed to parse \'%s\'\n", line);
stand/common/interp_simple.c
113
line = 0;
stand/common/interp_simple.c
116
line++;
stand/common/interp_simple.c
146
filename, line);
stand/common/interp_simple.c
152
sp->line = line;
stand/common/interp_simple.c
190
printf("%s line %d: parse error\n", filename, sp->line);
stand/common/interp_simple.c
80
int line;
stand/common/interp_simple.c
93
int fd, flags, line;
stand/common/vdisk.c
374
char line[80];
stand/common/vdisk.c
391
snprintf(line, sizeof(line),
stand/common/vdisk.c
393
printf("%s: %" PRIu64 " X %u blocks", line,
stand/common/vdisk.c
406
ret = disk_print(&vd_dev, line, verbose);
stand/efi/libefi/efi_console.c
697
CHAR16 *line;
stand/efi/libefi/efi_console.c
717
line = malloc(len * sizeof (CHAR16));
stand/efi/libefi/efi_console.c
718
if (line == NULL) {
stand/efi/libefi/efi_console.c
723
line[i] = ' ';
stand/efi/libefi/efi_console.c
724
line[len-1] = 0;
stand/efi/libefi/efi_console.c
729
conout->OutputString(conout, line);
stand/efi/libefi/efi_console.c
732
free(line);
stand/efi/libefi/efipart.c
796
char line[80];
stand/efi/libefi/efipart.c
816
snprintf(line, sizeof(line),
stand/efi/libefi/efipart.c
818
printf("%s:", line);
stand/efi/libefi/efipart.c
848
ret = disk_print(&pd_dev, line, verbose);
stand/efi/loader/framebuffer.c
177
efifb_uga_find_pixel(EFI_UGA_DRAW_PROTOCOL *uga, u_int line,
stand/efi/loader/framebuffer.c
188
0, line, 0, 0, 1, 1, 0);
stand/efi/loader/framebuffer.c
217
0, 0, 0, line, 1, 1, 0);
stand/efi/loader/framebuffer.c
230
0, 0, 0, line, 1, 1, 0);
stand/efi/loader/main.c
1691
char line[80];
stand/efi/loader/main.c
1707
snprintf(line, sizeof(line), "%23s %12s %12s %8s %4s\n",
stand/efi/loader/main.c
1710
if (pager_output(line)) {
stand/efi/loader/main.c
1717
snprintf(line, sizeof(line), "%23s %012jx %012jx %08jx ",
stand/efi/loader/main.c
1720
if (pager_output(line))
stand/fdt/fdt_loader_cmd.c
1134
char line[80];
stand/fdt/fdt_loader_cmd.c
1144
sprintf(line, "\nFlattened device tree header (%p):\n", fdtp);
stand/fdt/fdt_loader_cmd.c
1145
if (pager_output(line))
stand/fdt/fdt_loader_cmd.c
1147
sprintf(line, " magic = 0x%08x\n", fdt_magic(fdtp));
stand/fdt/fdt_loader_cmd.c
1148
if (pager_output(line))
stand/fdt/fdt_loader_cmd.c
1150
sprintf(line, " size = %d\n", fdt_totalsize(fdtp));
stand/fdt/fdt_loader_cmd.c
1151
if (pager_output(line))
stand/fdt/fdt_loader_cmd.c
1153
sprintf(line, " off_dt_struct = 0x%08x\n",
stand/fdt/fdt_loader_cmd.c
1155
if (pager_output(line))
stand/fdt/fdt_loader_cmd.c
1157
sprintf(line, " off_dt_strings = 0x%08x\n",
stand/fdt/fdt_loader_cmd.c
1159
if (pager_output(line))
stand/fdt/fdt_loader_cmd.c
1161
sprintf(line, " off_mem_rsvmap = 0x%08x\n",
stand/fdt/fdt_loader_cmd.c
1163
if (pager_output(line))
stand/fdt/fdt_loader_cmd.c
1165
sprintf(line, " version = %d\n", ver);
stand/fdt/fdt_loader_cmd.c
1166
if (pager_output(line))
stand/fdt/fdt_loader_cmd.c
1168
sprintf(line, " last compatible version = %d\n",
stand/fdt/fdt_loader_cmd.c
1170
if (pager_output(line))
stand/fdt/fdt_loader_cmd.c
1173
sprintf(line, " boot_cpuid = %d\n",
stand/fdt/fdt_loader_cmd.c
1175
if (pager_output(line))
stand/fdt/fdt_loader_cmd.c
1179
sprintf(line, " size_dt_strings = %d\n",
stand/fdt/fdt_loader_cmd.c
1181
if (pager_output(line))
stand/fdt/fdt_loader_cmd.c
1185
sprintf(line, " size_dt_struct = %d\n",
stand/fdt/fdt_loader_cmd.c
1187
if (pager_output(line))
stand/fdt/fdt_loader_cmd.c
1464
char *line, *buf;
stand/fdt/fdt_loader_cmd.c
1470
line = NULL;
stand/fdt/fdt_loader_cmd.c
1482
line = (char *)malloc(strlen(name) + 2);
stand/fdt/fdt_loader_cmd.c
1483
if (line == NULL) {
stand/fdt/fdt_loader_cmd.c
1487
sprintf(line, "%s\n", name);
stand/fdt/fdt_loader_cmd.c
1501
line = (char *)malloc(strlen(name) + strlen(FDT_PROP_SEP) +
stand/fdt/fdt_loader_cmd.c
1503
if (line == NULL) {
stand/fdt/fdt_loader_cmd.c
1509
sprintf(line, "%s" FDT_PROP_SEP "%s\n", name, buf);
stand/fdt/fdt_loader_cmd.c
1513
pager_output(line);
stand/fdt/fdt_loader_cmd.c
1520
if (line)
stand/fdt/fdt_loader_cmd.c
1521
free(line);
stand/fdt/fdt_loader_cmd.c
1842
char line[FDT_CWD_LEN];
stand/fdt/fdt_loader_cmd.c
1845
sprintf(line, "%s\n", cwd);
stand/fdt/fdt_loader_cmd.c
1846
pager_output(line);
stand/fdt/fdt_loader_cmd.c
1856
char line[80];
stand/fdt/fdt_loader_cmd.c
1865
sprintf(line, "reg#%d: (start: 0x%jx, size: 0x%jx)\n",
stand/fdt/fdt_loader_cmd.c
1867
if (pager_output(line))
stand/i386/gptzfsboot/zfsboot.c
549
char line[80];
stand/i386/gptzfsboot/zfsboot.c
556
sprintf(line, "%s\n", d->d_name);
stand/i386/gptzfsboot/zfsboot.c
557
if (pager_output(line))
stand/i386/gptzfsboot/zfsboot.c
570
char line[80];
stand/i386/gptzfsboot/zfsboot.c
641
snprintf(line, sizeof(line),
stand/i386/gptzfsboot/zfsboot.c
644
if (pager_output(line))
stand/i386/libi386/biosdisk.c
714
char line[80];
stand/i386/libi386/biosdisk.c
743
snprintf(line, sizeof(line),
stand/i386/libi386/biosdisk.c
750
if ((ret = pager_output(line)) != 0)
stand/i386/libi386/biosdisk.c
766
snprintf(line, sizeof(line), " %s%d",
stand/i386/libi386/biosdisk.c
768
ret = disk_print(&devd, line, verbose);
stand/i386/libi386/biosmemdisk.c
128
snprintf(line, sizeof(line), "hint.md.%d.physaddr", count);
stand/i386/libi386/biosmemdisk.c
130
setenv(line, scratch, 1);
stand/i386/libi386/biosmemdisk.c
131
snprintf(line, sizeof(line), "hint.md.%d.len", count);
stand/i386/libi386/biosmemdisk.c
133
setenv(line, scratch, 1);
stand/i386/libi386/biosmemdisk.c
69
char line[80], scratch[80];
stand/kboot/kboot/hostdisk.c
383
char line[80];
stand/kboot/kboot/hostdisk.c
392
snprintf(line, sizeof(line),
stand/kboot/kboot/hostdisk.c
398
if ((ret = pager_output(line)) != 0)
stand/kboot/kboot/hostdisk.c
401
snprintf(line, sizeof(line),
stand/kboot/kboot/hostdisk.c
407
if ((ret = pager_output(line)) != 0)
stand/kboot/kboot/hostfs.c
245
char line[80];
stand/kboot/kboot/hostfs.c
251
snprintf(line, sizeof(line), " host%d: Host filesystem\n", 0);
stand/kboot/kboot/hostfs.c
252
return (pager_output(line));
stand/kboot/libkboot/dfk.c
141
char line[256];
stand/kboot/libkboot/dfk.c
147
while (lb_1line(&lb, line, sizeof(line))) {
stand/kboot/libkboot/dfk.c
156
val = line;
stand/kboot/libkboot/seg.c
223
parse_line(const char *line, uint64_t *startp, uint64_t *endp)
stand/kboot/libkboot/seg.c
234
walker = line;
stand/kboot/libkboot/seg.c
266
chop(char *line)
stand/kboot/libkboot/seg.c
268
char *ep = line + strlen(line) - 1;
stand/kboot/libkboot/seg.c
270
while (ep >= line && isspace(*ep))
stand/libofw/ofw_disk.c
188
char line[80];
stand/libofw/ofw_disk.c
200
snprintf(line, sizeof(line),
stand/libofw/ofw_disk.c
203
if ((ret = pager_output(line)) != 0)
stand/libsa/assert.c
31
__assert(const char *func, const char *file, int line, const char *expression)
stand/libsa/assert.c
35
expression, file, line);
stand/libsa/assert.c
39
expression, func, file, line);
stand/libsa/hexdump.c
36
caddr_t line;
stand/libsa/hexdump.c
48
for (line = region; line < (region + len); line += 16) {
stand/libsa/hexdump.c
49
emit("%08lx ", (long) line);
stand/libsa/hexdump.c
52
if ((line + x) < (region + len)) {
stand/libsa/hexdump.c
53
emit("%02x ", *(uint8_t *)(line + x));
stand/libsa/hexdump.c
62
if ((line + x) < (region + len)) {
stand/libsa/hexdump.c
63
c = *(uint8_t *)(line + x);
stand/libsa/zalloc_malloc.c
108
Free(void *ptr, const char *file, int line)
stand/libsa/zalloc_malloc.c
120
ptr, file, line);
stand/libsa/zalloc_malloc.c
129
ptr, file, line);
stand/libsa/zalloc_malloc.c
136
ptr, file, line);
stand/libsa/zalloc_malloc.c
141
ptr, res->ga_Bytes - MALLOCALIGN, file, line);
stand/libsa/zalloc_malloc.c
155
Calloc(size_t n1, size_t n2, const char *file, int line)
stand/libsa/zalloc_malloc.c
160
if ((res = Malloc(bytes, file, line)) != NULL) {
stand/libsa/zalloc_malloc.c
177
Realloc(void *ptr, size_t size, const char *file, int line)
stand/libsa/zalloc_malloc.c
182
if ((res = Malloc(size, file, line)) != NULL) {
stand/libsa/zalloc_malloc.c
191
Free(ptr, file, line);
stand/libsa/zalloc_malloc.c
209
Reallocf(void *ptr, size_t size, const char *file, int line)
stand/libsa/zalloc_malloc.c
213
if ((res = Realloc(ptr, size, file, line)) == NULL)
stand/libsa/zalloc_malloc.c
214
Free(ptr, file, line);
stand/libsa/zalloc_malloc.c
57
Malloc(size_t bytes, const char *file __unused, int line __unused)
stand/libsa/zalloc_malloc.c
64
int line __unused)
stand/libsa/zfs/zfs.c
1515
char line[80];
stand/libsa/zfs/zfs.c
1529
snprintf(line, sizeof(line), " zfs:%s\n", spa->spa_name);
stand/libsa/zfs/zfs.c
1530
ret = pager_output(line);
stand/libsa/zfs/zfsimpl.c
1466
char line[80];
stand/libsa/zfs/zfsimpl.c
1470
vsnprintf(line, sizeof(line), fmt, args);
stand/libsa/zfs/zfsimpl.c
1472
return (pager_output(line));
stand/uboot/uboot_disk.c
244
static char line[80];
stand/uboot/uboot_disk.c
259
snprintf(line, sizeof(line), "\tdisk%d (%s)\n", i,
stand/uboot/uboot_disk.c
261
if ((ret = pager_output(line)) != 0)
stand/uboot/uboot_disk.c
264
sprintf(line, "\tdisk%d", i);
stand/uboot/uboot_disk.c
265
ret = disk_print(&dev, line, verbose);
stand/userboot/userboot/host.c
119
char line[80];
stand/userboot/userboot/host.c
125
snprintf(line, sizeof(line), " host%d: Host filesystem\n", 0);
stand/userboot/userboot/host.c
126
return (pager_output(line));
stand/userboot/userboot/userboot_disk.c
121
char line[80];
stand/userboot/userboot/userboot_disk.c
132
snprintf(line, sizeof(line),
stand/userboot/userboot/userboot_disk.c
134
ret = pager_output(line);
stand/userboot/userboot/userboot_disk.c
143
snprintf(line, sizeof(line), " disk%d", i);
stand/userboot/userboot/userboot_disk.c
144
ret = disk_print(&dev, line, verbose);
sys/amd64/pci/pci_cfgreg.c
127
uint32_t line;
sys/amd64/pci/pci_cfgreg.c
138
line = pci_docfgregread(domain, bus, slot, func, PCIR_INTLINE,
sys/amd64/pci/pci_cfgreg.c
140
if (line == 0 || line >= 128)
sys/amd64/pci/pci_cfgreg.c
141
line = PCI_INVALID_IRQ;
sys/amd64/pci/pci_cfgreg.c
142
return (line);
sys/arm/broadcom/bcm2835/bcm2835_sdhost.c
295
int line, int error)
sys/cddl/compat/opensolaris/sys/assfail.h
50
__assfail(const char *expr, const char *file, int line)
sys/cddl/compat/opensolaris/sys/assfail.h
54
expr, file, line);
sys/cddl/compat/opensolaris/sys/assfail.h
67
const char *file, int line) {
sys/cddl/compat/opensolaris/sys/assfail.h
71
expr, lv, op, rv, file, line);
sys/compat/linux/linux_ioctl.c
387
int line;
sys/compat/linux/linux_ioctl.c
973
int line;
sys/compat/linux/linux_ioctl.c
976
line = TTYDISC;
sys/compat/linux/linux_ioctl.c
979
line = SLIPDISC;
sys/compat/linux/linux_ioctl.c
982
line = PPPDISC;
sys/compat/linux/linux_ioctl.c
988
error = (fo_ioctl(fp, TIOCSETD, (caddr_t)&line, td->td_ucred,
sys/compat/linuxkpi/common/include/linux/kernel.h
362
__might_resched(const char *file, int line, unsigned int offsets)
sys/compat/linuxkpi/common/include/linux/kernel.h
367
__might_sleep(const char *file, int line)
sys/compat/linuxkpi/common/include/linux/kmsg_dump.h
57
const char *line, size_t size, size_t *len)
sys/compat/linuxkpi/common/include/linux/mutex.h
147
#define __mutex_name(name, file, line) \
sys/compat/linuxkpi/common/include/linux/mutex.h
148
(((const char *){file ":" #line "-" name}) + \
sys/compat/linuxkpi/common/include/linux/mutex.h
151
#define __mutex_name(name, file, line) name
sys/compat/linuxkpi/common/include/linux/rwsem.h
58
#define __rwsem_name(name, file, line) \
sys/compat/linuxkpi/common/include/linux/rwsem.h
59
(((const char *){file ":" #line "-" name}) + \
sys/compat/linuxkpi/common/include/linux/rwsem.h
62
#define __rwsem_name(name, file, line) name
sys/compat/linuxkpi/common/include/linux/spinlock.h
135
#define __spin_lock_name(name, file, line) \
sys/compat/linuxkpi/common/include/linux/spinlock.h
136
(((const char *){file ":" #line "-" name}) + \
sys/compat/linuxkpi/common/include/linux/spinlock.h
139
#define __spin_lock_name(name, file, line) name
sys/ddb/db_main.c
76
X_db_line_at_pc(db_symtab_t *symtab, c_db_sym_t sym, char **file, int *line,
sys/dev/acpi_support/acpi_hp.c
1206
char line[1025];
sys/dev/acpi_support/acpi_hp.c
1231
line, sizeof(line), &sequence,
sys/dev/acpi_support/acpi_hp.c
1264
sc->cmi_order[i].instance, line, sizeof(line),
sys/dev/acpi_support/acpi_hp.c
1266
sbuf_printf(&sc->hpcmi_sbuf, "%s\n", line);
sys/dev/acpica/acpi.c
1349
int line, unit;
sys/dev/acpica/acpi.c
1356
line = 0;
sys/dev/acpica/acpi.c
1358
while (resource_find_dev(&line, name, &unit, "at", NULL) == 0) {
sys/dev/aic7xxx/aic79xx_inline.h
138
ahd_mode dstmode, const char *file, int line)
sys/dev/aic7xxx/aic79xx_inline.h
144
ahd_name(ahd), file, line);
sys/dev/aic7xxx/aic79xx_inline.h
71
int line);
sys/dev/aic7xxx/aicasm/aicasm.c
529
unsigned int line;
sys/dev/aic7xxx/aicasm/aicasm.c
535
line = 1;
sys/dev/aic7xxx/aicasm/aicasm.c
607
while (line < cur_instr->srcline) {
sys/dev/aic7xxx/aicasm/aicasm.c
610
line++;
sys/dev/aic7xxx/aicasm/aicasm.c
629
if (line == cur_instr->srcline) {
sys/dev/aic7xxx/aicasm/aicasm.c
632
line++;
sys/dev/ath/if_ath.c
300
const char *file, int line)
sys/dev/ath/if_ath.c
307
line,
sys/dev/ath/if_ath.c
353
_ath_power_set_selfgen(struct ath_softc *sc, int power_state, const char *file, int line)
sys/dev/ath/if_ath.c
361
line,
sys/dev/ath/if_ath.c
389
_ath_power_set_power_state(struct ath_softc *sc, int power_state, const char *file, int line)
sys/dev/ath/if_ath.c
396
line,
sys/dev/ath/if_ath.c
427
_ath_power_restore_power_state(struct ath_softc *sc, const char *file, int line)
sys/dev/ath/if_ath.c
435
line,
sys/dev/ath/if_ath_misc.h
115
int selfgen, const char *file, int line);
sys/dev/ath/if_ath_misc.h
117
int power_state, const char *file, int line);
sys/dev/ath/if_ath_misc.h
119
int power_state, const char *file, int line);
sys/dev/ath/if_ath_misc.h
121
const char *file, int line);
sys/dev/bhnd/bcma/bcma_subr.c
291
uint8_t line;
sys/dev/bhnd/bcma/bcma_subr.c
299
line = (selout >> BCMA_DMP_OOBSEL_SHIFT(sel)) &
sys/dev/bhnd/bcma/bcma_subr.c
302
intr = bcma_alloc_intr(BCMA_OOB_BANK_INTR, sel, line);
sys/dev/bhnd/bcma/bcma_subr.c
463
bcma_alloc_intr(uint8_t bank, uint8_t sel, uint8_t line)
sys/dev/bhnd/bcma/bcma_subr.c
473
if (line >= BCMA_OOB_NUM_BUSLINES)
sys/dev/bhnd/bcma/bcma_subr.c
482
intr->i_busline = line;
sys/dev/bhnd/bcma/bcmavar.h
103
uint8_t line);
sys/dev/bxe/bxe.c
5821
uint16_t line = 0;
sys/dev/bxe/bxe.c
5831
ilt_client->start = line;
sys/dev/bxe/bxe.c
5832
line += bxe_cid_ilt_lines(sc);
sys/dev/bxe/bxe.c
5835
line += CNIC_ILT_LINES;
sys/dev/bxe/bxe.c
5838
ilt_client->end = (line - 1);
sys/dev/bxe/bxe.c
5854
ilt_client->start = line;
sys/dev/bxe/bxe.c
5857
line += DIV_ROUND_UP(sc->qm_cid_count * QM_QUEUES_PER_FUNC * 4,
sys/dev/bxe/bxe.c
5860
ilt_client->end = (line - 1);
sys/dev/bxe/bxe.c
5876
ilt_client->start = line;
sys/dev/bxe/bxe.c
5877
line += SRC_ILT_LINES;
sys/dev/bxe/bxe.c
5878
ilt_client->end = (line - 1);
sys/dev/bxe/bxe.c
5892
ilt_client->start = line;
sys/dev/bxe/bxe.c
5893
line += TM_ILT_LINES;
sys/dev/bxe/bxe.c
5894
ilt_client->end = (line - 1);
sys/dev/bxe/bxe.c
5904
KASSERT((line <= ILT_MAX_LINES), ("Invalid number of ILT lines!"));
sys/dev/bxe/ecore_init_ops.h
648
struct ilt_line *line, uint32_t size, uint8_t memop)
sys/dev/bxe/ecore_init_ops.h
651
ECORE_ILT_FREE(line->page, line->page_mapping, line->size);
sys/dev/bxe/ecore_init_ops.h
654
ECORE_ILT_ZALLOC(line->page, &line->page_mapping, size);
sys/dev/bxe/ecore_init_ops.h
655
if (!line->page)
sys/dev/bxe/ecore_init_ops.h
657
line->size = size;
sys/dev/cxgbe/common/t4_hw.c
270
be32_to_cpu(asrt->u.assert.line),
sys/dev/cxgbe/firmware/t4fw_interface.h
10904
__be32 line;
sys/dev/cxgbe/t4_main.c
1228
int line, unit;
sys/dev/cxgbe/t4_main.c
1230
line = 0;
sys/dev/cxgbe/t4_main.c
1233
while (resource_find_dev(&line, name, &unit, "at", parent) == 0) {
sys/dev/dpaa/dpaa_common.h
171
dpaa_flush_line(void *line)
sys/dev/dpaa/dpaa_common.h
173
__asm __volatile ("dcbf 0, %0" :: "r"(line) : "memory");
sys/dev/dpaa/dpaa_common.h
177
dpaa_zero_line(void *line)
sys/dev/dpaa/dpaa_common.h
179
__asm __volatile ("dcbz 0, %0" :: "r"(line) : "memory");
sys/dev/dpaa/dpaa_common.h
183
dpaa_touch_line(void *line)
sys/dev/dpaa/dpaa_common.h
185
__asm __volatile ("dcbt 0, %0" :: "r"(line) : "memory");
sys/dev/fb/splash_bmp.c
297
bmp_DecodeRLE4(BMP_INFO *info, int line)
sys/dev/fb/splash_bmp.c
304
y = line;
sys/dev/fb/splash_bmp.c
362
bmp_DecodeRLE8(BMP_INFO *info, int line)
sys/dev/fb/splash_bmp.c
368
y = line;
sys/dev/fb/splash_bmp.c
415
bmp_DecodeLine(BMP_INFO *info, int line)
sys/dev/fb/splash_bmp.c
425
bmp_SetPix(info, x, line, *info->index);
sys/dev/fb/splash_bmp.c
437
bmp_SetPix(info, x, line, val);
sys/dev/fb/splash_bmp.c
452
bmp_SetPix(info, x, line, val);
sys/dev/fb/splash_bmp.c
460
bmp_DecodeRLE4(info, line);
sys/dev/fb/splash_bmp.c
463
bmp_DecodeRLE8(info, line);
sys/dev/fb/splash_bmp.c
555
int line;
sys/dev/fb/splash_bmp.c
597
for (line = 0; (line < bmp_info.height) && bmp_info.index; line++) {
sys/dev/fb/splash_bmp.c
598
bmp_DecodeLine(&bmp_info, line);
sys/dev/fb/splash_pcx.c
206
uint8_t line[MAXSCANLINE];
sys/dev/fb/splash_pcx.c
246
line[j++] = pcx_info.zdata[i];
sys/dev/fb/splash_pcx.c
258
bcopy(line, vidmem + pos, j);
sys/dev/fb/splash_pcx.c
262
bcopy(line + j, vidmem, pcx_info.width - j);
sys/dev/fb/splash_pcx.c
264
bcopy(line, vidmem + pos, pcx_info.width);
sys/dev/gpio/chvgpio.c
463
int line;
sys/dev/gpio/chvgpio.c
466
for (line = 0; line < 16; line++) {
sys/dev/gpio/chvgpio.c
467
if ((reg & (1 << line)) == 0)
sys/dev/gpio/chvgpio.c
469
bus_write_4(sc->sc_mem_res, CHVGPIO_INTERRUPT_STATUS, 1 << line);
sys/dev/hpt27xx/hpt27xx_os_bsd.c
308
void __os_dbgbreak(const char *file, int line)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
310
printf("*** break at %s:%d ***", file, line);
sys/dev/hpt27xx/osm.h
241
void __os_dbgbreak(const char *file, int line);
sys/dev/hptnr/hptnr_os_bsd.c
295
void __os_dbgbreak(const char *file, int line)
sys/dev/hptnr/hptnr_os_bsd.c
297
printf("*** break at %s:%d ***", file, line);
sys/dev/hptnr/osm.h
226
void __os_dbgbreak(const char *file, int line);
sys/dev/hptrr/hptrr_os_bsd.c
281
void __os_dbgbreak(const char *file, int line)
sys/dev/hptrr/hptrr_os_bsd.c
283
printf("*** break at %s:%d ***", file, line);
sys/dev/hptrr/osm.h
193
void __os_dbgbreak(const char *file, int line);
sys/dev/ipmi/ipmi.c
1084
char line[1024];
sys/dev/ipmi/ipmi.c
1092
line[0] = '\000';
sys/dev/ipmi/ipmi.c
1095
strcat(line, temp);
sys/dev/ipmi/ipmi.c
1105
printf(" %3x %s %s\n", i, line, buf);
sys/dev/ipmi/ipmi.c
1107
line[0] = '\000';
sys/dev/ipmi/ipmi.c
1113
strcat(line, " ");
sys/dev/ipmi/ipmi.c
1115
printf(" %3x %s %s\n", i, line, buf);
sys/dev/iwx/if_iwx_debug.c
238
print_opcode(const char *func, int line, uint32_t code)
sys/dev/iwx/if_iwx_debug.c
255
printf("%s:%d \t%s\t%s\t(0x%08x)\n", func, line,
sys/dev/iwx/if_iwx_debug.c
262
print_ratenflags(const char *func, int line, uint32_t flags, int ver)
sys/dev/iwx/if_iwx_debug.c
264
printf("%s:%d\n\t flags 0x%08x ", func, line, flags);
sys/dev/ixl/ixl_pf_iov.c
473
enum i40e_status_code status, const char *file, int line)
sys/dev/ixl/ixl_pf_iov.c
479
status, vf->vf_num, file, line);
sys/dev/ixl/ixl_pf_iov.c
55
static void ixl_send_vf_nack_msg(struct ixl_pf *pf, struct ixl_vf *vf, uint16_t op, enum i40e_status_code status, const char *file, int line);
sys/dev/liquidio/base/lio_console.c
472
char *line;
sys/dev/liquidio/base/lio_console.c
474
line = console_buffer;
sys/dev/liquidio/base/lio_console.c
487
(line != console->leftover)) {
sys/dev/liquidio/base/lio_console.c
491
console->leftover,line);
sys/dev/liquidio/base/lio_console.c
497
line, NULL);
sys/dev/liquidio/base/lio_console.c
500
line = &console_buffer[i + 1];
sys/dev/liquidio/base/lio_console.c
505
if (line != &console_buffer[bytes_read]) {
sys/dev/liquidio/base/lio_console.c
508
strncpy(&console->leftover[len], line,
sys/dev/mfi/mfi_debug.c
239
const char *function, int line)
sys/dev/mfi/mfi_debug.c
267
function, line, cm, count, data_len, cm->cm_len,
sys/dev/mpt/mpt.h
1008
mpt_req_spcl(struct mpt_softc *mpt, request_t *req, const char *s, int line)
sys/dev/mpt/mpt.h
1022
s, line, req, req->serno,
sys/dev/mpt/mpt.h
1030
mpt_req_not_spcl(struct mpt_softc *mpt, request_t *req, const char *s, int line)
sys/dev/mpt/mpt.h
1036
s, line, req, req->serno,
sys/dev/mpt/mpt.h
1042
s, line, req, req->serno,
sys/dev/netmap/netmap_mem2.c
324
#define NM_DBG_REFC(nmd, func, line) \
sys/dev/netmap/netmap_mem2.c
325
nm_prinf("%s:%d mem[%d:%d] -> %d", func, line, (nmd)->nm_id, (nmd)->nm_grp, (nmd)->refcount);
sys/dev/netmap/netmap_mem2.c
327
#define NM_DBG_REFC(nmd, func, line)
sys/dev/netmap/netmap_mem2.c
335
__netmap_mem_get(struct netmap_mem_d *nmd, const char *func, int line)
sys/dev/netmap/netmap_mem2.c
339
NM_DBG_REFC(nmd, func, line);
sys/dev/netmap/netmap_mem2.c
345
__netmap_mem_put(struct netmap_mem_d *nmd, const char *func, int line)
sys/dev/netmap/netmap_mem2.c
352
NM_DBG_REFC(nmd, func, line);
sys/dev/ocs_fc/ocs_os.c
566
void _ocs_log(ocs_t *ocs, const char *func_name, int line, const char *fmt, ...)
sys/dev/ocs_fc/ocs_os.c
578
p += snprintf(p, sizeof(buf) - (p - buf), "%i:", line);
sys/dev/ocs_fc/ocs_os.h
369
extern void _ocs_log(ocs_t *ocs, const char *func, int line, const char *fmt, ...);
sys/dev/pci/pci.c
4629
int line, unit;
sys/dev/pci/pci.c
4642
line = 0;
sys/dev/pci/pci.c
4644
while (resource_find_dev(&line, name, &unit, "at", NULL) == 0) {
sys/dev/pci/pci.c
5288
char *desc, *vp, *dp, *line;
sys/dev/pci/pci.c
5301
line = pci_vendordata;
sys/dev/pci/pci.c
5305
if (pci_describe_parse_line(&line, &vendor, &device, &vp))
sys/dev/pci/pci.c
5313
if (pci_describe_parse_line(&line, &vendor, &device, &dp)) {
sys/dev/ppbus/ppb_base.c
229
_ppb_assert_locked(device_t bus, const char *file, int line)
sys/dev/ppbus/ppb_base.c
232
mtx_assert_(DEVTOSOFTC(bus)->ppc_lock, MA_OWNED, file, line);
sys/dev/qat/qat_common/adf_freebsd_cnvnr_ctrs_dbg.c
24
#define PRINT_LINE(line) \
sys/dev/qat/qat_common/adf_freebsd_cnvnr_ctrs_dbg.c
26
report_ptr, MAX_REPORT_SIZE - (report_ptr - report), "%s", line))
sys/dev/qlnx/qlnxe/ecore_cxt.c
1107
u32 lines, line, sz_left, lines_to_skip = 0;
sys/dev/qlnx/qlnxe/ecore_cxt.c
1122
line = p_blk->start_line + start_line_offset -
sys/dev/qlnx/qlnxe/ecore_cxt.c
1137
ilt_shadow[line].p_phys = p_phys;
sys/dev/qlnx/qlnxe/ecore_cxt.c
1138
ilt_shadow[line].p_virt = p_virt;
sys/dev/qlnx/qlnxe/ecore_cxt.c
1139
ilt_shadow[line].size = size;
sys/dev/qlnx/qlnxe/ecore_cxt.c
1143
line, (unsigned long long)p_phys, p_virt, size);
sys/dev/qlnx/qlnxe/ecore_cxt.c
1146
line++;
sys/dev/qlnx/qlnxe/ecore_cxt.c
1765
u32 line, rt_offst, i;
sys/dev/qlnx/qlnxe/ecore_cxt.c
1778
line = clients[i].first.val - p_mngr->pf_start_line;
sys/dev/qlnx/qlnxe/ecore_cxt.c
1782
for (; line <= clients[i].last.val - p_mngr->pf_start_line;
sys/dev/qlnx/qlnxe/ecore_cxt.c
1783
line++, rt_offst += ILT_ENTRY_IN_REGS) {
sys/dev/qlnx/qlnxe/ecore_cxt.c
1789
if (p_shdw[line].p_virt != OSAL_NULL) {
sys/dev/qlnx/qlnxe/ecore_cxt.c
1792
(unsigned long long)(p_shdw[line].p_phys >> 12));
sys/dev/qlnx/qlnxe/ecore_cxt.c
1797
rt_offst, line, i,
sys/dev/qlnx/qlnxe/ecore_cxt.c
1798
(unsigned long long)(p_shdw[line].p_phys >> 12));
sys/dev/qlnx/qlnxe/ecore_cxt.c
2128
u32 conn_cxt_size, hw_p_size, cxts_per_p, line;
sys/dev/qlnx/qlnxe/ecore_cxt.c
2148
line = p_info->iid / cxts_per_p;
sys/dev/qlnx/qlnxe/ecore_cxt.c
2151
if (!p_mngr->ilt_shadow[line].p_virt)
sys/dev/qlnx/qlnxe/ecore_cxt.c
2154
p_info->p_cxt = (u8 *)p_mngr->ilt_shadow[line].p_virt +
sys/dev/qlnx/qlnxe/ecore_cxt.c
2398
u32 reg_offset, shadow_line, elem_size, hw_p_size, elems_per_p, line;
sys/dev/qlnx/qlnxe/ecore_cxt.c
2439
line = p_blk->start_line + (iid / elems_per_p);
sys/dev/qlnx/qlnxe/ecore_cxt.c
2440
shadow_line = line - p_hwfn->p_cxt_mngr->pf_start_line;
sys/dev/qlnx/qlnxe/ecore_cxt.c
2498
(line * ILT_REG_SIZE_IN_BYTES * ILT_ENTRY_IN_REGS);
sys/dev/qlnx/qlnxe/ecore_cxt.c
636
u32 curr_line, total, i, task_size, line;
sys/dev/qlnx/qlnxe/ecore_cxt.c
739
line = p_cli->pf_blks[CDUT_SEG_BLK(i)].start_line;
sys/dev/qlnx/qlnxe/ecore_cxt.c
741
ecore_ilt_cli_blk_fill(p_cli, p_blk, line, 0, 0);
sys/dev/qlnx/qlnxe/ecore_cxt.c
778
line = p_cli->vf_blks[CDUT_SEG_BLK(0)].start_line;
sys/dev/qlnx/qlnxe/ecore_cxt.c
779
ecore_ilt_cli_blk_fill(p_cli, p_blk, line, 0, 0);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2484
u32 line, reg_addr, i, offset = 0;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2489
for (line = start_line, reg_addr = DBG_REG_INTR_BUFFER + DWORDS_TO_BYTES(start_line * INT_BUF_LINE_SIZE_IN_DWORDS);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2490
line <= end_line;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2491
line++, offset += INT_BUF_LINE_SIZE_IN_DWORDS)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2546
u32 *pci_buf, line, i;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2551
for (line = start_line, pci_buf = pci_buf_start + start_line * PCI_BUF_LINE_SIZE_IN_DWORDS;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2552
line <= end_line;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2553
line++, offset += PCI_BUF_LINE_SIZE_IN_DWORDS)
sys/dev/qlnx/qlnxe/ecore_rdma.c
450
int weight, line, item, last_line, last_item;
sys/dev/qlnx/qlnxe/ecore_rdma.c
472
for (item = 0, line = 0; line < last_line; line++, item += 8) {
sys/dev/qlnx/qlnxe/ecore_rdma.c
476
line, (unsigned long long)pmap[item],
sys/dev/qlnx/qlnxe/ecore_rdma.c
493
offset = OSAL_SPRINTF(str_last_line, "line 0x%04x: ", line);
sys/dev/sound/pci/vibes.c
127
_sv_direct_set(struct sc_info *sc, uint8_t reg, uint8_t val, int line)
sys/dev/sound/pci/vibes.c
134
device_printf(sc->dev, "sv_direct_set register 0x%02x %d != %d from line %d\n", reg, n, val, line);
sys/dev/sound/pci/vibes.c
151
_sv_indirect_set(struct sc_info *sc, uint8_t reg, uint8_t val, int line)
sys/dev/sound/pci/vibes.c
164
device_printf(sc->dev, "sv_indirect_set register 0x%02x %d != %d line %d\n", reg, n, val, line);
sys/dev/sound/sndstat.c
1105
sndstat_line2userdev(struct sndstat_file *pf, const char *line, int n)
sys/dev/sound/sndstat.c
1114
e = strchr(line, ':');
sys/dev/sound/sndstat.c
1117
ud->nameunit = strndup(line, e - line, M_DEVBUF);
sys/dev/sound/sndstat.c
1118
ud->devnode = malloc(e - line + 1, M_DEVBUF, M_WAITOK | M_ZERO);
sys/dev/sound/sndstat.c
1119
strlcat(ud->devnode, ud->nameunit, e - line + 1);
sys/dev/sound/sndstat.c
1120
line = e + 1;
sys/dev/sound/sndstat.c
1122
e = strchr(line, '<');
sys/dev/sound/sndstat.c
1125
line = e + 1;
sys/dev/sound/sndstat.c
1126
e = strrchr(line, '>');
sys/dev/sound/sndstat.c
1129
ud->desc = strndup(line, e - line, M_DEVBUF);
sys/dev/sound/sndstat.c
1130
line = e + 1;
sys/dev/sound/sndstat.c
1132
e = strchr(line, '(');
sys/dev/sound/sndstat.c
1135
line = e + 1;
sys/dev/sound/sndstat.c
1136
e = strrchr(line, ')');
sys/dev/sound/sndstat.c
1139
m = strstr(line, "play");
sys/dev/sound/sndstat.c
1142
m = strstr(line, "rec");
sys/dev/sound/sndstat.c
294
char *line, *str;
sys/dev/sound/sndstat.c
297
while ((line = strsep(&str, "\n")) != NULL) {
sys/dev/sound/sndstat.c
300
ud = sndstat_line2userdev(pf, line, strlen(line));
sys/dev/uart/uart_dev_mu.c
167
uint32_t line;
sys/dev/uart/uart_dev_mu.c
174
line = 0x0;
sys/dev/uart/uart_dev_mu.c
175
__uart_setreg(bas, AUX_MU_CNTL_REG, line);
sys/dev/uart/uart_dev_mu.c
180
line |= LCR_WLEN7;
sys/dev/uart/uart_dev_mu.c
185
line |= LCR_WLEN8;
sys/dev/uart/uart_dev_mu.c
189
__uart_setreg(bas, AUX_MU_LCR_REG, line);
sys/dev/uart/uart_dev_pl011.c
203
uint32_t ctrl, line;
sys/dev/uart/uart_dev_pl011.c
210
ctrl = line = 0x0;
sys/dev/uart/uart_dev_pl011.c
216
line |= LCR_H_WLEN7;
sys/dev/uart/uart_dev_pl011.c
219
line |= LCR_H_WLEN6;
sys/dev/uart/uart_dev_pl011.c
223
line |= LCR_H_WLEN8;
sys/dev/uart/uart_dev_pl011.c
228
line |= LCR_H_STP2;
sys/dev/uart/uart_dev_pl011.c
230
line &= ~LCR_H_STP2;
sys/dev/uart/uart_dev_pl011.c
233
line |= LCR_H_PEN;
sys/dev/uart/uart_dev_pl011.c
235
line &= ~LCR_H_PEN;
sys/dev/uart/uart_dev_pl011.c
236
line |= LCR_H_FEN;
sys/dev/uart/uart_dev_pl011.c
249
~0xff) | line);
sys/dev/vt/hw/ofwfb/ofwfb.c
139
u_long line;
sys/dev/vt/hw/ofwfb/ofwfb.c
170
line = (sc->fb_stride * y) + x * sc->fb_bpp/8;
sys/dev/vt/hw/ofwfb/ofwfb.c
202
*(uint32_t *)(sc->fb_vbase + line + c) = ch1.l;
sys/dev/vt/hw/ofwfb/ofwfb.c
203
*(uint32_t *)(sc->fb_vbase + line + c + 4) =
sys/dev/vt/hw/ofwfb/ofwfb.c
206
line += sc->fb_stride;
sys/dev/vt/hw/ofwfb/ofwfb.c
230
*(uint8_t *)(sc->fb_vbase + line + c) =
sys/dev/vt/hw/ofwfb/ofwfb.c
234
*(uint32_t *)(sc->fb_vbase + line + 4*c)
sys/dev/vt/hw/ofwfb/ofwfb.c
242
line += sc->fb_stride;
sys/fs/tarfs/tarfs_vfsops.c
586
char *line = exthdr;
sys/fs/tarfs/tarfs_vfsops.c
587
while (line < exthdr + sz) {
sys/fs/tarfs/tarfs_vfsops.c
589
size_t len = strtoul(line, &sep, 10);
sys/fs/tarfs/tarfs_vfsops.c
590
if (len == 0 || sep == line || *sep != ' ') {
sys/fs/tarfs/tarfs_vfsops.c
593
if ((uintptr_t)line + len < (uintptr_t)line ||
sys/fs/tarfs/tarfs_vfsops.c
594
line + len > exthdr + sz) {
sys/fs/tarfs/tarfs_vfsops.c
600
eol = line + len - 1;
sys/fs/tarfs/tarfs_vfsops.c
602
line += len;
sys/fs/unionfs/union.h
116
int line __unused)
sys/fs/unionfs/union.h
123
("%s:%d: non-unionfs vnode %p", file, line, vp));
sys/i386/pci/pci_cfgreg.c
106
pci_i386_map_intline(int line)
sys/i386/pci/pci_cfgreg.c
108
if (line == 0 || line >= 128)
sys/i386/pci/pci_cfgreg.c
110
return (line);
sys/i386/pci/pci_cfgreg.c
201
uint32_t line;
sys/i386/pci/pci_cfgreg.c
209
line = pci_docfgregread(domain, bus, slot, func, PCIR_INTLINE,
sys/i386/pci/pci_cfgreg.c
211
return (pci_i386_map_intline(line));
sys/isa/isahint.c
107
int line, matches, unit;
sys/isa/isahint.c
109
line = 0;
sys/isa/isahint.c
111
if (resource_find_dev(&line, name, &unit, "at", NULL) != 0)
sys/kern/kern_ktr.c
321
ktr_tracepoint(uint64_t mask, const char *file, int line, const char *format,
sys/kern/kern_ktr.c
380
entry->ktr_line = line;
sys/kern/kern_lock.c
1011
line);
sys/kern/kern_lock.c
1013
LK_TRYWIT(flags), file, line);
sys/kern/kern_lock.c
1021
error = lockmgr_xlock_hard(lk, flags, ilk, file, line, lwa);
sys/kern/kern_lock.c
1030
const char *file, int line)
sys/kern/kern_lock.c
1046
file, line, flags & LK_INTERLOCK ? ilk : NULL);
sys/kern/kern_lock.c
1052
file, line, flags);
sys/kern/kern_lock.c
1055
return (lockmgr_slock_hard(lk, flags, ilk, file, line,
sys/kern/kern_lock.c
1062
LOP_EXCLUSIVE, file, line, flags & LK_INTERLOCK ?
sys/kern/kern_lock.c
1067
lockmgr_note_exclusive_acquire(lk, 0, 0, file, line,
sys/kern/kern_lock.c
1071
return (lockmgr_xlock_hard(lk, flags, ilk, file, line,
sys/kern/kern_lock.c
1077
return (lockmgr_upgrade(lk, flags, ilk, file, line, NULL));
sys/kern/kern_lock.c
1089
LK_PRIO_DEFAULT, LK_TIMO_DEFAULT, file, line));
sys/kern/kern_lock.c
1095
const char *file, int line)
sys/kern/kern_lock.c
1098
wakeupshlk(lk, file, line);
sys/kern/kern_lock.c
1105
const char *file, int line)
sys/kern/kern_lock.c
1215
lockmgr_slock(struct lock *lk, u_int flags, const char *file, int line)
sys/kern/kern_lock.c
1225
file, line, NULL);
sys/kern/kern_lock.c
1228
lockmgr_note_shared_acquire(lk, 0, 0, file, line, flags);
sys/kern/kern_lock.c
1232
return (lockmgr_slock_hard(lk, flags | LK_ADAPTIVE, NULL, file, line, NULL));
sys/kern/kern_lock.c
1236
lockmgr_xlock(struct lock *lk, u_int flags, const char *file, int line)
sys/kern/kern_lock.c
1245
LOP_EXCLUSIVE, file, line, NULL);
sys/kern/kern_lock.c
1248
lockmgr_note_exclusive_acquire(lk, 0, 0, file, line,
sys/kern/kern_lock.c
1253
return (lockmgr_xlock_hard(lk, flags | LK_ADAPTIVE, NULL, file, line, NULL));
sys/kern/kern_lock.c
1261
int line;
sys/kern/kern_lock.c
1264
line = __LINE__;
sys/kern/kern_lock.c
1266
_lockmgr_assert(lk, KA_LOCKED, file, line);
sys/kern/kern_lock.c
1269
lockmgr_note_shared_release(lk, file, line);
sys/kern/kern_lock.c
1273
return (lockmgr_sunlock_hard(lk, x, LK_RELEASE, NULL, file, line));
sys/kern/kern_lock.c
1277
lockmgr_note_exclusive_release(lk, file, line);
sys/kern/kern_lock.c
1281
return (lockmgr_xunlock_hard(lk, x, LK_RELEASE, NULL, file, line));
sys/kern/kern_lock.c
1289
const char *wmesg, int pri, int timo, const char *file, int line)
sys/kern/kern_lock.c
1319
("%s: Invalid requested operation @ %s:%d", __func__, file, line));
sys/kern/kern_lock.c
1323
__func__, file, line));
sys/kern/kern_lock.c
1326
__func__, file, line));
sys/kern/kern_lock.c
1329
lk, file, line));
sys/kern/kern_lock.c
1342
file, line);
sys/kern/kern_lock.c
1351
return (lockmgr_slock_hard(lk, flags, ilk, file, line, &lwa));
sys/kern/kern_lock.c
1355
return (lockmgr_upgrade(lk, flags, ilk, file, line, &lwa));
sys/kern/kern_lock.c
1358
return (lockmgr_xlock_hard(lk, flags, ilk, file, line, &lwa));
sys/kern/kern_lock.c
1361
_lockmgr_assert(lk, KA_XLOCKED, file, line);
sys/kern/kern_lock.c
1362
WITNESS_DOWNGRADE(&lk->lock_object, 0, file, line);
sys/kern/kern_lock.c
1371
__func__, iwmesg, file, line);
sys/kern/kern_lock.c
1387
LOCK_LOG_LOCK("XDOWNGRADE", &lk->lock_object, 0, 0, file, line);
sys/kern/kern_lock.c
1391
_lockmgr_assert(lk, KA_LOCKED, file, line);
sys/kern/kern_lock.c
1395
lockmgr_note_shared_release(lk, file, line);
sys/kern/kern_lock.c
1396
return (lockmgr_sunlock_hard(lk, x, flags, ilk, file, line));
sys/kern/kern_lock.c
1398
lockmgr_note_exclusive_release(lk, file, line);
sys/kern/kern_lock.c
1399
return (lockmgr_xunlock_hard(lk, x, flags, ilk, file, line));
sys/kern/kern_lock.c
1405
LOP_EXCLUSIVE, file, line, flags & LK_INTERLOCK ?
sys/kern/kern_lock.c
1416
__func__, iwmesg, file, line);
sys/kern/kern_lock.c
1573
false, contested, waittime, file, line);
sys/kern/kern_lock.c
1575
lk->lk_recurse, file, line);
sys/kern/kern_lock.c
1577
LK_TRYWIT(flags), file, line);
sys/kern/kern_lock.c
1595
_lockmgr_disown(struct lock *lk, const char *file, int line)
sys/kern/kern_lock.c
1603
_lockmgr_assert(lk, KA_XLOCKED, file, line);
sys/kern/kern_lock.c
1610
__func__, file, line);
sys/kern/kern_lock.c
1619
LOCK_LOG_LOCK("XDISOWN", &lk->lock_object, 0, 0, file, line);
sys/kern/kern_lock.c
1620
WITNESS_UNLOCK(&lk->lock_object, LOP_EXCLUSIVE, file, line);
sys/kern/kern_lock.c
1704
_lockmgr_assert(const struct lock *lk, int what, const char *file, int line)
sys/kern/kern_lock.c
1727
witness_assert(&lk->lock_object, what, file, line);
sys/kern/kern_lock.c
1736
file, line);
sys/kern/kern_lock.c
1743
line);
sys/kern/kern_lock.c
1746
lk->lock_object.lo_name, file, line);
sys/kern/kern_lock.c
1754
lk->lock_object.lo_name, file, line);
sys/kern/kern_lock.c
1758
lk->lock_object.lo_name, file, line);
sys/kern/kern_lock.c
1761
lk->lock_object.lo_name, file, line);
sys/kern/kern_lock.c
1766
lk->lock_object.lo_name, file, line);
sys/kern/kern_lock.c
1770
line);
sys/kern/kern_lock.c
201
uint64_t waittime, const char *file, int line, int flags)
sys/kern/kern_lock.c
205
waittime, file, line, LOCKSTAT_READER);
sys/kern/kern_lock.c
206
LOCK_LOG_LOCK("SLOCK", &lk->lock_object, 0, 0, file, line);
sys/kern/kern_lock.c
207
WITNESS_LOCK(&lk->lock_object, LK_TRYWIT(flags), file, line);
sys/kern/kern_lock.c
214
lockmgr_note_shared_release(struct lock *lk, const char *file, int line)
sys/kern/kern_lock.c
217
WITNESS_UNLOCK(&lk->lock_object, 0, file, line);
sys/kern/kern_lock.c
218
LOCK_LOG_LOCK("SUNLOCK", &lk->lock_object, 0, 0, file, line);
sys/kern/kern_lock.c
225
uint64_t waittime, const char *file, int line, int flags)
sys/kern/kern_lock.c
229
waittime, file, line, LOCKSTAT_WRITER);
sys/kern/kern_lock.c
230
LOCK_LOG_LOCK("XLOCK", &lk->lock_object, 0, lk->lk_recurse, file, line);
sys/kern/kern_lock.c
232
line);
sys/kern/kern_lock.c
238
lockmgr_note_exclusive_release(struct lock *lk, const char *file, int line)
sys/kern/kern_lock.c
242
WITNESS_UNLOCK(&lk->lock_object, LOP_EXCLUSIVE, file, line);
sys/kern/kern_lock.c
246
line);
sys/kern/kern_lock.c
311
wakeupshlk(struct lock *lk, const char *file, int line)
sys/kern/kern_lock.c
578
const char *file, int line, struct lockmgr_wait *lwa)
sys/kern/kern_lock.c
601
file, line, flags & LK_INTERLOCK ? ilk : NULL);
sys/kern/kern_lock.c
718
file, line, flags);
sys/kern/kern_lock.c
720
lockmgr_note_shared_acquire(lk, 0, 0, file, line,
sys/kern/kern_lock.c
75
#define _lockmgr_assert(lk, what, file, line)
sys/kern/kern_lock.c
763
const char *file, int line, struct lockmgr_wait *lwa)
sys/kern/kern_lock.c
787
LOP_EXCLUSIVE, file, line, flags & LK_INTERLOCK ?
sys/kern/kern_lock.c
814
"@ %s:%d\n", __func__, lk, file, line);
sys/kern/kern_lock.c
820
lk->lk_recurse, file, line);
sys/kern/kern_lock.c
822
LK_TRYWIT(flags), file, line);
sys/kern/kern_lock.c
956
file, line, flags);
sys/kern/kern_lock.c
958
lockmgr_note_exclusive_acquire(lk, 0, 0, file, line,
sys/kern/kern_lock.c
970
const char *file, int line, struct lockmgr_wait *lwa)
sys/kern/kern_lock.c
981
_lockmgr_assert(lk, KA_SLOCKED, file, line);
sys/kern/kern_lock.c
995
lockmgr_note_shared_release(lk, file, line);
sys/kern/kern_mutex.c
1033
const char *file, int line)
sys/kern/kern_mutex.c
1094
__mtx_assert(const volatile uintptr_t *c, int what, const char *file, int line)
sys/kern/kern_mutex.c
1109
m->lock_object.lo_name, file, line);
sys/kern/kern_mutex.c
1113
m->lock_object.lo_name, file, line);
sys/kern/kern_mutex.c
1116
m->lock_object.lo_name, file, line);
sys/kern/kern_mutex.c
1122
m->lock_object.lo_name, file, line);
sys/kern/kern_mutex.c
1125
panic("unknown mtx_assert at %s:%d", file, line);
sys/kern/kern_mutex.c
278
__mtx_lock_flags(volatile uintptr_t *c, int opts, const char *file, int line)
sys/kern/kern_mutex.c
288
curthread, m, file, line));
sys/kern/kern_mutex.c
290
("mtx_lock() of destroyed mutex %p @ %s:%d", m, file, line));
sys/kern/kern_mutex.c
293
file, line));
sys/kern/kern_mutex.c
295
LOP_NEWORDER | LOP_EXCLUSIVE, file, line, NULL);
sys/kern/kern_mutex.c
300
_mtx_lock_sleep(m, v, opts, file, line);
sys/kern/kern_mutex.c
303
m, 0, 0, file, line);
sys/kern/kern_mutex.c
305
line);
sys/kern/kern_mutex.c
307
file, line);
sys/kern/kern_mutex.c
312
__mtx_unlock_flags(volatile uintptr_t *c, int opts, const char *file, int line)
sys/kern/kern_mutex.c
319
("mtx_unlock() of destroyed mutex %p @ %s:%d", m, file, line));
sys/kern/kern_mutex.c
322
file, line));
sys/kern/kern_mutex.c
323
WITNESS_UNLOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line);
sys/kern/kern_mutex.c
325
line);
sys/kern/kern_mutex.c
329
__mtx_unlock_sleep(c, (uintptr_t)curthread, opts, file, line);
sys/kern/kern_mutex.c
331
__mtx_unlock(m, curthread, opts, file, line);
sys/kern/kern_mutex.c
338
int line)
sys/kern/kern_mutex.c
348
("mtx_lock_spin() of destroyed mutex %p @ %s:%d", m, file, line));
sys/kern/kern_mutex.c
351
m->lock_object.lo_name, file, line));
sys/kern/kern_mutex.c
356
m->lock_object.lo_name, file, line));
sys/kern/kern_mutex.c
359
file, line, NULL);
sys/kern/kern_mutex.c
365
_mtx_lock_spin(m, v, opts, file, line);
sys/kern/kern_mutex.c
368
m, 0, 0, file, line);
sys/kern/kern_mutex.c
370
__mtx_lock_spin(m, curthread, opts, file, line);
sys/kern/kern_mutex.c
373
line);
sys/kern/kern_mutex.c
374
WITNESS_LOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line);
sys/kern/kern_mutex.c
379
int line)
sys/kern/kern_mutex.c
390
line));
sys/kern/kern_mutex.c
393
m->lock_object.lo_name, file, line));
sys/kern/kern_mutex.c
396
m->lock_object.lo_name, file, line));
sys/kern/kern_mutex.c
397
if (__mtx_trylock_spin(m, curthread, opts, file, line)) {
sys/kern/kern_mutex.c
398
LOCK_LOG_TRY("LOCK", &m->lock_object, opts, 1, file, line);
sys/kern/kern_mutex.c
399
WITNESS_LOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line);
sys/kern/kern_mutex.c
402
LOCK_LOG_TRY("LOCK", &m->lock_object, opts, 0, file, line);
sys/kern/kern_mutex.c
408
int line)
sys/kern/kern_mutex.c
416
line));
sys/kern/kern_mutex.c
419
m->lock_object.lo_name, file, line));
sys/kern/kern_mutex.c
420
WITNESS_UNLOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line);
sys/kern/kern_mutex.c
422
line);
sys/kern/kern_mutex.c
452
curthread, m, file, line));
sys/kern/kern_mutex.c
454
("mtx_trylock() of destroyed mutex %p @ %s:%d", m, file, line));
sys/kern/kern_mutex.c
457
file, line));
sys/kern/kern_mutex.c
481
LOCK_LOG_TRY("LOCK", &m->lock_object, opts, rval, file, line);
sys/kern/kern_mutex.c
484
file, line);
sys/kern/kern_mutex.c
488
m, contested, waittime, file, line);
sys/kern/kern_mutex.c
495
_mtx_trylock_flags_(volatile uintptr_t *c, int opts, const char *file, int line)
sys/kern/kern_mutex.c
512
int line)
sys/kern/kern_mutex.c
567
m->lock_object.lo_name, file, line));
sys/kern/kern_mutex.c
595
m->lock_object.lo_name, (void *)m->mtx_lock, file, line);
sys/kern/kern_mutex.c
708
waittime, file, line);
sys/kern/kern_mutex.c
721
const char *file, int line)
sys/kern/kern_mutex.c
816
contested, waittime, file, line);
sys/kern/kern_mutex.c
822
thread_lock_validate(struct mtx *m, int opts, const char *file, int line)
sys/kern/kern_mutex.c
826
("thread_lock() of destroyed mutex %p @ %s:%d", m, file, line));
sys/kern/kern_mutex.c
829
m->lock_object.lo_name, file, line));
sys/kern/kern_mutex.c
832
m->lock_object.lo_name, file, line));
sys/kern/kern_mutex.c
834
opts | LOP_NEWORDER | LOP_EXCLUSIVE, file, line, NULL);
sys/kern/kern_mutex.c
837
#define thread_lock_validate(m, opts, file, line) do { } while (0)
sys/kern/kern_mutex.c
843
_thread_lock(struct thread *td, int opts, const char *file, int line)
sys/kern/kern_mutex.c
858
thread_lock_validate(m, 0, file, line);
sys/kern/kern_mutex.c
864
WITNESS_LOCK(&m->lock_object, LOP_EXCLUSIVE, file, line);
sys/kern/kern_mutex.c
872
thread_lock_flags_(td, opts, file, line);
sys/kern/kern_mutex.c
880
thread_lock_flags_(struct thread *td, int opts, const char *file, int line)
sys/kern/kern_mutex.c
928
thread_lock_validate(m, opts, file, line);
sys/kern/kern_mutex.c
960
line);
sys/kern/kern_mutex.c
961
WITNESS_LOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line);
sys/kern/kern_mutex.c
971
waittime, file, line);
sys/kern/kern_rangelock.c
814
_rangelock_cookie_assert(void *cookie, int what, const char *file, int line)
sys/kern/kern_rmlock.c
594
_rm_wlock_debug(struct rmlock *rm, const char *file, int line)
sys/kern/kern_rmlock.c
602
curthread, rm, file, line));
sys/kern/kern_rmlock.c
604
("rm_wlock() of destroyed rmlock %p @ %s:%d", rm, file, line));
sys/kern/kern_rmlock.c
605
_rm_assert(rm, RA_UNLOCKED, file, line);
sys/kern/kern_rmlock.c
608
file, line, NULL);
sys/kern/kern_rmlock.c
612
LOCK_LOG_LOCK("RMWLOCK", &rm->lock_object, 0, 0, file, line);
sys/kern/kern_rmlock.c
613
WITNESS_LOCK(&rm->lock_object, LOP_EXCLUSIVE, file, line);
sys/kern/kern_rmlock.c
618
_rm_wunlock_debug(struct rmlock *rm, const char *file, int line)
sys/kern/kern_rmlock.c
625
("rm_wunlock() of destroyed rmlock %p @ %s:%d", rm, file, line));
sys/kern/kern_rmlock.c
626
_rm_assert(rm, RA_WLOCKED, file, line);
sys/kern/kern_rmlock.c
627
WITNESS_UNLOCK(&rm->lock_object, LOP_EXCLUSIVE, file, line);
sys/kern/kern_rmlock.c
628
LOCK_LOG_LOCK("RMWUNLOCK", &rm->lock_object, 0, 0, file, line);
sys/kern/kern_rmlock.c
635
int trylock, const char *file, int line)
sys/kern/kern_rmlock.c
647
rm, file, line));
sys/kern/kern_rmlock.c
653
curthread, rm, file, line));
sys/kern/kern_rmlock.c
655
("rm_rlock() of destroyed rmlock %p @ %s:%d", rm, file, line));
sys/kern/kern_rmlock.c
659
rm->lock_object.lo_name, file, line));
sys/kern/kern_rmlock.c
661
LOP_NEWORDER | LOP_NOSLEEP, file, line, NULL);
sys/kern/kern_rmlock.c
667
line);
sys/kern/kern_rmlock.c
670
line);
sys/kern/kern_rmlock.c
671
WITNESS_LOCK(&rm->lock_object, LOP_NOSLEEP, file, line);
sys/kern/kern_rmlock.c
675
LOCK_LOG_TRY("RMRLOCK", &rm->lock_object, 0, 0, file, line);
sys/kern/kern_rmlock.c
682
const char *file, int line)
sys/kern/kern_rmlock.c
689
("rm_runlock() of destroyed rmlock %p @ %s:%d", rm, file, line));
sys/kern/kern_rmlock.c
690
_rm_assert(rm, RA_RLOCKED, file, line);
sys/kern/kern_rmlock.c
691
WITNESS_UNLOCK(&rm->lock_object, 0, file, line);
sys/kern/kern_rmlock.c
692
LOCK_LOG_LOCK("RMRUNLOCK", &rm->lock_object, 0, 0, file, line);
sys/kern/kern_rmlock.c
704
_rm_wlock_debug(struct rmlock *rm, const char *file, int line)
sys/kern/kern_rmlock.c
711
_rm_wunlock_debug(struct rmlock *rm, const char *file, int line)
sys/kern/kern_rmlock.c
719
int trylock, const char *file, int line)
sys/kern/kern_rmlock.c
727
const char *file, int line)
sys/kern/kern_rmlock.c
73
#define _rm_assert(c, what, file, line)
sys/kern/kern_rmlock.c
746
_rm_assert(const struct rmlock *rm, int what, const char *file, int line)
sys/kern/kern_rmlock.c
766
rm->lock_object.lo_name, file, line);
sys/kern/kern_rmlock.c
769
rm->lock_object.lo_name, file, line);
sys/kern/kern_rmlock.c
780
"read " : "", file, line);
sys/kern/kern_rmlock.c
784
rm->lock_object.lo_name, file, line);
sys/kern/kern_rmlock.c
787
rm->lock_object.lo_name, file, line);
sys/kern/kern_rmlock.c
792
rm->lock_object.lo_name, file, line);
sys/kern/kern_rmlock.c
797
rm->lock_object.lo_name, file, line);
sys/kern/kern_rmlock.c
805
rm->lock_object.lo_name, file, line);
sys/kern/kern_rmlock.c
809
line);
sys/kern/kern_rwlock.c
1208
waittime, file, line, LOCKSTAT_WRITER);
sys/kern/kern_rwlock.c
1307
line));
sys/kern/kern_rwlock.c
1308
__rw_assert(&rw->rw_lock, RA_RLOCKED, file, line);
sys/kern/kern_rwlock.c
1357
LOCK_LOG_TRY("WUPGRADE", &rw->lock_object, 0, success, file, line);
sys/kern/kern_rwlock.c
1361
file, line);
sys/kern/kern_rwlock.c
1368
__rw_try_upgrade(volatile uintptr_t *c, const char *file, int line)
sys/kern/kern_rwlock.c
1390
("rw_downgrade() of destroyed rwlock %p @ %s:%d", rw, file, line));
sys/kern/kern_rwlock.c
1391
__rw_assert(&rw->rw_lock, RA_WLOCKED | RA_NOTRECURSED, file, line);
sys/kern/kern_rwlock.c
1397
WITNESS_DOWNGRADE(&rw->lock_object, 0, file, line);
sys/kern/kern_rwlock.c
1439
LOCK_LOG_LOCK("WDOWNGRADE", &rw->lock_object, 0, 0, file, line);
sys/kern/kern_rwlock.c
1444
__rw_downgrade(volatile uintptr_t *c, const char *file, int line)
sys/kern/kern_rwlock.c
1463
__rw_assert(const volatile uintptr_t *c, int what, const char *file, int line)
sys/kern/kern_rwlock.c
1480
witness_assert(&rw->lock_object, what, file, line);
sys/kern/kern_rwlock.c
1492
"read " : "", file, line);
sys/kern/kern_rwlock.c
1499
line);
sys/kern/kern_rwlock.c
1502
rw->lock_object.lo_name, file, line);
sys/kern/kern_rwlock.c
1511
rw->lock_object.lo_name, file, line);
sys/kern/kern_rwlock.c
1515
rw->lock_object.lo_name, file, line);
sys/kern/kern_rwlock.c
1518
rw->lock_object.lo_name, file, line);
sys/kern/kern_rwlock.c
1522
witness_assert(&rw->lock_object, what, file, line);
sys/kern/kern_rwlock.c
1530
rw->lock_object.lo_name, file, line);
sys/kern/kern_rwlock.c
1535
line);
sys/kern/kern_rwlock.c
159
#define __rw_assert(c, what, file, line)
sys/kern/kern_rwlock.c
286
_rw_wlock_cookie(volatile uintptr_t *c, const char *file, int line)
sys/kern/kern_rwlock.c
296
curthread, rw, file, line));
sys/kern/kern_rwlock.c
298
("rw_wlock() of destroyed rwlock %p @ %s:%d", rw, file, line));
sys/kern/kern_rwlock.c
300
line, NULL);
sys/kern/kern_rwlock.c
304
_rw_wlock_hard(rw, v, file, line);
sys/kern/kern_rwlock.c
307
0, 0, file, line, LOCKSTAT_WRITER);
sys/kern/kern_rwlock.c
309
LOCK_LOG_LOCK("WLOCK", &rw->lock_object, 0, rw->rw_recurse, file, line);
sys/kern/kern_rwlock.c
310
WITNESS_LOCK(&rw->lock_object, LOP_EXCLUSIVE, file, line);
sys/kern/kern_rwlock.c
329
curthread, rw, file, line));
sys/kern/kern_rwlock.c
331
("rw_try_wlock() of destroyed rwlock %p @ %s:%d", rw, file, line));
sys/kern/kern_rwlock.c
350
LOCK_LOG_TRY("WLOCK", &rw->lock_object, 0, rval, file, line);
sys/kern/kern_rwlock.c
353
file, line);
sys/kern/kern_rwlock.c
356
rw, 0, 0, file, line, LOCKSTAT_WRITER);
sys/kern/kern_rwlock.c
363
__rw_try_wlock(volatile uintptr_t *c, const char *file, int line)
sys/kern/kern_rwlock.c
372
_rw_wunlock_cookie(volatile uintptr_t *c, const char *file, int line)
sys/kern/kern_rwlock.c
379
("rw_wunlock() of destroyed rwlock %p @ %s:%d", rw, file, line));
sys/kern/kern_rwlock.c
380
__rw_assert(c, RA_WLOCKED, file, line);
sys/kern/kern_rwlock.c
381
WITNESS_UNLOCK(&rw->lock_object, LOP_EXCLUSIVE, file, line);
sys/kern/kern_rwlock.c
383
line);
sys/kern/kern_rwlock.c
386
_rw_wunlock_hard(rw, (uintptr_t)curthread, file, line);
sys/kern/kern_rwlock.c
388
__rw_wunlock(rw, curthread, file, line);
sys/kern/kern_rwlock.c
671
waittime, file, line, LOCKSTAT_READER);
sys/kern/kern_rwlock.c
685
td, rw, file, line));
sys/kern/kern_rwlock.c
687
("rw_rlock() of destroyed rwlock %p @ %s:%d", rw, file, line));
sys/kern/kern_rwlock.c
690
rw, file, line));
sys/kern/kern_rwlock.c
691
WITNESS_CHECKORDER(&rw->lock_object, LOP_NEWORDER, file, line, NULL);
sys/kern/kern_rwlock.c
699
file, line);
sys/kern/kern_rwlock.c
701
LOCK_LOG_LOCK("RLOCK", &rw->lock_object, 0, 0, file, line);
sys/kern/kern_rwlock.c
702
WITNESS_LOCK(&rw->lock_object, 0, file, line);
sys/kern/kern_rwlock.c
707
__rw_rlock(volatile uintptr_t *c, const char *file, int line)
sys/kern/kern_rwlock.c
725
curthread, rw, file, line));
sys/kern/kern_rwlock.c
731
line));
sys/kern/kern_rwlock.c
736
line);
sys/kern/kern_rwlock.c
737
WITNESS_LOCK(&rw->lock_object, LOP_TRYLOCK, file, line);
sys/kern/kern_rwlock.c
739
rw, 0, 0, file, line, LOCKSTAT_READER);
sys/kern/kern_rwlock.c
746
LOCK_LOG_TRY("RLOCK", &rw->lock_object, 0, 0, file, line);
sys/kern/kern_rwlock.c
751
__rw_try_rlock(volatile uintptr_t *c, const char *file, int line)
sys/kern/kern_rwlock.c
862
("rw_runlock() of destroyed rwlock %p @ %s:%d", rw, file, line));
sys/kern/kern_rwlock.c
863
__rw_assert(&rw->rw_lock, RA_RLOCKED, file, line);
sys/kern/kern_rwlock.c
864
WITNESS_UNLOCK(&rw->lock_object, 0, file, line);
sys/kern/kern_rwlock.c
865
LOCK_LOG_LOCK("RUNLOCK", &rw->lock_object, 0, 0, file, line);
sys/kern/kern_rwlock.c
880
_rw_runlock_cookie(volatile uintptr_t *c, const char *file, int line)
sys/kern/kern_rwlock.c
971
__func__, rw, file, line));
sys/kern/kern_rwlock.c
981
rw->lock_object.lo_name, (void *)rw->rw_lock, file, line);
sys/kern/kern_sema.c
102
cv_wmesg(&sema->sema_cv), sema->sema_value, file, line);
sys/kern/kern_sema.c
108
_sema_timedwait(struct sema *sema, int timo, const char *file, int line)
sys/kern/kern_sema.c
131
cv_wmesg(&sema->sema_cv), sema->sema_value, file, line);
sys/kern/kern_sema.c
134
cv_wmesg(&sema->sema_cv), file, line);
sys/kern/kern_sema.c
142
_sema_trywait(struct sema *sema, const char *file, int line)
sys/kern/kern_sema.c
154
cv_wmesg(&sema->sema_cv), sema->sema_value, file, line);
sys/kern/kern_sema.c
159
cv_wmesg(&sema->sema_cv), file, line);
sys/kern/kern_sema.c
75
_sema_post(struct sema *sema, const char *file, int line)
sys/kern/kern_sema.c
84
cv_wmesg(&sema->sema_cv), sema->sema_value, file, line);
sys/kern/kern_sema.c
90
_sema_wait(struct sema *sema, const char *file, int line)
sys/kern/kern_sx.c
1253
contested, waittime, file, line, LOCKSTAT_READER);
sys/kern/kern_sx.c
1269
curthread, sx, file, line));
sys/kern/kern_sx.c
1271
("sx_slock() of destroyed sx %p @ %s:%d", sx, file, line));
sys/kern/kern_sx.c
1272
WITNESS_CHECKORDER(&sx->lock_object, LOP_NEWORDER, file, line, NULL);
sys/kern/kern_sx.c
1282
file, line);
sys/kern/kern_sx.c
1284
LOCK_LOG_LOCK("SLOCK", &sx->lock_object, 0, 0, file, line);
sys/kern/kern_sx.c
1285
WITNESS_LOCK(&sx->lock_object, 0, file, line);
sys/kern/kern_sx.c
1292
_sx_slock(struct sx *sx, int opts, const char *file, int line)
sys/kern/kern_sx.c
1373
("sx_sunlock() of destroyed sx %p @ %s:%d", sx, file, line));
sys/kern/kern_sx.c
1374
_sx_assert(sx, SA_SLOCKED, file, line);
sys/kern/kern_sx.c
1375
WITNESS_UNLOCK(&sx->lock_object, 0, file, line);
sys/kern/kern_sx.c
1376
LOCK_LOG_LOCK("SUNLOCK", &sx->lock_object, 0, 0, file, line);
sys/kern/kern_sx.c
139
#define _sx_assert(sx, what, file, line)
sys/kern/kern_sx.c
1390
_sx_sunlock(struct sx *sx, const char *file, int line)
sys/kern/kern_sx.c
1407
_sx_assert(const struct sx *sx, int what, const char *file, int line)
sys/kern/kern_sx.c
1427
witness_assert(&sx->lock_object, what, file, line);
sys/kern/kern_sx.c
1439
file, line);
sys/kern/kern_sx.c
1446
line);
sys/kern/kern_sx.c
1449
sx->lock_object.lo_name, file, line);
sys/kern/kern_sx.c
1458
sx->lock_object.lo_name, file, line);
sys/kern/kern_sx.c
1462
sx->lock_object.lo_name, file, line);
sys/kern/kern_sx.c
1465
sx->lock_object.lo_name, file, line);
sys/kern/kern_sx.c
1469
witness_assert(&sx->lock_object, what, file, line);
sys/kern/kern_sx.c
1478
sx->lock_object.lo_name, file, line);
sys/kern/kern_sx.c
1483
line);
sys/kern/kern_sx.c
282
curthread, sx, file, line));
sys/kern/kern_sx.c
288
line));
sys/kern/kern_sx.c
292
LOCK_LOG_TRY("SLOCK", &sx->lock_object, 0, 1, file, line);
sys/kern/kern_sx.c
293
WITNESS_LOCK(&sx->lock_object, LOP_TRYLOCK, file, line);
sys/kern/kern_sx.c
295
sx, 0, 0, file, line, LOCKSTAT_READER);
sys/kern/kern_sx.c
302
LOCK_LOG_TRY("SLOCK", &sx->lock_object, 0, 0, file, line);
sys/kern/kern_sx.c
307
sx_try_slock_(struct sx *sx, const char *file, int line)
sys/kern/kern_sx.c
314
_sx_xlock(struct sx *sx, int opts, const char *file, int line)
sys/kern/kern_sx.c
322
curthread, sx, file, line));
sys/kern/kern_sx.c
324
("sx_xlock() of destroyed sx %p @ %s:%d", sx, file, line));
sys/kern/kern_sx.c
326
line, NULL);
sys/kern/kern_sx.c
333
0, 0, file, line, LOCKSTAT_WRITER);
sys/kern/kern_sx.c
336
file, line);
sys/kern/kern_sx.c
337
WITNESS_LOCK(&sx->lock_object, LOP_EXCLUSIVE, file, line);
sys/kern/kern_sx.c
359
curthread, sx, file, line));
sys/kern/kern_sx.c
361
("sx_try_xlock() of destroyed sx %p @ %s:%d", sx, file, line));
sys/kern/kern_sx.c
380
LOCK_LOG_TRY("XLOCK", &sx->lock_object, 0, rval, file, line);
sys/kern/kern_sx.c
383
file, line);
sys/kern/kern_sx.c
386
sx, 0, 0, file, line, LOCKSTAT_WRITER);
sys/kern/kern_sx.c
394
sx_try_xlock_(struct sx *sx, const char *file, int line)
sys/kern/kern_sx.c
401
_sx_xunlock(struct sx *sx, const char *file, int line)
sys/kern/kern_sx.c
405
("sx_xunlock() of destroyed sx %p @ %s:%d", sx, file, line));
sys/kern/kern_sx.c
406
_sx_assert(sx, SA_XLOCKED, file, line);
sys/kern/kern_sx.c
407
WITNESS_UNLOCK(&sx->lock_object, LOP_EXCLUSIVE, file, line);
sys/kern/kern_sx.c
409
line);
sys/kern/kern_sx.c
411
_sx_xunlock_hard(sx, (uintptr_t)curthread, file, line);
sys/kern/kern_sx.c
413
__sx_xunlock(sx, curthread, file, line);
sys/kern/kern_sx.c
434
("sx_try_upgrade() of destroyed sx %p @ %s:%d", sx, file, line));
sys/kern/kern_sx.c
435
_sx_assert(sx, SA_SLOCKED, file, line);
sys/kern/kern_sx.c
454
LOCK_LOG_TRY("XUPGRADE", &sx->lock_object, 0, success, file, line);
sys/kern/kern_sx.c
458
file, line);
sys/kern/kern_sx.c
465
sx_try_upgrade_(struct sx *sx, const char *file, int line)
sys/kern/kern_sx.c
483
("sx_downgrade() of destroyed sx %p @ %s:%d", sx, file, line));
sys/kern/kern_sx.c
484
_sx_assert(sx, SA_XLOCKED | SA_NOTRECURSED, file, line);
sys/kern/kern_sx.c
490
WITNESS_DOWNGRADE(&sx->lock_object, 0, file, line);
sys/kern/kern_sx.c
529
LOCK_LOG_LOCK("XDOWNGRADE", &sx->lock_object, 0, 0, file, line);
sys/kern/kern_sx.c
534
sx_downgrade_(struct sx *sx, const char *file, int line)
sys/kern/kern_sx.c
622
sx, file, line));
sys/kern/kern_sx.c
632
sx->lock_object.lo_name, (void *)sx->sx_lock, file, line);
sys/kern/kern_sx.c
904
contested, waittime, file, line, LOCKSTAT_WRITER);
sys/kern/subr_epoch.c
223
const char *file, int line)
sys/kern/subr_epoch.c
232
epoch->e_name, file, line,
sys/kern/subr_epoch.c
237
et->et_line = line;
sys/kern/subr_epoch.c
244
const char *file, int line)
sys/kern/subr_epoch.c
251
file, line,
sys/kern/subr_epoch.c
261
file, line);
sys/kern/subr_epoch.c
476
epoch_trace_enter(td, epoch, et, file, line);
sys/kern/subr_epoch.c
539
epoch_trace_exit(td, epoch, et, file, line);
sys/kern/subr_hints.c
122
res_find(char **hintp_cookie, int *line, int *startln,
sys/kern/subr_hints.c
233
(*line)++;
sys/kern/subr_hints.c
246
if (startln && *startln >= 0 && *line < *startln)
sys/kern/subr_hints.c
298
*startln = *line + 1;
sys/kern/subr_hints.c
307
resource_find(int *line, int *startln,
sys/kern/subr_hints.c
316
*line = 0;
sys/kern/subr_hints.c
320
i = res_find(&hintp, line, startln, name, unit, resname, value,
sys/kern/subr_hints.c
329
i = res_find(&hintp, line, startln, name, &un, resname, value,
sys/kern/subr_hints.c
344
int line;
sys/kern/subr_hints.c
346
line = 0;
sys/kern/subr_hints.c
347
error = resource_find(&line, NULL, name, &unit, resname, NULL,
sys/kern/subr_hints.c
368
int line;
sys/kern/subr_hints.c
370
line = 0;
sys/kern/subr_hints.c
371
error = resource_find(&line, NULL, name, &unit, resname, NULL,
sys/kern/subr_hints.c
390
int line;
sys/kern/subr_hints.c
392
line = 0;
sys/kern/subr_hints.c
393
error = resource_find(&line, NULL, name, &unit, resname, NULL,
sys/kern/subr_hints.c
502
int error, line;
sys/kern/subr_hints.c
505
line = 0;
sys/kern/subr_hints.c
506
error = resource_find(&line, NULL, name, &unit, resname, NULL,
sys/kern/subr_hints.c
61
char *line, *eq;
sys/kern/subr_hints.c
73
line = malloc(i + 1, M_TEMP, M_WAITOK);
sys/kern/subr_hints.c
74
strcpy(line, cp);
sys/kern/subr_hints.c
75
line[eqidx] = line[i] = '\0';
sys/kern/subr_hints.c
82
if (testenv(line) == 0)
sys/kern/subr_hints.c
83
kern_setenv(line, line + eqidx + 1);
sys/kern/subr_hints.c
84
free(line, M_TEMP);
sys/kern/subr_lock.c
221
int line;
sys/kern/subr_lock.c
385
p, lp->line, lp->class->lc_name, lp->name);
sys/kern/subr_lock.c
397
dst->line = match->line;
sys/kern/subr_lock.c
406
if (l->file != match->file || l->line != match->line ||
sys/kern/subr_lock.c
517
int line)
sys/kern/subr_lock.c
529
hash = (uintptr_t)lo->lo_name * 31 + (uintptr_t)p * 31 + line;
sys/kern/subr_lock.c
534
if (lp->line == line && lp->file == p &&
sys/kern/subr_lock.c
545
lp->line = line;
sys/kern/subr_lock.c
554
int line)
sys/kern/subr_lock.c
563
l->lpo_line == line)
sys/kern/subr_lock.c
574
l->lpo_line = line;
sys/kern/subr_lock.c
583
int contested, uint64_t waittime, const char *file, int line)
sys/kern/subr_lock.c
609
l = lock_profile_object_lookup(lo, spin, file, line);
sys/kern/subr_stack.c
225
stack_ktr(u_int mask, const char *file, int line, const struct stack *st,
sys/kern/subr_stack.c
240
ktr_tracepoint(mask, file, line, "#%d %p at %s+%#lx",
sys/kern/subr_unit.c
121
_Malloc(size_t foo, int line)
sys/kern/subr_unit.c
124
KASSERT(no_alloc == 0, ("malloc in wrong place() line %d", line));
sys/kern/subr_unit.c
355
check_unrhdr(struct unrhdr *uh, int line)
sys/kern/subr_unit.c
370
up->len, NBITS, line));
sys/kern/subr_unit.c
380
uh->busy, y, line));
sys/kern/subr_unit.c
383
uh->alloc, z, line));
sys/kern/subr_unit.c
389
check_unrhdr(struct unrhdr *uh __unused, int line __unused)
sys/kern/subr_witness.c
1440
int line, struct lock_object *interlock)
sys/kern/subr_witness.c
1468
fixup_filename(file), line);
sys/kern/subr_witness.c
1506
fixup_filename(file), line);
sys/kern/subr_witness.c
1515
fixup_filename(file), line);
sys/kern/subr_witness.c
1530
fixup_filename(file), line);
sys/kern/subr_witness.c
1534
fixup_filename(file), line);
sys/kern/subr_witness.c
1592
fixup_filename(file), line);
sys/kern/subr_witness.c
1770
line);
sys/kern/subr_witness.c
1787
line);
sys/kern/subr_witness.c
1871
witness_lock(struct lock_object *lock, int flags, const char *file, int line)
sys/kern/subr_witness.c
1892
w->w_line = line;
sys/kern/subr_witness.c
1917
instance->li_line = line;
sys/kern/subr_witness.c
1929
witness_upgrade(struct lock_object *lock, int flags, const char *file, int line)
sys/kern/subr_witness.c
1943
fixup_filename(file), line);
sys/kern/subr_witness.c
1948
fixup_filename(file), line);
sys/kern/subr_witness.c
1954
fixup_filename(file), line);
sys/kern/subr_witness.c
1962
fixup_filename(file), line);
sys/kern/subr_witness.c
1968
fixup_filename(file), line);
sys/kern/subr_witness.c
1975
int line)
sys/kern/subr_witness.c
1989
fixup_filename(file), line);
sys/kern/subr_witness.c
1994
fixup_filename(file), line);
sys/kern/subr_witness.c
2000
fixup_filename(file), line);
sys/kern/subr_witness.c
2008
fixup_filename(file), line);
sys/kern/subr_witness.c
2014
fixup_filename(file), line);
sys/kern/subr_witness.c
2020
witness_unlock(struct lock_object *lock, int flags, const char *file, int line)
sys/kern/subr_witness.c
2055
lock->lo_name, fixup_filename(file), line);
sys/kern/subr_witness.c
2066
class->lc_name, lock->lo_name, fixup_filename(file), line);
sys/kern/subr_witness.c
2074
class->lc_name, lock->lo_name, fixup_filename(file), line);
sys/kern/subr_witness.c
2091
class->lc_name, lock->lo_name, fixup_filename(file), line);
sys/kern/subr_witness.c
2762
witness_restore(struct lock_object *lock, const char *file, int line)
sys/kern/subr_witness.c
2791
lock->lo_witness->w_line = line;
sys/kern/subr_witness.c
2795
instance->li_line = line;
sys/kern/subr_witness.c
2826
int line)
sys/kern/subr_witness.c
2840
fixup_filename(file), line);
sys/kern/subr_witness.c
2854
fixup_filename(file), line);
sys/kern/subr_witness.c
2862
fixup_filename(file), line);
sys/kern/subr_witness.c
2868
fixup_filename(file), line);
sys/kern/subr_witness.c
2873
fixup_filename(file), line);
sys/kern/subr_witness.c
2878
fixup_filename(file), line);
sys/kern/subr_witness.c
2882
fixup_filename(file), line);
sys/kern/sys_generic.c
2361
uint64ptr_t pp2, int line)
sys/kern/sys_generic.c
2373
td->td_kexterr.src_line = line;
sys/kern/uipc_sockbuf.c
1098
sbcheck(struct sockbuf *sb, const char *file, int line)
sys/kern/uipc_sockbuf.c
1178
panic("%s from %s:%u", __func__, file, line);
sys/kern/uipc_sockbuf.c
846
sblastrecordchk(struct sockbuf *sb, const char *file, int line)
sys/kern/uipc_sockbuf.c
861
panic("%s from %s:%u", __func__, file, line);
sys/kern/uipc_sockbuf.c
866
sblastmbufchk(struct sockbuf *sb, const char *file, int line)
sys/kern/uipc_sockbuf.c
889
panic("%s from %s:%u", __func__, file, line);
sys/kern/uipc_sockbuf.c
906
panic("%s from %s:%u", __func__, file, line);
sys/kern/vfs_cache.c
3643
cache_rev_failed_impl(int *reason, int line)
sys/kern/vfs_cache.c
3646
*reason = line;
sys/kern/vfs_cache.c
4324
int line;
sys/kern/vfs_cache.c
4471
cache_fpl_aborted_early_impl(struct cache_fpl *fpl, int line)
sys/kern/vfs_cache.c
4477
__func__, fpl->status, line, fpl->line));
sys/kern/vfs_cache.c
4481
fpl->line = line;
sys/kern/vfs_cache.c
4488
cache_fpl_aborted_impl(struct cache_fpl *fpl, int line)
sys/kern/vfs_cache.c
4499
__func__, fpl->status, line, fpl->line));
sys/kern/vfs_cache.c
4502
fpl->line = line;
sys/kern/vfs_cache.c
4520
cache_fpl_partial_impl(struct cache_fpl *fpl, int line)
sys/kern/vfs_cache.c
4525
__func__, line, fpl->status, fpl->line));
sys/kern/vfs_cache.c
4528
fpl->line = line;
sys/kern/vfs_cache.c
4535
cache_fpl_handled_impl(struct cache_fpl *fpl, int line)
sys/kern/vfs_cache.c
4540
__func__, line, fpl->status, fpl->line));
sys/kern/vfs_cache.c
4543
fpl->line = line;
sys/kern/vfs_cache.c
4550
cache_fpl_handled_error_impl(struct cache_fpl *fpl, int error, int line)
sys/kern/vfs_cache.c
4555
__func__, line, fpl->status, fpl->line));
sys/kern/vfs_cache.c
4560
fpl->line = line;
sys/kern/vfs_cache.c
6490
SDT_PROBE3(vfs, fplookup, lookup, done, ndp, fpl.line, fpl.status);
sys/kern/vfs_cache.c
6529
SDT_PROBE3(vfs, fplookup, lookup, done, ndp, fpl.line, fpl.status);
sys/kern/vfs_lookup.c
1702
NDVALIDATE_impl(struct nameidata *ndp, int line)
sys/kern/vfs_lookup.c
1708
panic("%s: got no buf! called from %d", __func__, line);
sys/kern/vfs_vnops.c
1926
_vn_lock_fallback(struct vnode *vp, int flags, const char *file, int line,
sys/kern/vfs_vnops.c
1957
error = VOP_LOCK1(vp, flags, file, line);
sys/kern/vfs_vnops.c
1963
vn_lock_delayed_setsize(struct vnode *vp, int flags, const char *file, int line)
sys/kern/vfs_vnops.c
2005
ap.a_line = line;
sys/kern/vfs_vnops.c
2030
_vn_lock(struct vnode *vp, int flags, const char *file, int line)
sys/kern/vfs_vnops.c
2037
error = VOP_LOCK1(vp, flags, file, line);
sys/kern/vfs_vnops.c
2039
error = _vn_lock_fallback(vp, flags, file, line, error);
sys/kern/vfs_vnops.c
2043
return (vn_lock_delayed_setsize(vp, flags, file, line));
sys/net/altq/altq_subr.c
264
altq_assert(const char *file, int line, const char *failedexpr)
sys/net/altq/altq_subr.c
267
failedexpr, file, line);
sys/net/vnet.c
715
vnet_log_recursion(struct vnet *old_vnet, const char *old_fn, int line)
sys/net/vnet.c
723
vnr->where_line == line &&
sys/net/vnet.c
732
vnr->where_line = line;
sys/net80211/ieee80211_node.c
1425
const char *func __debrefcnt_used, int line __debrefcnt_used)
sys/net80211/ieee80211_node.c
1444
"%s (%s:%u) %p<%s> refcnt %d\n", __func__, func, line, ni,
sys/net80211/ieee80211_node.c
1631
const char *func __debrefcnt_used, int line __debrefcnt_used)
sys/net80211/ieee80211_node.c
1645
func, line,
sys/net80211/ieee80211_node.c
1658
const char *func __debrefcnt_used, int line __debrefcnt_used)
sys/net80211/ieee80211_node.c
1663
ni = _ieee80211_find_node_locked(nt, macaddr, func, line);
sys/net80211/ieee80211_node.c
1671
const char *func __debrefcnt_used, int line __debrefcnt_used)
sys/net80211/ieee80211_node.c
1686
func, line,
sys/net80211/ieee80211_node.c
1699
const char *func __debrefcnt_used, int line __debrefcnt_used)
sys/net80211/ieee80211_node.c
1704
ni = _ieee80211_find_vap_node_locked(nt, vap, macaddr, func, line);
sys/net80211/ieee80211_node.c
1954
const char *func __debrefcnt_used, int line __debrefcnt_used)
sys/net80211/ieee80211_node.c
1958
return _ieee80211_find_node_locked(nt, wh->i_addr2, func, line);
sys/net80211/ieee80211_node.c
1969
const char *func __debrefcnt_used, int line __debrefcnt_used)
sys/net80211/ieee80211_node.c
1976
ni = _find_rxnode(nt, wh, func, line);
sys/net80211/ieee80211_node.c
1993
const char *func __debrefcnt_used, int line __debrefcnt_used)
sys/net80211/ieee80211_node.c
2005
ni = _find_rxnode(nt, wh, func, line);
sys/net80211/ieee80211_node.c
2043
const char *func __debrefcnt_used, int line __debrefcnt_used)
sys/net80211/ieee80211_node.c
2061
ni = _ieee80211_find_node_locked(nt, macaddr, func, line);
sys/net80211/ieee80211_node.c
2091
const char *func __debrefcnt_used, int line __debrefcnt_used)
sys/net80211/ieee80211_node.c
2096
"%s (%s:%u) %p<%s> refcnt %d\n", __func__, func, line, ni,
sys/net80211/ieee80211_node.c
2154
const char *func __debrefcnt_used, int line __debrefcnt_used)
sys/net80211/ieee80211_node.c
2160
"%s (%s:%u) %p<%s> refcnt %d\n", __func__, func, line, ni,
sys/net80211/ieee80211_node.h
457
const char *func, int line);
sys/net80211/ieee80211_node.h
459
const char *func, int line);
sys/net80211/ieee80211_node.h
463
const char *func, int line);
sys/net80211/ieee80211_node.h
466
const char *func, int line);
sys/net80211/ieee80211_node.h
471
const char *func, int line);
sys/net80211/ieee80211_node.h
476
const char *func, int line);
sys/net80211/ieee80211_node.h
479
const char *func, int line);
sys/net80211/ieee80211_node.h
483
const char *func, int line);
sys/net80211/ieee80211_node.h
486
const char *func, int line);
sys/netgraph/bluetooth/include/ng_btsocket_rfcomm.h
209
#define RFCOMM_RPN_DATA_BITS(line) ((line) & 0x3)
sys/netgraph/bluetooth/include/ng_btsocket_rfcomm.h
210
#define RFCOMM_RPN_STOP_BITS(line) (((line) >> 2) & 0x1)
sys/netgraph/bluetooth/include/ng_btsocket_rfcomm.h
211
#define RFCOMM_RPN_PARITY(line) (((line) >> 3) & 0x3)
sys/netgraph/netgraph.h
180
void dumphook (hook_p hook, char *file, int line);
sys/netgraph/netgraph.h
181
static __inline void _chkhook(hook_p hook, char *file, int line);
sys/netgraph/netgraph.h
182
static __inline void _ng_hook_ref(hook_p hook, char * file, int line);
sys/netgraph/netgraph.h
183
static __inline char * _ng_hook_name(hook_p hook, char * file, int line);
sys/netgraph/netgraph.h
184
static __inline void _ng_hook_unref(hook_p hook, char * file, int line);
sys/netgraph/netgraph.h
186
void * val, char * file, int line);
sys/netgraph/netgraph.h
188
ng_rcvmsg_t *val, char * file, int line);
sys/netgraph/netgraph.h
190
ng_rcvdata_t *val, char * file, int line);
sys/netgraph/netgraph.h
191
static __inline void * _ng_hook_private(hook_p hook, char * file, int line);
sys/netgraph/netgraph.h
192
static __inline int _ng_hook_not_valid(hook_p hook, char * file, int line);
sys/netgraph/netgraph.h
193
static __inline int _ng_hook_is_valid(hook_p hook, char * file, int line);
sys/netgraph/netgraph.h
194
static __inline node_p _ng_hook_node(hook_p hook, char * file, int line);
sys/netgraph/netgraph.h
195
static __inline hook_p _ng_hook_peer(hook_p hook, char * file, int line);
sys/netgraph/netgraph.h
197
int line);
sys/netgraph/netgraph.h
199
int line);
sys/netgraph/netgraph.h
201
int line);
sys/netgraph/netgraph.h
204
_chkhook(hook_p hook, char *file, int line)
sys/netgraph/netgraph.h
208
dumphook(hook, file, line);
sys/netgraph/netgraph.h
210
hook->lastline = line;
sys/netgraph/netgraph.h
215
_ng_hook_ref(hook_p hook, char * file, int line)
sys/netgraph/netgraph.h
217
_chkhook(hook, file, line);
sys/netgraph/netgraph.h
222
_ng_hook_name(hook_p hook, char * file, int line)
sys/netgraph/netgraph.h
224
_chkhook(hook, file, line);
sys/netgraph/netgraph.h
229
_ng_hook_unref(hook_p hook, char * file, int line)
sys/netgraph/netgraph.h
231
_chkhook(hook, file, line);
sys/netgraph/netgraph.h
236
_ng_hook_set_private(hook_p hook, void *val, char * file, int line)
sys/netgraph/netgraph.h
238
_chkhook(hook, file, line);
sys/netgraph/netgraph.h
243
_ng_hook_set_rcvmsg(hook_p hook, ng_rcvmsg_t *val, char * file, int line)
sys/netgraph/netgraph.h
245
_chkhook(hook, file, line);
sys/netgraph/netgraph.h
250
_ng_hook_set_rcvdata(hook_p hook, ng_rcvdata_t *val, char * file, int line)
sys/netgraph/netgraph.h
252
_chkhook(hook, file, line);
sys/netgraph/netgraph.h
257
_ng_hook_private(hook_p hook, char * file, int line)
sys/netgraph/netgraph.h
259
_chkhook(hook, file, line);
sys/netgraph/netgraph.h
264
_ng_hook_not_valid(hook_p hook, char * file, int line)
sys/netgraph/netgraph.h
266
_chkhook(hook, file, line);
sys/netgraph/netgraph.h
271
_ng_hook_is_valid(hook_p hook, char * file, int line)
sys/netgraph/netgraph.h
273
_chkhook(hook, file, line);
sys/netgraph/netgraph.h
278
_ng_hook_node(hook_p hook, char * file, int line)
sys/netgraph/netgraph.h
280
_chkhook(hook, file, line);
sys/netgraph/netgraph.h
285
_ng_hook_peer(hook_p hook, char * file, int line)
sys/netgraph/netgraph.h
287
_chkhook(hook, file, line);
sys/netgraph/netgraph.h
292
_ng_hook_force_writer(hook_p hook, char * file, int line)
sys/netgraph/netgraph.h
294
_chkhook(hook, file, line);
sys/netgraph/netgraph.h
299
_ng_hook_force_queue(hook_p hook, char * file, int line)
sys/netgraph/netgraph.h
301
_chkhook(hook, file, line);
sys/netgraph/netgraph.h
306
_ng_hook_set_to_inbound(hook_p hook, char * file, int line)
sys/netgraph/netgraph.h
308
_chkhook(hook, file, line);
sys/netgraph/netgraph.h
313
_ng_hook_hi_stack(hook_p hook, char * file, int line)
sys/netgraph/netgraph.h
315
_chkhook(hook, file, line);
sys/netgraph/netgraph.h
450
void dumpnode(node_p node, char *file, int line);
sys/netgraph/netgraph.h
451
static __inline void _chknode(node_p node, char *file, int line);
sys/netgraph/netgraph.h
452
static __inline char * _ng_node_name(node_p node, char *file, int line);
sys/netgraph/netgraph.h
453
static __inline int _ng_node_has_name(node_p node, char *file, int line);
sys/netgraph/netgraph.h
454
static __inline ng_ID_t _ng_node_id(node_p node, char *file, int line);
sys/netgraph/netgraph.h
455
static __inline void _ng_node_ref(node_p node, char *file, int line);
sys/netgraph/netgraph.h
456
static __inline void _ng_node_unref(node_p node, char *file, int line);
sys/netgraph/netgraph.h
458
char *file, int line);
sys/netgraph/netgraph.h
459
static __inline void * _ng_node_private(node_p node, char *file, int line);
sys/netgraph/netgraph.h
460
static __inline int _ng_node_is_valid(node_p node, char *file, int line);
sys/netgraph/netgraph.h
461
static __inline int _ng_node_not_valid(node_p node, char *file, int line);
sys/netgraph/netgraph.h
462
static __inline int _ng_node_numhooks(node_p node, char *file, int line);
sys/netgraph/netgraph.h
463
static __inline void _ng_node_force_writer(node_p node, char *file, int line);
sys/netgraph/netgraph.h
465
ng_fn_eachhook *fn, void *arg, char *file, int line);
sys/netgraph/netgraph.h
466
static __inline void _ng_node_revive(node_p node, char *file, int line);
sys/netgraph/netgraph.h
469
_chknode(node_p node, char *file, int line)
sys/netgraph/netgraph.h
473
dumpnode(node, file, line);
sys/netgraph/netgraph.h
475
node->lastline = line;
sys/netgraph/netgraph.h
480
_ng_node_name(node_p node, char *file, int line)
sys/netgraph/netgraph.h
482
_chknode(node, file, line);
sys/netgraph/netgraph.h
487
_ng_node_has_name(node_p node, char *file, int line)
sys/netgraph/netgraph.h
489
_chknode(node, file, line);
sys/netgraph/netgraph.h
494
_ng_node_id(node_p node, char *file, int line)
sys/netgraph/netgraph.h
496
_chknode(node, file, line);
sys/netgraph/netgraph.h
501
_ng_node_ref(node_p node, char *file, int line)
sys/netgraph/netgraph.h
503
_chknode(node, file, line);
sys/netgraph/netgraph.h
508
_ng_node_unref(node_p node, char *file, int line)
sys/netgraph/netgraph.h
510
_chknode(node, file, line);
sys/netgraph/netgraph.h
515
_ng_node_set_private(node_p node, void * val, char *file, int line)
sys/netgraph/netgraph.h
517
_chknode(node, file, line);
sys/netgraph/netgraph.h
522
_ng_node_private(node_p node, char *file, int line)
sys/netgraph/netgraph.h
524
_chknode(node, file, line);
sys/netgraph/netgraph.h
529
_ng_node_is_valid(node_p node, char *file, int line)
sys/netgraph/netgraph.h
531
_chknode(node, file, line);
sys/netgraph/netgraph.h
536
_ng_node_not_valid(node_p node, char *file, int line)
sys/netgraph/netgraph.h
538
_chknode(node, file, line);
sys/netgraph/netgraph.h
543
_ng_node_numhooks(node_p node, char *file, int line)
sys/netgraph/netgraph.h
545
_chknode(node, file, line);
sys/netgraph/netgraph.h
550
_ng_node_force_writer(node_p node, char *file, int line)
sys/netgraph/netgraph.h
552
_chknode(node, file, line);
sys/netgraph/netgraph.h
557
_ng_node_hi_stack(node_p node, char *file, int line)
sys/netgraph/netgraph.h
559
_chknode(node, file, line);
sys/netgraph/netgraph.h
564
_ng_node_really_die(node_p node, char *file, int line)
sys/netgraph/netgraph.h
566
_chknode(node, file, line);
sys/netgraph/netgraph.h
571
_ng_node_revive(node_p node, char *file, int line)
sys/netgraph/netgraph.h
573
_chknode(node, file, line);
sys/netgraph/netgraph.h
579
char *file, int line)
sys/netgraph/netgraph.h
581
_chknode(node, file, line);
sys/netgraph/netgraph.h
720
void dumpitem(item_p item, char *file, int line);
sys/netgraph/netgraph.h
721
static __inline void _ngi_check(item_p item, char *file, int line) ;
sys/netgraph/netgraph.h
722
static __inline struct mbuf ** _ngi_m(item_p item, char *file, int line) ;
sys/netgraph/netgraph.h
723
static __inline ng_ID_t * _ngi_retaddr(item_p item, char *file, int line);
sys/netgraph/netgraph.h
724
static __inline struct ng_mesg ** _ngi_msg(item_p item, char *file, int line) ;
sys/netgraph/netgraph.h
725
static __inline ng_item_fn ** _ngi_fn(item_p item, char *file, int line) ;
sys/netgraph/netgraph.h
726
static __inline ng_item_fn2 ** _ngi_fn2(item_p item, char *file, int line) ;
sys/netgraph/netgraph.h
727
static __inline void ** _ngi_arg1(item_p item, char *file, int line) ;
sys/netgraph/netgraph.h
728
static __inline int * _ngi_arg2(item_p item, char *file, int line) ;
sys/netgraph/netgraph.h
729
static __inline node_p _ngi_node(item_p item, char *file, int line);
sys/netgraph/netgraph.h
730
static __inline hook_p _ngi_hook(item_p item, char *file, int line);
sys/netgraph/netgraph.h
733
_ngi_check(item_p item, char *file, int line)
sys/netgraph/netgraph.h
735
(item)->lastline = line;
sys/netgraph/netgraph.h
740
_ngi_m(item_p item, char *file, int line)
sys/netgraph/netgraph.h
742
_ngi_check(item, file, line);
sys/netgraph/netgraph.h
747
_ngi_msg(item_p item, char *file, int line)
sys/netgraph/netgraph.h
749
_ngi_check(item, file, line);
sys/netgraph/netgraph.h
754
_ngi_retaddr(item_p item, char *file, int line)
sys/netgraph/netgraph.h
756
_ngi_check(item, file, line);
sys/netgraph/netgraph.h
761
_ngi_fn(item_p item, char *file, int line)
sys/netgraph/netgraph.h
763
_ngi_check(item, file, line);
sys/netgraph/netgraph.h
768
_ngi_fn2(item_p item, char *file, int line)
sys/netgraph/netgraph.h
770
_ngi_check(item, file, line);
sys/netgraph/netgraph.h
775
_ngi_arg1(item_p item, char *file, int line)
sys/netgraph/netgraph.h
777
_ngi_check(item, file, line);
sys/netgraph/netgraph.h
782
_ngi_arg2(item_p item, char *file, int line)
sys/netgraph/netgraph.h
784
_ngi_check(item, file, line);
sys/netgraph/netgraph.h
789
_ngi_node(item_p item, char *file, int line)
sys/netgraph/netgraph.h
791
_ngi_check(item, file, line);
sys/netgraph/netgraph.h
796
_ngi_hook(item_p item, char *file, int line)
sys/netgraph/netgraph.h
798
_ngi_check(item, file, line);
sys/netgraph/ng_base.c
3264
dumphook (hook_p hook, char *file, int line)
sys/netgraph/ng_base.c
3270
if (line) {
sys/netgraph/ng_base.c
3271
printf(" problem discovered at file %s, line %d\n", file, line);
sys/netgraph/ng_base.c
3279
dumpnode(node_p node, char *file, int line)
sys/netgraph/ng_base.c
3287
if (line) {
sys/netgraph/ng_base.c
3288
printf(" problem discovered at file %s, line %d\n", file, line);
sys/netgraph/ng_base.c
3296
dumpitem(item_p item, char *file, int line)
sys/netgraph/ng_base.c
3326
if (line) {
sys/netgraph/ng_base.c
3327
printf(" problem discovered at file %s, line %d\n", file, line);
sys/netinet/tcp_log_buf.c
1120
int line)
sys/netinet/tcp_log_buf.c
1127
func, line, log_entry, refcnt);
sys/netinet/tcp_log_buf.c
1134
int line)
sys/netinet/tcp_log_buf.c
1141
func, line, log_entry, refcnt);
sys/netinet/tcp_log_buf.c
1688
const char *output_caller, const char *func, int line, const struct timeval *itv)
sys/netinet/tcp_log_buf.c
1696
KASSERT((func == NULL && line == 0) || (func != NULL && line > 0),
sys/netinet/tcp_log_buf.c
1698
__func__, func, line));
sys/netinet/tcp_log_buf.c
1916
log_verbose->tlv_trace_line = line;
sys/netinet/tcp_log_buf.h
558
const char *output_caller, const char *func, int line, const struct timeval *tv);
sys/netinet/tcp_log_buf.h
583
const char *output_caller, const char *func, int line,
sys/netinet/tcp_stacks/bbr.c
10278
bbr_substate_change(struct tcp_bbr *bbr, uint32_t cts, int32_t line, int dolog)
sys/netinet/tcp_stacks/bbr.c
10377
bbr_log_type_statechange(bbr, cts, line);
sys/netinet/tcp_stacks/bbr.c
10607
bbr_set_state_target(struct tcp_bbr *bbr, int line)
sys/netinet/tcp_stacks/bbr.c
10645
bbr_log_set_of_state_target(bbr, tar, line, meth);
sys/netinet/tcp_stacks/bbr.c
10650
bbr_enter_probe_rtt(struct tcp_bbr *bbr, uint32_t cts, int32_t line)
sys/netinet/tcp_stacks/bbr.c
10720
bbr_log_type_statechange(bbr, cts, line);
sys/netinet/tcp_stacks/bbr.c
11256
bbr_check_bbr_for_state(struct tcp_bbr *bbr, uint32_t cts, int32_t line, uint32_t losses)
sys/netinet/tcp_stacks/bbr.c
11261
bbr_set_epoch(bbr, cts, line);
sys/netinet/tcp_stacks/bbr.c
1997
bbr_log_pkt_epoch(struct tcp_bbr *bbr, uint32_t cts, uint32_t line,
sys/netinet/tcp_stacks/bbr.c
2010
log.u_bbr.flex7 = line;
sys/netinet/tcp_stacks/bbr.c
2022
bbr_log_time_epoch(struct tcp_bbr *bbr, uint32_t cts, uint32_t line, uint32_t epoch_time)
sys/netinet/tcp_stacks/bbr.c
2031
log.u_bbr.flex7 = line;
sys/netinet/tcp_stacks/bbr.c
2041
bbr_log_set_of_state_target(struct tcp_bbr *bbr, uint32_t new_tar, int line, int meth)
sys/netinet/tcp_stacks/bbr.c
2049
log.u_bbr.flex3 = line;
sys/netinet/tcp_stacks/bbr.c
2065
bbr_log_type_statechange(struct tcp_bbr *bbr, uint32_t cts, int32_t line)
sys/netinet/tcp_stacks/bbr.c
2071
log.u_bbr.flex1 = line;
sys/netinet/tcp_stacks/bbr.c
2093
uint32_t rtt, uint32_t line, uint8_t reas, uint16_t cond)
sys/netinet/tcp_stacks/bbr.c
2099
log.u_bbr.flex1 = line;
sys/netinet/tcp_stacks/bbr.c
2135
uint32_t prev_acked, int32_t meth, uint32_t target, uint32_t th_ack, int32_t line)
sys/netinet/tcp_stacks/bbr.c
2141
log.u_bbr.flex1 = line;
sys/netinet/tcp_stacks/bbr.c
2185
bbr_log_type_pesist(struct tcp_bbr *bbr, uint32_t cts, uint32_t time_in, int32_t line, uint8_t enter_exit)
sys/netinet/tcp_stacks/bbr.c
2192
log.u_bbr.flex2 = line;
sys/netinet/tcp_stacks/bbr.c
2296
int32_t line, uint32_t o_len, uint32_t segcnt, uint32_t segsiz)
sys/netinet/tcp_stacks/bbr.c
2302
log.u_bbr.flex1 = line;
sys/netinet/tcp_stacks/bbr.c
2518
bbr_log_to_cancel(struct tcp_bbr *bbr, int32_t line, uint32_t cts, uint8_t hpts_removed)
sys/netinet/tcp_stacks/bbr.c
2524
log.u_bbr.flex1 = line;
sys/netinet/tcp_stacks/bbr.c
2592
uint32_t flags, uint32_t line)
sys/netinet/tcp_stacks/bbr.c
2598
log.u_bbr.flex1 = line;
sys/netinet/tcp_stacks/bbr.c
2680
bbr_log_progress_event(struct tcp_bbr *bbr, struct tcpcb *tp, uint32_t tick, int event, int line)
sys/netinet/tcp_stacks/bbr.c
2686
log.u_bbr.flex1 = line;
sys/netinet/tcp_stacks/bbr.c
2701
uint64_t rate, uint64_t hw_rate, int line, uint32_t cts,
sys/netinet/tcp_stacks/bbr.c
2714
log.u_bbr.flex5 = line;
sys/netinet/tcp_stacks/bbr.c
2731
bbr_log_type_bbrsnd(struct tcp_bbr *bbr, uint32_t len, uint32_t pacing_delay, uint32_t del_by, uint32_t cts, uint32_t line, uint32_t prev_delay)
sys/netinet/tcp_stacks/bbr.c
2740
log.u_bbr.flex4 = line;
sys/netinet/tcp_stacks/bbr.c
2836
bbr_set_pktepoch(struct tcp_bbr *bbr, uint32_t cts, int32_t line)
sys/netinet/tcp_stacks/bbr.c
2868
bbr_log_pkt_epoch(bbr, cts, line, lost, del);
sys/netinet/tcp_stacks/bbr.c
2874
bbr_set_epoch(struct tcp_bbr *bbr, uint32_t cts, int32_t line)
sys/netinet/tcp_stacks/bbr.c
2881
bbr_log_time_epoch(bbr, cts, line, epoch_time);
sys/netinet/tcp_stacks/bbr.c
2886
bbr_isit_a_pkt_epoch(struct tcp_bbr *bbr, uint32_t cts, struct bbr_sendmap *rsm, int32_t line, int32_t cum_acked)
sys/netinet/tcp_stacks/bbr.c
3577
uint32_t sack_changed, uint32_t prev_acked, int32_t line, uint32_t losses)
sys/netinet/tcp_stacks/bbr.c
3664
losses, 10, 0, 0, line);
sys/netinet/tcp_stacks/bbr.c
3683
prev_acked, 1, target_cwnd, th->th_ack, line);
sys/netinet/tcp_stacks/bbr.c
3726
bbr_log_type_cwndupd(bbr, saved_bytes, sack_changed, prev_acked, meth, target_cwnd, th->th_ack, line);
sys/netinet/tcp_stacks/bbr.c
445
bbr_substate_change(struct tcp_bbr *bbr, uint32_t cts, int line,
sys/netinet/tcp_stacks/bbr.c
462
int32_t line);
sys/netinet/tcp_stacks/bbr.c
464
bbr_set_state_target(struct tcp_bbr *bbr, int line);
sys/netinet/tcp_stacks/bbr.c
466
bbr_enter_probe_rtt(struct tcp_bbr *bbr, uint32_t cts, int32_t line);
sys/netinet/tcp_stacks/bbr.c
469
int event, int line);
sys/netinet/tcp_stacks/bbr.c
476
uint32_t rtt, uint32_t line, uint8_t is_start,
sys/netinet/tcp_stacks/bbr.c
497
int32_t line);
sys/netinet/tcp_stacks/bbr.c
505
bbr_timer_cancel(struct tcp_bbr *bbr, int32_t line, uint32_t cts);
sys/netinet/tcp_stacks/bbr.c
5229
bbr_timer_cancel(struct tcp_bbr *bbr, int32_t line, uint32_t cts)
sys/netinet/tcp_stacks/bbr.c
5261
bbr_log_to_cancel(bbr, line, cts, hpts_removed);
sys/netinet/tcp_stacks/bbr.c
6389
bbr_set_reduced_rtt(struct tcp_bbr *bbr, uint32_t cts, uint32_t line)
sys/netinet/tcp_stacks/bbr.c
7872
bbr_enter_persist(struct tcpcb *tp, struct tcp_bbr *bbr, uint32_t cts, int32_t line)
sys/netinet/tcp_stacks/bbr.c
7881
bbr_log_type_pesist(bbr, cts, 0, line, 1);
sys/netinet/tcp_stacks/bbr.c
7931
bbr_exit_persist(struct tcpcb *tp, struct tcp_bbr *bbr, uint32_t cts, int32_t line)
sys/netinet/tcp_stacks/bbr.c
7955
bbr_log_type_pesist(bbr, cts, idle_time, line, 0);
sys/netinet/tcp_stacks/rack.c
11094
struct tcp_sendfile_track *cur, uint8_t mod, int line, int err)
sys/netinet/tcp_stacks/rack.c
11117
log.u_bbr.cwnd_gain = line;
sys/netinet/tcp_stacks/rack.c
11923
rack_log_collapse(struct tcp_rack *rack, uint32_t cnt, uint32_t split, uint32_t out, int line,
sys/netinet/tcp_stacks/rack.c
11934
log.u_bbr.flex4 = line;
sys/netinet/tcp_stacks/rack.c
11957
rack_collapsed_window(struct tcp_rack *rack, uint32_t out, tcp_seq th_ack, int line)
sys/netinet/tcp_stacks/rack.c
11973
rack_log_collapse(rack, 0, th_ack, rack->r_ctl.last_collapse_point, line, 1, 0, NULL);
sys/netinet/tcp_stacks/rack.c
11977
rack_un_collapse_window(struct tcp_rack *rack, int line)
sys/netinet/tcp_stacks/rack.c
11989
rack_log_collapse(rack, 0, 0, ctf_outstanding(rack->rc_tp), line, 0, 0, NULL);
sys/netinet/tcp_stacks/rack.c
11995
rack->r_ctl.last_collapse_point, line, 3, rsm->r_flags, rsm);
sys/netinet/tcp_stacks/rack.c
12030
rack_log_collapse(rack, nrsm->r_start, nrsm->r_end, 0, line, 4, nrsm->r_flags, nrsm);
sys/netinet/tcp_stacks/rack.c
12036
rack_log_collapse(rack, cnt, split, ctf_outstanding(rack->rc_tp), line, 0, 0, NULL);
sys/netinet/tcp_stacks/rack.c
13844
rack_set_pace_segments(struct tcpcb *tp, struct tcp_rack *rack, uint32_t line, uint64_t *fill_override)
sys/netinet/tcp_stacks/rack.c
13927
rack_log_type_pacing_sizes(tp, rack, orig_min, orig_max, line, 2);
sys/netinet/tcp_stacks/rack.c
16980
int line, struct rack_sendmap *rsm, uint8_t quality)
sys/netinet/tcp_stacks/rack.c
17022
log.u_bbr.pkt_epoch = line;
sys/netinet/tcp_stacks/rack.c
17308
rack_get_pacing_delay(struct tcp_rack *rack, struct tcpcb *tp, uint32_t len, struct rack_sendmap *rsm, uint32_t segsiz, int line)
sys/netinet/tcp_stacks/rack.c
17975
int rsm_is_null, int optlen, int line, uint16_t mode)
sys/netinet/tcp_stacks/rack.c
17997
log.u_bbr.delivered = line;
sys/netinet/tcp_stacks/rack.c
1869
struct tcp_sendfile_track *cur, int line)
sys/netinet/tcp_stacks/rack.c
18918
uint32_t cts, uint32_t ms_cts, struct timeval *tv, long *tot_len, int *send_err, int line)
sys/netinet/tcp_stacks/rack.c
1906
log.u_bbr.cwnd_gain = line;
sys/netinet/tcp_stacks/rack.c
19274
log.u_bbr.pkt_epoch = line;
sys/netinet/tcp_stacks/rack.c
1991
rack_log_hybrid_sends(struct tcp_rack *rack, struct tcp_sendfile_track *cur, int line)
sys/netinet/tcp_stacks/rack.c
2021
log.u_bbr.cwnd_gain = line;
sys/netinet/tcp_stacks/rack.c
2422
uint64_t rate, uint64_t hw_rate, int line,
sys/netinet/tcp_stacks/rack.c
2448
log.u_bbr.flex5 = line;
sys/netinet/tcp_stacks/rack.c
2660
int flag, uint32_t th_ack, int line)
sys/netinet/tcp_stacks/rack.c
2690
log.u_bbr.applimited = line;
sys/netinet/tcp_stacks/rack.c
2883
rack_log_progress_event(struct tcp_rack *rack, struct tcpcb *tp, uint32_t tick, int event, int line)
sys/netinet/tcp_stacks/rack.c
2891
log.u_bbr.flex1 = line;
sys/netinet/tcp_stacks/rack.c
2913
rack_log_type_bbrsnd(struct tcp_rack *rack, uint32_t len, uint32_t pacing_delay, uint32_t cts, struct timeval *tv, int line)
sys/netinet/tcp_stacks/rack.c
2926
log.u_bbr.flex6 = line;
sys/netinet/tcp_stacks/rack.c
3055
rack_log_to_cancel(struct tcp_rack *rack, int32_t hpts_removed, int line, uint32_t us_cts,
sys/netinet/tcp_stacks/rack.c
3063
log.u_bbr.flex1 = line;
sys/netinet/tcp_stacks/rack.c
3155
rack_log_to_prr(struct tcp_rack *rack, int frm, int orig_cwnd, int line)
sys/netinet/tcp_stacks/rack.c
3171
log.u_bbr.flex7 = line;
sys/netinet/tcp_stacks/rack.c
3527
uint64_t up_bnd, int line, uint8_t method)
sys/netinet/tcp_stacks/rack.c
3552
log.u_bbr.pkt_epoch = line;
sys/netinet/tcp_stacks/rack.c
3975
uint32_t rtt, uint32_t line, uint8_t reas)
sys/netinet/tcp_stacks/rack.c
3982
log.u_bbr.flex1 = line;
sys/netinet/tcp_stacks/rack.c
423
rack_log_progress_event(struct tcp_rack *rack, struct tcpcb *tp, uint32_t tick, int event, int line);
sys/netinet/tcp_stacks/rack.c
452
rack_set_pace_segments(struct tcpcb *tp, struct tcp_rack *rack, uint32_t line, uint64_t *fill_override);
sys/netinet/tcp_stacks/rack.c
466
uint64_t bw_est, uint64_t bw, uint64_t len_time, int method, int line,
sys/netinet/tcp_stacks/rack.c
4721
rack_log_gp_calc(struct tcp_rack *rack, uint32_t add_part, uint32_t sub_part, uint32_t srtt, uint64_t meas_bw, uint64_t utim, uint8_t meth, uint32_t line)
sys/netinet/tcp_stacks/rack.c
4733
log.u_bbr.flex7 = (uint16_t)line;
sys/netinet/tcp_stacks/rack.c
4748
tcp_seq th_ack, int line, uint8_t quality)
sys/netinet/tcp_stacks/rack.c
477
tcp_seq th_ack, int line, uint8_t quality);
sys/netinet/tcp_stacks/rack.c
501
struct rack_sendmap *rsm, uint32_t cts, int line);
sys/netinet/tcp_stacks/rack.c
514
static void rack_timer_cancel(struct tcpcb *tp, struct tcp_rack *rack, uint32_t cts, int line);
sys/netinet/tcp_stacks/rack.c
5155
rack_get_bw(rack), 3, line, NULL, quality);
sys/netinet/tcp_stacks/rack.c
5162
20, line, NULL, 0);
sys/netinet/tcp_stacks/rack.c
5566
rack_cong_signal(struct tcpcb *tp, uint32_t type, uint32_t ack, int line)
sys/netinet/tcp_stacks/rack.c
5598
rack_log_to_prr(rack, 2, in_rec_at_entry, line);
sys/netinet/tcp_stacks/rack.c
5628
rack_log_to_prr(rack, 16, orig_cwnd, line);
sys/netinet/tcp_stacks/rack.c
5663
rack_log_to_prr(rack, 15, cwnd_enter, line);
sys/netinet/tcp_stacks/rack.c
5756
rack_calc_thresh_rack(struct tcp_rack *rack, uint32_t srtt, uint32_t cts, int line, int log_allowed)
sys/netinet/tcp_stacks/rack.c
5828
rack_log_dsack_event(rack, 4, line, srtt, thresh);
sys/netinet/tcp_stacks/rack.c
5839
rack_log_dsack_event(rack, 6, line, srtt, thresh);
sys/netinet/tcp_stacks/rack.c
732
uint32_t send_end_t, int line, uint8_t mode, struct rack_sendmap *rsm)
sys/netinet/tcp_stacks/rack.c
749
log.u_bbr.pkts_out = line;
sys/netinet/tcp_stacks/rack.c
7922
rack_timer_cancel(struct tcpcb *tp, struct tcp_rack *rack, uint32_t cts, int line)
sys/netinet/tcp_stacks/rack.c
7938
rack_log_to_cancel(rack, hpts_removed, line, us_cts, &tv, flags_on_entry);
sys/netinet/tcp_stacks/rack.c
7955
rack_log_to_cancel(rack, hpts_removed, line, us_cts, &tv, flags_on_entry);
sys/netinet/tcp_stacks/rack.c
8962
struct tcp_rack *rack, struct rack_sendmap *rsm, uint32_t cts, int line)
sys/netinet/tcp_stacks/rack.c
9022
int line,
sys/netinet/tcp_stacks/rack.c
9139
5, line, NULL, 0);
sys/netinet/tcp_stacks/rack.c
9168
rack_log_gpset(rack, tp->gput_ack, 0, 0, line, 2, rsm);
sys/netinet/tcp_stacks/rack.c
9189
rack_check_reorder_ack(struct tcpcb *tp, struct tcp_rack *rack, struct rack_sendmap *rsm, int the_end, uint32_t cts, int can_exit_recovery, int line)
sys/netinet/tcp_stacks/rack.c
9206
rack_log_to_prr(rack, 18, rack->r_ctl.recovery_rxt_cnt, line);
sys/netinet/tcp_stacks/rack.c
9212
rack_log_to_prr(rack, 17, snt_to_ack, line);
sys/netpfil/ipfilter/netinet/radix_ipf.c
1141
char line[80], *s;
sys/netpfil/ipfilter/netinet/radix_ipf.c
1149
while (fgets(line, sizeof(line), fp) != NULL) {
sys/netpfil/ipfilter/netinet/radix_ipf.c
1150
s = strchr(line, '\n');
sys/netpfil/ipfilter/netinet/radix_ipf.c
1158
tab[lines - 1].host = strdup(line);
sys/ofed/drivers/infiniband/ulp/sdp/sdp_bcopy.c
102
_sdp_printk(func, line, KERN_WARNING, sk, "%s: %s\n", str, buf);
sys/ofed/drivers/infiniband/ulp/sdp/sdp_bcopy.c
41
void _dump_packet(const char *func, int line, struct socket *sk, char *str,
sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h
11
func, line, sk ? sdp_sk(sk) : NULL, \
sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h
161
void _dump_packet(const char *func, int line, struct socket *sk, char *str,
sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h
45
int line;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h
77
l->line = __LINE__; \
sys/ofed/drivers/infiniband/ulp/sdp/sdp_dbg.h
8
#define _sdp_printk(func, line, level, sk, format, arg...) \
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
374
l->mb, l->func, l->line);
sys/riscv/sifive/sifive_ccache.c
100
CC_WR8(SIFIVE_CCACHE_FLUSH64, line);
sys/riscv/sifive/sifive_ccache.c
87
uint64_t line;
sys/riscv/sifive/sifive_ccache.c
97
for (line = rounddown2(paddr, SIFIVE_CCACHE_LINE_SIZE);
sys/riscv/sifive/sifive_ccache.c
98
line < paddr + step;
sys/riscv/sifive/sifive_ccache.c
99
line += SIFIVE_CCACHE_LINE_SIZE)
sys/security/audit/audit_bsm_db.c
273
char *endptr, *line, *nextline, *ptr;
sys/security/audit/audit_bsm_db.c
298
while ((line = strsep(&nextline, "\n")) != NULL) {
sys/security/audit/audit_bsm_db.c
302
while (line[0] == ' ' || line[0] == '\t')
sys/security/audit/audit_bsm_db.c
303
line++;
sys/security/audit/audit_bsm_db.c
308
if (line[0] == '\0' || line[0] == '#') {
sys/security/audit/audit_bsm_db.c
317
evnum_str = strsep(&line, ":");
sys/security/audit/audit_bsm_db.c
332
evname = strsep(&line, ":");
sys/sys/_lock.h
63
#define LOCK_FILE_LINE_ARG_DEF , const char *file, int line
sys/sys/_lock.h
64
#define LOCK_FILE_LINE_ARG , file, line
sys/sys/epoch.h
82
#define EPOCH_FILE_LINE , const char *file, int line
sys/sys/exterrvar.h
78
uint64ptr_t pp2, int line);
sys/sys/kassert.h
163
#define MPASS3(ex, file, line) MPASS4(ex, #ex, file, line)
sys/sys/kassert.h
164
#define MPASS4(ex, what, file, line) \
sys/sys/kassert.h
165
KASSERT((ex), ("Assertion %s failed at %s:%d", what, file, line))
sys/sys/ktr.h
75
void ktr_tracepoint(uint64_t mask, const char *file, int line,
sys/sys/lock.h
140
#define LOCK_LOG_LOCK(opname, lo, flags, recurse, file, line) do { \
sys/sys/lock.h
144
(lo), (u_int)(recurse), (file), (line)); \
sys/sys/lock.h
147
#define LOCK_LOG_TRY(opname, lo, flags, result, file, line) do { \
sys/sys/lock.h
151
(lo), (u_int)(result), (file), (line)); \
sys/sys/lock.h
264
#define WITNESS_CHECKORDER(lock, flags, file, line, interlock) \
sys/sys/lock.h
265
witness_checkorder((lock), (flags), (file), (line), (interlock))
sys/sys/lock.h
271
#define WITNESS_LOCK(lock, flags, file, line) \
sys/sys/lock.h
272
witness_lock((lock), (flags), (file), (line))
sys/sys/lock.h
274
#define WITNESS_UPGRADE(lock, flags, file, line) \
sys/sys/lock.h
275
witness_upgrade((lock), (flags), (file), (line))
sys/sys/lock.h
277
#define WITNESS_DOWNGRADE(lock, flags, file, line) \
sys/sys/lock.h
278
witness_downgrade((lock), (flags), (file), (line))
sys/sys/lock.h
280
#define WITNESS_UNLOCK(lock, flags, file, line) \
sys/sys/lock.h
281
witness_unlock((lock), (flags), (file), (line))
sys/sys/lock.h
315
#define WITNESS_CHECKORDER(lock, flags, file, line, interlock) (void)0
sys/sys/lock.h
316
#define WITNESS_LOCK(lock, flags, file, line) (void)0
sys/sys/lock.h
317
#define WITNESS_UPGRADE(lock, flags, file, line) (void)0
sys/sys/lock.h
318
#define WITNESS_DOWNGRADE(lock, flags, file, line) (void)0
sys/sys/lock.h
319
#define WITNESS_UNLOCK(lock, flags, file, line) (void)0
sys/sys/lock_profile.h
48
int contested, uint64_t waittime, const char *file, int line);
sys/sys/lock_profile.h
66
#define lock_profile_obtain_lock_success(lo, spin, contested, waittime, file, line) (void)0
sys/sys/lockmgr.h
102
int prio, int timo, const char *file, int line)
sys/sys/lockmgr.h
106
NULL, wmesg, prio, timo, file, line));
sys/sys/lockmgr.h
111
const char *wmesg, int prio, int timo, const char *file, int line)
sys/sys/lockmgr.h
115
NULL, wmesg, prio, timo, file, line));
sys/sys/lockmgr.h
71
const char *wmesg, int prio, int timo, const char *file, int line);
sys/sys/lockmgr.h
73
struct lock_object *ilk, const char *file, int line);
sys/sys/lockmgr.h
74
int lockmgr_slock(struct lock *lk, u_int flags, const char *file, int line);
sys/sys/lockmgr.h
75
int lockmgr_xlock(struct lock *lk, u_int flags, const char *file, int line);
sys/sys/lockmgr.h
79
void _lockmgr_assert(const struct lock *lk, int what, const char *file, int line);
sys/sys/lockmgr.h
81
void _lockmgr_disown(struct lock *lk, const char *file, int line);
sys/sys/malloc.h
298
extern void Free(void *p, const char *file, int line);
sys/sys/malloc.h
299
extern void *Malloc(size_t bytes, const char *file, int line);
sys/sys/mutex.h
101
const char *file, int line);
sys/sys/mutex.h
103
const char *file, int line);
sys/sys/mutex.h
113
const char *file, int line);
sys/sys/mutex.h
119
int line);
sys/sys/mutex.h
121
int line);
sys/sys/mutex.h
123
int line);
sys/sys/mutex.h
125
const char *file, int line);
sys/sys/mutex.h
127
const char *file, int line);
sys/sys/mutex.h
132
int line);
sys/sys/mutex.h
136
void _thread_lock(struct thread *td, int opts, const char *file, int line);
sys/sys/mutex.h
234
#define __mtx_lock(mp, tid, opts, file, line) __extension__ ({ \
sys/sys/mutex.h
240
_mtx_lock_sleep((mp), _v, (opts), (file), (line)); \
sys/sys/mutex.h
251
#define __mtx_lock_spin(mp, tid, opts, file, line) __extension__ ({ \
sys/sys/mutex.h
258
_mtx_lock_spin((mp), _v, (opts), (file), (line)); \
sys/sys/mutex.h
261
#define __mtx_trylock_spin(mp, tid, opts, file, line) __extension__ ({ \
sys/sys/mutex.h
271
mp, 0, 0, file, line); \
sys/sys/mutex.h
277
#define __mtx_lock_spin(mp, tid, opts, file, line) __extension__ ({ \
sys/sys/mutex.h
289
#define __mtx_trylock_spin(mp, tid, opts, file, line) __extension__ ({ \
sys/sys/mutex.h
306
#define __mtx_unlock(mp, tid, opts, file, line) __extension__ ({ \
sys/sys/mutex.h
311
_mtx_unlock_sleep((mp), _v, (opts), (file), (line)); \
sys/sys/mutex.h
413
#define mtx_lock_flags_(m, opts, file, line) \
sys/sys/mutex.h
414
_mtx_lock_flags((m), (opts), (file), (line))
sys/sys/mutex.h
415
#define mtx_unlock_flags_(m, opts, file, line) \
sys/sys/mutex.h
416
_mtx_unlock_flags((m), (opts), (file), (line))
sys/sys/mutex.h
417
#define mtx_lock_spin_flags_(m, opts, file, line) \
sys/sys/mutex.h
418
_mtx_lock_spin_flags((m), (opts), (file), (line))
sys/sys/mutex.h
419
#define mtx_trylock_spin_flags_(m, opts, file, line) \
sys/sys/mutex.h
420
_mtx_trylock_spin_flags((m), (opts), (file), (line))
sys/sys/mutex.h
421
#define mtx_unlock_spin_flags_(m, opts, file, line) \
sys/sys/mutex.h
422
_mtx_unlock_spin_flags((m), (opts), (file), (line))
sys/sys/mutex.h
424
#define mtx_lock_flags_(m, opts, file, line) \
sys/sys/mutex.h
425
__mtx_lock((m), curthread, (opts), (file), (line))
sys/sys/mutex.h
426
#define mtx_unlock_flags_(m, opts, file, line) \
sys/sys/mutex.h
427
__mtx_unlock((m), curthread, (opts), (file), (line))
sys/sys/mutex.h
428
#define mtx_lock_spin_flags_(m, opts, file, line) \
sys/sys/mutex.h
429
__mtx_lock_spin((m), curthread, (opts), (file), (line))
sys/sys/mutex.h
430
#define mtx_trylock_spin_flags_(m, opts, file, line) \
sys/sys/mutex.h
431
__mtx_trylock_spin((m), curthread, (opts), (file), (line))
sys/sys/mutex.h
432
#define mtx_unlock_spin_flags_(m, opts, file, line) \
sys/sys/mutex.h
437
#define mtx_assert_(m, what, file, line) \
sys/sys/mutex.h
438
_mtx_assert((m), (what), (file), (line))
sys/sys/mutex.h
443
#define mtx_assert_(m, what, file, line) (void)0
sys/sys/mutex.h
97
int line);
sys/sys/rangelock.h
81
int line);
sys/sys/rangelock.h
85
#define rangelock_cookie_assert_(cookie, what, file, line) \
sys/sys/rangelock.h
86
_rangelock_cookie_assert((cookie), (what), (file), (line))
sys/sys/rangelock.h
88
#define rangelock_cookie_assert_(cookie, what, file, line) (void)0
sys/sys/rmlock.h
57
void _rm_wlock_debug(struct rmlock *rm, const char *file, int line);
sys/sys/rmlock.h
58
void _rm_wunlock_debug(struct rmlock *rm, const char *file, int line);
sys/sys/rmlock.h
60
int trylock, const char *file, int line);
sys/sys/rmlock.h
62
const char *file, int line);
sys/sys/rmlock.h
71
int line);
sys/sys/rwlock.h
104
#define __rw_wlock(rw, tid, file, line) __extension__ ({ \
sys/sys/rwlock.h
110
_rw_wlock_hard((rw), _v, (file), (line)); \
sys/sys/rwlock.h
115
#define __rw_wunlock(rw, tid, file, line) __extension__ ({ \
sys/sys/rwlock.h
120
_rw_wunlock_hard((rw), _v, (file), (line)); \
sys/sys/rwlock.h
133
void _rw_wlock_cookie(volatile uintptr_t *c, const char *file, int line);
sys/sys/rwlock.h
135
int __rw_try_wlock(volatile uintptr_t *c, const char *file, int line);
sys/sys/rwlock.h
136
void _rw_wunlock_cookie(volatile uintptr_t *c, const char *file, int line);
sys/sys/rwlock.h
138
void __rw_rlock(volatile uintptr_t *c, const char *file, int line);
sys/sys/rwlock.h
140
int __rw_try_rlock(volatile uintptr_t *c, const char *file, int line);
sys/sys/rwlock.h
142
void _rw_runlock_cookie(volatile uintptr_t *c, const char *file, int line);
sys/sys/rwlock.h
148
int __rw_try_upgrade(volatile uintptr_t *c, const char *file, int line);
sys/sys/rwlock.h
150
void __rw_downgrade(volatile uintptr_t *c, const char *file, int line);
sys/sys/rwlock.h
153
int line);
sys/sys/sema.h
48
void _sema_post(struct sema *sema, const char *file, int line);
sys/sys/sema.h
49
void _sema_wait(struct sema *sema, const char *file, int line);
sys/sys/sema.h
51
line);
sys/sys/sema.h
52
int _sema_trywait(struct sema *sema, const char *file, int line);
sys/sys/soundcard.h
265
u_char line; /* which input */
sys/sys/sx.h
107
int sx_try_slock_(struct sx *sx, const char *file, int line);
sys/sys/sx.h
109
int sx_try_xlock_(struct sx *sx, const char *file, int line);
sys/sys/sx.h
111
int sx_try_upgrade_(struct sx *sx, const char *file, int line);
sys/sys/sx.h
113
void sx_downgrade_(struct sx *sx, const char *file, int line);
sys/sys/sx.h
115
int _sx_slock(struct sx *sx, int opts, const char *file, int line);
sys/sys/sx.h
116
int _sx_xlock(struct sx *sx, int opts, const char *file, int line);
sys/sys/sx.h
118
void _sx_sunlock(struct sx *sx, const char *file, int line);
sys/sys/sx.h
119
void _sx_xunlock(struct sx *sx, const char *file, int line);
sys/sys/sx.h
123
void _sx_assert(const struct sx *sx, int what, const char *file, int line);
sys/sys/sx.h
158
int line)
sys/sys/sx.h
173
__sx_xunlock(struct sx *sx, struct thread *td, const char *file, int line)
sys/sys/sx.h
190
#define sx_xlock_(sx, file, line) \
sys/sys/sx.h
191
(void)_sx_xlock((sx), 0, (file), (line))
sys/sys/sx.h
192
#define sx_xlock_sig_(sx, file, line) \
sys/sys/sx.h
193
_sx_xlock((sx), SX_INTERRUPTIBLE, (file), (line))
sys/sys/sx.h
194
#define sx_xunlock_(sx, file, line) \
sys/sys/sx.h
195
_sx_xunlock((sx), (file), (line))
sys/sys/sx.h
197
#define sx_xlock_(sx, file, line) \
sys/sys/sx.h
198
(void)__sx_xlock((sx), curthread, 0, (file), (line))
sys/sys/sx.h
199
#define sx_xlock_sig_(sx, file, line) \
sys/sys/sx.h
200
__sx_xlock((sx), curthread, SX_INTERRUPTIBLE, (file), (line))
sys/sys/sx.h
201
#define sx_xunlock_(sx, file, line) \
sys/sys/sx.h
202
__sx_xunlock((sx), curthread, (file), (line))
sys/sys/sx.h
205
#define sx_slock_(sx, file, line) \
sys/sys/sx.h
206
(void)_sx_slock((sx), 0, (file), (line))
sys/sys/sx.h
207
#define sx_slock_sig_(sx, file, line) \
sys/sys/sx.h
208
_sx_slock((sx), SX_INTERRUPTIBLE, (file) , (line))
sys/sys/sx.h
209
#define sx_sunlock_(sx, file, line) \
sys/sys/sx.h
210
_sx_sunlock((sx), (file), (line))
sys/sys/sx.h
216
#define sx_slock_(sx, file, line) \
sys/sys/sx.h
218
#define sx_slock_sig_(sx, file, line) \
sys/sys/sx.h
220
#define sx_sunlock_(sx, file, line) \
sys/sys/sx.h
228
#define sx_assert_(sx, what, file, line) \
sys/sys/sx.h
229
_sx_assert((sx), (what), (file), (line))
sys/sys/sx.h
231
#define sx_assert_(sx, what, file, line) (void)0
sys/sys/sx.h
254
#define sx_unlock_(sx, file, line) __extension__ ({ \
sys/sys/sx.h
256
sx_xunlock_(sx, file, line); \
sys/sys/sx.h
258
sx_sunlock_(sx, file, line); \
sys/sys/vnode.h
790
int _vn_lock(struct vnode *vp, int flags, const char *file, int line);
sys/tests/ktest.c
310
const char *fname, int line)
sys/tests/ktest.c
320
nlattr_add_u32(nw, KTEST_MSG_ATTR_LINE, line);
sys/tests/ktest.h
75
const char *fname, int line);
sys/ufs/ffs/ffs_softdep.c
1003
item->wk_line = line;
sys/ufs/ffs/ffs_softdep.c
1011
int line)
sys/ufs/ffs/ffs_softdep.c
1023
item->wk_line = line;
sys/ufs/ffs/ffs_softdep.c
991
int line)
sys/ufs/ufs/inode.h
286
doff_t ufs_get_i_offset(struct inode *ip, const char *file, int line);
sys/ufs/ufs/inode.h
287
void ufs_set_i_offset(struct inode *ip, doff_t off, const char *file, int line);
sys/ufs/ufs/inode.h
291
int32_t ufs_get_i_count(struct inode *ip, const char *file, int line);
sys/ufs/ufs/inode.h
292
void ufs_set_i_count(struct inode *ip, int32_t cnt, const char *file, int line);
sys/ufs/ufs/inode.h
296
doff_t ufs_get_i_endoff(struct inode *ip, const char *file, int line);
sys/ufs/ufs/inode.h
297
void ufs_set_i_endoff(struct inode *ip, doff_t off, const char *file, int line);
sys/ufs/ufs/ufs_lookup.c
1461
const char *name, const char *file, int line)
sys/ufs/ufs/ufs_lookup.c
1465
snprintf(msg, sizeof(msg), "at %s@%d", file, line);
sys/ufs/ufs/ufs_lookup.c
1479
file, line);
sys/ufs/ufs/ufs_lookup.c
1484
const char *file, int line)
sys/ufs/ufs/ufs_lookup.c
1488
snprintf(msg, sizeof(msg), "at %s@%d", file, line);
sys/ufs/ufs/ufs_lookup.c
1524
ufs_get_i_offset(struct inode *ip, const char *file, int line)
sys/ufs/ufs/ufs_lookup.c
1527
file, line);
sys/ufs/ufs/ufs_lookup.c
1532
ufs_set_i_offset(struct inode *ip, doff_t off, const char *file, int line)
sys/ufs/ufs/ufs_lookup.c
1534
ufs_set_inode_offset_owner(ip, &ip->i_offset_tracker, file, line);
sys/ufs/ufs/ufs_lookup.c
1539
ufs_get_i_count(struct inode *ip, const char *file, int line)
sys/ufs/ufs/ufs_lookup.c
1542
file, line);
sys/ufs/ufs/ufs_lookup.c
1547
ufs_set_i_count(struct inode *ip, int32_t cnt, const char *file, int line)
sys/ufs/ufs/ufs_lookup.c
1549
ufs_set_inode_offset_owner(ip, &ip->i_count_tracker, file, line);
sys/ufs/ufs/ufs_lookup.c
1554
ufs_get_i_endoff(struct inode *ip, const char *file, int line)
sys/ufs/ufs/ufs_lookup.c
1557
file, line);
sys/ufs/ufs/ufs_lookup.c
1562
ufs_set_i_endoff(struct inode *ip, doff_t off, const char *file, int line)
sys/ufs/ufs/ufs_lookup.c
1564
ufs_set_inode_offset_owner(ip, &ip->i_endoff_tracker, file, line);
sys/vm/vm_map.c
524
_vm_map_lock(vm_map_t map, const char *file, int line)
sys/vm/vm_map.c
528
mtx_lock_flags_(&map->system_mtx, 0, file, line);
sys/vm/vm_map.c
530
sx_xlock_(&map->lock, file, line);
sys/vm/vm_map.c
615
_vm_map_assert_locked(vm_map_t map, const char *file, int line)
sys/vm/vm_map.c
619
mtx_assert_(&map->system_mtx, MA_OWNED, file, line);
sys/vm/vm_map.c
621
sx_assert_(&map->lock, SA_XLOCKED, file, line);
sys/vm/vm_map.c
657
_vm_map_unlock(vm_map_t map, const char *file, int line)
sys/vm/vm_map.c
668
mtx_unlock_flags_(&map->system_mtx, 0, file, line);
sys/vm/vm_map.c
670
sx_xunlock_(&map->lock, file, line);
sys/vm/vm_map.c
676
_vm_map_lock_read(vm_map_t map, const char *file, int line)
sys/vm/vm_map.c
680
mtx_lock_flags_(&map->system_mtx, 0, file, line);
sys/vm/vm_map.c
682
sx_slock_(&map->lock, file, line);
sys/vm/vm_map.c
686
_vm_map_unlock_read(vm_map_t map, const char *file, int line)
sys/vm/vm_map.c
692
mtx_unlock_flags_(&map->system_mtx, 0, file, line);
sys/vm/vm_map.c
694
sx_sunlock_(&map->lock, file, line);
sys/vm/vm_map.c
700
_vm_map_trylock(vm_map_t map, const char *file, int line)
sys/vm/vm_map.c
705
!mtx_trylock_flags_(&map->system_mtx, 0, file, line) :
sys/vm/vm_map.c
706
!sx_try_xlock_(&map->lock, file, line);
sys/vm/vm_map.c
713
_vm_map_trylock_read(vm_map_t map, const char *file, int line)
sys/vm/vm_map.c
718
!mtx_trylock_flags_(&map->system_mtx, 0, file, line) :
sys/vm/vm_map.c
719
!sx_try_slock_(&map->lock, file, line);
sys/vm/vm_map.c
734
_vm_map_lock_upgrade(vm_map_t map, const char *file, int line)
sys/vm/vm_map.c
739
mtx_assert_(&map->system_mtx, MA_OWNED, file, line);
sys/vm/vm_map.c
741
if (!sx_try_upgrade_(&map->lock, file, line)) {
sys/vm/vm_map.c
743
sx_sunlock_(&map->lock, file, line);
sys/vm/vm_map.c
749
sx_xlock_(&map->lock, file, line);
sys/vm/vm_map.c
751
sx_xunlock_(&map->lock, file, line);
sys/vm/vm_map.c
761
_vm_map_lock_downgrade(vm_map_t map, const char *file, int line)
sys/vm/vm_map.c
767
mtx_assert_(&map->system_mtx, MA_OWNED, file, line);
sys/vm/vm_map.c
770
sx_downgrade_(&map->lock, file, line);
sys/vm/vm_map.c
804
_vm_map_unlock_and_wait(vm_map_t map, int timo, const char *file, int line)
sys/vm/vm_map.c
812
mtx_unlock_flags_(&map->system_mtx, 0, file, line);
sys/vm/vm_map.c
814
sx_xunlock_(&map->lock, file, line);
sys/vm/vm_map.h
338
void _vm_map_lock(vm_map_t map, const char *file, int line);
sys/vm/vm_map.h
339
void _vm_map_unlock(vm_map_t map, const char *file, int line);
sys/vm/vm_map.h
340
int _vm_map_unlock_and_wait(vm_map_t map, int timo, const char *file, int line);
sys/vm/vm_map.h
341
void _vm_map_lock_read(vm_map_t map, const char *file, int line);
sys/vm/vm_map.h
342
void _vm_map_unlock_read(vm_map_t map, const char *file, int line);
sys/vm/vm_map.h
343
int _vm_map_trylock(vm_map_t map, const char *file, int line);
sys/vm/vm_map.h
344
int _vm_map_trylock_read(vm_map_t map, const char *file, int line);
sys/vm/vm_map.h
345
int _vm_map_lock_upgrade(vm_map_t map, const char *file, int line);
sys/vm/vm_map.h
346
void _vm_map_lock_downgrade(vm_map_t map, const char *file, int line);
tests/sys/capsicum/ioctls_test.c
51
child_fail_require(const char *file, int line, const char *str)
tests/sys/capsicum/ioctls_test.c
55
snprintf(buf, sizeof(buf), "%s:%d: %s\n", file, line, str);
tests/sys/file/closefrom_test.c
63
child_fail_require(const char *file, int line, const char *fmt, ...)
tests/sys/file/closefrom_test.c
72
fprintf(fp, "%s:%d: ", file, line);
tests/sys/kern/aslr.c
32
char line[64];
tests/sys/kern/aslr.c
59
ATF_REQUIRE(read(io[0], line, sizeof(line)) > 0);
tests/sys/kern/ktrace_test.c
74
child_fail_require(const char *file, int line, const char *fmt, ...)
tests/sys/kern/ktrace_test.c
80
snprintf(buf, sizeof(buf), "%s:%d: ", file, line);
tests/sys/kern/ptrace_test.c
100
child_fail_require(const char *file, int line, const char *fmt, ...)
tests/sys/kern/ptrace_test.c
106
snprintf(buf, sizeof(buf), "%s:%d: ", file, line);
tests/sys/kqueue/libkqueue/common.h
51
void _kevent_cmp(struct kevent *expected, struct kevent *got, const char *file, int line);
tests/sys/kqueue/libkqueue/main.c
240
_kevent_cmp(struct kevent *k1, struct kevent *k2, const char *file, int line)
tests/sys/kqueue/libkqueue/main.c
260
file, line, kev1_str, kev2_str);
tests/sys/kqueue/libkqueue/main.c
28
_test_no_kevents(const char *file, int line)
tests/sys/kqueue/libkqueue/main.c
39
printf("\n[%s:%d]: Unexpected event:", file, line);
tests/sys/net/routing/rtsock_common.h
317
char buf[512], cmd[512], *line, *token;
tests/sys/net/routing/rtsock_common.h
324
line = fgets(buf, sizeof(buf), fp);
tests/sys/net/routing/rtsock_common.h
326
if (line[0])
tests/sys/net/routing/rtsock_common.h
327
line[strlen(line)-1] = '\0';
tests/sys/net/routing/rtsock_common.h
328
while ((token = strsep(&line, " ")) != NULL) {
tests/sys/net/routing/rtsock_common.h
343
char buf[512], cmd[512], *line;
tests/sys/net/routing/rtsock_common.h
359
line = fgets(buf, sizeof(buf), fp);
tests/sys/net/routing/rtsock_common.h
360
if (line == NULL)
tests/sys/net/routing/rtsock_common.h
362
jid = strtol(line, NULL, 10);
tests/sys/net/routing/rtsock_common.h
364
atf_tc_fail("invalid jail output: %s", line);
tests/sys/net/routing/rtsock_print.h
388
char line[1024];
tests/sys/net/routing/rtsock_print.h
392
while (fgets(line, sizeof(line), fp) != NULL)
tests/sys/net/routing/rtsock_print.h
393
printf("%s", line);
tests/sys/netgraph/util.c
103
char const *file, size_t line)
tests/sys/netgraph/util.c
116
char const *file, size_t line)
tests/sys/netgraph/util.c
129
char const *file, size_t line)
tests/sys/netgraph/util.c
150
char const *file, size_t line)
tests/sys/netgraph/util.c
232
char const *file, size_t line)
tests/sys/netgraph/util.c
250
_ng_init(char const *file, size_t line)
tests/sys/netgraph/util.c
52
atf_tc_fail_requirement(file, line, "%s (%s)", \
tests/sys/netgraph/util.c
72
char const *file, size_t line)
tests/sys/netgraph/util.c
88
char const *file, size_t line)
tests/sys/netgraph/util.h
40
char const *file, size_t line);
tests/sys/netgraph/util.h
47
char const *file, size_t line);
tests/sys/netgraph/util.h
53
char const *file, size_t line);
tests/sys/netgraph/util.h
59
char const *file, size_t line);
tests/sys/netgraph/util.h
65
char const *file, size_t line);
tests/sys/netgraph/util.h
74
char const *file, size_t line);
tests/sys/netgraph/util.h
82
char const *file, size_t line);
tests/sys/netgraph/util.h
95
void _ng_init(char const *file, size_t line);
tests/sys/ses/nondestructive.c
252
char line[256];
tests/sys/ses/nondestructive.c
268
while(NULL != fgets(line, sizeof(line), pipe)) {
tests/sys/ses/nondestructive.c
272
r = sscanf(line,
tests/sys/ses/nondestructive.c
279
r = sscanf(line,
tests/sys/ses/nondestructive.c
285
r = sscanf(line, " number of possible elements: %d",
tests/sys/ses/nondestructive.c
407
char line[256];
tests/sys/ses/nondestructive.c
415
while(NULL != fgets(line, sizeof(line), pipe)) {
tests/sys/ses/nondestructive.c
459
char line[256];
tests/sys/ses/nondestructive.c
469
ATF_REQUIRE(NULL != fgets(line, sizeof(line), pipe));
tests/sys/ses/nondestructive.c
476
if (strlen(line) < 3) {
tests/sys/ses/nondestructive.c
480
ATF_CHECK_STREQ(line, (char*)stri.buf);
tests/sys/ses/nondestructive.c
49
char line[256];
tests/sys/ses/nondestructive.c
550
char line[256];
tests/sys/ses/nondestructive.c
558
while(NULL != fgets(line, sizeof(line), pipe)) {
tests/sys/ses/nondestructive.c
66
while(NULL != fgets(line, sizeof(line), pipe)) {
tests/sys/ses/nondestructive.c
72
if (regexec(&re, line, 1, matches, 0) == REG_NOMATCH) {
tests/sys/ses/nondestructive.c
76
expected = &line[matches[0].rm_eo];
tests/sys/ses/nondestructive.c
78
elen = strnlen(expected, sizeof(line) - matches[0].rm_eo);
tools/regression/p1003_1b/prutil.c
36
int sched_is(int line, struct sched_param *p, int shouldbe)
tools/regression/p1003_1b/prutil.c
55
line, sched_text(shouldbe), sched_text(scheduler));
tools/regression/p1003_1b/prutil.h
11
int sched_is(int line, struct sched_param *, int);
tools/regression/p1003_1b/sched.c
100
fprintf(stderr, "Error at line %d:\n", line);
tools/regression/p1003_1b/sched.c
96
static void q(int line, int code, const char *text)
tools/regression/tmpfs/h_tools.c
128
while ((line = fgetln(stdin, &len)) != NULL) {
tools/regression/tmpfs/h_tools.c
138
assert(line[len - 1] == '\n');
tools/regression/tmpfs/h_tools.c
139
line[len - 1] = '\0';
tools/regression/tmpfs/h_tools.c
140
ec = system(line);
tools/regression/tmpfs/h_tools.c
142
errx(ec, "%s returned %d", line, ec);
tools/regression/tmpfs/h_tools.c
95
char *line;
tools/tools/ath/athaggrstats/main.c
119
int line, omask;
tools/tools/ath/athaggrstats/main.c
129
line = 0;
tools/tools/ath/athaggrstats/main.c
131
if (line != 0) {
tools/tools/ath/athaggrstats/main.c
146
line++;
tools/tools/ath/athaggrstats/main.c
147
if (line == 21) /* XXX tty line count */
tools/tools/ath/athprom/athprom.c
130
char line[256];
tools/tools/ath/athprom/athprom.c
151
if (fgets(line, sizeof(line), stdin) != NULL &&
tools/tools/ath/athprom/athprom.c
152
line[0] == 'y')
tools/tools/ath/athstats/main.c
127
int line, omask;
tools/tools/ath/athstats/main.c
137
line = 0;
tools/tools/ath/athstats/main.c
139
if (line != 0) {
tools/tools/ath/athstats/main.c
154
line++;
tools/tools/ath/athstats/main.c
155
if (line == 21) /* XXX tty line count */
tools/tools/bootparttest/stub.c
32
Malloc(size_t size, const char *file, int line)
tools/tools/bootparttest/stub.c
39
Free(void *ptr, const char *file, int line)
tools/tools/mwl/mwlstats/main.c
100
if (line != 0) {
tools/tools/mwl/mwlstats/main.c
115
line++;
tools/tools/mwl/mwlstats/main.c
116
if (line == 21) /* XXX tty line count */
tools/tools/mwl/mwlstats/main.c
89
int line, omask;
tools/tools/mwl/mwlstats/main.c
98
line = 0;
tools/tools/net80211/wlanwatch/wlanwatch.c
140
static char line[MAXHOSTNAMELEN + 1];
tools/tools/net80211/wlanwatch/wlanwatch.c
157
strcpy(line, "default");
tools/tools/net80211/wlanwatch/wlanwatch.c
180
strncpy(line, cp, sizeof(line) - 1);
tools/tools/net80211/wlanwatch/wlanwatch.c
181
line[sizeof(line) - 1] = '\0';
tools/tools/net80211/wlanwatch/wlanwatch.c
183
(void) sprintf(line, "%s", inet_ntoa(in));
tools/tools/net80211/wlanwatch/wlanwatch.c
211
line, sizeof(line), NULL, 0, niflags) != 0)
tools/tools/net80211/wlanwatch/wlanwatch.c
212
strncpy(line, "invalid", sizeof(line));
tools/tools/net80211/wlanwatch/wlanwatch.c
214
return(line);
tools/tools/net80211/wlanwatch/wlanwatch.c
224
char *cp = line + sprintf(line, "(%d)", sa->sa_family);
tools/tools/net80211/wlanwatch/wlanwatch.c
225
char *cpe = line + sizeof(line);
tools/tools/net80211/wlanwatch/wlanwatch.c
235
return (line);
tools/tools/netmap/nmreplay.c
1383
to extract values from the command line, and a *_run() function
tools/tools/netmap/nmreplay.c
1394
On the command line, argv[] is a single, comma separated argument
tools/tools/npe/npestats/main.c
103
int line, omask;
tools/tools/npe/npestats/main.c
113
line = 0;
tools/tools/npe/npestats/main.c
115
if (line != 0) {
tools/tools/npe/npestats/main.c
130
line++;
tools/tools/npe/npestats/main.c
131
if (line == 21) /* XXX tty line count */
tools/tools/pirtool/pirtool.c
262
print_irq_line(int entry, pir_entry_t *p, char line, uint8_t link,
tools/tools/pirtool/pirtool.c
276
line, link);
tools/tools/pirtool/pirtool.c
57
void print_irq_line(int entry, pir_entry_t *p, char line, uint8_t link,
tools/tools/zfsboottest/zfsboottest.c
48
pager_output(const char *line)
tools/tools/zfsboottest/zfsboottest.c
51
fprintf(stderr, "%s", line);
usr.bin/banner/banner.c
1008
static char line[DWIDTH];
usr.bin/banner/banner.c
1116
for (j = 0; j < DWIDTH; j++) line[j] = ' ';
usr.bin/banner/banner.c
1136
putchar(line[j]);
usr.bin/banner/banner.c
1140
for (j = 0; j < DWIDTH; j++) line[j] = ' ';
usr.bin/banner/banner.c
1151
while (x < max) line[x++] = '#';
usr.bin/bintrans/qp.c
149
char *line = NULL;
usr.bin/bintrans/qp.c
151
void (*codec)(const char *line, FILE *f, bool rfc2047);
usr.bin/bintrans/qp.c
155
while (getline(&line, &linecap, fp) > 0)
usr.bin/bintrans/qp.c
156
codec(line, fpo, rfc2047);
usr.bin/bintrans/qp.c
157
free(line);
usr.bin/calendar/io.c
201
cmptoken(char *line, const char* token)
usr.bin/calendar/io.c
205
if (strncmp(line, token, len) != 0)
usr.bin/calendar/io.c
207
return (line + len);
usr.bin/calendar/io.c
211
token(char *line, FILE *out, int *skip, int *unskip)
usr.bin/calendar/io.c
219
while (isspace(*line))
usr.bin/calendar/io.c
220
line++;
usr.bin/calendar/io.c
222
if (cmptoken(line, "endif")) {
usr.bin/calendar/io.c
235
walk = cmptoken(line, "ifdef");
usr.bin/calendar/io.c
258
walk = cmptoken(line, "ifndef");
usr.bin/calendar/io.c
281
walk = cmptoken(line, "else");
usr.bin/calendar/io.c
308
walk = cmptoken(line, "include");
usr.bin/calendar/io.c
346
walk = cmptoken(line, "define");
usr.bin/calendar/io.c
363
walk = cmptoken(line, "undef");
usr.bin/calendar/io.c
385
walk = cmptoken(line, "warning");
usr.bin/calendar/io.c
391
walk = cmptoken(line, "error");
usr.bin/calendar/io.c
398
WARN1("Undefined pre-processor command \"#%s\"", line);
usr.bin/calendar/io.c
426
char *line = NULL;
usr.bin/calendar/io.c
447
while ((linelen = getline(&line, &linecap, in)) > 0) {
usr.bin/calendar/io.c
449
buf = line;
usr.bin/calendar/io.c
505
if (buf == line && *buf == '#') {
usr.bin/calendar/io.c
508
free(line);
usr.bin/calendar/io.c
604
free(line);
usr.bin/chat/chat.c
401
char line[1024];
usr.bin/chat/chat.c
405
vfmtmsg(line, sizeof(line), fmt, args);
usr.bin/chat/chat.c
408
syslog(LOG_INFO, "%s", line);
usr.bin/chat/chat.c
410
fprintf(stderr, "%s\n", line);
usr.bin/chat/chat.c
420
char line[1024];
usr.bin/chat/chat.c
424
vfmtmsg(line, sizeof(line), fmt, args);
usr.bin/chat/chat.c
427
syslog(LOG_ERR, "%s", line);
usr.bin/chat/chat.c
429
fprintf(stderr, "%s\n", line);
usr.bin/chpass/edit.c
199
int line;
usr.bin/chpass/edit.c
217
for (line = 1; (buf = fgetln(fp, &len)) != NULL; ++line) {
usr.bin/chpass/edit.c
225
tfn, line);
usr.bin/chpass/edit.c
240
warnx("%s: line %d corrupted", tfn, line);
usr.bin/chpass/edit.c
68
char *line;
usr.bin/chpass/edit.c
87
if ((line = fgetln(stdin, &len)) == NULL) {
usr.bin/chpass/edit.c
91
if (len > 0 && (*line == 'N' || *line == 'n'))
usr.bin/cmp/misc.c
49
diffmsg(const char *file1, const char *file2, off_t byte, off_t line,
usr.bin/cmp/misc.c
56
file1, file2, (long long)byte, (long long)line, b1, b1,
usr.bin/cmp/misc.c
60
file1, file2, (long long)byte, (long long)line);
usr.bin/cmp/regular.c
116
for (byte = line = 1; length--; ++byte) {
usr.bin/cmp/regular.c
120
file1, file2, (size_t)byte, (size_t)line);
usr.bin/cmp/regular.c
137
diffmsg(file1, file2, byte, line, ch, *p2);
usr.bin/cmp/regular.c
142
++line;
usr.bin/cmp/regular.c
60
off_t byte, length, line;
usr.bin/cmp/special.c
100
diffmsg(file1, file2, byte, line, ch1, ch2);
usr.bin/cmp/special.c
105
++line;
usr.bin/cmp/special.c
47
off_t byte, line;
usr.bin/cmp/special.c
73
for (byte = line = 1; limit == 0 || byte <= limit; ++byte) {
usr.bin/cmp/special.c
77
file1, file2, (size_t)byte, (size_t)line);
usr.bin/col/col.c
587
dowarn(int line)
usr.bin/col/col.c
591
line < 0 ? "past first line" : "-- line already flushed");
usr.bin/diff/diffreg.c
1027
char *line;
usr.bin/diff/diffreg.c
1030
line = xmalloc(rlen + 1);
usr.bin/diff/diffreg.c
1031
if ((nr = pread(fd, line, rlen, off)) == -1)
usr.bin/diff/diffreg.c
1033
if (nr > 0 && line[nr-1] == '\n')
usr.bin/diff/diffreg.c
1035
line[nr] = '\0';
usr.bin/diff/diffreg.c
1036
return (line);
usr.bin/diff/diffreg.c
1040
ignoreline_pattern(char *line)
usr.bin/diff/diffreg.c
1044
ret = regexec(&ignore_re, line, 0, NULL, 0);
usr.bin/diff/diffreg.c
1049
ignoreline(char *line, bool skip_blanks)
usr.bin/diff/diffreg.c
1052
if (skip_blanks && *line == '\0')
usr.bin/diff/diffreg.c
1054
if (ignore_pats != NULL && ignoreline_pattern(line))
usr.bin/diff/diffreg.c
1082
char *line;
usr.bin/diff/diffreg.c
1089
line = preadline(fileno(f1),
usr.bin/diff/diffreg.c
1091
ignore = ignoreline(line, skip_blanks);
usr.bin/diff/diffreg.c
1092
free(line);
usr.bin/diff/diffreg.c
1099
line = preadline(fileno(f2),
usr.bin/diff/diffreg.c
1101
ignore = ignoreline(line, skip_blanks);
usr.bin/diff/diffreg.c
1102
free(line);
usr.bin/diff/diffreg.c
181
static void equiv(struct line *, int, struct line *, int, int *);
usr.bin/diff/diffreg.c
183
static void unsort(struct line *, int, int *);
usr.bin/diff/diffreg.c
185
static void sort(struct line *, int);
usr.bin/diff/diffreg.c
217
static struct line *sfile[2]; /* shortened by pruning common prefix/suffix */
usr.bin/diff/diffreg.c
558
struct line *p;
usr.bin/diff/diffreg.c
610
equiv(struct line *a, int n, struct line *b, int m, int *c)
usr.bin/diff/diffreg.c
867
sort(struct line *a, int n)
usr.bin/diff/diffreg.c
869
struct line *ai, *aim, w;
usr.bin/diff/diffreg.c
899
unsort(struct line *f, int l, int *b)
usr.bin/diff3/diff3.c
335
char *line;
usr.bin/diff3/diff3.c
337
while ((line = get_line(b, NULL)) != NULL) {
usr.bin/diff3/diff3.c
338
if (isdigit((unsigned char)line[0]))
usr.bin/diff3/diff3.c
339
return (line);
usr.bin/diff3/diff3.c
572
char *line;
usr.bin/diff3/diff3.c
575
if ((line = get_line(fp[i], &j)) == NULL)
usr.bin/diff3/diff3.c
578
printf("%s%s", Tflag == 1 ? "\t" : pr, line);
usr.bin/diff3/diff3.c
655
char *line = NULL;
usr.bin/diff3/diff3.c
672
while (getline(&line, &len, p) > 0) {
usr.bin/diff3/diff3.c
674
printf("%s", line);
usr.bin/diff3/diff3.c
678
free(line);
usr.bin/fmt/fmt.c
442
wchar_t *line;
usr.bin/fmt/fmt.c
449
while ((line = get_line(stream, &length)) != NULL) {
usr.bin/fmt/fmt.c
450
size_t np = indent_length(line, length);
usr.bin/fmt/fmt.c
456
if (np == 0 && might_be_header(line))
usr.bin/fmt/fmt.c
471
|| (line[0] == '.' && !format_troff)
usr.bin/fmt/fmt.c
483
if (length == 0 || (line[0] == '.' && !format_troff)) {
usr.bin/fmt/fmt.c
488
line);
usr.bin/fmt/fmt.c
513
line[n + word_length] != ' ')
usr.bin/fmt/fmt.c
517
line[n + space_length] == ' ')
usr.bin/fmt/fmt.c
521
line + n, word_length,
usr.bin/fmt/fmt.c
538
indent_length(const wchar_t *line, size_t length)
usr.bin/fmt/fmt.c
542
while (n < length && *line++ == ' ')
usr.bin/fmt/fmt.c
554
might_be_header(const wchar_t *line)
usr.bin/fmt/fmt.c
556
if (!iswupper(*line++))
usr.bin/fmt/fmt.c
558
while (*line && (iswalnum(*line) || *line == '-'))
usr.bin/fmt/fmt.c
559
++line;
usr.bin/fmt/fmt.c
560
return (*line == ':' && iswspace(line[1]));
usr.bin/fmt/fmt.c
688
wchar_t *line, *p;
usr.bin/fmt/fmt.c
693
while ((line = get_line(stream, &length)) != NULL) {
usr.bin/fmt/fmt.c
696
while (l > 0 && iswspace(*line)) {
usr.bin/fmt/fmt.c
697
++line;
usr.bin/fmt/fmt.c
701
for (p = line, width = 0; p < &line[length]; p++)
usr.bin/fmt/fmt.c
708
wprintf(L"%.*ls\n", (int)length, line);
usr.bin/fortune/fortune/fortune.c
209
char line[BUFSIZ];
usr.bin/fortune/fortune/fortune.c
213
for (Fort_len = 0; fgets(line, sizeof line, fp->inf) != NULL &&
usr.bin/fortune/fortune/fortune.c
214
!STR_ENDSTRING(line, fp->tbl); Fort_len++) {
usr.bin/fortune/fortune/fortune.c
216
for (p = line; (ch = *p) != '\0'; ++p) {
usr.bin/fortune/fortune/fortune.c
225
&& line[0] == fp->tbl.str_delim
usr.bin/fortune/fortune/fortune.c
226
&& line[1] == fp->tbl.str_delim)
usr.bin/fortune/fortune/fortune.c
228
fputs(line, stdout);
usr.bin/fortune/fortune/fortune.c
241
char line[BUFSIZ];
usr.bin/fortune/fortune/fortune.c
249
while (fgets(line, sizeof line, Fortfile->inf) != NULL &&
usr.bin/fortune/fortune/fortune.c
250
!STR_ENDSTRING(line, Fortfile->tbl))
usr.bin/fortune/fortune/fortune.c
251
nchar += strlen(line);
usr.bin/fortune/strfile/strfile.h
35
#define STR_ENDSTRING(line,tbl) \
usr.bin/fortune/strfile/strfile.h
36
(((unsigned char)(line)[0]) == (tbl).str_delim && (line)[1] == '\n')
usr.bin/from/from.c
138
match(const char *line, const char *sender)
usr.bin/from/from.c
144
if (isspace(ch = *line))
usr.bin/from/from.c
146
++line;
usr.bin/from/from.c
150
for (p = sender, t = line;;) {
usr.bin/grdc/grdc.c
282
movto(int line, int col)
usr.bin/grdc/grdc.c
284
move(line, col);
usr.bin/grep/grep.c
275
char *line;
usr.bin/grep/grep.c
288
line = NULL;
usr.bin/grep/grep.c
289
while ((rlen = getline(&line, &len, f)) != -1) {
usr.bin/grep/grep.c
290
if (line[0] == '\0')
usr.bin/grep/grep.c
292
add_pattern(line, line[0] == '\n' ? 0 : (size_t)rlen);
usr.bin/grep/grep.c
295
free(line);
usr.bin/grep/grep.h
148
void grep_printline(struct str *line, int sep);
usr.bin/grep/util.c
77
static void printline_metadata(struct str *line, int sep);
usr.bin/grep/util.c
772
grep_printline(struct str *line, int sep)
usr.bin/grep/util.c
774
printline_metadata(line, sep);
usr.bin/grep/util.c
775
fwrite(line->dat, line->len, 1, stdout);
usr.bin/grep/util.c
785
printline_metadata(struct str *line, int sep)
usr.bin/grep/util.c
792
fputs(line->file, stdout);
usr.bin/grep/util.c
795
printf("%s", line->file);
usr.bin/grep/util.c
802
printf("%d", line->line_no);
usr.bin/grep/util.c
808
printf("%lld", (long long)(line->off + line->boff));
usr.bin/indent/args.c
336
char line[BUFSIZ];
usr.bin/indent/args.c
342
while ((fgets(line, BUFSIZ, file)) != NULL) {
usr.bin/indent/args.c
344
line[strcspn(line, " \t\n\r")] = '\0';
usr.bin/indent/args.c
345
add_typename(line);
usr.bin/join/join.c
317
if ((lp->line =
usr.bin/join/join.c
318
realloc(lp->line, lp->linealloc)) == NULL)
usr.bin/join/join.c
321
memmove(lp->line, buf, len);
usr.bin/join/join.c
325
lp->line[len - 1] = '\0';
usr.bin/join/join.c
326
bp = lp->line;
usr.bin/join/join.c
55
char *line; /* line */
usr.bin/lam/lam.c
190
strlcpy(lp, ip->sepstring, line + sizeof(line) - lp);
usr.bin/lam/lam.c
193
snprintf(lp, line + sizeof(line) - lp, ip->format, "");
usr.bin/lam/lam.c
221
strlcpy(lp, ip->sepstring, line + sizeof(line) - lp);
usr.bin/lam/lam.c
223
snprintf(lp, line + sizeof(line) - lp, ip->format, s);
usr.bin/lam/lam.c
63
static char line[BIGBUFSIZ];
usr.bin/lam/lam.c
93
linep = line;
usr.bin/lam/lam.c
98
fputs(line, stdout);
usr.bin/lex/initparse.c
632
void line_warning( const char *str, int line )
usr.bin/lex/initparse.c
639
line_pinpoint( warning, line );
usr.bin/lex/initparse.c
646
void line_pinpoint( const char *str, int line )
usr.bin/lex/initparse.c
648
fprintf( stderr, "%s:%d: %s\n", infilename, line, str );
usr.bin/logger/logger.c
362
char *line;
usr.bin/logger/logger.c
369
if ((len = asprintf(&line, "<%d>%s %s %s: %s", pri, timestamp,
usr.bin/logger/logger.c
375
lsent = sendto(sk[i].sk_sock, line, len, 0,
usr.bin/logger/logger.c
387
free(line);
usr.bin/m4/main.c
167
unsigned long line;
usr.bin/m4/main.c
630
t[lev].line = CURRENT_LINE;
usr.bin/m4/main.c
645
t[i].name, t[i].line);
usr.bin/mail/head.c
87
parse(char line[], struct headline *hl, char pbuf[])
usr.bin/mail/head.c
95
cp = line;
usr.bin/mail/list.c
375
getrawlist(char line[], char **argv, int argc)
usr.bin/mail/list.c
386
cp = line;
usr.bin/mail/names.c
82
extract(char *line, int ntype)
usr.bin/mail/names.c
87
if (line == NULL || *line == '\0')
usr.bin/mail/names.c
89
if ((nbuf = malloc(strlen(line) + 1)) == NULL)
usr.bin/mail/names.c
93
cp = line;
usr.bin/mail/send.c
101
} else if (infld && (line[0] == ' ' || line[0] == '\t')) {
usr.bin/mail/send.c
112
for (cp = line; (c = *cp++) != '\0' && c != ':' &&
usr.bin/mail/send.c
139
if (doign && isign(line, doign))
usr.bin/mail/send.c
141
else if ((line[0] == 's' || line[0] == 'S') &&
usr.bin/mail/send.c
142
strcasecmp(line, "status") == 0) {
usr.bin/mail/send.c
171
(void)fwrite(line, sizeof(*line), length, obuf);
usr.bin/mail/send.c
183
if (fgets(line, sizeof(line), ibuf) == NULL) {
usr.bin/mail/send.c
187
count -= c = strlen(line);
usr.bin/mail/send.c
197
(void)fwrite(line, sizeof(*line), c, obuf);
usr.bin/mail/send.c
204
if ((c = fread(line, sizeof(*line), c, ibuf)) <= 0)
usr.bin/mail/send.c
207
if (fwrite(line, sizeof(*line), c, obuf) != c)
usr.bin/mail/send.c
210
if (doign == ignoreall && c > 0 && line[c - 1] != '\n')
usr.bin/mail/send.c
54
char *cp, *cp2, line[LINESIZE];
usr.bin/mail/send.c
78
if (fgets(line, sizeof(line), ibuf) == NULL)
usr.bin/mail/send.c
80
count -= length = strlen(line);
usr.bin/mail/send.c
88
} else if (line[0] == '\n') {
usr.bin/ministat/ministat.c
489
int line;
usr.bin/ministat/ministat.c
495
line = 0;
usr.bin/ministat/ministat.c
497
line++;
usr.bin/ministat/ministat.c
514
t, line, n);
usr.bin/morse/morse.c
283
static int spkr, line;
usr.bin/morse/morse.c
366
if ((line = open(device, O_WRONLY | O_NONBLOCK)) == -1) {
usr.bin/morse/morse.c
369
if (tcgetattr(line, &otty) == -1) {
usr.bin/morse/morse.c
374
tcsetattr(line, TCSANOW, &ntty);
usr.bin/morse/morse.c
375
lflags = fcntl(line, F_GETFL);
usr.bin/morse/morse.c
377
fcntl(line, F_SETFL, &lflags);
usr.bin/morse/morse.c
378
ioctl(line, TIOCMGET, &lflags);
usr.bin/morse/morse.c
381
ioctl(line, TIOCMSET, &lflags);
usr.bin/morse/morse.c
456
tcsetattr(line, TCSANOW, &otty);
usr.bin/morse/morse.c
574
ioctl(line, TIOCMGET, &lflags);
usr.bin/morse/morse.c
576
ioctl(line, TIOCMSET, &lflags);
usr.bin/morse/morse.c
581
ioctl(line, TIOCMGET, &lflags);
usr.bin/morse/morse.c
583
ioctl(line, TIOCMSET, &lflags);
usr.bin/morse/morse.c
657
ioctl(line, TIOCMSET, &olflags);
usr.bin/morse/morse.c
658
tcsetattr(line, TCSANOW, &otty);
usr.bin/netstat/if.c
681
int oldmask, line;
usr.bin/netstat/if.c
704
line = 0;
usr.bin/netstat/if.c
726
if (line == 21) {
usr.bin/netstat/if.c
728
line = 0;
usr.bin/netstat/if.c
730
++line;
usr.bin/netstat/inet.c
1492
char line[80], *cp;
usr.bin/netstat/inet.c
1500
snprintf(line, sizeof(line), "%s.", inetname(in));
usr.bin/netstat/inet.c
1502
snprintf(line, sizeof(line), "%.*s.",
usr.bin/netstat/inet.c
1504
alen = strlen(line);
usr.bin/netstat/inet.c
1505
cp = line + alen;
usr.bin/netstat/inet.c
1509
snprintf(cp, sizeof(line) - alen,
usr.bin/netstat/inet.c
1512
snprintf(cp, sizeof(line) - alen,
usr.bin/netstat/inet.c
1517
xo_emit("{d:target/%-*s} ", width, line);
usr.bin/netstat/inet.c
1519
xo_emit("{d:target/%-*.*s} ", width, width, line);
usr.bin/netstat/inet.c
1523
xo_emit("{e:address/%*.*s}{e:port/%*.*s}", alen, alen, line, plen,
usr.bin/netstat/inet.c
1539
static char line[MAXHOSTNAMELEN];
usr.bin/netstat/inet.c
1551
strcpy(line, "*");
usr.bin/netstat/inet.c
1553
strlcpy(line, cp, sizeof(line));
usr.bin/netstat/inet.c
1557
snprintf(line, sizeof(line), "%u.%u.%u.%u",
usr.bin/netstat/inet.c
1561
return (line);
usr.bin/netstat/inet6.c
1276
char line[80], *cp;
usr.bin/netstat/inet6.c
1283
snprintf(line, sizeof(line), "%.*s.",
usr.bin/netstat/inet6.c
1286
alen = strlen(line);
usr.bin/netstat/inet6.c
1287
cp = line + alen;
usr.bin/netstat/inet6.c
1291
snprintf(cp, sizeof(line) - alen,
usr.bin/netstat/inet6.c
1294
snprintf(cp, sizeof(line) - alen,
usr.bin/netstat/inet6.c
1298
xo_emit("{d:target/%-*.*s} ", width, width, line);
usr.bin/netstat/inet6.c
1302
xo_emit("{e:address/%*.*s}{e:port/%*.*s}", alen, alen, line, plen,
usr.bin/netstat/inet6.c
1320
static char line[NI_MAXHOST];
usr.bin/netstat/inet6.c
1326
strcpy(line, "*");
usr.bin/netstat/inet6.c
1327
return (line);
usr.bin/netstat/inet6.c
1350
strlcpy(line, hbuf, sizeof(line));
usr.bin/netstat/inet6.c
1353
snprintf(line, sizeof(line), "%s",
usr.bin/netstat/inet6.c
1357
return (line);
usr.bin/netstat/route.c
488
static char line[NI_MAXHOST];
usr.bin/netstat/route.c
492
error = getnameinfo(sa, sa->sa_len, line, sizeof(line),
usr.bin/netstat/route.c
508
return(line);
usr.bin/netstat/route.c
510
inet_ntop(sa->sa_family, src, line, sizeof(line) - 1);
usr.bin/netstat/route.c
511
return (line);
usr.bin/netstat/route.c
513
trimdomain(line, strlen(line));
usr.bin/netstat/route.c
515
return (line);
usr.bin/netstat/route.c
580
static char line[MAXHOSTNAMELEN + sizeof("&0xffffffff")];
usr.bin/netstat/route.c
586
strlcpy(line, "default", sizeof(line));
usr.bin/netstat/route.c
587
return (line);
usr.bin/netstat/route.c
602
strlcpy(line, cp, sizeof(line));
usr.bin/netstat/route.c
605
strlcpy(line, nline, sizeof(line));
usr.bin/netstat/route.c
606
domask(line + strlen(line), sizeof(line) - strlen(line), ntohl(mask));
usr.bin/netstat/route.c
609
return (line);
usr.bin/netstat/route.c
650
static char line[NI_MAXHOST + sizeof("/xxx") - 1];
usr.bin/netstat/route.c
687
strlcpy(line, nline, sizeof(line));
usr.bin/netstat/route.c
689
getnameinfo((struct sockaddr *)sa6, sa6->sin6_len, line,
usr.bin/netstat/route.c
690
sizeof(line), NULL, 0, 0);
usr.bin/netstat/route.c
691
if (numeric_addr || strcmp(line, nline) == 0) {
usr.bin/netstat/route.c
693
strlcat(line, maskbuf, sizeof(line));
usr.bin/netstat/route.c
696
return (line);
usr.bin/netstat/sctp.c
104
char line[80], *cp;
usr.bin/netstat/sctp.c
114
snprintf(line, sizeof(line), "%.*s.",
usr.bin/netstat/sctp.c
120
snprintf(line, sizeof(line), "%.*s.",
usr.bin/netstat/sctp.c
125
snprintf(line, sizeof(line), "%.*s.",
usr.bin/netstat/sctp.c
129
alen = strlen(line);
usr.bin/netstat/sctp.c
130
cp = line + alen;
usr.bin/netstat/sctp.c
134
snprintf(cp, sizeof(line) - alen,
usr.bin/netstat/sctp.c
137
snprintf(cp, sizeof(line) - alen,
usr.bin/netstat/sctp.c
140
xo_emit("{d:target/%-*.*s} ", width, width, line);
usr.bin/netstat/sctp.c
144
xo_emit("{e:address/%*.*s}{e:port/%*.*s}", alen, alen, line, plen,
usr.bin/nl/nl.c
277
int line; /* logical line number */
usr.bin/nl/nl.c
284
line = startnum;
usr.bin/nl/nl.c
302
line = startnum;
usr.bin/nl/nl.c
334
consumed = sprintf(intbuffer, format, width, line);
usr.bin/nl/nl.c
337
line += incr;
usr.bin/number/number.c
109
convert(char *line)
usr.bin/number/number.c
116
for (p = line; *p != '\0' && *p != '\n'; ++p) {
usr.bin/number/number.c
118
if (p == line) {
usr.bin/number/number.c
119
++line;
usr.bin/number/number.c
134
if (p == line)
usr.bin/number/number.c
138
badnum: errx(1, "illegal number: %s", line);
usr.bin/number/number.c
144
if ((len = strlen(line)) > MAXNUM ||
usr.bin/number/number.c
148
if (*line == '-') {
usr.bin/number/number.c
150
++line;
usr.bin/number/number.c
154
rval = len > 0 ? unit(len, line) : 0;
usr.bin/number/number.c
75
char line[256];
usr.bin/number/number.c
92
fgets(line, sizeof(line), stdin) != NULL; first = 0) {
usr.bin/number/number.c
93
if (strchr(line, '\n') == NULL)
usr.bin/number/number.c
97
convert(line);
usr.bin/patch/inp.c
377
ifetch(LINENUM line, int whichbuf)
usr.bin/patch/inp.c
379
if (line < 1 || line > input_lines) {
usr.bin/patch/inp.c
381
say("No such line %ld in input file, ignoring\n", line);
usr.bin/patch/inp.c
387
return i_ptr[line];
usr.bin/patch/inp.c
389
LINENUM offline = line % lines_per_buf;
usr.bin/patch/inp.c
390
LINENUM baseline = line - offline;
usr.bin/patch/patch.c
1063
dump_line(LINENUM line, bool write_newline)
usr.bin/patch/patch.c
1067
s = ifetch(line, 0);
usr.bin/patch/patch.c
811
const char *line = pfetch(i);
usr.bin/patch/patch.c
813
len = strlen(line);
usr.bin/patch/patch.c
815
fprintf(rejfp, "%c%s", ch, line);
usr.bin/patch/patch.c
816
if (len == 0 || line[len - 1] != '\n') {
usr.bin/patch/pch.c
1216
char *line = NULL;
usr.bin/patch/pch.c
1221
if ((len = getline(&line, &buflen, pfp)) >= 0) {
usr.bin/patch/pch.c
1222
char *linep = line;
usr.bin/patch/pch.c
1233
indent < p_indent && (*line == ' ' || *line == '\t' || *line == 'X');
usr.bin/patch/pch.c
1234
line++, skipped++) {
usr.bin/patch/pch.c
1235
if (*line == '\t')
usr.bin/patch/pch.c
1241
memcpy(buf, line, len - skipped);
usr.bin/patch/pch.c
1243
line = linep;
usr.bin/patch/pch.c
1245
free(line);
usr.bin/patch/pch.c
1415
pch_line_len(LINENUM line)
usr.bin/patch/pch.c
1417
return p_len[line];
usr.bin/patch/pch.c
1424
pch_char(LINENUM line)
usr.bin/patch/pch.c
1426
return p_char[line];
usr.bin/patch/pch.c
1433
pfetch(LINENUM line)
usr.bin/patch/pch.c
1435
return p_line[line];
usr.bin/pr/pr.c
1415
addnum(char *buf, int wdth, int line)
usr.bin/pr/pr.c
1420
*--pt = digs[line % 10];
usr.bin/pr/pr.c
1421
line /= 10;
usr.bin/pr/pr.c
1422
} while (line && (pt > buf));
usr.bin/rpcgen/rpc_scan.c
434
cppline(char *line)
usr.bin/rpcgen/rpc_scan.c
436
return (line == curline && *line == '#');
usr.bin/rpcgen/rpc_scan.c
440
directive(char *line)
usr.bin/rpcgen/rpc_scan.c
442
return (line == curline && *line == '%');
usr.bin/rpcgen/rpc_scan.c
446
printdirective(char *line)
usr.bin/rpcgen/rpc_scan.c
448
f_print(fout, "%s", line + 1);
usr.bin/rpcgen/rpc_scan.c
452
docppline(char *line, int *lineno, const char **fname)
usr.bin/rpcgen/rpc_scan.c
458
line++;
usr.bin/rpcgen/rpc_scan.c
459
while (isspace(*line)) {
usr.bin/rpcgen/rpc_scan.c
460
line++;
usr.bin/rpcgen/rpc_scan.c
462
num = atoi(line);
usr.bin/rpcgen/rpc_scan.c
463
while (isdigit(*line)) {
usr.bin/rpcgen/rpc_scan.c
464
line++;
usr.bin/rpcgen/rpc_scan.c
466
while (isspace(*line)) {
usr.bin/rpcgen/rpc_scan.c
467
line++;
usr.bin/rpcgen/rpc_scan.c
469
if (*line != '"') {
usr.bin/rpcgen/rpc_scan.c
472
line++;
usr.bin/rpcgen/rpc_scan.c
473
p = file = xmalloc(strlen(line) + 1);
usr.bin/rpcgen/rpc_scan.c
474
while (*line && *line != '"') {
usr.bin/rpcgen/rpc_scan.c
475
*p++ = *line++;
usr.bin/rpcgen/rpc_scan.c
477
if (*line == 0) {
usr.bin/sdiff/sdiff.c
1051
char *line;
usr.bin/sdiff/sdiff.c
1054
if (!(line = xfgets(file)))
usr.bin/sdiff/sdiff.c
1056
enqueue(NULL, '>', line);
usr.bin/sdiff/sdiff.c
1070
char *line;
usr.bin/sdiff/sdiff.c
1086
linep->line = line1;
usr.bin/sdiff/sdiff.c
1101
enqueue(del->line, '|', add);
usr.bin/sdiff/sdiff.c
1128
enqueue(filep->line, '<', NULL);
usr.bin/sdiff/sdiff.c
716
char *line, *p, *q;
usr.bin/sdiff/sdiff.c
721
if (!(line = xfgets(diffpipe)))
usr.bin/sdiff/sdiff.c
724
p = line;
usr.bin/sdiff/sdiff.c
730
file1start = strtonum(line, 0, INT_MAX, &errstr);
usr.bin/sdiff/sdiff.c
732
errx(2, "file1 start is %s: %s", errstr, line);
usr.bin/sdiff/sdiff.c
744
errx(2, "file1 end is %s: %s", errstr, line);
usr.bin/sdiff/sdiff.c
746
errx(2, "invalid line range in file1: %s", line);
usr.bin/sdiff/sdiff.c
753
errx(2, "ed command not recognized: %c: %s", cmd, line);
usr.bin/sdiff/sdiff.c
763
errx(2, "file2 start is %s: %s", errstr, line);
usr.bin/sdiff/sdiff.c
770
errx(2, "invalid line range in file2: %c: %s", c, line);
usr.bin/sdiff/sdiff.c
776
errx(2, "file2 end is %s: %s", errstr, line);
usr.bin/sdiff/sdiff.c
778
errx(2, "invalid line range in file2: %s", line);
usr.bin/sdiff/sdiff.c
786
line);
usr.bin/sdiff/sdiff.c
788
errx(2, "file1 line range too high: %s", line);
usr.bin/sdiff/sdiff.c
798
line);
usr.bin/sdiff/sdiff.c
800
errx(2, "file2 line range too high: %s", line);
usr.bin/sdiff/sdiff.c
874
errx(2, "invalid diff command: %c: %s", cmd, line);
usr.bin/sdiff/sdiff.c
876
free(line);
usr.bin/sdiff/sdiff.c
880
if (!(line = xfgets(diffpipe)))
usr.bin/sdiff/sdiff.c
882
free(line);
usr.bin/soelim/soelim.c
100
printf("%s", line);
usr.bin/soelim/soelim.c
111
if (cp < line + linelen)
usr.bin/soelim/soelim.c
115
printf("%s", line);
usr.bin/soelim/soelim.c
119
free(line);
usr.bin/soelim/soelim.c
126
free(line);
usr.bin/soelim/soelim.c
84
char *line = NULL;
usr.bin/soelim/soelim.c
92
while ((linelen = getline(&line, &linecap, f)) > 0) {
usr.bin/soelim/soelim.c
93
if (strncmp(line, ".so", 3) != 0) {
usr.bin/soelim/soelim.c
94
printf("%s", line);
usr.bin/soelim/soelim.c
98
walk = line + 3;
usr.bin/sort/file.c
792
struct bwstring *line;
usr.bin/sort/file.c
801
line = file_reader_readline((*fh)->fr);
usr.bin/sort/file.c
802
if (line == NULL) {
usr.bin/sort/file.c
808
sort_list_item_set((*fh)->si, line);
usr.bin/sort/sort.c
220
char *line = NULL;
usr.bin/sort/sort.c
231
while ((linelen = getdelim(&line, &linesize, '\0', f)) != -1) {
usr.bin/sort/sort.c
232
if (*line != '\0') {
usr.bin/sort/sort.c
240
argv_from_file0[argc_from_file0 - 1] = line;
usr.bin/sort/sort.c
242
free(line);
usr.bin/sort/sort.c
244
line = NULL;
usr.bin/systat/keyboard.c
142
if (col == 1 && line[0] == ':')
usr.bin/systat/keyboard.c
148
while (--col >= 0 && isspace(line[col]))
usr.bin/systat/keyboard.c
151
while (--col >= 0 && !isspace(line[col]))
usr.bin/systat/keyboard.c
152
if (col == 0 && line[0] == ':')
usr.bin/systat/keyboard.c
159
if (line[0] == ':')
usr.bin/systat/keyboard.c
167
line[col] = ch;
usr.bin/systat/keyboard.c
46
static char line[80];
usr.bin/systat/keyboard.c
97
line[col] = '\0';
usr.bin/systat/keyboard.c
98
command(line + 1);
usr.bin/systat/netstat.c
414
char line[80], *cp;
usr.bin/systat/netstat.c
430
snprintf(line, sizeof(line), "%.*s.", 16, inetname(sa));
usr.bin/systat/netstat.c
431
cp = strchr(line, '\0');
usr.bin/systat/netstat.c
435
snprintf(cp, sizeof(line) - (cp - line), "%.8s",
usr.bin/systat/netstat.c
438
snprintf(cp, sizeof(line) - (cp - line), "%d",
usr.bin/systat/netstat.c
441
cp = strchr(line, '\0');
usr.bin/systat/netstat.c
442
while (cp - line < 22)
usr.bin/systat/netstat.c
444
line[22] = '\0';
usr.bin/systat/netstat.c
445
waddstr(wnd, line);
usr.bin/systat/netstat.c
457
static char line[NI_MAXHOST];
usr.bin/systat/netstat.c
465
strcpy(line, "*");
usr.bin/systat/netstat.c
467
getnameinfo(sa, sa->sa_len, line, sizeof(line), NULL, 0,
usr.bin/systat/netstat.c
469
return (line);
usr.bin/systat/netstat.c
480
strcpy(line, "*");
usr.bin/systat/netstat.c
482
snprintf(line, sizeof(line), "%s", cp);
usr.bin/systat/netstat.c
486
snprintf(line, sizeof(line), "%u.%u.%u.%u", C(in.s_addr >> 24),
usr.bin/systat/netstat.c
489
return (line);
usr.bin/talk/display.c
196
readwin(WINDOW *win, int line, int col)
usr.bin/talk/display.c
202
wmove(win, line, col);
usr.bin/tftp/main.c
108
static void makeargv(char *argv0, char *line);
usr.bin/tftp/main.c
340
static char *line;
usr.bin/tftp/main.c
345
getline(&line, &sz, stdin);
usr.bin/tftp/main.c
346
makeargv(argv[0], line);
usr.bin/tftp/main.c
420
static char *line;
usr.bin/tftp/main.c
428
getline(&line, &sz, stdin);
usr.bin/tftp/main.c
429
makeargv(argv[0], line);
usr.bin/tftp/main.c
528
static char *line;
usr.bin/tftp/main.c
535
getline(&line, &sz, stdin);
usr.bin/tftp/main.c
536
makeargv(argv[0], line);
usr.bin/tftp/main.c
615
static char *line;
usr.bin/tftp/main.c
621
getline(&line, &sz, stdin);
usr.bin/tftp/main.c
622
makeargv(argv[0], line);
usr.bin/tftp/main.c
642
static char *line;
usr.bin/tftp/main.c
648
getline(&line, &sz, stdin);
usr.bin/tftp/main.c
649
makeargv(argv[0], line);
usr.bin/tftp/main.c
722
static char *line;
usr.bin/tftp/main.c
733
line = realloc(line, sz = len + 1);
usr.bin/tftp/main.c
734
strlcpy(line, bp, sz);
usr.bin/tftp/main.c
735
history(hist, hep, H_ENTER, line);
usr.bin/tftp/main.c
737
if ((len = getline(&line, &sz, stdin)) <= 0) {
usr.bin/tftp/main.c
745
if (line[len - 1] == '\n')
usr.bin/tftp/main.c
746
line[--len] = '\0';
usr.bin/tftp/main.c
747
if (line[0] == 0)
usr.bin/tftp/main.c
749
makeargv(NULL, line);
usr.bin/tftp/main.c
798
makeargv(char *argv0, char *line)
usr.bin/tftp/main.c
808
if ((cp = strchr(line, '\n')) != NULL)
usr.bin/tftp/main.c
810
for (cp = line; margc < MAX_MARGV - 1 && *cp != '\0';) {
usr.bin/tip/libacu/biz22.c
90
char line[80];
usr.bin/tip/libacu/biz22.c
92
(void)snprintf(line, sizeof line, "%ld second dial timeout",
usr.bin/tip/libacu/biz22.c
94
logent(value(HOST), num, "biz1022", line);
usr.bin/tip/libacu/biz31.c
89
char line[80];
usr.bin/tip/libacu/biz31.c
91
(void)snprintf(line, sizeof line, "%ld second dial timeout",
usr.bin/tip/libacu/biz31.c
93
logent(value(HOST), num, "biz", line);
usr.bin/tip/libacu/courier.c
105
(void)snprintf(line, sizeof line, "%ld second dial timeout",
usr.bin/tip/libacu/courier.c
107
logent(value(HOST), num, "cour", line);
usr.bin/tip/libacu/courier.c
64
char line[80];
usr.bin/tip/libacu/hayes.c
128
(void)snprintf(line, sizeof line, "%ld second dial timeout",
usr.bin/tip/libacu/hayes.c
130
logent(value(HOST), num, "hayes", line);
usr.bin/tip/libacu/hayes.c
91
char line[80];
usr.bin/tip/libacu/t3000.c
106
(void)snprintf(line, sizeof line, "%ld second dial timeout",
usr.bin/tip/libacu/t3000.c
108
logent(value(HOST), num, "t3000", line);
usr.bin/tip/libacu/t3000.c
66
char line[80];
usr.bin/tip/libacu/ventel.c
100
(void)snprintf(line, sizeof line, "%ld second dial timeout",
usr.bin/tip/libacu/ventel.c
102
logent(value(HOST), num, "ventel", line);
usr.bin/tip/libacu/ventel.c
110
cp = strchr(line, '\r');
usr.bin/tip/libacu/ventel.c
113
for (cp = line; (cp = strchr(cp, ' ')) != NULL; cp++)
usr.bin/tip/libacu/ventel.c
68
char *msg, line[80];
usr.bin/tip/libacu/ventel.c
94
gobble('\n', line);
usr.bin/tip/libacu/ventel.c
95
if (gobble('\n', line))
usr.bin/tip/libacu/ventel.c
96
connected = gobble('!', line);
usr.bin/tip/tip/cmds.c
103
char line[BUFSIZ], *cp;
usr.bin/tip/tip/cmds.c
119
(void)snprintf(line, sizeof(line), "cat %s;echo ''|tr '\\012' '\\01'", argv[0]);
usr.bin/tip/tip/cmds.c
120
transfer(line, fd, "\01");
usr.bin/tip/tip/cmds.c
395
char line[BUFSIZ];
usr.bin/tip/tip/cmds.c
414
(void)snprintf(line, sizeof(line), "cat>%s\r", argv[1]);
usr.bin/tip/tip/cmds.c
416
(void)snprintf(line, sizeof(line),
usr.bin/tip/tip/cmds.c
418
transmit(fp, "\04", line);
usr.bin/tip/tip/tipout.c
72
char c, line[256];
usr.bin/tip/tip/tipout.c
73
char *pline = line;
usr.bin/tip/tip/tipout.c
77
while (c != '\n' && (size_t)(pline - line) < sizeof(line)) {
usr.bin/tip/tip/tipout.c
84
if (pline == line) {
usr.bin/tip/tip/tipout.c
88
if ((fscript = fopen(line, "a")) == NULL)
usr.bin/top/display.c
1178
line_update(char *old, char *new, int start, int line)
usr.bin/top/display.c
1201
if (line - lastline == 1 && start == 0)
usr.bin/top/display.c
1207
Move_to(start, line);
usr.bin/top/display.c
1245
Move_to(newcol, line);
usr.bin/top/display.c
1288
lastline = line;
usr.bin/top/display.c
823
i_process(int line, char *thisline)
usr.bin/top/display.c
829
while (lastline < y_procs + line)
usr.bin/top/display.c
846
base = smart_terminal ? screenbuf + lineindex(line) : screenbuf;
usr.bin/top/display.c
857
u_process(int line, char *newline)
usr.bin/top/display.c
860
int screen_line = line + Header_lines;
usr.bin/top/display.c
864
bufferline = &screenbuf[lineindex(line)];
usr.bin/top/display.c
874
if (line >= last_hi)
usr.bin/top/display.c
903
line_update(bufferline, newline, 0, line + Header_lines);
usr.bin/top/display.h
22
void i_process(int line, char *thisline);
usr.bin/top/display.h
38
void u_process(int line, char *newline);
usr.bin/top/top.c
83
static void (*d_process)(int line, char *thisline) = i_process;
usr.bin/top/utils.c
127
argparse(char *line, int *cntp)
usr.bin/top/utils.c
134
while ((*ap = strsep(&line, " ")) != NULL) {
usr.bin/units/units.c
119
char line[512], *lineptr;
usr.bin/units/units.c
157
if (!fgets(line, sizeof(line), unitfile))
usr.bin/units/units.c
160
lineptr = line;
usr.bin/usbhidaction/usbhidaction.c
280
int line;
usr.bin/usbhidaction/usbhidaction.c
293
for (line = 1; ; line++) {
usr.bin/usbhidaction/usbhidaction.c
310
", syntax error: %s", conf, line, buf);
usr.bin/usbhidaction/usbhidaction.c
315
", syntax error: %s", conf, line, buf);
usr.bin/usbhidaction/usbhidaction.c
330
cmd->line = line;
usr.bin/usbhidaction/usbhidaction.c
341
conf, line, value);
usr.bin/usbhidaction/usbhidaction.c
347
conf, line, value);
usr.bin/usbhidaction/usbhidaction.c
357
conf, line, debounce);
usr.bin/usbhidaction/usbhidaction.c
363
conf, line, debounce);
usr.bin/usbhidaction/usbhidaction.c
434
"item not found: `%s'\n", conf, line, name);
usr.bin/usbhidaction/usbhidaction.c
439
"not found: `%s'\n", conf, line, name);
usr.bin/usbhidaction/usbhidaction.c
457
printf("PARSE:%d %s, %d, '%s'\n", cmd->line, name,
usr.bin/usbhidaction/usbhidaction.c
57
int line;
usr.bin/vtfontcvt/vtfontcvt.c
359
split_row(uint8_t *left, uint8_t *right, uint8_t *line, size_t w)
usr.bin/vtfontcvt/vtfontcvt.c
365
memcpy(left, line, wbytes);
usr.bin/vtfontcvt/vtfontcvt.c
372
t = *(line + wbytes + i - 1);
usr.bin/vtfontcvt/vtfontcvt.c
374
t |= *(line + wbytes + i) >> s;
usr.bin/vtfontcvt/vtfontcvt.c
404
uint8_t *line, *bytes, *bytes_r;
usr.bin/vtfontcvt/vtfontcvt.c
469
line = xmalloc(wbytes * 2);
usr.bin/vtfontcvt/vtfontcvt.c
513
memset(line, 0, wbytes * 2);
usr.bin/vtfontcvt/vtfontcvt.c
519
*(line + j) = (uint8_t)val;
usr.bin/vtfontcvt/vtfontcvt.c
522
rshift_row(line, wbytes * 2, bbox - fbbox);
usr.bin/vtfontcvt/vtfontcvt.c
524
bytes_r + i * wbytes, line, dwidth);
usr.bin/vtfontcvt/vtfontcvt.c
543
free(line);
usr.bin/vtfontcvt/vtfontcvt.c
552
uint8_t *bytes = NULL, *bytes_r = NULL, *line = NULL;
usr.bin/vtfontcvt/vtfontcvt.c
571
line = xmalloc(wbytes * 2);
usr.bin/vtfontcvt/vtfontcvt.c
592
*(line + j) = (uint8_t)val;
usr.bin/vtfontcvt/vtfontcvt.c
595
bytes_r + i * wbytes, line, gwidth);
usr.bin/vtfontcvt/vtfontcvt.c
612
free(line);
usr.bin/w/w.c
579
ttystat(char *line)
usr.bin/w/w.c
584
(void)snprintf(ttybuf, sizeof(ttybuf), "%s%s", _PATH_DEV, line);
usr.bin/wall/wall.c
72
ttystat(char *line)
usr.bin/wall/wall.c
77
(void)snprintf(ttybuf, sizeof(ttybuf), "%s%s", _PATH_DEV, line);
usr.bin/who/who.c
211
ttystat(char *line)
usr.bin/who/who.c
216
if (line == NULL)
usr.bin/who/who.c
218
(void)snprintf(ttybuf, sizeof(ttybuf), "%s%s", _PATH_DEV, line);
usr.bin/write/write.c
285
wchar_t line[512];
usr.bin/write/write.c
308
while (fgetws(line, sizeof(line)/sizeof(wchar_t), stdin) != NULL)
usr.bin/write/write.c
309
wr_fputs(line);
usr.sbin/ac/ac.c
101
add_tty(const char *line)
usr.sbin/ac/ac.c
112
if (*line == '!') { /* don't do if match */
usr.sbin/ac/ac.c
114
line++;
usr.sbin/ac/ac.c
116
strlcpy(tp->line, line, sizeof(tp->line));
usr.sbin/ac/ac.c
118
if ((rcp = strchr(tp->line, '*')) != NULL) {
usr.sbin/ac/ac.c
121
tp->len = strlen(tp->line);
usr.sbin/ac/ac.c
130
do_tty(const char *line)
usr.sbin/ac/ac.c
139
if (strncmp(line, tp->line, tp->len) == 0)
usr.sbin/ac/ac.c
142
if (strncmp(line, tp->line, sizeof(tp->line)) == 0)
usr.sbin/ac/ac.c
159
if (strcmp(up->line, Console) == 0)
usr.sbin/ac/ac.c
397
memcpy(lp->line, up->ut_line, sizeof(lp->line));
usr.sbin/ac/ac.c
54
char line[sizeof(((struct utmpx *)0)->ut_line)];
usr.sbin/ac/ac.c
73
char line[sizeof(((struct utmpx *)0)->ut_line) + 2];
usr.sbin/apmd/apmd.c
121
execl(_PATH_BSHELL, "sh", "-c", p->line, (char *)NULL);
usr.sbin/apmd/apmd.c
135
fprintf(fp, " \"%s\"", ((struct event_cmd_exec *)this)->line);
usr.sbin/apmd/apmd.c
147
if ((newone->line = strdup(oldone->line)) == NULL)
usr.sbin/apmd/apmd.c
154
free(((struct event_cmd_exec *)this)->line);
usr.sbin/apmd/apmd.h
69
char * line; /* Command line */
usr.sbin/apmd/apmdparse.y
177
cmd->line = $2;
usr.sbin/arp/arp.c
220
char line[100], arg[5][50], *args[5], *p;
usr.sbin/arp/arp.c
230
while(fgets(line, sizeof(line), fp) != NULL) {
usr.sbin/arp/arp.c
231
if ((p = strchr(line, '#')) != NULL)
usr.sbin/arp/arp.c
233
for (p = line; isblank(*p); p++);
usr.sbin/arp/arp.c
239
xo_warnx("bad line: %s", line);
usr.sbin/autofs/common.c
904
char *line = NULL, *key;
usr.sbin/autofs/common.c
911
linelen = getline(&line, &linecap, yyin);
usr.sbin/autofs/common.c
928
key = strndup(line, linelen - 1);
usr.sbin/autofs/common.c
934
free(line);
usr.sbin/bhyve/amd64/ps2kbd.c
443
char *buf, *next, *line;
usr.sbin/bhyve/amd64/ps2kbd.c
471
while ((line = strsep(&next, "\n")) != NULL) {
usr.sbin/bhyve/amd64/ps2kbd.c
472
if (sscanf(line, "'%c',%x;", &ascii, &scancode) == 2) {
usr.sbin/bhyve/amd64/ps2kbd.c
475
} else if (sscanf(line, "%x,%x,%x;", &keycode, &scancode, &prefix) == 3 ) {
usr.sbin/bhyve/amd64/ps2kbd.c
477
} else if (sscanf(line, "%x,%x;", &keycode, &scancode) == 2) {
usr.sbin/bhyve/bhyverun.c
776
char *line, *cp;
usr.sbin/bhyve/bhyverun.c
783
line = NULL;
usr.sbin/bhyve/bhyverun.c
786
for (lineno = 1; getline(&line, &linecap, fp) > 0; lineno++) {
usr.sbin/bhyve/bhyverun.c
787
if (*line == '#' || *line == '\n')
usr.sbin/bhyve/bhyverun.c
789
cp = strchr(line, '\n');
usr.sbin/bhyve/bhyverun.c
792
if (!bhyve_parse_config_option(line))
usr.sbin/bhyve/bhyverun.c
794
lineno, line);
usr.sbin/bhyve/bhyverun.c
796
free(line);
usr.sbin/bluetooth/bthidd/parser.y
104
config: line
usr.sbin/bluetooth/bthidd/parser.y
105
| config line
usr.sbin/bluetooth/bthidd/parser.y
108
line: T_DEVICE
usr.sbin/bluetooth/bthidd/parser.y
492
char *line;
usr.sbin/bluetooth/bthidd/parser.y
511
if ((line = strtok(buffer, "\r\n\t ")) == NULL)
usr.sbin/bluetooth/bthidd/parser.y
514
if (!bt_aton(line, &bdaddr)) {
usr.sbin/bluetooth/btpand/event.h
100
ev->lines[0] = line;
usr.sbin/bluetooth/btpand/event.h
106
_event_add(char const *file, int line, struct event *ev,
usr.sbin/bluetooth/btpand/event.h
109
"timeout=%p", file, line, ev, ev->fd, ev->flags, ev->cb,
usr.sbin/bluetooth/btpand/event.h
113
ev->lines[1] = line;
usr.sbin/bluetooth/btpand/event.h
119
_event_del(char const *file, int line, struct event *ev)
usr.sbin/bluetooth/btpand/event.h
122
file, line, ev, ev->fd, ev->flags, ev->cb, ev->cbarg);
usr.sbin/bluetooth/btpand/event.h
125
ev->lines[2] = line;
usr.sbin/bluetooth/btpand/event.h
93
_event_set(char const *file, int line, struct event *ev, int fd, short flags,
usr.sbin/bluetooth/btpand/event.h
97
file, line, ev, fd, flags, cb, cbarg);
usr.sbin/bluetooth/hcsecd/parser.y
71
config: line
usr.sbin/bluetooth/hcsecd/parser.y
72
| config line
usr.sbin/bluetooth/hcsecd/parser.y
75
line: T_DEVICE
usr.sbin/bsdinstall/distextract/distextract.c
183
char line[512];
usr.sbin/bsdinstall/distextract/distextract.c
195
while (fgets(line, sizeof(line), manifest) != NULL) {
usr.sbin/bsdinstall/distextract/distextract.c
196
p = &line[0];
usr.sbin/chkgrp/chkgrp.c
101
for (p = line; p < line + len; p++)
usr.sbin/chkgrp/chkgrp.c
109
if (strncmp(line, "+:::", len) == 0 ||
usr.sbin/chkgrp/chkgrp.c
110
strncmp(line, "+:*::", len) == 0)
usr.sbin/chkgrp/chkgrp.c
119
for (f[k] = line + i; i < len && line[i] != ':'; i++)
usr.sbin/chkgrp/chkgrp.c
121
if (k < 3 && line[i] != ':')
usr.sbin/chkgrp/chkgrp.c
123
line[i++] = 0;
usr.sbin/chkgrp/chkgrp.c
62
char *line;
usr.sbin/chkgrp/chkgrp.c
91
if ((line = fgetln(gf, &len)) == NULL)
usr.sbin/chkgrp/chkgrp.c
93
if (len > 0 && line[len - 1] != '\n') {
usr.sbin/chkgrp/chkgrp.c
97
while (len && isspace(line[len-1]))
usr.sbin/config/main.cc
804
char line[BUFSIZ];
usr.sbin/config/main.cc
807
while (fgets(line, BUFSIZ, ifp) != 0) {
usr.sbin/config/main.cc
808
if (*line != '%')
usr.sbin/config/main.cc
810
if (strncmp(line, "%VERSREQ=", 9) != 0)
usr.sbin/config/main.cc
812
versreq = atoi(line + 9);
usr.sbin/config/mkmakefile.cc
116
char line[BUFSIZ];
usr.sbin/config/mkmakefile.cc
118
snprintf(line, sizeof(line), "../../conf/Makefile.%s", machinename);
usr.sbin/config/mkmakefile.cc
119
ifp = fopen(line, "r");
usr.sbin/config/mkmakefile.cc
121
snprintf(line, sizeof(line), "Makefile.%s", machinename);
usr.sbin/config/mkmakefile.cc
122
ifp = fopen(line, "r");
usr.sbin/config/mkmakefile.cc
125
err(1, "%s", line);
usr.sbin/config/mkmakefile.cc
136
char line[BUFSIZ];
usr.sbin/config/mkmakefile.cc
157
while (fgets(line, BUFSIZ, ifp) != NULL) {
usr.sbin/config/mkmakefile.cc
158
if (*line != '%') {
usr.sbin/config/mkmakefile.cc
159
fprintf(ofp, "%s", line);
usr.sbin/config/mkmakefile.cc
162
if (eq(line, "%BEFORE_DEPEND\n"))
usr.sbin/config/mkmakefile.cc
164
else if (eq(line, "%OBJS\n"))
usr.sbin/config/mkmakefile.cc
166
else if (strncmp(line, "%FILES.", 7) == 0)
usr.sbin/config/mkmakefile.cc
167
do_xxfiles(line, ofp);
usr.sbin/config/mkmakefile.cc
168
else if (eq(line, "%RULES\n"))
usr.sbin/config/mkmakefile.cc
170
else if (eq(line, "%CLEAN\n"))
usr.sbin/config/mkmakefile.cc
172
else if (strncmp(line, "%VERSREQ=", 9) == 0)
usr.sbin/config/mkmakefile.cc
173
line[0] = '\0'; /* handled elsewhere */
usr.sbin/config/mkmakefile.cc
177
line);
usr.sbin/config/mkmakefile.cc
245
preprocess(char *line, char *result)
usr.sbin/config/mkmakefile.cc
250
if ((s = strchr(line, '#')) != NULL)
usr.sbin/config/mkmakefile.cc
252
sanitize_envline(result, line);
usr.sbin/config/mkmakefile.cc
258
process_into_file(char *line, FILE *ofp)
usr.sbin/config/mkmakefile.cc
262
if (preprocess(line, result))
usr.sbin/config/mkmakefile.cc
267
process_into_map(char *line, env_map &emap)
usr.sbin/config/mkmakefile.cc
271
if (preprocess(line, result)) {
usr.sbin/config/mkmakefile.cc
300
char line[BUFSIZ];
usr.sbin/config/mkmakefile.cc
321
while (fgets(line, BUFSIZ, ifp) != NULL) {
usr.sbin/config/mkmakefile.cc
322
if (process_into_map(line, emap) != 0)
usr.sbin/config/mkmakefile.cc
324
hint->hint_name, line);
usr.sbin/config/mkmakefile.cc
342
char line[BUFSIZ];
usr.sbin/config/mkmakefile.cc
364
while (fgets(line, BUFSIZ, ifp) != NULL) {
usr.sbin/config/mkmakefile.cc
365
if (process_into_map(line, emap) != 0)
usr.sbin/config/mkmakefile.cc
367
envvar->env_str, line);
usr.sbin/config/mkmakefile.cc
63
static bool preprocess(char *line, char *result);
usr.sbin/config/mkmakefile.cc
64
static void process_into_file(char *line, FILE *ofp);
usr.sbin/config/mkmakefile.cc
65
static int process_into_map(char *line, env_map &emap);
usr.sbin/cron/lib/misc.c
314
char line[MAX_TEMPSTR];
usr.sbin/cron/lib/misc.c
317
while (fgets(line, MAX_TEMPSTR, file)) {
usr.sbin/cron/lib/misc.c
318
if (line[0] != '\0')
usr.sbin/cron/lib/misc.c
319
if (line[strlen(line)-1] == '\n')
usr.sbin/cron/lib/misc.c
320
line[strlen(line)-1] = '\0';
usr.sbin/cron/lib/misc.c
321
if (0 == strcmp(line, string))
usr.sbin/crunch/crunchgen/crunchgen.c
287
char line[MAXLINELEN];
usr.sbin/crunch/crunchgen/crunchgen.c
289
snprintf(line, sizeof(line), "reading %s", filename);
usr.sbin/crunch/crunchgen/crunchgen.c
290
status(line);
usr.sbin/crunch/crunchgen/crunchgen.c
300
while (fgets(line, MAXLINELEN, cf) != NULL) {
usr.sbin/crunch/crunchgen/crunchgen.c
302
parse_line(line, &fieldc, fieldv, MAXFIELDS);
usr.sbin/crunch/crunchgen/crunchgen.c
638
char line[MAXLINELEN];
usr.sbin/crunch/crunchgen/crunchgen.c
640
snprintf(line, MAXLINELEN, "filling in parms for %s", p->name);
usr.sbin/crunch/crunchgen/crunchgen.c
641
status(line);
usr.sbin/crunch/crunchgen/crunchgen.c
666
snprintf(line, sizeof line, "%s/%s", objprefix, p->realsrcdir);
usr.sbin/crunch/crunchgen/crunchgen.c
667
if (is_dir(line) ||
usr.sbin/crunch/crunchgen/crunchgen.c
670
if ((p->objdir = strdup(line)) == NULL)
usr.sbin/crunch/crunchgen/crunchgen.c
682
snprintf(line, MAXLINELEN, "Using %s for %s", path, p->name);
usr.sbin/crunch/crunchgen/crunchgen.c
683
status(line);
usr.sbin/crunch/crunchgen/crunchgen.c
710
char line[MAXLINELEN];
usr.sbin/crunch/crunchgen/crunchgen.c
763
snprintf(line, MAXLINELEN, "cd %s && %s -f %s -B crunchgen_objs",
usr.sbin/crunch/crunchgen/crunchgen.c
765
if ((f = popen(line, "r")) == NULL) {
usr.sbin/crunch/crunchgen/crunchgen.c
771
while(fgets(line, MAXLINELEN, f)) {
usr.sbin/crunch/crunchgen/crunchgen.c
772
if (strncmp(line, "OBJS= ", 6)) {
usr.sbin/crunch/crunchgen/crunchgen.c
773
warnx("make error: %s", line);
usr.sbin/crunch/crunchgen/crunchgen.c
778
cp = line + 6;
usr.sbin/crunch/crunchgen/crunchgen.c
829
char line[MAXLINELEN];
usr.sbin/crunch/crunchgen/crunchgen.c
831
snprintf(line, MAXLINELEN, "generating %s", cachename);
usr.sbin/crunch/crunchgen/crunchgen.c
832
status(line);
usr.sbin/crunch/crunchgen/crunchgen.c
870
char line[MAXLINELEN];
usr.sbin/crunch/crunchgen/crunchgen.c
872
snprintf(line, MAXLINELEN, "generating %s", outmkname);
usr.sbin/crunch/crunchgen/crunchgen.c
873
status(line);
usr.sbin/crunch/crunchgen/crunchgen.c
903
char line[MAXLINELEN];
usr.sbin/crunch/crunchgen/crunchgen.c
905
snprintf(line, MAXLINELEN, "generating %s", outcfname);
usr.sbin/crunch/crunchgen/crunchgen.c
906
status(line);
usr.sbin/cxgbetool/cxgbetool.c
3417
isempty_line(char *line, size_t llen)
usr.sbin/cxgbetool/cxgbetool.c
3421
while (isspace(*line)) {
usr.sbin/cxgbetool/cxgbetool.c
3422
line++;
usr.sbin/cxgbetool/cxgbetool.c
3425
if (llen == 0 || *line == '#' || *line == '\n')
usr.sbin/cxgbetool/cxgbetool.c
3461
parse_offload_policy_line(size_t lno, char *line, size_t llen, pcap_t *pd,
usr.sbin/cxgbetool/cxgbetool.c
3469
while (isspace(*line))
usr.sbin/cxgbetool/cxgbetool.c
3470
line++;
usr.sbin/cxgbetool/cxgbetool.c
3472
s = &line[llen - 1];
usr.sbin/cxgbetool/cxgbetool.c
3481
if (*line++ != '[') {
usr.sbin/cxgbetool/cxgbetool.c
3485
switch (*line) {
usr.sbin/cxgbetool/cxgbetool.c
3490
r->open_type = *line;
usr.sbin/cxgbetool/cxgbetool.c
3493
warnx("invalid socket-type \"%c\" on line %zd.", *line, lno);
usr.sbin/cxgbetool/cxgbetool.c
3496
line++;
usr.sbin/cxgbetool/cxgbetool.c
3497
if (*line++ != ']') {
usr.sbin/cxgbetool/cxgbetool.c
3504
while (isspace(*line))
usr.sbin/cxgbetool/cxgbetool.c
3505
line++;
usr.sbin/cxgbetool/cxgbetool.c
3510
expr = line;
usr.sbin/cxgbetool/cxgbetool.c
3511
s = strstr(line, "=>");
usr.sbin/cxgbetool/cxgbetool.c
3573
char *line;
usr.sbin/cxgbetool/cxgbetool.c
3597
line = NULL;
usr.sbin/cxgbetool/cxgbetool.c
3599
while ((llen = getline(&line, &lcap, fp)) != -1) {
usr.sbin/cxgbetool/cxgbetool.c
3603
if (isempty_line(line, llen))
usr.sbin/cxgbetool/cxgbetool.c
3620
rc = parse_offload_policy_line(lno, line, llen, pd, r);
usr.sbin/cxgbetool/cxgbetool.c
3628
free(line);
usr.sbin/gstat/gstat.c
288
const char *line;
usr.sbin/gstat/gstat.c
320
line = el_gets(el, &line_len);
usr.sbin/gstat/gstat.c
321
if (line == NULL)
usr.sbin/gstat/gstat.c
324
history(hist, &hist_ev, H_ENTER, line);
usr.sbin/gstat/gstat.c
325
strlcpy(tmp_f_s, line, sizeof(f_s));
usr.sbin/inetd/inetd.c
1573
static char line[LINE_MAX];
usr.sbin/inetd/inetd.c
2063
if (fgets(line, sizeof (line), fd) == NULL)
usr.sbin/inetd/inetd.c
2065
cp = strchr(line, '\n');
usr.sbin/inetd/inetd.c
2068
return (line);
usr.sbin/ip6addrctl/ip6addrctl.c
254
char line[_POSIX2_LINE_MAX], *cp;
usr.sbin/ip6addrctl/ip6addrctl.c
264
while(fgets(line, sizeof(line), fp)) {
usr.sbin/ip6addrctl/ip6addrctl.c
266
cp = line;
usr.sbin/kbdmap/kbdmap.c
225
char line[256], buf[21];
usr.sbin/kbdmap/kbdmap.c
230
while (fgets(line, sizeof(line), fp)) {
usr.sbin/kbdmap/kbdmap.c
233
if (line[0] == '#')
usr.sbin/kbdmap/kbdmap.c
236
matches = sscanf(line,
usr.sbin/lpr/common_source/common.c
64
char line[BUFSIZ];
usr.sbin/lpr/common_source/common.c
85
register char *lp = line;
usr.sbin/lpr/common_source/common.c
88
while ((c = getc(cfp)) != '\n' && (size_t)(linel+1) < sizeof(line)) {
usr.sbin/lpr/common_source/common.c
96
sizeof(line));
usr.sbin/lpr/common_source/displayq.c
134
while ((i = read(fd, line, sizeof(line))) > 0)
usr.sbin/lpr/common_source/displayq.c
135
(void) fwrite(line, 1, i, stdout);
usr.sbin/lpr/common_source/displayq.c
191
while ((i = read(fd, line,
usr.sbin/lpr/common_source/displayq.c
192
sizeof(line))) > 0)
usr.sbin/lpr/common_source/displayq.c
193
fwrite(line, 1, i, stdout);
usr.sbin/lpr/common_source/displayq.c
225
(void) snprintf(line, sizeof(line), "%c%s", format ? '\4' : '\3',
usr.sbin/lpr/common_source/displayq.c
227
cp = line;
usr.sbin/lpr/common_source/displayq.c
228
for (i = 0; i < requests && cp-line+10 < sizeof(line) - 1; i++) {
usr.sbin/lpr/common_source/displayq.c
232
for (i = 0; i < users && cp - line + 1 + strlen(user[i]) <
usr.sbin/lpr/common_source/displayq.c
233
sizeof(line) - 1; i++) {
usr.sbin/lpr/common_source/displayq.c
238
strcat(line, "\n");
usr.sbin/lpr/common_source/displayq.c
250
i = strlen(line);
usr.sbin/lpr/common_source/displayq.c
251
if (write(fd, line, i) != i)
usr.sbin/lpr/common_source/displayq.c
253
while ((i = read(fd, line, sizeof(line))) > 0)
usr.sbin/lpr/common_source/displayq.c
254
filtered_write(line, i, stdout);
usr.sbin/lpr/common_source/displayq.c
413
switch (line[0]) {
usr.sbin/lpr/common_source/displayq.c
415
if (!inlist(line+1, cf)) {
usr.sbin/lpr/common_source/displayq.c
420
printf("\n%s: ", line+1);
usr.sbin/lpr/common_source/displayq.c
421
col = strlen(line+1) + 2;
usr.sbin/lpr/common_source/displayq.c
429
printf("%-10s %-3d ", line+1, jnum);
usr.sbin/lpr/common_source/displayq.c
435
if (line[0] < 'a' || line[0] > 'z')
usr.sbin/lpr/common_source/displayq.c
437
if (copycnt == 0 || strcmp(file, line+1) != 0) {
usr.sbin/lpr/common_source/displayq.c
438
strlcpy(file, line + 1, sizeof(file));
usr.sbin/lpr/common_source/displayq.c
448
strlcpy(savedname, line + 1, sizeof(savedname));
usr.sbin/lpr/common_source/lp.h
151
extern char line[BUFSIZ];
usr.sbin/lpr/common_source/rmjob.c
164
cur_daemon = atoi(line);
usr.sbin/lpr/common_source/rmjob.c
196
switch (line[0]) {
usr.sbin/lpr/common_source/rmjob.c
198
if (strchr(line+1, '/') || strncmp(line+1, "df", 2))
usr.sbin/lpr/common_source/rmjob.c
200
do_unlink(line+1);
usr.sbin/lpr/common_source/rmjob.c
249
if (line[0] == 'P')
usr.sbin/lpr/common_source/rmjob.c
253
if (line[0] != 'P')
usr.sbin/lpr/common_source/rmjob.c
257
return(!strcmp(file, current) && isowner(line+1, file, cfhost));
usr.sbin/lpr/common_source/rmjob.c
262
if (*r == jnum && isowner(line+1, file, cfhost))
usr.sbin/lpr/common_source/rmjob.c
268
if (!strcmp(*u, line+1) && isowner(line+1, file, cfhost))
usr.sbin/lpr/lpc/cmds.c
1102
while ((i = read(fd, line, sizeof(line))) > 0)
usr.sbin/lpr/lpc/cmds.c
1103
(void) fwrite(line, 1, i, stdout);
usr.sbin/lpr/lpc/cmds.c
1280
if (line[0] == 'P')
usr.sbin/lpr/lpc/cmds.c
1283
if (line[0] != 'P' || strcmp(job, line+1) != 0)
usr.sbin/lpr/lpc/cmds.c
311
pid = atoi(line);
usr.sbin/lpr/lpc/cmds.c
661
lp = line;
usr.sbin/lpr/lpc/cmds.c
663
while (lp < &line[sizeof(line) - 1]) {
usr.sbin/lpr/lpc/cmds.c
668
linerem = sizeof(line) - (lp - line);
usr.sbin/lpr/lpc/cmds.c
749
unlinkf(line);
usr.sbin/lpr/lpd/lpd.c
283
sprintf(line, "%u\n", getpid());
usr.sbin/lpr/lpd/lpd.c
284
f = strlen(line);
usr.sbin/lpr/lpd/lpd.c
285
if (write(lfd, line, f) != f) {
usr.sbin/lpr/lpd/printjob.c
220
pidoff = i = snprintf(line, sizeof(line), "%u\n", printpid);
usr.sbin/lpr/lpd/printjob.c
221
if (write(lfd, line, i) != i) {
usr.sbin/lpr/lpd/printjob.c
271
(void) snprintf(line, sizeof(line), "%s\n", q->job_cfname);
usr.sbin/lpr/lpd/printjob.c
272
i = strlen(line);
usr.sbin/lpr/lpd/printjob.c
273
if (write(lfd, line, i) != i)
usr.sbin/lpr/lpd/printjob.c
447
switch (line[0]) {
usr.sbin/lpr/lpd/printjob.c
449
strlcpy(origin_host, line + 1, sizeof(origin_host));
usr.sbin/lpr/lpd/printjob.c
451
strlcpy(class, line + 1, sizeof(class));
usr.sbin/lpr/lpd/printjob.c
456
strlcpy(logname, line + 1, sizeof(logname));
usr.sbin/lpr/lpd/printjob.c
460
sendmail(pp, line + 1, bombed);
usr.sbin/lpr/lpd/printjob.c
467
cp = line + 1;
usr.sbin/lpr/lpd/printjob.c
480
if (line[1] != '\0') {
usr.sbin/lpr/lpd/printjob.c
481
strlcpy(jobname, line + 1, sizeof(jobname));
usr.sbin/lpr/lpd/printjob.c
487
if (line[1] != '\0')
usr.sbin/lpr/lpd/printjob.c
488
strlcpy(class, line + 1, sizeof(class));
usr.sbin/lpr/lpd/printjob.c
498
strlcpy(title, line + 1, sizeof(title));
usr.sbin/lpr/lpd/printjob.c
503
banner(pp, line + 1, jobname);
usr.sbin/lpr/lpd/printjob.c
510
if (line[1] != '\0') {
usr.sbin/lpr/lpd/printjob.c
511
strlcpy(fonts[line[0]-'1'], line + 1,
usr.sbin/lpr/lpd/printjob.c
517
strlcpy(width + 2, line + 1, sizeof(width) - 2);
usr.sbin/lpr/lpd/printjob.c
521
strlcpy(indent + 2, line + 1, sizeof(indent) - 2);
usr.sbin/lpr/lpd/printjob.c
525
strlcpy(locale, line + 1, sizeof(locale));
usr.sbin/lpr/lpd/printjob.c
530
if ((line[0] < 'a') || (line[0] > 'z')) {
usr.sbin/lpr/lpd/printjob.c
540
pp->printer, line[0], &line[1]);
usr.sbin/lpr/lpd/printjob.c
543
i = print(pp, line[0], line + 1);
usr.sbin/lpr/lpd/printjob.c
572
switch (line[0]) {
usr.sbin/lpr/lpd/printjob.c
575
banner(pp, line + 1, jobname);
usr.sbin/lpr/lpd/printjob.c
580
sendmail(pp, line + 1, bombed);
usr.sbin/lpr/lpd/printjob.c
584
if (strchr(line + 1, '/'))
usr.sbin/lpr/lpd/printjob.c
586
(void) unlink(line + 1);
usr.sbin/lpr/lpd/printjob.c
887
char last[sizeof(line)];
usr.sbin/lpr/lpd/printjob.c
918
if (line[0] == 'S') {
usr.sbin/lpr/lpd/printjob.c
919
cp = line + 1;
usr.sbin/lpr/lpd/printjob.c
929
} else if (line[0] == 'H') {
usr.sbin/lpr/lpd/printjob.c
930
strlcpy(origin_host, line + 1, sizeof(origin_host));
usr.sbin/lpr/lpd/printjob.c
932
strlcpy(class, line + 1, sizeof(class));
usr.sbin/lpr/lpd/printjob.c
934
} else if (line[0] == 'P') {
usr.sbin/lpr/lpd/printjob.c
935
strlcpy(logname, line + 1, sizeof(logname));
usr.sbin/lpr/lpd/printjob.c
938
sendmail(pp, line + 1, NOACCT);
usr.sbin/lpr/lpd/printjob.c
943
} else if (line[0] == 'I') {
usr.sbin/lpr/lpd/printjob.c
944
strlcpy(indent + 2, line + 1, sizeof(indent) - 2);
usr.sbin/lpr/lpd/printjob.c
945
} else if (line[0] >= 'a' && line[0] <= 'z') {
usr.sbin/lpr/lpd/printjob.c
947
memcpy(last, line, sizeof(last));
usr.sbin/lpr/lpd/printjob.c
949
if (strcmp(last, line) != 0)
usr.sbin/lpr/lpd/printjob.c
978
if (line[0] == 'U' && !strchr(line + 1, '/'))
usr.sbin/lpr/lpd/printjob.c
979
(void) unlink(line + 1);
usr.sbin/lpr/lpd/recvjob.c
169
cp = line;
usr.sbin/lpr/lpd/recvjob.c
170
clastp = line + sizeof(line) - 1;
usr.sbin/lpr/lpd/recvjob.c
187
cp = line;
usr.sbin/lpr/lpd/recvjob.c
301
frecverr("protocol screwup: %s", line);
usr.sbin/mailwrapper/mailwrapper.c
135
if ((line = fparseln(config, &len, &lineno, NULL, 0)) == NULL) {
usr.sbin/mailwrapper/mailwrapper.c
142
cp = line;
usr.sbin/mailwrapper/mailwrapper.c
147
free(line);
usr.sbin/mailwrapper/mailwrapper.c
168
free(line);
usr.sbin/mailwrapper/mailwrapper.c
91
char *line, *cp, *from, *to, *ap;
usr.sbin/makefs/mtree.c
1079
fi->line++;
usr.sbin/makefs/mtree.c
113
fprintf(stderr, "%s:%u: ", fi->name, fi->line);
usr.sbin/makefs/mtree.c
403
fi->line++;
usr.sbin/makefs/mtree.c
68
u_int line;
usr.sbin/makefs/mtree.c
99
fi->line = 0;
usr.sbin/mountd/mountd.c
1575
static char *line;
usr.sbin/mountd/mountd.c
1604
warnx("got line %s", line);
usr.sbin/mountd/mountd.c
1605
cp = line;
usr.sbin/mountd/mountd.c
2543
syslog(LOG_ERR, "bad exports list line '%s': %s", line,
usr.sbin/mountd/mountd.c
2546
syslog(LOG_ERR, "bad exports list line '%s'", line);
usr.sbin/mountd/mountd.c
3623
p = line;
usr.sbin/mountd/mountd.c
3643
line = realloc(line, linesize);
usr.sbin/mountd/mountd.c
3644
if (line == NULL)
usr.sbin/mountd/mountd.c
3647
memcpy(line + totlen, p, len);
usr.sbin/mountd/mountd.c
3649
line[totlen] = '\0';
usr.sbin/moused/moused/quirks.c
1154
parse_value_line(struct quirks_context *ctx, struct section *s, const char *line)
usr.sbin/moused/moused/quirks.c
1159
char **strv = strv_from_string(line, "=", &nelem);
usr.sbin/moused/moused/quirks.c
1181
qlog_error(ctx, "Unknown value prefix %s\n", line);
usr.sbin/moused/moused/quirks.c
1198
char line[512];
usr.sbin/moused/moused/quirks.c
1222
while (fgets(line, sizeof(line), fp)) {
usr.sbin/moused/moused/quirks.c
1227
comment = strstr(line, "#");
usr.sbin/moused/moused/quirks.c
1232
while (comment >= line) {
usr.sbin/moused/moused/quirks.c
1239
comment = strstr(line, "\n");
usr.sbin/moused/moused/quirks.c
1243
if (strlen(line) == 0)
usr.sbin/moused/moused/quirks.c
1248
switch (line[strlen(line) - 1]) {
usr.sbin/moused/moused/quirks.c
1253
path, lineno, line);
usr.sbin/moused/moused/quirks.c
1257
switch (line[0]) {
usr.sbin/moused/moused/quirks.c
1266
path, lineno, line);
usr.sbin/moused/moused/quirks.c
1270
if (line[strlen(line) - 1] != ']') {
usr.sbin/moused/moused/quirks.c
1272
path, lineno, line);
usr.sbin/moused/moused/quirks.c
1279
path, lineno, line);
usr.sbin/moused/moused/quirks.c
1290
section = section_new(path, line);
usr.sbin/moused/moused/quirks.c
1295
if (line[0] < 'A' || line[0] > 'Z') {
usr.sbin/moused/moused/quirks.c
1297
path, lineno, line);
usr.sbin/moused/moused/quirks.c
1303
path, lineno, line);
usr.sbin/moused/moused/quirks.c
1306
if (!strstartswith(line, "Match")) {
usr.sbin/moused/moused/quirks.c
1308
path, lineno, line);
usr.sbin/moused/moused/quirks.c
1314
if (!strstartswith(line, "Match"))
usr.sbin/moused/moused/quirks.c
1318
if (strstartswith(line, "Match")) {
usr.sbin/moused/moused/quirks.c
1320
path, lineno, line);
usr.sbin/moused/moused/quirks.c
1328
if (!parse_value_line(ctx, section, line)) {
usr.sbin/moused/moused/quirks.c
1330
path, lineno, line);
usr.sbin/mtest/mtest.c
198
char line[LINE_LENGTH];
usr.sbin/mtest/mtest.c
223
if (fgets(line, sizeof(line), stdin) != NULL) {
usr.sbin/mtest/mtest.c
224
if (line[0] != 'f')
usr.sbin/mtest/mtest.c
225
process_cmd(line, s, s6, stdin);
usr.sbin/mtest/mtest.c
228
for (i = 1; isblank(line[i]); i++);
usr.sbin/mtest/mtest.c
229
if ((p = (char*)strchr(line, '\n'))
usr.sbin/mtest/mtest.c
232
process_file(&line[i], s, s6);
usr.sbin/mtest/mtest.c
253
char line[80];
usr.sbin/mtest/mtest.c
264
while (fgets(line, sizeof(line), fp) != NULL) {
usr.sbin/mtest/mtest.c
265
lineptr = line;
usr.sbin/mtest/mtest.c
383
char *line;
usr.sbin/mtest/mtest.c
395
line = cmd;
usr.sbin/mtest/mtest.c
396
while (isblank(*++line))
usr.sbin/mtest/mtest.c
410
if ((sscanf(line, "%d", &n) != 1) || (n < 1)) {
usr.sbin/mtest/mtest.c
422
sscanf(line, "%s %s %s", str1, str2, str3);
usr.sbin/mtest/mtest.c
535
if ((sscanf(line, "%s %s %d", str1, str2, &n)) != 3) {
usr.sbin/mtest/mtest.c
602
sscanf(line, "%s %s %s", str1, str2, str3);
usr.sbin/mtest/mtest.c
708
if ((sscanf(line, "%s %s %d", str1, str2, &nreqsrc)) != 3) {
usr.sbin/mtest/mtest.c
772
if (sscanf(line, "%s %s", str1, str2) != 2) {
usr.sbin/mtest/mtest.c
800
if (sscanf(line, "%s %u", ifr.ifr_name, &f) != 2) {
usr.sbin/ndp/ndp.c
365
char line[100], arg[5][50], *args[5], *p;
usr.sbin/ndp/ndp.c
375
while (fgets(line, sizeof(line), fp) != NULL) {
usr.sbin/ndp/ndp.c
376
if ((p = strchr(line, '#')) != NULL)
usr.sbin/ndp/ndp.c
378
for (p = line; isblank(*p); p++);
usr.sbin/ndp/ndp.c
381
i = sscanf(line, "%49s %49s %49s %49s %49s",
usr.sbin/ndp/ndp.c
384
xo_warnx("bad line: %s", line);
usr.sbin/newsyslog/newsyslog.c
1111
char line[BUFSIZ], *parse, *q;
usr.sbin/newsyslog/newsyslog.c
1121
while (fgets(line, BUFSIZ, cf)) {
usr.sbin/newsyslog/newsyslog.c
1122
if ((line[0] == '\n') || (line[0] == '#') ||
usr.sbin/newsyslog/newsyslog.c
1123
(strlen(line) == 0))
usr.sbin/newsyslog/newsyslog.c
1127
errline = strdup(line);
usr.sbin/newsyslog/newsyslog.c
1128
for (cp = line + 1; *cp != '\0'; cp++) {
usr.sbin/newsyslog/newsyslog.c
1140
q = parse = missing_field(sob(line), errline);
usr.sbin/newsyslog/newsyslog.c
1141
parse = son(line);
usr.sbin/newsyslog/newsyslog.c
2361
char *endp, *linep, line[BUFSIZ];
usr.sbin/newsyslog/newsyslog.c
2396
if (fgets(line, BUFSIZ, f) == NULL) {
usr.sbin/newsyslog/newsyslog.c
2414
linep = line;
usr.sbin/ngctl/main.c
240
char *line = NULL;
usr.sbin/ngctl/main.c
246
while ((len = getline(&line, &sz, fp)) >= 0) {
usr.sbin/ngctl/main.c
248
if (*line == '#')
usr.sbin/ngctl/main.c
250
if ((rtn = DoParseCommand(line)) != CMDRTN_OK) {
usr.sbin/ngctl/main.c
257
free(line);
usr.sbin/ngctl/main.c
387
char *line = NULL;
usr.sbin/ngctl/main.c
415
if ((len = getline(&line, &sz, stdin)) <= 0) {
usr.sbin/ngctl/main.c
419
if (DoParseCommand(line) == CMDRTN_QUIT)
usr.sbin/ngctl/main.c
423
free(line);
usr.sbin/ngctl/main.c
460
DoParseCommand(const char *line)
usr.sbin/ngctl/main.c
466
for (ac = 0, av[0] = strtok((char *)line, WHITESPACE);
usr.sbin/ngctl/main.c
75
static int DoParseCommand(const char *line);
usr.sbin/pkg/pkg.c
560
char *line;
usr.sbin/pkg/pkg.c
567
line = NULL;
usr.sbin/pkg/pkg.c
601
while ((linelen = getline(&line, &linecap, fp)) > 0) {
usr.sbin/pkg/pkg.c
602
if (strcmp(line, "SIGNATURE\n") == 0) {
usr.sbin/pkg/pkg.c
605
} else if (strcmp(line, "TYPE\n") == 0) {
usr.sbin/pkg/pkg.c
608
} else if (strcmp(line, "CERT\n") == 0) {
usr.sbin/pkg/pkg.c
611
} else if (strcmp(line, "END\n") == 0) {
usr.sbin/pkg/pkg.c
616
fwrite(line, 1, linelen, tmpfp);
usr.sbin/pmc/view.cc
82
if (line) {
usr.sbin/pmc/view.cc
83
ss << ":" << std::dec << line;
usr.sbin/pmc/view.hh
142
line(0), column(0) { }
usr.sbin/pmc/view.hh
150
uint32_t line;
usr.sbin/pmcstat/pmcpl_calltree.c
1023
unsigned fline, line, v;
usr.sbin/pmcstat/pmcpl_calltree.c
1043
line = 0;
usr.sbin/pmcstat/pmcpl_calltree.c
1045
sourcefile, sizeof(sourcefile), &line,
usr.sbin/pmcstat/pmcpl_calltree.c
830
int i, j, line;
usr.sbin/pmcstat/pmcpl_calltree.c
848
line = 0;
usr.sbin/pmcstat/pmcpl_calltree.c
855
sourcefile, sizeof(sourcefile), &line,
usr.sbin/pmcstat/pmcpl_calltree.c
872
ct->pct_arc[i].pcta_call, (void *)addr, line);
usr.sbin/pmcstat/pmcpl_calltree.c
893
int i, j, fline, line;
usr.sbin/pmcstat/pmcpl_calltree.c
937
line = 0;
usr.sbin/pmcstat/pmcpl_calltree.c
939
sourcefile, sizeof(sourcefile), &line,
usr.sbin/pmcstat/pmcpl_calltree.c
942
(void *)addr, line);
usr.sbin/pmcstudy/pmcstudy.c
2571
char line[1024];
usr.sbin/pmcstudy/pmcstudy.c
2589
if (fgets(line, sizeof(line), io) == NULL) {
usr.sbin/pmcstudy/pmcstudy.c
2593
llen = strlen(line);
usr.sbin/pmcstudy/pmcstudy.c
2594
if (line[(llen-1)] == '\n') {
usr.sbin/pmcstudy/pmcstudy.c
2595
line[(llen-1)] = 0;
usr.sbin/pmcstudy/pmcstudy.c
2599
if (strncmp(&line[i], "ERROR", 5) == 0) {
usr.sbin/pmcstudy/pmcstudy.c
2600
printf("Failed %s\n", line);
usr.sbin/pmcstudy/pmcstudy.c
2602
} else if (strncmp(&line[i], resp, len) == 0) {
usr.sbin/pmcstudy/pmcstudy.c
2605
if (fgets(line, sizeof(line), io) == NULL) {
usr.sbin/pmcstudy/pmcstudy.c
2609
len = strlen(line);
usr.sbin/pmcstudy/pmcstudy.c
2611
if (line[j] == ' ') {
usr.sbin/pmcstudy/pmcstudy.c
2618
len = strlen(&line[j]);
usr.sbin/pmcstudy/pmcstudy.c
2625
printf("%s", &line[j]);
usr.sbin/pmcstudy/pmcstudy.c
2632
printf("Failed -- '%s' not '%s'\n", line, resp);
usr.sbin/ppp/systems.c
182
DecodeCtrlCommand(char *line, char *arg)
usr.sbin/ppp/systems.c
186
if (!strncasecmp(line, "include", 7) && issep(line[7])) {
usr.sbin/ppp/systems.c
187
end = InterpretArg(line+8, arg);
usr.sbin/ppp/systems.c
246
strip(char *line)
usr.sbin/ppp/systems.c
250
len = strlen(line);
usr.sbin/ppp/systems.c
251
while (len && (line[len-1] == '\n' || line[len-1] == '\r' ||
usr.sbin/ppp/systems.c
252
issep(line[len-1])))
usr.sbin/ppp/systems.c
253
line[--len] = '\0';
usr.sbin/ppp/systems.c
255
while (issep(*line))
usr.sbin/ppp/systems.c
256
line++;
usr.sbin/ppp/systems.c
258
if (*line == '#')
usr.sbin/ppp/systems.c
259
*line = '\0';
usr.sbin/ppp/systems.c
261
return line;
usr.sbin/ppp/systems.c
293
GetLabel(char *line, const char *filename, int linenum)
usr.sbin/ppp/systems.c
298
argc = MakeArgs(line, argv, MAXARGS, PARSE_REDUCE);
usr.sbin/ppp/systems.c
322
char line[LINE_LEN];
usr.sbin/ppp/systems.c
344
while ((n = xgets(line, sizeof line, fp))) {
usr.sbin/ppp/systems.c
346
if (issep(*line))
usr.sbin/ppp/systems.c
349
cp = strip(line);
usr.sbin/ppp/systems.c
382
while ((n = xgets(line, sizeof line, fp))) {
usr.sbin/ppp/systems.c
384
indent = issep(*line);
usr.sbin/ppp/systems.c
385
cp = strip(line);
usr.sbin/ppp/systems.c
397
if ((argc = command_Expand_Interpret(cp, len, argv, cp - line)) < 0)
usr.sbin/ppp/systems.c
52
char line[100];
usr.sbin/ppp/systems.c
54
snprintf(line, sizeof line, "%s/%s", PPP_CONFDIR, file);
usr.sbin/ppp/systems.c
55
fp = ID0fopen(line, "r");
usr.sbin/ppp/systems.c
57
log_Printf(LogWARN, "OpenSecret: Can't open %s.\n", line);
usr.sbin/pw/pw_group.c
53
static char line[256];
usr.sbin/pw/pw_group.c
78
b = read(fd, line, sizeof(line) - 1);
usr.sbin/pw/pw_group.c
86
line[b] = '\0';
usr.sbin/pw/pw_group.c
87
if ((p = strpbrk(line, " \t\r\n")) != NULL)
usr.sbin/pw/pw_group.c
89
if (!*line)
usr.sbin/pw/pw_group.c
93
if (strchr(line, ':') != 0)
usr.sbin/pw/pw_group.c
95
grp->gr_passwd = line;
usr.sbin/pw/pw_group.c
97
grp->gr_passwd = pw_pwcrypt(line);
usr.sbin/pw/pw_user.c
1201
char line[_PASSWORD_LEN+1], path[MAXPATHLEN];
usr.sbin/pw/pw_user.c
1511
while (fgets(line, sizeof(line), fp) != NULL) {
usr.sbin/pw/pw_user.c
1513
fputs(line, pfp);
usr.sbin/pw/pw_user.c
171
char line[_PASSWORD_LEN+1];
usr.sbin/pw/pw_user.c
196
b = read(fd, line, sizeof(line) - 1);
usr.sbin/pw/pw_user.c
206
line[b] = '\0';
usr.sbin/pw/pw_user.c
207
if ((p = strpbrk(line, "\r\n")) != NULL)
usr.sbin/pw/pw_user.c
209
if (!*line)
usr.sbin/pw/pw_user.c
213
if (strchr(line, ':') != NULL)
usr.sbin/pw/pw_user.c
215
pwd->pw_passwd = strdup(line);
usr.sbin/pw/pw_user.c
222
pwd->pw_passwd = pw_pwcrypt(line);
usr.sbin/pw/pw_vpw.c
109
free(line);
usr.sbin/pw/pw_vpw.c
154
char *line;
usr.sbin/pw/pw_vpw.c
159
line = NULL;
usr.sbin/pw/pw_vpw.c
163
while ((linelen = getline(&line, &linecap, grp_fp)) > 0) {
usr.sbin/pw/pw_vpw.c
165
if (*line == '\n' || *line == '#')
usr.sbin/pw/pw_vpw.c
168
if (line[linelen - 1 ] == '\n')
usr.sbin/pw/pw_vpw.c
169
line[linelen - 1] = '\0';
usr.sbin/pw/pw_vpw.c
170
gr = gr_scan(line);
usr.sbin/pw/pw_vpw.c
173
" '%s'", getgrpath(_GROUP), line);
usr.sbin/pw/pw_vpw.c
188
free(line);
usr.sbin/pw/pw_vpw.c
64
char *line;
usr.sbin/pw/pw_vpw.c
69
line = NULL;
usr.sbin/pw/pw_vpw.c
84
while ((linelen = getline(&line, &linecap, pwd_fp)) > 0) {
usr.sbin/pw/pw_vpw.c
86
if (*line == '\n' || *line == '#')
usr.sbin/pw/pw_vpw.c
89
if (line[linelen - 1 ] == '\n')
usr.sbin/pw/pw_vpw.c
90
line[linelen - 1] = '\0';
usr.sbin/pw/pw_vpw.c
91
pw = pw_scan(line, pwd_scanflag);
usr.sbin/pw/pw_vpw.c
94
" '%s'", getpwpath(pwd_filename), line);
usr.sbin/pwd_mkdb/pwd_mkdb.c
545
if (len >= sizeof(line) - 1) {
usr.sbin/pwd_mkdb/pwd_mkdb.c
549
memcpy(line, p, len);
usr.sbin/pwd_mkdb/pwd_mkdb.c
550
line[len] = '\0';
usr.sbin/pwd_mkdb/pwd_mkdb.c
555
for (p = line; *p != '\0'; p++)
usr.sbin/pwd_mkdb/pwd_mkdb.c
564
if (!__pw_scan(line, pw, _PWSCAN_WARN|_PWSCAN_MASTER)) {
usr.sbin/pwd_mkdb/pwd_mkdb.c
74
static char line[LINE_MAX];
usr.sbin/quot/quot.c
395
char *end, *line;
usr.sbin/quot/quot.c
401
line = NULL;
usr.sbin/quot/quot.c
403
while ((len = getline(&line, &cap, stdin)) > 0) {
usr.sbin/quot/quot.c
404
if (len > 0 && line[len - 1] == '\n')
usr.sbin/quot/quot.c
405
line[--len] = '\0';
usr.sbin/quot/quot.c
406
inode = strtoimax(line, &end, 10);
usr.sbin/quot/quot.c
412
if (end == line)
usr.sbin/quot/quot.c
430
free(line);
usr.sbin/rpc.umntall/mounttab.c
146
int line;
usr.sbin/rpc.umntall/mounttab.c
152
line = 0;
usr.sbin/rpc.umntall/mounttab.c
170
line++;
usr.sbin/rpc.umntall/mounttab.c
173
if (line == 0) {
usr.sbin/rpc.ypupdated/update.c
229
char line[256];
usr.sbin/rpc.ypupdated/update.c
268
while (fgets(line, sizeof (line), rf)) {
usr.sbin/rpc.ypupdated/update.c
269
if (err < 0 && match(line, name)) {
usr.sbin/rpc.ypupdated/update.c
285
fputs(line, wf);
usr.sbin/rpc.ypupdated/update.c
320
match(char *line, char *name)
usr.sbin/rpc.ypupdated/update.c
325
return (strncmp(line, name, len) == 0 &&
usr.sbin/rpc.ypupdated/update.c
326
(line[len] == ' ' || line[len] == '\t'));
usr.sbin/services_mkdb/services_mkdb.c
238
size_t linecap, line, pindex;
usr.sbin/services_mkdb/services_mkdb.c
246
line = linecap = 0;
usr.sbin/services_mkdb/services_mkdb.c
255
line++;
usr.sbin/services_mkdb/services_mkdb.c
269
if ((name = getstring(fname, line, &cp, "name")) == NULL)
usr.sbin/services_mkdb/services_mkdb.c
272
if ((port = getstring(fname, line, &cp, "port")) == NULL)
usr.sbin/services_mkdb/services_mkdb.c
286
warnx("%s, %zu: no protocol found", fname, line);
usr.sbin/services_mkdb/services_mkdb.c
294
warnx("%s, %zu: invalid port `%s'", fname, line, port);
usr.sbin/services_mkdb/services_mkdb.c
298
warnx("%s, %zu: port too big `%s'", fname, line, port);
usr.sbin/services_mkdb/services_mkdb.c
353
getstring(const char *fname, size_t line, char **cp, const char *tag)
usr.sbin/services_mkdb/services_mkdb.c
361
warnx("%s, %zu: no %s found", fname, line, tag);
usr.sbin/services_mkdb/uniq.c
64
char *line;
usr.sbin/services_mkdb/uniq.c
72
while ((line = fgetln(fp, &len)) != NULL) {
usr.sbin/services_mkdb/uniq.c
75
if (!comp(line, &compline, &complen)) {
usr.sbin/services_mkdb/uniq.c
77
line);
usr.sbin/services_mkdb/uniq.c
85
line);
usr.sbin/setfmac/setfmac.c
195
chomp_line(char **line, size_t *linesize)
usr.sbin/setfmac/setfmac.c
200
for (s = *line; (unsigned)(s - *line) < *linesize; s++) {
usr.sbin/setfmac/setfmac.c
205
**line = '\0';
usr.sbin/setfmac/setfmac.c
209
memmove(*line, s, *linesize - (s - *line));
usr.sbin/setfmac/setfmac.c
210
*linesize -= s - *line;
usr.sbin/setfmac/setfmac.c
211
for (s = &(*line)[*linesize - 1]; s >= *line; s--) {
usr.sbin/setfmac/setfmac.c
215
if (s != &(*line)[*linesize - 1]) {
usr.sbin/setfmac/setfmac.c
216
*linesize = s - *line + 1;
usr.sbin/setfmac/setfmac.c
221
strncpy(s, *line, *linesize);
usr.sbin/setfmac/setfmac.c
222
*line = s;
usr.sbin/setfmac/setfmac.c
225
(*line)[*linesize] = '\0';
usr.sbin/setfmac/setfmac.c
234
char *line;
usr.sbin/setfmac/setfmac.c
244
while ((line = fgetln(fp, &linesize)) != NULL) {
usr.sbin/setfmac/setfmac.c
245
freeline = chomp_line(&line, &linesize);
usr.sbin/setfmac/setfmac.c
249
free(line);
usr.sbin/setfmac/setfmac.c
259
line = fgetln(fp, &linesize);
usr.sbin/setfmac/setfmac.c
260
if (line == NULL) {
usr.sbin/setfmac/setfmac.c
266
freeline = chomp_line(&line, &linesize);
usr.sbin/setfmac/setfmac.c
269
free(line);
usr.sbin/setfmac/setfmac.c
272
add_spec_line(file, is_sebsd, &spec->entries[--nlines], line);
usr.sbin/setfmac/setfmac.c
274
free(line);
usr.sbin/setfmac/setfmac.c
303
char *line)
usr.sbin/setfmac/setfmac.c
309
regexstr = strtok(line, " \t");
usr.sbin/syslogd/syslogd.c
1099
parsemsg_remove_unsafe_characters(msg, line, sizeof(line));
usr.sbin/syslogd/syslogd.c
1101
structured_data, line, 0);
usr.sbin/syslogd/syslogd.c
1214
char line[MAXLINE + 1];
usr.sbin/syslogd/syslogd.c
1284
parsemsg_remove_unsafe_characters(msg, line, sizeof(line));
usr.sbin/syslogd/syslogd.c
1285
logmsg(pri, timestamp, from, app_name, procid, NULL, NULL, line, 0);
usr.sbin/syslogd/syslogd.c
1345
char *p, *q, line[MAXLINE + 1];
usr.sbin/syslogd/syslogd.c
1350
i = read(sl->sl_socket, line + len, MAXLINE - 1 - len);
usr.sbin/syslogd/syslogd.c
1352
line[i + len] = '\0';
usr.sbin/syslogd/syslogd.c
1362
for (p = line; (q = strchr(p, '\n')) != NULL; p = q + 1) {
usr.sbin/syslogd/syslogd.c
1372
memmove(line, p, len + 1);
usr.sbin/syslogd/syslogd.c
1375
printsys(line);
usr.sbin/syslogd/syslogd.c
3035
const nvlist_t * const *line;
usr.sbin/syslogd/syslogd.c
3040
line = nvlist_get_nvlist_array(nvl, "filed_list", &linecount);
usr.sbin/syslogd/syslogd.c
3046
if (nvlist_get_number(line[i], "f_type") != F_FORW)
usr.sbin/syslogd/syslogd.c
3048
fdp = nvlist_get_descriptor_array(line[i], "f_addr_fds", &fdc);
usr.sbin/syslogd/syslogd.c
3049
forw = nvlist_get_binary(line[i], "f_addrs", NULL);
usr.sbin/syslogd/syslogd.c
3297
cfline(nvlist_t *nvl, const char *line, const char *prog, const char *host,
usr.sbin/syslogd/syslogd.c
3304
dprintf("cfline(\"%s\", f, \"%s\", \"%s\", \"%s\")\n", line, prog,
usr.sbin/syslogd/syslogd.c
3328
for (p = line; *p != '\0' && *p != '\t' && *p != ' ';)
usr.sbin/syslogd/syslogd.c
834
char line[MAXLINE + 1];
usr.sbin/syslogd/syslogd.c
838
len = recvfrom(sl->sl_socket, line, sizeof(line) - 1, 0, sa, &sslen);
usr.sbin/syslogd/syslogd.c
848
line[len] = '\0';
usr.sbin/syslogd/syslogd.c
859
parsemsg(hname, line);
usr.sbin/syslogd/syslogd.c
950
char line[MAXLINE + 1];
usr.sbin/syslogd/syslogd_cap.h
86
#define cap_ttymsg(chan, iov, iovcnt, line, timeout) \
usr.sbin/syslogd/syslogd_cap.h
87
ttymsg(iov, iovcnt, line, timeout)
usr.sbin/syslogd/syslogd_cap_log.c
100
nvlist_add_string(nvl, "line", line);
usr.sbin/syslogd/syslogd_cap_log.c
123
const char *line;
usr.sbin/syslogd/syslogd_cap_log.c
137
line = nvlist_get_string(nvlin, "line");
usr.sbin/syslogd/syslogd_cap_log.c
140
if ((ret = ttymsg(iov, iovcnt, line, timeout, shout)) != 0)
usr.sbin/syslogd/syslogd_cap_log.c
92
const char *line, int timeout, bool shout)
usr.sbin/traceroute/traceroute.c
1866
static char domain[MAXHOSTNAMELEN + 1], line[MAXHOSTNAMELEN + 1];
usr.sbin/traceroute/traceroute.c
1905
(void)strncpy(line, hp->h_name, sizeof(line) - 1);
usr.sbin/traceroute/traceroute.c
1906
line[sizeof(line) - 1] = '\0';
usr.sbin/traceroute/traceroute.c
1907
return (line);
usr.sbin/traceroute6/traceroute6.c
1632
static char line[NI_MAXHOST], domain[MAXHOSTNAMELEN + 1];
usr.sbin/traceroute6/traceroute6.c
1646
if (cap_getnameinfo(capdns, sa, sa->sa_len, line, sizeof(line), NULL, 0,
usr.sbin/traceroute6/traceroute6.c
1648
if ((cp = strchr(line, '.')) &&
usr.sbin/traceroute6/traceroute6.c
1651
cp = line;
usr.sbin/traceroute6/traceroute6.c
1657
if (cap_getnameinfo(capdns, sa, sa->sa_len, line, sizeof(line), NULL, 0,
usr.sbin/traceroute6/traceroute6.c
1659
strlcpy(line, "invalid", sizeof(line));
usr.sbin/traceroute6/traceroute6.c
1660
return (line);
usr.sbin/tzsetup/tzsetup.c
456
char *line, *country_list, *tlc, *file, *descr;
usr.sbin/tzsetup/tzsetup.c
467
while ((line = fgetln(fp, &len)) != NULL) {
usr.sbin/tzsetup/tzsetup.c
469
if (line[len - 1] != '\n')
usr.sbin/tzsetup/tzsetup.c
471
line[len - 1] = '\0';
usr.sbin/tzsetup/tzsetup.c
485
if (strncmp(line, "#@", strlen("#@")) != 0)
usr.sbin/tzsetup/tzsetup.c
487
line += 2;
usr.sbin/tzsetup/tzsetup.c
488
country_list = strsep(&line, "\t");
usr.sbin/tzsetup/tzsetup.c
490
if (strchr(line, ',') != NULL)
usr.sbin/tzsetup/tzsetup.c
492
cont = find_continent(lineno, line);
usr.sbin/tzsetup/tzsetup.c
502
if (line[0] == '#')
usr.sbin/tzsetup/tzsetup.c
505
country_list = strsep(&line, "\t");
usr.sbin/tzsetup/tzsetup.c
506
/* coord = */ strsep(&line, "\t"); /* Unused */
usr.sbin/tzsetup/tzsetup.c
507
file = strsep(&line, "\t");
usr.sbin/tzsetup/tzsetup.c
509
descr = (line != NULL && *line != '\0') ? line : NULL;
usr.sbin/tzsetup/tzsetup.c
520
if (strncmp(line, "#@", strlen("#@")) != 0)
usr.sbin/tzsetup/tzsetup.c
522
line += 2;
usr.sbin/tzsetup/tzsetup.c
523
country_list = strsep(&line, "\t");
usr.sbin/tzsetup/tzsetup.c
525
if (strchr(line, ',') == NULL)
usr.sbin/tzsetup/tzsetup.c
527
while (line != NULL) {
usr.sbin/tzsetup/tzsetup.c
528
cont = find_continent(lineno, line);
usr.sbin/tzsetup/tzsetup.c
538
strsep(&line, ",");
usr.sbin/usbdump/usbdump.c
406
const uint8_t *line;
usr.sbin/usbdump/usbdump.c
412
for (line = region; line < (region + len); line += 16) {
usr.sbin/usbdump/usbdump.c
417
hexbyte(linebuf + i + 1, ((line - region) >> 8) & 0xFF);
usr.sbin/usbdump/usbdump.c
418
hexbyte(linebuf + i + 3, (line - region) & 0xFF);
usr.sbin/usbdump/usbdump.c
424
if ((line + x) < (region + len)) {
usr.sbin/usbdump/usbdump.c
426
*(const u_int8_t *)(line + x));
usr.sbin/usbdump/usbdump.c
443
if ((line + x) < (region + len)) {
usr.sbin/usbdump/usbdump.c
444
c = *(const u_int8_t *)(line + x);
usr.sbin/vidcontrol/vidcontrol.c
1303
char *line;
usr.sbin/vidcontrol/vidcontrol.c
1307
line = alloca(shot.xsize + 1);
usr.sbin/vidcontrol/vidcontrol.c
1309
if (line == NULL) {
usr.sbin/vidcontrol/vidcontrol.c
1322
line[x] = (char)ch;
usr.sbin/vidcontrol/vidcontrol.c
1328
line[x--] = '\0';
usr.sbin/vidcontrol/vidcontrol.c
1329
} while (line[x] == ' ' && x != 0);
usr.sbin/vidcontrol/vidcontrol.c
1331
puts(line);
usr.sbin/vipw/vipw.c
108
if ((line = fgetln(stdin, &len)) == NULL) {
usr.sbin/vipw/vipw.c
112
if (len > 0 && (*line == 'N' || *line == 'n'))
usr.sbin/vipw/vipw.c
58
char *line;
usr.sbin/virtual_oss/virtual_oss/httpd.c
464
char *line;
usr.sbin/virtual_oss/virtual_oss/httpd.c
477
line = voss_httpd_read_line(io, linebuffer, sizeof(linebuffer));
usr.sbin/virtual_oss/virtual_oss/httpd.c
478
if (line == NULL)
usr.sbin/virtual_oss/virtual_oss/httpd.c
480
if (line[0] == 0)
usr.sbin/virtual_oss/virtual_oss/httpd.c
482
if (page < 0 && (strstr(line, "GET / ") == line ||
usr.sbin/virtual_oss/virtual_oss/httpd.c
483
strstr(line, "GET /index.html") == line)) {
usr.sbin/virtual_oss/virtual_oss/httpd.c
485
} else if (page < 0 && strstr(line, "GET /stream.wav") == line) {
usr.sbin/virtual_oss/virtual_oss/httpd.c
487
} else if (page < 0 && strstr(line, "GET /stream.m3u") == line) {
usr.sbin/virtual_oss/virtual_oss/httpd.c
489
} else if (strstr(line, "Range: bytes=") == line &&
usr.sbin/virtual_oss/virtual_oss/httpd.c
490
sscanf(line, "Range: bytes=%ju-%ju", &r_start, &r_end) >= 1) {
usr.sbin/wlanstat/main.c
223
int line, omask;
usr.sbin/wlanstat/main.c
232
line = 0;
usr.sbin/wlanstat/main.c
234
if (line != 0) {
usr.sbin/wlanstat/main.c
249
line++;
usr.sbin/wlanstat/main.c
253
if (line == 21) /* XXX tty line count */
usr.sbin/ypldap/yp.c
481
char *line;
usr.sbin/ypldap/yp.c
520
line = ue->ue_line + (strlen(ue->ue_line) + 1);
usr.sbin/ypldap/yp.c
521
line = line + (strlen(line) + 1);
usr.sbin/ypldap/yp.c
522
yp_make_keyval(&res, line, line);
usr.sbin/ypldap/yp.c
554
line = ge->ge_line + (strlen(ge->ge_line) + 1);
usr.sbin/ypldap/yp.c
555
line = line + (strlen(line) + 1);
usr.sbin/ypldap/yp.c
556
yp_make_keyval(&res, line, line);
usr.sbin/ypldap/yp.c
633
yp_make_val(struct ypresp_val *res, char *line, int replacecolon)
usr.sbin/ypldap/yp.c
640
line[strlen(line)] = ':';
usr.sbin/ypldap/yp.c
641
(void)strlcpy(buf, line, sizeof(buf));
usr.sbin/ypldap/yp.c
643
line[strcspn(line, ":")] = '\0';
usr.sbin/ypldap/yp.c
652
yp_make_keyval(struct ypresp_key_val *res, char *key, char *line)
usr.sbin/ypldap/yp.c
664
if (*line == '\0') {
usr.sbin/ypldap/yp.c
669
line[strlen(line)] = ':';
usr.sbin/ypldap/yp.c
670
(void)strlcpy(buf, line, sizeof(buf));
usr.sbin/ypldap/yp.c
671
line[strcspn(line, ":")] = '\0';