Home
last modified time | relevance | path

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

/system/chre/apps/nearby/third_party/nanopb/
Dpb.h405 #define pb_delta(st, m1, m2) ((int)offsetof(st, m1) - (int)offsetof(st, m2)) argument
412 #define PB_DATAOFFSET_FIRST(st, m1, m2) (offsetof(st, m1)) argument
414 #define PB_DATAOFFSET_OTHER(st, m1, m2) \ argument
415 (offsetof(st, m1) - offsetof(st, m2) - pb_membersize(st, m2))
417 #define PB_DATAOFFSET_UNION(st, m1, m2) (PB_SIZE_MAX) argument
420 #define PB_DATAOFFSET_CHOOSE(st, m1, m2) \ argument
421 (int)(offsetof(st, m1) == offsetof(st, m2) \
422 ? PB_DATAOFFSET_FIRST(st, m1, m2) \
423 : PB_DATAOFFSET_OTHER(st, m1, m2))
/system/media/audio_utils/tests/
Daudio_mutex_tests.cpp415 Mutex m1{priority_inheritance, (android::audio_utils::AudioMutexAttributes::order_t)1}; in TEST_P() local
420 ASSERT_DEATH(m1.lock(), ".*mutex order.*"); in TEST_P()
436 Mutex m1{priority_inheritance, (android::audio_utils::AudioMutexAttributes::order_t)1}; in TEST_P() local
437 ASSERT_DEATH(m1.unlock(), ".*mutex unlock.*"); in TEST_P()
446 Mutex m{priority_inheritance}, m1{priority_inheritance}; in TEST_P() local
454 UniqueLock ul1(m1); in TEST_P()
471 const bool success = m1.try_lock(kTimeoutNs); in TEST_P()
475 if (success) m1.unlock(); in TEST_P()
493 const bool success = m1.try_lock(kTimeoutNs); in TEST_P()
497 if (success) m1.unlock(); in TEST_P()
[all …]
/system/media/audio_utils/include/audio_utils/
Dmutex.h1822 scoped_lock(Mutex1& m1, Mutex2& m2) ACQUIRE(m1, m2) in scoped_lock() argument
1823 : std::scoped_lock<Mutex1, Mutex2>(m1, m2) {} in scoped_lock()
1831 scoped_lock(Mutex1& m1, Mutex2& m2, Mutex3& m3) ACQUIRE(m1, m2, m3) in scoped_lock() argument
1832 : std::scoped_lock<Mutex1, Mutex2, Mutex3>(m1, m2, m3) {} in scoped_lock()
/system/core/fastboot/
Dfastboot_driver.cpp179 std::string m1(sm[1]); in Partitions() local
182 partitions->push_back(std::make_tuple(m1, tmp)); in Partitions()
/system/tools/aidl/
Dgenerate_java_binder.cpp1139 [](const AidlMethod* m1, const AidlMethod* m2) { in ComputeOutlineMethods() argument
1140 return m1->GetArguments().size() < m2->GetArguments().size(); in ComputeOutlineMethods()