| /freebsd-13.1/contrib/wpa/src/p2p/ |
| H A D | p2p_build.c | 601 struct wpabuf *tmp_buf = NULL; in p2p_buf_add_service_instance() local 613 tmp_buf = wpabuf_alloc(MAX_SVC_ADV_IE_LEN + 256 + P2PS_HASH_LEN); in p2p_buf_add_service_instance() 614 if (!tmp_buf) in p2p_buf_add_service_instance() 621 ie_len = p2p_buf_add_ie_hdr(tmp_buf); in p2p_buf_add_service_instance() 625 wpabuf_put_u8(tmp_buf, P2P_ATTR_ADVERTISED_SERVICE); in p2p_buf_add_service_instance() 626 attr_len = wpabuf_put(tmp_buf, sizeof(u16)); in p2p_buf_add_service_instance() 628 p2p_buf_update_ie_hdr(tmp_buf, ie_len); in p2p_buf_add_service_instance() 629 pos = wpabuf_put(tmp_buf, 0); in p2p_buf_add_service_instance() 646 p2p_buf_add_service_info(tmp_buf, p2p, in p2p_buf_add_service_instance() 660 wpabuf_put_buf(buf, tmp_buf); in p2p_buf_add_service_instance() [all …]
|
| /freebsd-13.1/crypto/openssl/crypto/x509/ |
| H A D | x509_obj.c | 35 char tmp_buf[80]; in X509_NAME_oneline() local 66 i2t_ASN1_OBJECT(tmp_buf, sizeof(tmp_buf), ne->object); in X509_NAME_oneline() 67 s = tmp_buf; in X509_NAME_oneline()
|
| /freebsd-13.1/crypto/openssl/crypto/evp/ |
| H A D | digest.c | 224 unsigned char *tmp_buf; in EVP_MD_CTX_copy_ex() local 238 tmp_buf = out->md_data; in EVP_MD_CTX_copy_ex() 241 tmp_buf = NULL; in EVP_MD_CTX_copy_ex() 256 if (tmp_buf) in EVP_MD_CTX_copy_ex() 257 out->md_data = tmp_buf; in EVP_MD_CTX_copy_ex()
|
| /freebsd-13.1/sys/arm/ti/twl/ |
| H A D | twl.c | 225 uint8_t tmp_buf[TWL_MAX_IIC_DATA_SIZE + 1]; in twl_write() local 232 tmp_buf[0] = reg; in twl_write() 233 memcpy(&tmp_buf[1], buf, cnt); in twl_write() 248 msg.buf = tmp_buf; in twl_write()
|
| /freebsd-13.1/usr.sbin/camdd/ |
| H A D | camdd.c | 292 uint8_t *tmp_buf; member 564 free(file_dev->tmp_buf); in camdd_free_dev() 810 struct camdd_buf *tmp_buf; in camdd_buf_sg_create() local 860 tmp_buf = STAILQ_NEXT(tmp_buf, src_links)) { in camdd_buf_sg_create() 2264 struct camdd_buf *tmp_buf, *next_buf; local 2271 STAILQ_REMOVE(&buf->src_list, tmp_buf, 2274 tmp_buf->status = buf->status; 2296 tmp_buf, links); 2465 if (file_dev->tmp_buf == NULL) 2467 if (file_dev->tmp_buf == NULL) { [all …]
|
| /freebsd-13.1/lib/libc/db/hash/ |
| H A D | hash_bigkey.c | 438 memmove(hashp->tmp_buf, (save_p->page) + off, len); in __big_return() 439 val->data = (u_char *)hashp->tmp_buf; in __big_return() 462 if (hashp->tmp_buf) in collect_data() 463 free(hashp->tmp_buf); in collect_data() 464 if ((hashp->tmp_buf = (char *)malloc(totlen)) == NULL) in collect_data() 492 memmove(&hashp->tmp_buf[len], (bufp->page) + bp[1], mylen); in collect_data()
|
| H A D | hash.h | 100 char *tmp_buf; /* Temporary Buffer for BIG data */ member
|
| H A D | hash.c | 423 if (hashp->tmp_buf) in hdestroy() 424 free(hashp->tmp_buf); in hdestroy()
|
| /freebsd-13.1/contrib/libarchive/libarchive/ |
| H A D | archive_write_set_format_shar.c | 432 char tmp_buf[3]; in _uuencode_line() local 433 tmp_buf[0] = inbuf[0]; in _uuencode_line() 435 tmp_buf[1] = '\0'; in _uuencode_line() 437 tmp_buf[1] = inbuf[1]; in _uuencode_line() 438 tmp_buf[2] = '\0'; in _uuencode_line() 439 uuencode_group(tmp_buf, buf); in _uuencode_line()
|
| /freebsd-13.1/contrib/ntp/sntp/libevent/test/ |
| H A D | regress_buffer.c | 1854 tmp_buf = evbuffer_new(); in test_evbuffer_peek_first_gt() 1856 evbuffer_add_buffer(buf, tmp_buf); in test_evbuffer_peek_first_gt() 1878 if (tmp_buf) in test_evbuffer_peek_first_gt() 1879 evbuffer_free(tmp_buf); in test_evbuffer_peek_first_gt() 1896 tmp_buf = evbuffer_new(); in test_evbuffer_peek() 1989 if (tmp_buf) in test_evbuffer_peek() 1990 evbuffer_free(tmp_buf); in test_evbuffer_peek() 2020 tmp_buf = evbuffer_new(); in test_evbuffer_freeze() 2021 tt_assert(tmp_buf); in test_evbuffer_freeze() 2080 if (tmp_buf) in test_evbuffer_freeze() [all …]
|
| /freebsd-13.1/crypto/openssl/apps/ |
| H A D | passwd.c | 588 char tmp_buf[80]; /* "rounds=999999999" */ in shacrypt() local 589 sprintf(tmp_buf, "rounds=%u", rounds); in shacrypt() 592 if (tmp_buf[0] != 0x72) /* ASCII 'r' */ in shacrypt() 593 ebcdic2ascii(tmp_buf, tmp_buf, strlen(tmp_buf)); in shacrypt() 595 OPENSSL_strlcat(out_buf, tmp_buf, sizeof(out_buf)); in shacrypt()
|
| /freebsd-13.1/sys/dev/ocs_fc/ |
| H A D | ocs_mgmt.c | 972 char tmp_buf[80]; in get_chip_type() local 985 ocs_snprintf(tmp_buf, 2, "%d", rev_id); in get_chip_type() 986 strcat(result_buf, tmp_buf); in get_chip_type() 995 strcat(result_buf, tmp_buf); in get_chip_type() 996 ocs_snprintf(tmp_buf, 2, "%d", rev_id & 0x0f); in get_chip_type() 997 strcat(result_buf, tmp_buf); in get_chip_type() 1007 strcat(result_buf, tmp_buf); in get_chip_type() 1013 strcat(result_buf, tmp_buf); in get_chip_type() 1015 strcat(result_buf, tmp_buf); in get_chip_type() 1046 strcat(result_buf, tmp_buf); in get_chip_type() [all …]
|
| /freebsd-13.1/contrib/libevent/test/ |
| H A D | regress_buffer.c | 2128 tmp_buf = evbuffer_new(); in test_evbuffer_peek_first_gt() 2130 evbuffer_add_buffer(buf, tmp_buf); in test_evbuffer_peek_first_gt() 2152 if (tmp_buf) in test_evbuffer_peek_first_gt() 2153 evbuffer_free(tmp_buf); in test_evbuffer_peek_first_gt() 2170 tmp_buf = evbuffer_new(); in test_evbuffer_peek() 2263 if (tmp_buf) in test_evbuffer_peek() 2264 evbuffer_free(tmp_buf); in test_evbuffer_peek() 2294 tmp_buf = evbuffer_new(); in test_evbuffer_freeze() 2295 tt_assert(tmp_buf); in test_evbuffer_freeze() 2354 if (tmp_buf) in test_evbuffer_freeze() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/cmd/draid/ |
| H A D | draid.c | 70 char *tmp_buf; in read_map() local 104 tmp_buf = malloc(tmp_size); in read_map() 105 if (tmp_buf == NULL) { in read_map() 111 memcpy(tmp_buf, buf, bytes); in read_map() 113 buf = tmp_buf; in read_map()
|
| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | btree.c | 626 uint8_t *tmp_buf = kmem_alloc(size, KM_SLEEP); in zfs_btree_insert_into_parent() local 627 bmov(parent->btc_elems + keep_count * size, tmp_buf, in zfs_btree_insert_into_parent() 639 bmov(tmp_buf, buf, size); in zfs_btree_insert_into_parent() 649 bmov(tmp_buf, buf, size); in zfs_btree_insert_into_parent() 659 bmov(tmp_buf, new_parent->btc_elems, size); in zfs_btree_insert_into_parent() 662 kmem_free(tmp_buf, size); in zfs_btree_insert_into_parent()
|
| /freebsd-13.1/sys/cam/scsi/ |
| H A D | scsi_pass.c | 1437 uint8_t *tmp_buf; in passmemsetup() local 1446 tmp_buf = malloc(lengths[i], M_SCSIPASS, in passmemsetup() 1448 io_req->kern_bufs[i] = tmp_buf; in passmemsetup() 1449 *data_ptrs[i] = tmp_buf; in passmemsetup() 1454 tmp_buf, lengths[i], io_req->user_bufs[i], in passmemsetup()
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_ib/ |
| H A D | mlx4_ib_cq.c | 432 struct mlx4_ib_cq_buf tmp_buf; in mlx4_ib_resize_cq() local 438 tmp_buf = cq->buf; in mlx4_ib_resize_cq() 449 mlx4_ib_free_cq_buf(dev, &tmp_buf, tmp_cqe); in mlx4_ib_resize_cq()
|
| /freebsd-13.1/contrib/ofed/opensm/opensm/ |
| H A D | osm_qos_parser_y.y | 2739 char tmp_buf[30]; in __setup_simple_qos_levels() local 2746 sprintf(tmp_buf, "%s%u", __SIMPLE_QOS_LEVEL_NAME, i); in __setup_simple_qos_levels() 2747 osm_qos_policy_simple_qos_levels[i].name = strdup(tmp_buf); in __setup_simple_qos_levels()
|
| /freebsd-13.1/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_iwarp.c | 2233 u8 *tmp_buf = p_hwfn->p_rdma_info->iwarp.mpa_intermediate_buf; in ecore_iwarp_copy_fpdu() local 2256 OSAL_MEMCPY(tmp_buf, fpdu->mpa_frag_virt, fpdu->mpa_frag_len); in ecore_iwarp_copy_fpdu() 2257 OSAL_MEMCPY(tmp_buf + fpdu->mpa_frag_len, in ecore_iwarp_copy_fpdu() 2268 OSAL_MEMCPY((u8 *)(buf->data), tmp_buf, in ecore_iwarp_copy_fpdu()
|