crypto/libressl/apps/openssl/asn1pars.c
245
unsigned char *tmpbuf;
crypto/libressl/apps/openssl/asn1pars.c
343
tmpbuf = (unsigned char *) str;
crypto/libressl/apps/openssl/asn1pars.c
359
tmpbuf += j;
crypto/libressl/apps/openssl/asn1pars.c
362
ctmpbuf = tmpbuf;
crypto/libressl/apps/openssl/asn1pars.c
379
tmpbuf = at->value.asn1_string->data;
crypto/libressl/apps/openssl/asn1pars.c
382
str = (char *) tmpbuf;
crypto/libressl/crypto/pem/pvkfmt.c
107
unsigned char *tmpbuf, *q;
crypto/libressl/crypto/pem/pvkfmt.c
111
tmpbuf = malloc(nbyte);
crypto/libressl/crypto/pem/pvkfmt.c
112
if (!tmpbuf)
crypto/libressl/crypto/pem/pvkfmt.c
114
q = tmpbuf;
crypto/libressl/crypto/pem/pvkfmt.c
117
*r = BN_bin2bn(tmpbuf, nbyte, NULL);
crypto/libressl/crypto/pem/pvkfmt.c
118
free(tmpbuf);
crypto/libressl/crypto/pkcs7/pk7_smime.c
556
BIO *tmpbuf;
crypto/libressl/crypto/pkcs7/pk7_smime.c
559
if (!(tmpbuf = BIO_new(BIO_f_buffer()))) {
crypto/libressl/crypto/pkcs7/pk7_smime.c
564
BIO_push(tmpbuf, tmpmem);
crypto/libressl/crypto/pkcs7/pk7_smime.c
565
ret = SMIME_text(tmpbuf, data);
crypto/libressl/crypto/pkcs7/pk7_smime.c
570
BIO_free_all(tmpbuf);
lib/libc/inet/nsap_addr.c
81
char *tmpbuf = inet_nsap_ntoa_tmpbuf;
lib/libc/inet/nsap_addr.c
87
ascii = tmpbuf;
lib/libc/inet/nsap_addr.c
88
start = tmpbuf;
lib/libc/resolv/res_debug.c
1002
static char tmpbuf[sizeof
lib/libc/resolv/res_debug.c
1023
ascii = tmpbuf;
lib/libpam/libpam/pam_debug_log.c
48
char *fmtbuf, *tmpbuf, *modname, *period;
lib/libpam/libpam/pam_debug_log.c
51
tmpbuf = strdup(file);
lib/libpam/libpam/pam_debug_log.c
52
modname = basename(tmpbuf);
lib/libpam/libpam/pam_debug_log.c
62
free(tmpbuf);
lib/libposix1e/acl_to_text.c
107
len = asprintf(&tmpbuf, "%suser:%s:%s\t\t# "
lib/libposix1e/acl_to_text.c
112
len = asprintf(&tmpbuf, "%suser:%s:%s\n", buf,
lib/libposix1e/acl_to_text.c
120
buf = tmpbuf;
lib/libposix1e/acl_to_text.c
136
len = asprintf(&tmpbuf, "%sgroup::%s\t\t# "
lib/libposix1e/acl_to_text.c
140
len = asprintf(&tmpbuf, "%sgroup::%s\n", buf,
lib/libposix1e/acl_to_text.c
148
buf = tmpbuf;
lib/libposix1e/acl_to_text.c
169
len = asprintf(&tmpbuf, "%sgroup::%s\t\t# "
lib/libposix1e/acl_to_text.c
173
len = asprintf(&tmpbuf, "%sgroup:%s:%s\n", buf,
lib/libposix1e/acl_to_text.c
181
buf = tmpbuf;
lib/libposix1e/acl_to_text.c
190
len = asprintf(&tmpbuf, "%smask::%s\n", buf,
lib/libposix1e/acl_to_text.c
197
buf = tmpbuf;
lib/libposix1e/acl_to_text.c
206
len = asprintf(&tmpbuf, "%sother::%s\n", buf,
lib/libposix1e/acl_to_text.c
213
buf = tmpbuf;
lib/libposix1e/acl_to_text.c
52
char *buf, *tmpbuf;
lib/libposix1e/acl_to_text.c
79
len = asprintf(&tmpbuf, "%suser::%s\n", buf,
lib/libposix1e/acl_to_text.c
86
buf = tmpbuf;
libexec/bootpd/getether.c
193
char tmpbuf[sizeof(union DL_primitives) + 16];
libexec/bootpd/getether.c
226
memset(tmpbuf, 0, sizeof(tmpbuf));
libexec/bootpd/getether.c
227
dlp = (union DL_primitives *) tmpbuf;
libexec/bootpd/getether.c
230
cbuf.buf = tmpbuf;
libexec/bootpd/getether.c
237
cbuf.buf = tmpbuf;
libexec/bootpd/getether.c
238
cbuf.maxlen = sizeof(tmpbuf);
libexec/bootpd/getether.c
268
memset(tmpbuf, 0, sizeof(tmpbuf));
libexec/bootpd/getether.c
269
dlp = (union DL_primitives *) tmpbuf;
libexec/bootpd/getether.c
272
cbuf.buf = tmpbuf;
libexec/bootpd/getether.c
279
cbuf.buf = tmpbuf;
libexec/bootpd/getether.c
280
cbuf.maxlen = sizeof(tmpbuf);
libexec/bootpd/getether.c
310
enaddr = tmpbuf + dlp->bind_ack.dl_addr_offset;
libexec/bootpd/readfile.c
1239
byte tmpbuf[MAXBUFLEN];
libexec/bootpd/readfile.c
1244
str = tmpbuf;
libexec/bootpd/readfile.c
1248
newlength = sizeof(tmpbuf) - 2; /* Set maximum allowed length */
libexec/bootpd/readfile.c
1253
while (newlength < sizeof(tmpbuf) - 2) {
libexec/bootpd/readfile.c
1265
tmpbuf[1] = (newlength & 0xFF);
libexec/bootpd/readfile.c
1272
bcopy(tmpbuf, bdata->data + oldlength, newlength + 2);
libexec/getty/chat.c
243
static char tmpbuf[5];
libexec/getty/chat.c
244
char * tmp = buf ? *buf : tmpbuf;
sbin/growfs/growfs.c
155
char tmpbuf[100];
sbin/growfs/growfs.c
235
j = sprintf(tmpbuf, " %d%s",
sbin/growfs/growfs.c
243
printf("%s", tmpbuf);
sbin/hammer/cmd_pfs.c
110
tmpbuf = strdup(path);
sbin/hammer/cmd_pfs.c
112
path = dirname(tmpbuf);
sbin/hammer/cmd_pfs.c
134
free(tmpbuf);
sbin/hammer/cmd_pfs.c
147
char *tmpbuf;
sbin/hammer/cmd_pfs.c
181
tmpbuf = strdup(path);
sbin/hammer/cmd_pfs.c
183
path = basename(tmpbuf); /* strips trailing / first if any */
sbin/hammer/cmd_pfs.c
196
free(tmpbuf);
sbin/hammer/cmd_pfs.c
200
free(tmpbuf);
sbin/hammer/cmd_pfs.c
261
char *tmpbuf;
sbin/hammer/cmd_pfs.c
284
tmpbuf = strdup(path);
sbin/hammer/cmd_pfs.c
285
dirpath = dirname(tmpbuf);
sbin/hammer/cmd_pfs.c
349
free(tmpbuf);
sbin/hammer/cmd_pfs.c
99
char *tmpbuf;
sbin/hammer2/cmd_service.c
751
char tmpbuf[1024];
sbin/hammer2/cmd_service.c
762
if (n >= sizeof(tmpbuf))
sbin/hammer2/cmd_service.c
765
buf = tmpbuf;
sbin/hammer2/cmd_service.c
771
if (buf != tmpbuf) {
sbin/hammer2/cmd_service.c
783
if (buf != tmpbuf)
sbin/newfs/mkfs.c
158
char tmpbuf[100]; /* XXX this will break in about 2,500 years */
sbin/newfs/mkfs.c
703
j = snprintf(tmpbuf, sizeof(tmpbuf), " %ld%s",
sbin/newfs/mkfs.c
711
printf("%s", tmpbuf);
sbin/restore/tape.c
388
if (gethead(&tmpbuf) == FAIL) {
sbin/restore/tape.c
394
if (tmpbuf.c_volume != volno) {
sbin/restore/tape.c
395
fprintf(stderr, "Wrong volume (%ld)\n", (long)tmpbuf.c_volume);
sbin/restore/tape.c
399
if (tmpbuf.c_date != dumpdate || tmpbuf.c_ddate != dumptime) {
sbin/restore/tape.c
400
time_t c_date = tmpbuf.c_date;
sbin/restore/tape.c
416
(long)tmpbuf.c_tapea);
sbin/restore/tape.c
417
if (tmpbuf.c_type == TS_TAPE && (tmpbuf.c_flags & DR_NEWHEADER)) {
sbin/restore/tape.c
425
for (i = tmpbuf.c_count; i > 0; i--)
sbin/restore/tape.c
427
} else if (tmpbuf.c_tapea <= prevtapea) {
sbin/restore/tape.c
437
i = prevtapea + 1 - tmpbuf.c_tapea;
sys/dev/disk/vn/vn.c
682
char *tmpbuf;
sys/dev/disk/vn/vn.c
701
tmpbuf = kmalloc(vn->sc_secsize, M_TEMP, M_WAITOK);
sys/dev/disk/vn/vn.c
704
aiov.iov_base = tmpbuf;
sys/dev/disk/vn/vn.c
715
kfree(tmpbuf, M_TEMP);
sys/dev/netif/de/if_de.c
2449
unsigned char tmpbuf[8];
sys/dev/netif/de/if_de.c
2607
tmpbuf[0] = sc->tulip_rombuf[15]; tmpbuf[1] = sc->tulip_rombuf[14];
sys/dev/netif/de/if_de.c
2608
tmpbuf[2] = sc->tulip_rombuf[13]; tmpbuf[3] = sc->tulip_rombuf[12];
sys/dev/netif/de/if_de.c
2609
tmpbuf[4] = sc->tulip_rombuf[11]; tmpbuf[5] = sc->tulip_rombuf[10];
sys/dev/netif/de/if_de.c
2610
tmpbuf[6] = sc->tulip_rombuf[9]; tmpbuf[7] = sc->tulip_rombuf[8];
sys/dev/netif/de/if_de.c
2611
if (bcmp(&sc->tulip_rombuf[0], tmpbuf, 8) != 0)
sys/dev/sound/pcm/buffer.c
134
if (b->tmpbuf)
sys/dev/sound/pcm/buffer.c
135
kfree(b->tmpbuf, M_DEVBUF);
sys/dev/sound/pcm/buffer.c
150
b->tmpbuf = NULL;
sys/dev/sound/pcm/buffer.c
164
u_int8_t *tmpbuf;
sys/dev/sound/pcm/buffer.c
186
tmpbuf = kmalloc(allocsize, M_DEVBUF, M_WAITOK);
sys/dev/sound/pcm/buffer.c
190
__func__, b, b->tmpbuf, tmpbuf,
sys/dev/sound/pcm/buffer.c
192
if (b->tmpbuf != NULL)
sys/dev/sound/pcm/buffer.c
193
kfree(b->tmpbuf, M_DEVBUF);
sys/dev/sound/pcm/buffer.c
194
b->tmpbuf = tmpbuf;
sys/dev/sound/pcm/buffer.c
214
u_int8_t *buf, *tmpbuf, *shadbuf;
sys/dev/sound/pcm/buffer.c
226
tmpbuf = kmalloc(allocsize, M_DEVBUF, M_WAITOK);
sys/dev/sound/pcm/buffer.c
232
if (b->tmpbuf != NULL)
sys/dev/sound/pcm/buffer.c
233
kfree(b->tmpbuf, M_DEVBUF);
sys/dev/sound/pcm/buffer.c
234
b->tmpbuf = tmpbuf;
sys/dev/sound/pcm/buffer.c
708
cnt = FEEDER_FEED(feeder, channel, to->tmpbuf,
sys/dev/sound/pcm/buffer.c
712
sndbuf_acquire(to, to->tmpbuf, cnt);
sys/dev/sound/pcm/buffer.h
41
u_int8_t *buf, *tmpbuf;
sys/dev/sound/pcm/feeder_mixer.c
198
cnt = FEEDER_FEED(c->feeder->source, c, b->tmpbuf,
sys/dev/sound/pcm/feeder_mixer.c
201
sndbuf_acquire(b, b->tmpbuf, cnt);
sys/dev/sound/pcm/feeder_mixer.c
242
cnt = FEEDER_FEED(ch->feeder, ch, bs->tmpbuf,
sys/dev/sound/pcm/feeder_mixer.c
245
sndbuf_acquire(bs, bs->tmpbuf, cnt);
sys/vfs/msdosfs/msdosfs_conv.c
247
u_char c, tmpbuf[5];
sys/vfs/msdosfs/msdosfs_conv.c
262
c = dos2unixchr(tmpbuf, __DECONST(const u_char **, &dn), &i,
sys/vfs/msdosfs/msdosfs_conv.c
281
c = dos2unixchr(tmpbuf, __DECONST(const u_char **, &dn),
sys/vfs/msdosfs/msdosfs_conv.c
636
u_char tmpbuf[5];
sys/vfs/msdosfs/msdosfs_conv.c
673
code = win2unixchr(tmpbuf, code, pmp);
sys/vfs/msdosfs/msdosfs_conv.c
694
code = win2unixchr(tmpbuf, code, pmp);
sys/vfs/msdosfs/msdosfs_conv.c
715
code = win2unixchr(tmpbuf, code, pmp);
sys/vm/vm_zone.c
815
char tmpbuf[128];
sys/vm/vm_zone.c
819
ksnprintf(tmpbuf, sizeof(tmpbuf),
sys/vm/vm_zone.c
821
error = SYSCTL_OUT(req, tmpbuf, strlen(tmpbuf));
sys/vm/vm_zone.c
845
tmpbuf[0] = '\n';
sys/vm/vm_zone.c
854
ksnprintf(tmpbuf + offset, sizeof(tmpbuf) - offset,
sys/vm/vm_zone.c
860
len = strlen((char *)tmpbuf);
sys/vm/vm_zone.c
862
tmpbuf[len - 1] = 0;
sys/vm/vm_zone.c
864
error = SYSCTL_OUT(req, tmpbuf, len);
usr.bin/evtranalyze/evtranalyze.c
1034
char *tmpbuf;
usr.bin/evtranalyze/evtranalyze.c
1039
tmpbuf = strdup(ev.file);
usr.bin/evtranalyze/evtranalyze.c
1045
basename(tmpbuf), ev.line);
usr.bin/evtranalyze/evtranalyze.c
1050
basename(tmpbuf), ev.line);
usr.bin/evtranalyze/evtranalyze.c
1052
free(tmpbuf);
usr.bin/patch/util.c
332
char *tmpbuf;
usr.bin/patch/util.c
334
if ((tmpbuf = strdup(filename)) == NULL)
usr.bin/patch/util.c
338
char *s = strrchr(tmpbuf, '/');
usr.bin/patch/util.c
340
free(tmpbuf);
usr.bin/patch/util.c
345
if (mkpath(tmpbuf) != 0)
usr.bin/patch/util.c
346
pfatal("creation of %s failed", tmpbuf);
usr.bin/patch/util.c
347
free(tmpbuf);
usr.bin/rpcgen/rpc_svcout.c
184
char tmpbuf[32];
usr.bin/rpcgen/rpc_svcout.c
191
sprintf(tmpbuf, "%s\t\t", sp);
usr.bin/rpcgen/rpc_svcout.c
192
print_err_message(tmpbuf);
usr.bin/rpcgen/rpc_svcout.c
206
print_err_message(tmpbuf);
usr.bin/rpcgen/rpc_svcout.c
223
print_err_message(tmpbuf);
usr.bin/rpcgen/rpc_svcout.c
935
char tmpbuf[32];
usr.bin/rpcgen/rpc_svcout.c
958
sprintf(tmpbuf, "%s\t\t", sp);
usr.bin/rpcgen/rpc_svcout.c
959
print_err_message(tmpbuf);
usr.bin/rpcgen/rpc_svcout.c
983
print_err_message(tmpbuf);
usr.bin/shlock/shlock.c
105
char *tmpbuf;
usr.bin/shlock/shlock.c
113
tmpbuf = strdup(file);
usr.bin/shlock/shlock.c
114
if ((dir = dirname(tmpbuf)) == NULL)
usr.bin/shlock/shlock.c
120
free(tmpbuf);
usr.bin/top/commands.c
590
char tmpbuf[20];
usr.bin/top/commands.c
593
newval = readline(tmpbuf, 8, Yes);
usr.bin/top/commands.c
625
char tmpbuf[20];
usr.bin/top/commands.c
628
if ((newval = readline(tmpbuf, 8, Yes)) > -1)
usr.bin/top/commands.c
653
char tmpbuf[20];
usr.bin/top/commands.c
659
if ((i = readline(tmpbuf, 10, Yes)) > 0)
usr.bin/top/commands.c
690
char tmpbuf[MAX_COLS];
usr.bin/top/commands.c
696
if (readline(tmpbuf, sizeof(tmpbuf), No) > 0)
usr.bin/top/commands.c
698
if ((i = string_index(tmpbuf, gstate->statics->order_names)) == -1)
usr.bin/top/commands.c
700
message_error(" Sort order \"%s\" not recognized", tmpbuf);
usr.bin/top/commands.c
783
char tmpbuf[MAX_COLS];
usr.bin/top/commands.c
786
if (readline(tmpbuf, sizeof(tmpbuf), No) > 0)
usr.bin/top/commands.c
788
kill_procs(tmpbuf);
usr.bin/top/commands.c
797
char tmpbuf[MAX_COLS];
usr.bin/top/commands.c
800
if (readline(tmpbuf, sizeof(tmpbuf), No) > 0)
usr.bin/top/commands.c
802
renice_procs(tmpbuf);
usr.sbin/mpsutil/mps_debug.c
142
char *frame, tmpbuf[128];
usr.sbin/mpsutil/mps_debug.c
152
bzero(tmpbuf, sizeof(tmpbuf));
usr.sbin/mpsutil/mps_debug.c
153
mps_parse_flags(flags, SGL_FLAGS, tmpbuf, sizeof(tmpbuf));
usr.sbin/mpsutil/mps_debug.c
155
flags, tmpbuf, sge->FlagsLength & 0xffffff,
usr.sbin/mpsutil/mps_debug.c
168
bzero(tmpbuf, sizeof(tmpbuf));
usr.sbin/mpsutil/mps_debug.c
169
mps_parse_flags(sgc->Flags, SGL_FLAGS, tmpbuf,
usr.sbin/mpsutil/mps_debug.c
170
sizeof(tmpbuf));
usr.sbin/mpsutil/mps_debug.c
174
tmpbuf, sgc->Length, sgc->NextChainOffset,
usr.sbin/mpsutil/mps_debug.c
179
tmpbuf, sgc->Length, sgc->NextChainOffset,
usr.sbin/mpsutil/mps_show.c
205
char tmpbuf[128];
usr.sbin/mpsutil/mps_show.c
226
bzero(tmpbuf, sizeof(tmpbuf));
usr.sbin/mpsutil/mps_show.c
227
mps_parse_flags(facts->IOCCapabilities, IOCCAP, tmpbuf, sizeof(tmpbuf));
usr.sbin/mpsutil/mps_show.c
249
tmpbuf);
usr.sbin/mpsutil/mps_show.c
257
bzero(tmpbuf, sizeof(tmpbuf));
usr.sbin/mpsutil/mps_show.c
259
"\4NvmeDevices\2ScsiTarget\1ScsiInitiator", tmpbuf, sizeof(tmpbuf));
usr.sbin/mpsutil/mps_show.c
260
printf(" ProtocolFlags: 0x%x %s\n", facts->ProtocolFlags, tmpbuf);