Home
last modified time | relevance | path

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

/external/cronet/base/memory/
Dsafe_ref_unittest.cc60 SafeRef<WithWeak> safe2 = safe; // Copy. in TEST() local
61 EXPECT_EQ(safe2->self->i, 1); // Will crash if not live. in TEST()
74 SafeRef<WithWeak> safe2(with2.factory.GetSafeRef()); in TEST() local
76 safe = safe2; in TEST()
139 SafeRef<WithWeak> safe2 = std::move(safe); in TEST() local
141 EXPECT_EQ(safe2->self->i, 1); in TEST()
169 SafeRef<WithWeak> safe2(with.factory.GetSafeRef()); in TEST() local
170 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 …]
/external/pdfium/core/fxcrt/
Dfx_coordinates.cpp34 FX_SAFE_INT32 safe2 = start + length; in MatchFloatRange() local
35 if (safe1.IsValid() && safe2.IsValid()) { in MatchFloatRange()
37 *i2 = safe2.ValueOrDie(); in MatchFloatRange()