/netbsd-current/libexec/talkd/ |
H A D | print.c | 75 char tbuf[80]; local 79 (void)snprintf(tbuf, sizeof tbuf, "type %d", mp->type); 80 tp = tbuf; 91 char tbuf[80], abuf[80]; local 95 (void)snprintf(tbuf, sizeof tbuf, "type %d", rp->type); 96 tp = tbuf;
|
/netbsd-current/lib/libterminfo/ |
H A D | term_private.h | 255 _ti_encode_buf_16(TBUF *tbuf, size_t num) argument 258 le16enc(tbuf->buf + tbuf->bufpos, (uint16_t)num); 259 tbuf->bufpos += sizeof(uint16_t); 263 _ti_encode_buf_32(TBUF *tbuf, size_t num) argument 266 le32enc(tbuf->buf + tbuf->bufpos, (uint32_t)num); 267 tbuf->bufpos += sizeof(uint32_t); 271 _ti_encode_buf_count_str(TBUF *tbuf, const void *buf, size_t len) argument 273 _ti_encode_buf_16(tbuf, le 279 _ti_encode_buf_num(TBUF *tbuf, int num, int rtype) argument [all...] |
H A D | compile.c | 172 _ti_grow_tbuf(TBUF *tbuf, size_t len) argument 177 _DIAGASSERT(tbuf != NULL); 179 l = tbuf->bufpos + len; 180 if (l > tbuf->buflen) { 181 if (tbuf->buflen == 0) 184 buf = realloc(tbuf->buf, l); 187 tbuf->buf = buf; 188 tbuf->buflen = l; 190 return tbuf->buf; 194 _ti_find_cap(TIC *tic, TBUF *tbuf, cha argument 226 _ti_find_extra(TIC *tic, TBUF *tbuf, const char *code) argument 415 encode_string(const char *term, const char *cap, TBUF *tbuf, const char *str, int flags) argument 557 _ti_encode_buf_id_num(TBUF *tbuf, int ind, int num, size_t len) argument 571 _ti_encode_buf_id_count_str(TBUF *tbuf, int ind, const void *buf, size_t len) argument 582 _ti_encode_buf_id_flags(TBUF *tbuf, int ind, int flag) argument [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/sim/bfin/ |
H A D | interp.c | 127 char _tbuf[1024 * 3], *tbuf = _tbuf, tstr[1024]; local 163 tbuf += sprintf (tbuf, "exit(%i)", args[0]); 168 tbuf += sprintf (tbuf, "argc()"); 173 tbuf += sprintf (tbuf, "argnlen(%u)", args[0]); 182 tbuf += sprintf (tbuf, "argn(%u)", args[0]); 204 tbuf [all...] |
/netbsd-current/sys/dev/ic/ |
H A D | mpt_debug.c | 195 static char tbuf[64]; local 201 snprintf(tbuf, sizeof tbuf, "Unknown (0x%08x)", code); 202 return tbuf; 209 static char tbuf[128]; local 211 len = snprintf(tbuf, sizeof(tbuf), "(0x%08x)", code); 212 if (len > sizeof(tbuf)) 213 return tbuf; 216 if (len >= sizeof(tbuf)) 230 static char tbuf[64]; local 243 static char tbuf[64]; local 256 static char tbuf[128]; local 276 static char tbuf[64]; local [all...] |
/netbsd-current/external/gpl3/gdb/dist/sim/bfin/ |
H A D | interp.c | 108 char _tbuf[1024 * 3], *tbuf = _tbuf, tstr[1024]; local 144 tbuf += sprintf (tbuf, "exit(%i)", args[0]); 152 tbuf += sprintf (tbuf, "gettimeofday(%#x, %#x)", args[0], args[1]); 187 tbuf += sprintf (tbuf, "ioctl(%i, %#x, %u)", args[0], args[1], args[2]); 205 tbuf += sprintf (tbuf, "mmap2(%#x, %u, %#x, %#x, %i, %u)", 247 tbuf [all...] |
/netbsd-current/sys/ddb/ |
H A D | db_print.c | 66 char tbuf[24]; local 68 db_format_radix(tbuf, 24, offset, true); 69 db_printf("+%s", tbuf);
|
H A D | db_examine.c | 78 char tbuf[24]; local 126 db_format_radix(tbuf, 24, value, false); 127 db_printf("%-*s", width, tbuf); 179 db_format_hex(tbuf, 24, value, false); 180 db_printf("%-*s", width, tbuf); 254 char tbuf[24]; local 256 db_format_radix(tbuf, 24, addr, false); 257 db_printf("%11s", tbuf); 265 char tbuf[24]; local 267 db_format_hex(tbuf, 2 [all...] |
/netbsd-current/external/mpl/bind/dist/bin/tools/ |
H A D | named-rrchecker.c | 94 isc_buffer_t tbuf; local 297 isc_buffer_init(&tbuf, text, sizeof(text)); 298 result = dns_rdataclass_totext(rdclass, &tbuf); 303 isc_buffer_putstr(&tbuf, "\t"); 304 result = dns_rdatatype_totext(rdtype, &tbuf); 309 isc_buffer_putstr(&tbuf, "\t"); 310 result = dns_rdata_totext(&rdata, NULL, &tbuf); 316 printf("%.*s\n", (int)tbuf.used, (char *)tbuf.base); 321 isc_buffer_init(&tbuf, tex [all...] |
/netbsd-current/external/bsd/file/dist/src/ |
H A D | print.c | 59 char tbuf[256]; local 166 file_fmtdatetime(tbuf, sizeof(tbuf), m->value.l, 0)); 173 file_fmtdatetime(tbuf, sizeof(tbuf), m->value.l, 180 file_fmtdatetime(tbuf, sizeof(tbuf), m->value.q, 0)); 186 file_fmtdatetime(tbuf, sizeof(tbuf), m->value.q, 193 file_fmtdatetime(tbuf, sizeo [all...] |
/netbsd-current/crypto/dist/ipsec-tools/src/racoon/ |
H A D | logger.h | 41 time_t *tbuf; member in struct:log
|
/netbsd-current/external/ibm-public/postfix/dist/src/oqmgr/ |
H A D | qmgr_move.c | 65 struct utimbuf tbuf; local 77 tbuf.actime = tbuf.modtime = time_stamp; 79 if (utime(path, &tbuf) < 0) {
|
/netbsd-current/external/ibm-public/postfix/dist/src/qmgr/ |
H A D | qmgr_move.c | 65 struct utimbuf tbuf; local 77 tbuf.actime = tbuf.modtime = time_stamp; 79 if (utime(path, &tbuf) < 0) {
|
/netbsd-current/sbin/dkscan_bsdlabel/ |
H A D | dkscan_util.h | 40 void *tbuf, size_t len);
|
H A D | dkscan_util.c | 72 void *tbuf, size_t len) 74 if (pread(disk_fd, tbuf, len, blkno * BLOCK_SIZE) < 0) 71 dkwedge_read(struct disk *pdk, struct vnode *vp, daddr_t blkno, void *tbuf, size_t len) argument
|
/netbsd-current/external/bsd/ntp/dist/ntpd/ |
H A D | refclock_arbiter.c | 245 char tbuf[BMAX]; /* temp buffer */ local 253 temp = refclock_gtlin(rbufp, tbuf, sizeof(tbuf), &trtmp); 288 if (!strncmp(tbuf, "TQ", 2)) { 289 up->qualchar = tbuf[2]; 293 } else if (!strncmp(tbuf, "SR", 2)) { 294 strlcpy(up->status, tbuf + 2, 302 } else if (!strncmp(tbuf, "LA", 2)) { 303 strlcpy(up->latlon, tbuf + 2, sizeof(up->latlon)); 307 } else if (!strncmp(tbuf, "L [all...] |
H A D | refclock_atom.c | 190 char tbuf[80]; local 204 snprintf(tbuf, sizeof(tbuf), "%.9f", 206 record_clock_stats(&peer->srcadr, tbuf);
|
/netbsd-current/usr.bin/finger/ |
H A D | extern.h | 35 extern char tbuf[1024]; /* Temp buffer for anybody. */
|
H A D | util.c | 112 (void)strlcpy(bp = tbuf, pw->pw_gecos, sizeof(tbuf)); 383 (void)snprintf(tbuf, sizeof(tbuf), "%s/%s", _PATH_DEV, w->tty); 384 if (stat(tbuf, &sb) < 0) { 385 warn("%s", tbuf); 410 (void)strlcpy(bp = tbuf, pw->pw_gecos, sizeof(tbuf)); 423 (void)snprintf(tbuf, sizeof(tbuf), " [all...] |
/netbsd-current/usr.bin/cut/ |
H A D | cut.c | 230 char *lbuf, *tbuf; local 232 for (sep = dchar, tbuf = NULL; (lbuf = fgetln(fp, &len)) != NULL;) { 236 if ((tbuf = (char *)malloc(len + 1)) == NULL) 238 (void)memcpy(tbuf, lbuf, len); 239 tbuf[len++] = '\n'; 240 lbuf = tbuf; 280 if (tbuf) { 281 free(tbuf); 282 tbuf = NULL; 285 if (tbuf) [all...] |
/netbsd-current/usr.sbin/rtadvd/ |
H A D | advcap.c | 79 * BUG: Should use a "last" pointer in tbuf, so that searching 90 static char *tbuf; variable 129 tbuf = bp; 195 char *holdtbuf = tbuf; 198 p = tbuf + strlen(tbuf) - 2; /* before the last colon */ 200 if (p < tbuf) { 228 tbuf = holdtbuf; 243 Bp = tbuf; 314 char *bp = tbuf; [all...] |
/netbsd-current/sbin/dmesg/ |
H A D | dmesg.c | 153 char tbuf[64]; local 278 if (tstamp < sizeof(tbuf) - 1) \ 279 tbuf[tstamp++] = (c); \ 283 tbuf[sizeof(tbuf) - 1] = '\0'; \ 290 for (char *_p = tbuf; *_p != '\0'; _p++) { \ 331 switch (sscanf(tbuf, "[%jd.%ld]", &sec, &fsec)){ 365 strftime(tbuf, sizeof(tbuf), 368 printf("%s", tbuf); [all...] |
/netbsd-current/crypto/external/bsd/openssl/dist/providers/implementations/asymciphers/ |
H A D | rsa_enc.c | 157 unsigned char *tbuf; local 159 if ((tbuf = OPENSSL_malloc(rsasize)) == NULL) { 166 OPENSSL_free(tbuf); 172 ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex(prsactx->libctx, tbuf, 180 OPENSSL_free(tbuf); 183 ret = RSA_public_encrypt(rsasize, tbuf, out, prsactx->rsa, 185 OPENSSL_free(tbuf); 234 unsigned char *tbuf; local 236 if ((tbuf = OPENSSL_malloc(len)) == NULL) { 240 ret = RSA_private_decrypt(inlen, in, tbuf, prsact [all...] |
/netbsd-current/sys/fs/cd9660/ |
H A D | cd9660_node.c | 301 u_char tbuf[7]; local 304 tbuf[0] = cd9660_chars2ui(pi,4) - 1900; 307 tbuf[1] = cd9660_chars2ui(pi + 4,2); 310 tbuf[2] = cd9660_chars2ui(pi + 6,2); 313 tbuf[3] = cd9660_chars2ui(pi + 8,2); 316 tbuf[4] = cd9660_chars2ui(pi + 10,2); 319 tbuf[5] = cd9660_chars2ui(pi + 12,2); 322 tbuf[6] = pi[16]; 324 return cd9660_tstamp_conv7(tbuf,pu);
|
/netbsd-current/crypto/external/bsd/openssh/dist/ |
H A D | sftp-common.c | 225 char buf[1024], lc[8], mode[11+1], tbuf[12+1], ubuf[11+1], gbuf[11+1]; local 249 sz = strftime(tbuf, sizeof tbuf, "%b %e %H:%M", ltime); 251 sz = strftime(tbuf, sizeof tbuf, "%b %e %Y", ltime); 254 tbuf[0] = '\0'; 261 sbuf, tbuf, name); 265 (unsigned long long)st->st_size, tbuf, name);
|