Searched refs:tbuf (Results 26 - 50 of 94) sorted by relevance

1234

/freebsd-9.3-release/usr.sbin/rpcbind/
H A Dutil.c116 struct netbuf *serv_nbp = NULL, *hint_nbp = NULL, tbuf; local
259 tbuf.len = ss.ss_len;
260 tbuf.maxlen = sizeof(ss);
261 tbuf.buf = &ss;
262 ret = taddr2uaddr(nconf, &tbuf);
/freebsd-9.3-release/release/picobsd/tinyware/login/
H A Dpico-login.c162 char tbuf[MAXPATHLEN + 2]; local
178 badlogin(tbuf);
309 if (failures && strcmp(tbuf, username)) {
311 badlogin(tbuf);
313 (void)strlcpy(tbuf, username, sizeof(tbuf));
700 strlcpy(tbuf, cw, sizeof(tbuf));
702 snprintf(tbuf, sizeof(tbuf), "
968 char tbuf[256]; local
975 (void)write(fileno(stdout), tbuf, nchars); local
[all...]
/freebsd-9.3-release/usr.bin/mail/
H A Dmain.c325 struct termios tbuf; local
331 if (tcgetattr(1, &tbuf) < 0)
334 speed = cfgetospeed(&tbuf);
/freebsd-9.3-release/lib/libc/net/
H A Dgethostbydns.c155 char tbuf[MAXDNAME]; local
245 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf);
246 if ((n < 0) || !(*name_ok)(tbuf)) {
264 n = strlen(tbuf) + 1; /* for the \0 */
269 strcpy(bp, tbuf);
275 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf);
276 if (n < 0 || !res_dnok(tbuf)) {
286 n = strlen(tbuf)
[all...]
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_acts.c320 char tbuf[sizeof(up->buf)]; local
335 refclock_gtraw(rbufp, tbuf, octets, &pp->lastrec);
336 for (tptr = tbuf; *tptr != '\0'; tptr++) {
369 char tbuf[BMAX]; local
384 strlcpy(tbuf, msg, sizeof(tbuf));
385 strtok(tbuf, " ");
395 if (strcmp(tbuf, "OK") != 0) {
402 if (!strcmp(tbuf, modem_setup))
427 if (strcmp(tbuf, "CONNEC
[all...]
H A Drefclock_wwv.c1303 char tbuf[TBUF]; /* monitor buffer */ local
1354 snprintf(tbuf, sizeof(tbuf),
1359 record_clock_stats(&peer->srcadr, tbuf);
1362 printf("%s\n", tbuf);
1403 char tbuf[TBUF]; /* monitor buffer */ local
1481 snprintf(tbuf, sizeof(tbuf),
1486 record_clock_stats(&peer->srcadr, tbuf);
1489 printf("%s\n", tbuf);
1758 char tbuf[TBUF]; /* monitor buffer */ local
2127 char tbuf[TBUF]; /* monitor buffer */ local
[all...]
H A Drefclock_chu.c1102 char tbuf[80]; /* trace buffer */ local
1118 snprintf(tbuf, sizeof(tbuf), "chuB %04x %4.0f %2d %2d ",
1120 cb = sizeof(tbuf);
1121 p = tbuf;
1133 record_clock_stats(&peer->srcadr, tbuf);
1136 printf("%s\n", tbuf);
1175 char tbuf[80]; /* trace buffer */ local
1221 snprintf(tbuf, sizeof(tbuf),
[all...]
/freebsd-9.3-release/usr.sbin/mtree/
H A Dcompare.c381 char tbuf[MAXPATHLEN]; local
383 if ((len = readlink(name, tbuf, sizeof(tbuf) - 1)) == -1)
385 tbuf[len] = '\0';
386 strvis(lbuf, tbuf, VIS_WHITE | VIS_OCTAL);
/freebsd-9.3-release/bin/ed/
H A Dcbc.c369 DES_cblock tbuf; /* temp buffer for initialization vector */ local
378 MEMCPY(tbuf, msgbuf, 8);
382 MEMCPY(ivec, tbuf, 8);
/freebsd-9.3-release/bin/pax/
H A Dfile_subs.c898 char tbuf[FILEBLK]; local
909 if ((size = (u_long)arcn->sb.st_blksize) > (u_long)sizeof(tbuf))
910 size = (u_long)sizeof(tbuf);
917 if ((res = read(fd, tbuf, size)) <= 0)
921 crc += (tbuf[i] & 0xff);
/freebsd-9.3-release/contrib/file/src/
H A Dreadcdf.c207 char tbuf[64]; local
209 cdf_print_elapsed_time(tbuf,
210 sizeof(tbuf), tp);
212 ", %s: %s", buf, tbuf) == -1)
217 c = cdf_ctime(&ts.tv_sec, tbuf);
/freebsd-9.3-release/sys/compat/svr4/
H A Dsvr4_stat.c568 struct timeval tbuf[2], *tp; local
576 tbuf[0].tv_sec = ub.actime;
577 tbuf[0].tv_usec = 0;
578 tbuf[1].tv_sec = ub.modtime;
579 tbuf[1].tv_usec = 0;
580 tp = tbuf;
/freebsd-9.3-release/contrib/less/
H A Doutput.c400 char tbuf[INT_STRLEN_BOUND(num)+2]; \
401 register char *s = tbuf + sizeof(tbuf); \
H A Dscreen.c886 static char tbuf[40]; local
907 char *sp = tbuf;
947 tbuf[0] = '\177';
948 tbuf[1] = '\0';
949 s = tbuf;
1035 tbuf[0] = '\177';
1036 tbuf[1] = '\0';
1037 s = tbuf;
1042 tbuf[0] = CONTROL('K');
1043 tbuf[
[all...]
/freebsd-9.3-release/contrib/opie/
H A Dopiepasswd.c362 char tbuf[OPIE_RESPONSE_MAX + 1]; local
372 opiebtoe(tbuf, &key);
373 if (opieverify(&opie, tbuf)) {
/freebsd-9.3-release/contrib/telnet/libtelnet/
H A Dauth.c607 unsigned char tbuf[16]; local
615 sprintf((char *)tbuf, " %d", *data);
616 for (cp = tbuf; *cp && buflen > 0; --buflen)
/freebsd-9.3-release/crypto/heimdal/appl/telnet/libtelnet/
H A Dauth.c644 unsigned char tbuf[16]; local
652 snprintf((char*)tbuf, sizeof(tbuf), " %d", *data);
653 for (cp = tbuf; *cp && buflen > 0; --buflen)
H A Dencrypt.c974 char tbuf[16], *cp; local
982 snprintf(tbuf, sizeof(tbuf), " %d", *data);
983 for (cp = tbuf; *cp && buflen > 0; --buflen)
/freebsd-9.3-release/crypto/heimdal/appl/telnet/telnet/
H A Dutilities.c593 char tbuf[64];
594 snprintf(tbuf, sizeof(tbuf),
601 fprintf(NetTrace, "%s", tbuf[1] ? &tbuf[1] : "0");
592 char tbuf[64]; local
/freebsd-9.3-release/crypto/heimdal/appl/telnet/telnetd/
H A Dutility.c774 char tbuf[32]; local
775 snprintf(tbuf,
776 sizeof(tbuf),
784 tbuf[1] ? &tbuf[1] : "0");
/freebsd-9.3-release/crypto/openssl/crypto/objects/
H A Dobj_dat.c457 char tbuf[DECIMAL_SIZE(i) + DECIMAL_SIZE(l) + 2]; local
560 BIO_snprintf(tbuf, sizeof tbuf, ".%lu", l);
561 i = strlen(tbuf);
563 BUF_strlcpy(buf, tbuf, buf_len);
/freebsd-9.3-release/contrib/telnet/telnet/
H A Dutilities.c632 char tbuf[64];
633 sprintf(tbuf, "%s%s%s%s%s",
639 fprintf(NetTrace, "%s", tbuf[1] ? &tbuf[1] : "0");
631 char tbuf[64]; local
/freebsd-9.3-release/contrib/telnet/telnetd/
H A Dutility.c719 char tbuf[32]; local
720 sprintf(tbuf, "%s%s%s%s%s",
726 output_data("%s", tbuf[1] ? &tbuf[1] : "0");
/freebsd-9.3-release/usr.sbin/watch/
H A Dwatch.c81 char tbuf[1024], gbuf[1024]; variable
198 if (tgetent(tbuf, term) == 1)
/freebsd-9.3-release/release/picobsd/tinyware/msh/
H A Dsh3.c1091 struct tms tbuf; local
1093 times(&tbuf);
1095 prn((int)(tbuf.tms_cutime / MINS));
1097 prn((int)((tbuf.tms_cutime % MINS) / SECS));
1099 prn((int)(tbuf.tms_cstime / MINS));
1101 prn((int)((tbuf.tms_cstime % MINS) / SECS));

Completed in 345 milliseconds

1234