Home
last modified time | relevance | path

Searched refs:LINESIZE (Results 1 – 13 of 13) sorted by relevance

/freebsd/tools/regression/netinet6/inet6_rth/
H A Dtest_subr.c40 char g_testdesc[LINESIZE];
41 char g_errbuf[LINESIZE];
58 char sbuf[LINESIZE]; in checkptr()
60 memset((void *)sbuf, 0, LINESIZE); in checkptr()
61 snprintf(g_testdesc, LINESIZE, desc); in checkptr()
66 len = snprintf(sbuf, LINESIZE, "ok"); in checkptr()
70 len = snprintf(sbuf, LINESIZE, "not ok"); in checkptr()
71 snprintf(g_errbuf, LINESIZE, " : Expected %#x, but got %#x", in checkptr()
75 snprintf(sbuf + len, LINESIZE - len, " %d - %s (%s)", in checkptr()
82 memset((void *)g_errbuf, 0, LINESIZE); in checkptr()
[all …]
H A Dtest_subr.h29 #define LINESIZE 256 macro
36 extern char g_testdesc[LINESIZE];
37 extern char g_errbuf[LINESIZE];
/freebsd/usr.bin/mail/
H A Dutil.c130 char linebuf[LINESIZE]; in hfield()
138 if (readline(ibuf, linebuf, LINESIZE) < 0) in hfield()
158 char line2[LINESIZE]; in gethfield()
165 if ((c = readline(f, linebuf, LINESIZE)) <= 0) in gethfield()
187 if ((c = readline(f, line2, LINESIZE)) < 0) in gethfield()
193 if (cp + c >= linebuf + LINESIZE - 2) in gethfield()
494 char namebuf[LINESIZE]; in name1()
495 char linebuf[LINESIZE]; in name1()
506 if (readline(ibuf, linebuf, LINESIZE) < 0) in name1()
515 cp2 < namebuf + LINESIZE - 1;) in name1()
[all …]
H A Dcollect.c71 char linebuf[LINESIZE], tempname[PATHSIZE], *cp, getsub; in collect()
151 c = readline(stdin, linebuf, LINESIZE); in collect()
162 longline = c == LINESIZE - 1; in collect()
383 while ((rc = readline(fbuf, linebuf, LINESIZE)) >= 0) { in collect()
384 if (rc != LINESIZE - 1) in collect()
387 rc != LINESIZE - 1)) < 0) { in collect()
H A Dcmd1.c163 char headline[LINESIZE], wcount[LINESIZE], *subjline, dispc, curind; in printhead()
170 (void)readline(setinput(mp), headline, LINESIZE); in printhead()
364 char *valtop, linebuf[LINESIZE]; in top()
H A Dlex.c197 char linebuf[LINESIZE]; in commands()
228 if (readline(input, &linebuf[n], LINESIZE - n) < 0) { in commands()
273 char word[LINESIZE]; in execute()
H A Dsend.c54 char *cp, *cp2, line[LINESIZE]; in sendmessage()
203 c = count < LINESIZE ? count : LINESIZE; in sendmessage()
H A Ddef.h60 #define LINESIZE BUFSIZ /* max readable line width */ macro
H A Dhead.c90 char word[LINESIZE]; in parse()
H A Dcmd2.c453 char field[LINESIZE]; in ignore1()
H A Dfio.c60 char linebuf[LINESIZE], pathbuf[PATHSIZE]; in setptr()
/freebsd/crypto/openssl/crypto/pem/
H A Dpem_lib.c734 #define LINESIZE 255 macro
753 linebuf = pem_malloc(LINESIZE + 1, flags); in get_name()
760 len = BIO_gets(bp, linebuf, LINESIZE); in get_name()
786 pem_free(linebuf, flags, LINESIZE + 1); in get_name()
821 linebuf = pem_malloc(LINESIZE + 1, flags); in get_header_and_data()
829 len = BIO_gets(bp, linebuf, LINESIZE); in get_header_and_data()
841 partial_line_read = len == LINESIZE-1 && linebuf[LINESIZE-2] != '\n'; in get_header_and_data()
908 pem_free(linebuf, flags, LINESIZE + 1); in get_header_and_data()
/freebsd/contrib/byacc/
H A Dreader.c10 #define LINESIZE 100 macro
363 if (line == NULL || linesize != (LINESIZE + 1)) in get_line()
367 linesize = LINESIZE + 1; in get_line()
381 linesize += LINESIZE; in get_line()