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

/freebsd-11-stable/contrib/amd/wire-test/
H A Dwire-test.c55 char *testhost, *proto, *tmp_buf; local
70 tmp_buf = print_wires();
71 if (tmp_buf) {
72 fprintf(stderr, "%s", tmp_buf);
73 XFREE(tmp_buf);
/freebsd-11-stable/contrib/amd/amq/
H A Dpawd.c240 char tmp_buf[MAXPATHLEN], *wd; local
243 wd = getawd(tmp_buf, sizeof(tmp_buf));
245 fprintf(stderr, "pawd: %s\n", tmp_buf);
/freebsd-11-stable/crypto/openssl/crypto/x509/
H A Dx509_obj.c84 char tmp_buf[80]; local
115 i2t_ASN1_OBJECT(tmp_buf, sizeof(tmp_buf), ne->object);
116 s = tmp_buf;
/freebsd-11-stable/contrib/amd/amd/
H A Damq_subr.c267 static char tmp_buf[MAXPATHLEN]; local
270 tmp_buf[0] = prev_buf[0] = '\0'; /* default is empty string: no match */
287 xstrlcpy(tmp_buf, mp->am_path, sizeof(tmp_buf));
288 xstrlcat(tmp_buf, &dir[len], sizeof(tmp_buf));
291 /* once tmp_buf and prev_buf are equal, break out of "do" loop */
292 if (STREQ(tmp_buf, prev_buf))
295 xstrlcpy(prev_buf, tmp_buf, sizeof(prev_buf));
300 tmp_buf, MAX_PAWD_TRIE
[all...]
/freebsd-11-stable/crypto/openssl/crypto/evp/
H A Ddigest.c300 unsigned char *tmp_buf; local
314 tmp_buf = out->md_data;
317 tmp_buf = NULL;
322 if (tmp_buf)
323 out->md_data = tmp_buf;
/freebsd-11-stable/sys/arm/ti/twl/
H A Dtwl.c226 uint8_t tmp_buf[TWL_MAX_IIC_DATA_SIZE + 1]; local
233 tmp_buf[0] = reg;
234 memcpy(&tmp_buf[1], buf, cnt);
250 msg.buf = tmp_buf;
/freebsd-11-stable/contrib/wpa/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...]
/freebsd-11-stable/usr.sbin/camdd/
H A Dcamdd.c291 uint8_t *tmp_buf; member in struct:camdd_dev_file
568 free(file_dev->tmp_buf);
814 struct camdd_buf *tmp_buf; local
861 for (i = 0, tmp_buf = STAILQ_FIRST(&buf->src_list);
862 i < buf->src_count && tmp_buf != NULL; i++,
863 tmp_buf = STAILQ_NEXT(tmp_buf, src_links)) {
865 if (tmp_buf->buf_type == CAMDD_BUF_DATA) {
868 tmp_data = &tmp_buf->buf_type_spec.data;
885 tmp_ind = &tmp_buf
2061 struct camdd_buf *tmp_buf, *next_buf; local
[all...]
/freebsd-11-stable/lib/libc/db/hash/
H A Dhash_bigkey.c436 memmove(hashp->tmp_buf, (save_p->page) + off, len);
437 val->data = (u_char *)hashp->tmp_buf;
460 if (hashp->tmp_buf)
461 free(hashp->tmp_buf);
462 if ((hashp->tmp_buf = (char *)malloc(totlen)) == NULL)
490 memmove(&hashp->tmp_buf[len], (bufp->page) + bp[1], mylen);
H A Dhash.h98 char *tmp_buf; /* Temporary Buffer for BIG data */ member in struct:htab
H A Dhash.c421 if (hashp->tmp_buf)
422 free(hashp->tmp_buf);
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_set_format_shar.c432 char tmp_buf[3]; local
433 tmp_buf[0] = inbuf[0];
435 tmp_buf[1] = '\0';
437 tmp_buf[1] = inbuf[1];
438 tmp_buf[2] = '\0';
439 uuencode_group(tmp_buf, buf);
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_buffer.c1849 struct evbuffer *buf = NULL, *tmp_buf = NULL; local
1854 tmp_buf = evbuffer_new();
1855 evbuffer_add_printf(tmp_buf, "Contents of chunk 100\n");
1856 evbuffer_add_buffer(buf, tmp_buf);
1857 evbuffer_add_printf(tmp_buf, "Contents of chunk 1\n");
1858 evbuffer_add_buffer(buf, tmp_buf);
1878 if (tmp_buf)
1879 evbuffer_free(tmp_buf);
1885 struct evbuffer *buf = NULL, *tmp_buf = NULL; local
1896 tmp_buf
2003 struct evbuffer *buf = NULL, *tmp_buf=NULL; local
[all...]
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_mgmt.c1131 char tmp_buf[80]; local
1144 ocs_snprintf(tmp_buf, 2, "%d", rev_id);
1145 strcat(result_buf, tmp_buf);
1153 ocs_snprintf(tmp_buf, 3, " %c", ((rev_id & 0xf0) >> 4) + 'A');
1154 strcat(result_buf, tmp_buf);
1155 ocs_snprintf(tmp_buf, 2, "%d", rev_id & 0x0f);
1156 strcat(result_buf, tmp_buf);
1165 ocs_snprintf(tmp_buf, 2, "%d", rev_id & 0x0f);
1166 strcat(result_buf, tmp_buf);
1171 ocs_snprintf(tmp_buf,
[all...]
/freebsd-11-stable/crypto/openssl/ssl/
H A Ds3_clnt.c2533 unsigned char tmp_buf[SSL_MAX_MASTER_KEY_LENGTH]; local
2562 tmp_buf[0] = s->client_version >> 8;
2563 tmp_buf[1] = s->client_version & 0xff;
2564 if (RAND_bytes(&(tmp_buf[2]), sizeof(tmp_buf) - 2) <= 0)
2567 s->session->master_key_length = sizeof(tmp_buf);
2573 n = RSA_public_encrypt(sizeof(tmp_buf),
2574 tmp_buf, p, rsa, RSA_PKCS1_PADDING);
2579 tmp_buf[0] = 0x70;
2597 tmp_buf,
2612 unsigned char tmp_buf[SSL_MAX_MASTER_KEY_LENGTH]; local
[all...]
/freebsd-11-stable/contrib/binutils/gas/
H A Dread.c1010 char *tmp_buf = 0;
1035 tmp_buf = xmalloc (tmp_len + 1);
1036 memcpy (tmp_buf, s, tmp_len);
1051 tmp_buf = xrealloc (tmp_buf, tmp_len + num);
1052 memcpy (tmp_buf + tmp_len, buffer, num);
1059 s = tmp_buf;
1093 if (tmp_buf)
1094 free (tmp_buf);
1007 char *tmp_buf = 0; local
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_cq.c432 struct mlx4_ib_cq_buf tmp_buf; local
438 tmp_buf = cq->buf;
449 mlx4_ib_free_cq_buf(dev, &tmp_buf, tmp_cqe);
/freebsd-11-stable/sys/cam/scsi/
H A Dscsi_pass.c1441 uint8_t *tmp_buf; local
1464 tmp_buf = malloc(lengths[i], M_SCSIPASS,
1466 io_req->kern_bufs[i] = tmp_buf;
1467 *data_ptrs[i] = tmp_buf;
1472 tmp_buf, lengths[i], io_req->user_bufs[i],
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_qos_parser_y.y2739 char tmp_buf[30];
2746 sprintf(tmp_buf, "%s%u", __SIMPLE_QOS_LEVEL_NAME, i);
2747 osm_qos_policy_simple_qos_levels[i].name = strdup(tmp_buf);
/freebsd-11-stable/contrib/gcc/config/rs6000/
H A Drs6000.c18047 char tmp_buf[512];
18067 strcpy (tmp_buf, "\n");
18068 strcat (tmp_buf, label);
18075 strcat (tmp_buf, ":\n\tmflr r0\n\tbcl 20,31,");
18076 strcat (tmp_buf, label);
18077 strcat (tmp_buf, "_pic\n");
18078 strcat (tmp_buf, label);
18079 strcat (tmp_buf, "_pic:\n\tmflr r11\n");
18081 strcat (tmp_buf, "\taddis r11,r11,ha16(");
18082 strcat (tmp_buf, name_bu
18001 char tmp_buf[512]; local
[all...]

Completed in 201 milliseconds