| /freebsd-12.1/contrib/amd/wire-test/ |
| H A D | wire-test.c | 55 char *testhost, *proto, *tmp_buf; in main() local 70 tmp_buf = print_wires(); in main() 71 if (tmp_buf) { in main() 72 fprintf(stderr, "%s", tmp_buf); in main() 73 XFREE(tmp_buf); in main()
|
| /freebsd-12.1/contrib/amd/amd/ |
| H A D | amq_subr.c | 267 static char tmp_buf[MAXPATHLEN]; in amqproc_pawd_1_svc() local 270 tmp_buf[0] = prev_buf[0] = '\0'; /* default is empty string: no match */ in amqproc_pawd_1_svc() 287 xstrlcpy(tmp_buf, mp->am_path, sizeof(tmp_buf)); in amqproc_pawd_1_svc() 288 xstrlcat(tmp_buf, &dir[len], sizeof(tmp_buf)); in amqproc_pawd_1_svc() 292 if (STREQ(tmp_buf, prev_buf)) in amqproc_pawd_1_svc() 295 xstrlcpy(prev_buf, tmp_buf, sizeof(prev_buf)); in amqproc_pawd_1_svc() 300 tmp_buf, MAX_PAWD_TRIES); in amqproc_pawd_1_svc() 302 res = tmp_buf; in amqproc_pawd_1_svc()
|
| /freebsd-12.1/contrib/amd/amq/ |
| H A D | pawd.c | 240 char tmp_buf[MAXPATHLEN], *wd; in main() local 243 wd = getawd(tmp_buf, sizeof(tmp_buf)); in main() 245 fprintf(stderr, "pawd: %s\n", tmp_buf); in main()
|
| /freebsd-12.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-12.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-12.1/crypto/openssl/crypto/evp/ |
| H A D | digest.c | 214 unsigned char *tmp_buf; in EVP_MD_CTX_copy_ex() local 228 tmp_buf = out->md_data; in EVP_MD_CTX_copy_ex() 231 tmp_buf = NULL; in EVP_MD_CTX_copy_ex() 246 if (tmp_buf) in EVP_MD_CTX_copy_ex() 247 out->md_data = tmp_buf; in EVP_MD_CTX_copy_ex()
|
| /freebsd-12.1/sys/arm/ti/twl/ |
| H A D | twl.c | 228 uint8_t tmp_buf[TWL_MAX_IIC_DATA_SIZE + 1]; in twl_write() local 235 tmp_buf[0] = reg; in twl_write() 236 memcpy(&tmp_buf[1], buf, cnt); in twl_write() 252 msg.buf = tmp_buf; in twl_write()
|
| /freebsd-12.1/usr.sbin/camdd/ |
| H A D | camdd.c | 292 uint8_t *tmp_buf; member 556 free(file_dev->tmp_buf); in camdd_free_dev() 802 struct camdd_buf *tmp_buf; in camdd_buf_sg_create() local 852 tmp_buf = STAILQ_NEXT(tmp_buf, src_links)) { in camdd_buf_sg_create() 2145 struct camdd_buf *tmp_buf, *next_buf; local 2152 STAILQ_REMOVE(&buf->src_list, tmp_buf, 2155 tmp_buf->status = buf->status; 2177 tmp_buf, links); 2342 if (file_dev->tmp_buf == NULL) 2344 if (file_dev->tmp_buf == NULL) { [all …]
|
| /freebsd-12.1/contrib/libarchive/libarchive/ |
| H A D | archive_write_set_format_shar.c | 431 char tmp_buf[3]; in _uuencode_line() local 432 tmp_buf[0] = inbuf[0]; in _uuencode_line() 434 tmp_buf[1] = '\0'; in _uuencode_line() 436 tmp_buf[1] = inbuf[1]; in _uuencode_line() 437 tmp_buf[2] = '\0'; in _uuencode_line() 438 uuencode_group(tmp_buf, buf); in _uuencode_line()
|
| /freebsd-12.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-12.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-12.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-12.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-12.1/sys/dev/ocs_fc/ |
| H A D | ocs_mgmt.c | 1131 char tmp_buf[80]; in get_chip_type() local 1144 ocs_snprintf(tmp_buf, 2, "%d", rev_id); in get_chip_type() 1145 strcat(result_buf, tmp_buf); in get_chip_type() 1154 strcat(result_buf, tmp_buf); in get_chip_type() 1155 ocs_snprintf(tmp_buf, 2, "%d", rev_id & 0x0f); in get_chip_type() 1156 strcat(result_buf, tmp_buf); in get_chip_type() 1166 strcat(result_buf, tmp_buf); in get_chip_type() 1172 strcat(result_buf, tmp_buf); in get_chip_type() 1174 strcat(result_buf, tmp_buf); in get_chip_type() 1205 strcat(result_buf, tmp_buf); in get_chip_type() [all …]
|
| /freebsd-12.1/contrib/binutils/gas/ |
| H A D | read.c | 1007 char *tmp_buf = 0; in read_a_source_file() local 1032 tmp_buf = xmalloc (tmp_len + 1); in read_a_source_file() 1033 memcpy (tmp_buf, s, tmp_len); in read_a_source_file() 1048 tmp_buf = xrealloc (tmp_buf, tmp_len + num); in read_a_source_file() 1049 memcpy (tmp_buf + tmp_len, buffer, num); in read_a_source_file() 1056 s = tmp_buf; in read_a_source_file() 1090 if (tmp_buf) in read_a_source_file() 1091 free (tmp_buf); in read_a_source_file()
|
| /freebsd-12.1/sys/cam/scsi/ |
| H A D | scsi_pass.c | 1439 uint8_t *tmp_buf; in passmemsetup() local 1462 tmp_buf = malloc(lengths[i], M_SCSIPASS, in passmemsetup() 1464 io_req->kern_bufs[i] = tmp_buf; in passmemsetup() 1465 *data_ptrs[i] = tmp_buf; in passmemsetup() 1470 tmp_buf, lengths[i], io_req->user_bufs[i], in passmemsetup()
|
| /freebsd-12.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-12.1/contrib/gcc/config/rs6000/ |
| H A D | rs6000.c | 18001 char tmp_buf[512]; in macho_branch_islands() local 18021 strcpy (tmp_buf, "\n"); in macho_branch_islands() 18022 strcat (tmp_buf, label); in macho_branch_islands() 18030 strcat (tmp_buf, label); in macho_branch_islands() 18031 strcat (tmp_buf, "_pic\n"); in macho_branch_islands() 18032 strcat (tmp_buf, label); in macho_branch_islands() 18036 strcat (tmp_buf, name_buf); in macho_branch_islands() 18037 strcat (tmp_buf, " - "); in macho_branch_islands() 18038 strcat (tmp_buf, label); in macho_branch_islands() 18045 strcat (tmp_buf, " - "); in macho_branch_islands() [all …]
|
| /freebsd-12.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()
|