Home
last modified time | relevance | path

Searched refs:is_true (Results 1 - 21 of 21) sorted by relevance

/third_party/node/deps/v8/src/compiler/
H A Dbranch-elimination.h43 BranchCondition() : condition(nullptr), branch(nullptr), is_true(false) {} in BranchCondition()
44 BranchCondition(Node* condition, Node* branch, bool is_true) in BranchCondition()
45 : condition(condition), branch(branch), is_true(is_true) {} in BranchCondition()
48 bool is_true; member
52 is_true == other.is_true; in operator ==()
69 // copies its {branch} and {is_true} fields.
70 bool LookupCondition(Node* condition, Node** branch, bool* is_true) const;
73 void AddCondition(Zone* zone, Node* condition, Node* branch, bool is_true,
[all...]
H A Dbranch-elimination.cc445 Zone* zone, Node* condition, Node* branch, bool is_true, in AddCondition()
448 BranchCondition branch_condition(condition, branch, is_true); in AddCondition()
463 Zone* zone, Node* condition, Node* branch, bool is_true) { in AddConditionInNewBlock()
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()
444 AddCondition( Zone* zone, Node* condition, Node* branch, bool is_true, ControlPathConditions hint) AddCondition() argument
462 AddConditionInNewBlock( Zone* zone, Node* condition, Node* branch, bool is_true) AddConditionInNewBlock() argument
H A 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/
H A Doptimization_test.cc103 const ImplictlyConvertibleToBool is_true(true); in TEST()
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()
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/
H A Dconstant_time_test.c63 int is_true) in test_binary_op()
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()
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()
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()
61 test_binary_op(unsigned int (*op) (unsigned int a, unsigned int b), const char *op_name, unsigned int a, unsigned int b, int is_true) test_binary_op() argument
72 test_binary_op_8(unsigned char (*op) (unsigned int a, unsigned int b), const char *op_name, unsigned int a, unsigned int b, int is_true) test_binary_op_8() argument
84 test_binary_op_s(size_t (op) size_t a, size_t b), const char *op_name, size_t a, size_t b, int is_true) test_binary_op_s() argument
95 test_binary_op_64(uint64_t (op)uint64_t a, uint64_t b), const char *op_name, uint64_t a, uint64_t b, int is_true) test_binary_op_64() argument
[all...]
/third_party/rust/crates/cxx/gen/cmd/src/
H A 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/spirv-tools/source/fuzz/
H A Dtransformation_add_constant_boolean.cpp28 uint32_t fresh_id, bool is_true, bool is_irrelevant) { in TransformationAddConstantBoolean()
30 message_.set_is_true(is_true); in TransformationAddConstantBoolean()
46 ir_context, message_.is_true() ? SpvOpConstantTrue : SpvOpConstantFalse, in Apply()
27 TransformationAddConstantBoolean( uint32_t fresh_id, bool is_true, bool is_irrelevant) TransformationAddConstantBoolean() argument
H A Dtransformation_add_constant_boolean.h31 TransformationAddConstantBoolean(uint32_t fresh_id, bool is_true,
41 // |message_.fresh_id| if |message_.is_true| holds (does not hold).
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dtransformation_add_constant_boolean.cpp28 uint32_t fresh_id, bool is_true, bool is_irrelevant) { in TransformationAddConstantBoolean()
30 message_.set_is_true(is_true); in TransformationAddConstantBoolean()
46 ir_context, message_.is_true() ? SpvOpConstantTrue : SpvOpConstantFalse, in Apply()
27 TransformationAddConstantBoolean( uint32_t fresh_id, bool is_true, bool is_irrelevant) TransformationAddConstantBoolean() argument
H A Dtransformation_add_constant_boolean.h31 TransformationAddConstantBoolean(uint32_t fresh_id, bool is_true,
41 // |message_.fresh_id| if |message_.is_true| holds (does not hold).
/third_party/spirv-tools/source/fuzz/
H A Dtransformation_add_constant_boolean.cpp28 uint32_t fresh_id, bool is_true, bool is_irrelevant) { in TransformationAddConstantBoolean()
30 message_.set_is_true(is_true); in TransformationAddConstantBoolean()
47 message_.is_true() ? spv::Op::OpConstantTrue : spv::Op::OpConstantFalse, in Apply()
27 TransformationAddConstantBoolean( uint32_t fresh_id, bool is_true, bool is_irrelevant) TransformationAddConstantBoolean() argument
H A Dtransformation_add_constant_boolean.h31 TransformationAddConstantBoolean(uint32_t fresh_id, bool is_true,
41 // |message_.fresh_id| if |message_.is_true| holds (does not hold).
/third_party/python/Modules/
H A D_asynciomodule.c481 int is_true; in future_init() local
515 is_true = PyObject_IsTrue(res); in future_init()
517 if (is_true < 0) { in future_init()
520 if (is_true && !_Py_IsFinalizing()) { in future_init()
1192 int is_true = PyObject_IsTrue(val); in FutureObj_set_blocking() local
1193 if (is_true < 0) { in FutureObj_set_blocking()
1196 fut->fut_blocking = is_true; in FutureObj_set_blocking()
1219 int is_true = PyObject_IsTrue(val); in FutureObj_set_log_traceback() local
1220 if (is_true < 0) { in FutureObj_set_log_traceback()
1223 if (is_true) { in FutureObj_set_log_traceback()
2100 int is_true = PyObject_IsTrue(val); TaskObj_set_log_destroy_pending() local
2214 int is_true; _asyncio_Task_cancel_impl() local
2819 int is_true; task_step_impl() local
2911 int is_true; task_step_impl() local
[all...]
/third_party/cups-filters/filter/
H A 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()
868 * 'is_true()' - Check option value for boolean true
871 static int is_true(const char *value) in is_true() function
/third_party/cups-filters/filter/pdftopdf/
H A 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()
592 // FIXME? pdftopdf also considers if ppdCollate is set (only when cupsGetOption is /not/ given) [and if is_true overrides param.collate=true] -- pstops does not in getParameters()
616 return ((val=cupsGetOption(feature,num_options,options)) != NULL && is_true(val)) || in getParameters()
617 ((attr=ppdFindAttr(ppd,feature,0)) != NULL && is_true(attr->val)); in getParameters()
627 param.evenDuplex=is_true(attr->value); in getParameters()
663 } else if (is_true(va in getParameters()
[all...]
/third_party/node/deps/v8/src/baseline/
H A Dbaseline-compiler.cc1510 [&](Label* is_true, Label::Distance distance) { in VisitTestReferenceEqual()
1513 kInterpreterAccumulatorRegister, is_true, distance); in VisitTestReferenceEqual()
1556 [&](Label* is_true, Label::Distance distance) { in VisitTestNull()
1558 RootIndex::kNullValue, is_true, in VisitTestNull()
1565 [&](Label* is_true, Label::Distance distance) { in VisitTestUndefined()
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, Labe in VisitForInContinue()
[all...]
/third_party/rust/crates/syn/json/src/
H A Dlib.rs93 #[serde(skip_serializing_if = "is_true", default = "bool_true")]
210 fn is_true(b: &bool) -> bool { in is_true() functions
/third_party/python/Lib/test/support/
H A D__init__.py1033 is_true = list(guards.values())[0]
1034 assert list(guards.values()) == [is_true] * len(guards) # all True or all False
1035 return (guards, not is_true)
/third_party/python/Python/
H A Dcompile.c8834 int is_true; in optimize_basic_block() local
8843 is_true = PyObject_IsTrue(cnt); in optimize_basic_block()
8845 if (is_true == -1) { in optimize_basic_block()
8850 if (is_true == jump_if_true) { in optimize_basic_block()
8864 is_true = PyObject_IsTrue(cnt); in optimize_basic_block()
8866 if (is_true == -1) { in optimize_basic_block()
8870 if (is_true == jump_if_true) { in optimize_basic_block()
/third_party/ltp/tools/sparse/sparse-src/
H A 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/python/Objects/
H A Dexceptions.c1043 int is_true = PyObject_IsTrue(exc_matches); in exceptiongroup_split_check_match() local
1045 return is_true; in exceptiongroup_split_check_match()

Completed in 35 milliseconds