Home
last modified time | relevance | path

Searched refs:true_val (Results 1 – 8 of 8) sorted by relevance

/external/wpa_supplicant_8/src/utils/
Dconst_time.h100 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()
Dutils_module_tests.c980 unsigned int true_val; in const_time_tests() member
997 int true_val; in const_time_tests() member
1012 u8 true_val; in const_time_tests() member
1027 s8 true_val; in const_time_tests() member
1040 u8 *true_val; in const_time_tests() member
1130 if (const_time_select(test->mask, test->true_val, in const_time_tests()
1134 test->mask, test->true_val, test->false_val); in const_time_tests()
1143 if (const_time_select_int(test->mask, test->true_val, in const_time_tests()
1147 test->mask, test->true_val, test->false_val); in const_time_tests()
1156 if (const_time_select_u8(test->mask, test->true_val, in const_time_tests()
[all …]
/external/tensorflow/tensorflow/python/autograph/operators/
Dconditional_expressions.py37 true_val = []
41 true_val.append(if_true())
42 if true_val and false_val:
43 control_flow.verify_single_cond_var(expr_repr, true_val[0], false_val[0])
44 return true_val[0]
48 if true_val and false_val:
49 control_flow.verify_single_cond_var(expr_repr, true_val[0], false_val[0])
/external/openssh/
Dssh-pkcs11.c353 CK_BBOOL true_val; in pkcs11_get_key() local
385 true_val = CK_TRUE; in pkcs11_get_key()
387 key_filter[2].pValue = &true_val; in pkcs11_get_key()
388 key_filter[2].ulValueLen = sizeof(true_val); in pkcs11_get_key()
1313 CK_BBOOL true_val = CK_TRUE, false_val = CK_FALSE; in pkcs11_rsa_generate_private_key() local
1327 FILL_ATTR(tpub, npub, CKA_TOKEN, &true_val, sizeof(true_val)); in pkcs11_rsa_generate_private_key()
1330 FILL_ATTR(tpub, npub, CKA_VERIFY, &true_val, sizeof(true_val)); in pkcs11_rsa_generate_private_key()
1340 FILL_ATTR(tpriv, npriv, CKA_TOKEN, &true_val, sizeof(true_val)); in pkcs11_rsa_generate_private_key()
1342 FILL_ATTR(tpriv, npriv, CKA_PRIVATE, &true_val, sizeof(true_val)); in pkcs11_rsa_generate_private_key()
1343 FILL_ATTR(tpriv, npriv, CKA_SENSITIVE, &true_val, sizeof(true_val)); in pkcs11_rsa_generate_private_key()
[all …]
/external/llvm-project/mlir/test/Dialect/SCF/
Dbufferize.mlir17 func @if(%pred: i1, %true_val: tensor<?xf32>, %false_val: tensor<?xf32>) -> tensor<?xf32> {
19 scf.yield %true_val : tensor<?xf32>
/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/tensorflow/tensorflow/python/kernel_tests/
Dcond_v2_test.py682 true_val = sess.run(cond_grad, {pred: True})
683 self.assertEqual(true_val, [27.0])
688 true_val = sess.run(cond_grad_grad, {pred: True})
690 self.assertEqual(true_val, [18.0])
722 true_val = sess.run(cond_grad, {pred: True})
723 self.assertEqual(true_val, [27.0])
728 true_val = sess.run(cond_grad_grad, {pred: True})
730 self.assertEqual(true_val, [18.0])
/external/mesa3d/src/compiler/glsl/
Dast_to_hir.cpp6509 ir_rvalue *const true_val = new (ctx) ir_constant(true); in hir() local
6513 true_val)); in hir()