Home
last modified time | relevance | path

Searched refs:load (Results 1 – 25 of 195) sorted by relevance

12345678

/system/chre/platform/include/chre/platform/
Datomic.h55 return load();
63 bool load() const;
112 return load(); in uint32_t()
120 uint32_t load() const;
/system/security/keystore2/selinux/src/
Dconcurrency_test.rs94 match turnpike_clone.load(Ordering::Relaxed) { in test_concurrent_check_access()
117 while complete_count_clone.load(Ordering::Relaxed) as usize != cpus { in test_concurrent_check_access()
132 while turnpike.load(Ordering::Relaxed) as usize != cpus { in test_concurrent_check_access()
139 turnpike.load(Ordering::Relaxed) in test_concurrent_check_access()
149 assert_eq!(turnpike.load(Ordering::Relaxed) as usize, cpus, "i = {}", i); in test_concurrent_check_access()
162 while complete_count.load(Ordering::Relaxed) as usize != cpus { in test_concurrent_check_access()
180 complete_count.load(Ordering::Relaxed) in test_concurrent_check_access()
/system/chre/platform/linux/include/chre/target_platform/
Datomic_base_impl.h32 inline bool AtomicBool::load() const { in load() function
33 return mAtomic.load(); in load()
52 inline uint32_t AtomicUint32::load() const { in load() function
53 return mAtomic.load(); in load()
/system/libhwbinder/
DBinder.cpp93 Extras* e = mExtras.load(std::memory_order_acquire); in isRequestingSid()
99 Extras* e = mExtras.load(std::memory_order_acquire); in setRequestingSid()
167 Extras* e = mExtras.load(std::memory_order_acquire); in findObject()
176 Extras* e = mExtras.load(std::memory_order_acquire); in detachObject()
190 Extras* e = mExtras.load(std::memory_order_relaxed); in ~BHwBinder()
204 Extras* e = mExtras.load(std::memory_order_acquire); in getOrCreateExtras()
241 if (!(mState.load(std::memory_order_relaxed)&kRemoteAcquired)) { in ~BpHwRefBase()
/system/chre/util/include/chre/util/system/
Datomic_spsc_queue.h97 return (mTail.load() > UINT32_MAX - kCapacity); in nearingOverflow()
105 uint32_t head = mHead.load(); in size()
106 uint32_t tail = mTail.load(); in size()
175 uint32_t tail = mQueue.mTail.load(); in nextStorage()
176 if (tail != 0 && tail == mQueue.mHead.load()) { in nextStorage()
227 return mQueue.data()[mQueue.mHead.load() % kCapacity]; in front()
230 return mQueue.data()[mQueue.mHead.load() % kCapacity]; in front()
/system/chre/host/hal_generic/aidl/
Devent_logger.cc108 for (const NanoappLoad &load : mNanoappLoads) { in dump() local
114 formatLocalTime(load.timestampMs).c_str(), load.id, in dump()
115 load.version, load.sizeBytes, in dump()
116 load.success ? "ok" : "fail") > 0) { in dump()
/system/core/libutils/
DRefBase.cpp267 addRef(&mStrongRefs, id, mStrong.load(std::memory_order_relaxed)); in addStrongRef()
276 addRef(&mStrongRefs, id, -mStrong.load(std::memory_order_relaxed)); in removeStrongRef()
288 addRef(&mWeakRefs, id, mWeak.load(std::memory_order_relaxed)); in addWeakRef()
295 addRef(&mWeakRefs, id, -mWeak.load(std::memory_order_relaxed)); in removeWeakRef()
501 int32_t flags = refs->mFlags.load(std::memory_order_relaxed); in decStrong()
549 return mRefs->mStrong.load(std::memory_order_relaxed); in getStrongCount()
585 int32_t flags = impl->mFlags.load(std::memory_order_relaxed); in decWeak()
591 if (impl->mStrong.load(std::memory_order_relaxed) in decWeak()
619 int32_t curCount = impl->mStrong.load(std::memory_order_relaxed); in attemptIncStrong()
639 int32_t flags = impl->mFlags.load(std::memory_order_relaxed); in attemptIncStrong()
[all …]
/system/unwinding/libunwindstack/benchmarks/
Dthread_unwind_benchmarks.cpp33 while (!done->load()) { in ThreadCall6()
65 while (tid.load() == 0) { in BM_thread_unwind()
74 unwinder.UnwindWithSignal(SIGRTMIN, tid.load()); in BM_thread_unwind()
/system/unwinding/libunwindstack/tests/
DUnwindTest.cpp355 if (tid.load() != 0) { in TEST_F()
360 ASSERT_NE(0, tid.load()); in TEST_F()
361 ASSERT_EQ(0, tgkill(getpid(), tid.load(), SIGUSR1)) << "Error: " << strerror(errno); in TEST_F()
366 ucontext = reinterpret_cast<void*>(g_ucontext.load()); in TEST_F()
477 while (tid.load() == 0) { in TEST_F()
498 while (tid.load() == 0) { in TEST_F()
526 while (tid.load() == 0) { in TEST_F()
578 while (!start_unwinding.load()) { in CreateUnwindThread()
605 while (g_waiters.load() != 1) { in TEST_F()
619 while (unwinders.load() != kNumThreads) { in TEST_F()
[all …]
/system/chre/platform/tinysys/include/chre/target_platform/
Datomic_base_impl.h33 inline bool AtomicBool::load() const { in load() function
54 inline uint32_t AtomicUint32::load() const { in load() function
/system/chre/platform/arm/include/chre/target_platform/
Datomic_base_impl.h33 inline bool AtomicBool::load() const { in load() function
54 inline uint32_t AtomicUint32::load() const { in load() function
/system/chre/platform/zephyr/include/chre/target_platform/
Datomic_base_impl.h34 inline bool AtomicBool::load() const { in load() function
54 inline uint32_t AtomicUint32::load() const { in load() function
/system/chre/platform/slpi/include/chre/target_platform/
Datomic_base_impl.h39 inline bool AtomicBool::load() const { in load() function
62 inline uint32_t AtomicUint32::load() const { in load() function
/system/media/audio_utils/
DMelProcessor.cpp277 mDeviceId.load()); in addMelValue_l()
339 mCurrentSamples.load()); in process()
367 mDeviceId.load()); in onLastStrongRef()
393 mRbReadPtr.load(), in run()
394 mRbWritePtr.load()); in run()
469 size_t curIdx = mRbWritePtr.load(); in ringBufferIsFull()
479 expected = idx.load(); in incRingBufferIndex()
/system/extras/simpleperf/
DRecordReadThread.cpp39 size_t write_head = write_head_.load(std::memory_order_relaxed); in GetFreeSize()
40 size_t read_head = read_head_.load(std::memory_order_relaxed); in GetFreeSize()
49 size_t write_head = write_head_.load(std::memory_order_relaxed); in AllocWriteSpace()
50 size_t read_head = read_head_.load(std::memory_order_acquire); in AllocWriteSpace()
74 size_t write_head = write_head_.load(std::memory_order_relaxed); in FinishWrite()
80 size_t write_head = write_head_.load(std::memory_order_acquire); in GetCurrentRecord()
81 size_t read_head = read_head_.load(std::memory_order_relaxed); in GetCurrentRecord()
102 size_t read_head = read_head_.load(std::memory_order_relaxed); in MoveToNextRecord()
662 if (!has_data_notification_.load(std::memory_order_relaxed)) { in SendDataNotificationToMainThread()
/system/unwinding/libunwindstack/
DMapInfo.cpp341 uint64_t cur_load_bias = load_bias().load(); in GetLoadBias()
376 ElfFields* elf_fields = elf_fields_.load(); in ~MapInfo()
378 delete elf_fields->build_id_.load(); in ~MapInfo()
401 SharedString* id = build_id().load(); in GetBuildID()
440 ElfFields* elf_fields = elf_fields_.load(std::memory_order_acquire); in GetElfFields()
/system/chre/host/common/
Dst_hal_lpma_handler.cc93 if (load()) { in loadAndStart()
191 bool StHalLpmaHandler::load() { in load() function in android::chre::StHalLpmaHandler
243 bool StHalLpmaHandler::load() { in load() function in android::chre::StHalLpmaHandler
/system/extras/perf2cfg/
Dpylintrc4 load-plugins=pylint.extensions.docparams
/system/extras/simpleperf/scripts/test/
Dgecko_profile_generator_test.py43 want = json.load(f)
57 want = json.load(f)
/system/apex/apexer/
Dconv_apex_manifest.py42 obj = json.load(f, object_pairs_hook=collections.OrderedDict)
57 obj = json.load(f, object_pairs_hook=collections.OrderedDict)
/system/sepolicy/prebuilts/api/29.0/public/
Dvendor_misc_writer.te10 # load DT fstab.
/system/sepolicy/prebuilts/api/30.0/public/
Dvendor_misc_writer.te10 # load DT fstab.
/system/security/keystore2/src/
Dwatchdog.rs348 assert_eq!(0, hit_count.load(atomic::Ordering::Relaxed)); in test_watchdog()
350 assert_eq!(1, hit_count.load(atomic::Ordering::Relaxed)); in test_watchdog()
352 assert_eq!(2, hit_count.load(atomic::Ordering::Relaxed)); in test_watchdog()
355 assert_eq!(2, hit_count.load(atomic::Ordering::Relaxed)); in test_watchdog()
/system/sepolicy/prebuilts/api/32.0/public/
Dvendor_misc_writer.te10 # load DT fstab.
/system/sepolicy/prebuilts/api/31.0/public/
Dvendor_misc_writer.te10 # load DT fstab.

12345678