Searched refs:maybe_result (Results 1 – 2 of 2) sorted by relevance
60 std::optional<ResourceTable::SearchResult> maybe_result; in TEST_F() local64 maybe_result = table->FindResource(test::ParseNameOrDie("android:dimen/two")); in TEST_F()65 ASSERT_TRUE(maybe_result); in TEST_F()66 EXPECT_EQ(0x01020000, maybe_result.value().entry->id); in TEST_F()68 maybe_result = in TEST_F()70 ASSERT_TRUE(maybe_result); in TEST_F()71 EXPECT_EQ(0x01030000, maybe_result.value().entry->id); in TEST_F()76 maybe_result = in TEST_F()78 ASSERT_TRUE(maybe_result); in TEST_F()79 EXPECT_EQ(0x01050000, maybe_result.value().entry->id); in TEST_F()[all …]
546 if (std::optional<bool> maybe_result = ParseBool(str)) { in TryParseBool() local547 const uint32_t data = maybe_result.value() ? 0xffffffffu : 0u; in TryParseBool()