Symbol: line
bin/cat/cat.c
170
int ch, gobble, line, prev;
bin/cat/cat.c
176
line = gobble = 0;
bin/cat/cat.c
189
fprintf(stdout, "%6d\t", ++line);
bin/cpdup/cpdup.h
103
void *debug_malloc(size_t bytes, const char *file, int line);
bin/cpdup/misc.c
111
int line;
bin/cpdup/misc.c
118
debug_malloc(size_t bytes, const char *file, int line)
bin/cpdup/misc.c
124
info->line = line;
bin/cpdup/misc.c
156
printf("%-15s %d\n", scan->file, scan->line);
bin/ed/ed.h
64
struct line *q_forw;
bin/ed/ed.h
65
struct line *q_back;
bin/mined/mined.h
247
#define line_print(line) put_line(line, 0, TRUE)
bin/mined/mined.h
288
LINE *proceed(LINE *line, int count);
bin/mined/mined.h
290
int count_chars(LINE *line);
bin/mined/mined.h
292
int find_x(LINE *line, char *address);
bin/mined/mined.h
293
char *find_address(LINE *line, int x_coord, int *old_x);
bin/mined/mined.h
300
void display(int x_coord, int y_coord, LINE *line, int count);
bin/mined/mined.h
303
void put_line(LINE *line, int offset, FLAG clear_line);
bin/mined/mined.h
368
LINE *line_insert(LINE *line, const char *string, int len);
bin/mined/mined.h
369
int insert(LINE *line, char *location, char *string);
bin/mined/mined.h
370
LINE *line_delete(LINE *line);
bin/mined/mined.h
392
char *substitute(LINE *line, REGEX *program, char *replacement);
bin/mined/mined1.c
1016
put_line(LINE *line, int offset, FLAG clear_line)
bin/mined/mined1.c
1018
char *textp = line->text;
bin/mined/mined1.c
1019
int count = get_shift(line->shift_count) * -SHIFT_SIZE;
bin/mined/mined1.c
1308
LINE *line, *next_line;
bin/mined/mined1.c
1311
for (line = header->next; line != tail; line = next_line) {
bin/mined/mined1.c
1312
next_line = line->next;
bin/mined/mined1.c
1313
free_space(line->text);
bin/mined/mined1.c
1314
free_space((char*)line);
bin/mined/mined1.c
1318
line->next = line->prev = line;
bin/mined/mined1.c
1354
LINE *line = header;
bin/mined/mined1.c
1388
line = line_insert(line, text_buffer, len);
bin/mined/mined1.c
1392
line = line_insert(line, "\n", 1);
bin/mined/mined1.c
1399
line_insert(line, "\n", 1);
bin/mined/mined1.c
1721
LINE *line = header->next;
bin/mined/mined1.c
1724
while (line != cur_line) {
bin/mined/mined1.c
1726
line = line->next;
bin/mined/mined1.c
1743
LINE *line;
bin/mined/mined1.c
1748
for (line = header->next; line != tail; line = line->next)
bin/mined/mined1.c
1749
count += length_of(line->text);
bin/mined/mined1.c
504
LINE *line;
bin/mined/mined1.c
531
for (line = header->next; line != tail; line = line->next) {
bin/mined/mined1.c
532
if (line->shift_count & DUMMY) {
bin/mined/mined1.c
533
if (line->next == tail && line->text[0] == '\n')
bin/mined/mined1.c
536
if (writeline(fd, line->text) == ERRORS) {
bin/mined/mined1.c
540
count += (long) length_of(line->text);
bin/mined/mined1.c
619
proceed(LINE *line, int count)
bin/mined/mined1.c
622
while (count++ < 0 && line != header)
bin/mined/mined1.c
623
line = line->prev;
bin/mined/mined1.c
625
while (count-- > 0 && line != tail)
bin/mined/mined1.c
626
line = line->next;
bin/mined/mined1.c
627
return line;
bin/mined/mined1.c
695
count_chars(LINE *line)
bin/mined/mined1.c
697
int cnt = get_shift(line->shift_count) * -SHIFT_SIZE;
bin/mined/mined1.c
698
char *textp = line->text;
bin/mined/mined1.c
732
LINE *line = cur_line; /* For building new cur_line */
bin/mined/mined1.c
744
if(line->shift_count>0) {
bin/mined/mined1.c
745
line->shift_count=0;
bin/mined/mined1.c
748
line_print(line);
bin/mined/mined1.c
751
line = line->prev;
bin/mined/mined1.c
755
if(line->shift_count>0) {
bin/mined/mined1.c
756
line->shift_count=0;
bin/mined/mined1.c
759
line_print(line);
bin/mined/mined1.c
762
line = line->next;
bin/mined/mined1.c
767
new_address = find_address(line, (new_x == x) ? rel_x : new_x , &tx);
bin/mined/mined1.c
773
rel_x = new_x = find_x(line, new_address);
bin/mined/mined1.c
787
line->shift_count += shift;
bin/mined/mined1.c
788
new_x = find_x(line, new_address);
bin/mined/mined1.c
790
line_print(line);
bin/mined/mined1.c
798
cur_line = line;
bin/mined/mined1.c
807
find_x(LINE *line, char *address)
bin/mined/mined1.c
809
char *textp = line->text;
bin/mined/mined1.c
810
int nx = get_shift(line->shift_count) * -SHIFT_SIZE;
bin/mined/mined1.c
826
find_address(LINE *line, int x_coord, int *old_x)
bin/mined/mined1.c
828
char *textp = line->text;
bin/mined/mined1.c
829
int tx = get_shift(line->shift_count) * -SHIFT_SIZE;
bin/mined/mined1.c
882
LINE *line;
bin/mined/mined1.c
884
top_line = line = head_line;
bin/mined/mined1.c
888
&& line->next != tail; last_y++)
bin/mined/mined1.c
889
line = line->next;
bin/mined/mined1.c
891
bot_line = line;
bin/mined/mined1.c
950
display(int x_coord, int y_coord, LINE *line, int count)
bin/mined/mined1.c
956
line = proceed(line, count);
bin/mined/mined1.c
961
while (line != tail && count-- >= 0) {
bin/mined/mined1.c
962
line->shift_count=0;
bin/mined/mined1.c
963
line_print(line);
bin/mined/mined1.c
964
line = line->next;
bin/mined/mined2.c
1009
for (line = header->next; line != tail; line = line->next) {
bin/mined/mined2.c
1010
if (line == cur_line)
bin/mined/mined2.c
1012
else if (line == mark_line)
bin/mined/mined2.c
1017
if (line == tail || legal() == ERRORS)
bin/mined/mined2.c
1051
LINE *line = start_line;
bin/mined/mined2.c
1070
line = line->next;
bin/mined/mined2.c
1071
textp = line->text;
bin/mined/mined2.c
1258
LINE *line = cur_line;
bin/mined/mined2.c
1278
if (line_check(program, line->text, FORWARD)) {
bin/mined/mined2.c
1283
if ((textp = substitute(line, program,replacement))
bin/mined/mined2.c
1292
line_print(line);
bin/mined/mined2.c
1297
line = line->next;
bin/mined/mined2.c
1298
} while (line != tail && file == VALID && quit == FALSE);
bin/mined/mined2.c
1325
substitute(LINE *line, REGEX *program, char *replacement)
bin/mined/mined2.c
1329
char *linep = line->text;
bin/mined/mined2.c
1366
free_space(line->text);
bin/mined/mined2.c
1367
line->text = alloc(length_of(text_buffer) + 1);
bin/mined/mined2.c
1368
copy_string(line->text, text_buffer);
bin/mined/mined2.c
1370
return(line->text + (textp - text_buffer));
bin/mined/mined2.c
1413
LINE *line;
bin/mined/mined2.c
1417
for (line = top_line; line != match_line && line != bot_line->next;
bin/mined/mined2.c
1418
line = line->next)
bin/mined/mined2.c
1420
if (line != bot_line->next)
bin/mined/mined2.c
1424
if ((line = proceed(match_line, -(screenmax >> 1))) == header) {
bin/mined/mined2.c
1427
for (line = header->next; line != match_line; line = line->next)
bin/mined/mined2.c
1429
line = header->next;
bin/mined/mined2.c
1435
reset(line, 0);
bin/mined/mined2.c
1638
LINE *line = cur_line;
bin/mined/mined2.c
1654
if (line_check(program, line->text, method) == MATCH) {
bin/mined/mined2.c
1664
line = (method == FORWARD) ? line->next : line->prev;
bin/mined/mined2.c
1665
if (line->text == NIL_PTR) /* Header/tail */
bin/mined/mined2.c
1667
if (line_check(program, line->text, method) == MATCH)
bin/mined/mined2.c
1668
return line;
bin/mined/mined2.c
1669
} while (line != cur_line && quit == FALSE);
bin/mined/mined2.c
208
LINE *line;
bin/mined/mined2.c
213
if (number <= 0 || (line = proceed(header->next, number - 1)) == tail)
bin/mined/mined2.c
216
move_to(x, find_y(line));
bin/mined/mined2.c
611
line_insert(LINE *line, const char *string, int len)
bin/mined/mined2.c
619
new_line->prev = line;
bin/mined/mined2.c
620
new_line->next = line->next;
bin/mined/mined2.c
621
line->next = new_line;
bin/mined/mined2.c
634
insert(LINE *line, char *location, char *string)
bin/mined/mined2.c
637
char *textp = line->text;
bin/mined/mined2.c
656
line_insert(line, location, length_of(location));
bin/mined/mined2.c
661
free_space(line->text);
bin/mined/mined2.c
662
line->text = alloc(length_of(text_buffer) + 1);
bin/mined/mined2.c
663
copy_string(line->text, text_buffer);
bin/mined/mined2.c
673
line_delete(LINE *line)
bin/mined/mined2.c
675
LINE *next_line = line->next;
bin/mined/mined2.c
678
line->prev->next = line->next;
bin/mined/mined2.c
679
line->next->prev = line->prev;
bin/mined/mined2.c
682
free_space(line->text);
bin/mined/mined2.c
683
free_space((char*)line);
bin/mined/mined2.c
702
LINE *line, *stop;
bin/mined/mined2.c
726
line = start_line->next;
bin/mined/mined2.c
728
while (line != stop && line != tail) {
bin/mined/mined2.c
729
line = line_delete(line);
bin/mined/mined2.c
830
LINE *line = cur_line;
bin/mined/mined2.c
840
if (insert(line, cur_text, line_buffer) == ERRORS)
bin/mined/mined2.c
845
line = line_insert(line, line_buffer, ret);
bin/mined/mined2.c
848
line = line->next;
bin/mined/mined2.c
849
insert(line, line->text, line_buffer);
bin/mined/mined2.c
858
line_print(line);
bin/mined/mined2.c
863
while (page != line && page != bot_line->next)
bin/mined/mined2.c
870
move_to(length_of(line_buffer), find_y(line));
bin/mined/mined2.c
872
move_to(0, find_y(line->next));
bin/mined/mined2.c
996
LINE *line;
bin/sh/mknodes.c
121
if (line[0] == ' ' || line[0] == '\t')
bin/sh/mknodes.c
123
else if (line[0] != '\0')
bin/sh/mknodes.c
265
while (fgets(line, sizeof line, patfile) != NULL) {
bin/sh/mknodes.c
266
for (p = line ; *p == ' ' || *p == '\t' ; p++);
bin/sh/mknodes.c
274
fputs(line, cfile);
bin/sh/mknodes.c
420
if (fgets(line, 1024, infp) == NULL)
bin/sh/mknodes.c
422
for (p = line ; *p != '#' && *p != '\n' && *p != '\0' ; p++);
bin/sh/mknodes.c
423
while (p > line && (p[-1] == ' ' || p[-1] == '\t'))
bin/sh/mknodes.c
426
linep = line;
bin/sh/mknodes.c
428
if (p - line > BUFLEN)
bin/sh/mknodes.c
94
static char line[1024];
crypto/libressl/crypto/asn1/asn_mime.c
105
static int mime_bound_check(char *line, int linelen, char *bound, int blen);
crypto/libressl/crypto/asn1/asn_mime.c
977
mime_bound_check(char *line, int linelen, char *bound, int blen)
crypto/libressl/crypto/asn1/asn_mime.c
980
linelen = strlen(line);
crypto/libressl/crypto/asn1/asn_mime.c
987
if (!strncmp(line, "--", 2) && !strncmp(line + 2, bound, blen)) {
crypto/libressl/crypto/asn1/asn_mime.c
988
if (!strncmp(line + blen + 2, "--", 2))
crypto/libressl/crypto/conf/conf_def.c
192
def_load(CONF *conf, const char *name, long *line)
crypto/libressl/crypto/conf/conf_def.c
206
ret = def_load_bio(conf, in, line);
crypto/libressl/crypto/conf/conf_def.c
213
def_load_bio(CONF *conf, BIO *in, long *line)
crypto/libressl/crypto/conf/conf_def.c
402
if (line != NULL)
crypto/libressl/crypto/conf/conf_def.c
403
*line = eline;
crypto/libressl/crypto/cryptlib.c
128
const char *file, int line) = NULL;
crypto/libressl/crypto/cryptlib.c
130
int type, const char *file, int line) = NULL;
crypto/libressl/crypto/cryptlib.c
158
const char *file, int line))
crypto/libressl/crypto/cryptlib.c
165
const char *file, int line)
crypto/libressl/crypto/cryptlib.c
172
const char *file, int line))
crypto/libressl/crypto/cryptlib.c
179
const char *file, int line)
crypto/libressl/crypto/cryptlib.c
238
*dyn_create_function)(const char *file, int line))
crypto/libressl/crypto/cryptlib.c
245
int mode, struct CRYPTO_dynlock_value *l, const char *file, int line))
crypto/libressl/crypto/cryptlib.c
252
struct CRYPTO_dynlock_value *l, const char *file, int line))
crypto/libressl/crypto/cryptlib.c
259
const char *file, int line)
crypto/libressl/crypto/cryptlib.c
266
struct CRYPTO_dynlock_value *l, const char *file, int line)
crypto/libressl/crypto/cryptlib.c
273
struct CRYPTO_dynlock_value *l, const char *file, int line)
crypto/libressl/crypto/cryptlib.c
370
OpenSSLDie(const char *file, int line, const char *assertion)
crypto/libressl/crypto/cryptlib.c
374
getuid(), getprogname(), file, line, assertion);
crypto/libressl/crypto/crypto_lock.c
72
CRYPTO_lock(int mode, int type, const char *file, int line)
crypto/libressl/crypto/crypto_lock.c
85
int line)
crypto/libressl/crypto/crypto_lock.c
89
CRYPTO_lock(CRYPTO_LOCK|CRYPTO_WRITE, type, file, line);
crypto/libressl/crypto/crypto_lock.c
92
CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_WRITE, type, file, line);
crypto/libressl/crypto/err/err.c
332
int *line, const char **data, int *flags);
crypto/libressl/crypto/err/err.c
730
ERR_put_error(int lib, int func, int reason, const char *file, int line)
crypto/libressl/crypto/err/err.c
743
es->err_line[es->top] = line;
crypto/libressl/crypto/err/err.c
770
ERR_get_error_line(const char **file, int *line)
crypto/libressl/crypto/err/err.c
772
return (get_error_values(1, 0, file, line, NULL, NULL));
crypto/libressl/crypto/err/err.c
776
ERR_get_error_line_data(const char **file, int *line,
crypto/libressl/crypto/err/err.c
779
return (get_error_values(1, 0, file, line, data, flags));
crypto/libressl/crypto/err/err.c
790
ERR_peek_error_line(const char **file, int *line)
crypto/libressl/crypto/err/err.c
792
return (get_error_values(0, 0, file, line, NULL, NULL));
crypto/libressl/crypto/err/err.c
796
ERR_peek_error_line_data(const char **file, int *line,
crypto/libressl/crypto/err/err.c
799
return (get_error_values(0, 0, file, line, data, flags));
crypto/libressl/crypto/err/err.c
809
ERR_peek_last_error_line(const char **file, int *line)
crypto/libressl/crypto/err/err.c
811
return (get_error_values(0, 1, file, line, NULL, NULL));
crypto/libressl/crypto/err/err.c
815
ERR_peek_last_error_line_data(const char **file, int *line,
crypto/libressl/crypto/err/err.c
818
return (get_error_values(0, 1, file, line, data, flags));
crypto/libressl/crypto/err/err.c
822
get_error_values(int inc, int top, const char **file, int *line,
crypto/libressl/crypto/err/err.c
834
if (line)
crypto/libressl/crypto/err/err.c
835
*line = 0;
crypto/libressl/crypto/err/err.c
857
if ((file != NULL) && (line != NULL)) {
crypto/libressl/crypto/err/err.c
860
if (line != NULL)
crypto/libressl/crypto/err/err.c
861
*line = 0;
crypto/libressl/crypto/err/err.c
864
if (line != NULL)
crypto/libressl/crypto/err/err.c
865
*line = es->err_line[i];
crypto/libressl/crypto/err/err_prn.c
76
int line, flags;
crypto/libressl/crypto/err/err_prn.c
82
while ((l = ERR_get_error_line_data(&file, &line, &data,
crypto/libressl/crypto/err/err_prn.c
86
buf, file, line, (flags & ERR_TXT_STRING) ? data : "");
crypto/libressl/crypto/malloc-wrapper.c
119
CRYPTO_malloc_locked(int num, const char *file, int line)
crypto/libressl/crypto/malloc-wrapper.c
133
CRYPTO_malloc(int num, const char *file, int line)
crypto/libressl/crypto/malloc-wrapper.c
141
CRYPTO_strdup(const char *str, const char *file, int line)
crypto/libressl/crypto/malloc-wrapper.c
147
CRYPTO_realloc(void *ptr, int num, const char *file, int line)
crypto/libressl/crypto/malloc-wrapper.c
156
int line)
crypto/libressl/crypto/malloc-wrapper.c
173
CRYPTO_remalloc(void *a, int num, const char *file, int line)
crypto/libressl/crypto/mem_dbg.c
144
CRYPTO_push_info_(const char *info, const char *file, int line)
crypto/libressl/crypto/mem_dbg.c
162
CRYPTO_dbg_malloc(void *addr, int num, const char *file, int line,
crypto/libressl/crypto/mem_dbg.c
176
const char *file, int line, int before_p)
crypto/libressl/crypto/ocsp/ocsp_ht.c
106
static int parse_http_line1(char *line);
crypto/libressl/crypto/ocsp/ocsp_ht.c
201
parse_http_line1(char *line)
crypto/libressl/crypto/ocsp/ocsp_ht.c
207
for (p = line; *p && !isspace((unsigned char)*p); p++)
crypto/libressl/crypto/x509/x509_utl.c
326
X509V3_parse_list(const char *line)
crypto/libressl/crypto/x509/x509_utl.c
335
if ((linebuf = strdup(line)) == NULL) {
crypto/libressl/include/openssl/crypto.h
357
void CRYPTO_lock(int mode, int type, const char *file, int line);
crypto/libressl/include/openssl/crypto.h
359
int line);
crypto/libressl/include/openssl/crypto.h
382
const char *file, int line));
crypto/libressl/include/openssl/crypto.h
384
const char *file, int line);
crypto/libressl/include/openssl/crypto.h
386
const char *file, int line));
crypto/libressl/include/openssl/crypto.h
388
const char *file, int line);
crypto/libressl/include/openssl/crypto.h
398
void CRYPTO_set_dynlock_create_callback(struct CRYPTO_dynlock_value *(*dyn_create_function)(const char *file, int line));
crypto/libressl/include/openssl/crypto.h
399
void CRYPTO_set_dynlock_lock_callback(void (*dyn_lock_function)(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line));
crypto/libressl/include/openssl/crypto.h
400
void CRYPTO_set_dynlock_destroy_callback(void (*dyn_destroy_function)(struct CRYPTO_dynlock_value *l, const char *file, int line));
crypto/libressl/include/openssl/crypto.h
401
struct CRYPTO_dynlock_value *(*CRYPTO_get_dynlock_create_callback(void))(const char *file, int line);
crypto/libressl/include/openssl/crypto.h
402
void (*CRYPTO_get_dynlock_lock_callback(void))(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line);
crypto/libressl/include/openssl/crypto.h
403
void (*CRYPTO_get_dynlock_destroy_callback(void))(struct CRYPTO_dynlock_value *l, const char *file, int line);
crypto/libressl/include/openssl/crypto.h
431
void *CRYPTO_malloc_locked(int num, const char *file, int line);
crypto/libressl/include/openssl/crypto.h
433
void *CRYPTO_malloc(int num, const char *file, int line);
crypto/libressl/include/openssl/crypto.h
434
char *CRYPTO_strdup(const char *str, const char *file, int line);
crypto/libressl/include/openssl/crypto.h
436
void *CRYPTO_realloc(void *addr, int num, const char *file, int line);
crypto/libressl/include/openssl/crypto.h
440
const char *file, int line);
crypto/libressl/include/openssl/crypto.h
441
void *CRYPTO_remalloc(void *addr, int num, const char *file, int line);
crypto/libressl/include/openssl/crypto.h
452
int CRYPTO_push_info_(const char *info, const char *file, int line);
crypto/libressl/include/openssl/crypto.h
464
void CRYPTO_dbg_malloc(void *addr, int num, const char *file, int line, int before_p)
crypto/libressl/include/openssl/crypto.h
466
void CRYPTO_dbg_realloc(void *addr1, void *addr2, int num, const char *file, int line, int before_p)
crypto/libressl/include/openssl/crypto.h
491
void OpenSSLDie(const char *file, int line, const char *assertion);
crypto/libressl/include/openssl/err.h
359
void ERR_put_error(int lib, int func, int reason, const char *file, int line);
crypto/libressl/include/openssl/err.h
363
unsigned long ERR_get_error_line(const char **file, int *line);
crypto/libressl/include/openssl/err.h
364
unsigned long ERR_get_error_line_data(const char **file, int *line,
crypto/libressl/include/openssl/err.h
367
unsigned long ERR_peek_error_line(const char **file, int *line);
crypto/libressl/include/openssl/err.h
368
unsigned long ERR_peek_error_line_data(const char **file, int *line,
crypto/libressl/include/openssl/err.h
371
unsigned long ERR_peek_last_error_line(const char **file, int *line);
crypto/libressl/include/openssl/err.h
372
unsigned long ERR_peek_last_error_line_data(const char **file, int *line,
crypto/libressl/include/openssl/ssl.h
512
typedef void (*SSL_CTX_keylog_cb_func)(const SSL *ssl, const char *line);
crypto/libressl/include/openssl/x509v3.h
764
STACK_OF(CONF_VALUE) *X509V3_parse_list(const char *line);
crypto/libressl/ssl/tls13_error.c
29
error->line = 0;
crypto/libressl/ssl/tls13_error.c
36
const char *file, int line, const char *fmt, va_list ap)
crypto/libressl/ssl/tls13_error.c
47
error->line = line;
crypto/libressl/ssl/tls13_error.c
73
const char *file, int line, const char *fmt, ...)
crypto/libressl/ssl/tls13_error.c
81
rv = tls13_error_vset(error, code, subcode, errnum, file, line, fmt, ap);
crypto/libressl/ssl/tls13_error.c
89
const char *file, int line, const char *fmt, ...)
crypto/libressl/ssl/tls13_error.c
95
rv = tls13_error_vset(error, code, subcode, -1, file, line, fmt, ap);
crypto/libressl/ssl/tls13_internal.h
263
int line;
crypto/libressl/ssl/tls13_internal.h
419
const char *file, int line, const char *fmt, ...);
crypto/libressl/ssl/tls13_internal.h
421
const char *file, int line, const char *fmt, ...);
crypto/libressl/ssl/tls13_legacy.c
159
ctx->error.line);
crypto/openssh/audit-linux.c
89
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
452
found->host, found->file, found->line);
crypto/openssh/auth2-pubkeyfile.c
225
char loc[256], *line = NULL, *cp, *ep;
crypto/openssh/auth2-pubkeyfile.c
233
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/auth2-pubkeyfile.c
240
for (cp = line; *cp == ' ' || *cp == '\t'; cp++)
crypto/openssh/auth2-pubkeyfile.c
254
free(line);
crypto/openssh/auth2-pubkeyfile.c
410
char *cp, *line = NULL, loc[256];
crypto/openssh/auth2-pubkeyfile.c
418
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/auth2-pubkeyfile.c
425
cp = line;
crypto/openssh/auth2-pubkeyfile.c
436
free(line);
crypto/openssh/auth2-pubkeyfile.c
445
char line[1024];
crypto/openssh/auth2-pubkeyfile.c
477
safe_path_fd(fileno(f), file, pw, line, sizeof(line)) != 0) {
crypto/openssh/auth2-pubkeyfile.c
479
logit("Authentication refused: %s", line);
crypto/openssh/auth2-pubkeyfile.c
480
auth_debug_add("Ignored %s: %s", file_type, line);
crypto/openssh/authfile.c
209
char *line = NULL, *cp;
crypto/openssh/authfile.c
225
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/authfile.c
226
cp = line;
crypto/openssh/authfile.c
251
free(line);
crypto/openssh/authfile.c
258
free(line);
crypto/openssh/authfile.c
382
char *line = NULL, *cp;
crypto/openssh/authfile.c
393
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/authfile.c
396
cp = line;
crypto/openssh/authfile.c
431
free(line);
crypto/openssh/clientloop.c
293
char *cmd, line[512], xdisplay[512];
crypto/openssh/clientloop.c
406
if (f && fgets(line, sizeof(line), f) &&
crypto/openssh/clientloop.c
407
sscanf(line, "%*s %511s %511s", proto, data) == 2)
crypto/openssh/dh.c
162
char *line = NULL;
crypto/openssh/dh.c
175
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/dh.c
177
if (!parse_prime(linenum, line, &dhg))
crypto/openssh/dh.c
193
free(line);
crypto/openssh/dh.c
194
line = NULL;
crypto/openssh/dh.c
208
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/dh.c
210
if (!parse_prime(linenum, line, &dhg))
crypto/openssh/dh.c
221
free(line);
crypto/openssh/dh.c
222
line = NULL;
crypto/openssh/dh.c
61
parse_prime(int linenum, char *line, struct dhgroup *dhg)
crypto/openssh/dh.c
69
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
568
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/hostfile.c
590
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/hostfile.c
763
char *line = NULL, ktype[128];
crypto/openssh/hostfile.c
776
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/hostfile.c
778
line[strcspn(line, "\n")] = '\0';
crypto/openssh/hostfile.c
780
free(lineinfo.line);
crypto/openssh/hostfile.c
785
lineinfo.line = xstrdup(line);
crypto/openssh/hostfile.c
792
for (cp = line; *cp == ' ' || *cp == '\t'; cp++)
crypto/openssh/hostfile.c
924
free(lineinfo.line);
crypto/openssh/hostfile.c
925
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
427
sshlog(const char *file, const char *func, int line, int showfunc,
crypto/openssh/log.c
433
sshlogv(file, func, line, showfunc, level, suffix, fmt, args);
crypto/openssh/log.c
438
sshlogdie(const char *file, const char *func, int line, int showfunc,
crypto/openssh/log.c
444
sshlogv(file, func, line, showfunc, SYSLOG_LEVEL_INFO,
crypto/openssh/log.c
451
sshlogv(const char *file, const char *func, int line, int showfunc,
crypto/openssh/log.c
464
(cp = strrchr(file, '/')) == NULL ? file : cp + 1, func, line,
crypto/openssh/loginrec.c
1052
line_abbrevname(utx.ut_id, li->line, sizeof(utx.ut_id));
crypto/openssh/loginrec.c
1231
line_fullname(li->line, ut.ut_line,
crypto/openssh/loginrec.c
1232
MIN_SIZEOF(li->line, ut.ut_line));
crypto/openssh/loginrec.c
1394
line_fullname(li->line, utx.ut_line, sizeof(li->line));
crypto/openssh/loginrec.c
1434
char line[UT_LINESIZE];
crypto/openssh/loginrec.c
1436
(void)line_stripname(line, li->line, sizeof(line));
crypto/openssh/loginrec.c
1438
if (!logout(line))
crypto/openssh/loginrec.c
1442
logwtmp(line, "", "");
crypto/openssh/loginrec.c
1546
line_stripname(last.ll_line, li->line, sizeof(last.ll_line));
crypto/openssh/loginrec.c
1581
line_fullname(li->line, ll->ll_line, sizeof(li->line));
crypto/openssh/loginrec.c
1606
line_fullname(li->line, last.ll_line, sizeof(li->line));
crypto/openssh/loginrec.c
1642
line_fullname(li->line, utx->ut_line,
crypto/openssh/loginrec.c
1643
MIN_SIZEOF(li->line, utx->ut_line));
crypto/openssh/loginrec.c
346
const char *hostname, const char *line)
crypto/openssh/loginrec.c
351
login_init_entry(newli, pid, username, hostname, line);
crypto/openssh/loginrec.c
374
const char *hostname, const char *line)
crypto/openssh/loginrec.c
383
if (line)
crypto/openssh/loginrec.c
384
line_fullname(li->line, line, sizeof(li->line));
crypto/openssh/loginrec.c
472
!sys_auth_record_login(li->username,li->hostname,li->line,
crypto/openssh/loginrec.c
662
line_abbrevname(ut->ut_id, li->line, sizeof(ut->ut_id));
crypto/openssh/loginrec.c
678
line_stripname(ut->ut_line, li->line, sizeof(ut->ut_line));
crypto/openssh/loginrec.c
750
line_abbrevname(utx->ut_id, li->line, sizeof(utx->ut_id));
crypto/openssh/loginrec.c
762
line_stripname(utx->ut_line, li->line, sizeof(utx->ut_line));
crypto/openssh/loginrec.h
70
char line[LINFO_LINESIZE]; /* tty/pty name */
crypto/openssh/loginrec.h
92
const char *hostname, const char *line);
crypto/openssh/loginrec.h
97
const char *hostname, const char *line);
crypto/openssh/misc.c
2646
opt_array_append2(const char *file, const int line, const char *directive,
crypto/openssh/misc.c
2651
fatal("%s line %d: Too many %s entries", file, line, directive);
crypto/openssh/misc.c
2665
opt_array_append(const char *file, const int line, const char *directive,
crypto/openssh/misc.c
2668
opt_array_append2(file, line, directive, array, NULL, lp, s, 0);
crypto/openssh/misc.h
216
void opt_array_append(const char *file, const int line,
crypto/openssh/misc.h
218
void opt_array_append2(const char *file, const int line,
crypto/openssh/readconf.c
1034
const char *original_host, char *line, const char *filename,
crypto/openssh/readconf.c
1038
line, filename, linenum, activep, flags, NULL, 0);
crypto/openssh/readconf.c
1044
const char *original_host, char *line, const char *filename,
crypto/openssh/readconf.c
1074
if ((len = strlen(line)) == 0)
crypto/openssh/readconf.c
1077
if (strchr(WHITESPACE "\f", line[len]) == NULL)
crypto/openssh/readconf.c
1079
line[len] = '\0';
crypto/openssh/readconf.c
1082
str = line;
crypto/openssh/readconf.c
139
const char *host, const char *original_host, char *line,
crypto/openssh/readconf.c
2448
char *line = NULL;
crypto/openssh/readconf.c
2476
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/readconf.c
2485
line, filename, linenum, activep, flags, want_final_pass,
crypto/openssh/readconf.c
2489
free(line);
crypto/openssh/servconf.c
1001
user, grps, line);
crypto/openssh/servconf.c
1004
grps, line);
crypto/openssh/servconf.c
1025
match_cfg_line(char **condition, int line, struct connection_info *ci)
crypto/openssh/servconf.c
1077
"line %d", ci->user, arg, line);
crypto/openssh/servconf.c
1085
switch (match_cfg_line_group(arg, line, ci->user)) {
crypto/openssh/servconf.c
1102
"%.100s' at line %d", ci->host, arg, line);
crypto/openssh/servconf.c
1107
"'%s' at line %d", arg, line);
crypto/openssh/servconf.c
1116
"%.100s' at line %d", ci->address, arg, line);
crypto/openssh/servconf.c
1130
line);
crypto/openssh/servconf.c
1141
ci->laddress, arg, line);
crypto/openssh/servconf.c
1166
ci->laddress, port, line);
crypto/openssh/servconf.c
1180
"line %d", ci->rdomain, arg, line);
crypto/openssh/servconf.c
1252
process_server_config_line_depth(ServerOptions *options, char *line,
crypto/openssh/servconf.c
1277
if ((len = strlen(line)) == 0)
crypto/openssh/servconf.c
1280
if (strchr(WHITESPACE "\f", line[len]) == NULL)
crypto/openssh/servconf.c
1282
line[len] = '\0';
crypto/openssh/servconf.c
1285
str = line;
crypto/openssh/servconf.c
2480
if ((arg = strchr(line, '#')) != NULL) {
crypto/openssh/servconf.c
2482
rtrim(line);
crypto/openssh/servconf.c
269
servconf_add_hostkey(const char *file, const int line,
crypto/openssh/servconf.c
2692
process_server_config_line(ServerOptions *options, char *line,
crypto/openssh/servconf.c
2698
return process_server_config_line_depth(options, line, filename,
crypto/openssh/servconf.c
2709
char *line = NULL, *cp;
crypto/openssh/servconf.c
2724
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/servconf.c
2730
cp = line + strspn(line, " \t\r");
crypto/openssh/servconf.c
2734
free(line);
crypto/openssh/servconf.c
274
opt_array_append2(file, line, "HostKey",
crypto/openssh/servconf.c
281
servconf_add_hostcert(const char *file, const int line,
crypto/openssh/servconf.c
286
opt_array_append(file, line, "HostCertificate",
crypto/openssh/servconf.c
985
match_cfg_line_group(const char *grps, int line, const char *user)
crypto/openssh/servconf.c
995
"not exist", line, user);
crypto/openssh/servconf.c
998
"at line %d", user, line);
crypto/openssh/session.c
837
char *line = NULL, *cp, *value;
crypto/openssh/session.c
845
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/session.c
848
for (cp = line; *cp == ' ' || *cp == '\t'; cp++)
crypto/openssh/session.c
872
free(line);
crypto/openssh/sftp.c
2130
char **argv, *line, quote;
crypto/openssh/sftp.c
2142
line = xmalloc(cursor + 1);
crypto/openssh/sftp.c
2143
memcpy(line, lf->buffer, cursor);
crypto/openssh/sftp.c
2144
line[cursor] = '\0';
crypto/openssh/sftp.c
2145
argv = makeargv(line, &carg, 1, &quote, &terminated);
crypto/openssh/sftp.c
2146
free(line);
crypto/openssh/sftp.c
2150
line = xmalloc(len + 1);
crypto/openssh/sftp.c
2151
memcpy(line, lf->buffer, len);
crypto/openssh/sftp.c
2152
line[len] = '\0';
crypto/openssh/sftp.c
2153
argv = makeargv(line, &argc, 1, NULL, NULL);
crypto/openssh/sftp.c
2156
if (line[cursor] != ' ' && line[cursor] != '\0' &&
crypto/openssh/sftp.c
2157
line[cursor] != '\n') {
crypto/openssh/sftp.c
2158
free(line);
crypto/openssh/sftp.c
2166
} else if (carg == 1 && cursor > 0 && line[cursor - 1] != ' ') {
crypto/openssh/sftp.c
2177
if (carg > 1 && line[cursor-1] != ' ')
crypto/openssh/sftp.c
2190
if (line[cursor - 1] == ' ')
crypto/openssh/sftp.c
2202
free(line);
crypto/openssh/sftp.c
2319
const char *line;
crypto/openssh/sftp.c
2322
if ((line = el_gets(el, &count)) == NULL ||
crypto/openssh/sftp.c
2329
history(hl, &hev, H_ENTER, line);
crypto/openssh/sftp.c
2330
if (strlcpy(cmd, line, sizeof(cmd)) >= sizeof(cmd)) {
crypto/openssh/ssh-add.c
138
char *line = NULL, *cp;
crypto/openssh/ssh-add.c
143
while (getline(&line, &linesize, stdin) != -1) {
crypto/openssh/ssh-add.c
147
line[strcspn(line, "\n")] = '\0';
crypto/openssh/ssh-add.c
148
cp = line + strspn(line, " \t");
crypto/openssh/ssh-add.c
166
free(line);
crypto/openssh/ssh-add.c
739
hke->file, hke->line, dch->nkeys);
crypto/openssh/ssh-keygen.c
1001
free(line);
crypto/openssh/ssh-keygen.c
1049
free(line);
crypto/openssh/ssh-keygen.c
1206
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/ssh-keygen.c
1235
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/ssh-keygen.c
1257
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/ssh-keygen.c
1295
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/ssh-keygen.c
1304
fprintf(ctx->out, "%s\n", l->line);
crypto/openssh/ssh-keygen.c
2180
char *cp, *line = NULL;
crypto/openssh/ssh-keygen.c
2198
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/ssh-keygen.c
2203
cp = line + strspn(line, " \t");
crypto/openssh/ssh-keygen.c
2223
free(line);
crypto/openssh/ssh-keygen.c
2286
char *path, *cp, *ep, *line = NULL;
crypto/openssh/ssh-keygen.c
2303
while (getline(&line, &linesize, krl_spec) != -1) {
crypto/openssh/ssh-keygen.c
2310
cp = line + strspn(line, " \t");
crypto/openssh/ssh-keygen.c
2430
free(line);
crypto/openssh/ssh-keygen.c
620
get_line(FILE *fp, char *line, size_t len)
crypto/openssh/ssh-keygen.c
625
line[0] = '\0';
crypto/openssh/ssh-keygen.c
638
line[pos++] = c;
crypto/openssh/ssh-keygen.c
639
line[pos] = '\0';
crypto/openssh/ssh-keygen.c
650
char line[1024];
crypto/openssh/ssh-keygen.c
660
while ((blen = get_line(fp, line, sizeof(line))) != -1) {
crypto/openssh/ssh-keygen.c
661
if (blen > 0 && line[blen - 1] == '\\')
crypto/openssh/ssh-keygen.c
663
if (strncmp(line, "----", 4) == 0 ||
crypto/openssh/ssh-keygen.c
664
strstr(line, ": ") != NULL) {
crypto/openssh/ssh-keygen.c
665
if (strstr(line, SSH_COM_PRIVATE_BEGIN) != NULL)
crypto/openssh/ssh-keygen.c
667
if (strstr(line, " END ") != NULL) {
crypto/openssh/ssh-keygen.c
678
strlcat(encoded, line, sizeof(encoded));
crypto/openssh/ssh-keygen.c
964
char *comment = NULL, *cp, *ep, *line = NULL;
crypto/openssh/ssh-keygen.c
980
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/ssh-keygen.c
982
cp = line;
crypto/openssh/ssh-keygen.c
985
cp = line + strspn(line, " \t");
crypto/openssh/ssh-keyscan.c
657
sshfatal(const char *file, const char *func, int line, int showfunc,
crypto/openssh/ssh-keyscan.c
663
sshlogv(file, func, line, showfunc, level, suffix, fmt, args);
crypto/openssh/ssh-keyscan.c
682
char *tname, *cp, *line = NULL;
crypto/openssh/ssh-keyscan.c
823
while (getline(&line, &linesize, fp) != -1) {
crypto/openssh/ssh-keyscan.c
825
if ((cp = strchr(line, '#')) == NULL)
crypto/openssh/ssh-keyscan.c
826
cp = line + strlen(line) - 1;
crypto/openssh/ssh-keyscan.c
827
while (cp >= line) {
crypto/openssh/ssh-keyscan.c
836
if (*line == '\0')
crypto/openssh/ssh-keyscan.c
839
do_host(line);
crypto/openssh/ssh-keyscan.c
849
free(line);
crypto/openssh/ssh.c
1075
line = xstrdup(optarg);
crypto/openssh/ssh.c
1077
host ? host : "", host ? host : "", line,
crypto/openssh/ssh.c
1080
free(line);
crypto/openssh/ssh.c
673
char *p, *cp, *line, *argv0, *logfile;
crypto/openssh/sshconnect.c
1091
host_found->file, host_found->line);
crypto/openssh/sshconnect.c
1289
host_found->file, host_found->line);
crypto/openssh/sshconnect.c
1312
ip_found->file, ip_found->line);
crypto/openssh/sshconnect.c
1323
host_found->file, host_found->line);
crypto/openssh/sshconnect.c
1408
type, host, ip, ip_found->file, ip_found->line);
crypto/openssh/sshconnect.c
1413
host_found->file, host_found->line);
crypto/openssh/sshconnect.c
1656
found->host, found->file, found->line,
crypto/openssh/sshd-session.c
1007
line = xstrdup(optarg);
crypto/openssh/sshd-session.c
1008
if (process_server_config_line(&options, line,
crypto/openssh/sshd-session.c
1011
free(line);
crypto/openssh/sshd-session.c
876
char *line, *laddr, *logfile = NULL;
crypto/openssh/sshd.c
1189
char *fp, *line, *logfile = NULL, **rexec_argv = NULL;
crypto/openssh/sshd.c
1329
line = xstrdup(optarg);
crypto/openssh/sshd.c
1330
if (process_server_config_line(&options, line,
crypto/openssh/sshd.c
1333
free(line);
crypto/openssh/sshsig.c
1002
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/sshsig.c
1004
r = check_allowed_keys_line(path, linenum, line, sign_key,
crypto/openssh/sshsig.c
1006
free(line);
crypto/openssh/sshsig.c
1007
line = NULL;
crypto/openssh/sshsig.c
1020
free(line);
crypto/openssh/sshsig.c
1029
char *line = NULL;
crypto/openssh/sshsig.c
1042
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/sshsig.c
1044
r = check_allowed_keys_line(path, linenum, line,
crypto/openssh/sshsig.c
1046
free(line);
crypto/openssh/sshsig.c
1047
line = NULL;
crypto/openssh/sshsig.c
1058
free(line);
crypto/openssh/sshsig.c
1077
char *found, *line = NULL, **principals = NULL, **tmp;
crypto/openssh/sshsig.c
1096
while (getline(&line, &linesize, f) != -1) {
crypto/openssh/sshsig.c
1099
if ((r = parse_principals_key_and_options(path, linenum, line,
crypto/openssh/sshsig.c
1115
free(line);
crypto/openssh/sshsig.c
1116
line = NULL;
crypto/openssh/sshsig.c
731
parse_principals_key_and_options(const char *path, u_long linenum, char *line,
crypto/openssh/sshsig.c
748
cp = line;
crypto/openssh/sshsig.c
889
check_allowed_keys_line(const char *path, u_long linenum, char *line,
crypto/openssh/sshsig.c
904
if ((r = parse_principals_key_and_options(path, linenum, line,
crypto/openssh/sshsig.c
988
char *line = NULL;
games/arithmetic/arithmetic.c
185
char line[80];
games/arithmetic/arithmetic.c
231
if (!fgets(line, sizeof(line), stdin)) {
games/arithmetic/arithmetic.c
235
for (p = line; *p && isspace(*p); ++p);
games/atc/grammar.y
149
line bunch_of_lines
games/atc/grammar.y
151
| line
games/atc/grammar.y
155
line:
games/atc/grammar.y
269
if (sp->line == NULL)
games/atc/grammar.y
270
sp->line = malloc((sp->num_lines + REALLOC) *
games/atc/grammar.y
273
sp->line = realloc(sp->line, (sp->num_lines +
games/atc/grammar.y
275
if (sp->line == NULL)
games/atc/grammar.y
278
sp->line[sp->num_lines].p1.x = $3;
games/atc/grammar.y
279
sp->line[sp->num_lines].p1.y = $4;
games/atc/grammar.y
280
sp->line[sp->num_lines].p2.x = $7;
games/atc/grammar.y
281
sp->line[sp->num_lines].p2.y = $8;
games/atc/grammar.y
332
fprintf(stderr, "\"%s\": line %d: %s\n", filename, line, s);
games/atc/grammar.y
75
int line = 1;
games/atc/graphics.c
163
draw_line(radar, scp->line[i].p1.x, scp->line[i].p1.y,
games/atc/graphics.c
164
scp->line[i].p2.x, scp->line[i].p2.y, str);
games/atc/main.c
216
char line[256], games[256];
games/atc/main.c
225
if (fgets(line, sizeof(line), fp) == NULL) {
games/atc/main.c
230
line[strlen(line) - 1] = '\0';
games/atc/main.c
232
strcat(file, line);
games/atc/main.c
242
char line[256], games[256];
games/atc/main.c
251
while (fgets(line, sizeof(line), fp) != NULL) {
games/atc/main.c
252
line[strlen(line) - 1] = '\0';
games/atc/main.c
253
if (strcmp(s, line) == 0) {
games/atc/main.c
255
strcat(file, line);
games/atc/main.c
275
char line[256], games[256];
games/atc/main.c
286
while (fgets(line, sizeof(line), fp) != NULL) {
games/atc/main.c
287
printf(" %s", line);
games/atc/struct.h
66
LINE *line;
games/banner/banner.c
1010
static char line[DWIDTH];
games/banner/banner.c
1118
for (j = 0; j < DWIDTH; j++) line[j] = ' ';
games/banner/banner.c
1138
putchar(line[j]);
games/banner/banner.c
1142
for (j = 0; j < DWIDTH; j++) line[j] = ' ';
games/banner/banner.c
1153
while (x < max) line[x++] = '#';
games/boggle/boggle/mach.c
672
int line;
games/boggle/boggle/mach.c
677
line = BOARD_LINE;
games/boggle/boggle/mach.c
679
move(++line, BOARD_COL);
games/boggle/boggle/mach.c
693
move(++line, BOARD_COL);
games/boggle/boggle/mach.c
695
move(++line, BOARD_COL);
games/cgram/cgram.c
221
struct string line;
games/cgram/cgram.c
222
string_init(&line);
games/cgram/cgram.c
227
string_finish(&line);
games/cgram/cgram.c
228
stringarray_add(&lines, &line);
games/cgram/cgram.c
229
string_init(&line);
games/cgram/cgram.c
231
string_add(&line, ' ');
games/cgram/cgram.c
232
while (line.len % 8 != 0)
games/cgram/cgram.c
233
string_add(&line, ' ');
games/cgram/cgram.c
235
if (line.len > 0)
games/cgram/cgram.c
236
line.len--;
games/cgram/cgram.c
238
string_add(&line, (char)ch);
games/cgram/cgram.c
321
const char *line = lines.v[offset_y + y].s;
games/cgram/cgram.c
325
char ch = line[offset_x + x];
games/colorbars/colorbars.c
101
mvprintw(line, xoffs + xpos, " ");
games/colorbars/colorbars.c
106
for (size_t line = 0; line < lengths[i]; line++)
games/colorbars/colorbars.c
107
mvprintw(line + labeloffsety, xoffs, "%c",
games/colorbars/colorbars.c
108
colorInfo[i].name[line]);
games/colorbars/colorbars.c
99
for (int line = 0; line < LINES - 1; line++)
games/cribbage/io.c
220
char *line, *p, *p1;
games/cribbage/io.c
225
if (!(line = get_line()))
games/cribbage/io.c
227
p = p1 = line;
games/fortune/fortune/fortune.c
213
char line[BUFSIZ];
games/fortune/fortune/fortune.c
217
for (Fort_len = 0; fgets(line, sizeof line, fp->inf) != NULL &&
games/fortune/fortune/fortune.c
218
!STR_ENDSTRING(line, fp->tbl); Fort_len++) {
games/fortune/fortune/fortune.c
220
for (p = line; (ch = *p) != '\0'; ++p) {
games/fortune/fortune/fortune.c
229
&& line[0] == fp->tbl.str_delim
games/fortune/fortune/fortune.c
230
&& line[1] == fp->tbl.str_delim)
games/fortune/fortune/fortune.c
232
fputs(line, stdout);
games/fortune/fortune/fortune.c
245
char line[BUFSIZ];
games/fortune/fortune/fortune.c
253
while (fgets(line, sizeof line, Fortfile->inf) != NULL &&
games/fortune/fortune/fortune.c
254
!STR_ENDSTRING(line, Fortfile->tbl))
games/fortune/fortune/fortune.c
255
nchar += strlen(line);
games/hack/hack.pager.c
261
struct line *next_line;
games/hack/hack.pager.c
266
struct line *tl;
games/hack/hack.rip.c
125
center(int line __unused, char *text)
games/hack/hack.rumors.c
106
char line[COLNO];
games/hack/hack.rumors.c
108
if (!fgets(line, sizeof(line), rumf))
games/hack/hack.rumors.c
110
if ((ep = strchr(line, '\n')) != 0)
games/hack/hack.rumors.c
113
pline("%s", line);
games/hack/hack.rumors.c
94
char line[COLNO];
games/hack/hack.rumors.c
96
if (!fgets(line, sizeof(line), rumf))
games/hack/hack.rumors.c
98
if (strchr(line, '\n'))
games/hack/hack.topl.c
208
vpline(const char *line, va_list ap)
games/hack/hack.topl.c
214
if (!*line)
games/hack/hack.topl.c
216
if (!strchr(line, '%'))
games/hack/hack.topl.c
217
(void) strlcpy(pbuf, line, sizeof(pbuf));
games/hack/hack.topl.c
219
(void) vsnprintf(pbuf, sizeof(pbuf), line, ap);
games/hack/makedefs.c
134
char line[LINSZ], *lp = line, *lp0 = line, *lpe = line;
games/hack/makedefs.c
140
int n = read(fd, lp0, (line + LINSZ) - lp0);
games/hunt/hunt/otto.c
563
_panic(const char *file, int line, const char *msg)
games/hunt/hunt/otto.c
566
fprintf(stderr, "%s:%d: panic! %s\n", file, line, msg);
games/hunt/huntd/conf.c
175
parse_line(char *buf, const char *fnm, int *line)
games/hunt/huntd/conf.c
203
fnm, *line);
games/hunt/huntd/conf.c
218
fnm, *line, (int)(endword - word), word);
games/hunt/huntd/conf.c
227
logx(LOG_ERR, "%s:%d: expected `=' after %s", fnm, *line, word);
games/hunt/huntd/conf.c
236
p = parse_value(p, kvp, fnm, line);
games/hunt/huntd/conf.c
246
fnm, *line);
games/hunt/huntd/conf.c
256
int line;
games/hunt/huntd/conf.c
259
line = 0;
games/hunt/huntd/conf.c
261
line++;
games/hunt/huntd/conf.c
265
logx(LOG_ERR, "%s:%d: line too long", fnm, line);
games/hunt/huntd/conf.c
270
parse_line(buf, fnm, &line);
games/hunt/huntd/conf.c
313
int line = 0;
games/hunt/huntd/conf.c
315
parse_line(arg, "*Initialisation*", &line);
games/morse/morse.c
303
int spkr, line;
games/morse/morse.c
422
if ((line = open(device, O_WRONLY | O_NONBLOCK)) == -1) {
games/morse/morse.c
426
if (tcgetattr(line, &otty) == -1) {
games/morse/morse.c
432
tcsetattr(line, TCSANOW, &ntty);
games/morse/morse.c
433
lflags = fcntl(line, F_GETFL);
games/morse/morse.c
435
fcntl(line, F_SETFL, &lflags);
games/morse/morse.c
436
ioctl(line, TIOCMGET, &lflags);
games/morse/morse.c
439
ioctl(line, TIOCMSET, &lflags);
games/morse/morse.c
543
tcsetattr(line, TCSANOW, &otty);
games/morse/morse.c
756
ioctl(line, TIOCMGET, &lflags);
games/morse/morse.c
758
ioctl(line, TIOCMSET, &lflags);
games/morse/morse.c
763
ioctl(line, TIOCMGET, &lflags);
games/morse/morse.c
765
ioctl(line, TIOCMSET, &lflags);
games/morse/morse.c
781
ioctl(line, TIOCMSET, &olflags);
games/morse/morse.c
782
tcsetattr(line, TCSANOW, &otty);
games/number/number.c
101
convert(line);
games/number/number.c
113
convert(char *line)
games/number/number.c
120
for (p = line; *p != '\0' && *p != '\n'; ++p) {
games/number/number.c
122
if (p == line) {
games/number/number.c
123
++line;
games/number/number.c
138
if (p == line)
games/number/number.c
142
badnum: errx(1, "illegal number: %s", line);
games/number/number.c
148
if ((len = strlen(line)) > MAXNUM ||
games/number/number.c
152
if (*line == '-') {
games/number/number.c
154
++line;
games/number/number.c
158
rval = len > 0 ? unit(len, line) : 0;
games/number/number.c
79
char line[256];
games/number/number.c
96
fgets(line, sizeof(line), stdin) != NULL; first = 0) {
games/number/number.c
97
if (strchr(line, '\n') == NULL)
games/phantasia/io.c
171
char line[81]; /* a place to store data already on screen */
games/phantasia/io.c
190
line[loop] = inch();
games/phantasia/io.c
192
line[80] = '\0'; /* nul terminate */
games/phantasia/io.c
209
mvaddstr(4, 0, line); /* restore data on screen */
games/phantasia/map.c
102
line(690, 970, 1000, 970);
games/phantasia/map.c
25
line(600, -800, -1400, -800);
games/phantasia/map.c
26
line(-1400, -600, 600, -600);
games/phantasia/map.c
27
line(600, -400, -1400, -400);
games/phantasia/map.c
28
line(-1400, -200, 600, -200);
games/phantasia/map.c
30
line(600, 0, -1400, 0);
games/phantasia/map.c
32
line(-1400, 200, 600, 200);
games/phantasia/map.c
33
line(600, 400, -1400, 400);
games/phantasia/map.c
34
line(-1400, 600, 600, 600);
games/phantasia/map.c
35
line(600, 800, -1400, 800);
games/phantasia/map.c
39
line(-1200, 1000, -1200, -1000);
games/phantasia/map.c
40
line(-1000, 1000, -1000, -1000);
games/phantasia/map.c
41
line(-800, 1000, -800, -1000);
games/phantasia/map.c
42
line(-600, 1000, -600, -1000);
games/phantasia/map.c
44
line(-400, 1000, -400, -1000);
games/phantasia/map.c
46
line(-200, 1000, -200, -1000);
games/phantasia/map.c
47
line(0, 1000, 0, -1000);
games/phantasia/map.c
48
line(200, 1000, 200, -1000);
games/phantasia/map.c
49
line(400, 1000, 400, -1000);
games/phantasia/map.c
63
line(-630, 1045, -115, 1045);
games/sail/lo_main.c
102
line < LINES - 2) {
games/sail/lo_main.c
110
mvprintw(line, 0,
games/sail/lo_main.c
114
line++;
games/sail/lo_main.c
117
mvprintw(line+1, 0, "%d people have played. Press any key.", npeople);
games/sail/lo_main.c
71
int line;
games/sail/lo_main.c
99
line = 0;
games/snake/snake/snake.c
239
ps->line = y;
games/snake/snake/snake.c
255
move(you.line + 1, you.col + 1);
games/snake/snake/snake.c
303
repeat = you.line;
games/snake/snake/snake.c
308
repeat = you.line - money.line;
games/snake/snake/snake.c
321
repeat = lcnt - 1 - you.line;
games/snake/snake/snake.c
326
repeat = money.line - you.line;
games/snake/snake/snake.c
370
if (you.line > 0) {
games/snake/snake/snake.c
373
you.line--;
games/snake/snake/snake.c
375
(you.line == 0))
games/snake/snake/snake.c
387
if (you.line + 1 < lcnt) {
games/snake/snake/snake.c
390
you.line++;
games/snake/snake/snake.c
392
(you.line == lcnt - 1))
games/snake/snake/snake.c
405
money.line == finish.line) ||
games/snake/snake/snake.c
406
(money.col < 5 && money.line == 0) ||
games/snake/snake/snake.c
408
money.line == you.line));
games/snake/snake/snake.c
473
p.line = random() % lcnt;
games/snake/snake/snake.c
476
if (p.line == 0 && p.col < 5)
games/snake/snake/snake.c
592
point(&d, you.col - sp->col, you.line - sp->line);
games/snake/snake/snake.c
593
v1 = sqrt((double)(d.col * d.col + d.line * d.line));
games/snake/snake/snake.c
597
vp = d.col * mx[i] + d.line * my[i];
games/snake/snake/snake.c
609
point(&d, sp->col + mx[i], sp->line + my[i]);
games/snake/snake/snake.c
611
if (d.col < 0 || d.col >= ccnt || d.line < 0 || d.line >= lcnt)
games/snake/snake/snake.c
643
point(np, sp->col + mx[w], sp->line + my[w]);
games/snake/snake/snake.c
657
if (p.line < 0)
games/snake/snake/snake.c
658
p.line = 0;
games/snake/snake/snake.c
66
int col, line;
games/snake/snake/snake.c
671
mvaddstr(p.line + 1, p.col + 1, str);
games/snake/snake/snake.c
69
#define same(s1, s2) ((s1)->line == (s2)->line && (s1)->col == (s2)->col)
games/snake/snake/snake.c
697
point(&p, you.col, you.line);
games/snake/snake/snake.c
698
if ((abs(ps->col - you.col) < (ccnt / 12)) && (you.line != ps->line)) {
games/snake/snake/snake.c
699
if (you.line < ps->line) {
games/snake/snake/snake.c
700
for (p.line = you.line + 1; p.line <= ps->line; p.line++)
games/snake/snake/snake.c
704
for (; p.line > you.line; p.line--)
games/snake/snake/snake.c
707
for (p.line = you.line - 1; p.line >= ps->line; p.line--)
games/snake/snake/snake.c
711
for (; p.line < you.line; p.line++)
games/snake/snake/snake.c
716
if ((abs(ps->line - you.line) < (lcnt / 7))
games/snake/snake/snake.c
718
p.line = you.line;
games/snake/snake/snake.c
746
if (ps->line == 0)
games/snake/snake/snake.c
747
ps->line++;
games/snake/snake/snake.c
748
if (ps->line == LINES - 1)
games/snake/snake/snake.c
749
ps->line--;
games/snake/snake/snake.c
752
mvaddstr(ps->line, ps->col, "/*\\");
games/snake/snake/snake.c
753
mvaddstr(ps->line + 1, ps->col, "* *");
games/snake/snake/snake.c
754
mvaddstr(ps->line + 2, ps->col, "\\*/");
games/snake/snake/snake.c
764
mvaddstr(ps->line, ps->col, " ");
games/snake/snake/snake.c
765
mvaddstr(ps->line + 1, ps->col, "o.o");
games/snake/snake/snake.c
766
mvaddstr(ps->line + 2, ps->col, "\\_/");
games/snake/snake/snake.c
769
mvaddstr(ps->line, ps->col, " ");
games/snake/snake/snake.c
770
mvaddstr(ps->line + 1, ps->col, "o.-");
games/snake/snake/snake.c
771
mvaddstr(ps->line + 2, ps->col, "\\_/");
games/snake/snake/snake.c
775
mvaddstr(ps->line, ps->col, " ");
games/snake/snake/snake.c
776
mvaddstr(ps->line + 1, ps->col, "o.o");
games/snake/snake/snake.c
777
mvaddstr(ps->line + 2, ps->col, "\\_/");
games/snake/snake/snake.c
790
point(&x, ps->col, ps->line);
games/snake/snake/snake.c
794
x.line--;
games/snake/snake/snake.c
803
x.line++;
games/snake/snake/snake.c
834
tmp.line = snake[5].line;
games/snake/snake/snake.c
87
#define pchar(point, c) mvaddch((point)->line + 1, (point)->col + 1, (c))
games/snake/snake/snake.c
894
if ((sp->col < 4) && (sp->line == 0)) {
games/snake/snake/snake.c
896
if ((you.line == 0) && (you.col < 4))
lib/libc/citrus/citrus_lookup_factory.c
106
while ((line = fgetln(in, &size)) != NULL)
lib/libc/citrus/citrus_lookup_factory.c
107
if ((ret = convert_line(df, line, size))) {
lib/libc/citrus/citrus_lookup_factory.c
50
convert_line(struct _citrus_db_factory *df, const char *line, size_t len)
lib/libc/citrus/citrus_lookup_factory.c
56
p = memchr(line, T_COMM, len);
lib/libc/citrus/citrus_lookup_factory.c
58
len = p - line;
lib/libc/citrus/citrus_lookup_factory.c
61
line = _bcs_skip_ws_len(line, &len);
lib/libc/citrus/citrus_lookup_factory.c
64
p = _bcs_skip_nonws_len(line, &len);
lib/libc/citrus/citrus_lookup_factory.c
65
if (p == line)
lib/libc/citrus/citrus_lookup_factory.c
67
snprintf(key, sizeof(key), "%.*s", (int)(p-line), line);
lib/libc/citrus/citrus_lookup_factory.c
71
line = _bcs_skip_ws_len(p, &len);
lib/libc/citrus/citrus_lookup_factory.c
72
_bcs_trunc_rws_len(line, &len);
lib/libc/citrus/citrus_lookup_factory.c
73
snprintf(data, sizeof(data), "%.*s", (int)len, line);
lib/libc/citrus/citrus_lookup_factory.c
98
char *line;
lib/libc/citrus/citrus_pivot_factory.c
105
convert_line(struct src_head *sh, const char *line, size_t len)
lib/libc/citrus/citrus_pivot_factory.c
117
p = memchr(line, T_COMM, len);
lib/libc/citrus/citrus_pivot_factory.c
119
len = p - line;
lib/libc/citrus/citrus_pivot_factory.c
122
line = _bcs_skip_ws_len(line, &len);
lib/libc/citrus/citrus_pivot_factory.c
125
p = _bcs_skip_nonws_len(line, &len);
lib/libc/citrus/citrus_pivot_factory.c
126
if (p == line)
lib/libc/citrus/citrus_pivot_factory.c
128
snprintf(key1, sizeof(key1), "%.*s", (int)(p - line), line);
lib/libc/citrus/citrus_pivot_factory.c
131
line = _bcs_skip_ws_len(p, &len);
lib/libc/citrus/citrus_pivot_factory.c
134
p = _bcs_skip_nonws_len(line, &len);
lib/libc/citrus/citrus_pivot_factory.c
135
if (p == line)
lib/libc/citrus/citrus_pivot_factory.c
137
snprintf(key2, sizeof(key2), "%.*s", (int)(p - line), line);
lib/libc/citrus/citrus_pivot_factory.c
140
line = _bcs_skip_ws_len(p, &len);
lib/libc/citrus/citrus_pivot_factory.c
141
_bcs_trunc_rws_len(line, &len);
lib/libc/citrus/citrus_pivot_factory.c
142
snprintf(data, sizeof(data), "%.*s", (int)len, line);
lib/libc/citrus/citrus_pivot_factory.c
204
char *line;
lib/libc/citrus/citrus_pivot_factory.c
210
while ((line = fgetln(in, &size)) != NULL)
lib/libc/citrus/citrus_pivot_factory.c
211
if ((ret = convert_line(&sh, line, size))) {
lib/libc/gen/assert.c
101
failedexpr, file, line, function);
lib/libc/gen/assert.c
41
__assert(const char *func, const char *file, int line, const char *failedexpr)
lib/libc/gen/assert.c
46
file, line);
lib/libc/gen/assert.c
50
failedexpr, func, file, line);
lib/libc/gen/assert.c
65
__diagassert(const char *file, int line, const char *function,
lib/libc/gen/fstab.c
112
static char line[MAXLINELENGTH];
lib/libc/gen/fstab.c
118
if (!(p = fgets(line, sizeof(line), _fs_fp)))
lib/libc/gen/fstab.c
122
if (*line == '#' || *line == '\n')
lib/libc/gen/getcap.c
650
char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE];
lib/libc/gen/getcap.c
665
line = toprec;
lib/libc/gen/getcap.c
667
line = fgetln(pfp, &len);
lib/libc/gen/getcap.c
668
if (line == NULL && pfp) {
lib/libc/gen/getcap.c
690
line[len - 1] = '\0';
lib/libc/gen/getcap.c
695
if (isspace((unsigned char)*line) ||
lib/libc/gen/getcap.c
696
*line == ':' || *line == '#' || slash) {
lib/libc/gen/getcap.c
697
if (line[len - 2] == '\\')
lib/libc/gen/getcap.c
703
if (line[len - 2] == '\\')
lib/libc/gen/getcap.c
716
for (cp = line; *cp != '\0'; cp++) {
lib/libc/gen/getcap.c
730
line = fgetln(pfp, &len);
lib/libc/gen/getcap.c
731
if (line == NULL && pfp) {
lib/libc/gen/getcap.c
747
line[len - 1] = '\0';
lib/libc/gen/getgrent.c
1297
const char *name, *line;
lib/libc/gen/getgrent.c
1408
while ((line = fgetln(st->fp, &linesize)) != NULL) {
lib/libc/gen/getgrent.c
1409
if (line[linesize-1] == '\n')
lib/libc/gen/getgrent.c
1411
if (linesize > 2 && line[0] == '+') {
lib/libc/gen/getgrent.c
1412
p = memchr(&line[1], ':', linesize);
lib/libc/gen/getgrent.c
1413
if (p == NULL || p == &line[1])
lib/libc/gen/getgrent.c
1416
st->name = malloc(p - line);
lib/libc/gen/getgrent.c
1424
memcpy(st->name, &line[1], p - line - 1);
lib/libc/gen/getgrent.c
1425
st->name[p - line - 1] = '\0';
lib/libc/gen/getgrent.c
1430
rv = __gr_match_entry(line, linesize, how, name, gid);
lib/libc/gen/getgrent.c
1442
memcpy(buffer, line, linesize);
lib/libc/gen/getgrent.c
1468
__gr_match_entry(const char *line, size_t linesize, enum nss_lookup_type how,
lib/libc/gen/getgrent.c
1477
if (linesize == 0 || is_comment_line(line, linesize))
lib/libc/gen/getgrent.c
1484
eol = &line[linesize];
lib/libc/gen/getgrent.c
1485
for (p = line, i = 0; i < needed && p < eol; p++)
lib/libc/gen/getgrent.c
1493
if (namesize + 1 == (size_t)(p - line) &&
lib/libc/gen/getgrent.c
1494
memcmp(line, name, namesize) == 0)
lib/libc/gen/getgrent.c
1512
__gr_parse_entry(char *line, size_t linesize __unused, struct group *grp,
lib/libc/gen/getgrent.c
1524
(grp->gr_name = strsep(&line, ":")) == NULL ||
lib/libc/gen/getgrent.c
1526
(grp->gr_passwd = strsep(&line, ":")) == NULL ||
lib/libc/gen/getgrent.c
1527
(s_gid = strsep(&line, ":")) == NULL ||
lib/libc/gen/getgrent.c
1530
s_mem = line;
lib/libc/gen/getgrent.c
831
const char *name, *line;
lib/libc/gen/getgrent.c
874
while ((line = fgetln(st->fp, &linesize)) != NULL) {
lib/libc/gen/getgrent.c
875
if (line[linesize-1] == '\n')
lib/libc/gen/getgrent.c
877
rv = __gr_match_entry(line, linesize, how, name, gid);
lib/libc/gen/getgrent.c
889
memcpy(buffer, line, linesize);
lib/libc/gen/getnetgrent.c
527
char line[LINSIZ + 2];
lib/libc/gen/getnetgrent.c
532
while (_netgr_yp_enabled || fgets(line, LINSIZ, netf) != NULL) {
lib/libc/gen/getnetgrent.c
547
snprintf(line, LINSIZ, "%s %s", group, result);
lib/libc/gen/getnetgrent.c
551
while (fgets(line, LINSIZ, netf) != NULL) {
lib/libc/gen/getnetgrent.c
553
pos = (char *)&line;
lib/libc/gen/getnetgrent.c
603
if (fgets(line, LINSIZ, netf)) {
lib/libc/gen/getnetgrent.c
604
pos = line;
lib/libc/gen/getttyent.c
100
if ((p = realloc(line, lbsize)) == NULL) {
lib/libc/gen/getttyent.c
104
line = p;
lib/libc/gen/getttyent.c
105
if (!fgets(&line[i], lbsize - i, tf))
lib/libc/gen/getttyent.c
229
if (line == NULL) {
lib/libc/gen/getttyent.c
230
if ((line = malloc(MALLOCCHUNK)) == NULL)
lib/libc/gen/getttyent.c
47
static char *line;
lib/libc/gen/getttyent.c
82
if (!fgets(p = line, lbsize, tf)) {
lib/libc/gen/getusershell.c
113
char line[MAXPATHLEN + 2];
lib/libc/gen/getusershell.c
122
sp = cp = line;
lib/libc/net/eui64.c
104
line = linehead;
lib/libc/net/eui64.c
107
while ((cur = strsep(&line, " \t\r\n")) != NULL) {
lib/libc/net/eui64.c
117
while ((cur = strsep(&line, " \t\r\n")) != NULL) {
lib/libc/net/eui64.c
127
while ((cur = strsep(&line, " \t\r\n")) != NULL) {
lib/libc/net/eui64.c
99
char *line, *linehead, *cur;
lib/libc/net/getaddrinfo.c
2212
_yphostent(char *line, const struct addrinfo *pai)
lib/libc/net/getaddrinfo.c
2217
char *p = line;
lib/libc/net/getnetbyht.c
85
char line[BUFSIZ + 1];
lib/libc/net/getnetbyht.c
91
p = fgets(line, sizeof line, ned->netf);
lib/libc/net/getprotoent.c
368
if ((p = fgets(ped->line, sizeof ped->line, ped->fp)) == NULL)
lib/libc/net/getservent.c
261
char *line;
lib/libc/net/getservent.c
309
if ((line = fgetln(st->fp, &linesize)) == NULL) {
lib/libc/net/getservent.c
315
if (*line=='+') {
lib/libc/net/getservent.c
334
memcpy(buffer, line, linesize);
lib/libc/net/netdb_private.h
100
char line[_MAXLINELEN + 1];
lib/libc/resolv/res_init.c
301
#define MATCH(line, name) \
lib/libc/resolv/res_init.c
302
(!strncmp(line, name, sizeof(name) - 1) && \
lib/libc/resolv/res_init.c
303
(line[sizeof(name) - 1] == ' ' || \
lib/libc/resolv/res_init.c
304
line[sizeof(name) - 1] == '\t'))
lib/libc/rpc/getrpcent.c
214
char *line;
lib/libc/rpc/getrpcent.c
262
if ((line = fgetln(st->fp, &linesize)) == NULL) {
lib/libc/rpc/getrpcent.c
283
memcpy(buffer, line, linesize);
lib/libc/stdio/fparseln.c
197
size_t size, line;
lib/libc/stdio/fparseln.c
199
line = 0;
lib/libc/stdio/fparseln.c
200
while ((ptr = fparseln(stdin, &size, &line, NULL,
lib/libc/stdio/fparseln.c
202
printf("line %d (%d) |%s|\n", line, size, ptr);
lib/libc/stdtime/getdate.c
104
rp = strptime(str, line, rtmp);
lib/libc/stdtime/getdate.c
105
free(line);
lib/libc/stdtime/getdate.c
66
char *datemsk, *line, *rp;
lib/libc/stdtime/getdate.c
97
while ((line = fparseln(fp, NULL, &lineno, NULL, 0)) != NULL) {
lib/libc/uuid/uuid_name_lookup.c
193
char *line;
lib/libc/uuid/uuid_name_lookup.c
201
while ((line = fgetln(fp, &len)) != NULL) {
lib/libc/uuid/uuid_name_lookup.c
202
if (len == 0 || *line == '#')
lib/libc/uuid/uuid_name_lookup.c
204
line[len-1] = 0;
lib/libc/uuid/uuid_name_lookup.c
205
uuid = strtok_r(line, " \t\r", &last);
lib/libdm/dm_task.c
104
fprintf(stderr, "libdm %s:%d: ", file, line);
lib/libdm/dm_task.c
85
int line, const char *fmt, ...)
lib/libdmsg/crypto.c
77
const char *file __unused, int line __unused)
lib/libevtr/evtr.c
107
uint16_t line;
lib/libevtr/evtr.c
1218
kev.line = ev->line;
lib/libevtr/evtr.c
1620
ev->line = evh->line;
lib/libevtr/evtr.c
882
tdcr.line = 0;
lib/libevtr/evtr.h
117
uint16_t line;
lib/libfetch/http.c
1485
char *line, *p, *q;
lib/libfetch/http.c
1489
while ((line = fgetln(in, &len)) != NULL) {
lib/libfetch/http.c
1490
while (len && isspace((unsigned char)line[len - 1]))
lib/libfetch/http.c
1492
for (p = q = line; q < line + len; ++q) {
lib/libfetch/http.c
1494
if (q + 2 < line + len &&
lib/libfetch/http.c
1506
if (q + 3 < line + len &&
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
62
char *line, *name, **mem;
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
78
while (!found && (line = fgetln(f, &len)) != NULL) {
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
79
if (*line == '#')
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
81
while (len > 0 && isspace(line[len - 1]))
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
86
if (*line != '@') {
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
87
if (len == ulen && strncmp(user, line, len) == 0)
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
92
asprintf(&name, "%.*s", (int)len - 1, line + 1);
lib/libpam/modules/pam_lastlog/pam_lastlog.c
190
const char *line, size_t lsize)
lib/libpam/modules/pam_lastlog/pam_lastlog.c
202
"Last login: %.24s %son %.*s\n", ctime(&t), host, (int)lsize, line);
lib/libpam/modules/pam_login_access/login_access.c
101
return (match == 0 || (line[0] == '+'));
lib/libpam/modules/pam_login_access/login_access.c
50
char line[BUFSIZ];
lib/libpam/modules/pam_login_access/login_access.c
67
while (!match && fgets(line, sizeof(line), fp)) {
lib/libpam/modules/pam_login_access/login_access.c
69
if (line[end = strlen(line) - 1] != '\n') {
lib/libpam/modules/pam_login_access/login_access.c
74
if (line[0] == '#')
lib/libpam/modules/pam_login_access/login_access.c
76
while (end > 0 && isspace(line[end - 1]))
lib/libpam/modules/pam_login_access/login_access.c
78
line[end] = 0; /* strip trailing whitespace */
lib/libpam/modules/pam_login_access/login_access.c
79
if (line[0] == 0) /* skip blank lines */
lib/libpam/modules/pam_login_access/login_access.c
81
if (!(perm = strtok(line, fs))
lib/libposix1e/acl_from_text.c
122
char *mybuf_p, *line, *cur, *notcomment, *comment, *entry;
lib/libposix1e/acl_from_text.c
142
while ((line = strsep(&cur, "\n"))) {
lib/libposix1e/acl_from_text.c
144
comment = line;
lib/libtcplay/safe_mem.c
107
_free_safe_mem(void *mem_ptr, const char *file, int line)
lib/libtcplay/safe_mem.c
120
(unsigned long)(void *)hdr, hdr->file, hdr->line);
lib/libtcplay/safe_mem.c
124
fprintf(stderr, "BUG: double-free at %s:%d !!!\n", file, line);
lib/libtcplay/safe_mem.c
132
"%s:%d !!!\n", file, line);
lib/libtcplay/safe_mem.c
138
"%s:%d !!!\n", file, line);
lib/libtcplay/safe_mem.c
157
_strdup_safe_mem(const char *in, const char *file, int line)
lib/libtcplay/safe_mem.c
164
if ((out = _alloc_safe_mem(sz, file, line)) == NULL) {
lib/libtcplay/safe_mem.c
197
(unsigned long)(void *)hdr, hdr->file, hdr->line,
lib/libtcplay/safe_mem.c
43
int line;
lib/libtcplay/safe_mem.c
55
_alloc_safe_mem(size_t req_sz, const char *file, int line)
lib/libtcplay/safe_mem.c
87
hdr->line = line;
lib/libtcplay/tcplay.h
293
void *_alloc_safe_mem(size_t req_sz, const char *file, int line);
lib/libtcplay/tcplay.h
294
void *_strdup_safe_mem(const char *in, const char *file, int line);
lib/libtcplay/tcplay.h
295
void _free_safe_mem(void *mem, const char *file, int line);
lib/libtelnet/sra.c
445
if (isroot(name) && !rootterm(line)) {
lib/libtelnet/sra.c
578
if (isroot(name) && !rootterm(line))
lib/libtelnet/sra.c
60
extern char line[16];
lib/libu4bhid/usage.c
108
if (isspace(line[0])) {
lib/libu4bhid/usage.c
76
char line[100], name[100], *p, *n;
lib/libu4bhid/usage.c
88
if (fgets(line, sizeof line, f) == NULL)
lib/libu4bhid/usage.c
90
if (line[0] == '#')
lib/libu4bhid/usage.c
92
for (p = line; *p && isspace(*p); p++)
lib/libu4bhid/usage.c
96
if (sscanf(line, " * %[^\n]", name) == 1)
lib/libu4bhid/usage.c
98
else if (sscanf(line, " 0x%x %[^\n]", &no, name) != 2 &&
lib/libu4bhid/usage.c
99
sscanf(line, " %d %[^\n]", &no, name) != 2)
lib/libutil/gr_util.c
166
char buf[8192], *end, *line, *p, *q, *r, t;
lib/libutil/gr_util.c
174
line = NULL;
lib/libutil/gr_util.c
178
} else if ((line = gr_make(gr)) == NULL)
lib/libutil/gr_util.c
263
if (line != NULL) {
lib/libutil/gr_util.c
264
len = strlen(line);
lib/libutil/gr_util.c
265
if (write(tfd, line, len) != (int) len)
lib/libutil/gr_util.c
289
if (line == NULL) {
lib/libutil/gr_util.c
293
len = strlen(line);
lib/libutil/gr_util.c
294
if ((size_t)write(tfd, line, len) != len ||
lib/libutil/gr_util.c
298
if (line != NULL)
lib/libutil/gr_util.c
299
free(line);
lib/libutil/gr_util.c
302
if (line != NULL)
lib/libutil/gr_util.c
303
free(line);
lib/libutil/gr_util.c
399
char *line;
lib/libutil/gr_util.c
415
if ((line = p = malloc(line_size)) == NULL)
lib/libutil/gr_util.c
428
return (line);
lib/libutil/gr_util.c
566
__gr_scan(char *line, struct group *gr)
lib/libutil/gr_util.c
572
gr->gr_name = line;
lib/libutil/gr_util.c
573
if ((loc = strchr(line, ':')) == NULL)
lib/libutil/gr_util.c
590
line = loc + 1;
lib/libutil/gr_util.c
601
gr->gr_mem[ndx] = strsep(&line, ",");
lib/libutil/gr_util.c
612
gr_scan(const char *line)
lib/libutil/gr_util.c
618
if ((line_copy = strdup(line)) == NULL)
lib/libutil/logoutx.c
48
logoutx(const char *line, int status, int type)
lib/libutil/logoutx.c
51
(void)strlcpy(ut.ut_line, line, sizeof(ut.ut_line));
lib/libutil/logwtmpx.c
48
logwtmpx(const char *line, const char *name, const char *host, int status,
lib/libutil/logwtmpx.c
53
_DIAGASSERT(line != NULL);
lib/libutil/logwtmpx.c
58
(void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));
lib/libutil/pw_util.c
395
char *line;
lib/libutil/pw_util.c
397
asprintf(&line, "%s:%s:%ju:%ju:%s:%ju:%ju:%s:%s:%s", pw->pw_name,
lib/libutil/pw_util.c
401
return (line);
lib/libutil/pw_util.c
410
char *line;
lib/libutil/pw_util.c
412
asprintf(&line, "%s:*:%ju:%ju:%s:%s:%s", pw->pw_name,
lib/libutil/pw_util.c
415
return (line);
lib/libutil/pw_util.c
425
char buf[8192], *end, *line, *p, *q, *r, t;
lib/libutil/pw_util.c
437
line = NULL;
lib/libutil/pw_util.c
439
if ((line = pw_make(pw)) == NULL)
lib/libutil/pw_util.c
530
if (line != NULL) {
lib/libutil/pw_util.c
531
len = strlen(line);
lib/libutil/pw_util.c
532
if (write(tfd, line, len) != (int)len)
lib/libutil/pw_util.c
556
if (line == NULL) {
lib/libutil/pw_util.c
560
len = strlen(line);
lib/libutil/pw_util.c
561
if ((size_t)write(tfd, line, len) != len ||
lib/libutil/pw_util.c
565
if (line != NULL)
lib/libutil/pw_util.c
566
free(line);
lib/libutil/pw_util.c
569
if (line != NULL)
lib/libutil/pw_util.c
570
free(line);
lib/libutil/pw_util.c
644
pw_scan(const char *line, int flags)
lib/libutil/pw_util.c
649
if ((bp = strdup(line)) == NULL)
lib/libvgl/bitmap.c
131
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
150
bcopy(line, address, width);
lib/libvgl/bitmap.c
159
ReadVerticalLine(VGLBitmap *src, int x, int y, int width, byte *line)
lib/libvgl/bitmap.c
212
line[pos] = (VGLPlane[0][planepos] & (1<<bit) ? 1 : 0) |
lib/libvgl/bitmap.c
227
line[pos] = address[planepos];
lib/libvgl/bitmap.c
237
bcopy(src->Bitmap + offset, line, i);
lib/libvgl/bitmap.c
238
line += i;
lib/libvgl/bitmap.c
246
bcopy(address, line, width);
lib/libvgl/bitmap.c
46
WriteVerticalLine(VGLBitmap *dst, int x, int y, int width, byte *line)
lib/libvgl/bitmap.c
72
word = (word<<1) | color2bit[line[pos++]&0x0f];
libexec/comsat/comsat.c
217
unsigned char line[BUFSIZ];
libexec/comsat/comsat.c
235
while (fgets(line, sizeof(line), fi) != NULL) {
libexec/comsat/comsat.c
237
if (line[0] == '\n') {
libexec/comsat/comsat.c
241
if (line[0] == ' ' || line[0] == '\t' ||
libexec/comsat/comsat.c
242
(strncmp(line, "From:", 5) &&
libexec/comsat/comsat.c
243
strncmp(line, "Subject:", 8)))
libexec/comsat/comsat.c
252
for (cp = line; (ch = *cp) && ch != '\n'; ++cp, --charcnt) {
libexec/diff3prog/diff3prog.c
256
char *line;
libexec/diff3prog/diff3prog.c
258
while ((line = get_line(b, NULL))) {
libexec/diff3prog/diff3prog.c
259
if (isdigit((unsigned char)line[0]))
libexec/diff3prog/diff3prog.c
260
return (line);
libexec/diff3prog/diff3prog.c
463
char *line;
libexec/diff3prog/diff3prog.c
466
if ((line = get_line(fp[i], &j)) == NULL)
libexec/diff3prog/diff3prog.c
469
printf("%s%s", pr, line);
libexec/dma/conf.c
109
if (fgets(line, sizeof(line), a) == NULL)
libexec/dma/conf.c
113
chomp(line);
libexec/dma/conf.c
116
if (*line == '#')
libexec/dma/conf.c
119
if (*line == 0)
libexec/dma/conf.c
126
data = strdup(line);
libexec/dma/conf.c
154
char line[2048];
libexec/dma/conf.c
167
if (fgets(line, sizeof(line), conf) == NULL)
libexec/dma/conf.c
171
chomp(line);
libexec/dma/conf.c
174
if (strchr(line, '#'))
libexec/dma/conf.c
175
*strchr(line, '#') = 0;
libexec/dma/conf.c
177
data = line;
libexec/dma/conf.c
54
trim_line(char *line)
libexec/dma/conf.c
59
if ((p = strchr(line, '\n')))
libexec/dma/conf.c
63
linelen = strlen(line);
libexec/dma/conf.c
64
if (line[0] == '.') {
libexec/dma/conf.c
69
memmove((line + 1), line, (linelen + 1));
libexec/dma/conf.c
70
line[0] = '.';
libexec/dma/conf.c
96
char line[2048];
libexec/dma/local.c
131
char line[1000];
libexec/dma/local.c
201
error = snprintf(line, sizeof(line), "%sFrom %s %s", newline, sender, ctime(&now));
libexec/dma/local.c
202
if (error < 0 || (size_t)error >= sizeof(line)) {
libexec/dma/local.c
206
if (write(mbox, line, error) != error)
libexec/dma/local.c
210
if (fgets(line, sizeof(line), it->mailf) == NULL)
libexec/dma/local.c
212
linelen = strlen(line);
libexec/dma/local.c
213
if (linelen == 0 || line[linelen - 1] != '\n') {
libexec/dma/local.c
230
strncmp(&line[strspn(line, ">")], "From ", 5) == 0) {
libexec/dma/local.c
236
} else if (strcmp(line, "\n") == 0) {
libexec/dma/local.c
241
if ((size_t)write(mbox, line, linelen) != linelen)
libexec/dma/mail.c
113
while ((pos = fread(line, 1, sizeof(line), it->mailf)) > 0) {
libexec/dma/mail.c
114
if (fwrite(line, 1, pos, bounceq.mailf) != pos)
libexec/dma/mail.c
119
if (fgets(line, sizeof(line), it->mailf) == NULL)
libexec/dma/mail.c
121
if (line[0] == '\n')
libexec/dma/mail.c
123
if (fwrite(line, strlen(line), 1, bounceq.mailf) != 1)
libexec/dma/mail.c
349
writeline(struct queue *queue, const char *line, ssize_t linelen)
libexec/dma/mail.c
359
if (fwrite(line, len, 1, queue->mailf) != 1)
libexec/dma/mail.c
368
line += MAX_LINE_RFC822 - 10;
libexec/dma/mail.c
369
linelen = strlen(line);
libexec/dma/mail.c
378
char *line = NULL;
libexec/dma/mail.c
409
if ((linelen = getline(&line, &linecap, stdin)) <= 0)
libexec/dma/mail.c
416
if (strprefixcmp(line, "From ") == 0 || strprefixcmp(line, ">From ") == 0)
libexec/dma/mail.c
430
if (!(line[0] == ' ' || line[0] == '\t'))
libexec/dma/mail.c
433
if (strprefixcmp(line, "Date:") == 0)
libexec/dma/mail.c
435
else if (strprefixcmp(line, "Message-Id:") == 0)
libexec/dma/mail.c
437
else if (strprefixcmp(line, "From:") == 0)
libexec/dma/mail.c
439
else if (strprefixcmp(line, "Bcc:") == 0)
libexec/dma/mail.c
443
if (parse_addrs(&parse_state, line, queue) < 0) {
libexec/dma/mail.c
450
strprefixcmp(line, "To:") == 0 ||
libexec/dma/mail.c
451
strprefixcmp(line, "Cc:") == 0 ||
libexec/dma/mail.c
452
strprefixcmp(line, "Bcc:") == 0)) {
libexec/dma/mail.c
454
if (parse_addrs(&parse_state, line, queue) < 0) {
libexec/dma/mail.c
461
if (strcmp(line, "\n") == 0 && !had_headers) {
libexec/dma/mail.c
484
if (!nodot && linelen == 2 && line[0] == '.')
libexec/dma/mail.c
491
if (writeline(queue, line, linelen) != 0)
libexec/dma/mail.c
499
free(line);
libexec/dma/mail.c
52
char line[1000];
libexec/dma/net.c
359
static void parse_auth_line(char* line, struct smtp_auth_mechanisms* auth) {
libexec/dma/net.c
361
line += strlen("AUTH ");
libexec/dma/net.c
363
char* method = strtok(line, " ");
libexec/dma/net.c
399
char* line = linebuffer;
libexec/dma/net.c
401
*line++ = *p++;
libexec/dma/net.c
416
*--line = '\0';
libexec/dma/net.c
417
line = linebuffer;
libexec/dma/net.c
420
if (*line == '\0')
libexec/dma/net.c
427
if ((strncmp(line, "250-", 4) != 0) && (strncmp(line, "250 ", 4) != 0)) {
libexec/dma/net.c
428
syslog(LOG_ERR, "Invalid line: %s\n", line);
libexec/dma/net.c
433
line += 4;
libexec/dma/net.c
436
if (strcmp(line, "STARTTLS") == 0)
libexec/dma/net.c
440
else if (strncmp(line, "AUTH ", 5) == 0)
libexec/dma/net.c
441
parse_auth_line(line, &features->auth);
libexec/dma/net.c
468
char line[1000], *addrtmp = NULL, *to_addr;
libexec/dma/net.c
579
if (fgets(line, sizeof(line), it->mailf) == NULL)
libexec/dma/net.c
581
linelen = strlen(line);
libexec/dma/net.c
582
if (linelen == 0 || line[linelen - 1] != '\n') {
libexec/dma/net.c
590
trim_line(line);
libexec/dma/net.c
596
if (line[0] == '.')
libexec/dma/net.c
599
if (send_remote_command(fd, "%s", line) != (ssize_t)linelen+1) {
libexec/dma/spool.c
159
char line[1000];
libexec/dma/spool.c
174
if (fgets(line, sizeof(line), queuef) == NULL || line[0] == 0)
libexec/dma/spool.c
176
line[strlen(line) - 1] = 0; /* chop newline */
libexec/dma/spool.c
178
s = strchr(line, ':');
libexec/dma/spool.c
191
if (strcmp(line, "ID") == 0) {
libexec/dma/spool.c
193
} else if (strcmp(line, "Sender") == 0) {
libexec/dma/spool.c
195
} else if (strcmp(line, "Recipient") == 0) {
libexec/dma/spool.c
199
line, queuefn);
libexec/fingerd/fingerd.c
116
end = memchr(line, 0, sizeof(line));
libexec/fingerd/fingerd.c
118
if ((t = malloc(sizeof(line) + 1)) == NULL)
libexec/fingerd/fingerd.c
120
memcpy(t, line, sizeof(line));
libexec/fingerd/fingerd.c
121
t[sizeof(line)] = 0;
libexec/fingerd/fingerd.c
123
if ((t = strdup(line)) == NULL)
libexec/fingerd/fingerd.c
134
for (lp = line, ap = &av[3];;) {
libexec/fingerd/fingerd.c
63
char **ap, *av[ENTRIES + 1], **comp, line[1024], *prog;
libexec/fingerd/fingerd.c
98
if (!fgets(line, sizeof(line), stdin))
libexec/ftpd/ftpd.c
1059
char *line, *mp, *p;
libexec/ftpd/ftpd.c
1062
while (!found && (line = fgetln(fd, &len)) != NULL) {
libexec/ftpd/ftpd.c
1064
if (line[0] == '#')
libexec/ftpd/ftpd.c
1066
if (line[len - 1] == '\n') {
libexec/ftpd/ftpd.c
1067
line[len - 1] = '\0';
libexec/ftpd/ftpd.c
1072
memcpy(mp, line, len);
libexec/ftpd/ftpd.c
1074
line = mp;
libexec/ftpd/ftpd.c
1077
p = strtok(line, " \t");
libexec/ftpd/ftpd.c
1548
char *cp, line[LINE_MAX];
libexec/ftpd/ftpd.c
1550
while (fgets(line, sizeof(line), fd) != NULL) {
libexec/ftpd/ftpd.c
1551
if ((cp = strchr(line, '\n')) != NULL)
libexec/ftpd/ftpd.c
1553
lreply(230, "%s", line);
libexec/ftpd/ftpd.c
1622
char line[BUFSIZ];
libexec/ftpd/ftpd.c
1628
snprintf(line, sizeof(line), cmd, name);
libexec/ftpd/ftpd.c
1629
name = line;
libexec/ftpd/ftpd.c
1630
fin = ftpd_popen(line, "r");
libexec/ftpd/ftpd.c
2294
char line[LINE_MAX];
libexec/ftpd/ftpd.c
2298
snprintf(line, sizeof(line), _PATH_LS " -lgA %s", filename);
libexec/ftpd/ftpd.c
2299
fin = ftpd_popen(line, "r");
libexec/ftpd/ftpd.c
250
char *cp, line[LINE_MAX];
libexec/ftpd/ftpd.c
584
while (fgets(line, sizeof(line), fd) != NULL) {
libexec/ftpd/ftpd.c
585
if ((cp = strchr(line, '\n')) != NULL)
libexec/ftpd/ftpd.c
587
lreply(530, "%s", line);
libexec/ftpd/ftpd.c
600
while (fgets(line, sizeof(line), fd) != NULL) {
libexec/ftpd/ftpd.c
601
if ((cp = strchr(line, '\n')) != NULL)
libexec/ftpd/ftpd.c
603
lreply(220, "%s", line);
libexec/ftpd/ftpd.c
655
char *cp, *mp, *line;
libexec/ftpd/ftpd.c
692
while ((line = fgetln(fp, &len)) != NULL) {
libexec/ftpd/ftpd.c
696
if (line[0] == '#')
libexec/ftpd/ftpd.c
698
if (line[len - 1] == '\n') {
libexec/ftpd/ftpd.c
699
line[len - 1] = '\0';
libexec/ftpd/ftpd.c
704
memcpy(mp, line, len);
libexec/ftpd/ftpd.c
706
line = mp;
libexec/ftpd/ftpd.c
708
cp = strtok(line, " \t");
libexec/mknetid/parse_group.c
108
if (!fgets(line, sizeof(line), _gr_fp))
libexec/mknetid/parse_group.c
110
bp = line;
libexec/mknetid/parse_group.c
112
if (!index(line, '\n')) {
libexec/mknetid/parse_group.c
57
static char line[MAXLINELENGTH];
libexec/rbootd/parseconf.c
120
while (fgets(line, C_LINELEN, fp) != NULL) {
libexec/rbootd/parseconf.c
123
if (*line == '\0' || *line == '#') /* ignore comment */
libexec/rbootd/parseconf.c
126
if ((cp = strchr(line,'#')) != NULL) /* trash comments */
libexec/rbootd/parseconf.c
129
cp = line; /* init `cp' */
libexec/rbootd/parseconf.c
82
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
215
i < sizeof(line) - 1) {
libexec/rtld-elf/libmap.c
216
line[i] = lm_p[cnt];
libexec/rtld-elf/libmap.c
220
line[i] = '\0';
libexec/rtld-elf/libmap.c
226
cp = &line[0];
libexec/telnetd/sys_term.c
1317
p = line + sizeof(_PATH_DEV) - 1;
libexec/telnetd/sys_term.c
1327
(void)chmod(line, 0666);
libexec/telnetd/sys_term.c
1328
(void)chown(line, 0, 0);
libexec/telnetd/sys_term.c
1330
(void)chmod(line, 0666);
libexec/telnetd/sys_term.c
1331
(void)chown(line, 0, 0);
libexec/telnetd/sys_term.c
372
char line[16];
libexec/telnetd/sys_term.c
382
(void) strcpy(line, _PATH_DEV);
libexec/telnetd/sys_term.c
383
(void) strcat(line, "ptyXX");
libexec/telnetd/sys_term.c
384
p1 = &line[8];
libexec/telnetd/sys_term.c
385
p2 = &line[9];
libexec/telnetd/sys_term.c
397
if (stat(line, &stb) < 0)
libexec/telnetd/sys_term.c
401
p = open(line, 2);
libexec/telnetd/sys_term.c
403
line[5] = 't';
libexec/telnetd/sys_term.c
404
chown(line, 0, 0);
libexec/telnetd/sys_term.c
405
chmod(line, 0600);
libexec/telnetd/sys_term.c
878
t = cleanopen(line);
libexec/telnetd/sys_term.c
880
fatalperror(net, line);
libexec/telnetd/sys_term.c
961
t = open(line, O_RDWR|O_NOCTTY);
libexec/telnetd/telnetd.c
650
strlcpy(line,lp,sizeof(line));
libexec/telnetd/telnetd.c
651
line[5] = 't';
libexec/telnetd/utility.c
440
slash = strchr(line+1, '/');
libexec/telnetd/utility.c
442
slash = strrchr(line, '/');
libexec/telnetd/utility.c
445
putstr(line);
libexec/telnetd/utility.c
48
extern char line[16];
sbin/camcontrol/modeedit.c
634
char *line; /* Pointer to static fgetln buffer. */
sbin/camcontrol/modeedit.c
645
while ((line = fgetln(file, &length)) != NULL) {
sbin/camcontrol/modeedit.c
647
while (length > 0 && isspace(line[length - 1]))
sbin/camcontrol/modeedit.c
653
memcpy(buffer, line, length);
sbin/ccdconfig/ccdconfig.c
323
char line[_POSIX2_LINE_MAX];
sbin/ccdconfig/ccdconfig.c
338
while (fgets(line, sizeof(line), f) != NULL) {
sbin/ccdconfig/ccdconfig.c
342
if ((cp = strrchr(line, '\n')) != NULL)
sbin/ccdconfig/ccdconfig.c
346
if (line[0] == '\0')
sbin/ccdconfig/ccdconfig.c
348
for (cp = line; (cp = strtok(cp, " \t")) != NULL; cp = NULL) {
sbin/cryptdisks/safe_mem.c
108
_free_safe_mem(void *mem_ptr, const char *file, int line)
sbin/cryptdisks/safe_mem.c
121
(unsigned long)(void *)hdr, hdr->file, hdr->line);
sbin/cryptdisks/safe_mem.c
125
fprintf(stderr, "BUG: double-free at %s:%d !!!\n", file, line);
sbin/cryptdisks/safe_mem.c
133
"%s:%d !!!\n", file, line);
sbin/cryptdisks/safe_mem.c
139
"%s:%d !!!\n", file, line);
sbin/cryptdisks/safe_mem.c
181
(unsigned long)(void *)hdr, hdr->file, hdr->line,
sbin/cryptdisks/safe_mem.c
42
int line;
sbin/cryptdisks/safe_mem.c
55
_alloc_safe_mem(size_t req_sz, const char *file, int line)
sbin/cryptdisks/safe_mem.c
87
hdr->line = line;
sbin/cryptdisks/safe_mem.h
1
void *_alloc_safe_mem(size_t req_sz, const char *file, int line);
sbin/cryptdisks/safe_mem.h
2
void _free_safe_mem(void *mem, const char *file, int line);
sbin/dhclient/conflex.c
113
line++;
sbin/dhclient/conflex.c
136
l = line;
sbin/dhclient/conflex.c
58
static int line;
sbin/dhclient/conflex.c
87
lpos = line = 1;
sbin/disklabel32/disklabel.c
814
char *tp, line[BUFSIZ];
sbin/disklabel32/disklabel.c
826
while (fgets(line, sizeof(line) - 1, f)) {
sbin/disklabel32/disklabel.c
828
if ((cp = strchr(line,'\n')) != NULL)
sbin/disklabel32/disklabel.c
830
cp = skip(line);
sbin/disklabel64/disklabel64.c
863
char *tp, line[BUFSIZ];
sbin/disklabel64/disklabel64.c
873
while (fgets(line, sizeof(line) - 1, f)) {
sbin/disklabel64/disklabel64.c
875
if ((cp = strchr(line,'\n')) != NULL)
sbin/disklabel64/disklabel64.c
877
cp = skip(line);
sbin/dump/dumprmt.c
225
char line[30];
sbin/dump/dumprmt.c
228
snprintf(line, sizeof (line), "R%d\n", count);
sbin/dump/dumprmt.c
229
n = rmtcall("read", line);
sbin/dump/dumprmt.c
244
char line[80];
sbin/dump/dumprmt.c
246
snprintf(line, sizeof (line), "L%d\n%d\n", offset, pos);
sbin/dump/dumprmt.c
247
return (rmtcall("seek", line));
sbin/dump/dumprmt.c
265
char line[30];
sbin/dump/dumprmt.c
267
snprintf(line, sizeof (line), "W%d\n", count);
sbin/dump/dumprmt.c
268
write(rmtape, line, strlen(line));
sbin/dump/dumprmt.c
323
rmtgets(char *line, int len)
sbin/dump/dumprmt.c
325
char *cp = line;
sbin/dump/dumprmt.c
338
msg("(rmtgets got \"%s\").\n", line);
sbin/fdisk/fdisk.c
1022
parse_config_line(char *line, CMD *command)
sbin/fdisk/fdisk.c
1026
cp = line;
sbin/fdisk/fdisk.c
1287
process_line(char *line)
sbin/fdisk/fdisk.c
1293
parse_config_line(line, &command);
sbin/fsdb/fsdb.c
206
char *line;
sbin/fsdb/fsdb.c
235
line = strdup(elline);
sbin/fsdb/fsdb.c
236
cmd_argv = crack(line, &cmd_argc);
sbin/fsdb/fsdb.c
263
free(line);
sbin/fsdb/fsdb.h
58
char **crack(char *line, int *argc);
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/init/init.c
1769
const char *line = sp->se_device + sizeof(_PATH_DEV) - 1;
sbin/init/init.c
1771
make_utmpx(name, line, add ? LOGIN_PROCESS : DEAD_PROCESS,
sbin/init/init.c
1776
make_utmpx(const char *name, const char *line, int type, pid_t pid,
sbin/init/init.c
1785
(void)strlcpy(ut.ut_line, line, sizeof(ut.ut_line));
sbin/init/init.c
1793
eline = line + strlen(line);
sbin/init/init.c
1794
if ((size_t)(eline - line) >= sizeof(ut.ut_id))
sbin/init/init.c
1795
line = eline - sizeof(ut.ut_id);
sbin/init/init.c
1796
(void)strncpy(ut.ut_id, line, sizeof(ut.ut_id));
sbin/init/init.c
607
char *line = sp->se_device + sizeof(_PATH_DEV) - 1;
sbin/init/init.c
609
if (logoutx(line, status, DEAD_PROCESS))
sbin/init/init.c
610
logwtmpx(line, "", "", status, DEAD_PROCESS);
sbin/iscontrol/config.c
207
static char *sp, line[BUFSIZ];
sbin/iscontrol/config.c
212
sp = fgets(line, sizeof line, fd);
sbin/mountd/mountd.c
1121
char *line;
sbin/mountd/mountd.c
1143
warnx("got line %s", line);
sbin/mountd/mountd.c
1144
cp = line;
sbin/mountd/mountd.c
1484
syslog(LOG_ERR, "bad exports list line %s", line);
sbin/mountd/mountd.c
2260
p = line;
sbin/mountd/mountd.c
2280
line = realloc(line, linesize);
sbin/mountd/mountd.c
2281
if (line == NULL)
sbin/mountd/mountd.c
2284
memcpy(line + totlen, p, len);
sbin/mountd/mountd.c
2286
line[totlen] = '\0';
sbin/route/route.c
334
static char line[MAXHOSTNAMELEN + 1];
sbin/route/route.c
352
strcpy(line, "default");
sbin/route/route.c
353
return (line);
sbin/route/route.c
378
strncpy(line, cp, sizeof(line) - 1);
sbin/route/route.c
379
line[sizeof(line) - 1] = '\0';
sbin/route/route.c
381
sprintf(line, "%s", inet_ntoa(in));
sbin/route/route.c
412
line, sizeof(line), NULL, 0, niflags) != 0)
sbin/route/route.c
413
strncpy(line, "invalid", sizeof(line));
sbin/route/route.c
415
return(line);
sbin/route/route.c
425
sprintf(line, "link#%d", sdl->sdl_index);
sbin/route/route.c
426
return (line);
sbin/route/route.c
451
char *cps = line + sprintf(line, "(%d)", sa->sa_family);
sbin/route/route.c
452
char *cpe = line + sizeof(line);
sbin/route/route.c
461
return (line);
sbin/route/route.c
472
static char line[MAXHOSTNAMELEN + 1];
sbin/route/route.c
515
strncpy(line, cp, sizeof(line));
sbin/route/route.c
517
sprintf(line, "%u", C(in.s_addr >> 24));
sbin/route/route.c
519
sprintf(line, "%u.%u", C(in.s_addr >> 24),
sbin/route/route.c
522
sprintf(line, "%u.%u.%u", C(in.s_addr >> 24),
sbin/route/route.c
525
sprintf(line, "%u.%u.%u.%u", C(in.s_addr >> 24),
sbin/route/route.c
559
line, sizeof(line), NULL, 0, niflags) != 0)
sbin/route/route.c
560
strncpy(line, "invalid", sizeof(line));
sbin/route/route.c
562
return(line);
sbin/route/route.c
578
char *cps = line + sprintf(line, "af %d:", sa->sa_family);
sbin/route/route.c
579
char *cpe = line + sizeof(line);
sbin/route/route.c
586
return(line);
sbin/routed/parms.c
565
parse_parms(char *line,
sbin/routed/parms.c
584
if (!strncasecmp(line, "subnet=", sizeof("subnet=")-1)
sbin/routed/parms.c
585
&& *(val = &line[sizeof("subnet=")-1]) != '\0') {
sbin/routed/parms.c
587
return bad_str(line);
sbin/routed/parms.c
596
return bad_str(line);
sbin/routed/parms.c
602
return bad_str(line);
sbin/routed/parms.c
614
if (!strncasecmp(line, "ripv1_mask=", sizeof("ripv1_mask=")-1)
sbin/routed/parms.c
615
&& *(val = &line[sizeof("ripv1_mask=")-1]) != '\0') {
sbin/routed/parms.c
618
return bad_str(line);
sbin/routed/parms.c
621
return bad_str(line);
sbin/routed/parms.c
629
return bad_str(line);
sbin/routed/parms.c
639
tgt = line + strspn(line, " ,\n\r");
sbin/routed/parms.c
642
line = tgt+strcspn(tgt, "= #,\n\r");
sbin/routed/parms.c
643
delim = *line;
sbin/routed/parms.c
645
val0 = ++line;
sbin/routed/parms.c
646
if (0 > parse_quote(&line, " #,\n\r",&delim,
sbin/routed/parms.c
652
*line = '\0';
sbin/routed/parms.c
655
++line;
sbin/routed/parms.c
657
|| (delim = *line) != ' ')
sbin/vinum/list.c
882
malloced.line,
sbin/vinum/v.c
218
line++; /* count the lines */
sbin/vinum/v.c
70
int line = 0; /* stdin line number for error messages */
sbin/vinum/vext.h
169
extern int line; /* stdin line number for error messages */
stand/boot/common/bootstrap.h
72
int bf_run(char *line);
stand/boot/common/commands.c
420
char line[80];
stand/boot/common/commands.c
425
sprintf(line, "*** FILE %s BEGIN ***\n", argv[i]);
stand/boot/common/commands.c
426
if (pager_output(line))
stand/boot/common/commands.c
430
sprintf(line, "*** FILE %s END ***\n", argv[i]);
stand/boot/common/commands.c
431
res = pager_output(line);
stand/boot/common/commands.c
473
char line[80];
stand/boot/common/commands.c
495
sprintf(line, "%s devices:\n", devsw[i]->dv_name);
stand/boot/common/commands.c
496
if (pager_output(line))
stand/boot/common/commands.c
500
sprintf(line, "%s: (unknown)\n", devsw[i]->dv_name);
stand/boot/common/commands.c
501
if (pager_output(line))
stand/boot/common/commands.c
65
char line[81], *cp, *ep;
stand/boot/common/commands.c
68
if (fgetstr(line, 80, fd) < 0)
stand/boot/common/commands.c
71
if ((strlen(line) < 3) || (line[0] != '#') || (line[1] != ' '))
stand/boot/common/commands.c
75
cp = line + 2;
stand/boot/common/do_dloader.c
215
int line;
stand/boot/common/do_dloader.c
228
int fd, flags, line;
stand/boot/common/do_dloader.c
241
line = 0;
stand/boot/common/do_dloader.c
244
line++;
stand/boot/common/do_dloader.c
272
sp->line = line;
stand/boot/common/do_dloader.c
312
printf("%s line %d: parse error\n", filename, sp->line);
stand/boot/common/misc.c
170
caddr_t line;
stand/boot/common/misc.c
176
for (line = region; line < (region + len); line += 16) {
stand/boot/common/misc.c
177
emit("%08lx ", (long) line);
stand/boot/common/misc.c
180
if ((line + x) < (region + len)) {
stand/boot/common/misc.c
181
emit("%02x ", *(u_int8_t *)(line + x));
stand/boot/common/misc.c
190
if ((line + x) < (region + len)) {
stand/boot/common/misc.c
191
c = *(u_int8_t *)(line + x);
stand/boot/dloader/cmds.c
513
logo_display(char **logo, int line, int orientation, int barrier)
stand/boot/dloader/cmds.c
523
if (line < LOGO_LINES)
stand/boot/dloader/cmds.c
524
printf(fmt, logo[line]);
stand/boot/efi/boot1/boot1.c
69
Malloc(size_t len, const char *file __unused, int line __unused)
stand/boot/efi/boot1/boot1.c
80
Free(void *buf, const char *file __unused, int line __unused)
stand/boot/efi/libefi/efi_console.c
256
CHAR16 *line;
stand/boot/efi/libefi/efi_console.c
274
line = malloc(len * sizeof (CHAR16));
stand/boot/efi/libefi/efi_console.c
275
if (line == NULL) {
stand/boot/efi/libefi/efi_console.c
280
line[i] = ' ';
stand/boot/efi/libefi/efi_console.c
281
line[len-1] = 0;
stand/boot/efi/libefi/efi_console.c
286
conout->OutputString(conout, line);
stand/boot/efi/libefi/efi_console.c
289
free(line);
stand/boot/efi/libefi/efinet.c
328
char line[80];
stand/boot/efi/libefi/efinet.c
334
sprintf(line, " %s%d:\n", efinet_dev.dv_name, unit);
stand/boot/efi/libefi/efinet.c
335
pager_output(line);
stand/boot/efi/libefi/efipart.c
153
char line[80];
stand/boot/efi/libefi/efipart.c
161
sprintf(line, " %s%d:", efipart_dev.dv_name, unit);
stand/boot/efi/libefi/efipart.c
162
pager_output(line);
stand/boot/efi/libefi/efipart.c
166
sprintf(line, " %llu blocks",
stand/boot/efi/libefi/efipart.c
168
pager_output(line);
stand/boot/efi/loader/arch/x86_64/framebuffer.c
111
efifb_uga_find_pixel(EFI_UGA_DRAW_PROTOCOL *uga, u_int line,
stand/boot/efi/loader/arch/x86_64/framebuffer.c
122
0, line, 0, 0, 1, 1, 0);
stand/boot/efi/loader/arch/x86_64/framebuffer.c
151
0, 0, 0, line, 1, 1, 0);
stand/boot/efi/loader/arch/x86_64/framebuffer.c
164
0, 0, 0, line, 1, 1, 0);
stand/boot/efi/loader/main.c
490
char line[80];
stand/boot/efi/loader/main.c
522
snprintf(line, sizeof(line), "%23s %12s %12s %8s %4s\n",
stand/boot/efi/loader/main.c
525
if (pager_output(line)) {
stand/boot/efi/loader/main.c
577
char line[80];
stand/boot/efi/loader/main.c
580
snprintf(line, sizeof(line), "NumberOfTableEntries=%lu\n",
stand/boot/efi/loader/main.c
583
if (pager_output(line)) {
stand/boot/efi/loader/main.c
621
snprintf(line, sizeof(line), " at %p\n",
stand/boot/efi/loader/main.c
623
if (pager_output(line))
stand/boot/pc32/libi386/bioscd.c
176
char line[80];
stand/boot/pc32/libi386/bioscd.c
179
sprintf(line, " cd%d: Device 0x%x\n", i,
stand/boot/pc32/libi386/bioscd.c
181
pager_output(line);
stand/boot/pc32/libi386/biosdisk.c
259
char line[80];
stand/boot/pc32/libi386/biosdisk.c
265
sprintf(line, " disk%d: BIOS drive %c:\n", i,
stand/boot/pc32/libi386/biosdisk.c
267
pager_output(line);
stand/boot/pc32/libi386/biosdisk.c
286
sprintf(line, " disk%d", i);
stand/boot/pc32/libi386/biosdisk.c
287
bd_printbsdslice(od, 0, line, verbose);
stand/boot/pc32/libi386/biosdisk.c
290
sprintf(line, " disk%ds%d", i, j + 1);
stand/boot/pc32/libi386/biosdisk.c
291
bd_printslice(od, &dptr[j], line, verbose);
stand/boot/pc32/libi386/biosdisk.c
308
char line[80];
stand/boot/pc32/libi386/biosdisk.c
319
sprintf(line, "%s: Linux swap %.6dMB (%d - %d)\n",
stand/boot/pc32/libi386/biosdisk.c
323
sprintf(line, "%s: Linux swap\n", prefix);
stand/boot/pc32/libi386/biosdisk.c
331
sprintf(line, "%s: ext2fs %.6dMB (%d - %d)\n", prefix,
stand/boot/pc32/libi386/biosdisk.c
335
sprintf(line, "%s: ext2fs\n", prefix);
stand/boot/pc32/libi386/biosdisk.c
342
sprintf(line, "%s: FAT-12 %.6dMB (%d - %d)\n", prefix,
stand/boot/pc32/libi386/biosdisk.c
346
sprintf(line, "%s: FAT-12\n", prefix);
stand/boot/pc32/libi386/biosdisk.c
352
sprintf(line, "%s: FAT-16 %.6dMB (%d - %d)\n", prefix,
stand/boot/pc32/libi386/biosdisk.c
356
sprintf(line, "%s: FAT-16\n", prefix);
stand/boot/pc32/libi386/biosdisk.c
361
sprintf(line, "%s: FAT-32 %.6dMB (%d - %d)\n", prefix,
stand/boot/pc32/libi386/biosdisk.c
365
sprintf(line, "%s: FAT-32\n", prefix);
stand/boot/pc32/libi386/biosdisk.c
369
sprintf(line, "%s: Unknown fs: 0x%x %.6dMB (%d - %d)\n",
stand/boot/pc32/libi386/biosdisk.c
373
sprintf(line, "%s: Unknown fs: 0x%x\n", prefix,
stand/boot/pc32/libi386/biosdisk.c
376
pager_output(line);
stand/boot/pc32/libi386/biosdisk.c
384
char line[80];
stand/boot/pc32/libi386/biosdisk.c
404
sprintf(line, "%c %s%c: %s %.6lluMB (%llu - %llu)\n",
stand/boot/pc32/libi386/biosdisk.c
421
sprintf(line, "%c %s%c: %s\n",
stand/boot/pc32/libi386/biosdisk.c
436
pager_output(line);
stand/boot/pc32/libi386/biosdisk.c
448
char line[80];
stand/boot/pc32/libi386/biosdisk.c
464
sprintf(line, "%s: bad disklabel\n", prefix);
stand/boot/pc32/libi386/biosdisk.c
465
pager_output(line);
stand/lib/assert.c
35
__assert(const char *func, const char *file, int line, const char *expression)
stand/lib/assert.c
39
expression, file, line);
stand/lib/assert.c
42
"%d.\n", expression, func, file, line);
stand/lib/stand.h
390
malloc_debug(size_t size, const char *file, int line)
stand/lib/stand.h
393
printf("%s:%d malloc(%ld)", file, line, size);
stand/lib/stand.h
400
free_debug(void *p, const char *file, int line)
stand/lib/stand.h
402
printf("%s:%d free(%p)\n", file, line, p);
sys/bus/pci/pci.c
3689
char *desc, *vp, *dp, *line;
sys/bus/pci/pci.c
3702
line = pci_vendordata;
sys/bus/pci/pci.c
3706
if (pci_describe_parse_line(&line, &vendor, &device, &vp))
sys/bus/pci/pci.c
3714
if (pci_describe_parse_line(&line, &vendor, &device, &dp)) {
sys/bus/pci/x86_64/mptable_pci.c
58
int line, bus, slot, irq;
sys/bus/pci/x86_64/mptable_pci.c
64
line = mptable_pci_int_route(bus, slot, pin, -1);
sys/bus/pci/x86_64/mptable_pci.c
65
if (line >= 0)
sys/bus/pci/x86_64/mptable_pci.c
73
line = pcib_route_interrupt(pcib, dev, pin);
sys/bus/pci/x86_64/mptable_pci.c
74
if (line != PCI_INVALID_IRQ)
sys/bus/pci/x86_64/mptable_pci.c
75
return line;
sys/bus/pci/x86_64/mptable_pci.c
81
line = mptable_pci_int_route(bus, slot, pin, irq);
sys/bus/pci/x86_64/mptable_pci.c
82
if (line >= 0)
sys/bus/pci/x86_64/mptable_pci.c
90
BUS_CONFIG_INTR(dev, dev, line, INTR_TRIGGER_LEVEL, INTR_POLARITY_LOW);
sys/bus/pci/x86_64/mptable_pci.c
91
return line;
sys/bus/pci/x86_64/pci_cfgreg.c
153
uint32_t line;
sys/bus/pci/x86_64/pci_cfgreg.c
155
line = pci_docfgregread(bus, slot, func, PCIR_INTLINE, 1);
sys/bus/pci/x86_64/pci_cfgreg.c
156
if (line == 0 || line >= 128)
sys/bus/pci/x86_64/pci_cfgreg.c
158
return line;
sys/dev/acpica/Osd/OsdCache.c
105
head->line = 0;
sys/dev/acpica/Osd/OsdCache.c
113
const char *func, int line)
sys/dev/acpica/Osd/OsdCache.c
130
__func__, Object, func, line, head->func,
sys/dev/acpica/Osd/OsdCache.c
131
head->line);
sys/dev/acpica/Osd/OsdCache.c
143
head->line = line;
sys/dev/acpica/Osd/OsdCache.c
50
int line;
sys/dev/acpica/Osd/OsdMemory.c
112
track->mapper.line = line;
sys/dev/acpica/Osd/OsdMemory.c
114
track->unmapper.line = 0;
sys/dev/acpica/Osd/OsdMemory.c
124
const char *caller, int line)
sys/dev/acpica/Osd/OsdMemory.c
148
track->unmapper.line = line;
sys/dev/acpica/Osd/OsdMemory.c
169
track->unmapper.line = line;
sys/dev/acpica/Osd/OsdMemory.c
196
track->mapper.func, track->mapper.line,
sys/dev/acpica/Osd/OsdMemory.c
197
track->unmapper.func, track->unmapper.line
sys/dev/acpica/Osd/OsdMemory.c
52
int line;
sys/dev/acpica/Osd/OsdMemory.c
82
const char *caller, int line)
sys/dev/acpica/Osd/OsdSynch.c
334
int line;
sys/dev/acpica/Osd/OsdSynch.c
351
spin->line = 0;
sys/dev/acpica/Osd/OsdSynch.c
376
_AcpiOsAcquireLock (ACPI_SPINLOCK Spin, const char *func, int line)
sys/dev/acpica/Osd/OsdSynch.c
393
curthread, func, line, Spin, Spin->owner, Spin->func,
sys/dev/acpica/Osd/OsdSynch.c
394
Spin->line);
sys/dev/acpica/Osd/OsdSynch.c
399
Spin->line = line;
sys/dev/acpica/Osd/OsdSynch.c
412
curthread, Spin, Spin->owner, Spin->func, Spin->line);
sys/dev/acpica/Osd/OsdSynch.c
419
Spin->line = 0;
sys/dev/acpica/acpi_hp/acpi_hp.c
1149
char line[linesize];
sys/dev/acpica/acpi_hp/acpi_hp.c
1176
line, linesize, &sequence,
sys/dev/acpica/acpi_hp/acpi_hp.c
1209
sc->cmi_order[i].instance, line, linesize,
sys/dev/acpica/acpi_hp/acpi_hp.c
1211
sbuf_printf(&sc->hpcmi_sbuf, "%s\n", line);
sys/dev/disk/mpt/mpt.h
1013
mpt_req_spcl(struct mpt_softc *mpt, request_t *req, const char *s, int line)
sys/dev/disk/mpt/mpt.h
1027
s, line, req, req->serno,
sys/dev/disk/mpt/mpt.h
1035
mpt_req_not_spcl(struct mpt_softc *mpt, request_t *req, const char *s, int line)
sys/dev/disk/mpt/mpt.h
1041
s, line, req, req->serno,
sys/dev/disk/mpt/mpt.h
1047
s, line, req, req->serno,
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
47
void dm_perf_trace_timestamp(const char *func_name, unsigned int line)
sys/dev/drm/amd/display/dc/dc_helper.c
257
const char *func_name, int line)
sys/dev/drm/amd/display/dc/dc_helper.c
283
func_name, line);
sys/dev/drm/amd/display/dc/dc_helper.c
290
func_name, line);
sys/dev/drm/amd/display/dc/dce/dce_i2c_hw.c
363
enum gpio_ddc_line line = dal_ddc_get_line(ddc);
sys/dev/drm/amd/display/dc/dce/dce_i2c_hw.c
365
if (line < pool->pipe_count)
sys/dev/drm/amd/display/dc/dce/dce_i2c_hw.c
366
dce_i2c_hw = pool->hw_i2cs[line];
sys/dev/drm/amd/display/dc/dce/dce_i2c_sw.c
532
enum gpio_ddc_line line;
sys/dev/drm/amd/display/dc/dce/dce_i2c_sw.c
535
if (get_hw_supported_ddc_line(ddc, &line))
sys/dev/drm/amd/display/dc/dce/dce_i2c_sw.c
536
engine = pool->sw_i2cs[line];
sys/dev/drm/amd/display/dc/dce/dce_i2c_sw.c
75
enum gpio_ddc_line *line)
sys/dev/drm/amd/display/dc/dce/dce_i2c_sw.c
79
*line = GPIO_DDC_LINE_UNKNOWN;
sys/dev/drm/amd/display/dc/dce/dce_i2c_sw.c
94
*line = line_found;
sys/dev/drm/amd/display/dc/dce/dce_stream_encoder.c
185
uint32_t cont, send, line;
sys/dev/drm/amd/display/dc/dce/dce_stream_encoder.c
199
line = 2;
sys/dev/drm/amd/display/dc/dce/dce_stream_encoder.c
203
line = 0;
sys/dev/drm/amd/display/dc/dce/dce_stream_encoder.c
212
HDMI_GENERIC0_LINE, line);
sys/dev/drm/amd/display/dc/dce/dce_stream_encoder.c
218
HDMI_GENERIC1_LINE, line);
sys/dev/drm/amd/display/dc/dce/dce_stream_encoder.c
224
HDMI_GENERIC0_LINE, line);
sys/dev/drm/amd/display/dc/dce/dce_stream_encoder.c
230
HDMI_GENERIC1_LINE, line);
sys/dev/drm/amd/display/dc/dce/dce_stream_encoder.c
238
HDMI_GENERIC0_LINE, line);
sys/dev/drm/amd/display/dc/dce/dce_stream_encoder.c
245
HDMI_GENERIC1_LINE, line);
sys/dev/drm/amd/display/dc/dce/dce_stream_encoder.c
252
HDMI_GENERIC0_LINE, line);
sys/dev/drm/amd/display/dc/dce/dce_stream_encoder.c
259
HDMI_GENERIC1_LINE, line);
sys/dev/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
163
uint32_t cont, send, line;
sys/dev/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
178
line = 2;
sys/dev/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
182
line = 0;
sys/dev/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
191
HDMI_GENERIC0_LINE, line);
sys/dev/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
197
HDMI_GENERIC1_LINE, line);
sys/dev/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
203
HDMI_GENERIC0_LINE, line);
sys/dev/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
209
HDMI_GENERIC1_LINE, line);
sys/dev/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
215
HDMI_GENERIC0_LINE, line);
sys/dev/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
221
HDMI_GENERIC1_LINE, line);
sys/dev/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
227
HDMI_GENERIC0_LINE, line);
sys/dev/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c
233
HDMI_GENERIC1_LINE, line);
sys/dev/drm/amd/display/dc/dm_services.h
157
const char *func_name, int line);
sys/dev/drm/amd/display/dc/dm_services.h
354
void dm_perf_trace_timestamp(const char *func_name, unsigned int line);
sys/dev/drm/amd/display/dc/i2caux/dce110/i2caux_dce110.c
96
enum gpio_ddc_line line = dal_ddc_get_line(ddc);
sys/dev/drm/amd/display/dc/i2caux/dce110/i2caux_dce110.c
98
if (line < GPIO_DDC_LINE_COUNT)
sys/dev/drm/amd/display/dc/i2caux/dce110/i2caux_dce110.c
99
engine = i2caux->i2c_hw_engines[line];
sys/dev/drm/amd/display/dc/i2caux/dce80/i2caux_dce80.c
122
enum gpio_ddc_line line = dal_ddc_get_line(ddc);
sys/dev/drm/amd/display/dc/i2caux/dce80/i2caux_dce80.c
124
if (line < GPIO_DDC_LINE_COUNT) {
sys/dev/drm/amd/display/dc/i2caux/dce80/i2caux_dce80.c
126
engine = i2caux->i2c_hw_engines[line];
sys/dev/drm/amd/display/dc/i2caux/i2caux.c
271
enum gpio_ddc_line *line)
sys/dev/drm/amd/display/dc/i2caux/i2caux.c
275
*line = GPIO_DDC_LINE_UNKNOWN;
sys/dev/drm/amd/display/dc/i2caux/i2caux.c
290
*line = line_found;
sys/dev/drm/amd/display/dc/i2caux/i2caux.c
381
enum gpio_ddc_line line;
sys/dev/drm/amd/display/dc/i2caux/i2caux.c
384
if (get_hw_supported_ddc_line(ddc, &line))
sys/dev/drm/amd/display/dc/i2caux/i2caux.c
385
engine = i2caux->i2c_sw_engines[line];
sys/dev/drm/amd/display/dc/i2caux/i2caux.c
403
enum gpio_ddc_line line;
sys/dev/drm/amd/display/dc/i2caux/i2caux.c
406
if (!get_hw_supported_ddc_line(ddc, &line))
sys/dev/drm/amd/display/dc/i2caux/i2caux.c
409
engine = i2caux->aux_engines[line];
sys/dev/drm/amd/powerplay/hwmgr/vega10_processpptables.c
330
static void get_scl_sda_value(uint8_t line, uint8_t *scl, uint8_t* sda)
sys/dev/drm/amd/powerplay/hwmgr/vega10_processpptables.c
332
switch(line){
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
427
static void get_scl_sda_value(uint8_t line, uint8_t *scl, uint8_t *sda)
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
429
switch (line) {
sys/dev/drm/i915/i915_drv.c
66
bool __i915_inject_load_failure(const char *func, int line)
sys/dev/drm/i915/i915_drv.c
73
i915_modparams.inject_load_failure, func, line);
sys/dev/drm/i915/i915_drv.h
113
bool __i915_inject_load_failure(const char *func, int line);
sys/dev/drm/i915/intel_engine_cs.c
1259
char line[128];
sys/dev/drm/i915/intel_engine_cs.c
1271
line, sizeof(line),
sys/dev/drm/i915/intel_engine_cs.c
1272
false) >= sizeof(line));
sys/dev/drm/i915/intel_engine_cs.c
1273
drm_printf(m, "[%04zx] %s\n", pos, line);
sys/dev/misc/ipmi/ipmi.c
1005
char line[1024];
sys/dev/misc/ipmi/ipmi.c
1013
line[0] = '\000';
sys/dev/misc/ipmi/ipmi.c
1016
strcat(line, temp);
sys/dev/misc/ipmi/ipmi.c
1026
printf(" %3x %s %s\n", i, line, buf);
sys/dev/misc/ipmi/ipmi.c
1028
line[0] = '\000';
sys/dev/misc/ipmi/ipmi.c
1034
strcat(line, " ");
sys/dev/misc/ipmi/ipmi.c
1036
printf(" %3x %s %s\n", i, line, buf);
sys/dev/misc/tbridge/safe_mem.c
108
_free_safe_mem(void *mem_ptr, const char *file, int line)
sys/dev/misc/tbridge/safe_mem.c
122
(unsigned long)(void *)hdr, hdr->file, hdr->line);
sys/dev/misc/tbridge/safe_mem.c
127
line);
sys/dev/misc/tbridge/safe_mem.c
135
"at %s:%d !!!\n", file, line);
sys/dev/misc/tbridge/safe_mem.c
141
"at %s:%d !!!\n", file, line);
sys/dev/misc/tbridge/safe_mem.c
181
(unsigned long)(void *)hdr, hdr->file, hdr->line,
sys/dev/misc/tbridge/safe_mem.c
46
int line;
sys/dev/misc/tbridge/safe_mem.c
72
_alloc_safe_mem(size_t req_sz, const char *file, int line)
sys/dev/misc/tbridge/safe_mem.c
91
hdr->line = line;
sys/dev/netif/ath/ath/if_ath.c
314
_ath_power_setpower(struct ath_softc *sc, int power_state, const char *file, int line)
sys/dev/netif/ath/ath/if_ath.c
323
line,
sys/dev/netif/ath/ath/if_ath.c
357
_ath_power_set_selfgen(struct ath_softc *sc, int power_state, const char *file, int line)
sys/dev/netif/ath/ath/if_ath.c
365
line,
sys/dev/netif/ath/ath/if_ath.c
393
_ath_power_set_power_state(struct ath_softc *sc, int power_state, const char *file, int line)
sys/dev/netif/ath/ath/if_ath.c
400
line,
sys/dev/netif/ath/ath/if_ath.c
429
_ath_power_restore_power_state(struct ath_softc *sc, const char *file, int line)
sys/dev/netif/ath/ath/if_ath.c
437
line,
sys/dev/netif/ath/ath/if_ath_misc.h
111
extern void _ath_power_setpower(struct ath_softc *sc, int power_state, const char *file, int line);
sys/dev/netif/ath/ath/if_ath_misc.h
112
extern void _ath_power_set_selfgen(struct ath_softc *sc, int power_state, const char *file, int line);
sys/dev/netif/ath/ath/if_ath_misc.h
113
extern void _ath_power_set_power_state(struct ath_softc *sc, int power_state, const char *file, int line);
sys/dev/netif/ath/ath/if_ath_misc.h
114
extern void _ath_power_restore_power_state(struct ath_softc *sc, const char *file, int line);
sys/dev/raid/hpt27xx/hpt27xx_os_bsd.c
313
void __os_dbgbreak(const char *file, int line)
sys/dev/raid/hpt27xx/hpt27xx_os_bsd.c
315
kprintf("*** break at %s:%d ***", file, line);
sys/dev/raid/hpt27xx/osm.h
227
void __os_dbgbreak(const char *file, int line);
sys/dev/raid/hptrr/hptrr_os_bsd.c
281
void __os_dbgbreak(const char *file, int line)
sys/dev/raid/hptrr/hptrr_os_bsd.c
283
kprintf("*** break at %s:%d ***", file, line);
sys/dev/raid/hptrr/osm.h
193
void __os_dbgbreak(const char *file, int line);
sys/dev/raid/mfi/mfi_debug.c
238
const char *function, int line)
sys/dev/raid/mfi/mfi_debug.c
266
function, line, cm, count, data_len, cm->cm_len,
sys/dev/raid/vinum/vinum.c
336
malloced[i].line);
sys/dev/raid/vinum/vinum.c
345
malloced[i].line);
sys/dev/raid/vinum/vinumlock.c
50
lockdrive(struct drive *drive, char *file, int line)
sys/dev/raid/vinum/vinumlock.c
68
line);
sys/dev/raid/vinum/vinumlock.c
92
drive->lockline = line;
sys/dev/raid/vinum/vinummemory.c
110
log(LOG_ERR, "vinum: can't allocate %d bytes from %s:%d\n", size, file, line);
sys/dev/raid/vinum/vinummemory.c
126
malloced[i].line = line;
sys/dev/raid/vinum/vinummemory.c
139
FFree(void *mem, char *file, int line)
sys/dev/raid/vinum/vinummemory.c
161
freeinfo[lastfree].line = line;
sys/dev/raid/vinum/vinummemory.c
178
line);
sys/dev/raid/vinum/vinummemory.c
204
m->line = malloced[ent].line;
sys/dev/raid/vinum/vinummemory.c
98
MMalloc(int size, char *file, int line)
sys/dev/raid/vinum/vinumvar.h
665
short line;
sys/dev/sound/pci/vibes.c
127
_sv_direct_set(struct sc_info *sc, u_int8_t reg, u_int8_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, u_int8_t reg, u_int8_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/video/fb/bmp/splash_bmp.c
308
bmp_DecodeRLE4(BMP_INFO *info, int line)
sys/dev/video/fb/bmp/splash_bmp.c
315
y = line;
sys/dev/video/fb/bmp/splash_bmp.c
373
bmp_DecodeRLE8(BMP_INFO *info, int line)
sys/dev/video/fb/bmp/splash_bmp.c
379
y = line;
sys/dev/video/fb/bmp/splash_bmp.c
426
bmp_DecodeLine(BMP_INFO *info, int line)
sys/dev/video/fb/bmp/splash_bmp.c
437
bmp_SetPix(info, x, line, *info->index);
sys/dev/video/fb/bmp/splash_bmp.c
449
bmp_SetPix(info, x, line, val);
sys/dev/video/fb/bmp/splash_bmp.c
464
bmp_SetPix(info, x, line, val);
sys/dev/video/fb/bmp/splash_bmp.c
472
bmp_DecodeRLE4(info, line);
sys/dev/video/fb/bmp/splash_bmp.c
475
bmp_DecodeRLE8(info, line);
sys/dev/video/fb/bmp/splash_bmp.c
567
int line;
sys/dev/video/fb/bmp/splash_bmp.c
610
for (line = 0; (line < bmp_info.height) && bmp_info.index; line++) {
sys/dev/video/fb/bmp/splash_bmp.c
611
bmp_DecodeLine(&bmp_info, line);
sys/dev/video/fb/pcx/splash_pcx.c
194
u_char line[MAXSCANLINE];
sys/dev/video/fb/pcx/splash_pcx.c
236
line[j++] = pcx_info.zdata[i];
sys/dev/video/fb/pcx/splash_pcx.c
248
bcopy(line, vidmem + pos, j);
sys/dev/video/fb/pcx/splash_pcx.c
252
bcopy(line + j, vidmem, pcx_info.width - j);
sys/dev/video/fb/pcx/splash_pcx.c
254
bcopy(line, vidmem + pos, pcx_info.width);
sys/kern/kern_dmsg.c
1736
kd_printf(4, "state %p +%d\t%s:%d\n", state, state->refs, file, line);
sys/kern/kern_dmsg.c
1746
kd_printf(4, "state %p -%d\t%s:%d\n", state, state->refs, file, line);
sys/kern/kern_dmsg.c
86
#define KDMSG_DEBUG_ARGS , const char *file, int line
sys/kern/kern_kmalloc.c
677
const char *file, int line)
sys/kern/kern_ktr.c
497
ktr_begin_write_entry(struct ktr_info *info, const char *file, int line)
sys/kern/kern_ktr.c
523
entry->ktr_line = line;
sys/kern/kern_slaballoc.c
1017
slab_record_source(z, file, line);
sys/kern/kern_slaballoc.c
1044
slab_record_source(z, file, line);
sys/kern/kern_slaballoc.c
1121
slab_record_source(z, file, line);
sys/kern/kern_slaballoc.c
1175
const char *file, int line)
sys/kern/kern_slaballoc.c
1190
return(_kmalloc_debug(size, type, flags, file, line));
sys/kern/kern_slaballoc.c
1205
if ((nptr = _kmalloc_debug(size, type, flags, file, line)) == NULL)
sys/kern/kern_slaballoc.c
1237
if ((nptr = _kmalloc_debug(size, type, flags, file, line)) == NULL)
sys/kern/kern_slaballoc.c
1293
const char *file, int line)
sys/kern/kern_slaballoc.c
1305
nstr = _kmalloc_debug(zlen, type, M_WAITOK, file, line);
sys/kern/kern_slaballoc.c
1313
const char *file, int line)
sys/kern/kern_slaballoc.c
1325
nstr = _kmalloc_debug(zlen, type, M_WAITOK, file, line);
sys/kern/kern_slaballoc.c
757
slab_record_source(SLZone *z, const char *file, int line)
sys/kern/kern_slaballoc.c
760
int b = line & (SLAB_DEBUG_ENTRIES - 1);
sys/kern/kern_slaballoc.c
764
if (z->z_Sources[i].file == file && z->z_Sources[i].line == line)
sys/kern/kern_slaballoc.c
771
z->z_Sources[i].line = line;
sys/kern/kern_slaballoc.c
812
const char *file, int line)
sys/kern/subr_unit.c
158
check_unrhdr(struct unrhdr *uh, int line)
sys/kern/subr_unit.c
172
up->len, NBITS, line));
sys/kern/subr_unit.c
180
ub->busy, w, line));
sys/kern/subr_unit.c
187
uh->busy, y, line));
sys/kern/subr_unit.c
190
uh->alloc, z, line));
sys/kern/subr_unit.c
196
check_unrhdr(struct unrhdr *uh, int line)
sys/kern/vfs_lock.c
693
debug_vput(struct vnode *vp, const char *filename, int line)
sys/kern/vfs_lock.c
695
kprintf("vput(%p) %s:%d\n", vp, filename, line);
sys/kern/vfs_vnops.c
1116
debug_vn_unlock(struct vnode *vp, const char *filename, int line)
sys/kern/vfs_vnops.c
1118
kprintf("vn_unlock from %s:%d\n", filename, line);
sys/netbt/rfcomm.h
232
#define RFCOMM_RPN_DATA_BITS(line) ((line) & 0x3)
sys/netbt/rfcomm.h
233
#define RFCOMM_RPN_STOP_BITS(line) (((line) >> 2) & 0x1)
sys/netbt/rfcomm.h
234
#define RFCOMM_RPN_PARITY(line) (((line) >> 3) & 0x1)
sys/netgraph7/bluetooth/include/ng_btsocket_rfcomm.h
208
#define RFCOMM_RPN_DATA_BITS(line) ((line) & 0x3)
sys/netgraph7/bluetooth/include/ng_btsocket_rfcomm.h
209
#define RFCOMM_RPN_STOP_BITS(line) (((line) >> 2) & 0x1)
sys/netgraph7/bluetooth/include/ng_btsocket_rfcomm.h
210
#define RFCOMM_RPN_PARITY(line) (((line) >> 3) & 0x3)
sys/netgraph7/netgraph.h
164
void dumphook (hook_p hook, char *file, int line);
sys/netgraph7/netgraph.h
165
static __inline void _chkhook(hook_p hook, char *file, int line);
sys/netgraph7/netgraph.h
166
static __inline void _ng_hook_ref(hook_p hook, char * file, int line);
sys/netgraph7/netgraph.h
167
static __inline char * _ng_hook_name(hook_p hook, char * file, int line);
sys/netgraph7/netgraph.h
168
static __inline void _ng_hook_unref(hook_p hook, char * file, int line);
sys/netgraph7/netgraph.h
170
void * val, char * file, int line);
sys/netgraph7/netgraph.h
172
ng_rcvmsg_t *val, char * file, int line);
sys/netgraph7/netgraph.h
174
ng_rcvdata_t *val, char * file, int line);
sys/netgraph7/netgraph.h
175
static __inline void * _ng_hook_private(hook_p hook, char * file, int line);
sys/netgraph7/netgraph.h
176
static __inline int _ng_hook_not_valid(hook_p hook, char * file, int line);
sys/netgraph7/netgraph.h
177
static __inline int _ng_hook_is_valid(hook_p hook, char * file, int line);
sys/netgraph7/netgraph.h
178
static __inline node_p _ng_hook_node(hook_p hook, char * file, int line);
sys/netgraph7/netgraph.h
179
static __inline hook_p _ng_hook_peer(hook_p hook, char * file, int line);
sys/netgraph7/netgraph.h
181
int line);
sys/netgraph7/netgraph.h
182
static __inline void _ng_hook_force_queue(hook_p hook, char * file, int line);
sys/netgraph7/netgraph.h
185
_chkhook(hook_p hook, char *file, int line)
sys/netgraph7/netgraph.h
189
dumphook(hook, file, line);
sys/netgraph7/netgraph.h
191
hook->lastline = line;
sys/netgraph7/netgraph.h
196
_ng_hook_ref(hook_p hook, char * file, int line)
sys/netgraph7/netgraph.h
198
_chkhook(hook, file, line);
sys/netgraph7/netgraph.h
203
_ng_hook_name(hook_p hook, char * file, int line)
sys/netgraph7/netgraph.h
205
_chkhook(hook, file, line);
sys/netgraph7/netgraph.h
210
_ng_hook_unref(hook_p hook, char * file, int line)
sys/netgraph7/netgraph.h
212
_chkhook(hook, file, line);
sys/netgraph7/netgraph.h
217
_ng_hook_set_private(hook_p hook, void *val, char * file, int line)
sys/netgraph7/netgraph.h
219
_chkhook(hook, file, line);
sys/netgraph7/netgraph.h
224
_ng_hook_set_rcvmsg(hook_p hook, ng_rcvmsg_t *val, char * file, int line)
sys/netgraph7/netgraph.h
226
_chkhook(hook, file, line);
sys/netgraph7/netgraph.h
231
_ng_hook_set_rcvdata(hook_p hook, ng_rcvdata_t *val, char * file, int line)
sys/netgraph7/netgraph.h
233
_chkhook(hook, file, line);
sys/netgraph7/netgraph.h
238
_ng_hook_private(hook_p hook, char * file, int line)
sys/netgraph7/netgraph.h
240
_chkhook(hook, file, line);
sys/netgraph7/netgraph.h
245
_ng_hook_not_valid(hook_p hook, char * file, int line)
sys/netgraph7/netgraph.h
247
_chkhook(hook, file, line);
sys/netgraph7/netgraph.h
252
_ng_hook_is_valid(hook_p hook, char * file, int line)
sys/netgraph7/netgraph.h
254
_chkhook(hook, file, line);
sys/netgraph7/netgraph.h
259
_ng_hook_node(hook_p hook, char * file, int line)
sys/netgraph7/netgraph.h
261
_chkhook(hook, file, line);
sys/netgraph7/netgraph.h
266
_ng_hook_peer(hook_p hook, char * file, int line)
sys/netgraph7/netgraph.h
268
_chkhook(hook, file, line);
sys/netgraph7/netgraph.h
273
_ng_hook_force_writer(hook_p hook, char * file, int line)
sys/netgraph7/netgraph.h
275
_chkhook(hook, file, line);
sys/netgraph7/netgraph.h
280
_ng_hook_force_queue(hook_p hook, char * file, int line)
sys/netgraph7/netgraph.h
282
_chkhook(hook, file, line);
sys/netgraph7/netgraph.h
287
_ng_hook_hi_stack(hook_p hook, char * file, int line)
sys/netgraph7/netgraph.h
289
_chkhook(hook, file, line);
sys/netgraph7/netgraph.h
412
void dumpnode(node_p node, char *file, int line);
sys/netgraph7/netgraph.h
413
static __inline void _chknode(node_p node, char *file, int line);
sys/netgraph7/netgraph.h
414
static __inline char * _ng_node_name(node_p node, char *file, int line);
sys/netgraph7/netgraph.h
415
static __inline int _ng_node_has_name(node_p node, char *file, int line);
sys/netgraph7/netgraph.h
416
static __inline ng_ID_t _ng_node_id(node_p node, char *file, int line);
sys/netgraph7/netgraph.h
417
static __inline void _ng_node_ref(node_p node, char *file, int line);
sys/netgraph7/netgraph.h
418
static __inline int _ng_node_unref(node_p node, char *file, int line);
sys/netgraph7/netgraph.h
420
char *file, int line);
sys/netgraph7/netgraph.h
421
static __inline void * _ng_node_private(node_p node, char *file, int line);
sys/netgraph7/netgraph.h
422
static __inline int _ng_node_is_valid(node_p node, char *file, int line);
sys/netgraph7/netgraph.h
423
static __inline int _ng_node_not_valid(node_p node, char *file, int line);
sys/netgraph7/netgraph.h
424
static __inline int _ng_node_numhooks(node_p node, char *file, int line);
sys/netgraph7/netgraph.h
425
static __inline void _ng_node_force_writer(node_p node, char *file, int line);
sys/netgraph7/netgraph.h
427
ng_fn_eachhook *fn, void *arg, char *file, int line);
sys/netgraph7/netgraph.h
428
static __inline void _ng_node_revive(node_p node, char *file, int line);
sys/netgraph7/netgraph.h
431
_chknode(node_p node, char *file, int line)
sys/netgraph7/netgraph.h
435
dumpnode(node, file, line);
sys/netgraph7/netgraph.h
437
node->lastline = line;
sys/netgraph7/netgraph.h
442
_ng_node_name(node_p node, char *file, int line)
sys/netgraph7/netgraph.h
444
_chknode(node, file, line);
sys/netgraph7/netgraph.h
449
_ng_node_has_name(node_p node, char *file, int line)
sys/netgraph7/netgraph.h
451
_chknode(node, file, line);
sys/netgraph7/netgraph.h
456
_ng_node_id(node_p node, char *file, int line)
sys/netgraph7/netgraph.h
458
_chknode(node, file, line);
sys/netgraph7/netgraph.h
463
_ng_node_ref(node_p node, char *file, int line)
sys/netgraph7/netgraph.h
465
_chknode(node, file, line);
sys/netgraph7/netgraph.h
470
_ng_node_unref(node_p node, char *file, int line)
sys/netgraph7/netgraph.h
472
_chknode(node, file, line);
sys/netgraph7/netgraph.h
477
_ng_node_set_private(node_p node, void * val, char *file, int line)
sys/netgraph7/netgraph.h
479
_chknode(node, file, line);
sys/netgraph7/netgraph.h
484
_ng_node_private(node_p node, char *file, int line)
sys/netgraph7/netgraph.h
486
_chknode(node, file, line);
sys/netgraph7/netgraph.h
491
_ng_node_is_valid(node_p node, char *file, int line)
sys/netgraph7/netgraph.h
493
_chknode(node, file, line);
sys/netgraph7/netgraph.h
498
_ng_node_not_valid(node_p node, char *file, int line)
sys/netgraph7/netgraph.h
500
_chknode(node, file, line);
sys/netgraph7/netgraph.h
505
_ng_node_numhooks(node_p node, char *file, int line)
sys/netgraph7/netgraph.h
507
_chknode(node, file, line);
sys/netgraph7/netgraph.h
512
_ng_node_force_writer(node_p node, char *file, int line)
sys/netgraph7/netgraph.h
514
_chknode(node, file, line);
sys/netgraph7/netgraph.h
519
_ng_node_hi_stack(node_p node, char *file, int line)
sys/netgraph7/netgraph.h
521
_chknode(node, file, line);
sys/netgraph7/netgraph.h
526
_ng_node_really_die(node_p node, char *file, int line)
sys/netgraph7/netgraph.h
528
_chknode(node, file, line);
sys/netgraph7/netgraph.h
533
_ng_node_revive(node_p node, char *file, int line)
sys/netgraph7/netgraph.h
535
_chknode(node, file, line);
sys/netgraph7/netgraph.h
541
char *file, int line)
sys/netgraph7/netgraph.h
544
_chknode(node, file, line);
sys/netgraph7/netgraph.h
687
void dumpitem(item_p item, char *file, int line);
sys/netgraph7/netgraph.h
688
static __inline void _ngi_check(item_p item, char *file, int line) ;
sys/netgraph7/netgraph.h
689
static __inline struct mbuf ** _ngi_m(item_p item, char *file, int line) ;
sys/netgraph7/netgraph.h
690
static __inline ng_ID_t * _ngi_retaddr(item_p item, char *file, int line);
sys/netgraph7/netgraph.h
691
static __inline struct ng_mesg ** _ngi_msg(item_p item, char *file, int line) ;
sys/netgraph7/netgraph.h
692
static __inline ng_item_fn ** _ngi_fn(item_p item, char *file, int line) ;
sys/netgraph7/netgraph.h
693
static __inline ng_item_fn2 ** _ngi_fn2(item_p item, char *file, int line) ;
sys/netgraph7/netgraph.h
694
static __inline void ** _ngi_arg1(item_p item, char *file, int line) ;
sys/netgraph7/netgraph.h
695
static __inline int * _ngi_arg2(item_p item, char *file, int line) ;
sys/netgraph7/netgraph.h
696
static __inline node_p _ngi_node(item_p item, char *file, int line);
sys/netgraph7/netgraph.h
697
static __inline hook_p _ngi_hook(item_p item, char *file, int line);
sys/netgraph7/netgraph.h
700
_ngi_check(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
702
(item)->lastline = line;
sys/netgraph7/netgraph.h
707
_ngi_m(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
709
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
714
_ngi_msg(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
716
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
721
_ngi_retaddr(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
723
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
728
_ngi_fn(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
730
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
735
_ngi_fn2(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
737
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
742
_ngi_arg1(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
744
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
749
_ngi_arg2(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
751
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
756
_ngi_node(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
758
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
763
_ngi_hook(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
765
_ngi_check(item, file, line);
sys/netgraph7/netgraph/ng_base.c
2824
dumphook (hook_p hook, char *file, int line)
sys/netgraph7/netgraph/ng_base.c
2830
if (line) {
sys/netgraph7/netgraph/ng_base.c
2831
kprintf(" problem discovered at file %s, line %d\n", file, line);
sys/netgraph7/netgraph/ng_base.c
2836
dumpnode(node_p node, char *file, int line)
sys/netgraph7/netgraph/ng_base.c
2844
if (line) {
sys/netgraph7/netgraph/ng_base.c
2845
kprintf(" problem discovered at file %s, line %d\n", file, line);
sys/netgraph7/netgraph/ng_base.c
2850
dumpitem(item_p item, char *file, int line)
sys/netgraph7/netgraph/ng_base.c
2880
if (line) {
sys/netgraph7/netgraph/ng_base.c
2881
kprintf(" problem discovered at file %s, line %d\n", file, line);
sys/netproto/802_11/ieee80211_node.h
382
const char *func, int line);
sys/netproto/802_11/ieee80211_node.h
386
const char *func, int line);
sys/netproto/802_11/ieee80211_node.h
389
const char *func, int line);
sys/netproto/802_11/ieee80211_node.h
394
const char *func, int line);
sys/netproto/802_11/ieee80211_node.h
399
const char *func, int line);
sys/netproto/802_11/ieee80211_node.h
402
const char *func, int line);
sys/netproto/802_11/ieee80211_node.h
406
const char *func, int line);
sys/netproto/802_11/ieee80211_node.h
409
const char *func, int line);
sys/netproto/802_11/wlan/ieee80211_node.c
1369
const uint8_t macaddr[IEEE80211_ADDR_LEN], const char *func, int line)
sys/netproto/802_11/wlan/ieee80211_node.c
1387
func, line,
sys/netproto/802_11/wlan/ieee80211_node.c
1400
const uint8_t macaddr[IEEE80211_ADDR_LEN], const char *func, int line)
sys/netproto/802_11/wlan/ieee80211_node.c
1418
const uint8_t macaddr[IEEE80211_ADDR_LEN], const char *func, int line)
sys/netproto/802_11/wlan/ieee80211_node.c
1438
func, line,
sys/netproto/802_11/wlan/ieee80211_node.c
1452
const uint8_t macaddr[IEEE80211_ADDR_LEN], const char *func, int line)
sys/netproto/802_11/wlan/ieee80211_node.c
1639
const struct ieee80211_frame_min *wh, const char *func, int line)
sys/netproto/802_11/wlan/ieee80211_node.c
1668
const char *func, int line)
sys/netproto/802_11/wlan/ieee80211_node.c
1723
const char *func, int line)
sys/netproto/802_11/wlan/ieee80211_node.c
1822
ieee80211_free_node_debug(struct ieee80211_node *ni, const char *func, int line)
sys/netproto/802_11/wlan/ieee80211_node.c
1831
"%s (%s:%u) %p<%s> refcnt %d\n", __func__, func, line, ni,
sys/netproto/802_11/wlan/ieee80211_node.c
77
#define REFCNT_LOC "%s (%s:%u) %p<%s> refcnt %d\n", __func__, func, line
sys/platform/pc64/x86_64/pmap_inval.c
234
_checksigmask(pmap_inval_info_t *info, const char *file, int line)
sys/platform/pc64/x86_64/pmap_inval.c
242
file, line, info->sigmask.ary[0], info->mask.ary[0]);
sys/sys/journal.h
345
char line[8]; /* ttyname or other session identification */
sys/sys/kernel.h
333
#define _TUNABLE_INT(path, var, line) \
sys/sys/kernel.h
334
__TUNABLE_INT((path), (var), line)
sys/sys/kernel.h
336
#define __TUNABLE_INT(path, var, line) \
sys/sys/kernel.h
337
static struct tunable_int __tunable_int_ ## line = { \
sys/sys/kernel.h
341
SYSINIT(__Tunable_init_ ## line, \
sys/sys/kernel.h
343
tunable_int_init, &__tunable_int_ ## line)
sys/sys/kernel.h
365
#define _TUNABLE_LONG(path, var, line) \
sys/sys/kernel.h
366
__TUNABLE_LONG((path), (var), line)
sys/sys/kernel.h
368
#define __TUNABLE_LONG(path, var, line) \
sys/sys/kernel.h
369
static struct tunable_long __tunable_long_ ## line = { \
sys/sys/kernel.h
373
SYSINIT(__Tunable_init_ ## line, \
sys/sys/kernel.h
375
tunable_long_init, &__tunable_long_ ## line)
sys/sys/kernel.h
387
#define _TUNABLE_ULONG(path, var, line) \
sys/sys/kernel.h
388
__TUNABLE_ULONG((path), (var), line)
sys/sys/kernel.h
390
#define __TUNABLE_ULONG(path, var, line) \
sys/sys/kernel.h
391
static struct tunable_ulong __tunable_ulong_ ## line = {\
sys/sys/kernel.h
395
SYSINIT(__Tunable_init_ ## line, \
sys/sys/kernel.h
397
tunable_ulong_init, &__tunable_ulong_ ## line)
sys/sys/kernel.h
408
#define _TUNABLE_QUAD(path, var, line) \
sys/sys/kernel.h
409
__TUNABLE_QUAD((path), (var), line)
sys/sys/kernel.h
411
#define __TUNABLE_QUAD(path, var, line) \
sys/sys/kernel.h
412
static struct tunable_quad __tunable_quad_ ## line = { \
sys/sys/kernel.h
416
SYSINIT(__Tunable_init_ ## line, \
sys/sys/kernel.h
418
tunable_quad_init, &__tunable_quad_ ## line)
sys/sys/kernel.h
430
#define _TUNABLE_STR(path, var, size, line) \
sys/sys/kernel.h
431
__TUNABLE_STR((path), (var), (size), line)
sys/sys/kernel.h
433
#define __TUNABLE_STR(path, var, size, line) \
sys/sys/kernel.h
434
static struct tunable_str __tunable_str_ ## line = { \
sys/sys/kernel.h
439
SYSINIT(__Tunable_init_ ## line, \
sys/sys/kernel.h
441
tunable_str_init, &__tunable_str_ ## line)
sys/sys/malloc.h
199
int flags, const char *file, int line)
sys/sys/malloc.h
202
int flags, const char *file, int line)
sys/sys/malloc.h
206
const char *file, int line) __heedresult __alloc_size(2);
sys/sys/malloc.h
208
const char *file, int line) __malloclike __heedresult;
sys/sys/malloc.h
210
const char *file, int line) __malloclike __heedresult;
sys/sys/malloc.h
326
#define _kmalloc_debug(size, type, flags, file, line) \
sys/sys/malloc.h
328
#define _kmalloc_obj_debug(size, type, flags, file, line) \
sys/sys/malloc.h
330
#define krealloc_debug(addr, size, type, flags, file, line) \
sys/sys/malloc.h
332
#define kstrdup_debug(str, type, file, line) \
sys/sys/malloc.h
334
#define kstrndup_debug(str, maxlen, type, file, line) \
sys/sys/slaballoc.h
80
int line;
sys/sys/soundcard.h
257
u_char line; /* which input */
sys/sys/tbridge.h
63
void *_alloc_safe_mem(size_t req_sz, const char *file, int line);
sys/sys/tbridge.h
64
void _free_safe_mem(void *mem, const char *file, int line);
sys/sys/vnode.h
503
const char *filename, int line);
sys/sys/vnode.h
579
void debug_vput (struct vnode *vp, const char *filename, int line);
sys/vfs/hammer2/hammer2.h
1967
_hammer2_xop_gdata(hammer2_xop_head_t *xop, const char *file, int line)
sys/vfs/hammer2/hammer2.h
1992
_hammer2_xop_pdata(hammer2_xop_head_t *xop, const char *file, int line)
sys/vfs/hammer2/hammer2.h
260
#define HAMMER2_IO_DEBUG_ARGS , const char *file, int line
sys/vfs/hammer2/hammer2.h
261
#define HAMMER2_IO_DEBUG_CALL , file, line
sys/vfs/hammer2/hammer2_io.c
81
dio->debug_line[i] = line;
sys/vm/vm_object.c
166
debugvm_object_add(vm_object_t obj, char *file, int line, int addrem)
sys/vm/vm_object.c
180
obj->debug_hold_line[i] = line;
sys/vm/vm_object.c
186
obj, obj->ref_count, addrem, file, line);
sys/vm/vm_object.c
297
debugvm_object_add(obj, file, line, 1);
sys/vm/vm_object.c
322
debugvm_object_add(obj, file, line, 1);
sys/vm/vm_object.c
342
debugvm_object_add(obj, file, line, 1);
sys/vm/vm_object.c
364
debugvm_object_add(obj, file, line, -1);
sys/vm/vm_object.c
375
debugvm_object_add(obj, file, line, -1);
sys/vm/vm_object.c
516
debugvm_object_add(object, file, line, 1);
sys/vm/vm_object.c
534
debugvm_object_add(object, file, line, 1);
sys/vm/vm_object.c
583
debugvm_object_add(object, file, line, -1);
sys/vm/vm_object.c
636
debugvm_object_add(object, file, line, 0);
sys/vm/vm_object.c
656
debugvm_object_add(object, file, line, -1);
sys/vm/vm_object.c
667
debugvm_object_add(object, file, line, -1);
sys/vm/vm_object.c
712
debugvm_object_add(object, file, line, -1);
sys/vm/vm_object.c
725
debugvm_object_add(object, file, line, -1);
sys/vm/vm_object.h
336
#define VMOBJDBARGS , char *file, int line
sys/vm/vm_object.h
337
#define VMOBJDBFWD , file, line
test/crypto/cryptoapi/cryptoapi_test.c
103
token = strsep(&line, ";");
test/crypto/cryptoapi/cryptoapi_test.c
108
token = strsep(&line, ";");
test/crypto/cryptoapi/cryptoapi_test.c
113
token = strsep(&line, ";");
test/crypto/cryptoapi/cryptoapi_test.c
118
token = strsep(&line, ";");
test/crypto/cryptoapi/cryptoapi_test.c
125
token = strsep(&line, ";");
test/crypto/cryptoapi/cryptoapi_test.c
132
token = strsep(&line, ";");
test/crypto/cryptoapi/cryptoapi_test.c
139
token = strsep(&line, ";");
test/crypto/cryptoapi/cryptoapi_test.c
38
read_test_fixture(char *line, int lineno, struct test_fixture *fixture);
test/crypto/cryptoapi/cryptoapi_test.c
85
int read_test_fixture(char *line, int lineno, struct test_fixture *fixture)
test/crypto/cryptoapi/cryptoapi_test.c
93
fixture->raw_line = strdup(line);
test/crypto/cryptoapi/cryptoapi_test.c
95
if (line[0] == '\n' || line[0] == '#')
test/crypto/cryptoapi/cryptoapi_test.c
98
token = strsep(&line, ";");
test/stress/stress2/tools/fstool.c
47
error(char *op, char* arg, char* file, int line) {
test/stress/stress2/tools/fstool.c
49
op, arg, sys_errlist[errno], file, line);
tools/regression/lib/libc-regex/testregex.c
1238
char* line;
tools/regression/lib/libc-regex/testregex.c
1454
line = p;
tools/regression/lib/libc-regex/testregex.c
1461
printf("%s\n", line);
tools/regression/lib/libc-regex/testregex.c
1470
printf("%s\n", line);
tools/regression/lib/libc-regex/testregex.c
1476
printf("%s\n", line);
tools/regression/lib/libc-regex/testregex.c
1772
printf("%s\n", line);
tools/regression/lib/libc-regex/testregex.c
1907
extract(tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test|TEST_OK);
tools/regression/lib/libc-regex/testregex.c
1962
if (catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test))
tools/regression/lib/libc-regex/testregex.c
1987
catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test);
tools/regression/lib/libc-regex/testregex.c
2029
skip = extract(tabs, line, re, s, ans, msg, "OK", NiL, 0, 0, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2045
skip = extract(tabs, line, re, s, ans, msg, "OK", NiL, 0, 0, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2051
catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test);
tools/regression/lib/libc-regex/testregex.c
2066
skip = extract(tabs, line, re, s, ans, msg, codes[got].name, NiL, 0, 0, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2087
skip = extract(tabs, line, re, s, ans, msg, codes[got].name, NiL, 0, 0, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2097
skip = extract(tabs, line, re, s, ans, msg, codes[got].name, NiL, 0, 0, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2163
skip = extract(tabs, line, re, s, ans, msg, "NOMATCH", NiL, 0, 0, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2174
skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2187
skip = extract(tabs, line, re, s, ans, msg, "NOMATCH", NiL, 0, nsub, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2203
skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2229
skip = extract(tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test);
tools/regression/lib/libc-regex/testregex.c
2250
if (catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test))
tools/regression/lib/libc-regex/testregex.c
2256
skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_OK);
tools/regression/lib/libc-regex/testregex.c
2259
skip = extract(tabs, line, re, s, ans, msg, NiL, match, nmatch, nsub, skip, level, test|TEST_DELIMIT);
tools/regression/lib/libc-regex/testregex.c
2260
if (catchfree(&preg, flags, tabs, line, re, s, ans, msg, NiL, NiL, 0, 0, skip, level, test))
tools/regression/lib/libm/test-next.c
224
_testl(const char *exp, int line, long double actual, long double expected,
tools/regression/lib/libm/test-next.c
232
line, exp, actual, expected);
tools/regression/lib/libm/test-next.c
237
line, exp, actual_except, except);
tools/regression/p1003_1b/prutil.c
37
int sched_is(int line, struct sched_param *p, int shouldbe)
tools/regression/p1003_1b/prutil.c
56
line, sched_text(shouldbe), sched_text(scheduler));
tools/regression/p1003_1b/prutil.h
13
int sched_is(int line, struct sched_param *, int);
tools/regression/p1003_1b/sched.c
94
static void q(int line, int code, const char *text)
tools/regression/p1003_1b/sched.c
98
fprintf(stderr, "Error at line %d:\n", line);
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
125
int line, omask;
tools/tools/ath/athstats/main.c
135
line = 0;
tools/tools/ath/athstats/main.c
137
if (line != 0) {
tools/tools/ath/athstats/main.c
152
line++;
tools/tools/ath/athstats/main.c
153
if (line == 21) /* XXX tty line count */
tools/tools/net80211/wlanstats/main.c
202
int line, omask;
tools/tools/net80211/wlanstats/main.c
211
line = 0;
tools/tools/net80211/wlanstats/main.c
213
if (line != 0) {
tools/tools/net80211/wlanstats/main.c
228
line++;
tools/tools/net80211/wlanstats/main.c
232
if (line == 21) /* XXX tty line count */
tools/tools/net80211/wlanwatch/wlanwatch.c
136
static char line[MAXHOSTNAMELEN + 1];
tools/tools/net80211/wlanwatch/wlanwatch.c
152
strcpy(line, "default");
tools/tools/net80211/wlanwatch/wlanwatch.c
173
strncpy(line, cp, sizeof(line) - 1);
tools/tools/net80211/wlanwatch/wlanwatch.c
174
line[sizeof(line) - 1] = '\0';
tools/tools/net80211/wlanwatch/wlanwatch.c
176
(void) sprintf(line, "%s", inet_ntoa(in));
tools/tools/net80211/wlanwatch/wlanwatch.c
207
line, sizeof(line), NULL, 0, niflags) != 0)
tools/tools/net80211/wlanwatch/wlanwatch.c
208
strncpy(line, "invalid", sizeof(line));
tools/tools/net80211/wlanwatch/wlanwatch.c
210
return(line);
tools/tools/net80211/wlanwatch/wlanwatch.c
220
char *cp = line + sprintf(line, "(%d)", sa->sa_family);
tools/tools/net80211/wlanwatch/wlanwatch.c
221
char *cpe = line + sizeof(line);
tools/tools/net80211/wlanwatch/wlanwatch.c
231
return (line);
tools/tools/netrate/netperf/tcp_cc/tcp_cc.c
123
char line[128];
tools/tools/netrate/netperf/tcp_cc/tcp_cc.c
130
while (fgets(line, sizeof(line), fp) != NULL) {
tools/tools/netrate/netperf/tcp_cc/tcp_cc.c
134
n = sscanf(line, "%d%d%d%d%lf%lf",
tools/tools/netrate/netperf/tcp_stream/tcp_stream.c
251
char line[128];
tools/tools/netrate/netperf/tcp_stream/tcp_stream.c
258
while (fgets(line, sizeof(line), fp) != NULL) {
tools/tools/netrate/netperf/tcp_stream/tcp_stream.c
262
n = sscanf(line, "%d%d%d%lf%lf",
usr.bin/calendar/dates.c
213
struct cal_line *line;
usr.bin/calendar/dates.c
222
for (line = desc->firstline; line; line = line->next) {
usr.bin/calendar/dates.c
224
(line == desc->firstline) ? "" : "\t\t",
usr.bin/calendar/dates.c
225
line->str,
usr.bin/calendar/dates.c
226
(line == desc->lastline) ? "" : "\n");
usr.bin/calendar/io.c
101
static bool is_date_entry(char *line, char **content);
usr.bin/calendar/io.c
102
static bool is_variable_entry(char *line, char **value);
usr.bin/calendar/io.c
106
static void cal_desc_addline(struct cal_desc *desc, const char *line);
usr.bin/calendar/io.c
112
skip_comment(char *line, int *comment)
usr.bin/calendar/io.c
117
*line = '\0';
usr.bin/calendar/io.c
119
return line;
usr.bin/calendar/io.c
121
for (p = line, pp = p + 1; *p; p++, pp = p + 1) {
usr.bin/calendar/io.c
127
*line = '\0';
usr.bin/calendar/io.c
128
return line;
usr.bin/calendar/io.c
131
for (p = line, pp = p + 1; *p; p++, pp = p + 1) {
usr.bin/calendar/io.c
142
return line;
usr.bin/calendar/io.c
145
return line;
usr.bin/calendar/io.c
170
process_token(char *line, bool *skip)
usr.bin/calendar/io.c
174
if (strcmp(line, "#endif") == 0) {
usr.bin/calendar/io.c
182
if (string_startswith(line, "#include ") ||
usr.bin/calendar/io.c
183
string_startswith(line, "#include\t")) {
usr.bin/calendar/io.c
184
walk = triml(line + sizeof("#include"));
usr.bin/calendar/io.c
231
} else if (string_startswith(line, "#define ") ||
usr.bin/calendar/io.c
232
string_startswith(line, "#define\t")) {
usr.bin/calendar/io.c
233
walk = triml(line + sizeof("#define"));
usr.bin/calendar/io.c
244
} else if (string_startswith(line, "#ifndef ") ||
usr.bin/calendar/io.c
245
string_startswith(line, "#ifndef\t")) {
usr.bin/calendar/io.c
246
walk = triml(line + sizeof("#ifndef"));
usr.bin/calendar/io.c
258
warnx("Unknown token line: |%s|", line);
usr.bin/calendar/io.c
277
struct cal_line *line;
usr.bin/calendar/io.c
365
for (line = desc->firstline; line; line = line->next)
usr.bin/calendar/io.c
366
DPRINTF3("\t|%s|\n", line->str);
usr.bin/calendar/io.c
412
free(cfile.line);
usr.bin/calendar/io.c
506
if (getline(&cfile->line, &cfile->line_cap, cfile->fp) <= 0)
usr.bin/calendar/io.c
509
return cfile->line;
usr.bin/calendar/io.c
520
memcpy(cfile->nextline, cfile->line, cfile->line_cap);
usr.bin/calendar/io.c
526
is_variable_entry(char *line, char **value)
usr.bin/calendar/io.c
530
if (line == NULL)
usr.bin/calendar/io.c
532
if (!(*line == '_' || isalpha((unsigned int)*line)))
usr.bin/calendar/io.c
534
if ((eq = strchr(line, '=')) == NULL)
usr.bin/calendar/io.c
536
for (p = line+1; p < eq; p++) {
usr.bin/calendar/io.c
549
is_date_entry(char *line, char **content)
usr.bin/calendar/io.c
553
if (*line == '\t')
usr.bin/calendar/io.c
555
if ((p = strchr(line, '\t')) == NULL)
usr.bin/calendar/io.c
585
struct cal_line *line;
usr.bin/calendar/io.c
589
while ((line = desc->firstline) != NULL) {
usr.bin/calendar/io.c
591
free(line->str);
usr.bin/calendar/io.c
592
free(line);
usr.bin/calendar/io.c
599
cal_desc_addline(struct cal_desc *desc, const char *line)
usr.bin/calendar/io.c
604
cline->str = xstrdup(line);
usr.bin/calendar/io.c
80
char *line; /* line string read from file */
usr.bin/calendar/io.c
92
static bool process_token(char *line, bool *skip);
usr.bin/calendar/io.c
94
static char *skip_comment(char *line, int *comment);
usr.bin/chat/chat.c
397
static char line[1024];
usr.bin/chat/chat.c
408
vfmtmsg(line, sizeof(line), fmt, args);
usr.bin/chat/chat.c
410
syslog(LOG_INFO, "%s", line);
usr.bin/chat/chat.c
412
fprintf(stderr, "%s\n", line);
usr.bin/chat/chat.c
425
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
196
int line;
usr.bin/chpass/edit.c
214
for (line = 1; (buf = fgetln(fp, &len)) != NULL; ++line) {
usr.bin/chpass/edit.c
222
tfn, line);
usr.bin/chpass/edit.c
237
warnx("%s: line %d corrupted", tfn, line);
usr.bin/chpass/edit.c
66
char *line;
usr.bin/chpass/edit.c
85
if ((line = fgetln(stdin, &len)) == NULL) {
usr.bin/chpass/edit.c
89
if (len > 0 && (*line == 'N' || *line == 'n'))
usr.bin/cmp/misc.c
54
diffmsg(const char *file1, const char *file2, off_t byte, off_t line)
usr.bin/cmp/misc.c
58
file1, file2, (intmax_t)byte, (intmax_t)line);
usr.bin/cmp/regular.c
106
for (byte = line = 1; length--; ++byte) {
usr.bin/cmp/regular.c
117
diffmsg(file1, file2, byte, line);
usr.bin/cmp/regular.c
121
++line;
usr.bin/cmp/regular.c
61
off_t byte, length, line;
usr.bin/cmp/special.c
49
off_t byte, line;
usr.bin/cmp/special.c
66
for (byte = line = 1;; ++byte) {
usr.bin/cmp/special.c
81
diffmsg(file1, file2, byte, line);
usr.bin/cmp/special.c
86
++line;
usr.bin/col/col.c
567
dowarn(int line)
usr.bin/col/col.c
571
line < 0 ? "past first line" : "-- line already flushed");
usr.bin/crunch/crunchgen/crunchgen.c
1206
char realsrcdir[MAXPATHLEN], line[MAXPATHLEN];
usr.bin/crunch/crunchgen/crunchgen.c
1219
snprintf(line, sizeof line, "%s/%s", objprefix, realsrcdir);
usr.bin/crunch/crunchgen/crunchgen.c
1220
if (is_dir(line)) {
usr.bin/crunch/crunchgen/crunchgen.c
1221
if ((objdir = strdup(line)) == NULL)
usr.bin/crunch/crunchgen/crunchgen.c
288
char line[MAXLINELEN];
usr.bin/crunch/crunchgen/crunchgen.c
290
snprintf(line, sizeof(line), "reading %s", filename);
usr.bin/crunch/crunchgen/crunchgen.c
291
status(line);
usr.bin/crunch/crunchgen/crunchgen.c
301
while (fgets(line, MAXLINELEN, cf) != NULL) {
usr.bin/crunch/crunchgen/crunchgen.c
303
parse_line(line, &fieldc, fieldv, MAXFIELDS);
usr.bin/crunch/crunchgen/crunchgen.c
668
char line[MAXLINELEN];
usr.bin/crunch/crunchgen/crunchgen.c
670
snprintf(line, MAXLINELEN, "filling in parms for %s", p->name);
usr.bin/crunch/crunchgen/crunchgen.c
671
status(line);
usr.bin/crunch/crunchgen/crunchgen.c
693
snprintf(line, sizeof line, "%s/%s", objprefix, p->realsrcdir);
usr.bin/crunch/crunchgen/crunchgen.c
694
if (is_dir(line)) {
usr.bin/crunch/crunchgen/crunchgen.c
695
if ((p->objdir = strdup(line)) == NULL)
usr.bin/crunch/crunchgen/crunchgen.c
708
snprintf(line, MAXLINELEN, "Using %s for %s", path, p->name);
usr.bin/crunch/crunchgen/crunchgen.c
709
status(line);
usr.bin/crunch/crunchgen/crunchgen.c
737
char line[MAXLINELEN];
usr.bin/crunch/crunchgen/crunchgen.c
777
snprintf(line, MAXLINELEN, "cd %s && %s -f %s -B crunchgen_objs",
usr.bin/crunch/crunchgen/crunchgen.c
779
if ((f = popen(line, "r")) == NULL) {
usr.bin/crunch/crunchgen/crunchgen.c
786
while (fgets(line, MAXLINELEN, f)) {
usr.bin/crunch/crunchgen/crunchgen.c
787
if (strncmp(line, "OBJS= ", 6)) {
usr.bin/crunch/crunchgen/crunchgen.c
788
warnx("make error: %s", line);
usr.bin/crunch/crunchgen/crunchgen.c
793
cp = line + 6;
usr.bin/crunch/crunchgen/crunchgen.c
844
char line[MAXLINELEN];
usr.bin/crunch/crunchgen/crunchgen.c
846
snprintf(line, MAXLINELEN, "generating %s", cachename);
usr.bin/crunch/crunchgen/crunchgen.c
847
status(line);
usr.bin/crunch/crunchgen/crunchgen.c
886
char line[MAXLINELEN];
usr.bin/crunch/crunchgen/crunchgen.c
888
snprintf(line, MAXLINELEN, "generating %s", outmkname);
usr.bin/crunch/crunchgen/crunchgen.c
889
status(line);
usr.bin/crunch/crunchgen/crunchgen.c
926
char line[MAXLINELEN];
usr.bin/crunch/crunchgen/crunchgen.c
928
snprintf(line, MAXLINELEN, "generating %s", outcfname);
usr.bin/crunch/crunchgen/crunchgen.c
929
status(line);
usr.bin/dc/bcode.c
938
bexec(char *line)
usr.bin/dc/bcode.c
940
system(line);
usr.bin/dc/bcode.c
941
free(line);
usr.bin/diff/diffreg.c
188
static void equiv(struct line *, int, struct line *, int, int *);
usr.bin/diff/diffreg.c
190
static void unsort(struct line *, int, int *);
usr.bin/diff/diffreg.c
192
static void sort(struct line *, int);
usr.bin/diff/diffreg.c
221
static struct line *sfile[2]; /* shortened by pruning common prefix/suffix */
usr.bin/diff/diffreg.c
500
struct line *p;
usr.bin/diff/diffreg.c
544
equiv(struct line *a, int n, struct line *b, int m, int *c)
usr.bin/diff/diffreg.c
795
sort(struct line *a, int n)
usr.bin/diff/diffreg.c
797
struct line *ai, *aim, w;
usr.bin/diff/diffreg.c
827
unsort(struct line *f, int l, int *b)
usr.bin/diff/diffreg.c
925
char *line;
usr.bin/diff/diffreg.c
928
line = xmalloc(rlen + 1);
usr.bin/diff/diffreg.c
929
if ((nr = pread(fd, line, rlen, off)) == -1)
usr.bin/diff/diffreg.c
931
if (nr > 0 && line[nr-1] == '\n')
usr.bin/diff/diffreg.c
933
line[nr] = '\0';
usr.bin/diff/diffreg.c
934
return (line);
usr.bin/diff/diffreg.c
938
ignoreline(char *line)
usr.bin/diff/diffreg.c
942
ret = regexec(&ignore_re, line, 0, NULL, 0);
usr.bin/diff/diffreg.c
943
free(line);
usr.bin/diff/diffreg.c
965
char *line;
usr.bin/diff/diffreg.c
973
line = preadline(fileno(f1),
usr.bin/diff/diffreg.c
975
if (!ignoreline(line))
usr.bin/diff/diffreg.c
981
line = preadline(fileno(f2),
usr.bin/diff/diffreg.c
983
if (!ignoreline(line))
usr.bin/dsynth/dsynth.h
596
void _dfatal(const char *file, int line, const char *func, int do_errno,
usr.bin/dsynth/pkglist.c
1044
line = 1;
usr.bin/dsynth/pkglist.c
1048
bulk->s1, bulk->s2, line);
usr.bin/dsynth/pkglist.c
1052
switch(line) {
usr.bin/dsynth/pkglist.c
1111
++line;
usr.bin/dsynth/pkglist.c
1113
if (line == 1) {
usr.bin/dsynth/pkglist.c
1116
} else if (line != 17 + 1) {
usr.bin/dsynth/pkglist.c
1250
int line;
usr.bin/dsynth/pkglist.c
1277
line = 1;
usr.bin/dsynth/pkglist.c
1281
bulk->s1, bulk->s2, line);
usr.bin/dsynth/pkglist.c
1285
switch(line) {
usr.bin/dsynth/pkglist.c
1293
++line;
usr.bin/dsynth/pkglist.c
1295
if (line == 1) {
usr.bin/dsynth/pkglist.c
1297
} else if (line != 1 + 1) {
usr.bin/dsynth/pkglist.c
972
int line;
usr.bin/dsynth/subs.c
71
_dfatal(const char *file __unused, int line __unused, const char *func,
usr.bin/evtranalyze/evtranalyze.c
1045
basename(tmpbuf), ev.line);
usr.bin/evtranalyze/evtranalyze.c
1050
basename(tmpbuf), ev.line);
usr.bin/evtranalyze/svg.c
241
svg_line_init(struct svg_line *line, const char *cl)
usr.bin/evtranalyze/svg.c
243
xml_elem_init(&line->el, "line");
usr.bin/evtranalyze/svg.c
244
xml_attribute_init(&line->x1, "x1", NULL);
usr.bin/evtranalyze/svg.c
245
xml_elem_set_attribute(&line->el, &line->x1);
usr.bin/evtranalyze/svg.c
246
xml_attribute_init(&line->x2, "x2", NULL);
usr.bin/evtranalyze/svg.c
247
xml_elem_set_attribute(&line->el, &line->x2);
usr.bin/evtranalyze/svg.c
248
xml_attribute_init(&line->y1, "y1", NULL);
usr.bin/evtranalyze/svg.c
249
xml_elem_set_attribute(&line->el, &line->y1);
usr.bin/evtranalyze/svg.c
250
xml_attribute_init(&line->y2, "y2", NULL);
usr.bin/evtranalyze/svg.c
251
xml_elem_set_attribute(&line->el, &line->y2);
usr.bin/evtranalyze/svg.c
253
xml_attribute_init(&line->transform, "transform", NULL);
usr.bin/evtranalyze/svg.c
254
xml_elem_set_attribute(&line->el, &line->transform);
usr.bin/evtranalyze/svg.c
257
xml_attribute_init(&line->cl, "class", cl);
usr.bin/evtranalyze/svg.c
258
xml_elem_set_attribute(&line->el, &line->cl);
usr.bin/evtranalyze/svg.c
266
svg_line_t line;
usr.bin/evtranalyze/svg.c
268
if (!(line = malloc(sizeof(*line))))
usr.bin/evtranalyze/svg.c
269
return line;
usr.bin/evtranalyze/svg.c
270
svg_line_init(line, cl);
usr.bin/evtranalyze/svg.c
271
return line;
usr.bin/evtranalyze/svg.c
275
svg_line_draw(svg_document_t doc, svg_line_t line, double x1, double _y1,
usr.bin/evtranalyze/svg.c
278
snprintf(&line->x1_val[0], sizeof(line->x1_val), "%.20lf", x1);
usr.bin/evtranalyze/svg.c
279
xml_attribute_set_value(&line->x1, &line->x1_val[0]);
usr.bin/evtranalyze/svg.c
281
snprintf(&line->x2_val[0], sizeof(line->x2_val), "%.20lf", x2);
usr.bin/evtranalyze/svg.c
282
xml_attribute_set_value(&line->x2, &line->x2_val[0]);
usr.bin/evtranalyze/svg.c
284
snprintf(&line->y1_val[0], sizeof(line->y1_val), "%.10lf", _y1);
usr.bin/evtranalyze/svg.c
285
xml_attribute_set_value(&line->y1, &line->y1_val[0]);
usr.bin/evtranalyze/svg.c
287
snprintf(&line->y2_val[0], sizeof(line->y2_val), "%.20lf", y2);
usr.bin/evtranalyze/svg.c
288
xml_attribute_set_value(&line->y2, &line->y2_val[0]);
usr.bin/evtranalyze/svg.c
290
xml_attribute_set_value(&line->transform, &line->transform_val[0]);
usr.bin/evtranalyze/svg.c
292
&line->transform_val[0],
usr.bin/evtranalyze/svg.c
293
sizeof(line->transform_val)))
usr.bin/evtranalyze/svg.c
295
xml_elem_closed(doc->xml, &line->el);
usr.bin/finger/util.c
143
strlcpy(w->tty, ep->line, sizeof(w->tty));
usr.bin/fmt/fmt.c
401
wchar_t *line;
usr.bin/fmt/fmt.c
405
while ((line=get_line(stream,&length)) != NULL) {
usr.bin/fmt/fmt.c
406
size_t np=indent_length(line, length);
usr.bin/fmt/fmt.c
409
if (np==0 && might_be_header(line))
usr.bin/fmt/fmt.c
424
|| (line[0]=='.' && !format_troff)
usr.bin/fmt/fmt.c
435
if (length==0 || (line[0]=='.' && !format_troff)) {
usr.bin/fmt/fmt.c
439
wprintf(L"%.*ls\n", (int)length, line);
usr.bin/fmt/fmt.c
458
while (n+word_length < length && line[n+word_length] != ' ')
usr.bin/fmt/fmt.c
461
while (n+space_length < length && line[n+space_length] == ' ')
usr.bin/fmt/fmt.c
465
line+n, word_length, space_length-word_length);
usr.bin/fmt/fmt.c
478
indent_length(const wchar_t *line, size_t length) {
usr.bin/fmt/fmt.c
480
while (n<length && *line++ == ' ') ++n;
usr.bin/fmt/fmt.c
491
might_be_header(const wchar_t *line) {
usr.bin/fmt/fmt.c
492
if (!iswupper(*line++)) return 0;
usr.bin/fmt/fmt.c
493
while (*line && (iswalnum(*line) || *line=='-')) ++line;
usr.bin/fmt/fmt.c
494
return (*line==':' && iswspace(line[1]));
usr.bin/fmt/fmt.c
599
wchar_t *line, *p;
usr.bin/fmt/fmt.c
603
while ((line=get_line(stream, &length)) != NULL) {
usr.bin/fmt/fmt.c
605
while (l>0 && iswspace(*line)) { ++line; --l; }
usr.bin/fmt/fmt.c
607
for (p = line, width = 0; p < &line[length]; p++)
usr.bin/fmt/fmt.c
611
wprintf(L"%.*ls\n", (int)length, line);
usr.bin/from/from.c
132
match(char *line, char *sender)
usr.bin/from/from.c
137
if (isspace(ch = *line))
usr.bin/from/from.c
139
++line;
usr.bin/from/from.c
143
for (p = sender, t = line;;) {
usr.bin/gcore/elfcore.c
376
char line[256];
usr.bin/gcore/elfcore.c
421
if ((n = read(fd, line, sizeof line - 1)) == -1)
usr.bin/gcore/elfcore.c
425
for (i = 0; i < n && line[i] != ' '; i++)
usr.bin/gcore/elfcore.c
426
psinfo->pr_fname[i] = line[i];
usr.bin/indent/args.c
332
char line[BUFSIZ];
usr.bin/indent/args.c
338
while ((fgets(line, BUFSIZ, file)) != NULL) {
usr.bin/indent/args.c
340
line[strcspn(line, " \t\n\r")] = '\0';
usr.bin/indent/args.c
341
add_typename(line);
usr.bin/join/join.c
316
if ((lp->line =
usr.bin/join/join.c
317
realloc(lp->line, lp->linealloc)) == NULL)
usr.bin/join/join.c
320
memmove(lp->line, bp, len);
usr.bin/join/join.c
324
lp->line[len - 1] = '\0';
usr.bin/join/join.c
326
lp->line[len] = '\0';
usr.bin/join/join.c
327
bp = lp->line;
usr.bin/join/join.c
57
char *line; /* line */
usr.bin/ktrdump/ktrdump.c
365
ev.line = 0;
usr.bin/ktrdump/ktrdump.c
659
ev.line = entry->ktr_line;
usr.bin/lam/lam.c
171
strlcpy(lp, ip->sepstring, line + sizeof(line) - lp);
usr.bin/lam/lam.c
174
snprintf(lp, line + sizeof(line) - lp, ip->format, "");
usr.bin/lam/lam.c
202
strlcpy(lp, ip->sepstring, line + sizeof(line) - lp);
usr.bin/lam/lam.c
204
snprintf(lp, line + sizeof(line) - lp, ip->format, s);
usr.bin/lam/lam.c
60
char line[BIGBUFSIZ];
usr.bin/lam/lam.c
77
linep = line;
usr.bin/lam/lam.c
82
fputs(line, stdout);
usr.bin/logger/logger.c
164
char *line;
usr.bin/logger/logger.c
203
if ((len = asprintf(&line, "<%d>%s", pri, buf)) == -1)
usr.bin/logger/logger.c
207
lsent = sendto(socks[i].sock, line, len, 0,
usr.bin/logger/logger.c
216
free(line);
usr.bin/m4/main.c
143
unsigned long line;
usr.bin/m4/main.c
599
t[lev].line = CURRENT_LINE;
usr.bin/m4/main.c
614
t[i].name, t[i].line);
usr.bin/mail/head.c
89
parse(char *line, struct headline *hl, char *pbuf)
usr.bin/mail/head.c
97
cp = line;
usr.bin/mail/list.c
380
getrawlist(char *line, char **argv, int argc)
usr.bin/mail/list.c
391
cp = line;
usr.bin/mail/names.c
83
extract(char *line, int ntype)
usr.bin/mail/names.c
88
if (line == NULL || *line == '\0')
usr.bin/mail/names.c
90
if ((nbuf = malloc(strlen(line) + 1)) == NULL)
usr.bin/mail/names.c
94
cp = line;
usr.bin/mail/send.c
102
} else if (infld && (line[0] == ' ' || line[0] == '\t')) {
usr.bin/mail/send.c
113
for (cp = line; (c = *cp++) != '\0' && c != ':' &&
usr.bin/mail/send.c
140
if (doign && isign(line, doign))
usr.bin/mail/send.c
142
else if ((line[0] == 's' || line[0] == 'S') &&
usr.bin/mail/send.c
143
strcasecmp(line, "status") == 0) {
usr.bin/mail/send.c
172
fwrite(line, sizeof(*line), length, obuf);
usr.bin/mail/send.c
184
if (fgets(line, sizeof(line), ibuf) == NULL) {
usr.bin/mail/send.c
188
count -= c = strlen(line);
usr.bin/mail/send.c
198
fwrite(line, sizeof(*line), c, obuf);
usr.bin/mail/send.c
205
if ((c = fread(line, sizeof(*line), c, ibuf)) <= 0)
usr.bin/mail/send.c
208
if (fwrite(line, sizeof(*line), c, obuf) != c)
usr.bin/mail/send.c
211
if (doign == ignoreall && c > 0 && line[c - 1] != '\n')
usr.bin/mail/send.c
55
char *cp, *cp2, line[LINESIZE];
usr.bin/mail/send.c
79
if (fgets(line, sizeof(line), ibuf) == NULL)
usr.bin/mail/send.c
81
count -= length = strlen(line);
usr.bin/mail/send.c
89
} else if (line[0] == '\n') {
usr.bin/ministat/ministat.c
470
int line;
usr.bin/ministat/ministat.c
475
line = 0;
usr.bin/ministat/ministat.c
477
line++;
usr.bin/ministat/ministat.c
493
errx(2, "Invalid data on line %d in %s", line, n);
usr.bin/netstat/if.c
506
int line, cpu;
usr.bin/netstat/if.c
569
line = 0;
usr.bin/netstat/if.c
721
line++;
usr.bin/netstat/if.c
723
if (line == 21)
usr.bin/netstat/inet.c
930
char line[80], *cp;
usr.bin/netstat/inet.c
934
sprintf(line, "%s.", inetname(in));
usr.bin/netstat/inet.c
936
sprintf(line, "%.*s.", (Aflag && !num_port) ? 12 : 16, inetname(in));
usr.bin/netstat/inet.c
937
cp = strchr(line, '\0');
usr.bin/netstat/inet.c
946
printf("%-*s ", width, line);
usr.bin/netstat/inet.c
948
printf("%-*.*s ", width, width, line);
usr.bin/netstat/inet.c
960
static char line[MAXHOSTNAMELEN];
usr.bin/netstat/inet.c
983
strcpy(line, "*");
usr.bin/netstat/inet.c
985
strncpy(line, cp, sizeof(line) - 1);
usr.bin/netstat/inet.c
986
line[sizeof(line) - 1] = '\0';
usr.bin/netstat/inet.c
990
sprintf(line, "%u.%u.%u.%u", C(inp->s_addr >> 24),
usr.bin/netstat/inet.c
993
return (line);
usr.bin/netstat/inet6.c
1040
char line[80], *cp;
usr.bin/netstat/inet6.c
1043
sprintf(line, "%.*s.", Wflag ? 39 :
usr.bin/netstat/inet6.c
1045
cp = strchr(line, '\0');
usr.bin/netstat/inet6.c
1053
printf("%-*.*s ", width, width, line);
usr.bin/netstat/inet6.c
1066
static char line[50];
usr.bin/netstat/inet6.c
1090
strcpy(line, "*");
usr.bin/netstat/inet6.c
1092
strcpy(line, cp);
usr.bin/netstat/inet6.c
1094
sprintf(line, "%s",
usr.bin/netstat/inet6.c
1097
return (line);
usr.bin/netstat/route.c
1010
getnameinfo((struct sockaddr *)sa6, sa6->sin6_len, line, sizeof(line),
usr.bin/netstat/route.c
1014
sprintf(&line[strlen(line)], "/%d", masklen);
usr.bin/netstat/route.c
1016
return line;
usr.bin/netstat/route.c
1022
static char line[MAXHOSTNAMELEN];
usr.bin/netstat/route.c
1036
line, sizeof(line), NULL, 0, flag);
usr.bin/netstat/route.c
1038
return line;
usr.bin/netstat/route.c
838
static char line[MAXHOSTNAMELEN];
usr.bin/netstat/route.c
850
strncpy(line, cp, sizeof(line) - 1);
usr.bin/netstat/route.c
851
line[sizeof(line) - 1] = '\0';
usr.bin/netstat/route.c
855
sprintf(line, "%lu.%lu.%lu.%lu",
usr.bin/netstat/route.c
858
return (line);
usr.bin/netstat/route.c
909
static char line[MAXHOSTNAMELEN];
usr.bin/netstat/route.c
933
strncpy(line, cp, sizeof(line) - 1);
usr.bin/netstat/route.c
934
line[sizeof(line) - 1] = '\0';
usr.bin/netstat/route.c
938
sprintf(line, "%lu", C(i >> 24));
usr.bin/netstat/route.c
941
sprintf(line, "%lu.%lu",
usr.bin/netstat/route.c
945
sprintf(line, "%lu.%lu.%lu",
usr.bin/netstat/route.c
948
sprintf(line, "%lu.%lu.%lu.%lu",
usr.bin/netstat/route.c
952
domask(line + strlen(line), i, mask);
usr.bin/netstat/route.c
953
return (line);
usr.bin/netstat/route.c
960
static char line[MAXHOSTNAMELEN];
usr.bin/newkey/update.c
242
char line[256];
usr.bin/newkey/update.c
278
while (fgets(line, sizeof (line), rf)) {
usr.bin/newkey/update.c
279
if (err < 0 && match(line, name)) {
usr.bin/newkey/update.c
295
fputs(line, wf);
usr.bin/newkey/update.c
326
match(char *line, char *name)
usr.bin/newkey/update.c
331
return (strncmp(line, name, len) == 0 &&
usr.bin/newkey/update.c
332
(line[len] == ' ' || line[len] == '\t'));
usr.bin/nl/nl.c
271
int line; /* logical line number */
usr.bin/nl/nl.c
278
line = startnum;
usr.bin/nl/nl.c
296
line = startnum;
usr.bin/nl/nl.c
328
consumed = sprintf(intbuffer, format, width, line);
usr.bin/nl/nl.c
331
line += incr;
usr.bin/patch/inp.c
381
ifetch(LINENUM line, int whichbuf)
usr.bin/patch/inp.c
383
if (line < 1 || line > input_lines) {
usr.bin/patch/inp.c
385
say("No such line %ld in input file, ignoring\n", line);
usr.bin/patch/inp.c
391
return i_ptr[line];
usr.bin/patch/inp.c
393
LINENUM offline = line % lines_per_buf;
usr.bin/patch/inp.c
394
LINENUM baseline = line - offline;
usr.bin/patch/patch.c
1058
dump_line(LINENUM line, bool write_newline)
usr.bin/patch/patch.c
1062
s = ifetch(line, 0);
usr.bin/patch/patch.c
806
const char *line = pfetch(i);
usr.bin/patch/patch.c
808
len = strlen(line);
usr.bin/patch/patch.c
810
fprintf(rejfp, "%c%s", ch, line);
usr.bin/patch/patch.c
811
if (len == 0 || line[len - 1] != '\n') {
usr.bin/patch/pch.c
1222
char *line;
usr.bin/patch/pch.c
1226
line = fgetln(pfp, &len);
usr.bin/patch/pch.c
1227
if (line != NULL) {
usr.bin/patch/pch.c
1238
indent < p_indent && (*line == ' ' || *line == '\t' || *line == 'X');
usr.bin/patch/pch.c
1239
line++, skipped++) {
usr.bin/patch/pch.c
1240
if (*line == '\t')
usr.bin/patch/pch.c
1246
memcpy(buf, line, len - skipped);
usr.bin/patch/pch.c
1418
pch_line_len(LINENUM line)
usr.bin/patch/pch.c
1420
return p_len[line];
usr.bin/patch/pch.c
1427
pch_char(LINENUM line)
usr.bin/patch/pch.c
1429
return p_char[line];
usr.bin/patch/pch.c
1436
pfetch(LINENUM line)
usr.bin/patch/pch.c
1438
return p_line[line];
usr.bin/pkill/pkill.c
804
char *endp, line[BUFSIZ];
usr.bin/pkill/pkill.c
828
if (fgets(line, sizeof(line), fh) == NULL) {
usr.bin/pkill/pkill.c
838
rval = strtol(line, &endp, 10);
usr.bin/pr/pr.c
1387
addnum(char *buf, int wdth, int line)
usr.bin/pr/pr.c
1392
*--pt = digs[line % 10];
usr.bin/pr/pr.c
1393
line /= 10;
usr.bin/pr/pr.c
1394
} while (line && (pt > buf));
usr.bin/rpcgen/rpc_scan.c
437
cppline(char *line)
usr.bin/rpcgen/rpc_scan.c
439
return(line == curline && *line == '#');
usr.bin/rpcgen/rpc_scan.c
443
directive(char *line)
usr.bin/rpcgen/rpc_scan.c
445
return(line == curline && *line == '%');
usr.bin/rpcgen/rpc_scan.c
449
printdirective(char *line)
usr.bin/rpcgen/rpc_scan.c
451
f_print(fout, "%s", line + 1);
usr.bin/rpcgen/rpc_scan.c
455
docppline(char *line, int *lineno, const char **fname)
usr.bin/rpcgen/rpc_scan.c
461
line++;
usr.bin/rpcgen/rpc_scan.c
462
while (isspace(*line))
usr.bin/rpcgen/rpc_scan.c
463
line++;
usr.bin/rpcgen/rpc_scan.c
464
num = atoi(line);
usr.bin/rpcgen/rpc_scan.c
465
while (isdigit(*line))
usr.bin/rpcgen/rpc_scan.c
466
line++;
usr.bin/rpcgen/rpc_scan.c
467
while (isspace(*line))
usr.bin/rpcgen/rpc_scan.c
468
line++;
usr.bin/rpcgen/rpc_scan.c
469
if (*line != '"')
usr.bin/rpcgen/rpc_scan.c
471
line++;
usr.bin/rpcgen/rpc_scan.c
472
p = file = xmalloc(strlen(line) + 1);
usr.bin/rpcgen/rpc_scan.c
473
while (*line && *line != '"')
usr.bin/rpcgen/rpc_scan.c
474
*p++ = *line++;
usr.bin/rpcgen/rpc_scan.c
475
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
walk = line + 3;
usr.bin/soelim/soelim.c
102
printf("%s", line);
usr.bin/soelim/soelim.c
113
if (cp < line + linelen)
usr.bin/soelim/soelim.c
117
printf("%s", line);
usr.bin/soelim/soelim.c
121
free(line);
usr.bin/soelim/soelim.c
128
free(line);
usr.bin/soelim/soelim.c
86
char *line = NULL;
usr.bin/soelim/soelim.c
94
while ((linelen = getline(&line, &linecap, f)) > 0) {
usr.bin/soelim/soelim.c
95
if (strncmp(line, ".so", 3) != 0) {
usr.bin/soelim/soelim.c
96
printf("%s", line);
usr.bin/sort/file.c
900
struct bwstring *line;
usr.bin/sort/file.c
909
line = file_reader_readline((*fh)->fr);
usr.bin/sort/file.c
910
if (line == NULL) {
usr.bin/sort/file.c
916
sort_list_item_set((*fh)->si, line);
usr.bin/sort/sort.c
248
char *line = NULL;
usr.bin/sort/sort.c
259
while ((linelen = getdelim(&line, &linesize, '\0', f)) != -1) {
usr.bin/sort/sort.c
260
if (*line != '\0') {
usr.bin/sort/sort.c
268
argv_from_file0[argc_from_file0 - 1] = line;
usr.bin/sort/sort.c
270
free(line);
usr.bin/sort/sort.c
272
line = NULL;
usr.bin/strfile/strfile.h
39
#define STR_ENDSTRING(line,tbl) \
usr.bin/strfile/strfile.h
40
(((unsigned char)(line)[0]) == (tbl).str_delim && (line)[1] == '\n')
usr.bin/systat/keyboard.c
104
line[col] = ch;
usr.bin/systat/keyboard.c
109
line[col] = '\0';
usr.bin/systat/keyboard.c
111
command(line + 1);
usr.bin/systat/keyboard.c
44
char ch, line[80];
usr.bin/systat/keyboard.c
79
if (col == 1 && line[0] == ':')
usr.bin/systat/keyboard.c
85
while (--col >= 0 && isspace(line[col]))
usr.bin/systat/keyboard.c
88
while (--col >= 0 && !isspace(line[col]))
usr.bin/systat/keyboard.c
89
if (col == 0 && line[0] == ':')
usr.bin/systat/keyboard.c
96
if (line[0] == ':')
usr.bin/systat/netstat.c
392
char line[80], *cp;
usr.bin/systat/netstat.c
394
snprintf(line, sizeof(line), "%.*s.", 16, inetname(*in));
usr.bin/systat/netstat.c
395
cp = strchr(line, '\0');
usr.bin/systat/netstat.c
399
snprintf(cp, sizeof(line) - (cp - line), "%.8s",
usr.bin/systat/netstat.c
402
snprintf(cp, sizeof(line) - (cp - line), "%d",
usr.bin/systat/netstat.c
405
cp = strchr(line, '\0');
usr.bin/systat/netstat.c
406
while (cp - line < 22)
usr.bin/systat/netstat.c
408
line[22] = '\0';
usr.bin/systat/netstat.c
409
waddstr(wnd, line);
usr.bin/systat/netstat.c
421
static char line[50];
usr.bin/systat/netstat.c
441
strcpy(line, "*");
usr.bin/systat/netstat.c
443
snprintf(line, sizeof(line), "%s", cp);
usr.bin/systat/netstat.c
447
snprintf(line, sizeof(line), "%u.%u.%u.%u", C(in.s_addr >> 24),
usr.bin/systat/netstat.c
450
return (line);
usr.bin/talk/display.c
170
readwin(WINDOW *win, int line, int col)
usr.bin/talk/display.c
176
wmove(win, line, col);
usr.bin/telnet/commands.c
117
static char line[256];
usr.bin/telnet/commands.c
129
cp = line;
usr.bin/telnet/commands.c
131
strcpy(saveline, line); /* save for shell command */
usr.bin/telnet/commands.c
2126
(void) strlcpy(line, "open ", sizeof(line));
usr.bin/telnet/commands.c
2128
(void) fgets(&line[strlen(line)], sizeof(line) - strlen(line), stdin);
usr.bin/telnet/commands.c
2540
cp = line;
usr.bin/telnet/commands.c
2544
if (cp == line || *--cp != '\n' || cp == line)
usr.bin/telnet/commands.c
2548
printf("%s\n", line);
usr.bin/telnet/commands.c
2553
if (fgets(line, sizeof(line), stdin) == NULL) {
usr.bin/telnet/commands.c
2561
if (line[0] == 0)
usr.bin/telnet/commands.c
2636
char temp[sizeof(line)];
usr.bin/telnet/commands.c
2659
if (fgets(line, sizeof(line), rcfile) == NULL)
usr.bin/telnet/commands.c
2661
if (line[0] == 0)
usr.bin/telnet/commands.c
2663
if (line[0] == '#')
usr.bin/telnet/commands.c
2666
if (!isspace(line[0]))
usr.bin/telnet/commands.c
2670
if (isspace(line[0]))
usr.bin/telnet/commands.c
2672
if (strncasecmp(line, m1, l1) == 0) {
usr.bin/telnet/commands.c
2673
strncpy(temp, &line[l1], sizeof(line) - l1);
usr.bin/telnet/commands.c
2674
strncpy(line, temp, sizeof(line) - l1);
usr.bin/telnet/commands.c
2675
} else if (strncasecmp(line, m2, l2) == 0) {
usr.bin/telnet/commands.c
2676
strncpy(temp, &line[l2], sizeof(line) - l2);
usr.bin/telnet/commands.c
2677
strncpy(line, temp, sizeof(line) - l2);
usr.bin/telnet/commands.c
2678
} else if (strncasecmp(line, "DEFAULT", 7) == 0) {
usr.bin/telnet/commands.c
2679
strncpy(temp, &line[7], sizeof(line) - 7);
usr.bin/telnet/commands.c
2680
strncpy(line, temp, sizeof(line) - 7);
usr.bin/telnet/commands.c
2683
if (line[0] != ' ' && line[0] != '\t' && line[0] != '\n')
usr.bin/telnet/telnet.c
110
char line[16]; /* hack around breakage in sra.c :-( !! */
usr.bin/tftp/main.c
232
strcpy(line, "Connect ");
usr.bin/tftp/main.c
234
fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
usr.bin/tftp/main.c
329
strcpy(line, "send ");
usr.bin/tftp/main.c
331
fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
usr.bin/tftp/main.c
410
strcpy(line, "get ");
usr.bin/tftp/main.c
412
fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
usr.bin/tftp/main.c
484
strcpy(line, "Rexmt-timeout ");
usr.bin/tftp/main.c
486
fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
usr.bin/tftp/main.c
510
strcpy(line, "Maximum-timeout ");
usr.bin/tftp/main.c
512
fgets(&line[strlen(line)], sizeof line - strlen(line), stdin);
usr.bin/tftp/main.c
601
memcpy(line, bp, len);
usr.bin/tftp/main.c
602
line[len] = '\0';
usr.bin/tftp/main.c
605
if (fgets(line, sizeof line , stdin) == 0) {
usr.bin/tftp/main.c
613
if ((cp = strchr(line, '\n')))
usr.bin/tftp/main.c
615
if (line[0] == 0)
usr.bin/tftp/main.c
672
if ((cp = strchr(line, '\n')))
usr.bin/tftp/main.c
674
for (cp = line; margc < MAX_MARGV -1 && *cp;) {
usr.bin/tftp/main.c
70
char line[MAXLINE];
usr.bin/tip/cmds.c
130
char line[BUFSIZ], *cp;
usr.bin/tip/cmds.c
145
(void)snprintf(line, sizeof(line), "cat %s ; echo \"\" ; echo ___tip_end_of_file_marker___", argv[0]);
usr.bin/tip/cmds.c
146
xfer(line, fd, "\n___tip_end_of_file_marker___\n");
usr.bin/tip/cmds.c
493
char line[BUFSIZ];
usr.bin/tip/cmds.c
511
snprintf(line, sizeof(line), "cat>%s\r", argv[1]);
usr.bin/tip/cmds.c
513
snprintf(line, sizeof(line), "stty -echo;cat>%s;stty echo\r", argv[1]);
usr.bin/tip/cmds.c
514
transmit(fd, "\04", line);
usr.bin/tip/tipout.c
64
char c, line[256];
usr.bin/tip/tipout.c
65
char *pline = line;
usr.bin/tip/tipout.c
69
while (c != '\n' && (size_t)(pline - line) < sizeof(line)) {
usr.bin/tip/tipout.c
76
if (pline == line) {
usr.bin/tip/tipout.c
80
if ((fscript = fopen(line, "a")) == NULL)
usr.bin/tip/unidialer.c
384
char line [80];
usr.bin/tip/unidialer.c
445
sprintf(line, "%d second dial timeout",
usr.bin/tip/unidialer.c
447
logent(value(HOST), num, modem_name, line);
usr.bin/top/display.c
1596
i_process(int line, char *thisline)
usr.bin/top/display.c
1603
display_write(0, y_procs + line, 0, 1, thisline);
usr.bin/top/display.c
1607
u_process(int line, char *new_line)
usr.bin/top/display.c
1610
i_process(line, new_line);
usr.bin/top/display.h
67
void i_process(int line, char *thisline);
usr.bin/top/utils.c
340
argparse(char *line, int *cntp)
usr.bin/top/utils.c
357
from = line;
usr.bin/top/utils.c
380
from = line;
usr.bin/units/units.c
119
char line[512], *lineptr;
usr.bin/units/units.c
153
if (!fgets(line, sizeof(line), unitfile))
usr.bin/units/units.c
156
lineptr = line;
usr.bin/usbhidaction/usbhidaction.c
281
int line;
usr.bin/usbhidaction/usbhidaction.c
294
for (line = 1; ; line++) {
usr.bin/usbhidaction/usbhidaction.c
311
", syntax error: %s", conf, line, buf);
usr.bin/usbhidaction/usbhidaction.c
316
", syntax error: %s", conf, line, buf);
usr.bin/usbhidaction/usbhidaction.c
331
cmd->line = line;
usr.bin/usbhidaction/usbhidaction.c
342
conf, line, value);
usr.bin/usbhidaction/usbhidaction.c
348
conf, line, value);
usr.bin/usbhidaction/usbhidaction.c
358
conf, line, debounce);
usr.bin/usbhidaction/usbhidaction.c
364
conf, line, debounce);
usr.bin/usbhidaction/usbhidaction.c
435
"item not found: `%s'\n", conf, line, name);
usr.bin/usbhidaction/usbhidaction.c
440
"not found: `%s'\n", conf, line, name);
usr.bin/usbhidaction/usbhidaction.c
458
printf("PARSE:%d %s, %d, '%s'\n", cmd->line, name,
usr.bin/usbhidaction/usbhidaction.c
56
int line;
usr.bin/w/w.c
103
char line[UTX_LINESIZE + 1];
usr.bin/w/w.c
225
(void)memcpy(ep->line, utx->ut_line, sizeof(utx->ut_line));
usr.bin/w/w.c
228
ep->line[sizeof(utx->ut_line)] = '\0';
usr.bin/w/w.c
354
(*nextp) && strcmp(from->line, (*nextp)->line) > 0;
usr.bin/w/w.c
426
strncmp(ep->line, "tty", 3) &&
usr.bin/w/w.c
427
strncmp(ep->line, "cua", 3) ?
usr.bin/w/w.c
428
ep->line : ep->line + 3,
usr.bin/w/w.c
507
ttystat(char *line, int sz)
usr.bin/w/w.c
512
(void)snprintf(ttybuf, sizeof(ttybuf), "%s%.*s", _PATH_DEV, sz, line);
usr.bin/w/w.c
554
if ((max = strlen(ep->line)) > maxline)
usr.bin/w/w.c
562
if (!(stp = ttystat(ep->line, maxline)))
usr.bin/wall/ttymsg.c
56
ttymsg(struct iovec *iov, int iovcnt, const char *line, int tmout)
usr.bin/wall/ttymsg.c
71
strlcpy(p, line, sizeof(device));
usr.bin/wall/wall.c
147
if (ep->line[0] == ':' && isdigit((unsigned char)ep->line[1]))
usr.bin/wall/wall.c
150
if ((p = ttymsg(&iov, 1, ep->line, 60*5)) != NULL)
usr.bin/who/utmpentry.c
163
(*nextp) && strcmp(from->line, (*nextp)->line) > 0;
usr.bin/who/utmpentry.c
181
COMPILE_ASSERT(sizeof(e->line) > sizeof(up->ut_line));
usr.bin/who/utmpentry.c
194
snprintf(e->line, sizeof(e->line), "%.*s",
usr.bin/who/utmpentry.c
68
if ((max = strlen(e->line)) > maxline)
usr.bin/who/utmpentry.h
40
char line[WHO_LINE_LEN + 1];
usr.bin/who/who.c
245
if (strcmp(ep->line, p) == 0) {
usr.bin/who/who.c
275
print(ep->name, ep->line, (time_t)ep->tv.tv_sec, ep->host, ep->pid,
usr.bin/who/who.c
280
print(const char *name, const char *line, time_t t, const char *host,
usr.bin/who/who.c
303
if (stat(line, &sb) == 0) {
usr.bin/who/who.c
315
(void)printf("%-*.*s ", maxline, maxline, line);
usr.bin/window/cmd7.c
231
str_free(yp->line);
usr.bin/window/cmd7.c
259
if ((yp->line = str_alloc(yp->length + 1)) == NULL) {
usr.bin/window/cmd7.c
263
for (bp += c, cp = yp->line; --n >= 0;)
usr.bin/window/cmd7.c
280
(void) write(selwin->ww_pty, yp->line, yp->length);
usr.bin/window/cmd7.c
93
char *line;
usr.bin/write/write.c
136
strcmp(tty, ep->line) == 0) {
usr.bin/write/write.c
170
if (term_chk(ep->line, &msgsok, &atime, 0))
usr.bin/write/write.c
174
if (strcmp(ep->line, mytty) == 0) {
usr.bin/write/write.c
181
strlcpy(tty, ep->line, ttyl);
usr.bin/write/write.c
229
char path[MAXPATHLEN], host[MAXHOSTNAMELEN], line[512];
usr.bin/write/write.c
255
while (fgets(line, sizeof(line), stdin) != NULL)
usr.bin/write/write.c
256
wr_fputs(line);
usr.bin/wtmpcvt/wtmpcvt.c
69
if (MATCH(user, "reboot") && MATCH(line, "~")) {
usr.bin/wtmpcvt/wtmpcvt.c
72
COPY_STRING(line);
usr.bin/wtmpcvt/wtmpcvt.c
73
} else if (MATCH(user, "date") && MATCH(line, "|")) {
usr.bin/wtmpcvt/wtmpcvt.c
75
} else if (MATCH(user, "date") && MATCH(line, "{")) {
usr.bin/wtmpcvt/wtmpcvt.c
77
} else if (MATCH(user, "shutdown") && MATCH(line, "~")) {
usr.bin/wtmpcvt/wtmpcvt.c
80
COPY_STRING(line);
usr.bin/wtmpcvt/wtmpcvt.c
81
} else if (MATCH(user, "") && MATCH(host, "") && !MATCH(line, "")) {
usr.bin/wtmpcvt/wtmpcvt.c
84
} else if (!MATCH(user, "") && !MATCH(line, "") && ui->ut_time != 0) {
usr.bin/wtmpcvt/wtmpcvt.c
87
COPY_STRING(line);
usr.sbin/ac/ac.c
102
add_tty(const char *line)
usr.sbin/ac/ac.c
113
if (*line == '!') { /* don't do if match */
usr.sbin/ac/ac.c
115
line++;
usr.sbin/ac/ac.c
117
strlcpy(tp->line, line, sizeof(tp->line));
usr.sbin/ac/ac.c
119
if ((rcp = strchr(tp->line, '*')) != NULL) {
usr.sbin/ac/ac.c
122
tp->len = strlen(tp->line);
usr.sbin/ac/ac.c
131
do_tty(const char *line)
usr.sbin/ac/ac.c
140
if (strncmp(line, tp->line, tp->len) == 0)
usr.sbin/ac/ac.c
143
if (strncmp(line, tp->line, sizeof(tp->line)) == 0)
usr.sbin/ac/ac.c
160
if (strcmp(up->line, Console) == 0)
usr.sbin/ac/ac.c
398
memcpy(lp->line, up->ut_line, sizeof(lp->line));
usr.sbin/ac/ac.c
55
char line[sizeof(((struct utmpx *)0)->ut_line)];
usr.sbin/ac/ac.c
74
char line[sizeof(((struct utmpx *)0)->ut_line) + 2];
usr.sbin/arp/arp.c
226
char line[100], arg[5][50], *args[5], *p;
usr.sbin/arp/arp.c
236
while(fgets(line, 100, fp) != NULL) {
usr.sbin/arp/arp.c
237
if ((p = strchr(line, '#')) != NULL)
usr.sbin/arp/arp.c
239
for (p = line; isblank(*p); p++);
usr.sbin/arp/arp.c
245
warnx("bad line: %s", line);
usr.sbin/autofs/common.c
890
char *line = NULL, *key;
usr.sbin/autofs/common.c
897
linelen = getline(&line, &linecap, yyin);
usr.sbin/autofs/common.c
914
key = strndup(line, linelen - 1);
usr.sbin/autofs/common.c
920
free(line);
usr.sbin/bthcid/parser.y
73
config: line
usr.sbin/bthcid/parser.y
74
| config line
usr.sbin/bthcid/parser.y
77
line: T_DEVICE
usr.sbin/chkgrp/chkgrp.c
106
for (f[k] = line + i; (i < (int)len) && (line[i] != ':'); i++)
usr.sbin/chkgrp/chkgrp.c
108
if ((k < 3) && (line[i] != ':'))
usr.sbin/chkgrp/chkgrp.c
110
line[i++] = 0;
usr.sbin/chkgrp/chkgrp.c
57
char *line, *f[4], *p;
usr.sbin/chkgrp/chkgrp.c
80
if ((line = fgetln(gf, &len)) == NULL)
usr.sbin/chkgrp/chkgrp.c
82
if (len > 0 && line[len - 1] != '\n') {
usr.sbin/chkgrp/chkgrp.c
86
while (len && isspace(line[len - 1]))
usr.sbin/chkgrp/chkgrp.c
90
for (p = line; p < (line + len); p++)
usr.sbin/chkgrp/chkgrp.c
96
printf("%*.*s\n", len, len, line);
usr.sbin/config/main.c
274
static char line[80];
usr.sbin/config/main.c
297
cp = line;
usr.sbin/config/main.c
308
return(line);
usr.sbin/config/main.c
319
static char line[256];
usr.sbin/config/main.c
342
cp = line;
usr.sbin/config/main.c
352
line);
usr.sbin/config/main.c
370
return(line);
usr.sbin/config/mkmakefile.c
137
char line[BUFSIZ];
usr.sbin/config/mkmakefile.c
142
snprintf(line, sizeof(line), "../platform/%s/conf/Makefile",
usr.sbin/config/mkmakefile.c
144
ifp = fopen(line, "r");
usr.sbin/config/mkmakefile.c
146
snprintf(line, sizeof(line), "Makefile.%s", platformname);
usr.sbin/config/mkmakefile.c
147
ifp = fopen(line, "r");
usr.sbin/config/mkmakefile.c
150
err(1, "%s", line);
usr.sbin/config/mkmakefile.c
174
while (fgets(line, BUFSIZ, ifp) != 0) {
usr.sbin/config/mkmakefile.c
175
if (*line != '%') {
usr.sbin/config/mkmakefile.c
176
fprintf(ofp, "%s", line);
usr.sbin/config/mkmakefile.c
179
if (strcmp(line, "%BEFORE_DEPEND\n") == 0)
usr.sbin/config/mkmakefile.c
181
else if (strcmp(line, "%OBJS\n") == 0)
usr.sbin/config/mkmakefile.c
183
else if (strcmp(line, "%MFILES\n") == 0)
usr.sbin/config/mkmakefile.c
185
else if (strcmp(line, "%CFILES\n") == 0)
usr.sbin/config/mkmakefile.c
187
else if (strcmp(line, "%SFILES\n") == 0)
usr.sbin/config/mkmakefile.c
189
else if (strcmp(line, "%RULES\n") == 0)
usr.sbin/config/mkmakefile.c
191
else if (strcmp(line, "%CLEAN\n") == 0)
usr.sbin/config/mkmakefile.c
193
else if (strncmp(line, "%VERSREQ=", sizeof("%VERSREQ=") - 1) == 0) {
usr.sbin/config/mkmakefile.c
194
versreq = atoi(line + sizeof("%VERSREQ=") - 1);
usr.sbin/config/mkmakefile.c
211
line);
usr.sbin/cron/lib/misc.c
371
char line[MAX_TEMPSTR];
usr.sbin/cron/lib/misc.c
374
while (fgets(line, MAX_TEMPSTR, file)) {
usr.sbin/cron/lib/misc.c
375
if (line[0] != '\0')
usr.sbin/cron/lib/misc.c
376
if (line[strlen(line)-1] == '\n')
usr.sbin/cron/lib/misc.c
377
line[strlen(line)-1] = '\0';
usr.sbin/cron/lib/misc.c
378
if (0 == strcmp(line, string))
usr.sbin/dntpd/main.c
409
int line;
usr.sbin/dntpd/main.c
413
line = 1;
usr.sbin/dntpd/main.c
422
path, line);
usr.sbin/dntpd/main.c
427
logerr("%s:%d unknown keyword %s", path, line, keyword);
usr.sbin/dntpd/main.c
430
++line;
usr.sbin/inetd/inetd.c
1399
char line[LINE_MAX];
usr.sbin/inetd/inetd.c
1849
if (fgets(line, sizeof (line), fd) == NULL)
usr.sbin/inetd/inetd.c
1851
cp = strchr(line, '\n');
usr.sbin/inetd/inetd.c
1854
return (line);
usr.sbin/installer/dfuibe_installer/flow.c
1425
char line[256];
usr.sbin/installer/dfuibe_installer/flow.c
1440
while (fgets(line, 255, p) != NULL)
usr.sbin/installer/dfuibe_installer/flow.c
1441
line[strlen(line) - 1] = '\0';
usr.sbin/installer/dfuibe_installer/flow.c
1454
word = strtok(line, " \t");
usr.sbin/installer/dfuibe_installer/fn_configure.c
1173
char *filename, line[256];
usr.sbin/installer/dfuibe_installer/fn_configure.c
1320
while (fgets(line, 256, crypttab) != NULL) {
usr.sbin/installer/dfuibe_installer/fn_configure.c
1324
if (first_non_space_char_is(line, '#'))
usr.sbin/installer/dfuibe_installer/fn_configure.c
1326
if ((word = strtok(line, " \t")) == NULL)
usr.sbin/installer/dfuibe_installer/fn_configure.c
934
char line[256], buf[MAXHOSTNAMELEN];
usr.sbin/installer/dfuibe_installer/fn_configure.c
942
while (fgets(line, 255, p) != NULL)
usr.sbin/installer/dfuibe_installer/fn_configure.c
943
line[strlen(line) - 1] = '\0';
usr.sbin/installer/dfuibe_installer/fn_configure.c
957
word = strtok(line, " \t");
usr.sbin/installer/dfuibe_installer/fn_install.c
172
char line[256];
usr.sbin/installer/dfuibe_installer/fn_install.c
185
while(fgets(line, 256, sources_conf) != NULL && lines < 63) {
usr.sbin/installer/dfuibe_installer/fn_install.c
186
if(strlen(line)>0)
usr.sbin/installer/dfuibe_installer/fn_install.c
187
line[strlen(line)-1] = '\0';
usr.sbin/installer/dfuibe_installer/fn_install.c
188
strlcpy(cp_src[lines], line, 256);
usr.sbin/installer/dfuife_curses/curses_form.c
251
char *line;
usr.sbin/installer/dfuife_curses/curses_form.c
253
line = aura_malloc(width + 1, "descriptive line");
usr.sbin/installer/dfuife_curses/curses_form.c
255
done = extract_wrapped_line(text, line, width, &pos);
usr.sbin/installer/dfuife_curses/curses_form.c
257
line, done, width, cf->width);
usr.sbin/installer/dfuife_curses/curses_form.c
259
CURSES_LABEL, line, 0, CURSES_WIDGET_WIDEN);
usr.sbin/installer/dfuife_curses/curses_form.c
262
free(line);
usr.sbin/installer/dfuife_curses/curses_util.c
201
char line[80];
usr.sbin/installer/dfuife_curses/curses_util.c
211
while (fgets(line, 79, f) != NULL) {
usr.sbin/installer/dfuife_curses/curses_util.c
214
if (line[strlen(line) - 1] == '\n')
usr.sbin/installer/dfuife_curses/curses_util.c
215
line[strlen(line) - 1] = '\0';
usr.sbin/installer/dfuife_curses/curses_util.c
216
mvwaddnstr(w, row++, 0, line, mx);
usr.sbin/installer/dfuife_curses/curses_util.c
281
extract_wrapped_line(const char *text, char *line, int width, int *spos)
usr.sbin/installer/dfuife_curses/curses_util.c
294
line[dpos] = '\0';
usr.sbin/installer/dfuife_curses/curses_util.c
313
line[dpos++] = text[(*spos)++];
usr.sbin/installer/dfuife_curses/curses_util.c
320
line[dpos] = '\0';
usr.sbin/installer/dfuife_curses/curses_util.c
331
line[width - 1] = '\0';
usr.sbin/installer/dfuife_curses/curses_util.c
339
line[saved_dpos - 1] = '\0';
usr.sbin/installer/dfuife_curses/curses_util.c
343
line[dpos++] = ' ';
usr.sbin/installer/libaura/buffer.c
208
char *filename, line[1024];
usr.sbin/installer/libaura/buffer.c
220
while (fgets(line, 1023, f) != NULL) {
usr.sbin/installer/libaura/buffer.c
221
aura_buffer_cat(e, line);
usr.sbin/installer/libaura/buffer.c
236
char *command, line[1024];
usr.sbin/installer/libaura/buffer.c
248
while (fgets(line, 1023, p) != NULL) {
usr.sbin/installer/libaura/buffer.c
249
aura_buffer_cat(e, line);
usr.sbin/installer/libinstaller/confed.c
175
char *tmp_filename, line[1024], *value;
usr.sbin/installer/libinstaller/confed.c
220
while (fgets(line, sizeof(line), f) != NULL) {
usr.sbin/installer/libinstaller/confed.c
222
line[strcspn(line, "\n")] = '\0';
usr.sbin/installer/libinstaller/confed.c
224
for (value = line; *value != '=' && *value != '\0'; value++)
usr.sbin/installer/libinstaller/confed.c
229
config_var_set(cvs, line, value);
usr.sbin/installer/libinstaller/confed.c
246
char line[1024];
usr.sbin/installer/libinstaller/confed.c
254
while (fgets(line, sizeof(line), f) != NULL) {
usr.sbin/installer/libinstaller/confed.c
256
end = line + strlen(line);
usr.sbin/installer/libinstaller/confed.c
257
while (end > line && isspace((unsigned char)*(end - 1)))
usr.sbin/installer/libinstaller/confed.c
262
key = line;
usr.sbin/installer/libinstaller/diskutil.c
1006
while (fgets(line, 255, p) != NULL) {
usr.sbin/installer/libinstaller/diskutil.c
1007
if ((word = strtok(line, " \t")) == NULL)
usr.sbin/installer/libinstaller/diskutil.c
972
char line[256];
usr.sbin/installer/libinstaller/diskutil.c
978
while (fgets(line, 255, p) != NULL) {
usr.sbin/installer/libinstaller/diskutil.c
979
if ((word = strtok(line, " \t")) == NULL)
usr.sbin/installer/libinstaller/diskutil.c
998
char line[256];
usr.sbin/installer/libinstaller/functions.c
227
first_non_space_char_is(const char *line, char x)
usr.sbin/installer/libinstaller/functions.c
231
for (i = 0; line[i] != '\0'; i++) {
usr.sbin/installer/libinstaller/functions.c
232
if (isspace(line[i]))
usr.sbin/installer/libinstaller/functions.c
234
if (line[i] == x)
usr.sbin/installer/libinstaller/survey.c
110
parse_slice_info(char *line, int *slice,
usr.sbin/installer/libinstaller/survey.c
120
if ((word = strtok(line, " \t")) == NULL) /* 1: */
usr.sbin/installer/libinstaller/survey.c
148
char disks[256], line[256];
usr.sbin/installer/libinstaller/survey.c
302
while (!failure && fgets_chomp(line, 255, f)) {
usr.sbin/installer/libinstaller/survey.c
303
if (strcmp(line, "@DISK") == 0) {
usr.sbin/installer/libinstaller/survey.c
304
if (fgets_chomp(line, 255, f)) {
usr.sbin/installer/libinstaller/survey.c
305
d = disk_new(a->s, line);
usr.sbin/installer/libinstaller/survey.c
308
} else if (strcmp(line, "@DESC") == 0) {
usr.sbin/installer/libinstaller/survey.c
309
while (d != NULL && strcmp(line, "@END") != 0 && fgets_chomp(line, 255, f)) {
usr.sbin/installer/libinstaller/survey.c
310
disk_set_desc(d, line);
usr.sbin/installer/libinstaller/survey.c
312
} else if (strcmp(line, "@SERNO") == 0) {
usr.sbin/installer/libinstaller/survey.c
313
fgets_chomp(line, 255, f);
usr.sbin/installer/libinstaller/survey.c
314
if (line[0] != '\0' && strcmp(line, "@END") != 0)
usr.sbin/installer/libinstaller/survey.c
315
disk_set_serno(d, line);
usr.sbin/installer/libinstaller/survey.c
316
} else if (strcmp(line, "@SLICES") == 0) {
usr.sbin/installer/libinstaller/survey.c
326
while (d != NULL && strcmp(line, "@END") != 0 && fgets_chomp(line, 255, f)) {
usr.sbin/installer/libinstaller/survey.c
327
if (strncmp(line, "/dev/", 5) == 0) {
usr.sbin/installer/libinstaller/survey.c
329
parse_geometry_info(line, &cyl, &hd, &sec);
usr.sbin/installer/libinstaller/survey.c
331
} else if (strncmp(line, "Part", 4) == 0) {
usr.sbin/installer/libinstaller/survey.c
334
if (parse_slice_info(line, &sliceno, &start, &size,
usr.sbin/installer/libinstaller/survey.c
65
fgets_chomp(char *line, int size, FILE *f)
usr.sbin/installer/libinstaller/survey.c
67
if (fgets(line, size, f) == NULL)
usr.sbin/installer/libinstaller/survey.c
69
while (strlen(line) > 0 && line[strlen(line) - 1] == '\n')
usr.sbin/installer/libinstaller/survey.c
70
line[strlen(line) - 1] = '\0';
usr.sbin/installer/libinstaller/survey.c
79
parse_geometry_info(char *line, int *cyl, int *head, int *sec)
usr.sbin/installer/libinstaller/survey.c
86
if ((word = strtok(line, " \t")) == NULL) /* /dev/ad3: */
usr.sbin/ip6addrctl/ip6addrctl.c
205
char line[_POSIX2_LINE_MAX], *cp;
usr.sbin/ip6addrctl/ip6addrctl.c
215
while(fgets(line, sizeof(line), fp)) {
usr.sbin/ip6addrctl/ip6addrctl.c
217
cp = line;
usr.sbin/kbdmap/kbdmap.c
205
char line[256], buf[20];
usr.sbin/kbdmap/kbdmap.c
210
while (fgets(line, sizeof(line), fp)) {
usr.sbin/kbdmap/kbdmap.c
213
if (line[0] == '#')
usr.sbin/kbdmap/kbdmap.c
216
matches = sscanf(line,
usr.sbin/lpr/common_source/common.c
58
char line[BUFSIZ];
usr.sbin/lpr/common_source/common.c
74
char *lp = line;
usr.sbin/lpr/common_source/common.c
77
while ((c = getc(cfp)) != '\n' && (size_t)(linel+1) < sizeof(line)) {
usr.sbin/lpr/common_source/common.c
85
sizeof(line));
usr.sbin/lpr/common_source/displayq.c
128
while ((i = read(fd, line, sizeof(line))) > 0)
usr.sbin/lpr/common_source/displayq.c
129
fwrite(line, 1, i, stdout);
usr.sbin/lpr/common_source/displayq.c
185
while ((i = read(fd, line,
usr.sbin/lpr/common_source/displayq.c
186
sizeof(line))) > 0)
usr.sbin/lpr/common_source/displayq.c
187
fwrite(line, 1, i, stdout);
usr.sbin/lpr/common_source/displayq.c
219
snprintf(line, sizeof(line), "%c%s", format ? '\4' : '\3',
usr.sbin/lpr/common_source/displayq.c
221
cp = line;
usr.sbin/lpr/common_source/displayq.c
222
for (i = 0; i < requests && cp-line+10 < sizeof(line) - 1; i++) {
usr.sbin/lpr/common_source/displayq.c
226
for (i = 0; i < users && cp - line + 1 + strlen(user[i]) <
usr.sbin/lpr/common_source/displayq.c
227
sizeof(line) - 1; i++) {
usr.sbin/lpr/common_source/displayq.c
232
strcat(line, "\n");
usr.sbin/lpr/common_source/displayq.c
244
i = strlen(line);
usr.sbin/lpr/common_source/displayq.c
245
if (write(fd, line, i) != i)
usr.sbin/lpr/common_source/displayq.c
247
while ((i = read(fd, line, sizeof(line))) > 0)
usr.sbin/lpr/common_source/displayq.c
248
fwrite(line, 1, i, stdout);
usr.sbin/lpr/common_source/displayq.c
313
switch (line[0]) {
usr.sbin/lpr/common_source/displayq.c
315
if (!inlist(line+1, cf)) {
usr.sbin/lpr/common_source/displayq.c
320
printf("\n%s: ", line+1);
usr.sbin/lpr/common_source/displayq.c
321
col = strlen(line+1) + 2;
usr.sbin/lpr/common_source/displayq.c
329
printf("%-10s %-3d ", line+1, atoi(cf+3));
usr.sbin/lpr/common_source/displayq.c
335
if (line[0] < 'a' || line[0] > 'z')
usr.sbin/lpr/common_source/displayq.c
337
if (copycnt == 0 || strcmp(file, line+1) != 0) {
usr.sbin/lpr/common_source/displayq.c
338
strlcpy(file, line + 1, sizeof(file));
usr.sbin/lpr/common_source/displayq.c
348
strlcpy(savedname, line + 1, sizeof(savedname));
usr.sbin/lpr/common_source/lp.h
153
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
247
if (line[0] == 'P')
usr.sbin/lpr/common_source/rmjob.c
251
if (line[0] != 'P')
usr.sbin/lpr/common_source/rmjob.c
255
return(!strcmp(file, current) && isowner(line+1, file));
usr.sbin/lpr/common_source/rmjob.c
262
if (*r == n && isowner(line+1, file))
usr.sbin/lpr/common_source/rmjob.c
268
if (!strcmp(*u, line+1) && isowner(line+1, file))
usr.sbin/lpr/lpc/cmds.c
1080
while ((i = read(fd, line, sizeof(line))) > 0)
usr.sbin/lpr/lpc/cmds.c
1081
fwrite(line, 1, i, stdout);
usr.sbin/lpr/lpc/cmds.c
1258
if (line[0] == 'P')
usr.sbin/lpr/lpc/cmds.c
1261
if (line[0] != 'P' || strcmp(job, line+1) != 0)
usr.sbin/lpr/lpc/cmds.c
303
pid = atoi(line);
usr.sbin/lpr/lpc/cmds.c
657
lp = line;
usr.sbin/lpr/lpc/cmds.c
659
while (lp < &line[sizeof(line) - 1]) {
usr.sbin/lpr/lpc/cmds.c
664
linerem = sizeof(line) - (lp - line);
usr.sbin/lpr/lpc/cmds.c
745
unlinkf(line);
usr.sbin/lpr/lpd/lpd.c
284
sprintf(line, "%u\n", getpid());
usr.sbin/lpr/lpd/lpd.c
285
f = strlen(line);
usr.sbin/lpr/lpd/lpd.c
286
if (write(lfd, line, f) != f) {
usr.sbin/lpr/lpd/printjob.c
203
sprintf(line, "%u\n", printpid);
usr.sbin/lpr/lpd/printjob.c
204
pidoff = i = strlen(line);
usr.sbin/lpr/lpd/printjob.c
205
if (write(lfd, line, i) != i) {
usr.sbin/lpr/lpd/printjob.c
254
snprintf(line, sizeof(line), "%s\n", q->job_cfname);
usr.sbin/lpr/lpd/printjob.c
255
i = strlen(line);
usr.sbin/lpr/lpd/printjob.c
256
if (write(lfd, line, i) != i)
usr.sbin/lpr/lpd/printjob.c
428
switch (line[0]) {
usr.sbin/lpr/lpd/printjob.c
430
strlcpy(origin_host, line + 1, sizeof(origin_host));
usr.sbin/lpr/lpd/printjob.c
432
strlcpy(class, line+1, sizeof(class));
usr.sbin/lpr/lpd/printjob.c
437
strlcpy(logname, line + 1, sizeof(logname));
usr.sbin/lpr/lpd/printjob.c
441
sendmail(pp, line+1, bombed);
usr.sbin/lpr/lpd/printjob.c
448
cp = line+1;
usr.sbin/lpr/lpd/printjob.c
461
if (line[1] != '\0') {
usr.sbin/lpr/lpd/printjob.c
462
strlcpy(jobname, line + 1, sizeof(jobname));
usr.sbin/lpr/lpd/printjob.c
468
if (line[1] != '\0')
usr.sbin/lpr/lpd/printjob.c
469
strlcpy(class, line + 1, sizeof(class));
usr.sbin/lpr/lpd/printjob.c
479
strlcpy(title, line + 1, sizeof(title));
usr.sbin/lpr/lpd/printjob.c
484
banner(pp, line+1, jobname);
usr.sbin/lpr/lpd/printjob.c
491
if (line[1] != '\0') {
usr.sbin/lpr/lpd/printjob.c
492
strlcpy(fonts[line[0]-'1'], line + 1,
usr.sbin/lpr/lpd/printjob.c
498
strlcpy(width+2, line + 1, sizeof(width) - 2);
usr.sbin/lpr/lpd/printjob.c
502
strlcpy(indent+2, line + 1, sizeof(indent) - 2);
usr.sbin/lpr/lpd/printjob.c
506
strlcpy(locale, line + 1, sizeof(locale));
usr.sbin/lpr/lpd/printjob.c
511
if ((line[0] < 'a') || (line[0] > 'z')) {
usr.sbin/lpr/lpd/printjob.c
521
pp->printer, line[0], &line[1]);
usr.sbin/lpr/lpd/printjob.c
524
i = print(pp, line[0], line+1);
usr.sbin/lpr/lpd/printjob.c
553
switch (line[0]) {
usr.sbin/lpr/lpd/printjob.c
556
banner(pp, line+1, jobname);
usr.sbin/lpr/lpd/printjob.c
561
sendmail(pp, line+1, bombed);
usr.sbin/lpr/lpd/printjob.c
565
if (strchr(line+1, '/'))
usr.sbin/lpr/lpd/printjob.c
567
unlink(line+1);
usr.sbin/lpr/lpd/printjob.c
896
if (line[0] == 'S') {
usr.sbin/lpr/lpd/printjob.c
897
cp = line+1;
usr.sbin/lpr/lpd/printjob.c
907
} else if (line[0] == 'H') {
usr.sbin/lpr/lpd/printjob.c
908
strlcpy(origin_host, line + 1, sizeof(origin_host));
usr.sbin/lpr/lpd/printjob.c
910
strlcpy(class, line + 1, sizeof(class));
usr.sbin/lpr/lpd/printjob.c
912
} else if (line[0] == 'P') {
usr.sbin/lpr/lpd/printjob.c
913
strlcpy(logname, line + 1, sizeof(logname));
usr.sbin/lpr/lpd/printjob.c
916
sendmail(pp, line+1, NOACCT);
usr.sbin/lpr/lpd/printjob.c
921
} else if (line[0] == 'I') {
usr.sbin/lpr/lpd/printjob.c
922
strlcpy(indent+2, line + 1, sizeof(indent) - 2);
usr.sbin/lpr/lpd/printjob.c
923
} else if (line[0] >= 'a' && line[0] <= 'z') {
usr.sbin/lpr/lpd/printjob.c
925
strcpy(last, line);
usr.sbin/lpr/lpd/printjob.c
927
if (strcmp(last, line) != 0)
usr.sbin/lpr/lpd/printjob.c
956
if (line[0] == 'U' && !strchr(line+1, '/'))
usr.sbin/lpr/lpd/printjob.c
957
unlink(line+1);
usr.sbin/lpr/lpd/recvjob.c
145
cp = line;
usr.sbin/lpr/lpd/recvjob.c
146
clastp = line + sizeof(line) - 1;
usr.sbin/lpr/lpd/recvjob.c
163
cp = line;
usr.sbin/lpr/lpd/recvjob.c
182
strlcpy(cp + 6, from_host, sizeof(line)
usr.sbin/lpr/lpd/recvjob.c
183
+ (size_t)(line - cp - 6));
usr.sbin/lpr/lpd/recvjob.c
232
frecverr("protocol screwup: %s", line);
usr.sbin/mailwrapper/mailwrapper.c
107
if ((line = fparseln(config, &len, &lineno, NULL, 0)) == NULL) {
usr.sbin/mailwrapper/mailwrapper.c
114
cp = line;
usr.sbin/mailwrapper/mailwrapper.c
119
free(line);
usr.sbin/mailwrapper/mailwrapper.c
139
free(line);
usr.sbin/mailwrapper/mailwrapper.c
83
char *line, *cp, *from, *to, *ap;
usr.sbin/makefs/hammer2/hammer2.h
2073
_hammer2_xop_gdata(hammer2_xop_head_t *xop, const char *file, int line)
usr.sbin/makefs/hammer2/hammer2.h
2098
_hammer2_xop_pdata(hammer2_xop_head_t *xop, const char *file, int line)
usr.sbin/makefs/hammer2/hammer2.h
299
#define HAMMER2_IO_DEBUG_ARGS , const char *file, int line
usr.sbin/makefs/hammer2/hammer2.h
300
#define HAMMER2_IO_DEBUG_CALL , file, line
usr.sbin/makefs/hammer2/hammer2_io.c
84
dio->debug_line[i] = line;
usr.sbin/makefs/mtree.c
101
fi->line = 0;
usr.sbin/makefs/mtree.c
1067
fi->line++;
usr.sbin/makefs/mtree.c
115
fprintf(stderr, "%s:%u: ", fi->name, fi->line);
usr.sbin/makefs/mtree.c
405
fi->line++;
usr.sbin/makefs/mtree.c
70
u_int line;
usr.sbin/mtest/mtest.c
25
char line[80];
usr.sbin/mtest/mtest.c
39
while( fgets( line, 79, stdin ) != NULL )
usr.sbin/mtest/mtest.c
41
lineptr = line;
usr.sbin/mtree/excludes.c
68
char *line;
usr.sbin/mtree/excludes.c
75
while ((line = fparseln(fp, NULL, NULL, NULL,
usr.sbin/mtree/excludes.c
78
if (line[0] == '\0')
usr.sbin/mtree/excludes.c
84
e->glob = line;
usr.sbin/mtree/only.c
118
char *line;
usr.sbin/mtree/only.c
124
while ((line = fparseln(fp, &len, &lineno, NULL, FPARSELN_UNESCALL))) {
usr.sbin/mtree/only.c
126
if (hash_find(line, &h))
usr.sbin/mtree/only.c
127
err(1, "Duplicate entry %s", line);
usr.sbin/mtree/only.c
128
hash_insert(line, h);
usr.sbin/mtree/only.c
129
fill(line);
usr.sbin/mtree/only.c
130
free(line);
usr.sbin/ndp/ndp.c
325
char line[100], arg[5][50], *args[5];
usr.sbin/ndp/ndp.c
337
while(fgets(line, 100, fp) != NULL) {
usr.sbin/ndp/ndp.c
338
i = sscanf(line, "%s %s %s %s %s", arg[0], arg[1], arg[2],
usr.sbin/ndp/ndp.c
341
fprintf(stderr, "ndp: bad line: %s\n", line);
usr.sbin/newsyslog/newsyslog.c
1076
char line[BUFSIZ], *parse, *q;
usr.sbin/newsyslog/newsyslog.c
1086
while (fgets(line, BUFSIZ, cf)) {
usr.sbin/newsyslog/newsyslog.c
1087
if ((line[0] == '\n') || (line[0] == '#') ||
usr.sbin/newsyslog/newsyslog.c
1088
(strlen(line) == 0))
usr.sbin/newsyslog/newsyslog.c
1092
errline = strdup(line);
usr.sbin/newsyslog/newsyslog.c
1093
for (cp = line + 1; *cp != '\0'; cp++) {
usr.sbin/newsyslog/newsyslog.c
1105
q = parse = missing_field(sob(line), errline);
usr.sbin/newsyslog/newsyslog.c
1106
parse = son(line);
usr.sbin/newsyslog/newsyslog.c
2246
char *endp, *linep, line[BUFSIZ];
usr.sbin/newsyslog/newsyslog.c
2281
if (fgets(line, BUFSIZ, f) == NULL) {
usr.sbin/newsyslog/newsyslog.c
2299
linep = line;
usr.sbin/ngctl/main.c
183
char line[LINE_MAX];
usr.sbin/ngctl/main.c
186
for (num = 1; fgets(line, sizeof(line), fp) != NULL; num++) {
usr.sbin/ngctl/main.c
187
if (*line == '#')
usr.sbin/ngctl/main.c
189
if ((rtn = DoParseCommand(line)) != 0) {
usr.sbin/ngctl/main.c
273
DoParseCommand(char *line)
usr.sbin/ngctl/main.c
279
for (ac = 0, av[0] = strtok(line, WHITESPACE);
usr.sbin/ngctl/main.c
50
static int DoParseCommand(char *line);
usr.sbin/pfctl/pfctl_osfp.c
113
while ((line = fgetln(in, &len)) != NULL) {
usr.sbin/pfctl/pfctl_osfp.c
130
if (line[i] == '#') {
usr.sbin/pfctl/pfctl_osfp.c
135
while (len > 0 && isspace(line[len - 1]))
usr.sbin/pfctl/pfctl_osfp.c
137
while (len > 0 && isspace(line[0])) {
usr.sbin/pfctl/pfctl_osfp.c
139
line++;
usr.sbin/pfctl/pfctl_osfp.c
150
get_int(&line, &len, &v, mod, n, ty, mx, fp_filename, lineno)
usr.sbin/pfctl/pfctl_osfp.c
152
get_str(&line, &len, &v, n, mn, fp_filename, lineno)
usr.sbin/pfctl/pfctl_osfp.c
779
get_int(char **line, size_t *len, int *var, int *mod,
usr.sbin/pfctl/pfctl_osfp.c
790
field = get_field(line, len, &fieldlen);
usr.sbin/pfctl/pfctl_osfp.c
868
get_str(char **line, size_t *len, char **v, const char *name, int minlen,
usr.sbin/pfctl/pfctl_osfp.c
874
ptr = get_field(line, len, &fieldlen);
usr.sbin/pfctl/pfctl_osfp.c
93
char *line;
usr.sbin/pfctl/pfctl_osfp.c
981
get_field(char **line, size_t *len, int *fieldlen)
usr.sbin/pfctl/pfctl_osfp.c
983
char *ret, *ptr = *line;
usr.sbin/pfctl/pfctl_osfp.c
997
*line = ptr + 1;
usr.sbin/ppp/systems.c
199
DecodeCtrlCommand(char *line, char *arg, size_t argsiz)
usr.sbin/ppp/systems.c
203
if (!strncasecmp(line, "include", 7) && issep(line[7])) {
usr.sbin/ppp/systems.c
204
end = InterpretArg(line+8, arg, argsiz);
usr.sbin/ppp/systems.c
207
"destination buffer\n", line);
usr.sbin/ppp/systems.c
268
strip(char *line)
usr.sbin/ppp/systems.c
272
len = strlen(line);
usr.sbin/ppp/systems.c
273
while (len && (line[len-1] == '\n' || line[len-1] == '\r' ||
usr.sbin/ppp/systems.c
274
issep(line[len-1])))
usr.sbin/ppp/systems.c
275
line[--len] = '\0';
usr.sbin/ppp/systems.c
277
while (issep(*line))
usr.sbin/ppp/systems.c
278
line++;
usr.sbin/ppp/systems.c
280
if (*line == '#')
usr.sbin/ppp/systems.c
281
*line = '\0';
usr.sbin/ppp/systems.c
283
return line;
usr.sbin/ppp/systems.c
315
GetLabel(char *line, const char *filename, int linenum)
usr.sbin/ppp/systems.c
320
argc = MakeArgs(line, argv, MAXARGS, PARSE_REDUCE);
usr.sbin/ppp/systems.c
344
char line[LINE_LEN];
usr.sbin/ppp/systems.c
366
while ((n = xgets(line, sizeof line, fp))) {
usr.sbin/ppp/systems.c
368
if (issep(*line))
usr.sbin/ppp/systems.c
371
cp = strip(line);
usr.sbin/ppp/systems.c
404
while ((n = xgets(line, sizeof line, fp))) {
usr.sbin/ppp/systems.c
406
indent = issep(*line);
usr.sbin/ppp/systems.c
407
cp = strip(line);
usr.sbin/ppp/systems.c
419
if ((argc = command_Expand_Interpret(cp, len, argv, cp - line)) < 0)
usr.sbin/ppp/systems.c
53
char line[100];
usr.sbin/ppp/systems.c
55
snprintf(line, sizeof line, "%s/%s", PPP_CONFDIR, file);
usr.sbin/ppp/systems.c
56
fp = ID0fopen(line, "r");
usr.sbin/ppp/systems.c
58
log_Printf(LogWARN, "OpenSecret: Can't open %s.\n", line);
usr.sbin/pstat/pstat.c
816
ttyprt(struct tty *tp, int line)
usr.sbin/pstat/pstat.c
826
printf("%7d ", line);
usr.sbin/pw/edgroup.c
100
if (extendline(&line, &linelen, linelen + PWBUFSZ) == -1) {
usr.sbin/pw/edgroup.c
103
l = strlen(line);
usr.sbin/pw/edgroup.c
104
if (fgets(line + l, linelen - l, infp) == NULL)
usr.sbin/pw/edgroup.c
107
l = strlen(line) + namlen + 1;
usr.sbin/pw/edgroup.c
111
if (*line == '#')
usr.sbin/pw/edgroup.c
112
strcpy(outl, line);
usr.sbin/pw/edgroup.c
113
else if (*line == '\n')
usr.sbin/pw/edgroup.c
118
char *cp = line;
usr.sbin/pw/edgroup.c
217
free(line);
usr.sbin/pw/edgroup.c
85
char *line = malloc(linelen);
usr.sbin/pw/edgroup.c
90
if (line == NULL || outl == NULL || mems == NULL) {
usr.sbin/pw/edgroup.c
94
while (fgets(line, linelen, infp) != NULL) {
usr.sbin/pw/edgroup.c
98
while ((p = strchr(line, '\n')) == NULL)
usr.sbin/pw/fileupd.c
104
char *line = malloc(linesize);
usr.sbin/pw/fileupd.c
107
while (fgets(line, linesize, infp) != NULL) {
usr.sbin/pw/fileupd.c
108
char *p = strchr(line, '\n');
usr.sbin/pw/fileupd.c
110
while ((p = strchr(line, '\n')) == NULL) {
usr.sbin/pw/fileupd.c
112
if (extendline(&line, &linesize, linesize + PWBUFSZ) == -1) {
usr.sbin/pw/fileupd.c
114
fputs(line, outfp);
usr.sbin/pw/fileupd.c
122
l = strlen(line);
usr.sbin/pw/fileupd.c
123
if (fgets(line + l, linesize - l, infp) == NULL)
usr.sbin/pw/fileupd.c
126
if (*line != '#' && *line != '\n') {
usr.sbin/pw/fileupd.c
127
if (!updated && strncmp(line, prefix, pfxlen) == 0) {
usr.sbin/pw/fileupd.c
134
strcpy(line, newline);
usr.sbin/pw/fileupd.c
139
fputs(line, outfp);
usr.sbin/pw/fileupd.c
174
while (fgets(line, linesize, outfp) != NULL)
usr.sbin/pw/fileupd.c
175
fputs(line, infp);
usr.sbin/pw/fileupd.c
190
free(line);
usr.sbin/pw/pw_group.c
184
char *p, line[256];
usr.sbin/pw/pw_group.c
199
b = read(fd, line, sizeof(line) - 1);
usr.sbin/pw/pw_group.c
209
line[b] = '\0';
usr.sbin/pw/pw_group.c
210
if ((p = strpbrk(line, " \t\r\n")) != NULL)
usr.sbin/pw/pw_group.c
212
if (!*line)
usr.sbin/pw/pw_group.c
215
if (strchr(line, ':') != NULL)
usr.sbin/pw/pw_group.c
217
grp->gr_passwd = line;
usr.sbin/pw/pw_group.c
219
grp->gr_passwd = pw_pwcrypt(line);
usr.sbin/pw/pw_user.c
103
char line[_PASSWORD_LEN+1];
usr.sbin/pw/pw_user.c
634
b = read(fd, line, sizeof(line) - 1);
usr.sbin/pw/pw_user.c
645
line[b] = '\0';
usr.sbin/pw/pw_user.c
646
if ((p = strpbrk(line, "\r\n")) != NULL)
usr.sbin/pw/pw_user.c
648
if (!*line)
usr.sbin/pw/pw_user.c
651
if (strchr(line, ':') != NULL)
usr.sbin/pw/pw_user.c
653
pwd->pw_passwd = line;
usr.sbin/pw/pw_user.c
660
pwd->pw_passwd = pw_pwcrypt(line);
usr.sbin/pw/pw_user.c
745
sprintf(line, "%s/%s", _PATH_MAILDIR, pwd->pw_name);
usr.sbin/pw/pw_user.c
746
close(open(line, O_RDWR | O_CREAT, 0600)); /* Preserve contents &
usr.sbin/pw/pw_user.c
748
chown(line, pwd->pw_uid, pwd->pw_gid);
usr.sbin/pw/pw_user.c
774
while (fgets(line, sizeof(line), fp) != NULL) {
usr.sbin/pw/pw_user.c
776
fputs(line, pfp);
usr.sbin/pwd_mkdb/pwd_mkdb.c
545
if (fprintf(oldfp, "%s\n", line) < 0)
usr.sbin/pwd_mkdb/pwd_mkdb.c
640
if (len >= sizeof(line) - 1) {
usr.sbin/pwd_mkdb/pwd_mkdb.c
644
memcpy(line, p, len);
usr.sbin/pwd_mkdb/pwd_mkdb.c
645
line[len] = '\0';
usr.sbin/pwd_mkdb/pwd_mkdb.c
650
for (p = line; *p != '\0'; p++)
usr.sbin/pwd_mkdb/pwd_mkdb.c
659
if (!__pw_scan(line, pw, _PWSCAN_WARN|_PWSCAN_MASTER)) {
usr.sbin/pwd_mkdb/pwd_mkdb.c
75
static char line[LINE_MAX];
usr.sbin/rpc.umntall/mounttab.c
141
int line;
usr.sbin/rpc.umntall/mounttab.c
147
line = 0;
usr.sbin/rpc.umntall/mounttab.c
165
line++;
usr.sbin/rpc.umntall/mounttab.c
168
if (line == 0) {
usr.sbin/rpc.ypupdated/update.c
232
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
316
match(char *line, char *name)
usr.sbin/rpc.ypupdated/update.c
321
return (strncmp(line, name, len) == 0 &&
usr.sbin/rpc.ypupdated/update.c
322
(line[len] == ' ' || line[len] == '\t'));
usr.sbin/slstat/slstat.c
138
#define V(offset) ((line % 20)? ((sc->offset - osc->offset) / \
usr.sbin/slstat/slstat.c
160
int line = 0;
usr.sbin/slstat/slstat.c
179
if ((line % 20) == 0) {
usr.sbin/slstat/slstat.c
220
line++;
usr.sbin/syslogd/syslogd.c
1074
char line[MAXLINE + 1], repbuf[80], greetings[200], *wmsg = NULL;
usr.sbin/syslogd/syslogd.c
1192
l = snprintf(line, sizeof line - 1,
usr.sbin/syslogd/syslogd.c
1197
l = snprintf(line, sizeof line - 1, "<%d>%.15s %s",
usr.sbin/syslogd/syslogd.c
1216
lsent = sendto(finet[i+1], line, l, 0,
usr.sbin/syslogd/syslogd.c
1762
cfline(const char *line, struct filed *f, const char *prog, const char *host)
usr.sbin/syslogd/syslogd.c
1770
dprintf("cfline(\"%s\", f, \"%s\", \"%s\")\n", line, prog, host);
usr.sbin/syslogd/syslogd.c
1808
for (p = line; *p && *p != '\t' && *p != ' ';) {
usr.sbin/syslogd/syslogd.c
337
char line[MAXLINE + 1];
usr.sbin/syslogd/syslogd.c
526
(void)snprintf(line, sizeof line,
usr.sbin/syslogd/syslogd.c
528
logerror(line);
usr.sbin/syslogd/syslogd.c
640
l = recvfrom(finet[i+1], line, MAXLINE,
usr.sbin/syslogd/syslogd.c
644
line[l] = '\0';
usr.sbin/syslogd/syslogd.c
648
printline(hname, line, RemoteAddDate ? ADDDATE : 0);
usr.sbin/syslogd/syslogd.c
657
l = recvfrom(fx->s, line, MAXLINE, 0,
usr.sbin/syslogd/syslogd.c
660
line[l] = '\0';
usr.sbin/syslogd/syslogd.c
661
printline(LocalHostName, line, 0);
usr.sbin/syslogd/syslogd.c
718
char line[MAXLINE + 1];
usr.sbin/syslogd/syslogd.c
742
q = line;
usr.sbin/syslogd/syslogd.c
745
q < &line[sizeof(line) - 4]) {
usr.sbin/syslogd/syslogd.c
766
logmsg(pri, line, hname, flags);
usr.sbin/syslogd/syslogd.c
778
static char line[MAXLINE + 1];
usr.sbin/syslogd/syslogd.c
784
i = read(fklog, line + len, MAXLINE - 1 - len);
usr.sbin/syslogd/syslogd.c
786
line[i + len] = '\0';
usr.sbin/syslogd/syslogd.c
795
for (p = line; (q = strchr(p, '\n')) != NULL; p = q + 1) {
usr.sbin/syslogd/syslogd.c
805
memmove(line, p, len + 1);
usr.sbin/traceroute/traceroute.c
1149
static char domain[MAXHOSTNAMELEN], line[MAXHOSTNAMELEN];
usr.sbin/traceroute/traceroute.c
1167
strlcpy(line, hp->h_name, sizeof(line));
usr.sbin/traceroute/traceroute.c
1168
return (line);
usr.sbin/traceroute6/traceroute6.c
1188
static char line[NI_MAXHOST], domain[MAXHOSTNAMELEN + 1];
usr.sbin/traceroute6/traceroute6.c
1202
if (getnameinfo(sa, sa->sa_len, line, sizeof(line), NULL, 0,
usr.sbin/traceroute6/traceroute6.c
1204
if ((cp = strchr(line, '.')) &&
usr.sbin/traceroute6/traceroute6.c
1207
cp = line;
usr.sbin/traceroute6/traceroute6.c
1213
if (getnameinfo(sa, sa->sa_len, line, sizeof(line), NULL, 0,
usr.sbin/traceroute6/traceroute6.c
1215
strlcpy(line, "invalid", sizeof(line));
usr.sbin/traceroute6/traceroute6.c
1216
return line;
usr.sbin/tzsetup/tzsetup.c
477
char *line, *tlc, *file, *descr, *p;
usr.sbin/tzsetup/tzsetup.c
485
while ((line = fgetln(fp, &len)) != NULL) {
usr.sbin/tzsetup/tzsetup.c
487
if (line[len - 1] != '\n')
usr.sbin/tzsetup/tzsetup.c
489
line[len - 1] = '\0';
usr.sbin/tzsetup/tzsetup.c
490
if (line[0] == '#')
usr.sbin/tzsetup/tzsetup.c
493
tlc = strsep(&line, "\t");
usr.sbin/tzsetup/tzsetup.c
497
/* coord = */ strsep(&line, "\t"); /* Unused */
usr.sbin/tzsetup/tzsetup.c
498
file = strsep(&line, "\t");
usr.sbin/tzsetup/tzsetup.c
514
descr = (line != NULL && *line != '\0') ? line : NULL;
usr.sbin/usbdump/usbdump.c
393
const uint8_t *line;
usr.sbin/usbdump/usbdump.c
399
for (line = region; line < (region + len); line += 16) {
usr.sbin/usbdump/usbdump.c
404
hexbyte(linebuf + i + 1, ((line - region) >> 8) & 0xFF);
usr.sbin/usbdump/usbdump.c
405
hexbyte(linebuf + i + 3, (line - region) & 0xFF);
usr.sbin/usbdump/usbdump.c
411
if ((line + x) < (region + len)) {
usr.sbin/usbdump/usbdump.c
413
*(const u_int8_t *)(line + x));
usr.sbin/usbdump/usbdump.c
430
if ((line + x) < (region + len)) {
usr.sbin/usbdump/usbdump.c
431
c = *(const u_int8_t *)(line + x);
usr.sbin/vidcontrol/vidcontrol.c
1023
char *line;
usr.sbin/vidcontrol/vidcontrol.c
1027
line = alloca(shot.xsize + 1);
usr.sbin/vidcontrol/vidcontrol.c
1029
if (line == NULL) {
usr.sbin/vidcontrol/vidcontrol.c
1042
line[x] = (char)ch;
usr.sbin/vidcontrol/vidcontrol.c
1048
line[x--] = '\0';
usr.sbin/vidcontrol/vidcontrol.c
1049
} while (line[x] == ' ' && x != 0);
usr.sbin/vidcontrol/vidcontrol.c
1051
puts(line);
usr.sbin/vipw/vipw.c
111
if ((line = fgetln(stdin, &len)) == NULL) {
usr.sbin/vipw/vipw.c
115
if (len > 0 && (*line == 'N' || *line == 'n'))
usr.sbin/vipw/vipw.c
61
char *line;