Home
last modified time | relevance | path

Searched refs:atomic_store (Results 1 – 25 of 62) sorted by relevance

123

/external/oj-libjdwp/src/share/back/
DvmDebug.c41 atomic_store(&lastDebuggerActivity, 0LL); in vmDebug_onDisconnect()
42 atomic_store(&hasSeenDebuggerActivity, JNI_FALSE); in vmDebug_onDisconnect()
49 atomic_store(&lastDebuggerActivity, 0LL); in vmDebug_notifyDebuggerActivityStart()
50 atomic_store(&hasSeenDebuggerActivity, JNI_TRUE); in vmDebug_notifyDebuggerActivityStart()
56 atomic_store(&lastDebuggerActivity, milliTime()); in vmDebug_notifyDebuggerActivityEnd()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_quarantine.h52 atomic_store(&max_size_, size, memory_order_release); in Init()
53 atomic_store(&min_size_, size / 10 * 9, in Init()
148 atomic_store(&c->size_, 0, memory_order_relaxed); in Transfer()
170 atomic_store(&size_, Size() + add, memory_order_relaxed); in SizeAdd()
173 atomic_store(&size_, Size() - sub, memory_order_relaxed); in SizeSub()
Dsanitizer_persistent_allocator.h56 atomic_store(&region_pos, 0, memory_order_relaxed); in alloc()
60 atomic_store(&region_end, mem + allocsz, memory_order_release); in alloc()
61 atomic_store(&region_pos, mem, memory_order_release); in alloc()
Dsanitizer_addrhashmap.h260 atomic_store(&b->add, (uptr)add, memory_order_relaxed); in acquire()
272 atomic_store(&b->add, (uptr)add1, memory_order_relaxed); in acquire()
295 atomic_store(&c->addr, h->addr_, memory_order_release); in release()
300 atomic_store(&c->addr, 0, memory_order_release); in release()
310 atomic_store(&c->addr, addr1, memory_order_release); in release()
311 atomic_store(&c1->addr, 0, memory_order_release); in release()
319 atomic_store(&c1->addr, 0, memory_order_relaxed); in release()
Dsanitizer_linux_libcdep.cc233 atomic_store(&kThreadDescriptorSize, val, memory_order_relaxed); in ThreadDescriptorSize()
241 atomic_store(&kThreadDescriptorSize, val, memory_order_relaxed); in ThreadDescriptorSize()
246 atomic_store(&kThreadDescriptorSize, val, memory_order_relaxed); in ThreadDescriptorSize()
250 atomic_store(&kThreadDescriptorSize, val, memory_order_relaxed); in ThreadDescriptorSize()
254 atomic_store(&kThreadDescriptorSize, val, memory_order_relaxed); in ThreadDescriptorSize()
524 atomic_store(&android_log_initialized, 1, memory_order_release); in AndroidLogInit()
Dsanitizer_mutex.h26 atomic_store(&state_, 0, memory_order_relaxed); in Init()
40 atomic_store(&state_, 0, memory_order_release); in Unlock()
96 atomic_store(&state_, kUnlocked, memory_order_relaxed); in RWMutex()
Dsanitizer_coverage_libcdep.cc61 return atomic_store(&coverage_counter, 0, memory_order_relaxed); in ResetGlobalCounters()
62 return atomic_store(&caller_callee_counter, 0, memory_order_relaxed); in ResetGlobalCounters()
212 atomic_store(&pc_array_index, 0, memory_order_relaxed); in Enable()
214 atomic_store(&pc_array_size, 0, memory_order_relaxed); in Enable()
216 atomic_store(&pc_array_size, kPcArrayMaxSize, memory_order_relaxed); in Enable()
226 atomic_store(&cc_array_size, kCcArrayMaxSize, memory_order_relaxed); in Enable()
227 atomic_store(&cc_array_index, 0, memory_order_relaxed); in Enable()
280 atomic_store(&pc_array_index, 0, memory_order_relaxed); in ReinitializeGuards()
348 atomic_store(&pc_array_size, size, memory_order_release); in Extend()
423 atomic_store(atomic_guard, -guard_value, memory_order_relaxed); in Add()
Dsanitizer_stoptheworld_linux_libcdep.cc246 atomic_store(&inst->arg->done, 1, memory_order_relaxed); in TracerThreadSignalHandler()
304 atomic_store(&tracer_thread_argument->done, 1, memory_order_relaxed); in TracerThread()
378 atomic_store(&tracer_thread_argument.done, 0, memory_order_relaxed); in StopTheWorld()
Dsanitizer_allocator.h218 atomic_store(&stats_[i], v, memory_order_relaxed); in Add()
223 atomic_store(&stats_[i], v, memory_order_relaxed); in Sub()
227 atomic_store(&stats_[i], v, memory_order_relaxed); in Set()
675 atomic_store(&map1_[idx], reinterpret_cast<uptr>(res), in GetOrCreate()
1040 atomic_store(&may_return_null_, may_return_null, memory_order_relaxed); in InitLinkerInitialized()
1098 atomic_store(&may_return_null_, may_return_null, memory_order_release); in SetMayReturnNull()
1295 atomic_store(&may_return_null_, may_return_null, memory_order_relaxed); in InitCommon()
1346 atomic_store(&may_return_null_, may_return_null, memory_order_release); in SetMayReturnNull()
1354 atomic_store(&rss_limit_is_exceeded_, rss_limit_is_exceeded, in SetRssLimitIsExceeded()
Dsanitizer_atomic.h77 atomic_store(a, v, memory_order_relaxed); in atomic_store_relaxed()
Dsanitizer_lfstack.h29 atomic_store(&head_, 0, memory_order_relaxed); in Clear()
Dsanitizer_deadlock_detector2.cc157 atomic_store(&m->owner, 0, memory_order_relaxed); in MutexInit()
291 atomic_store(&m->owner, (uptr)cb->lt, memory_order_relaxed); in MutexAfterLock()
317 atomic_store(&m->owner, 0, memory_order_relaxed); in MutexBeforeUnlock()
/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
Datomic_store.pass.cpp33 std::atomic_store(&t, T(1)); in operator ()()
36 std::atomic_store(&vt, T(2)); in operator ()()
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc225 atomic_store(&p->tid, 0, memory_order_release); in __lsan_thread_start_func()
244 atomic_store(&p.tid, 0, memory_order_relaxed); in INTERCEPTOR()
257 atomic_store(&p.tid, tid, memory_order_release); in INTERCEPTOR()
Dlsan_allocator.cc78 atomic_store(reinterpret_cast<atomic_uint8_t *>(m), 1, memory_order_relaxed); in RegisterAllocation()
85 atomic_store(reinterpret_cast<atomic_uint8_t *>(m), 0, memory_order_relaxed); in RegisterDeallocation()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_fd.cc53 atomic_store(&s->rc, 1, memory_order_relaxed); in allocsync()
123 atomic_store(&fdctx.globsync.rc, (u64)-1, memory_order_relaxed); in FdInit()
124 atomic_store(&fdctx.filesync.rc, (u64)-1, memory_order_relaxed); in FdInit()
125 atomic_store(&fdctx.socksync.rc, (u64)-1, memory_order_relaxed); in FdInit()
Dtsan_interceptors.cc326 atomic_store(&ctx->in_blocking_func, 1, memory_order_relaxed); in BlockingCall()
329 atomic_store(&ctx->in_blocking_func, 0, memory_order_relaxed); in BlockingCall()
342 atomic_store(&ctx->in_blocking_func, 0, memory_order_relaxed); in ~BlockingCall()
503 atomic_store(&sctx->in_blocking_func, buf->in_blocking_func, in LongJmp()
506 atomic_store(&thr->in_signal_handler, buf->in_signal_handler, in LongJmp()
821 atomic_store(g, 1, memory_order_release); in STDCXX_INTERCEPTOR()
826 atomic_store(g, 0, memory_order_relaxed); in STDCXX_INTERCEPTOR()
890 atomic_store(&p->tid, 0, memory_order_release); in __tsan_thread_start_func()
926 atomic_store(&p.tid, 0, memory_order_relaxed); in TSAN_INTERCEPTOR()
946 atomic_store(&p.tid, tid, memory_order_release); in TSAN_INTERCEPTOR()
[all …]
/external/compiler-rt/lib/asan/
Dasan_thread.cc132 atomic_store(&stack_switching_, 1, memory_order_release); in StartSwitchFiber()
157 atomic_store(&stack_switching_, 0, memory_order_release); in FinishSwitchFiber()
219 atomic_store(&stack_switching_, false, memory_order_release); in Init()
238 atomic_store(signal_thread_is_registered, 1, memory_order_release); in ThreadStart()
Dasan_stack.cc23 atomic_store(&malloc_context_size, size, memory_order_release); in SetMallocContextSize()
Dasan_allocator.cc138 atomic_store((atomic_uint8_t*)m, CHUNK_AVAILABLE, memory_order_relaxed); in Recycle()
258 atomic_store(&alloc_dealloc_mismatch, options.alloc_dealloc_mismatch, in SharedInitCode()
260 atomic_store(&min_redzone, options.min_redzone, memory_order_release); in SharedInitCode()
261 atomic_store(&max_redzone, options.max_redzone, memory_order_release); in SharedInitCode()
455 atomic_store((atomic_uint8_t *)m, CHUNK_ALLOCATED, memory_order_release); in Allocate()
/external/compiler-rt/lib/esan/
Desan_sideline_linux.cpp112 atomic_store(&SidelineExit, 0, memory_order_relaxed); in launchThread()
136 atomic_store(&SidelineExit, 1, memory_order_relaxed); in joinThread()
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util_posix.cc386 atomic_store(&impl->event, 0, memory_order_release); in ScopedThreadCallback()
390 atomic_store(&impl->event, 0, memory_order_release); in ScopedThreadCallback()
401 atomic_store(&event, (uintptr_t)e, memory_order_release); in send()
411 atomic_store(&impl_->event, 0, memory_order_relaxed); in ScopedThread()
Dtsan_mutex.cc191 atomic_store(&singleton, (uintptr_t)&val, memory_order_release); in TEST()
212 atomic_store(&flag, 0, memory_order_release); in TEST()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
Datomic_store.pass.cpp37 std::atomic_store(&p, r); in main()
/external/llvm/test/CodeGen/PowerPC/
Datomic-2.ll83 define void @atomic_store(i64* %mem, i64 %val) nounwind {
85 ; CHECK: @atomic_store

123