/freebsd/sys/net80211/ |
H A D | ieee80211_vht.c | 345 uint32_t val, val1, val2; in ieee80211_vht_get_vhtcap_ie() local 362 val2 = val1 = _IEEE80211_MASKSHIFT(vap->iv_vht_cap.vht_cap_info, in ieee80211_vht_get_vhtcap_ie() 365 val2 = _IEEE80211_MASKSHIFT(ni->ni_vhtcap, in ieee80211_vht_get_vhtcap_ie() 368 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie() 372 val2 = val1 = _IEEE80211_MASKSHIFT(vap->iv_vht_cap.vht_cap_info, in ieee80211_vht_get_vhtcap_ie() 375 val2 = _IEEE80211_MASKSHIFT(ni->ni_vhtcap, in ieee80211_vht_get_vhtcap_ie() 378 if ((val2 == 2) && in ieee80211_vht_get_vhtcap_ie() 380 val2 = 1; in ieee80211_vht_get_vhtcap_ie() 381 if ((val2 == 1) && in ieee80211_vht_get_vhtcap_ie() 383 val2 = 0; in ieee80211_vht_get_vhtcap_ie() [all …]
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_sdhost.c | 668 uint16_t val2; in bcm_sdhost_command() local 683 val2 = ((val >> 8) & HC_CMD_COMMAND_MASK) | HC_CMD_ENABLE; in bcm_sdhost_command() 692 val2 |= HC_CMD_RESPONSE_LONG; in bcm_sdhost_command() 699 val2 |= HC_CMD_RESPONSE_NONE; in bcm_sdhost_command() 701 if (val2 & HC_CMD_BUSY) in bcm_sdhost_command() 706 val2 |= HC_CMD_READ; in bcm_sdhost_command() 708 val2 |= HC_CMD_WRITE; in bcm_sdhost_command() 711 __func__, val, val2); in bcm_sdhost_command() 740 WR4(sc, HC_COMMAND, val2); in bcm_sdhost_command() 742 if (val2 & HC_CMD_READ || val2 & HC_CMD_WRITE) { in bcm_sdhost_command() [all …]
|
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest.h | 1444 const T1& val1, const T2& val2, in CmpHelperOpFailure() argument 1448 << "), actual: " << FormatForComparisonFailureMessage(val1, val2) in CmpHelperOpFailure() 1449 << " vs " << FormatForComparisonFailureMessage(val2, val1); in CmpHelperOpFailure() 1461 const T1& val1, const T2& val2) { \ 1462 if (val1 op val2) { \ 1465 return CmpHelperOpFailure(expr1, expr2, val1, val2, #op); \ 1610 double val1, double val2, 1884 #define EXPECT_EQ(val1, val2) \ argument 1885 EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2) 1886 #define EXPECT_NE(val1, val2) \ argument [all …]
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_exp2.c | 26 BIGNUM *val1[TABLE_SIZE], *val2[TABLE_SIZE]; in BN_mod_exp2_mont() local 52 val2[0] = BN_CTX_get(ctx); in BN_mod_exp2_mont() 53 if (val2[0] == NULL) in BN_mod_exp2_mont() 101 if (!BN_mod(val2[0], a2, m, ctx)) in BN_mod_exp2_mont() 103 a_mod_m = val2[0]; in BN_mod_exp2_mont() 111 if (!BN_to_montgomery(val2[0], a_mod_m, mont, ctx)) in BN_mod_exp2_mont() 114 if (!BN_mod_mul_montgomery(d, val2[0], val2[0], mont, ctx)) in BN_mod_exp2_mont() 119 if (((val2[i] = BN_CTX_get(ctx)) == NULL) || in BN_mod_exp2_mont() 120 !BN_mod_mul_montgomery(val2[i], val2[i - 1], d, mont, ctx)) in BN_mod_exp2_mont() 186 if (!BN_mod_mul_montgomery(r, r, val2[wvalue2 >> 1], mont, ctx)) in BN_mod_exp2_mont()
|
/freebsd/contrib/bearssl/T0/ |
H A D | CodeElementUIntInt.cs | 30 int val2; field in CodeElementUIntInt 32 internal CodeElementUIntInt(uint val1, int val2) : base() in CodeElementUIntInt() argument 35 this.val2 = val2; in CodeElementUIntInt() 50 + Encode7ESigned(val2, null); in GetLength() 58 len += Encode7ESigned(val2, bw); in Encode()
|
H A D | CodeElementUIntUInt.cs | 29 uint val1, val2; field in CodeElementUIntUInt 31 internal CodeElementUIntUInt(uint val1, uint val2) : base() in CodeElementUIntUInt() argument 34 this.val2 = val2; in CodeElementUIntUInt() 49 + Encode7EUnsigned(val2, null); in GetLength() 57 len += Encode7EUnsigned(val2, bw); in Encode()
|
/freebsd/sys/dev/tws/ |
H A D | tws_services.h | 40 struct tws_softc *sc, char *desc, u_int64_t val1, u_int64_t val2); 63 #define TWS_TRACE_DEBUG(sc, desc, val1, val2) \ argument 65 (u_int64_t)val1, (u_int64_t)val2) 68 #define TWS_TRACE_DEBUG(sc, desc, val1, val2) argument 72 #define TWS_TRACE(sc, desc, val1, val2) \ argument 74 (u_int64_t)val1, (u_int64_t)val2) 76 #define TWS_TRACE(sc, desc, val1, val2) argument
|
H A D | tws_services.c | 85 struct tws_softc *sc, char *desc, u_int64_t val1, u_int64_t val2) in tws_trace() argument 102 rec[tail].val2 = val2; in tws_trace() 125 printf(fmt, linenum, file, fun, desc, val1, val2); in tws_trace()
|
/freebsd/usr.sbin/pmcstudy/ |
H A D | eval_expr.c | 67 int val1, op, val2; in validate_expr() local 69 val1 = op = val2 = 0; in validate_expr() 77 val2 = 1; in validate_expr() 82 if (val1 && op && val2 && (open_cnt == 0)) { in validate_expr() 93 if (val1 && op && val2) { in validate_expr() 99 val2 = 0; in validate_expr() 123 if (val1 && op && val2) { in validate_expr() 131 val2 = 1; in validate_expr() 142 if (val1 && op && val2) { in validate_expr() 154 val2 = 1; in validate_expr() [all …]
|
/freebsd/lib/libc/rpc/ |
H A D | netnamer.c | 76 char *val1, *val2; in netname2user() local 109 val2 = strchr(val1, '@'); in netname2user() 110 if (val2 == NULL) in netname2user() 112 vallen = val2 - val1; in netname2user() 122 if (strcmp(val2 + 1, domain)) in netname2user() 188 char *val2; in netname2host() local 205 val2 = strchr(val, '@'); in netname2host() 206 if (val2 == NULL) in netname2host() 208 vallen = val2 - val; in netname2host() 218 if (strcmp(val2 + 1, domain)) in netname2host()
|
/freebsd/contrib/googletest/docs/reference/ |
H A D | assertions.md | 164 `EXPECT_EQ(`*`val1`*`,`*`val2`*`)` \ 165 `ASSERT_EQ(`*`val1`*`,`*`val2`*`)` 167 Verifies that *`val1`*`==`*`val2`*. 179 `EXPECT_NE(`*`val1`*`,`*`val2`*`)` \ 180 `ASSERT_NE(`*`val1`*`,`*`val2`*`)` 182 Verifies that *`val1`*`!=`*`val2`*. 194 `EXPECT_LT(`*`val1`*`,`*`val2`*`)` \ 195 `ASSERT_LT(`*`val1`*`,`*`val2`*`)` 197 Verifies that *`val1`*`<`*`val2`*. 201 `EXPECT_LE(`*`val1`*`,`*`val2`*`)` \ [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_copies/ |
H A D | zfs_copies_001_pos.ksh | 85 for val2 in 3 2 1; do 86 log_must zfs create -o copies=$val2 $fs2 88 log_must zfs create -V $VOLSIZE -o copies=$val2 $vol2 91 log_must zfs create -o copies=$val2 $vol2 94 cmp_prop $ds $val2
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_copies/ |
H A D | zfs_copies_001_pos.ksh | 95 for val2 in 3 2 1; do 96 log_must $ZFS create -o copies=$val2 $fs2 98 log_must $ZFS create -V $VOLSIZE -o copies=$val2 $vol2 100 log_must $ZFS create -o copies=$val2 $vol2 103 cmp_prop $ds $val2
|
/freebsd/sys/dev/ixl/ |
H A D | i40e_hmc.h | 131 u32 val1, val2, val3; \ 133 val2 = (u32)(pa) | (I40E_HMC_MAX_BP_COUNT << \ 140 wr32((hw), I40E_PFHMC_SDDATALOW, val2); \ 152 u32 val2, val3; \ 153 val2 = (I40E_HMC_MAX_BP_COUNT << \ 159 wr32((hw), I40E_PFHMC_SDDATALOW, val2); \
|
/freebsd/crypto/openssl/test/ |
H A D | v3ext.c | 45 ASN1_INTEGER *val1 = NULL, *val2 = NULL; in test_asid() local 63 if (!TEST_ptr(val2 = ASN1_INTEGER_new()) in test_asid() 64 || !TEST_true(ASN1_INTEGER_set_int64(val2, 64497))) in test_asid() 67 if (!TEST_true(X509v3_asid_add_id_or_range(asid2, V3_ASID_ASNUM, val2, NULL))) in test_asid() 70 val2 = NULL; in test_asid() 73 || !TEST_ptr(val2 = ASN1_INTEGER_new()) in test_asid() 74 || !TEST_true(ASN1_INTEGER_set_int64(val2, 64497))) in test_asid() 81 if (!TEST_true(X509v3_asid_add_id_or_range(asid3, V3_ASID_ASNUM, val1, val2))) in test_asid() 83 val1 = val2 = NULL; in test_asid() 112 ASN1_INTEGER_free(val2); in test_asid() [all...] |
H A D | cmp_ctx_test.c | 350 TYPE val2 = val2_to_free; \ 403 if (!(*set_fn)(ctx, val2)) { \ 416 if (val2_read != val2) { \ 421 if (DUP && val2_read == val2) { \ 426 if (val2 == val1) { \ 632 TYPE val2 = val2_to_free; \ 675 if (!(*push_fn)(ctx, val2)) { \ 688 if (val2_read != val2) { \ 693 if (DUP && val2_read == val2) { \ 697 if (val2 == val1) { \
|
/freebsd/usr.bin/showmount/ |
H A D | showmount.c | 264 int val, val2; in xdr_mntdump() local 297 val2 = strcmp(mp->ml_dirp, tp->ml_dirp); in xdr_mntdump() 301 if (val2 == 0) { in xdr_mntdump() 305 val = val2; in xdr_mntdump() 309 if (val2 == 0) { in xdr_mntdump() 313 val = val2; in xdr_mntdump()
|
/freebsd/sbin/devmatch/ |
H A D | devmatch.c | 251 char val1[256], val2[256]; in search_hints() local 270 getstr(&ptr, val2); in search_hints() 272 printf("Version: if %s.%d kmod %s\n", val1, ival, val2); in search_hints() 276 getstr(&ptr, val2); in search_hints() 279 lastmod = strdup(val2); in search_hints() 281 printf("Module %s in %s\n", val1, val2); in search_hints() 287 getstr(&ptr, val2); in search_hints() 291 val1, val2, ents, lastmod); in search_hints() 308 cp = val2; in search_hints()
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_swapcontext.c | 45 int val1, val2; variable 59 ATF_REQUIRE_EQ(ntls, &val2); in swapfunc() 94 _lwp_setprivate(&val2); in mainfunc()
|
/freebsd/contrib/elftoolchain/libdwarf/ |
H A D | dwarf_pro_expr.c | 33 Dwarf_Unsigned val2, Dwarf_Error *error) in _dwarf_add_expr() argument 41 if (_dwarf_loc_expr_add_atom(dbg, NULL, NULL, opcode, val1, val2, &len, in _dwarf_add_expr() 55 ee->ee_loc.lr_number2 = val2; in _dwarf_add_expr() 150 Dwarf_Unsigned val2, Dwarf_Error *error) in dwarf_add_expr_gen() argument 158 if (_dwarf_add_expr(expr, opcode, val1, val2, error) == NULL) in dwarf_add_expr_gen()
|
/freebsd/usr.sbin/bhyve/amd64/ |
H A D | ps2mouse.c | 182 uint8_t val0, val1, val2; in movement_get() local 209 val2 = 255; in movement_get() 211 val2 = sc->delta_y; in movement_get() 216 val2 = 255; in movement_get() 218 val2 = sc->delta_y; in movement_get() 225 fifo_put(sc, val2); in movement_get()
|
/freebsd/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_swapcontext.c | 50 int val1, val2; variable 111 nself = (void *)&val2; in ATF_TC_BODY()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | bcm_osal.h | 105 #define max_t(type, val1, val2) \ argument 106 ((type)(val1) > (type)(val2) ? (type)(val1) : (val2)) 107 #define min_t(type, val1, val2) \ argument 108 ((type)(val1) < (type)(val2) ? (type)(val1) : (val2))
|
/freebsd/contrib/atf/atf-c/detail/ |
H A D | map_test.c | 126 char val2[] = "V2"; in ATF_TC_BODY() local 131 RE(atf_map_insert(&map, "K2", val2, false)); in ATF_TC_BODY() 164 char val2[] = "V2"; in ATF_TC_BODY() local 169 RE(atf_map_insert(&map, "K2", val2, false)); in ATF_TC_BODY()
|
/freebsd/crypto/openssl/test/recipes/ |
H A D | 25-test_req.t | 44 my $val2 = " " . $val; 52 ok(!run(app([@addext_args, "-addext", $val, "-addext", $val2]))); 54 ok(!run(app([@addext_args, "-addext", $val2, "-addext", $val3])));
|