Searched refs:tmp_buf (Results 1 - 25 of 27) sorted by relevance

12

/netbsd-current/external/bsd/am-utils/dist/wire-test/
H A Dwire-test.c57 char *testhost, *proto, *tmp_buf; local
72 tmp_buf = print_wires();
73 if (tmp_buf) {
74 fprintf(stderr, "%s", tmp_buf);
75 XFREE(tmp_buf);
/netbsd-current/external/bsd/tre/dist/lib/
H A Dtre-match-parallel.c144 char *tmp_buf; local
178 /* Get the various pointers within tmp_buf (properly aligned). */
180 tmp_buf = buf + tbytes;
181 tmp_buf += ALIGN(tmp_buf, long);
182 reach_next = (void *)tmp_buf;
183 tmp_buf += rbytes;
184 tmp_buf += ALIGN(tmp_buf, long);
185 reach = (void *)tmp_buf;
[all...]
/netbsd-current/external/bsd/am-utils/dist/amq/
H A Dpawd.c242 char tmp_buf[MAXPATHLEN], *wd; local
245 wd = getawd(tmp_buf, sizeof(tmp_buf));
247 fprintf(stderr, "pawd: %s\n", tmp_buf);
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/x509/
H A Dx509_obj.c35 char tmp_buf[80]; local
66 i2t_ASN1_OBJECT(tmp_buf, sizeof(tmp_buf), ne->object);
67 s = tmp_buf;
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/x509/
H A Dx509_obj.c37 char tmp_buf[80]; local
68 i2t_ASN1_OBJECT(tmp_buf, sizeof(tmp_buf), ne->object);
69 s = tmp_buf;
/netbsd-current/external/bsd/am-utils/dist/amd/
H A Damq_subr.c269 static char tmp_buf[MAXPATHLEN]; local
272 tmp_buf[0] = prev_buf[0] = '\0'; /* default is empty string: no match */
289 xstrlcpy(tmp_buf, mp->am_path, sizeof(tmp_buf));
290 xstrlcat(tmp_buf, &dir[len], sizeof(tmp_buf));
293 /* once tmp_buf and prev_buf are equal, break out of "do" loop */
294 if (STREQ(tmp_buf, prev_buf))
297 xstrlcpy(prev_buf, tmp_buf, sizeof(prev_buf));
302 tmp_buf, MAX_PAWD_TRIE
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/evp/
H A Ddigest.c224 unsigned char *tmp_buf; local
238 tmp_buf = out->md_data;
241 tmp_buf = NULL;
256 if (tmp_buf)
257 out->md_data = tmp_buf;
/netbsd-current/external/bsd/wpa/dist/src/p2p/
H A Dp2p_build.c601 struct wpabuf *tmp_buf = NULL; local
613 tmp_buf = wpabuf_alloc(MAX_SVC_ADV_IE_LEN + 256 + P2PS_HASH_LEN);
614 if (!tmp_buf)
621 ie_len = p2p_buf_add_ie_hdr(tmp_buf);
625 wpabuf_put_u8(tmp_buf, P2P_ATTR_ADVERTISED_SERVICE);
626 attr_len = wpabuf_put(tmp_buf, sizeof(u16));
628 p2p_buf_update_ie_hdr(tmp_buf, ie_len);
629 pos = wpabuf_put(tmp_buf, 0);
633 p2p_buf_add_service_info(tmp_buf, p2p, 0, 0, P2PS_WILD_HASH_STR,
646 p2p_buf_add_service_info(tmp_buf, p2
[all...]
/netbsd-current/lib/libc/db/hash/
H A Dhash_bigkey.c463 memmove(hashp->tmp_buf, (save_p->page) + off, (size_t)len);
464 val->data = (uint8_t *)hashp->tmp_buf;
487 if (hashp->tmp_buf)
488 free(hashp->tmp_buf);
489 if ((hashp->tmp_buf = calloc(1, (size_t)totlen)) == NULL)
518 memmove(&hashp->tmp_buf[len], (bufp->page) + bp[1], (size_t)mylen);
H A Dhash.h102 char *tmp_buf; /* Temporary Buffer for BIG data */ member in struct:htab
/netbsd-current/external/bsd/libarchive/dist/libarchive/
H A Darchive_write_set_format_shar.c431 char tmp_buf[3]; local
432 tmp_buf[0] = inbuf[0];
434 tmp_buf[1] = '\0';
436 tmp_buf[1] = inbuf[1];
437 tmp_buf[2] = '\0';
438 uuencode_group(tmp_buf, buf);
/netbsd-current/external/bsd/libevent/dist/test/
H A Dregress_buffer.c2377 struct evbuffer *buf = NULL, *tmp_buf = NULL; local
2382 tmp_buf = evbuffer_new();
2383 evbuffer_add_printf(tmp_buf, "Contents of chunk 100\n");
2384 evbuffer_add_buffer(buf, tmp_buf);
2385 evbuffer_add_printf(tmp_buf, "Contents of chunk 1\n");
2386 evbuffer_add_buffer(buf, tmp_buf);
2406 if (tmp_buf)
2407 evbuffer_free(tmp_buf);
2413 struct evbuffer *buf = NULL, *tmp_buf = NULL; local
2424 tmp_buf
2533 struct evbuffer *buf = NULL, *buf_two = NULL, *tmp_buf = NULL; local
[all...]
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/test/
H A Dregress_buffer.c1851 struct evbuffer *buf = NULL, *tmp_buf = NULL; local
1856 tmp_buf = evbuffer_new();
1857 evbuffer_add_printf(tmp_buf, "Contents of chunk 100\n");
1858 evbuffer_add_buffer(buf, tmp_buf);
1859 evbuffer_add_printf(tmp_buf, "Contents of chunk 1\n");
1860 evbuffer_add_buffer(buf, tmp_buf);
1880 if (tmp_buf)
1881 evbuffer_free(tmp_buf);
1887 struct evbuffer *buf = NULL, *tmp_buf = NULL; local
1898 tmp_buf
2005 struct evbuffer *buf = NULL, *tmp_buf=NULL; local
[all...]
/netbsd-current/crypto/external/cpl/trousers/dist/src/tcsd/
H A Dtcsd_conf.c204 char tmp_buf[1024]; local
210 tmp_buf[i] = *ptr;
229 tmp_buf[i] = '\0';
230 *dest = strdup(tmp_buf);
232 LogError("malloc of %zd bytes failed", strlen(tmp_buf));
/netbsd-current/crypto/external/bsd/openssl.old/dist/apps/
H A Dpasswd.c588 char tmp_buf[80]; /* "rounds=999999999" */ local
589 sprintf(tmp_buf, "rounds=%u", rounds);
592 if (tmp_buf[0] != 0x72) /* ASCII 'r' */
593 ebcdic2ascii(tmp_buf, tmp_buf, strlen(tmp_buf));
595 OPENSSL_strlcat(out_buf, tmp_buf, sizeof(out_buf));
/netbsd-current/crypto/external/bsd/openssl/dist/apps/
H A Dpasswd.c591 char tmp_buf[80]; /* "rounds=999999999" */ local
592 sprintf(tmp_buf, "rounds=%u", rounds);
595 if (tmp_buf[0] != 0x72) /* ASCII 'r' */
596 ebcdic2ascii(tmp_buf, tmp_buf, strlen(tmp_buf));
598 OPENSSL_strlcat(out_buf, tmp_buf, sizeof(out_buf));
/netbsd-current/external/gpl3/gcc.old/dist/gcc/config/rs6000/
H A Drs6000-logue.c5080 char tmp_buf[512];
5096 strcpy (tmp_buf, "\n");
5097 strcat (tmp_buf, label);
5104 strcat (tmp_buf, ":\n\tmflr r0\n\tbcl 20,31,");
5105 strcat (tmp_buf, label);
5106 strcat (tmp_buf, "_pic\n");
5107 strcat (tmp_buf, label);
5108 strcat (tmp_buf, "_pic:\n\tmflr r11\n");
5110 strcat (tmp_buf, "\taddis r11,r11,ha16(");
5111 strcat (tmp_buf, name_bu
5076 char tmp_buf[512]; local
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/config/rs6000/
H A Drs6000-logue.cc5135 char tmp_buf[512];
5151 strcpy (tmp_buf, "\n");
5152 strcat (tmp_buf, label);
5159 strcat (tmp_buf, ":\n\tmflr r0\n\tbcl 20,31,");
5160 strcat (tmp_buf, label);
5161 strcat (tmp_buf, "_pic\n");
5162 strcat (tmp_buf, label);
5163 strcat (tmp_buf, "_pic:\n\tmflr r11\n");
5165 strcat (tmp_buf, "\taddis r11,r11,ha16(");
5166 strcat (tmp_buf, name_bu
5131 char tmp_buf[512]; local
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dia64-linux-nat.c885 gdb_byte *tmp_buf; local
897 tmp_buf = (gdb_byte *) alloca (gate_table_size);
898 res = syscall (__NR_getunwind, tmp_buf, gate_table_size);
906 memcpy (readbuf, tmp_buf + offset, len);
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dia64-linux-nat.c883 gdb_byte *tmp_buf; local
895 tmp_buf = (gdb_byte *) alloca (gate_table_size);
896 res = syscall (__NR_getunwind, tmp_buf, gate_table_size);
904 memcpy (readbuf, tmp_buf + offset, len);
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/evp/
H A Ddigest.c526 unsigned char *tmp_buf; local
598 tmp_buf = out->md_data;
601 tmp_buf = NULL;
616 if (tmp_buf)
617 out->md_data = tmp_buf;
/netbsd-current/usr.sbin/syslogd/
H A Dsyslogd.c3073 store_sign_delim_sg2(char *tmp_buf) argument
3083 if (dehumanize_number(tmp_buf, (int64_t*) &(sqentry->key)) == -1
3085 DPRINTF(D_PARSE, "invalid sign_delim_sg2: %s\n", tmp_buf);
3087 FREEPTR(tmp_buf);
3090 sqentry->data = tmp_buf;
3112 tmp_buf);
3114 FREEPTR(tmp_buf);
3145 char *tmp_buf = NULL; local
3165 {"tls_allow_fingerprints",&tmp_buf},
3166 {"tls_allow_clientcerts", &tmp_buf},
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_drv.h1521 struct vmw_buffer_object *tmp_buf = *buf; local
1524 if (tmp_buf != NULL) {
1525 ttm_bo_put(&tmp_buf->base);
/netbsd-current/external/gpl3/binutils.old/dist/gas/
H A Dread.c1255 char *tmp_buf = 0;
1279 tmp_buf = XNEWVEC (char, tmp_len + 1);
1280 memcpy (tmp_buf, s, tmp_len);
1295 tmp_buf = XRESIZEVEC (char, tmp_buf, tmp_len + num);
1296 memcpy (tmp_buf + tmp_len, buffer, num);
1303 s = tmp_buf;
1337 if (tmp_buf)
1338 free (tmp_buf);
1252 char *tmp_buf = 0; local
/netbsd-current/external/gpl3/gdb.old/dist/gas/
H A Dread.c1321 char *tmp_buf = 0;
1345 tmp_buf = XNEWVEC (char, tmp_len + 1);
1346 memcpy (tmp_buf, s, tmp_len);
1361 tmp_buf = XRESIZEVEC (char, tmp_buf, tmp_len + num);
1362 memcpy (tmp_buf + tmp_len, buffer, num);
1369 s = tmp_buf;
1403 free (tmp_buf);
1318 char *tmp_buf = 0; local

Completed in 515 milliseconds

12