Home
last modified time | relevance | path

Searched refs:maybe_found (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_array_unittest.cpp200 absl::optional<size_t> maybe_found = arr->Find(nullptr); in TEST() local
201 EXPECT_FALSE(maybe_found.has_value()); in TEST()
203 maybe_found = arr->Find(dict0.Get()); in TEST()
204 ASSERT_TRUE(maybe_found.has_value()); in TEST()
205 EXPECT_EQ(0u, maybe_found.value()); in TEST()
207 maybe_found = arr->Find(dict1.Get()); in TEST()
208 ASSERT_TRUE(maybe_found.has_value()); in TEST()
209 EXPECT_EQ(1u, maybe_found.value()); in TEST()
211 maybe_found = arr->Find(dict2.Get()); in TEST()
212 EXPECT_FALSE(maybe_found.has_value()); in TEST()
/external/pdfium/core/fpdfdoc/
Dcpdf_interactiveform.cpp691 absl::optional<size_t> maybe_found = pArray->Find(pField->GetFieldDict()); in FindFieldInCalculationOrder() local
692 if (!maybe_found.has_value()) in FindFieldInCalculationOrder()
695 return pdfium::base::checked_cast<int>(maybe_found.value()); in FindFieldInCalculationOrder()