/external/llvm-project/lldb/unittests/Interpreter/ |
D | TestOptionArgParser.cpp | 17 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/ |
D | cfx_v8_unittest.cpp | 42 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 …]
|
D | cjs_document.cpp | 162 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 …]
|
D | cjs_app.cpp | 113 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()
|
D | cjs_annot.cpp | 57 bool bHidden = pRuntime->ToBoolean(vp); in set_hidden()
|
D | cfx_v8.h | 36 bool ToBoolean(v8::Local<v8::Value> pValue);
|
D | cjs_global.cpp | 281 pRuntime->ToBoolean(vp), ByteString(), in SetProperty() 314 it->second->bPersistent = pRuntime->ToBoolean(params[1]); in setPersistent() 432 pObjElement->dData = pRuntime->ToBoolean(v); in ObjectToArray()
|
D | cjs_publicmethods.cpp | 604 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()
|
D | cfx_v8.cpp | 149 bool CFX_V8::ToBoolean(v8::Local<v8::Value> pValue) { in ToBoolean() function in CFX_V8
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_boolean.h | 41 inline CPDF_Boolean* ToBoolean(CPDF_Object* obj) { in ToBoolean() function 45 inline const CPDF_Boolean* ToBoolean(const CPDF_Object* obj) { in ToBoolean() function
|
D | cpdf_array.cpp | 131 return ToBoolean(p) ? p->GetInteger() != 0 : bDefault; in GetBooleanAt()
|
/external/pdfium/fxjs/xfa/ |
D | cjx_hostpseudomodel.cpp | 103 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()
|
D | cjx_node.cpp | 184 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()
|
D | cfxjse_value.h | 36 bool ToBoolean() const;
|
D | cjx_instancemanager.cpp | 230 fFlags = runtime->ToBoolean(params[0]); in addInstance() 272 bBind = runtime->ToBoolean(params[1]); in insertInstance()
|
D | cfxjse_formcalc_context_embeddertest.cpp | 142 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());
|
D | cjx_eventpseudomodel.cpp | 39 *bValue = pReturn->ToBoolean(); in BooleanProperty()
|
/external/llvm-project/lldb/source/Commands/ |
D | CommandObjectExpression.cpp | 70 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()
|
D | CommandObjectBreakpoint.cpp | 84 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/ |
D | OptionGroupValueObjectDisplay.cpp | 141 use_synth = OptionArgParser::ToBoolean(option_arg, true, &success); in SetOptionValue() 148 run_validator = OptionArgParser::ToBoolean(option_arg, true, &success); in SetOptionValue()
|
D | OptionValueBoolean.cpp | 45 bool value = OptionArgParser::ToBoolean(value_str, false, &success); in SetValueFromString()
|
D | OptionArgParser.cpp | 18 bool OptionArgParser::ToBoolean(llvm::StringRef ref, bool fail_value, in ToBoolean() function in OptionArgParser
|
D | Property.cpp | 57 std::make_shared<OptionValueBoolean>(OptionArgParser::ToBoolean( in Property()
|
/external/llvm-project/lldb/include/lldb/Interpreter/ |
D | OptionArgParser.h | 21 static bool ToBoolean(llvm::StringRef s, bool fail_value, bool *success_ptr);
|
/external/llvm-project/lldb/source/Plugins/StructuredData/DarwinLog/ |
D | StructuredDataDarwinLog.cpp | 518 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()
|