Searched refs:lbuf (Results 1 - 25 of 61) sorted by relevance

123

/freebsd-9.3-release/tools/regression/lib/libc/stdio/
H A Dtest-perror.c50 char lbuf[512]; local
84 s = fgets(lbuf, sizeof(lbuf), stderr);
87 s = fgets(lbuf, sizeof(lbuf), stderr);
90 s = fgets(lbuf, sizeof(lbuf), stderr);
93 s = fgets(lbuf, sizeof(lbuf), stderr);
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dipft_td.c102 char lbuf[160], *s; local
105 if (!fgets(lbuf, sizeof(lbuf) - 1, tfp))
108 if ((s = strchr(lbuf, '\n')))
110 lbuf[sizeof(lbuf)-1] = '\0';
114 if ((n = sscanf(lbuf, "%31s > %31s: %255s", src, dst, misc)) != 3)
115 if ((n = sscanf(lbuf, "%31s %31s > %31s: %255s",
117 if ((n = sscanf(lbuf, "%31s %31s: %31s > %31s: %255s",
119 n = sscanf(lbuf,
[all...]
H A Dipft_ef.c79 char lbuf[128], len[8], prot[8], time[8], *s; local
82 if (!fgets(lbuf, sizeof(lbuf) - 1, efp))
85 if ((s = strchr(lbuf, '\n')))
87 lbuf[sizeof(lbuf)-1] = '\0';
91 if (sscanf(lbuf, "%7s %7s %15s %15s %15s %15s", len, prot, src, dst,
93 if (sscanf(lbuf, "%7s %7s %7s %15s %15s %15s %15s", time,
/freebsd-9.3-release/sys/compat/linux/
H A Dlinux_stats.c257 struct l_stat lbuf; local
259 bzero(&lbuf, sizeof(lbuf));
260 lbuf.st_dev = buf->st_dev;
261 lbuf.st_ino = buf->st_ino;
262 lbuf.st_mode = buf->st_mode;
263 lbuf.st_nlink = buf->st_nlink;
264 lbuf.st_uid = buf->st_uid;
265 lbuf.st_gid = buf->st_gid;
266 lbuf
507 struct l_stat64 lbuf; local
[all...]
/freebsd-9.3-release/lib/libc/locale/
H A Dldpart.c57 char *lbuf, *p; local
99 if ((lbuf = malloc(bufsize)) == NULL) {
103 (void)strcpy(lbuf, name);
104 p = lbuf + namesize;
130 *locale_buf = lbuf;
141 free(lbuf);
/freebsd-9.3-release/usr.bin/cut/
H A Dcut.c273 char *lbuf; local
279 while ((lbuf = fgetln(fp, &lbuflen)) != NULL) {
281 if ((clen = mbrlen(lbuf, lbuflen, &mbs)) < 0) {
289 if (clen == 0 || *lbuf == '\n')
306 fwrite(lbuf, 1, clen, stdout);
320 fwrite(lbuf, 1, clen, stdout);
322 lbuf += clen;
386 char *lbuf, *mlbuf; local
390 while ((lbuf = fgetln(fp, &lbuflen)) != NULL) {
393 if (*(lbuf
[all...]
/freebsd-9.3-release/lib/libdwarf/
H A Ddwarf_loc.c305 dwarf_loc_fill(Dwarf_Locdesc *lbuf, uint8_t pointer_size, uint8_t *p, int len) argument
321 lbuf->ld_s[count].lr_atom = *p;
521 lbuf->ld_s[count].lr_number = operand1;
522 lbuf->ld_s[count].lr_number2 = operand2;
534 Dwarf_Locdesc *lbuf; local
549 } else if ((lbuf = calloc(sizeof(Dwarf_Locdesc), 1)) == NULL) {
566 } else if ((lbuf->ld_s =
572 } else if ((ret = dwarf_loc_fill(lbuf,
575 free(lbuf->ld_s);
588 *llbuf = lbuf;
597 dwarf_locdesc_free(Dwarf_Locdesc *lbuf, Dwarf_Error *err) argument
[all...]
/freebsd-9.3-release/usr.bin/ctags/
H A Dfortran.c59 if (!fgets(lbuf, sizeof(lbuf), inf))
62 lbp = lbuf;
H A Dlisp.c60 if (!fgets(lbuf, sizeof(lbuf), inf))
63 lbp = lbuf;
H A Dctags.c81 char lbuf[LINE_MAX]; variable
177 (void)strcpy(lbuf, "\t");
178 (void)strlcat(lbuf, argv[step], LINE_MAX);
179 (void)strlcat(lbuf, "\t", LINE_MAX);
180 if (regcomp(regx + step, lbuf,
185 while (fgets(lbuf, LINE_MAX, oldf)) {
188 lbuf, 0, NULL, 0) == 0)
190 fputs(lbuf, outf);
300 (void)strcpy(lbuf, "%%$");
311 (void)strcpy(lbuf, "
[all...]
H A Dprint.c61 for (cp = lbuf; GETC(!=, EOF) && c != '\n'; *cp++ = c)
68 else for (cnt = 0, cp = lbuf; GETC(!=, EOF) && cnt < ENDLINE; ++cnt) {
/freebsd-9.3-release/sys/boot/ofw/libofw/
H A Dofw_memory.c64 char lbuf[80]; local
86 sprintf(lbuf, "%08x-%08x\t%08x-%08x\t%8d\t%6x\n",
93 if (pager_output(lbuf))
104 sprintf(lbuf, "%08x-%08x\t%08x-%08x\t%8d\t%6x\n",
111 if (pager_output(lbuf))
/freebsd-9.3-release/sys/boot/common/
H A Dboot.c308 char lbuf[128], *cp, *ep, *dev, *fstyp, *options; local
315 sprintf(lbuf, "%s/etc/fstab", rootdev);
316 if ((fd = open(lbuf, O_RDONLY)) < 0)
320 while (fgetstr(lbuf, sizeof(lbuf), fd) >= 0) {
321 if ((lbuf[0] == 0) || (lbuf[0] == '#'))
325 for (cp = lbuf; (*cp != 0) && !isspace(*cp); cp++)
331 dev = strdup(lbuf);
365 sprintf(lbuf, "
[all...]
H A Dls.c65 char lbuf[128]; /* one line */ local
114 sprintf(lbuf, " %c %8d %s\n", typestr[d->d_type],
117 sprintf(lbuf, " %c %s\n", typestr[d->d_type], d->d_name);
119 if (pager_output(lbuf))
/freebsd-9.3-release/contrib/sendmail/rmail/
H A Drmail.c103 char **args, buf[2048], lbuf[2048]; local
138 if (sm_io_fgets(smioin, SM_TIME_DEFAULT, lbuf,
139 sizeof(lbuf)) < 0)
141 if ((p = strchr(lbuf, '\n')) == NULL)
146 if (!strncmp(lbuf, "From ", 5))
147 addrp = lbuf + 5;
148 else if (!strncmp(lbuf, ">From ", 6))
149 addrp = lbuf + 6;
152 "missing or empty From line: %s", lbuf);
160 err(EX_DATAERR, "corrupted From line: %s", lbuf);
[all...]
/freebsd-9.3-release/usr.bin/wall/
H A Dwall.c198 wchar_t *p, *tmp, lbuf[256], codebuf[13]; local
227 (void)swprintf(lbuf, sizeof(lbuf)/sizeof(wchar_t),
230 (void)fwprintf(fp, L"%-79.79S\007\007\r\n", lbuf);
231 (void)swprintf(lbuf, sizeof(lbuf)/sizeof(wchar_t),
234 (void)fwprintf(fp, L"%-79.79S\r\n", lbuf);
247 while (fgetws(lbuf, sizeof(lbuf)/sizeof(wchar_t), stdin)) {
248 for (p = lbuf; (c
[all...]
/freebsd-9.3-release/contrib/tcp_wrappers/
H A Dfix_options.c43 char lbuf[BUFFER_SIZE], *lp; local
119 lp = lbuf;
124 eval_client(request), lbuf);
/freebsd-9.3-release/crypto/heimdal/appl/telnet/libtelnet/
H A Denc_des.c462 char lbuf[32]; local
471 snprintf(lbuf, sizeof(lbuf), "%s_IV", type);
472 cp = lbuf;
476 snprintf(lbuf, sizeof(lbuf), "%s_IV_OK", type);
477 cp = lbuf;
481 snprintf(lbuf, sizeof(lbuf), "%s_IV_BAD", type);
482 cp = lbuf;
[all...]
/freebsd-9.3-release/usr.bin/rwall/
H A Drwall.c134 char *tty, hostname[MAXHOSTNAMELEN], lbuf[256], tmpname[64]; local
170 while (fgets(lbuf, sizeof(lbuf), stdin))
171 fputs(lbuf, fp);
/freebsd-9.3-release/crypto/openssl/fips/dsa/
H A Dfips_dssvs.c45 char lbuf[10240]; local
50 if (!parse_line(&keyword, &value, lbuf, buf))
66 char lbuf[1024]; local
71 if (!parse_line(&keyword, &value, lbuf, buf)) {
110 char lbuf[1024]; local
120 if (!parse_line(&keyword, &value, lbuf, buf)) {
203 char lbuf[1024]; local
214 if (!parse_line(&keyword, &value, lbuf, buf)) {
282 char lbuf[1024]; local
287 if (!parse_line(&keyword, &value, lbuf, bu
326 char lbuf[1024]; local
394 char lbuf[1024]; local
[all...]
/freebsd-9.3-release/sbin/fdisk_pc98/
H A Dfdisk.c52 static char lbuf[LBUF]; variable
773 if (fgets(lbuf, LBUF, stdin) == NULL)
775 lbuf[strlen(lbuf)-1] = 0;
777 if (*lbuf &&
778 (!strcmp(lbuf, "yes") || !strcmp(lbuf, "YES") ||
779 !strcmp(lbuf, "y") || !strcmp(lbuf, "Y")))
794 if (fgets(lbuf, LBU
[all...]
/freebsd-9.3-release/crypto/openssl/fips/rand/
H A Dfips_rngvs.c41 char lbuf[1024]; local
55 if (!parse_line(&keyword, &value, lbuf, buf))
108 char lbuf[1024]; local
123 if (!parse_line(&keyword, &value, lbuf, buf))
/freebsd-9.3-release/contrib/telnet/libtelnet/
H A Denc_des.c445 char lbuf[32]; local
454 sprintf(lbuf, "%s_IV", type);
455 cp = lbuf;
459 sprintf(lbuf, "%s_IV_OK", type);
460 cp = lbuf;
464 sprintf(lbuf, "%s_IV_BAD", type);
465 cp = lbuf;
469 sprintf(lbuf, " %d (unknown)", data[2]);
470 cp = lbuf;
475 sprintf(lbuf, "
[all...]
H A Dkrb4encpwd.c358 char lbuf[32]; local
395 sprintf(lbuf, " %d (unknown)", data[3]);
396 strncpy((char *)buf, lbuf, buflen);
400 sprintf(lbuf, " %d", data[i]);
401 strncpy((char *)buf, lbuf, buflen);
/freebsd-9.3-release/contrib/ntp/tests/libntp/
H A Dcalendar.c640 static char lbuf[128];
658 snprintf(lbuf, sizeof(lbuf),
664 lbuf);
669 snprintf(lbuf, sizeof(lbuf),
673 TEST_ASSERT_EQUAL_MESSAGE(ntp_vals[iloop], hold.D_s.lo, lbuf);
698 static char lbuf[128];
715 snprintf(lbuf, sizeof(lbuf),
[all...]

Completed in 318 milliseconds

123