/external/wpa_supplicant_8/src/utils/ |
D | const_time.h | 100 unsigned int true_val, in const_time_select() argument 103 return (mask & true_val) | (~mask & false_val); in const_time_select() 114 static inline int const_time_select_int(unsigned int mask, int true_val, in const_time_select_int() argument 117 return (int) const_time_select(mask, (unsigned int) true_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 144 return (s8) const_time_select(mask, (unsigned int) true_val, in const_time_select_s8() 161 static inline void const_time_select_bin(u8 mask, const u8 *true_val, 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()
|
D | utils_module_tests.c | 979 unsigned int true_val; in const_time_tests() member 996 int true_val; in const_time_tests() member 1011 u8 true_val; in const_time_tests() member 1026 s8 true_val; in const_time_tests() member 1039 u8 *true_val; in const_time_tests() member 1129 if (const_time_select(test->mask, test->true_val, in const_time_tests() 1133 test->mask, test->true_val, test->false_val); in const_time_tests() 1142 if (const_time_select_int(test->mask, test->true_val, in const_time_tests() 1146 test->mask, test->true_val, test->false_val); in const_time_tests() 1155 if (const_time_select_u8(test->mask, test->true_val, in const_time_tests() [all …]
|
/external/epid-sdk/epid/member/tiny/math/unittests/ |
D | vli-test.cc | 179 VeryLargeInt true_val = {{0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, in TEST() local 183 VliCondSet(&result, &true_val, &false_val, 1); in TEST() 184 EXPECT_EQ(true_val, result); in TEST() 188 VeryLargeInt true_val = {{0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, in TEST() local 192 VliCondSet(&result, &true_val, &false_val, 0); in TEST()
|
/external/epid-sdk/epid/member/tiny/math/src/ |
D | efq2.c | 27 EccPointJacobiFq2 const* true_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()
|
D | fq6.c | 182 void Fq6CondSet(Fq6Elem* result, Fq6Elem const* true_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()
|
D | fq2.c | 126 void Fq2CondSet(Fq2Elem* result, Fq2Elem const* true_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()
|
D | fq.c | 85 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()
|
D | efq.c | 344 void EFqCondSet(EccPointJacobiFq* result, EccPointJacobiFq const* true_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()
|
D | fq12.c | 48 static void Fq12CondSet(Fq12Elem* result, Fq12Elem const* true_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()
|
D | vli.c | 126 void VliCondSet(VeryLargeInt* result, VeryLargeInt const* true_val, in VliCondSet() argument 131 (truth_val != 0) * true_val->word[i]; in VliCondSet()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | cond_v2_test.py | 595 true_val = sess.run(cond_grad, {pred: True}) 596 self.assertEqual(true_val, [27.0]) 601 true_val = sess.run(cond_grad_grad, {pred: True}) 603 self.assertEqual(true_val, [18.0]) 635 true_val = sess.run(cond_grad, {pred: True}) 636 self.assertEqual(true_val, [27.0]) 641 true_val = sess.run(cond_grad_grad, {pred: True}) 643 self.assertEqual(true_val, [18.0])
|
/external/epid-sdk/epid/member/tiny/math/ |
D | fq6.h | 127 void Fq6CondSet(Fq6Elem* result, Fq6Elem const* true_val,
|
D | fq.h | 138 void FqCondSet(FqElem* result, FqElem const* true_val, FqElem const* false_val,
|
D | fq2.h | 125 void Fq2CondSet(Fq2Elem* result, Fq2Elem const* true_val,
|
D | vli.h | 95 void VliCondSet(VeryLargeInt* result, VeryLargeInt const* true_val,
|
D | efq.h | 212 void EFqCondSet(EccPointJacobiFq* result, EccPointJacobiFq const* true_val,
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonSelectCCInfo.td | 77 // Convert Rd = selectcc(p0, p1, true_val, false_val, SETEQ) into: 79 // Rd = mux(pt, true_val, false_val)
|
/external/openssh/ |
D | ssh-pkcs11.c | 231 CK_BBOOL true_val = CK_TRUE; in pkcs11_rsa_private_encrypt() local 238 {CKA_SIGN, NULL, sizeof(true_val) } in pkcs11_rsa_private_encrypt() 244 key_filter[2].pValue = &true_val; in pkcs11_rsa_private_encrypt()
|
/external/v8/src/compiler/ |
D | raw-machine-assembler.cc | 98 void RawMachineAssembler::Branch(Node* condition, RawMachineLabel* true_val, in Branch() argument 104 schedule()->AddBranch(CurrentBlock(), branch, Use(true_val), Use(false_val)); in Branch()
|
D | raw-machine-assembler.h | 862 void Branch(Node* condition, RawMachineLabel* true_val,
|
/external/mesa3d/src/compiler/glsl/ |
D | ast_to_hir.cpp | 6274 ir_rvalue *const true_val = new (ctx) ir_constant(true); in hir() local 6278 true_val)); in hir()
|