Home
last modified time | relevance | path

Searched refs:ToBoolean (Results 1 – 25 of 45) sorted by relevance

12

/external/llvm-project/lldb/unittests/Interpreter/
DTestOptionArgParser.cpp17 OptionArgParser::ToBoolean(llvm::StringRef("true"), false, nullptr)); in TEST()
19 OptionArgParser::ToBoolean(llvm::StringRef("on"), false, nullptr)); in TEST()
21 OptionArgParser::ToBoolean(llvm::StringRef("yes"), false, nullptr)); in TEST()
22 EXPECT_TRUE(OptionArgParser::ToBoolean(llvm::StringRef("1"), false, nullptr)); in TEST()
25 OptionArgParser::ToBoolean(llvm::StringRef("true"), false, &success)); in TEST()
28 OptionArgParser::ToBoolean(llvm::StringRef("on"), false, &success)); in TEST()
31 OptionArgParser::ToBoolean(llvm::StringRef("yes"), false, &success)); in TEST()
34 OptionArgParser::ToBoolean(llvm::StringRef("1"), false, &success)); in TEST()
38 OptionArgParser::ToBoolean(llvm::StringRef("false"), true, nullptr)); in TEST()
40 OptionArgParser::ToBoolean(llvm::StringRef("off"), true, nullptr)); in TEST()
[all …]
/external/pdfium/fxjs/
Dcfx_v8_unittest.cpp42 EXPECT_FALSE(cfx_v8()->ToBoolean(empty)); in TEST_F()
70 EXPECT_FALSE(cfx_v8()->ToBoolean(nullz)); in TEST_F()
85 EXPECT_FALSE(cfx_v8()->ToBoolean(undef)); in TEST_F()
100 EXPECT_TRUE(cfx_v8()->ToBoolean(boolz)); in TEST_F()
109 EXPECT_FALSE(cfx_v8()->ToBoolean(boolz)); in TEST_F()
124 EXPECT_TRUE(cfx_v8()->ToBoolean(num)); in TEST_F()
139 EXPECT_TRUE(cfx_v8()->ToBoolean(str)); in TEST_F()
148 EXPECT_TRUE(cfx_v8()->ToBoolean(str2)); in TEST_F()
163 EXPECT_TRUE(cfx_v8()->ToBoolean(date)); in TEST_F()
190 EXPECT_TRUE(cfx_v8()->ToBoolean(array)); in TEST_F()
[all …]
Dcjs_document.cpp162 pRuntime->ToBoolean(vp) ? m_pFormFillEnv->SetChangeMark() in set_dirty()
320 bUI = pRuntime->ToBoolean(newParams[0]); in mailDoc()
370 bUI = pRuntime->ToBoolean(newParams[0]); in mailForm()
409 bUI = pRuntime->ToBoolean(newParams[0]); in print()
421 bSilent = pRuntime->ToBoolean(newParams[3]); in print()
425 bShrinkToFit = pRuntime->ToBoolean(newParams[4]); in print()
429 bPrintAsImage = pRuntime->ToBoolean(newParams[5]); in print()
433 bReverse = pRuntime->ToBoolean(newParams[6]); in print()
437 bAnnotations = pRuntime->ToBoolean(newParams[7]); in print()
580 bFDF = pRuntime->ToBoolean(params[1]); in submitForm()
[all …]
Dcjs_app.cpp113 m_bCalculate = pRuntime->ToBoolean(vp); in set_calculate()
429 bool bUI = pRuntime->ToBoolean(newParams[0]); in mailMsg()
474 m_bRuntimeHighLight = pRuntime->ToBoolean(vp); in set_runtime_highlight()
538 bPassword = pRuntime->ToBoolean(newParams[3]); in response()
Dcjs_annot.cpp57 bool bHidden = pRuntime->ToBoolean(vp); in set_hidden()
Dcfx_v8.h36 bool ToBoolean(v8::Local<v8::Value> pValue);
Dcjs_global.cpp281 pRuntime->ToBoolean(vp), ByteString(), in SetProperty()
314 it->second->bPersistent = pRuntime->ToBoolean(params[1]); in setPersistent()
432 pObjElement->dData = pRuntime->ToBoolean(v); in ObjectToArray()
Dcjs_publicmethods.cpp604 bool bCurrencyPrepend = pRuntime->ToBoolean(params[5]); in AFNumber_Format()
796 bool bPercentPrepend = params.size() > 2 && pRuntime->ToBoolean(params[2]); in AFPercent_Format()
1391 bool bGreaterThan = pRuntime->ToBoolean(params[0]); in AFRange_Validate()
1393 bool bLessThan = pRuntime->ToBoolean(params[2]); in AFRange_Validate()
Dcfx_v8.cpp149 bool CFX_V8::ToBoolean(v8::Local<v8::Value> pValue) { in ToBoolean() function in CFX_V8
/external/pdfium/core/fpdfapi/parser/
Dcpdf_boolean.h41 inline CPDF_Boolean* ToBoolean(CPDF_Object* obj) { in ToBoolean() function
45 inline const CPDF_Boolean* ToBoolean(const CPDF_Object* obj) { in ToBoolean() function
Dcpdf_array.cpp131 return ToBoolean(p) ? p->GetInteger() != 0 : bDefault; in GetBooleanAt()
/external/pdfium/fxjs/xfa/
Dcjx_hostpseudomodel.cpp103 pValue->ToBoolean()); in calculationsEnabled()
199 hDoc->GetDocEnvironment()->SetValidationsEnabled(hDoc, pValue->ToBoolean()); in validationsEnabled()
529 if (runtime->ToBoolean(params[0])) in print()
531 if (runtime->ToBoolean(params[3])) in print()
533 if (runtime->ToBoolean(params[4])) in print()
535 if (runtime->ToBoolean(params[5])) in print()
537 if (runtime->ToBoolean(params[6])) in print()
539 if (runtime->ToBoolean(params[7])) in print()
575 XDP = runtime->ToBoolean(params[1]); in exportData()
Dcjx_node.cpp184 CXFA_Node* pCloneNode = GetXFANode()->Clone(runtime->ToBoolean(params[0])); in clone()
243 bool bParent = params.size() < 2 || runtime->ToBoolean(params[1]); in isPropertySpecified()
266 bIgnoreRoot = runtime->ToBoolean(params[1]); in loadXML()
270 bOverwrite = runtime->ToBoolean(params[2]); in loadXML()
Dcfxjse_value.h36 bool ToBoolean() const;
Dcjx_instancemanager.cpp230 fFlags = runtime->ToBoolean(params[0]); in addInstance()
272 bBind = runtime->ToBoolean(params[1]); in insertInstance()
Dcfxjse_formcalc_context_embeddertest.cpp142 EXPECT_EQ(tests[i].result, value->ToBoolean()) in TEST_F()
843 EXPECT_FALSE(value->ToBoolean()); in TEST_F()
859 EXPECT_EQ(tests[i].result, value->ToBoolean()) in TEST_F()
884 EXPECT_EQ(tests[i].result, value->ToBoolean()) in TEST_F()
904 EXPECT_EQ(tests[i].result, value->ToBoolean()) in TEST_F()
1657 EXPECT_FALSE(value->ToBoolean());
Dcjx_eventpseudomodel.cpp39 *bValue = pReturn->ToBoolean(); in BooleanProperty()
/external/llvm-project/lldb/source/Commands/
DCommandObjectExpression.cpp70 result = OptionArgParser::ToBoolean(option_arg, true, &success); in SetOptionValue()
81 bool tmp_value = OptionArgParser::ToBoolean(option_arg, true, &success); in SetOptionValue()
93 bool tmp_value = OptionArgParser::ToBoolean(option_arg, true, &success); in SetOptionValue()
113 bool tmp_value = OptionArgParser::ToBoolean(option_arg, true, &success); in SetOptionValue()
149 bool tmp_value = OptionArgParser::ToBoolean(option_arg, true, &success); in SetOptionValue()
DCommandObjectBreakpoint.cpp84 value = OptionArgParser::ToBoolean(option_arg, false, &success); in SetOptionValue()
102 value = OptionArgParser::ToBoolean(option_arg, false, &success); in SetOptionValue()
330 m_catch_bp = OptionArgParser::ToBoolean(option_arg, true, &success); in SetOptionValue()
344 value = OptionArgParser::ToBoolean(option_arg, true, &success); in SetOptionValue()
373 value = OptionArgParser::ToBoolean(option_arg, true, &success); in SetOptionValue()
437 m_throw_bp = OptionArgParser::ToBoolean(option_arg, true, &success); in SetOptionValue()
1656 value = OptionArgParser::ToBoolean(option_arg, false, &success); in SetOptionValue()
1666 value = OptionArgParser::ToBoolean(option_arg, false, &success); in SetOptionValue()
1676 value = OptionArgParser::ToBoolean(option_arg, false, &success); in SetOptionValue()
/external/llvm-project/lldb/source/Interpreter/
DOptionGroupValueObjectDisplay.cpp141 use_synth = OptionArgParser::ToBoolean(option_arg, true, &success); in SetOptionValue()
148 run_validator = OptionArgParser::ToBoolean(option_arg, true, &success); in SetOptionValue()
DOptionValueBoolean.cpp45 bool value = OptionArgParser::ToBoolean(value_str, false, &success); in SetValueFromString()
DOptionArgParser.cpp18 bool OptionArgParser::ToBoolean(llvm::StringRef ref, bool fail_value, in ToBoolean() function in OptionArgParser
DProperty.cpp57 std::make_shared<OptionValueBoolean>(OptionArgParser::ToBoolean( in Property()
/external/llvm-project/lldb/include/lldb/Interpreter/
DOptionArgParser.h21 static bool ToBoolean(llvm::StringRef s, bool fail_value, bool *success_ptr);
/external/llvm-project/lldb/source/Plugins/StructuredData/DarwinLog/
DStructuredDataDarwinLog.cpp518 OptionArgParser::ToBoolean(option_arg, true, nullptr); in SetOptionValue()
534 m_echo_to_stderr = OptionArgParser::ToBoolean(option_arg, false, nullptr); in SetOptionValue()
545 m_live_stream = OptionArgParser::ToBoolean(option_arg, false, nullptr); in SetOptionValue()
550 OptionArgParser::ToBoolean(option_arg, true, nullptr); in SetOptionValue()

12