HomeSort by: relevance | last modified time | path
    Searched refs:linebuf (Results 1 - 25 of 61) sorted by relevancy

1 2 3

  /src/external/gpl2/groff/dist/src/preproc/eqn/
main.cpp 70 string linebuf; local
75 while (read_line(fp, &linebuf)) {
76 if (linebuf.length() >= 4
77 && linebuf[0] == '.' && linebuf[1] == 'l' && linebuf[2] == 'f'
78 && (linebuf[3] == ' ' || linebuf[3] == '\n' || compatible_flag)) {
79 put_string(linebuf, stdout);
80 linebuf += '\0'
    [all...]
  /src/external/bsd/less/dist/
line.c 36 } linebuf; variable in typeref:struct:__anon7019
163 linebuf.buf = (char *) ecalloc(LINEBUF_SIZE, sizeof(char));
164 linebuf.attr = (int *) ecalloc(LINEBUF_SIZE, sizeof(int));
193 memcpy(new_buf, linebuf.buf, size_linebuf * sizeof(char));
194 memcpy(new_attr, linebuf.attr, size_linebuf * sizeof(int));
195 free(linebuf.attr);
196 free(linebuf.buf);
197 linebuf.buf = new_buf;
198 linebuf.attr = new_attr;
218 right_curr = linebuf.end
    [all...]
  /src/games/hack/
hack.end.c 494 char linebuf[BUFSZ]; local
496 (void) strcpy(linebuf, "Number Points Name");
497 bp = eos(linebuf);
498 while (bp < linebuf + COLNO - 9)
501 puts(linebuf);
509 char linebuf[BUFSZ]; local
512 linebuf[0] = '\0';
516 Snprintf(linebuf+pos, sizeof(linebuf)-pos, "%3d", rank);
518 Snprintf(linebuf+pos, sizeof(linebuf)-pos, " ")
    [all...]
  /src/distrib/utils/more/
line.c 55 static char linebuf[1024]; /* Buffer which holds the current output line */ variable
56 static char *curr; /* Pointer into linebuf */
96 Usually points to linebuf. */
103 line = curr = linebuf;
153 if (curr > linebuf + sizeof(linebuf) - 12)
157 * {{ Linebuf is supposed to be big enough that this
169 if (curr <= linebuf + 1
193 if (bo_width > 0 && curr > linebuf + 2
224 curr > linebuf + 2 && curr[-3] == ' '
    [all...]
  /src/usr.bin/mail/
fio.c 188 char linebuf[LINESIZE]; local
197 (void)snprintf(linebuf, LINESIZE, "%s/mail.XXXXXX", tmpdir);
198 if ((c = mkstemp(linebuf)) == -1 ||
200 (void)fprintf(stderr, "mail: can't open %s\n", linebuf);
203 (void)unlink(linebuf);
226 if (fgets(linebuf, LINESIZE, ibuf) == NULL) {
232 len = strlen(linebuf);
238 if (len >= 2 && linebuf[len - 1] == '\n' &&
239 linebuf[len - 2] == '\r') {
240 linebuf[len - 2] = '\n'
    [all...]
head.c 168 fail(const char linebuf[], const char reason[])
173 linebuf, reason);
266 ishead(const char linebuf[])
272 cp = linebuf;
276 parse(linebuf, &hl, parbuf);
278 fail(linebuf, "No from or date field");
282 fail(linebuf, "Date field not legal date");
collect.c 372 char linebuf[LINESIZE]; local
458 c = readline(stdin, linebuf, LINESIZE, reset_on_stop);
476 if (linebuf[0] == '.' && linebuf[1] == '\0' &&
480 if (linebuf[0] != escape || value(ENAME_INTERACTIVE) == NULL ||
482 if (putline(collf, linebuf, !longline) < 0)
486 c = linebuf[1];
494 if (putline(collf, &linebuf[1], !longline) < 0)
503 hp->h_attach = mime_attach_files(hp->h_attach, &linebuf[2]);
517 (void)shell(&linebuf[2])
    [all...]
support.c 180 ishfield(const char linebuf[], char *colon, const char field[])
185 if (strcasecmp(linebuf, field) != 0) {
205 gethfield(FILE *f, char linebuf[], int rem, char **colon)
214 if ((c = readline(f, linebuf, LINESIZE, 0)) <= 0)
216 for (cp = linebuf;
220 if (*cp != ':' || cp == linebuf)
227 cp = linebuf + c;
229 while (--cp >= linebuf && is_WSP(*cp))
242 if (cp + c >= linebuf + LINESIZE - 2)
262 char linebuf[LINESIZE] local
568 char linebuf[LINESIZE]; local
    [all...]
lex.c 623 execute(char linebuf[], enum execute_contxt_e contxt)
642 cp = skip_space(linebuf);
885 char linebuf[LINESIZE]; local
947 (void)strlcpy(linebuf, line, sizeof(linebuf));
950 if (readline(input, &linebuf[n], LINESIZE - n, 0) < 0) {
957 if (readline(input, &linebuf[n], LINESIZE - n, reset_on_stop) < 0) {
968 if ((ptr = comment_char(linebuf)) != NULL)
971 if ((n = (int)strlen(linebuf)) == 0)
974 if (linebuf[n] != '\\'
    [all...]
  /src/libexec/getNAME/
getNAME.c 66 static char *linebuf = NULL; variable
222 split(linebuf, name);
224 (void)printf("%s\n", linebuf);
242 if ((newlinebuf = realloc(linebuf, newmaxlen)) == NULL)
244 linebuf = newlinebuf;
248 linebuf[curlen++] = ' ';
249 (void)memcpy(&linebuf[curlen], line, len);
252 linebuf[curlen] = '\0';
256 if ((s = strstr(linebuf, "\\-")) != NULL) {
258 curlen - (s + 1 - linebuf));
    [all...]
  /src/external/gpl2/xcvs/dist/src/
login.c 86 * char *linebuf
97 * linebuf the current line
101 * char *password as a pointer into linebuf
104 * This function temporarily alters linebuf, so it isn't thread safe when
105 * called on the same linebuf
110 char *linebuf)
116 if (*linebuf == '/')
124 if (isspace(*(linebuf + 1)))
126 q = linebuf + 1;
128 entry_version = strtoul (linebuf + 1, &q, 10)
291 char *linebuf = NULL; local
    [all...]
  /src/dist/pf/usr.sbin/ftp-proxy/
ftp-proxy.c 121 char linebuf[MAX_LINE + 1]; variable
166 if (linebuf[0] == 'P' || linebuf[0] == 'p' ||
167 linebuf[0] == 'E' || linebuf[0] == 'e') {
181 if (anonymous_only && (linebuf[0] == 'U' || linebuf[0] == 'u'))
190 if (strcasecmp("USER ftp\r\n", linebuf) != 0 &&
191 strcasecmp("USER anonymous\r\n", linebuf) != 0) {
192 snprintf(linebuf, sizeof linebuf
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
checkpoint.c 26 char linebuf[128]; local
28 char *tmp = &linebuf[0];
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
checkpoint.c 26 char linebuf[128]; local
28 char *tmp = &linebuf[0];
  /src/crypto/external/bsd/openssl/dist/crypto/pem/
pem_lib.c 689 static int sanitize_line(char *linebuf, int len, unsigned int flags, int first_call)
697 if (len > 3 && memcmp(linebuf, utf8_bom, 3) == 0) {
698 memmove(linebuf, linebuf + 3, len - 3);
699 linebuf[len - 3] = 0;
706 while ((len >= 0) && (linebuf[len] <= ' '))
712 if (!ossl_isbase64(linebuf[i]) || linebuf[i] == '\n'
713 || linebuf[i] == '\r')
721 if (linebuf[i] == '\n' || linebuf[i] == '\r'
744 char *linebuf; local
812 char *linebuf, *p; local
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/pem/
pem_lib.c 720 static int sanitize_line(char *linebuf, int len, unsigned int flags, int first_call)
728 if (len > 3 && memcmp(linebuf, utf8_bom, 3) == 0) {
729 memmove(linebuf, linebuf + 3, len - 3);
730 linebuf[len - 3] = 0;
737 while ((len >= 0) && (linebuf[len] <= ' '))
743 if (!ossl_isbase64(linebuf[i]) || linebuf[i] == '\n'
744 || linebuf[i] == '\r')
752 if (linebuf[i] == '\n' || linebuf[i] == '\r'
775 char *linebuf; local
839 char *linebuf, *p; local
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/crypto/pem/
pem_lib.c 683 static int sanitize_line(char *linebuf, int len, unsigned int flags)
689 while ((len >= 0) && (linebuf[len] <= ' '))
695 if (!ossl_isbase64(linebuf[i]) || linebuf[i] == '\n'
696 || linebuf[i] == '\r')
704 if (linebuf[i] == '\n' || linebuf[i] == '\r')
706 if (ossl_iscntrl(linebuf[i]))
707 linebuf[i] = ' ';
712 linebuf[len++] = '\n'
727 char *linebuf; local
793 char *linebuf, *p; local
    [all...]
  /src/external/gpl3/gcc/dist/gcc/config/rs6000/
rs6000-gen-builtins.cc 191 static char linebuf[LINELEN * MAXLINES]; variable
198 linebuf, above, and which can be used to convert the virtual line
651 while (pos < LINELEN && isspace(linebuf[pos]) && linebuf[pos] != '\n')
670 if (!fgets (linebuf, sizeof linebuf, file))
673 size_t len = strlen (linebuf);
679 strcpy (lines[0], linebuf);
680 while (linebuf[len - 2] == '\\'
681 && linebuf[len - 1] == '\n'
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/config/rs6000/
rs6000-gen-builtins.cc 191 static char linebuf[LINELEN * MAXLINES]; variable
198 linebuf, above, and which can be used to convert the virtual line
651 while (pos < LINELEN && isspace(linebuf[pos]) && linebuf[pos] != '\n')
670 if (!fgets (linebuf, sizeof linebuf, file))
673 size_t len = strlen (linebuf);
679 strcpy (lines[0], linebuf);
680 while (linebuf[len - 2] == '\\'
681 && linebuf[len - 1] == '\n'
    [all...]
  /src/external/bsd/elftoolchain/dist/libdwarf/
dwarf_dealloc.c 79 dwarf_srclines_dealloc(Dwarf_Debug dbg, Dwarf_Line *linebuf,
89 (void) dbg; (void) linebuf; (void) count;
  /src/usr.sbin/syslogd/
extern.h 53 extern char *linebuf;
  /src/crypto/external/bsd/openssl/dist/crypto/asn1/
asn_mime.c 58 static int strip_eol(char *linebuf, int *plen, int flags);
519 char linebuf[MAX_SMLEN]; local
538 while ((len = BIO_read(in, linebuf, MAX_SMLEN)) > 0)
539 BIO_write(out, linebuf, len);
544 while ((len = BIO_gets(in, linebuf, MAX_SMLEN)) > 0) {
545 eol = strip_eol(linebuf, &len, flags);
554 BIO_write(out, linebuf, len);
612 char linebuf[MAX_SMLEN]; local
627 while ((len = BIO_get_line(bio, linebuf, MAX_SMLEN)) > 0) {
628 state = mime_bound_check(linebuf, len, bound, blen)
687 char linebuf[MAX_SMLEN]; local
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/asn1/
asn_mime.c 58 static int strip_eol(char *linebuf, int *plen, int flags);
528 char linebuf[MAX_SMLEN]; local
547 while ((len = BIO_read(in, linebuf, MAX_SMLEN)) > 0)
548 BIO_write(out, linebuf, len);
553 while ((len = BIO_gets(in, linebuf, MAX_SMLEN)) > 0) {
554 eol = strip_eol(linebuf, &len, flags);
563 BIO_write(out, linebuf, len);
621 char linebuf[MAX_SMLEN]; local
636 while ((len = BIO_get_line(bio, linebuf, MAX_SMLEN)) > 0) {
637 state = mime_bound_check(linebuf, len, bound, blen)
698 char linebuf[MAX_SMLEN]; local
    [all...]
  /src/lib/libc/citrus/
citrus_iconv.c 107 char *linebuf, size_t linebufsize,
117 cp = p = _lookup_simple(path, key, linebuf, linebufsize,
162 char linebuf[LINE_MAX]; local
167 ret = lookup_iconv_entry(basedir, convname, linebuf, sizeof(linebuf),
173 linebuf, sizeof(linebuf),
  /src/crypto/external/bsd/openssl.old/dist/crypto/asn1/
asn_mime.c 57 static int strip_eol(char *linebuf, int *plen, int flags);
491 char linebuf[MAX_SMLEN]; local
502 while ((len = BIO_read(in, linebuf, MAX_SMLEN)) > 0)
503 BIO_write(out, linebuf, len);
508 while ((len = BIO_gets(in, linebuf, MAX_SMLEN)) > 0) {
509 eol = strip_eol(linebuf, &len, flags);
518 BIO_write(out, linebuf, len);
575 char linebuf[MAX_SMLEN]; local
590 while ((len = BIO_gets(bio, linebuf, MAX_SMLEN)) > 0) {
591 state = mime_bound_check(linebuf, len, bound, blen)
640 char linebuf[MAX_SMLEN]; local
    [all...]

Completed in 92 milliseconds

1 2 3