Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Doptimization_test.cc103 const ImplictlyConvertibleToBool is_true(true); in TEST() local
105 if (!ABSL_PREDICT_TRUE(is_true)) ADD_FAILURE(); in TEST()
107 if (!ABSL_PREDICT_FALSE(is_true)) ADD_FAILURE(); in TEST()
121 const ExplictlyConvertibleToBool is_true(true); in TEST() local
123 if (!ABSL_PREDICT_TRUE(is_true)) ADD_FAILURE(); in TEST()
125 if (!ABSL_PREDICT_FALSE(is_true)) ADD_FAILURE(); in TEST()
/third_party/abseil-cpp/absl/base/
Doptimization_test.cc103 const ImplictlyConvertibleToBool is_true(true); in TEST() local
105 if (!ABSL_PREDICT_TRUE(is_true)) ADD_FAILURE(); in TEST()
107 if (!ABSL_PREDICT_FALSE(is_true)) ADD_FAILURE(); in TEST()
121 const ExplictlyConvertibleToBool is_true(true); in TEST() local
123 if (!ABSL_PREDICT_TRUE(is_true)) ADD_FAILURE(); in TEST()
125 if (!ABSL_PREDICT_FALSE(is_true)) ADD_FAILURE(); in TEST()
/third_party/boost/boost/python/
Dobject_operators.hpp63 int is_true = PyObject_IsTrue(x.ptr()); in operator bool_type() local
64 if (is_true < 0) throw_error_already_set(); in operator bool_type()
65 return is_true ? &object::ptr : 0; in operator bool_type()
73 int is_true = PyObject_IsTrue(x.ptr()); in operator !() local
74 if (is_true < 0) throw_error_already_set(); in operator !()
75 return !is_true; in operator !()
/third_party/boost/boost/archive/iterators/
Ddataflow.hpp42 is_true = true, enumerator
48 return is_true == m_state ? true : false; in operator bool()
52 m_state = rhs ? is_true : is_false; in operator =()
56 m_state(rhs ? is_true : is_false) in tri_state()
/third_party/openssl/test/
Dconstant_time_test.c63 int is_true) in test_binary_op() argument
65 if (is_true && !TEST_uint_eq(op(a, b), CONSTTIME_TRUE)) in test_binary_op()
67 if (!is_true && !TEST_uint_eq(op(a, b), CONSTTIME_FALSE)) in test_binary_op()
75 unsigned int b, int is_true) in test_binary_op_8() argument
77 if (is_true && !TEST_uint_eq(op(a, b), CONSTTIME_TRUE_8)) in test_binary_op_8()
79 if (!is_true && !TEST_uint_eq(op(a, b), CONSTTIME_FALSE_8)) in test_binary_op_8()
86 int is_true) in test_binary_op_s() argument
88 if (is_true && !TEST_size_t_eq(op(a,b), CONSTTIME_TRUE_S)) in test_binary_op_s()
90 if (!is_true && !TEST_uint_eq(op(a,b), CONSTTIME_FALSE_S)) in test_binary_op_s()
97 int is_true) in test_binary_op_64() argument
[all …]
/third_party/boost/libs/algorithm/test/
Dcopy_if_test1.cpp31 BOOST_CXX14_CONSTEXPR bool is_true ( int v ) { return true; } in is_true() function
55 ba::copy_if ( c.begin (), c.end (), back_inserter ( v ), is_true); in test_copy_if()
60 ba::copy_if ( c, back_inserter ( v ), is_true); in test_copy_if()
96 ba::copy_while ( c.begin (), c.end (), back_inserter ( v ), is_true); in test_copy_while()
101 ba::copy_while ( c, back_inserter ( v ), is_true); in test_copy_while()
130 ba::copy_until ( c.begin (), c.end (), back_inserter ( v ), is_true); in test_copy_until()
134 ba::copy_until ( c, back_inserter ( v ), is_true); in test_copy_until()
178 out = ba::copy_if ( from, to, out, is_true ); // copy all in constexpr_test_copy_if()
199 out = ba::copy_while ( from, to, out, is_true ).second; // copy all in constexpr_test_copy_while()
217 out = ba::copy_until ( from, to, out, is_true ).second; // copy none in constexpr_test_copy_until()
Dfind_if_not_test1.cpp25 BOOST_CXX14_CONSTEXPR bool is_true ( int v ) { return true; } in is_true() function
39 const int* end = ba::find_if_not(from, to, is_true); // stops on the end in check_constexpr()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_add_constant_boolean.cpp28 uint32_t fresh_id, bool is_true, bool is_irrelevant) { in TransformationAddConstantBoolean() argument
30 message_.set_is_true(is_true); in TransformationAddConstantBoolean()
46 ir_context, message_.is_true() ? SpvOpConstantTrue : SpvOpConstantFalse, in Apply()
Dtransformation_add_constant_boolean.h31 TransformationAddConstantBoolean(uint32_t fresh_id, bool is_true,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_constant_boolean.cpp28 uint32_t fresh_id, bool is_true, bool is_irrelevant) { in TransformationAddConstantBoolean() argument
30 message_.set_is_true(is_true); in TransformationAddConstantBoolean()
46 ir_context, message_.is_true() ? SpvOpConstantTrue : SpvOpConstantFalse, in Apply()
Dtransformation_add_constant_boolean.h31 TransformationAddConstantBoolean(uint32_t fresh_id, bool is_true,
/third_party/python/Modules/
D_asynciomodule.c479 int is_true; in future_init() local
512 is_true = PyObject_IsTrue(res); in future_init()
514 if (is_true < 0) { in future_init()
517 if (is_true && !_Py_IsFinalizing()) { in future_init()
1168 int is_true = PyObject_IsTrue(val); in FutureObj_set_blocking() local
1169 if (is_true < 0) { in FutureObj_set_blocking()
1172 fut->fut_blocking = is_true; in FutureObj_set_blocking()
1195 int is_true = PyObject_IsTrue(val); in FutureObj_set_log_traceback() local
1196 if (is_true < 0) { in FutureObj_set_log_traceback()
1199 if (is_true) { in FutureObj_set_log_traceback()
[all …]
/third_party/boost/boost/spirit/home/support/
Dterminal.hpp178 typedef bool_<true>* is_true; typedef
458 , typename detail::contains_actor<A0>::is_true = 0) const in operator ()()
468 , typename detail::contains_actor<A0, A1>::is_true = 0) const in operator ()()
480 , typename detail::contains_actor<A0, A1, A2>::is_true = 0) const in operator ()()
/third_party/python/Python/
Dpeephole.c313 int is_true = PyObject_IsTrue(cnt); in PyCode_Optimize() local
314 if (is_true == -1) { in PyCode_Optimize()
317 if (is_true == 1) { in PyCode_Optimize()
/third_party/weston/clients/
Dsimple-dmabuf-egl.c1467 is_true(const char* c) in is_true() function
1505 if (is_true(optarg)) in main()
1515 if (!is_true(optarg)) in main()
Dsimple-dmabuf-egl-hos.c1519 is_true(const char* c) in is_true() function
1557 if (is_true(optarg)) in main()
1567 if (!is_true(optarg)) in main()
/third_party/flutter/skia/src/sksl/
DSkSLCFGGenerator.cpp467 static bool is_true(Expression& expr) { in is_true() function
556 if (!is_true(*w.fTest)) { in addStatement()
/third_party/python/Lib/test/support/
D__init__.py1734 is_true = list(guards.values())[0]
1735 assert list(guards.values()) == [is_true] * len(guards) # all True or all False
1736 return (guards, not is_true)
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/protobufs/
Dspvtoolsfuzz.proto633 bool is_true = 2; field
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/protobufs/
Dspvtoolsfuzz.proto633 bool is_true = 2; field