Searched refs:safe2 (Results 1 – 2 of 2) sorted by relevance
60 SafeRef<WithWeak> safe2 = safe; // Copy. in TEST() local61 EXPECT_EQ(safe2->self->i, 1); // Will crash if not live. in TEST()74 SafeRef<WithWeak> safe2(with2.factory.GetSafeRef()); in TEST() local76 safe = safe2; in TEST()139 SafeRef<WithWeak> safe2 = std::move(safe); in TEST() local141 EXPECT_EQ(safe2->self->i, 1); in TEST()169 SafeRef<WithWeak> safe2(with.factory.GetSafeRef()); in TEST() local170 safe2 = std::move(safe); in TEST()172 EXPECT_EQ(safe2->self->i, 1); in TEST()200 SafeRef<BaseClass> safe2 = std::move(safe); in TEST() local[all …]
34 FX_SAFE_INT32 safe2 = start + length; in MatchFloatRange() local35 if (safe1.IsValid() && safe2.IsValid()) { in MatchFloatRange()37 *i2 = safe2.ValueOrDie(); in MatchFloatRange()