Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/compiler/
Dbranch-elimination.h43 BranchCondition() : condition(nullptr), branch(nullptr), is_true(false) {} in NON_EXPORTED_BASE()
44 BranchCondition(Node* condition, Node* branch, bool is_true) in NON_EXPORTED_BASE()
45 : condition(condition), branch(branch), is_true(is_true) {} in NON_EXPORTED_BASE()
48 bool is_true; in NON_EXPORTED_BASE() member
52 is_true == other.is_true; in NON_EXPORTED_BASE()
70 bool LookupCondition(Node* condition, Node** branch, bool* is_true) const; in NON_EXPORTED_BASE()
73 void AddCondition(Zone* zone, Node* condition, Node* branch, bool is_true, in NON_EXPORTED_BASE()
77 bool is_true); in NON_EXPORTED_BASE()
Dbranch-elimination.cc445 Zone* zone, Node* condition, Node* branch, bool is_true, in AddCondition() argument
448 BranchCondition branch_condition(condition, branch, is_true); in AddCondition()
463 Zone* zone, Node* condition, Node* branch, bool is_true) { in AddConditionInNewBlock() argument
466 BranchCondition branch_condition(condition, branch, is_true); in AddConditionInNewBlock()
480 Node* condition, Node** branch, bool* is_true) const { in LookupCondition()
483 *is_true = element.is_true; in LookupCondition()
Djs-graph.h63 Node* BooleanConstant(bool is_true) { in BooleanConstant() argument
64 return is_true ? TrueConstant() : FalseConstant(); in BooleanConstant()
/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/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/rust/crates/cxx/gen/cmd/src/
Dcfg.rs44 let (mut is_false, mut is_true) = (false, false); in eval()
47 is_true = set.contains(&CfgValue::TRUE); in eval()
49 if is_false && is_true { in eval()
54 } else if is_true { in eval()
/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/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/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.c480 int is_true; in future_init() local
513 is_true = PyObject_IsTrue(res); in future_init()
515 if (is_true < 0) { in future_init()
518 if (is_true && !_Py_IsFinalizing()) { in future_init()
1170 int is_true = PyObject_IsTrue(val); in FutureObj_set_blocking() local
1171 if (is_true < 0) { in FutureObj_set_blocking()
1174 fut->fut_blocking = is_true; in FutureObj_set_blocking()
1197 int is_true = PyObject_IsTrue(val); in FutureObj_set_log_traceback() local
1198 if (is_true < 0) { in FutureObj_set_log_traceback()
1201 if (is_true) { in FutureObj_set_log_traceback()
[all …]
/third_party/cups-filters/filter/
Dtexttotext.c56 static int is_true(const char *value);
446 if (is_true(val)) in main()
461 if (is_true(val)) in main()
533 if (is_true(val)) in main()
871 static int is_true(const char *value) in is_true() function
/third_party/cups-filters/filter/pdftopdf/
Dpdftopdf.cc113 static bool is_true(const char *value) // {{{ in is_true() function
179 if (is_true(cupsGetOption("Collate",num_options,options))) { in optGetCollate()
467 } else if (is_true(cupsGetOption("Duplex",num_options,options))) { in getParameters()
559 param.mirror=is_true(val); in getParameters()
569 } else if (is_true(val)) { in getParameters()
627 param.evenDuplex=is_true(attr->value); in getParameters()
663 } else if (is_true(val)) { in getParameters()
802 (is_true(choice->choice))) { in printerWillCollate()
/third_party/node/deps/v8/src/baseline/
Dbaseline-compiler.cc1510 [&](Label* is_true, Label::Distance distance) { in VisitTestReferenceEqual() argument
1513 kInterpreterAccumulatorRegister, is_true, distance); in VisitTestReferenceEqual()
1556 [&](Label* is_true, Label::Distance distance) { in VisitTestNull() argument
1558 RootIndex::kNullValue, is_true, in VisitTestNull()
1565 [&](Label* is_true, Label::Distance distance) { in VisitTestUndefined() argument
1567 RootIndex::kUndefinedValue, is_true, in VisitTestUndefined()
1628 Label is_true, is_false; in VisitTestTypeOf() local
1630 &is_true, Label::kNear); in VisitTestTypeOf()
1637 __ Bind(&is_true); in VisitTestTypeOf()
2121 [&](Label* is_true, Label::Distance distance) { in VisitForInContinue() argument
[all …]
/third_party/rust/crates/syn/json/src/
Dlib.rs210 fn is_true(b: &bool) -> bool { in is_true() function
/third_party/python/Lib/test/support/
D__init__.py922 is_true = list(guards.values())[0]
923 assert list(guards.values()) == [is_true] * len(guards) # all True or all False
924 return (guards, not is_true)
/third_party/python/Python/
Dcompile.c7319 int is_true; in optimize_basic_block() local
7325 is_true = PyObject_IsTrue(cnt); in optimize_basic_block()
7326 if (is_true == -1) { in optimize_basic_block()
7331 if (is_true == jump_if_true) { in optimize_basic_block()
7342 is_true = PyObject_IsTrue(cnt); in optimize_basic_block()
7343 if (is_true == -1) { in optimize_basic_block()
7347 if (is_true == jump_if_true) { in optimize_basic_block()
/third_party/ltp/tools/sparse/sparse-src/
Devaluate.c1172 int is_true = expr_truth_value(expr->conditional); in evaluate_conditional_expression() local
1173 struct expression *arg = is_true ? *cond : expr->cond_false; in evaluate_conditional_expression()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/protobufs/
Dspvtoolsfuzz.proto633 bool is_true = 2; field
/third_party/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