Home
last modified time | relevance | path

Searched refs:val1 (Results 1 – 25 of 82) sorted by relevance

1234

/freebsd/sys/net80211/
H A Dieee80211_vht.c324 uint32_t val, val1, val2; in ieee80211_setup_vht_rates() local
339 val1 = (vap->iv_vht_cap.supp_mcs.tx_mcs_map >> (i*2)) & 0x3; in ieee80211_setup_vht_rates()
341 val = MIN(val1, val2); in ieee80211_setup_vht_rates()
342 if (val1 == IEEE80211_VHT_MCS_NOT_SUPPORTED || in ieee80211_setup_vht_rates()
400 uint32_t val, val1, val2; in ieee80211_vht_get_vhtcap_ie() local
417 val2 = val1 = _IEEE80211_MASKSHIFT(vap->iv_vht_cap.vht_cap_info, in ieee80211_vht_get_vhtcap_ie()
423 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
427 val2 = val1 = _IEEE80211_MASKSHIFT(vap->iv_vht_cap.vht_cap_info, in ieee80211_vht_get_vhtcap_ie()
439 val = MIN(val1, val2); in ieee80211_vht_get_vhtcap_ie()
444 val2 = val1 = _IEEE80211_MASKSHIFT(vap->iv_vht_cap.vht_cap_info, in ieee80211_vht_get_vhtcap_ie()
[all …]
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest.h1444 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/contrib/bearssl/T0/
H A DCodeElementUIntInt.cs29 uint val1; field in CodeElementUIntInt
32 internal CodeElementUIntInt(uint val1, int val2) : base() in CodeElementUIntInt() argument
34 this.val1 = val1; in CodeElementUIntInt()
49 return (oneByteCode ? 1 : Encode7EUnsigned(val1, null)) in GetLength()
56 ? EncodeOneByte(val1, bw) in Encode()
57 : Encode7EUnsigned(val1, bw); in Encode()
H A DCodeElementUIntUInt.cs29 uint val1, val2; field in CodeElementUIntUInt
31 internal CodeElementUIntUInt(uint val1, uint val2) : base() in CodeElementUIntUInt() argument
33 this.val1 = val1; in CodeElementUIntUInt()
48 return (oneByteCode ? 1 : Encode7EUnsigned(val1, null)) in GetLength()
55 ? EncodeOneByte(val1, bw) in Encode()
56 : Encode7EUnsigned(val1, bw); in Encode()
/freebsd/usr.sbin/pmcstudy/
H A Deval_expr.c67 int val1, op, val2; in validate_expr() local
69 val1 = op = val2 = 0; in validate_expr()
71 val1 = 1; in validate_expr()
82 if (val1 && op && val2 && (open_cnt == 0)) { in validate_expr()
93 if (val1 && op && val2) { in validate_expr()
97 val1 = 1; in validate_expr()
100 } else if ((op == 0) && (val1)) { in validate_expr()
119 if (val1 && (op == 0)) { in validate_expr()
123 if (val1 && op && val2) { in validate_expr()
129 if (val1) { in validate_expr()
[all …]
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_exp2.c26 BIGNUM *val1[TABLE_SIZE], *val2[TABLE_SIZE]; in BN_mod_exp2_mont() local
51 val1[0] = BN_CTX_get(ctx); in BN_mod_exp2_mont()
72 if (!BN_mod(val1[0], a1, m, ctx)) in BN_mod_exp2_mont()
74 a_mod_m = val1[0]; in BN_mod_exp2_mont()
83 if (!BN_to_montgomery(val1[0], a_mod_m, mont, ctx)) in BN_mod_exp2_mont()
86 if (!BN_mod_mul_montgomery(d, val1[0], val1[0], mont, ctx)) in BN_mod_exp2_mont()
91 if (((val1[i] = BN_CTX_get(ctx)) == NULL) || in BN_mod_exp2_mont()
92 !BN_mod_mul_montgomery(val1[i], val1[i - 1], d, mont, ctx)) in BN_mod_exp2_mont()
178 if (!BN_mod_mul_montgomery(r, r, val1[wvalue1 >> 1], mont, ctx)) in BN_mod_exp2_mont()
/freebsd/sys/dev/tws/
H A Dtws_services.h40 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
/freebsd/contrib/googletest/docs/reference/
H A Dassertions.md164 `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/sbin/devmatch/
H A Ddevmatch.c251 char val1[256], val2[256]; in search_hints() local
268 getstr(&ptr, val1); in search_hints()
272 printf("Version: if %s.%d kmod %s\n", val1, ival, val2); in search_hints()
275 getstr(&ptr, val1); in search_hints()
281 printf("Module %s in %s\n", val1, val2); in search_hints()
286 getstr(&ptr, val1); in search_hints()
291 val1, val2, ents, lastmod); in search_hints()
292 if (strcmp(val1, "usb") == 0) { in search_hints()
295 strcpy(val1, "uhub"); in search_hints()
297 if (bus && strcmp(val1, bus) != 0) { in search_hints()
[all …]
/freebsd/lib/libc/rpc/
H A Dnetnamer.c76 char *val1, *val2; in netname2user() local
103 val1 = strchr(netname, '.'); in netname2user()
104 if (val1 == NULL) in netname2user()
106 if (strncmp(netname, OPSYS, (val1-netname))) in netname2user()
108 val1++; in netname2user()
109 val2 = strchr(val1, '@'); in netname2user()
112 vallen = val2 - val1; in netname2user()
115 (void) strncpy(val, val1, 1024); in netname2user()
/freebsd/contrib/capsicum-test/
H A Dshowrights85 val1 = long(m.group('v1'), 16)
86 val1 = (val1 & ~(0x0400000000000000L))
90 (right[1] == 0 or (val1 & right[1]))):
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_swapcontext.c45 int val1, val2; variable
56 ATF_REQUIRE_EQ(ntls, &val1); in swapfunc()
76 _lwp_setprivate(&val1); in mainfunc()
77 printf("before swapcontext TLS pointer = %p\n", &val1); in mainfunc()
/freebsd/crypto/openssl/test/
H A Dv3ext.c45 ASN1_INTEGER *val1 = NULL, *val2 = NULL; in test_asid() local
55 if (!TEST_ptr(val1 = ASN1_INTEGER_new()) in test_asid()
56 || !TEST_true(ASN1_INTEGER_set_int64(val1, 64496))) in test_asid()
59 if (!TEST_true(X509v3_asid_add_id_or_range(asid1, V3_ASID_ASNUM, val1, NULL))) in test_asid()
62 val1 = NULL; in test_asid()
71 if (!TEST_ptr(val1 = ASN1_INTEGER_new()) in test_asid()
72 || !TEST_true(ASN1_INTEGER_set_int64(val1, 64496)) 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()
111 ASN1_INTEGER_free(val1); in test_asid()
[all...]
H A Dcmp_ctx_test.c347 TYPE val1 = val1_to_free; \
358 if ((*set_fn)(NULL, val1) || ERR_peek_error() == 0) { \
376 if (!(*set_fn)(ctx, val1)) { \
387 if (val1_read != val1) { \
392 if (DUP && val1_read == val1) { \
426 if (val2 == val1) { \
629 TYPE val1 = val1_to_free; \
638 if ((*push_fn)(NULL, val1) || ERR_peek_error() == 0) { \
651 if (!(*push_fn)(ctx, val1)) { \
664 if (val1_read != val1) { \
[all …]
/freebsd/sys/dev/ata/
H A Data-sata.c156 uint32_t val, val1; in ata_sata_phy_reset() local
181 val1 = ATA_SC_SPD_SPEED_GEN1; in ata_sata_phy_reset()
183 val1 = ATA_SC_SPD_SPEED_GEN2; in ata_sata_phy_reset()
185 val1 = ATA_SC_SPD_SPEED_GEN3; in ata_sata_phy_reset()
187 val1 = 0; in ata_sata_phy_reset()
191 val1 | ATA_SC_IPM_DIS_PARTIAL | ATA_SC_IPM_DIS_SLUMBER)) in ata_sata_phy_reset()
202 ATA_SC_DET_IDLE | val1 | ((ch->pm_level > 0) ? 0 : in ata_sata_phy_reset()
/freebsd/contrib/elftoolchain/libdwarf/
H A Ddwarf_pro_expr.c32 _dwarf_add_expr(Dwarf_P_Expr expr, Dwarf_Small opcode, Dwarf_Unsigned val1, in _dwarf_add_expr() argument
41 if (_dwarf_loc_expr_add_atom(dbg, NULL, NULL, opcode, val1, val2, &len, in _dwarf_add_expr()
54 ee->ee_loc.lr_number = val1; in _dwarf_add_expr()
149 dwarf_add_expr_gen(Dwarf_P_Expr expr, Dwarf_Small opcode, Dwarf_Unsigned val1, in dwarf_add_expr_gen() argument
158 if (_dwarf_add_expr(expr, opcode, val1, val2, error) == NULL) in dwarf_add_expr_gen()
/freebsd/contrib/netbsd-tests/lib/libc/string/
H A Dt_strcmp.c32 const char* val1; in ATF_TC_BODY() member
81 memcpy(&buf1[a1], tab[t].val1, in ATF_TC_BODY()
82 strlen(tab[t].val1) + 1); in ATF_TC_BODY()
/freebsd/usr.sbin/bhyve/amd64/
H A Dps2mouse.c182 uint8_t val0, val1, val2; in movement_get() local
193 val1 = 255; in movement_get()
195 val1 = sc->delta_x; in movement_get()
200 val1 = 255; in movement_get()
202 val1 = sc->delta_x; in movement_get()
224 fifo_put(sc, val1); in movement_get()
/freebsd/contrib/libucl/tests/basic/
H A D18.res2 key = "val1";
19 key = "val1";
/freebsd/sys/dev/scc/
H A Dscc_dev_quicc.c93 uint16_t val0, val1; in quicc_bfe_enabled() local
99 val1 = quicc_read2(bas, QUICC_REG_SCC_TODR(unit)); in quicc_bfe_enabled()
101 return (((val0 | val1) == 0x8000) ? 1 : 0); in quicc_bfe_enabled()
/freebsd/stand/common/
H A Dmodule.c1333 char val1[256], val2[256]; in devmatch_search_hints() local
1350 getstr(&ptr, val1); in devmatch_search_hints()
1354 printf("Version: if %s.%d kmod %s\n", val1, ival, val2); in devmatch_search_hints()
1357 getstr(&ptr, val1); in devmatch_search_hints()
1363 printf("module %s in %s\n", val1, val1); in devmatch_search_hints()
1368 getstr(&ptr, val1); in devmatch_search_hints()
1373 val1, val2, ents, lastmod); in devmatch_search_hints()
1374 if (strcmp(val1, "usb") == 0) { in devmatch_search_hints()
1377 strcpy(val1, "uhub"); in devmatch_search_hints()
1379 if (bus && strcmp(val1, bus) != 0) { in devmatch_search_hints()
[all …]
/freebsd/contrib/netbsd-tests/lib/libpthread/
H A Dt_swapcontext.c50 int val1, val2; variable
110 oself = (void *)&val1; in ATF_TC_BODY()
/freebsd/crypto/openssl/test/recipes/
H A D25-test_req.t43 my $val1 = "subjectAltName=otherName:1.2.3.4;UTF8:test,email:info\@example.com";
48 ok( run(app([@addext_args, "-addext", $val1])));
49 $val1 =~ s/UTF8/XXXX/; # execute the error handling in do_othername
50 ok(!run(app([@addext_args, "-addext", $val1])));
/freebsd/sys/amd64/pci/
H A Dpci_cfgreg.c258 uint32_t val1, val2; in pcie_init_badslots() local
269 val1 = pcireg_cfgread(0, slot, 0, 0, 4); in pcie_init_badslots()
270 if (val1 == 0xffffffff) in pcie_init_badslots()
274 if (val2 != val1) in pcie_init_badslots()
/freebsd/sys/dev/ixl/
H A Di40e_hmc.h131 u32 val1, val2, val3; \
132 val1 = (u32)(I40E_HI_DWORD(pa)); \
139 wr32((hw), I40E_PFHMC_SDDATAHIGH, val1); \

1234