tmpbuf
char strbuf[1024], tmpbuf[1024], *p, *str, nbuf[32], delimiter = '\0';
strlcpy(tmpbuf, cp + 2, sizeof tmpbuf);
p = strchr(tmpbuf, '}');
strftime(strbuf, sizeof strbuf, tmpbuf,
char tmpbuf[1024];
p = tmpbuf;
bufleft = sizeof(tmpbuf);
ax_oid2string(&(vb->avb_oid)), tmpbuf);
strlcpy(tmpbuf,
ax_oid2string(&(vb->avb_data.avb_oid)), sizeof(tmpbuf));
ax_oid2string(&(vb->avb_oid)), tmpbuf);
tmpbuf, sizeof(tmpbuf)) == NULL) {
ax_oid2string(&(vb->avb_oid)), tmpbuf);
p = tmpbuf;
bufleft = sizeof(tmpbuf);
ax_oid2string(&(vb->avb_oid)), tmpbuf);
unsigned char *tmpbuf, *q;
tmpbuf = malloc(nbyte);
if (!tmpbuf)
q = tmpbuf;
*r = BN_bin2bn(tmpbuf, nbyte, NULL);
free(tmpbuf);
BIO *tmpbuf;
if (!(tmpbuf = BIO_new(BIO_f_buffer()))) {
BIO_push(tmpbuf, tmpmem);
ret = SMIME_text(tmpbuf, data);
BIO_free_all(tmpbuf);
wchar_t tmpbuf[EL_BUFSIZ];
tmplen = c_gets(el, tmpbuf, L"\n: ");
if (tmplen < 0 || (tmpbuf[tmplen] = 0, parse_line(el, tmpbuf)) == -1)
wchar_t tmpbuf[EL_BUFSIZ];
tmpbuf[0] = '.';
tmpbuf[1] = '*';
tmplen = c_gets(el, &tmpbuf[LEN],
ch = tmpbuf[tmplen];
tmpbuf[tmplen] = '\0';
(void) wcsncpy(tmpbuf, el->el_search.patbuf,
sizeof(tmpbuf) / sizeof(*tmpbuf) - 1);
(void) wcsncpy(&el->el_search.patbuf[2], tmpbuf,
tmpbuf[tmplen++] = '.';
tmpbuf[tmplen++] = '*';
tmpbuf[tmplen] = '\0';
(void) wcsncpy(el->el_search.patbuf, tmpbuf, EL_BUFSIZ - 1);
char tmpbuf[100];
j = snprintf(tmpbuf, sizeof(tmpbuf), " %lld%s",
if (j >= sizeof(tmpbuf))
j = sizeof(tmpbuf) - 1;
printf("%s", tmpbuf);
char tmpbuf[100]; /* XXX this will break in about 2,500 years */
j = snprintf(tmpbuf, sizeof tmpbuf, " %lld,",
if (j >= sizeof tmpbuf)
j = sizeof tmpbuf - 1;
printf("%s", tmpbuf);
if (gethead(&tmpbuf) == FAIL) {
if (tmpbuf.c_volume != volno) {
fprintf(stderr, "Wrong volume (%d)\n", tmpbuf.c_volume);
if (tmpbuf.c_date != dumpdate || tmpbuf.c_ddate != dumptime) {
time_t t = (time_t)tmpbuf.c_date;
tpblksread, tmpbuf.c_firstrec);
if (tmpbuf.c_type == TS_TAPE && (tmpbuf.c_flags & DR_NEWHEADER)) {
tpblksread = tmpbuf.c_firstrec;
for (i = tmpbuf.c_count; i > 0; i--)
} else if (tmpbuf.c_firstrec > 0 &&
tmpbuf.c_firstrec < tpblksread - 1) {
i = tpblksread - tmpbuf.c_firstrec - 1;
if (tmpbuf.c_type == TS_TAPE && (tmpbuf.c_flags & DR_NEWHEADER))
for (i = tmpbuf.c_count; i > 0; i--)
void *tmpbuf;
tmpbuf = realloc(*ip_addresses, sizeof(char *) * (*ip_addresses_size + 1));
if(!tmpbuf) {
*ip_addresses = tmpbuf;
tmpbuf = realloc(*ip_addresses, sizeof(char *) * (*ip_addresses_size + 1));
if(!tmpbuf) {
*ip_addresses = tmpbuf;
if (tmpbuf)
memcpy(buffer, tmpbuf + offset, size);
kfree(tmpbuf);
char *tmpbuf = NULL;
tmpbuf = kmalloc(size + offset, GFP_KERNEL);
if (!tmpbuf)
msgs[1].buf = tmpbuf;
unsigned char tmpbuf[8];
tmpbuf[0] = sc->tulip_rombuf[15]; tmpbuf[1] = sc->tulip_rombuf[14];
tmpbuf[2] = sc->tulip_rombuf[13]; tmpbuf[3] = sc->tulip_rombuf[12];
tmpbuf[4] = sc->tulip_rombuf[11]; tmpbuf[5] = sc->tulip_rombuf[10];
tmpbuf[6] = sc->tulip_rombuf[9]; tmpbuf[7] = sc->tulip_rombuf[8];
if (bcmp(&sc->tulip_rombuf[0], tmpbuf, 8) != 0)
BUF *tmpbuf;
tmpbuf = buf_alloc(len + strlen(expbuf));
buf_append(tmpbuf, line->l_line,
buf_puts(tmpbuf, expbuf);
tlen = buf_len(tmpbuf) - 1;
buf_append(tmpbuf, end,
c = buf_get(tmpbuf) + tlen;
fin = buf_get(tmpbuf) + buf_len(tmpbuf) - 1;
len = buf_len(tmpbuf);
line->l_line = buf_release(tmpbuf);
isc_buffer_t tmpbuf;
isc_buffer_init(&tmpbuf, r.base, r.length);
dns_message_renderheader(msg, &tmpbuf);
char tmpbuf[64];
if (inet_ntop(af, src->base, tmpbuf, sizeof(tmpbuf)) == NULL)
if (strlen(tmpbuf) > isc_buffer_availablelength(target))
isc_buffer_putstr(target, tmpbuf);
char *cp, *tp2, tmpbuf[PATH_MAX];
tp2 = tmpbuf;
tp = tmpbuf;
char *tp = argv[1], *tp2, tmpbuf[PATH_MAX];
tp2 = tmpbuf;
argv[2] = tmpbuf;
struct Buf tmpbuf;
buf_init(&tmpbuf, sizeof(char));
buf_strappend(&tmpbuf, str);
buf_m4_define(&m4defs_buf, "M4_YY_SC_DEFS", tmpbuf.elts);
buf_destroy(&tmpbuf);
const unsigned char *tmpbuf = str;
tmpbuf += j;
p = tmpbuf;
tmpbuf = ASN1_STRING_get0_data(at->value.asn1_string);
str = tmpbuf;
char *tmpbuf;
if ((tmpbuf = strdup(filename)) == NULL)
char *s = strrchr(tmpbuf, '/');
free(tmpbuf);
if (mkpath(tmpbuf) != 0)
pfatal("creation of %s failed", tmpbuf);
free(tmpbuf);
char *tmpbuf;
if ((tmpbuf = normpath(buf)) != NULL)
size_t tmpbuflen = strlen(tmpbuf);
free(tmpbuf);
pkgconf_strlcpy(buf, tmpbuf, buflen);
free(tmpbuf);
char tmpbuf[32];
snprintf(tmpbuf, sizeof tmpbuf, "%s\t\t", sp);
print_err_message(tmpbuf);
print_err_message(tmpbuf);
print_err_message(tmpbuf);
char tmpbuf[32];
(void) snprintf(tmpbuf, sizeof tmpbuf, "%s\t\t", sp);
print_err_message(tmpbuf);
print_err_message(tmpbuf);
snprintf(tmpbuf, sizeof(tmpbuf),
snprintf(tmpbuf, sizeof(tmpbuf),
tmpbuf, hostname, timebuf);
char tmpbuf[TIMEPOS];
strcpy_DYN(&tmpbuf, 0);
strcpy_DYN(&tmpbuf, name);
strcpy_DYN(&tmpbuf, "=");
strcpy_DYN(&tmpbuf, src);
WRAP_CONCAT1(tmpbuf.text);
free_DYN(&tmpbuf);
static DYNBUF tmpbuf;
strncpy_DYN(&tmpbuf, src++, (size_t) 1);
strncpy_DYN(&tmpbuf, src++, (size_t) 1);
tmpbuf.text[tmpbuf.used - 1] = '\n';
indent_DYN(&tmpbuf, level);
strncpy_DYN(&tmpbuf, "%", (size_t) 1);
strncpy_DYN(&tmpbuf, src, (size_t) 1);
strncpy_DYN(&tmpbuf, "\n", (size_t) 1);
indent_DYN(&tmpbuf, level + 1);
indent_DYN(&tmpbuf, level + 1);
strncpy_DYN(&tmpbuf, "%", (size_t) 1);
strncpy_DYN(&tmpbuf, src, (size_t) 1);
strncpy_DYN(&tmpbuf, "\n", (size_t) 1);
indent_DYN(&tmpbuf, level + 1);
tmpbuf.text[tmpbuf.used - 1] = '\n';
indent_DYN(&tmpbuf, level);
strncpy_DYN(&tmpbuf, "%", (size_t) 1);
strncpy_DYN(&tmpbuf, src++, (size_t) 1);
tmpbuf.text[tmpbuf.used++] = '\n';
indent_DYN(&tmpbuf, level);
if (percent && params && !leading_DYN(&tmpbuf, "%")) {
tmpbuf.text[tmpbuf.used - 1] = '\n';
indent_DYN(&tmpbuf, level + 1);
strncpy_DYN(&tmpbuf, "%", (size_t) 1);
strncpy_DYN(&tmpbuf, "\\s", (size_t) 2);
strncpy_DYN(&tmpbuf, src++, (size_t) 1);
struct ibuf attrbuf, tmpbuf, *npath = NULL;
ibuf_from_ibuf(&tmpbuf, &attrbuf);
ibuf_from_ibuf(&tmpbuf, npath);
aspath_asprint(&str, &tmpbuf);
a->aspath = aspath_get(ibuf_data(&tmpbuf), ibuf_size(&tmpbuf));
ibuf_from_ibuf(&tmpbuf, &attrbuf);
if (ibuf_get_n32(&tmpbuf, &tmp32) == -1)
ibuf_from_ibuf(&tmpbuf, &attrbuf);
if (ibuf_get_n32(&tmpbuf, &tmp32) == -1)
ibuf_from_ibuf(&tmpbuf, &attrbuf);
if (ibuf_get_n32(&tmpbuf, &tmp32) == -1)
buffer_type* tmpbuf;
tmpbuf = buffer_create(region, QIOBUFSZ);
if(!tmpbuf) {
if(!print_rr(stdout, NULL, rr, tmpregion, tmpbuf)) {
char tmpbuf[LOGQUEUE_SIZE];
(void)vsnprintf(tmpbuf, sizeof(tmpbuf), fmt, ap);
(void)strlcat(logqueue, tmpbuf, LOGQUEUE_SIZE);
char tmpbuf[1024];
char logbuf[LOGQUEUE_SIZE + sizeof(tmpbuf)];
(void)vsnprintf(tmpbuf, sizeof(tmpbuf), fmt, ap);
(void)strlcat(logbuf, tmpbuf, sizeof(logbuf));
char tmpbuf[EXPAND_BUFFER], *ptmp, *pbuf, *ebuf;
if (len < sizeof tmpbuf) {
memset(tmpbuf, 0, sizeof tmpbuf);
ptmp = tmpbuf;
tmpret = snprintf(ptmp, sizeof tmpbuf, "%s/", ui->directory);
if (tmpret >= sizeof tmpbuf) {
for (; *pbuf && ret < sizeof tmpbuf; ret += tmpret) {
if (sizeof (tmpbuf) - (ptmp - tmpbuf) <= (size_t)exptoklen)
if (ret >= sizeof tmpbuf)
if ((ret = strlcpy(buf, tmpbuf, len)) >= len)
strlcpy(tmpbuf,
ax_oid2string(&(vb->avb_data.avb_oid)), sizeof(tmpbuf));
ax_oid2string(&(vb->avb_oid)), tmpbuf);
tmpbuf, sizeof(tmpbuf)) == NULL) {
ax_oid2string(&(vb->avb_oid)), tmpbuf);
p = tmpbuf;
bufleft = sizeof(tmpbuf);
ax_oid2string(&(vb->avb_oid)), tmpbuf);
char tmpbuf[1024];
p = tmpbuf;
bufleft = sizeof(tmpbuf);
ax_oid2string(&(vb->avb_oid)), tmpbuf);
void *tmpbuf;
tmpbuf = realloc(*ip_addresses, sizeof(char *) * (*ip_addresses_size + 1));
if(!tmpbuf) {
*ip_addresses = tmpbuf;
tmpbuf = realloc(*ip_addresses, sizeof(char *) * (*ip_addresses_size + 1));
if(!tmpbuf) {
*ip_addresses = tmpbuf;
char* tmpbuf = NULL;
free(tmpbuf);
tmpbuf = malloc(avail-16);
if(!tmpbuf)
red = in?fread(tmpbuf, 1, avail-16, in):0;
memmove(at, tmpbuf, red);
free(tmpbuf);
char tmpbuf[HOST_NAME_MAX+1 + 20], *v, *ptr;
snprintf(tmpbuf, sizeof(tmpbuf), "%s %s\n",
len = strlcat(val, tmpbuf, sizeof(val));