Home
last modified time | relevance | path

Searched refs:TrySetValue (Results 1 – 5 of 5) sorted by relevance

/external/v8/test/unittests/
Datomic-utils-unittest.cc79 TEST(AtomicValue, TrySetValue) { in TEST() argument
81 EXPECT_FALSE(a.TrySetValue(kB, kC)); in TEST()
82 EXPECT_TRUE(a.TrySetValue(kA, kC)); in TEST()
100 EXPECT_FALSE(a.TrySetValue(nullptr, &dummy)); in TEST()
101 EXPECT_TRUE(a.TrySetValue(&a, &dummy)); in TEST()
/external/v8/src/
Dcancelable-task.h80 bool TryRun() { return status_.TrySetValue(kWaiting, kRunning); } in TryRun()
99 if (status_.TrySetValue(kWaiting, kCanceled)) { in Cancel()
Datomic-utils.h59 V8_INLINE bool TrySetValue(T old_value, T new_value) { in TrySetValue() function
/external/v8/src/heap/
Dspaces.h473 !chunk->high_water_mark_.TrySetValue(old_mark, new_mark)); in UpdateHighWaterMark()
1389 } while ((low < ptr) && !lowest_ever_allocated_.TrySetValue(ptr, low)); in UpdateAllocatedSpaceLimits()
1392 } while ((high > ptr) && !highest_ever_allocated_.TrySetValue(ptr, high)); in UpdateAllocatedSpaceLimits()
Dmark-compact.cc3298 if (p->parallel_compaction_state().TrySetValue( in EvacuatePages()