Home
last modified time | relevance | path

Searched refs:false_val (Results 1 – 20 of 20) sorted by relevance

/external/wpa_supplicant_8/src/utils/
Dconst_time.h101 unsigned int false_val) in const_time_select() argument
103 return (mask & true_val) | (~mask & false_val); in const_time_select()
115 int false_val) in const_time_select_int() argument
118 (unsigned int) false_val); in const_time_select_int()
129 static inline u8 const_time_select_u8(u8 mask, u8 true_val, u8 false_val) in const_time_select_u8() argument
131 return (u8) const_time_select(mask, true_val, false_val); in const_time_select_u8()
142 static inline s8 const_time_select_s8(u8 mask, s8 true_val, s8 false_val) in const_time_select_s8() argument
145 (unsigned int) false_val); in const_time_select_s8()
162 const u8 *false_val, size_t len, in const_time_select_bin() argument
168 dst[i] = const_time_select_u8(mask, true_val[i], false_val[i]); in const_time_select_bin()
Dutils_module_tests.c980 unsigned int false_val; in const_time_tests() member
997 int false_val; in const_time_tests() member
1012 u8 false_val; in const_time_tests() member
1027 s8 false_val; in const_time_tests() member
1040 u8 *false_val; in const_time_tests() member
1130 test->false_val) != test->expected) { in const_time_tests()
1133 test->mask, test->true_val, test->false_val); in const_time_tests()
1143 test->false_val) != test->expected) { in const_time_tests()
1146 test->mask, test->true_val, test->false_val); in const_time_tests()
1156 test->false_val) != test->expected) { in const_time_tests()
[all …]
/external/epid-sdk/epid/member/tiny/math/unittests/
Dvli-test.cc181 VeryLargeInt false_val = {{0xaaaaaaaa, 0xaaaaaaaa, 0xaaaaaaaa, 0xaaaaaaaa, in TEST() local
183 VliCondSet(&result, &true_val, &false_val, 1); in TEST()
190 VeryLargeInt false_val = {{0xaaaaaaaa, 0xaaaaaaaa, 0xaaaaaaaa, 0xaaaaaaaa, in TEST() local
192 VliCondSet(&result, &true_val, &false_val, 0); in TEST()
193 EXPECT_EQ(false_val, result); in TEST()
/external/epid-sdk/epid/member/tiny/math/src/
Defq2.c28 EccPointJacobiFq2 const* false_val, int truth_val) { in EFq2CondSet() argument
29 Fq2CondSet(&result->X, &true_val->X, &false_val->X, truth_val); in EFq2CondSet()
30 Fq2CondSet(&result->Y, &true_val->Y, &false_val->Y, truth_val); in EFq2CondSet()
31 Fq2CondSet(&result->Z, &true_val->Z, &false_val->Z, truth_val); in EFq2CondSet()
Dfq6.c183 Fq6Elem const* false_val, int truth_val) { in Fq6CondSet() argument
184 Fq2CondSet(&result->y0, &true_val->y0, &false_val->y0, truth_val); in Fq6CondSet()
185 Fq2CondSet(&result->y1, &true_val->y1, &false_val->y1, truth_val); in Fq6CondSet()
186 Fq2CondSet(&result->y2, &true_val->y2, &false_val->y2, truth_val); in Fq6CondSet()
Dfq2.c127 Fq2Elem const* false_val, int truth_val) { in Fq2CondSet() argument
128 FqCondSet(&(result->x0), &(true_val->x0), &(false_val->x0), truth_val); in Fq2CondSet()
129 FqCondSet(&(result->x1), &(true_val->x1), &(false_val->x1), truth_val); in Fq2CondSet()
Dfq.c85 void FqCondSet(FqElem* result, FqElem const* true_val, FqElem const* false_val, in FqCondSet() argument
87 VliCondSet(&result->limbs, &true_val->limbs, &false_val->limbs, truth_val); in FqCondSet()
Defq.c345 EccPointJacobiFq const* false_val, int truth_val) { in EFqCondSet() argument
346 FqCondSet(&result->X, &true_val->X, &false_val->X, truth_val); in EFqCondSet()
347 FqCondSet(&result->Y, &true_val->Y, &false_val->Y, truth_val); in EFqCondSet()
348 FqCondSet(&result->Z, &true_val->Z, &false_val->Z, truth_val); in EFqCondSet()
Dfq12.c49 Fq12Elem const* false_val, int truth_val) { in Fq12CondSet() argument
50 Fq6CondSet(&result->z0, &true_val->z0, &false_val->z0, truth_val); in Fq12CondSet()
51 Fq6CondSet(&result->z1, &true_val->z1, &false_val->z1, truth_val); in Fq12CondSet()
Dvli.c127 VeryLargeInt const* false_val, int truth_val) { in VliCondSet() argument
130 result->word[i] = (!truth_val) * false_val->word[i] + in VliCondSet()
/external/tensorflow/tensorflow/python/kernel_tests/
Dcond_v2_test.py598 false_val = sess.run(cond_grad, {pred: False})
599 self.assertEqual(false_val, [1.0])
604 false_val = sess.run(cond_grad_grad, {pred: False})
606 self.assertEqual(false_val, [0.0])
638 false_val = sess.run(cond_grad, {pred: False})
639 self.assertEqual(false_val, [1.0])
644 false_val = sess.run(cond_grad_grad, {pred: False})
646 self.assertEqual(false_val, [0.0])
/external/epid-sdk/epid/member/tiny/math/
Dfq6.h128 Fq6Elem const* false_val, int truth_val);
Dfq.h138 void FqCondSet(FqElem* result, FqElem const* true_val, FqElem const* false_val,
Dfq2.h126 Fq2Elem const* false_val, int truth_val);
Dvli.h96 VeryLargeInt const* false_val, int truth_val);
Defq.h213 EccPointJacobiFq const* false_val, int truth_val);
/external/llvm/lib/Target/Hexagon/
DHexagonSelectCCInfo.td77 // Convert Rd = selectcc(p0, p1, true_val, false_val, SETEQ) into:
79 // Rd = mux(pt, true_val, false_val)
/external/v8/src/compiler/
Draw-machine-assembler.cc99 RawMachineLabel* false_val) { in Branch() argument
104 schedule()->AddBranch(CurrentBlock(), branch, Use(true_val), Use(false_val)); in Branch()
Draw-machine-assembler.h863 RawMachineLabel* false_val);
/external/mesa3d/src/compiler/glsl/
Dast_to_hir.cpp6449 ir_rvalue *const false_val = new (ctx) ir_constant(false); in hir() local
6453 false_val)); in hir()