Searched refs:maybe_result (Results 1 – 3 of 3) sorted by relevance
62 Maybe<ResourceTable::SearchResult> maybe_result; in TEST() local66 maybe_result = table->FindResource(test::ParseNameOrDie("android:dimen/two")); in TEST()67 ASSERT_TRUE(maybe_result); in TEST()68 EXPECT_EQ(make_value<uint8_t>(2), maybe_result.value().type->id); in TEST()70 maybe_result = in TEST()72 ASSERT_TRUE(maybe_result); in TEST()73 EXPECT_EQ(make_value<uint8_t>(3), maybe_result.value().type->id); in TEST()78 maybe_result = in TEST()80 ASSERT_TRUE(maybe_result); in TEST()81 EXPECT_EQ(make_value<uint8_t>(5), maybe_result.value().type->id); in TEST()[all …]
75 maybe_result = self._inode_table.get((dev_t, ino_t))77 if not maybe_result:80 return maybe_result[0] # filename str
554 if (Maybe<bool> maybe_result = ParseBool(str)) { in TryParseBool() local555 const uint32_t data = maybe_result.value() ? 0xffffffffu : 0u; in TryParseBool()