Symbol: tmpbuf
bin/ksh/lex.c
1213
char strbuf[1024], tmpbuf[1024], *p, *str, nbuf[32], delimiter = '\0';
bin/ksh/lex.c
1267
strlcpy(tmpbuf, cp + 2, sizeof tmpbuf);
bin/ksh/lex.c
1268
p = strchr(tmpbuf, '}');
bin/ksh/lex.c
1274
strftime(strbuf, sizeof strbuf, tmpbuf,
lib/libagentx/ax.c
789
char tmpbuf[1024];
lib/libagentx/ax.c
807
p = tmpbuf;
lib/libagentx/ax.c
808
bufleft = sizeof(tmpbuf);
lib/libagentx/ax.c
822
ax_oid2string(&(vb->avb_oid)), tmpbuf);
lib/libagentx/ax.c
851
strlcpy(tmpbuf,
lib/libagentx/ax.c
852
ax_oid2string(&(vb->avb_data.avb_oid)), sizeof(tmpbuf));
lib/libagentx/ax.c
854
ax_oid2string(&(vb->avb_oid)), tmpbuf);
lib/libagentx/ax.c
863
tmpbuf, sizeof(tmpbuf)) == NULL) {
lib/libagentx/ax.c
871
ax_oid2string(&(vb->avb_oid)), tmpbuf);
lib/libagentx/ax.c
886
p = tmpbuf;
lib/libagentx/ax.c
887
bufleft = sizeof(tmpbuf);
lib/libagentx/ax.c
901
ax_oid2string(&(vb->avb_oid)), tmpbuf);
lib/libcrypto/pem/pvkfmt.c
107
unsigned char *tmpbuf, *q;
lib/libcrypto/pem/pvkfmt.c
111
tmpbuf = malloc(nbyte);
lib/libcrypto/pem/pvkfmt.c
112
if (!tmpbuf)
lib/libcrypto/pem/pvkfmt.c
114
q = tmpbuf;
lib/libcrypto/pem/pvkfmt.c
117
*r = BN_bin2bn(tmpbuf, nbyte, NULL);
lib/libcrypto/pem/pvkfmt.c
118
free(tmpbuf);
lib/libcrypto/pkcs7/pk7_smime.c
555
BIO *tmpbuf;
lib/libcrypto/pkcs7/pk7_smime.c
558
if (!(tmpbuf = BIO_new(BIO_f_buffer()))) {
lib/libcrypto/pkcs7/pk7_smime.c
563
BIO_push(tmpbuf, tmpmem);
lib/libcrypto/pkcs7/pk7_smime.c
564
ret = SMIME_text(tmpbuf, data);
lib/libcrypto/pkcs7/pk7_smime.c
569
BIO_free_all(tmpbuf);
lib/libedit/common.c
795
wchar_t tmpbuf[EL_BUFSIZ];
lib/libedit/common.c
798
tmplen = c_gets(el, tmpbuf, L"\n: ");
lib/libedit/common.c
801
if (tmplen < 0 || (tmpbuf[tmplen] = 0, parse_line(el, tmpbuf)) == -1)
lib/libedit/search.c
449
wchar_t tmpbuf[EL_BUFSIZ];
lib/libedit/search.c
453
tmpbuf[0] = '.';
lib/libedit/search.c
454
tmpbuf[1] = '*';
lib/libedit/search.c
460
tmplen = c_gets(el, &tmpbuf[LEN],
lib/libedit/search.c
466
ch = tmpbuf[tmplen];
lib/libedit/search.c
467
tmpbuf[tmplen] = '\0';
lib/libedit/search.c
480
(void) wcsncpy(tmpbuf, el->el_search.patbuf,
lib/libedit/search.c
481
sizeof(tmpbuf) / sizeof(*tmpbuf) - 1);
lib/libedit/search.c
484
(void) wcsncpy(&el->el_search.patbuf[2], tmpbuf,
lib/libedit/search.c
494
tmpbuf[tmplen++] = '.';
lib/libedit/search.c
495
tmpbuf[tmplen++] = '*';
lib/libedit/search.c
497
tmpbuf[tmplen] = '\0';
lib/libedit/search.c
498
(void) wcsncpy(el->el_search.patbuf, tmpbuf, EL_BUFSIZ - 1);
sbin/growfs/growfs.c
173
char tmpbuf[100];
sbin/growfs/growfs.c
222
j = snprintf(tmpbuf, sizeof(tmpbuf), " %lld%s",
sbin/growfs/growfs.c
225
if (j >= sizeof(tmpbuf))
sbin/growfs/growfs.c
226
j = sizeof(tmpbuf) - 1;
sbin/growfs/growfs.c
232
printf("%s", tmpbuf);
sbin/newfs/mkfs.c
175
char tmpbuf[100]; /* XXX this will break in about 2,500 years */
sbin/newfs/mkfs.c
566
j = snprintf(tmpbuf, sizeof tmpbuf, " %lld,",
sbin/newfs/mkfs.c
568
if (j >= sizeof tmpbuf)
sbin/newfs/mkfs.c
569
j = sizeof tmpbuf - 1;
sbin/newfs/mkfs.c
575
printf("%s", tmpbuf);
sbin/restore/tape.c
377
if (gethead(&tmpbuf) == FAIL) {
sbin/restore/tape.c
383
if (tmpbuf.c_volume != volno) {
sbin/restore/tape.c
384
fprintf(stderr, "Wrong volume (%d)\n", tmpbuf.c_volume);
sbin/restore/tape.c
388
if (tmpbuf.c_date != dumpdate || tmpbuf.c_ddate != dumptime) {
sbin/restore/tape.c
389
time_t t = (time_t)tmpbuf.c_date;
sbin/restore/tape.c
415
tpblksread, tmpbuf.c_firstrec);
sbin/restore/tape.c
416
if (tmpbuf.c_type == TS_TAPE && (tmpbuf.c_flags & DR_NEWHEADER)) {
sbin/restore/tape.c
418
tpblksread = tmpbuf.c_firstrec;
sbin/restore/tape.c
419
for (i = tmpbuf.c_count; i > 0; i--)
sbin/restore/tape.c
421
} else if (tmpbuf.c_firstrec > 0 &&
sbin/restore/tape.c
422
tmpbuf.c_firstrec < tpblksread - 1) {
sbin/restore/tape.c
426
i = tpblksread - tmpbuf.c_firstrec - 1;
sbin/restore/tape.c
441
if (tmpbuf.c_type == TS_TAPE && (tmpbuf.c_flags & DR_NEWHEADER))
sbin/restore/tape.c
442
for (i = tmpbuf.c_count; i > 0; i--)
sbin/unwind/libunbound/services/listen_dnsport.c
1712
void *tmpbuf;
sbin/unwind/libunbound/services/listen_dnsport.c
1777
tmpbuf = realloc(*ip_addresses, sizeof(char *) * (*ip_addresses_size + 1));
sbin/unwind/libunbound/services/listen_dnsport.c
1778
if(!tmpbuf) {
sbin/unwind/libunbound/services/listen_dnsport.c
1782
*ip_addresses = tmpbuf;
sbin/unwind/libunbound/services/listen_dnsport.c
1793
tmpbuf = realloc(*ip_addresses, sizeof(char *) * (*ip_addresses_size + 1));
sbin/unwind/libunbound/services/listen_dnsport.c
1794
if(!tmpbuf) {
sbin/unwind/libunbound/services/listen_dnsport.c
1798
*ip_addresses = tmpbuf;
sys/dev/pci/drm/display/drm_dp_dual_mode_helper.c
100
if (tmpbuf)
sys/dev/pci/drm/display/drm_dp_dual_mode_helper.c
101
memcpy(buffer, tmpbuf + offset, size);
sys/dev/pci/drm/display/drm_dp_dual_mode_helper.c
103
kfree(tmpbuf);
sys/dev/pci/drm/display/drm_dp_dual_mode_helper.c
67
char *tmpbuf = NULL;
sys/dev/pci/drm/display/drm_dp_dual_mode_helper.c
92
tmpbuf = kmalloc(size + offset, GFP_KERNEL);
sys/dev/pci/drm/display/drm_dp_dual_mode_helper.c
93
if (!tmpbuf)
sys/dev/pci/drm/display/drm_dp_dual_mode_helper.c
96
msgs[1].buf = tmpbuf;
sys/dev/pci/if_de.c
2579
unsigned char tmpbuf[8];
sys/dev/pci/if_de.c
2737
tmpbuf[0] = sc->tulip_rombuf[15]; tmpbuf[1] = sc->tulip_rombuf[14];
sys/dev/pci/if_de.c
2738
tmpbuf[2] = sc->tulip_rombuf[13]; tmpbuf[3] = sc->tulip_rombuf[12];
sys/dev/pci/if_de.c
2739
tmpbuf[4] = sc->tulip_rombuf[11]; tmpbuf[5] = sc->tulip_rombuf[10];
sys/dev/pci/if_de.c
2740
tmpbuf[6] = sc->tulip_rombuf[9]; tmpbuf[7] = sc->tulip_rombuf[8];
sys/dev/pci/if_de.c
2741
if (bcmp(&sc->tulip_rombuf[0], tmpbuf, 8) != 0)
usr.bin/cvs/rcs.c
2182
BUF *tmpbuf;
usr.bin/cvs/rcs.c
2512
tmpbuf = buf_alloc(len + strlen(expbuf));
usr.bin/cvs/rcs.c
2514
buf_append(tmpbuf, line->l_line,
usr.bin/cvs/rcs.c
2517
buf_puts(tmpbuf, expbuf);
usr.bin/cvs/rcs.c
2519
tlen = buf_len(tmpbuf) - 1;
usr.bin/cvs/rcs.c
2521
buf_append(tmpbuf, end,
usr.bin/cvs/rcs.c
2523
c = buf_get(tmpbuf) + tlen;
usr.bin/cvs/rcs.c
2525
fin = buf_get(tmpbuf) + buf_len(tmpbuf) - 1;
usr.bin/cvs/rcs.c
2527
len = buf_len(tmpbuf);
usr.bin/cvs/rcs.c
2533
line->l_line = buf_release(tmpbuf);
usr.bin/dig/lib/dns/message.c
1733
isc_buffer_t tmpbuf;
usr.bin/dig/lib/dns/message.c
1811
isc_buffer_init(&tmpbuf, r.base, r.length);
usr.bin/dig/lib/dns/message.c
1813
dns_message_renderheader(msg, &tmpbuf);
usr.bin/dig/lib/dns/rdata.c
1291
char tmpbuf[64];
usr.bin/dig/lib/dns/rdata.c
1294
if (inet_ntop(af, src->base, tmpbuf, sizeof(tmpbuf)) == NULL)
usr.bin/dig/lib/dns/rdata.c
1296
if (strlen(tmpbuf) > isc_buffer_availablelength(target))
usr.bin/dig/lib/dns/rdata.c
1298
isc_buffer_putstr(target, tmpbuf);
usr.bin/ftp/cmds.c
268
char *cp, *tp2, tmpbuf[PATH_MAX];
usr.bin/ftp/cmds.c
283
tp2 = tmpbuf;
usr.bin/ftp/cmds.c
293
tp = tmpbuf;
usr.bin/ftp/small.c
238
char *tp = argv[1], *tp2, tmpbuf[PATH_MAX];
usr.bin/ftp/small.c
245
tp2 = tmpbuf;
usr.bin/ftp/small.c
253
argv[2] = tmpbuf;
usr.bin/lex/main.c
427
struct Buf tmpbuf;
usr.bin/lex/main.c
428
buf_init(&tmpbuf, sizeof(char));
usr.bin/lex/main.c
437
buf_strappend(&tmpbuf, str);
usr.bin/lex/main.c
440
buf_m4_define(&m4defs_buf, "M4_YY_SC_DEFS", tmpbuf.elts);
usr.bin/lex/main.c
441
buf_destroy(&tmpbuf);
usr.bin/openssl/asn1pars.c
337
const unsigned char *tmpbuf = str;
usr.bin/openssl/asn1pars.c
351
tmpbuf += j;
usr.bin/openssl/asn1pars.c
354
p = tmpbuf;
usr.bin/openssl/asn1pars.c
371
tmpbuf = ASN1_STRING_get0_data(at->value.asn1_string);
usr.bin/openssl/asn1pars.c
374
str = tmpbuf;
usr.bin/patch/util.c
319
char *tmpbuf;
usr.bin/patch/util.c
321
if ((tmpbuf = strdup(filename)) == NULL)
usr.bin/patch/util.c
325
char *s = strrchr(tmpbuf, '/');
usr.bin/patch/util.c
327
free(tmpbuf);
usr.bin/patch/util.c
332
if (mkpath(tmpbuf) != 0)
usr.bin/patch/util.c
333
pfatal("creation of %s failed", tmpbuf);
usr.bin/patch/util.c
334
free(tmpbuf);
usr.bin/pkgconf/libpkgconf/path.c
349
char *tmpbuf;
usr.bin/pkgconf/libpkgconf/path.c
351
if ((tmpbuf = normpath(buf)) != NULL)
usr.bin/pkgconf/libpkgconf/path.c
353
size_t tmpbuflen = strlen(tmpbuf);
usr.bin/pkgconf/libpkgconf/path.c
356
free(tmpbuf);
usr.bin/pkgconf/libpkgconf/path.c
360
pkgconf_strlcpy(buf, tmpbuf, buflen);
usr.bin/pkgconf/libpkgconf/path.c
361
free(tmpbuf);
usr.bin/rpcgen/rpc_svcout.c
155
char tmpbuf[32];
usr.bin/rpcgen/rpc_svcout.c
162
snprintf(tmpbuf, sizeof tmpbuf, "%s\t\t", sp);
usr.bin/rpcgen/rpc_svcout.c
163
print_err_message(tmpbuf);
usr.bin/rpcgen/rpc_svcout.c
170
print_err_message(tmpbuf);
usr.bin/rpcgen/rpc_svcout.c
190
print_err_message(tmpbuf);
usr.bin/rpcgen/rpc_svcout.c
879
char tmpbuf[32];
usr.bin/rpcgen/rpc_svcout.c
920
(void) snprintf(tmpbuf, sizeof tmpbuf, "%s\t\t", sp);
usr.bin/rpcgen/rpc_svcout.c
921
print_err_message(tmpbuf);
usr.bin/rpcgen/rpc_svcout.c
946
print_err_message(tmpbuf);
usr.bin/systat/main.c
122
snprintf(tmpbuf, sizeof(tmpbuf),
usr.bin/systat/main.c
126
snprintf(tmpbuf, sizeof(tmpbuf),
usr.bin/systat/main.c
131
tmpbuf, hostname, timebuf);
usr.bin/systat/main.c
98
char tmpbuf[TIMEPOS];
usr.bin/tic/dump_entry.c
1173
strcpy_DYN(&tmpbuf, 0);
usr.bin/tic/dump_entry.c
1174
strcpy_DYN(&tmpbuf, name);
usr.bin/tic/dump_entry.c
1175
strcpy_DYN(&tmpbuf, "=");
usr.bin/tic/dump_entry.c
1181
strcpy_DYN(&tmpbuf, src);
usr.bin/tic/dump_entry.c
1184
WRAP_CONCAT1(tmpbuf.text);
usr.bin/tic/dump_entry.c
160
free_DYN(&tmpbuf);
usr.bin/tic/dump_entry.c
76
static DYNBUF tmpbuf;
usr.bin/tic/dump_entry.c
790
strncpy_DYN(&tmpbuf, src++, (size_t) 1);
usr.bin/tic/dump_entry.c
794
strncpy_DYN(&tmpbuf, src++, (size_t) 1);
usr.bin/tic/dump_entry.c
804
tmpbuf.text[tmpbuf.used - 1] = '\n';
usr.bin/tic/dump_entry.c
807
indent_DYN(&tmpbuf, level);
usr.bin/tic/dump_entry.c
808
strncpy_DYN(&tmpbuf, "%", (size_t) 1);
usr.bin/tic/dump_entry.c
809
strncpy_DYN(&tmpbuf, src, (size_t) 1);
usr.bin/tic/dump_entry.c
813
strncpy_DYN(&tmpbuf, "\n", (size_t) 1);
usr.bin/tic/dump_entry.c
814
indent_DYN(&tmpbuf, level + 1);
usr.bin/tic/dump_entry.c
817
indent_DYN(&tmpbuf, level + 1);
usr.bin/tic/dump_entry.c
818
strncpy_DYN(&tmpbuf, "%", (size_t) 1);
usr.bin/tic/dump_entry.c
819
strncpy_DYN(&tmpbuf, src, (size_t) 1);
usr.bin/tic/dump_entry.c
823
strncpy_DYN(&tmpbuf, "\n", (size_t) 1);
usr.bin/tic/dump_entry.c
824
indent_DYN(&tmpbuf, level + 1);
usr.bin/tic/dump_entry.c
840
tmpbuf.text[tmpbuf.used - 1] = '\n';
usr.bin/tic/dump_entry.c
841
indent_DYN(&tmpbuf, level);
usr.bin/tic/dump_entry.c
842
strncpy_DYN(&tmpbuf, "%", (size_t) 1);
usr.bin/tic/dump_entry.c
843
strncpy_DYN(&tmpbuf, src++, (size_t) 1);
usr.bin/tic/dump_entry.c
847
tmpbuf.text[tmpbuf.used++] = '\n';
usr.bin/tic/dump_entry.c
848
indent_DYN(&tmpbuf, level);
usr.bin/tic/dump_entry.c
859
if (percent && params && !leading_DYN(&tmpbuf, "%")) {
usr.bin/tic/dump_entry.c
860
tmpbuf.text[tmpbuf.used - 1] = '\n';
usr.bin/tic/dump_entry.c
861
indent_DYN(&tmpbuf, level + 1);
usr.bin/tic/dump_entry.c
862
strncpy_DYN(&tmpbuf, "%", (size_t) 1);
usr.bin/tic/dump_entry.c
867
strncpy_DYN(&tmpbuf, "\\s", (size_t) 2);
usr.bin/tic/dump_entry.c
874
strncpy_DYN(&tmpbuf, src++, (size_t) 1);
usr.sbin/bgpd/rde.c
2082
struct ibuf attrbuf, tmpbuf, *npath = NULL;
usr.sbin/bgpd/rde.c
2154
ibuf_from_ibuf(&tmpbuf, &attrbuf);
usr.sbin/bgpd/rde.c
2158
ibuf_from_ibuf(&tmpbuf, npath);
usr.sbin/bgpd/rde.c
2170
aspath_asprint(&str, &tmpbuf);
usr.sbin/bgpd/rde.c
2177
a->aspath = aspath_get(ibuf_data(&tmpbuf), ibuf_size(&tmpbuf));
usr.sbin/bgpd/rde.c
2269
ibuf_from_ibuf(&tmpbuf, &attrbuf);
usr.sbin/bgpd/rde.c
2270
if (ibuf_get_n32(&tmpbuf, &tmp32) == -1)
usr.sbin/bgpd/rde.c
2386
ibuf_from_ibuf(&tmpbuf, &attrbuf);
usr.sbin/bgpd/rde.c
2387
if (ibuf_get_n32(&tmpbuf, &tmp32) == -1)
usr.sbin/bgpd/rde.c
2427
ibuf_from_ibuf(&tmpbuf, &attrbuf);
usr.sbin/bgpd/rde.c
2428
if (ibuf_get_n32(&tmpbuf, &tmp32) == -1)
usr.sbin/nsd/xfr-inspect.c
151
buffer_type* tmpbuf;
usr.sbin/nsd/xfr-inspect.c
156
tmpbuf = buffer_create(region, QIOBUFSZ);
usr.sbin/nsd/xfr-inspect.c
157
if(!tmpbuf) {
usr.sbin/nsd/xfr-inspect.c
183
if(!print_rr(stdout, NULL, rr, tmpregion, tmpbuf)) {
usr.sbin/route6d/log.c
73
char tmpbuf[LOGQUEUE_SIZE];
usr.sbin/route6d/log.c
77
(void)vsnprintf(tmpbuf, sizeof(tmpbuf), fmt, ap);
usr.sbin/route6d/log.c
79
(void)strlcat(logqueue, tmpbuf, LOGQUEUE_SIZE);
usr.sbin/route6d/log.c
86
char tmpbuf[1024];
usr.sbin/route6d/log.c
87
char logbuf[LOGQUEUE_SIZE + sizeof(tmpbuf)];
usr.sbin/route6d/log.c
94
(void)vsnprintf(tmpbuf, sizeof(tmpbuf), fmt, ap);
usr.sbin/route6d/log.c
96
(void)strlcat(logbuf, tmpbuf, sizeof(logbuf));
usr.sbin/smtpd/mda_variables.c
243
char tmpbuf[EXPAND_BUFFER], *ptmp, *pbuf, *ebuf;
usr.sbin/smtpd/mda_variables.c
249
if (len < sizeof tmpbuf) {
usr.sbin/smtpd/mda_variables.c
254
memset(tmpbuf, 0, sizeof tmpbuf);
usr.sbin/smtpd/mda_variables.c
256
ptmp = tmpbuf;
usr.sbin/smtpd/mda_variables.c
261
tmpret = snprintf(ptmp, sizeof tmpbuf, "%s/", ui->directory);
usr.sbin/smtpd/mda_variables.c
262
if (tmpret >= sizeof tmpbuf) {
usr.sbin/smtpd/mda_variables.c
273
for (; *pbuf && ret < sizeof tmpbuf; ret += tmpret) {
usr.sbin/smtpd/mda_variables.c
305
if (sizeof (tmpbuf) - (ptmp - tmpbuf) <= (size_t)exptoklen)
usr.sbin/smtpd/mda_variables.c
313
if (ret >= sizeof tmpbuf)
usr.sbin/smtpd/mda_variables.c
316
if ((ret = strlcpy(buf, tmpbuf, len)) >= len)
usr.sbin/snmpd/ax.c
1000
strlcpy(tmpbuf,
usr.sbin/snmpd/ax.c
1001
ax_oid2string(&(vb->avb_data.avb_oid)), sizeof(tmpbuf));
usr.sbin/snmpd/ax.c
1003
ax_oid2string(&(vb->avb_oid)), tmpbuf);
usr.sbin/snmpd/ax.c
1012
tmpbuf, sizeof(tmpbuf)) == NULL) {
usr.sbin/snmpd/ax.c
1020
ax_oid2string(&(vb->avb_oid)), tmpbuf);
usr.sbin/snmpd/ax.c
1035
p = tmpbuf;
usr.sbin/snmpd/ax.c
1036
bufleft = sizeof(tmpbuf);
usr.sbin/snmpd/ax.c
1050
ax_oid2string(&(vb->avb_oid)), tmpbuf);
usr.sbin/snmpd/ax.c
938
char tmpbuf[1024];
usr.sbin/snmpd/ax.c
956
p = tmpbuf;
usr.sbin/snmpd/ax.c
957
bufleft = sizeof(tmpbuf);
usr.sbin/snmpd/ax.c
971
ax_oid2string(&(vb->avb_oid)), tmpbuf);
usr.sbin/unbound/services/listen_dnsport.c
1712
void *tmpbuf;
usr.sbin/unbound/services/listen_dnsport.c
1777
tmpbuf = realloc(*ip_addresses, sizeof(char *) * (*ip_addresses_size + 1));
usr.sbin/unbound/services/listen_dnsport.c
1778
if(!tmpbuf) {
usr.sbin/unbound/services/listen_dnsport.c
1782
*ip_addresses = tmpbuf;
usr.sbin/unbound/services/listen_dnsport.c
1793
tmpbuf = realloc(*ip_addresses, sizeof(char *) * (*ip_addresses_size + 1));
usr.sbin/unbound/services/listen_dnsport.c
1794
if(!tmpbuf) {
usr.sbin/unbound/services/listen_dnsport.c
1798
*ip_addresses = tmpbuf;
usr.sbin/unbound/testcode/petal.c
450
char* tmpbuf = NULL;
usr.sbin/unbound/testcode/petal.c
494
free(tmpbuf);
usr.sbin/unbound/testcode/petal.c
495
tmpbuf = malloc(avail-16);
usr.sbin/unbound/testcode/petal.c
496
if(!tmpbuf)
usr.sbin/unbound/testcode/petal.c
499
red = in?fread(tmpbuf, 1, avail-16, in):0;
usr.sbin/unbound/testcode/petal.c
509
memmove(at, tmpbuf, red);
usr.sbin/unbound/testcode/petal.c
540
free(tmpbuf);
usr.sbin/ypserv/ypserv/ypserv_db.c
369
char tmpbuf[HOST_NAME_MAX+1 + 20], *v, *ptr;
usr.sbin/ypserv/ypserv/ypserv_db.c
388
snprintf(tmpbuf, sizeof(tmpbuf), "%s %s\n",
usr.sbin/ypserv/ypserv/ypserv_db.c
390
len = strlcat(val, tmpbuf, sizeof(val));