Searched refs:TrySetValue (Results 1 – 5 of 5) sorted by relevance
/external/v8/test/unittests/ |
D | atomic-utils-unittest.cc | 79 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/ |
D | cancelable-task.h | 80 bool TryRun() { return status_.TrySetValue(kWaiting, kRunning); } in TryRun() 99 if (status_.TrySetValue(kWaiting, kCanceled)) { in Cancel()
|
D | atomic-utils.h | 59 V8_INLINE bool TrySetValue(T old_value, T new_value) { in TrySetValue() function
|
/external/v8/src/heap/ |
D | spaces.h | 473 !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()
|
D | mark-compact.cc | 3298 if (p->parallel_compaction_state().TrySetValue( in EvacuatePages()
|