/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress.gen.c | 56 struct msg *tmp; in msg_new_with_arg() local 75 tmp->run_set = 0; in msg_new_with_arg() 77 return (tmp); in msg_new_with_arg() 302 free(tmp); in msg_free() 363 if (tmp->run_length >= tmp->run_num_allocated && in msg_unmarshal() 368 tmp->run_data[tmp->run_length] = run_new(); in msg_unmarshal() 369 if (tmp->run_data[tmp->run_length] == NULL) in msg_unmarshal() 372 tmp->run_data[tmp->run_length]) == -1) { in msg_unmarshal() 482 return (tmp); in kill_new_with_arg() 619 free(tmp); in kill_free() [all …]
|
/freebsd/contrib/libevent/test/ |
H A D | regress.gen.c | 56 struct msg *tmp; in msg_new_with_arg() local 75 tmp->run_set = 0; in msg_new_with_arg() 77 return (tmp); in msg_new_with_arg() 302 free(tmp); in msg_free() 363 if (tmp->run_length >= tmp->run_num_allocated && in msg_unmarshal() 368 tmp->run_data[tmp->run_length] = run_new(); in msg_unmarshal() 369 if (tmp->run_data[tmp->run_length] == NULL) in msg_unmarshal() 372 tmp->run_data[tmp->run_length]) == -1) { in msg_unmarshal() 482 return (tmp); in kill_new_with_arg() 619 free(tmp); in kill_free() [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/ |
H A D | fman_memac.c | 54 uint32_t tmp; in fman_memac_set_promiscuous() local 101 uint32_t tmp; in fman_memac_enable() local 116 uint32_t tmp; in fman_memac_disable() local 131 uint32_t tmp; in fman_memac_reset_stat() local 144 uint32_t tmp; in fman_memac_reset() local 165 tmp = 0; in fman_memac_init() 203 tmp = 0; in fman_memac_init() 217 tmp = 0; in fman_memac_init() 242 uint32_t tmp; in fman_memac_set_exception() local 272 uint32_t tmp; in fman_memac_get_max_frame_len() local [all …]
|
H A D | fman_dtsec.c | 142 tmp = 0; in fman_dtsec_init() 159 tmp = 0; in fman_dtsec_init() 170 tmp = 0; in fman_dtsec_init() 184 tmp = 0; in fman_dtsec_init() 213 tmp = 0; in fman_dtsec_init() 218 tmp = 0; in fman_dtsec_init() 225 tmp = 0; in fman_dtsec_init() 237 tmp = 0; in fman_dtsec_init() 279 tmp = 0; in fman_dtsec_init() 624 tmp = (((tmp & 0x000000FF) << 24) | in fman_dtsec_add_addr_in_paddr() [all …]
|
H A D | fman_tgec.c | 52 uint32_t tmp; in fman_tgec_reset_stat() local 56 tmp |= CMD_CFG_STAT_CLR; in fman_tgec_reset_stat() 159 uint32_t tmp; in fman_tgec_enable() local 163 tmp |= CMD_CFG_RX_EN; in fman_tgec_enable() 165 tmp |= CMD_CFG_TX_EN; in fman_tgec_enable() 183 uint32_t tmp; in fman_tgec_set_promiscuous() local 218 uint32_t tmp; in fman_tgec_set_rx_ignore_pause_frames() local 230 uint32_t tmp; in fman_tgec_enable_1588_time_stamp() local 319 uint32_t tmp; in fman_tgec_init() local 324 tmp |= CMD_CFG_WAN_MODE; in fman_tgec_init() [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/ |
H A D | fman_port.c | 60 tmp = 0; in init_bmi_rx() 158 tmp = 0; in init_bmi_rx() 165 tmp = 0; in init_bmi_rx() 181 tmp = 0; in init_bmi_tx() 262 tmp = 0; in init_bmi_tx() 269 tmp = 0; in init_bmi_tx() 285 tmp = 0; in init_bmi_oh() 355 tmp = 0; in init_bmi_oh() 362 tmp = 0; in init_bmi_oh() 377 tmp = 0; in init_qmi() [all …]
|
/freebsd/contrib/wpa/src/common/ |
H A D | sae.c | 38 tmp = sae->tmp = os_zalloc(sizeof(*tmp)); in sae_set_group() 48 tmp->prime_len = crypto_ec_prime_len(tmp->ec); in sae_set_group() 49 tmp->prime = crypto_ec_get_prime(tmp->ec); in sae_set_group() 51 tmp->order = crypto_ec_get_order(tmp->ec); in sae_set_group() 61 tmp->prime_len = tmp->dh->prime_len; in sae_set_group() 73 tmp->prime = tmp->prime_buf; in sae_set_group() 75 tmp->order_len = tmp->dh->order_len; in sae_set_group() 82 tmp->order = tmp->order_buf; in sae_set_group() 99 tmp = sae->tmp; in sae_clear_temp_data() 115 bin_clear_free(tmp, sizeof(*tmp)); in sae_clear_temp_data() [all …]
|
H A D | sae_pk.c | 361 struct sae_temporary_data *tmp = sae->tmp; in sae_pk_set_password() local 384 tmp->fingerprint_bits = 8 * tmp->sec + 19 * tmp->lambda / 4 - 5; in sae_pk_set_password() 386 tmp->sec, tmp->lambda, tmp->fingerprint_bits); in sae_pk_set_password() 390 pos = &tmp->fingerprint[tmp->sec]; in sae_pk_set_password() 549 struct sae_temporary_data *tmp = sae->tmp; in sae_pk_hash_sig_data() local 573 tmp->prime_len, tmp->prime_len) < 0 || in sae_pk_hash_sig_data() 577 tmp->prime_len, tmp->prime_len) < 0) in sae_pk_hash_sig_data() 601 struct sae_temporary_data *tmp = sae->tmp; in sae_write_confirm_pk() local 629 if (tmp->kek_len != 32 && tmp->kek_len != 48 && tmp->kek_len != 64) { in sae_write_confirm_pk() 728 os_memcpy(pos, tmp->ssid, tmp->ssid_len); in sae_pk_valid_fingerprint() [all …]
|
/freebsd/contrib/ntp/sntp/libevent/WIN32-Code/ |
H A D | tree.h | 399 if (tmp && RB_COLOR(tmp, field) == RB_RED) { \ 407 tmp = parent; \ 409 elm = tmp; \ 415 if (tmp && RB_COLOR(tmp, field) == RB_RED) { \ 425 elm = tmp; \ 589 tmp = RB_LEFT(tmp, field); \ 591 tmp = RB_RIGHT(tmp, field); \ 617 tmp = RB_LEFT(tmp, field); \ 619 tmp = RB_RIGHT(tmp, field); \ 655 tmp = RB_LEFT(tmp, field); \ [all …]
|
/freebsd/contrib/libevent/WIN32-Code/ |
H A D | tree.h | 399 if (tmp && RB_COLOR(tmp, field) == RB_RED) { \ 407 tmp = parent; \ 409 elm = tmp; \ 415 if (tmp && RB_COLOR(tmp, field) == RB_RED) { \ 425 elm = tmp; \ 589 tmp = RB_LEFT(tmp, field); \ 591 tmp = RB_RIGHT(tmp, field); \ 617 tmp = RB_LEFT(tmp, field); \ 619 tmp = RB_RIGHT(tmp, field); \ 655 tmp = RB_LEFT(tmp, field); \ [all …]
|
/freebsd/crypto/openssl/crypto/modes/ |
H A D | cts128.c | 115 memset(tmp.c, 0, sizeof(tmp)); in CRYPTO_cts128_encrypt() 151 memset(tmp.c, 0, sizeof(tmp)); in CRYPTO_nistcts128_encrypt() 185 memcpy(tmp.c, tmp.c + 16, 16); in CRYPTO_cts128_decrypt_block() 187 (*block) (tmp.c, tmp.c, key); in CRYPTO_cts128_decrypt_block() 232 memcpy(tmp.c, tmp.c + 16, 16); in CRYPTO_nistcts128_decrypt_block() 234 (*block) (tmp.c, tmp.c, key); in CRYPTO_nistcts128_decrypt_block() 243 out[n] = tmp.c[n] ^ tmp.c[n - 16]; in CRYPTO_nistcts128_decrypt_block() 272 memset(tmp.c, 0, sizeof(tmp)); in CRYPTO_cts128_decrypt() 282 (*cbc) (tmp.c, tmp.c, 32, key, ivec, 0); in CRYPTO_cts128_decrypt() 316 memset(tmp.c, 0, sizeof(tmp)); in CRYPTO_nistcts128_decrypt() [all …]
|
/freebsd/usr.bin/gzip/ |
H A D | gzexe | 38 tmp=`/usr/bin/mktemp -d /tmp/gzexeXXXXXXXXXX` || { 62 tmp=`mktemp /tmp/gzexeXXXXXXXXXX` || { 68 rm -f "$tmp" 73 cp "$tmp" "$1" 74 rm -f "$tmp" 110 tmp=`mktemp /tmp/gzexeXXXXXXXXXX` || { 116 rm -f "$tmp" 121 rm -f "$1"~ "$tmp" 129 if header "$1" > "$tmp" && gzip -vc "$1" >> "$tmp"; then 132 rm -f "$tmp" [all …]
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ecp_nistp224.c | 593 widefelem tmp; in felem_square_reduce() local 600 widefelem tmp; in felem_mul_reduce() local 621 tmp[0] -= a; in felem_contract() 648 tmp[2] += tmp[1] >> 56; in felem_contract() 651 tmp[3] += tmp[2] >> 56; in felem_contract() 668 widefelem tmp; in felem_neg() local 670 memset(tmp, 0, sizeof(tmp)); in felem_neg() 1180 nq[0], nq[1], nq[2], 1, tmp[0], tmp[1], tmp[2]); in batch_mul() 1195 1 /* mixed */ , tmp[0], tmp[1], tmp[2]); in batch_mul() 1214 copy_conditional(tmp[1], tmp[3], sign); in batch_mul() [all …]
|
H A D | ecp_nistp256.c | 399 tmp[3] = (u64)tmp[3]; in felem_shrink() 407 tmp[3] = (u64)tmp[3]; in felem_shrink() 455 tmp[1] += ((u64)(tmp[0] >> 64)); in felem_shrink() 456 tmp[0] = (u64)tmp[0]; in felem_shrink() 457 tmp[2] += ((u64)(tmp[1] >> 64)); in felem_shrink() 458 tmp[1] = (u64)tmp[1]; in felem_shrink() 459 tmp[3] += ((u64)(tmp[2] >> 64)); in felem_shrink() 460 tmp[2] = (u64)tmp[2]; in felem_shrink() 1081 felem_inv(tmp, tmp); in smallfelem_inv_contract() 1730 nq[0], nq[1], nq[2], 1, tmp[0], tmp[1], tmp[2]); in batch_mul() [all …]
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | sys-tree.h | 416 if (tmp && RB_COLOR(tmp, field) == RB_RED) { \ 426 elm = tmp; \ 432 if (tmp && RB_COLOR(tmp, field) == RB_RED) { \ 606 tmp = RB_LEFT(tmp, field); \ 608 tmp = RB_RIGHT(tmp, field); \ 634 tmp = RB_LEFT(tmp, field); \ 636 tmp = RB_RIGHT(tmp, field); \ 654 tmp = RB_LEFT(tmp, field); \ 657 tmp = RB_RIGHT(tmp, field); \ 716 tmp = RB_LEFT(tmp, field); \ [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/ |
H A D | fman_ncsw.c | 172 uint32_t tmp; in fman_enable_time_stamp() local 318 uint32_t tmp; in fman_set_liodn_per_port() local 344 uint32_t tmp; in fman_resume_stalled_port() local 445 uint32_t tmp; in fman_set_size_of_fifo() local 459 uint32_t tmp; in fman_get_num_of_tasks() local 471 uint32_t tmp; in fman_get_num_extra_tasks() local 486 uint32_t tmp; in fman_set_num_of_tasks() local 501 uint32_t tmp; in fman_get_num_of_dmas() local 513 uint32_t tmp; in fman_get_num_extra_dmas() local 1015 tmp = 0; in fman_set_ports_bandwidth() [all …]
|
/freebsd/contrib/arm-optimized-routines/math/test/rtest/ |
H A D | random.c | 87 uint32 tmp; in random_upto_biased() local 88 tmp = random_upto_internal(limit, mask); if (tmp < ret) ret = tmp; in random_upto_biased() 89 tmp = random_upto_internal(limit, mask); if (tmp < ret) ret = tmp; in random_upto_biased() 90 tmp = random_upto_internal(limit, mask); if (tmp < ret) ret = tmp; in random_upto_biased() 91 tmp = random_upto_internal(limit, mask); if (tmp < ret) ret = tmp; in random_upto_biased() 92 tmp = random_upto_internal(limit, mask); if (tmp < ret) ret = tmp; in random_upto_biased() 93 tmp = random_upto_internal(limit, mask); if (tmp < ret) ret = tmp; in random_upto_biased() 94 tmp = random_upto_internal(limit, mask); if (tmp < ret) ret = tmp; in random_upto_biased() 95 tmp = random_upto_internal(limit, mask); if (tmp < ret) ret = tmp; in random_upto_biased()
|
/freebsd/sys/fs/tmpfs/ |
H A D | tmpfs_vfsops.c | 485 mp->mnt_data = tmp; in tmpfs_mount() 531 TMPFS_LOCK(tmp); in tmpfs_unmount() 537 TMPFS_LOCK(tmp); in tmpfs_unmount() 555 tmp->tm_refcount--; in tmpfs_free_tmp() 560 TMPFS_UNLOCK(tmp); in tmpfs_free_tmp() 607 TMPFS_LOCK(tmp); in tmpfs_fhtovp() 615 TMPFS_UNLOCK(tmp); in tmpfs_fhtovp() 720 (uintmax_t)tmp->tm_size_max, tmp->tm_pages_max, tmp->tm_pages_used, in db_print_tmpfs() 721 (uintmax_t)tmp->tm_nodes_max, (uintmax_t)tmp->tm_nodes_inuse, in db_print_tmpfs() 722 (uintmax_t)tmp->tm_ea_memory_inuse, (uintmax_t)tmp->tm_refcount, in db_print_tmpfs() [all …]
|
/freebsd/sbin/gbde/ |
H A D | test.sh | 12 ./gbde init $D -P foo -L /tmp/_l1 13 ./gbde setkey $D -p foo -l /tmp/_l1 -P bar -L /tmp/_l1 14 ./gbde setkey $D -p bar -l /tmp/_l1 -P foo -L /tmp/_l1 16 ./gbde setkey $D -p foo -l /tmp/_l1 -n 2 -P foo2 -L /tmp/_l2 17 ./gbde setkey $D -p foo2 -l /tmp/_l2 -n 3 -P foo3 -L /tmp/_l3 18 ./gbde setkey $D -p foo3 -l /tmp/_l3 -n 4 -P foo4 -L /tmp/_l4 19 ./gbde setkey $D -p foo4 -l /tmp/_l4 -n 1 -P foo1 -L /tmp/_l1 21 ./gbde nuke $D -p foo1 -l /tmp/_l1 -n 4 23 ./gbde destroy $D -p foo2 -l /tmp/_l2 26 ./gbde nuke $D -p foo1 -l /tmp/_l1 -n -1 [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | asn1_internal_test.c | 37 const ASN1_STRING_TABLE *tmp; in test_tbl_standard() local 41 for (tmp = tbl_standard, i = 0; i < OSSL_NELEM(tbl_standard); i++, tmp++) { in test_tbl_standard() 42 if (tmp->nid < last_nid) { in test_tbl_standard() 46 last_nid = tmp->nid; in test_tbl_standard() 55 for (tmp = tbl_standard, i = 0; i < OSSL_NELEM(tbl_standard); i++, tmp++) in test_tbl_standard() 57 i, tmp->nid, OBJ_nid2ln(tmp->nid)); in test_tbl_standard() 79 i++, tmp++) { in test_standard_methods() 94 if (!TEST_true(((*tmp)->pem_str == NULL && ((*tmp)->pkey_flags & ASN1_PKEY_ALIAS) != 0) in test_standard_methods() 97 i, (*tmp)->pkey_id, OBJ_nid2sn((*tmp)->pkey_id)); in test_standard_methods() 109 i++, tmp++) in test_standard_methods() [all …]
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | memory.c | 157 free(tmp); in ibv_fork_init() 225 mm_root = tmp; in __mm_rotate_right() 249 mm_root = tmp; in __mm_rotate_left() 375 tmp = tmp->right; in __mm_remove() 551 if (tmp && tmp->refcnt == node->refcnt + inc) in get_start_node() 572 if (tmp) { in undo_node() 574 node = tmp; in undo_node() 580 if (tmp && tmp->refcnt == node->refcnt) in undo_node() 584 if (tmp && tmp->refcnt == node->refcnt) in undo_node() 660 if (!tmp || start > tmp->end) in ibv_madvise_range() [all …]
|
/freebsd/tests/sys/sys/ |
H A D | arb_test.c | 63 struct node *tmp, *ins; in ATF_TC_BODY() local 77 tmp->key += MIN; in ATF_TC_BODY() 80 max = min = tmp->key; in ATF_TC_BODY() 82 if (tmp->key > max) in ATF_TC_BODY() 83 max = tmp->key; in ATF_TC_BODY() 84 if (tmp->key < min) in ATF_TC_BODY() 85 min = tmp->key; in ATF_TC_BODY() 93 tmp = ins; in ATF_TC_BODY() 98 ATF_CHECK_EQ(tmp, ARB_REMOVE(tree, root, tmp)); in ATF_TC_BODY() 101 tmp = ARB_ROOT(root); in ATF_TC_BODY() [all …]
|
H A D | splay_test.c | 61 struct node *tmp, *ins; in ATF_TC_BODY() local 73 tmp->key += MIN; in ATF_TC_BODY() 76 max = min = tmp->key; in ATF_TC_BODY() 78 if (tmp->key > max) in ATF_TC_BODY() 79 max = tmp->key; in ATF_TC_BODY() 80 if (tmp->key < min) in ATF_TC_BODY() 81 min = tmp->key; in ATF_TC_BODY() 89 tmp = ins; in ATF_TC_BODY() 94 ATF_CHECK_EQ(tmp, SPLAY_REMOVE(tree, &root, tmp)); in ATF_TC_BODY() 99 ATF_CHECK_EQ(tmp, SPLAY_REMOVE(tree, &root, tmp)); in ATF_TC_BODY() [all …]
|
/freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/ |
H A D | zutil_device_path_os.c | 88 if (!tmp) in zfs_strip_partition() 91 if ((part = strstr(tmp, "-part")) && part != tmp) { in zfs_strip_partition() 96 } else if ((tmp[0] == 'h' || tmp[0] == 's' || tmp[0] == 'v') && in zfs_strip_partition() 108 return (tmp); in zfs_strip_partition() 220 char *tmp; in zfs_get_pci_slots_sys_path() local 453 tmp = NULL; in dm_get_underlying_path() 491 free(tmp); in dm_get_underlying_path() 516 char *tmp; in zfs_dev_is_dm() local 521 free(tmp); in zfs_dev_is_dm() 597 char *tmp; in zfs_get_underlying_path() local [all …]
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | marshall.c | 63 int32_t tmp; in kadm5_ret_key_data() local 111 int32_t tmp; in kadm5_ret_tl_data() local 207 int32_t tmp; in ret_principal_ent() local 225 princ->max_life = tmp; in ret_principal_ent() 229 if(tmp) in ret_principal_ent() 236 princ->mod_date = tmp; in ret_principal_ent() 244 princ->kvno = tmp; in ret_principal_ent() 248 princ->mkvno = tmp; in ret_principal_ent() 252 if(tmp) in ret_principal_ent() 315 int32_t tmp; in kadm5_ret_principal_ent_mask() local [all …]
|