| /src/libexec/talkd/ |
| print.c | 76 char tbuf[80]; local 80 (void)snprintf(tbuf, sizeof tbuf, "type %d", mp->type); 81 tp = tbuf; 92 char tbuf[80], abuf[80]; local 96 (void)snprintf(tbuf, sizeof tbuf, "type %d", rp->type); 97 tp = tbuf;
|
| /src/lib/libterminfo/ |
| term_private.h | 165 } TBUF; 172 TBUF flags; 173 TBUF nums; 174 TBUF strs; 175 TBUF extras; 182 char *_ti_grow_tbuf(TBUF *, size_t); 184 const char *_ti_find_cap(TIC *, TBUF *, char, short); 185 const char *_ti_find_extra(TIC *, TBUF *, const char *); 193 int _ti_encode_buf_id_num(TBUF *, int, int, size_t); 194 int _ti_encode_buf_id_count_str(TBUF *, int, const void *, size_t) [all...] |
| compile.c | 172 _ti_grow_tbuf(TBUF *tbuf, size_t len) 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 [all...] |
| /src/sys/dev/ic/ |
| 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...] |
| /src/external/gpl3/gdb.old/dist/sim/bfin/ |
| interp.c | 110 char _tbuf[1024 * 3], *tbuf = _tbuf, tstr[1024]; local 146 tbuf += sprintf (tbuf, "exit(%i)", args[0]); 154 tbuf += sprintf (tbuf, "gettimeofday(%#x, %#x)", args[0], args[1]); 189 tbuf += sprintf (tbuf, "ioctl(%i, %#x, %u)", args[0], args[1], args[2]); 207 tbuf += sprintf (tbuf, "mmap2(%#x, %u, %#x, %#x, %i, %u)", 249 tbuf += sprintf (tbuf, "munmap(%#x, %u)", args[0], args[1]) [all...] |
| /src/external/gpl3/gdb/dist/sim/bfin/ |
| interp.c | 110 char _tbuf[1024 * 3], *tbuf = _tbuf, tstr[1024]; local 146 tbuf += sprintf (tbuf, "exit(%i)", args[0]); 154 tbuf += sprintf (tbuf, "gettimeofday(%#x, %#x)", args[0], args[1]); 189 tbuf += sprintf (tbuf, "ioctl(%i, %#x, %u)", args[0], args[1], args[2]); 207 tbuf += sprintf (tbuf, "mmap2(%#x, %u, %#x, %#x, %i, %u)", 249 tbuf += sprintf (tbuf, "munmap(%#x, %u)", args[0], args[1]) [all...] |
| /src/external/bsd/file/dist/src/ |
| print.c | 59 char tbuf[256]; local 167 file_fmtdatetime(tbuf, sizeof(tbuf), m->value.l, 0)); 174 file_fmtdatetime(tbuf, sizeof(tbuf), m->value.l, 181 file_fmtdatetime(tbuf, sizeof(tbuf), m->value.q, 0)); 187 file_fmtdatetime(tbuf, sizeof(tbuf), m->value.q, 194 file_fmtdatetime(tbuf, sizeof(tbuf), m->value.q [all...] |
| /src/sys/ddb/ |
| db_print.c | 66 char tbuf[24]; local 68 db_format_radix(tbuf, 24, offset, true); 69 db_printf("+%s", tbuf);
|
| 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, 24, addr, false) [all...] |
| /src/external/mpl/bind/dist/bin/tools/ |
| named-rrchecker.c | 94 isc_buffer_t tbuf; local 298 isc_buffer_init(&tbuf, text, sizeof(text)); 299 result = dns_rdataclass_totext(rdclass, &tbuf); 304 isc_buffer_putstr(&tbuf, "\t"); 305 result = dns_rdatatype_totext(rdtype, &tbuf); 310 isc_buffer_putstr(&tbuf, "\t"); 311 result = dns_rdata_totext(&rdata, NULL, &tbuf); 317 printf("%.*s\n", (int)tbuf.used, (char *)tbuf.base); 322 isc_buffer_init(&tbuf, text, sizeof(text)) [all...] |
| /src/sbin/dkscan_bsdlabel/ |
| dkscan_util.h | 40 void *tbuf, size_t len);
|
| dkscan_util.c | 72 void *tbuf, size_t len) 74 if (pread(disk_fd, tbuf, len, blkno * BLOCK_SIZE) < 0)
|
| /src/crypto/dist/ipsec-tools/src/racoon/ |
| logger.h | 41 time_t *tbuf; member in struct:log
|
| logger.c | 80 p->tbuf = (time_t *)racoon_malloc(sizeof(time_t) * siz); 81 if (p->tbuf == NULL) { 86 memset(p->tbuf, 0, sizeof(time_t) * siz); 107 p->tbuf[p->head] = time(NULL); 190 tm = localtime(&p->tbuf[j]); 212 racoon_free(p->tbuf);
|
| /src/external/bsd/ntp/dist/ntpd/ |
| refclock_arbiter.c | 239 char tbuf[BMAX]; /* temp buffer */ local 247 temp = refclock_gtlin(rbufp, tbuf, sizeof(tbuf), &trtmp); 282 if (!strncmp(tbuf, "TQ", 2)) { 283 up->qualchar = tbuf[2]; 287 } else if (!strncmp(tbuf, "SR", 2)) { 288 strlcpy(up->status, tbuf + 2, 297 } else if (!strncmp(tbuf, "LA", 2)) { 298 strlcpy(up->latlon, tbuf + 2, sizeof(up->latlon)); 302 } else if (!strncmp(tbuf, "LO", 2)) [all...] |
| refclock_atom.c | 190 char tbuf[80]; local 204 snprintf(tbuf, sizeof(tbuf), "%.9f", 206 record_clock_stats(&peer->srcadr, tbuf);
|
| /src/external/ibm-public/postfix/dist/src/oqmgr/ |
| qmgr_move.c | 65 struct utimbuf tbuf; local 77 tbuf.actime = tbuf.modtime = time_stamp; 79 if (utime(path, &tbuf) < 0) {
|
| /src/external/ibm-public/postfix/dist/src/qmgr/ |
| qmgr_move.c | 65 struct utimbuf tbuf; local 77 tbuf.actime = tbuf.modtime = time_stamp; 79 if (utime(path, &tbuf) < 0) {
|
| /src/usr.bin/finger/ |
| extern.h | 35 extern char tbuf[1024]; /* Temp buffer for anybody. */
|
| 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), "%s/%s", _PATH_MAILDIR [all...] |
| /src/usr.sbin/rtadvd/ |
| 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...] |
| /src/usr.bin/cut/ |
| cut.c | 293 char *lbuf, *pos, *p, sep, *tbuf; local 295 for (sep = dchar, tbuf = NULL; (lbuf = fgetln(fp, &len)) != NULL;) { 299 if ((tbuf = (char *)malloc(len + 1)) == NULL) 301 (void)memcpy(tbuf, lbuf, len); 302 tbuf[len++] = '\n'; 303 lbuf = tbuf; 343 if (tbuf) { 344 free(tbuf); 345 tbuf = NULL; 348 if (tbuf) [all...] |
| /src/sbin/dmesg/ |
| 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...] |
| /src/sys/fs/cd9660/ |
| 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);
|
| /src/crypto/external/bsd/openssl/dist/providers/implementations/asymciphers/ |
| 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, prsactx->rsa [all...] |