/freebsd-current/usr.sbin/bhyve/ |
H A D | net_backends.c | 92 char tbuf[80]; local 104 strcpy(tbuf, "/dev/"); 105 strlcat(tbuf, devname, sizeof(tbuf)); 107 be->fd = open(tbuf, O_RDWR); 109 EPRINTLN("open of tap device %s failed", tbuf);
|
/freebsd-current/usr.bin/logger/ |
H A D | logger.c | 91 char *tag, *host, buf[1024], *timestamp, tbuf[26], local 192 timestamp = tbuf + 4; 200 (void )ctime_r(&now, tbuf); 201 tbuf[19] = '\0'; 226 (void )ctime_r(&now, tbuf); 227 tbuf[19] = '\0';
|
/freebsd-current/lib/libc/net/ |
H A D | gethostbydns.c | 146 char tbuf[MAXDNAME]; local 236 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); 237 if ((n < 0) || !(*name_ok)(tbuf)) { 255 n = strlen(tbuf) + 1; /* for the \0 */ 260 strcpy(bp, tbuf); 266 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); 267 if (n < 0 || !res_dnok(tbuf)) { 277 n = strlen(tbuf) [all...] |
/freebsd-current/crypto/openssl/providers/implementations/signature/ |
H A D | rsa_sig.c | 108 unsigned char *tbuf; member in struct:__anon67 485 if (ctx->tbuf != NULL) 487 if ((ctx->tbuf = OPENSSL_malloc(RSA_size(ctx->rsa))) == NULL) { 496 if (ctx->tbuf != NULL) 497 OPENSSL_cleanse(ctx->tbuf, RSA_size(ctx->rsa)); 503 OPENSSL_free(ctx->tbuf); 504 ctx->tbuf = NULL; 574 memcpy(prsactx->tbuf, tbs, tbslen); 575 prsactx->tbuf[tbslen] = RSA_X931_hash_id(prsactx->mdnid); 576 ret = RSA_private_encrypt(tbslen + 1, prsactx->tbuf, [all...] |
/freebsd-current/contrib/ntp/ntpd/ |
H A D | refclock_wwv.c | 1303 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 D | refclock_chu.c | 1102 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-current/usr.sbin/rpcbind/ |
H A D | util.c | 116 struct netbuf *serv_nbp = NULL, *hint_nbp = NULL, tbuf; local 291 tbuf.len = ss.ss_len; 292 tbuf.maxlen = sizeof(ss); 293 tbuf.buf = &ss; 294 ret = taddr2uaddr(nconf, &tbuf);
|
/freebsd-current/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | auth.c | 612 unsigned char tbuf[16]; local 620 snprintf((char*)tbuf, sizeof(tbuf), " %d", *data); 621 for (cp = tbuf; *cp && buflen > 0; --buflen)
|
H A D | encrypt.c | 974 char tbuf[16], *cp; local 982 snprintf(tbuf, sizeof(tbuf), " %d", *data); 983 for (cp = tbuf; *cp && buflen > 0; --buflen)
|
/freebsd-current/usr.bin/mail/ |
H A D | main.c | 356 struct termios tbuf; local 362 if (tcgetattr(1, &tbuf) < 0) 365 speed = cfgetospeed(&tbuf);
|
/freebsd-current/bin/pax/ |
H A D | file_subs.c | 896 char tbuf[FILEBLK]; 907 if ((size = (u_long)arcn->sb.st_blksize) > (u_long)sizeof(tbuf)) 908 size = (u_long)sizeof(tbuf); 915 if ((res = read(fd, tbuf, size)) <= 0) 919 crc += (tbuf[i] & 0xff); 891 char tbuf[FILEBLK]; local
|
/freebsd-current/contrib/telnet/libtelnet/ |
H A D | auth.c | 600 unsigned char tbuf[16]; local 608 sprintf((char *)tbuf, " %d", *data); 609 for (cp = tbuf; *cp && buflen > 0; --buflen)
|
/freebsd-current/contrib/libxo/libxo/ |
H A D | xo_syslog.c | 492 char tbuf[2048]; local 524 xb.xb_bufp = tbuf; 525 xb.xb_curp = tbuf; 526 xb.xb_size = sizeof(tbuf);
|
/freebsd-current/contrib/less/ |
H A D | screen.c | 974 static char tbuf[40]; local 996 char *sp = tbuf; 1034 tbuf[0] = '\177'; 1035 tbuf[1] = '\0'; 1036 s = tbuf; 1123 tbuf[0] = '\177'; 1124 tbuf[1] = '\0'; 1125 s = tbuf; 1132 tbuf[0] = '\b'; 1133 tbuf[ [all...] |
H A D | output.c | 477 char tbuf[INT_STRLEN_BOUND(num)+2]; \ 478 char *s = tbuf + sizeof(tbuf); \
|
/freebsd-current/crypto/heimdal/appl/telnet/telnet/ |
H A D | utilities.c | 607 char tbuf[64]; 608 snprintf(tbuf, sizeof(tbuf), 615 fprintf(NetTrace, "%s", tbuf[1] ? &tbuf[1] : "0"); 606 char tbuf[64]; local
|
/freebsd-current/crypto/heimdal/appl/telnet/telnetd/ |
H A D | utility.c | 774 char tbuf[32]; local 775 snprintf(tbuf, 776 sizeof(tbuf), 784 tbuf[1] ? &tbuf[1] : "0");
|
/freebsd-current/crypto/openssl/apps/ |
H A D | pkeyutl.c | 719 unsigned char tbuf[TBUF_MAXSIZE]; local 760 buf_len = BIO_read(in, tbuf, TBUF_MAXSIZE); 767 rv = EVP_DigestVerifyUpdate(mctx, tbuf, (size_t)buf_len); 777 buf_len = BIO_read(in, tbuf, TBUF_MAXSIZE); 784 rv = EVP_DigestSignUpdate(mctx, tbuf, (size_t)buf_len);
|
/freebsd-current/contrib/file/src/ |
H A D | readcdf.c | 229 char tbuf[64]; local 231 cdf_print_elapsed_time(tbuf, 232 sizeof(tbuf), tp); 234 ", %s: %s", buf, tbuf) == -1) 239 c = cdf_ctime(&ts.tv_sec, tbuf);
|
H A D | softmagic.c | 589 char buf[128], tbuf[26], sbuf[512], ebuf[512]; local 688 file_fmtdatetime(tbuf, sizeof(tbuf), p->l, 0)) == -1) 697 file_fmtdatetime(tbuf, sizeof(tbuf), p->l, FILE_T_LOCAL)) 706 file_fmtdatetime(tbuf, sizeof(tbuf), p->q, 0)) == -1) 714 file_fmtdatetime(tbuf, sizeof(tbuf), p->q, FILE_T_LOCAL)) == -1) 722 file_fmtdatetime(tbuf, sizeo [all...] |
/freebsd-current/contrib/telnet/telnet/ |
H A D | utilities.c | 626 char tbuf[64]; 627 snprintf(tbuf, sizeof(tbuf), "%s%s%s%s%s", 633 fprintf(NetTrace, "%s", tbuf[1] ? &tbuf[1] : "0"); 625 char tbuf[64]; local
|
/freebsd-current/crypto/openssl/crypto/objects/ |
H A D | obj_dat.c | 418 char tbuf[DECIMAL_SIZE(i) + DECIMAL_SIZE(l) + 2]; local 540 BIO_snprintf(tbuf, sizeof(tbuf), ".%lu", l); 541 i = strlen(tbuf); 543 OPENSSL_strlcpy(buf, tbuf, buf_len);
|
/freebsd-current/usr.sbin/watch/ |
H A D | watch.c | 78 char tbuf[1024], gbuf[1024]; variable 195 if (tgetent(tbuf, term) == 1)
|
/freebsd-current/tests/sys/file/ |
H A D | flock_helper.c | 1140 char tbuf[128]; local 1282 if (pread(fd, tbuf, sizeof(tbuf), 0) != sizeof(tbuf)) { 1288 if (map[i] != F_UNLCK && buf[i] != tbuf[i]) { 1291 "got %d\n", id, i, buf[i], tbuf[i]);
|
/freebsd-current/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | operations.cpp | 594 array<TimeSpec, 2> tbuf; 603 tbuf[0] = detail::extract_atime(st); 605 tbuf[0].tv_sec = 0; 606 tbuf[0].tv_nsec = UTIME_OMIT; 608 if (!fs_time::convert_to_timespec(tbuf[1], new_time)) 611 detail::set_file_times(p, tbuf, m_ec);
|