Home
last modified time | relevance | path

Searched refs:uCompare (Results 1 – 10 of 10) sorted by relevance

/external/fastrpc/src/
Dcae.c33 uint32 atomic_CompareAndExchange(uint32 * volatile puDest, uint32 uExchange, uint32 uCompare) { in atomic_CompareAndExchange() argument
35 return (uint32)InterlockedCompareExchange((LONG*)puDest, (LONG)uExchange, (LONG)uCompare); in atomic_CompareAndExchange()
37 …atomic_CompareAndExchangeUP(uintptr_t * volatile puDest, uintptr_t uExchange, uintptr_t uCompare) { in atomic_CompareAndExchangeUP() argument
39 …rn (uintptr_t)InterlockedCompareExchangePointer((void**)puDest, (void*)uExchange, (void*)uCompare); in atomic_CompareAndExchangeUP()
71 uint32 atomic_CompareAndExchange(uint32 * volatile puDest, uint32 uExchange, uint32 uCompare) { in atomic_CompareAndExchange() argument
72 return (uint32)qurt_atomic_compare_val_and_set((unsigned int*)puDest, uCompare, uExchange); in atomic_CompareAndExchange()
74 …atomic_CompareAndExchangeUP(uintptr_t * volatile puDest, uintptr_t uExchange, uintptr_t uCompare) { in atomic_CompareAndExchangeUP() argument
76 return (uint32)atomic_CompareAndExchange((uint32*)puDest, (uint32)uExchange, (uint32)uCompare); in atomic_CompareAndExchangeUP()
79 uint32 atomic_CompareAndExchange(uint32 * volatile puDest, uint32 uExchange, uint32 uCompare) { in atomic_CompareAndExchange() argument
80 return __sync_val_compare_and_swap(puDest, uCompare, uExchange); in atomic_CompareAndExchange()
[all …]
Dplatform_libs.c40 static uint32 atomic_IfNotThenAdd(uint32* volatile puDest, uint32 uCompare, int nAdd);
104 static uint32 atomic_IfNotThenAdd(uint32* volatile puDest, uint32 uCompare, int nAdd) in atomic_IfNotThenAdd() argument
113 if(uCurr != uCompare) { in atomic_IfNotThenAdd()
Datomic.c51 uint32 atomic_CompareOrAdd(uint32* volatile puDest, uint32 uCompare, int nAdd) { in atomic_CompareOrAdd() argument
59 if(current != uCompare) { in atomic_CompareOrAdd()
Dadsp_default_listener_stub.c458 …tener_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare);
462 …ener_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare) { in _adsp_default_listener_atomic_CompareAndExchange() argument
463 …turn (uint32_t)InterlockedCompareExchange((volatile LONG*)puDest, (LONG)uExchange, (LONG)uCompare); in _adsp_default_listener_atomic_CompareAndExchange()
466 …ener_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare) { in _adsp_default_listener_atomic_CompareAndExchange() argument
467 return __sync_val_compare_and_swap(puDest, uCompare, uExchange); in _adsp_default_listener_atomic_CompareAndExchange()
Dadspmsgd_adsp_stub.c508 …_adsp_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare);
512 …adsp_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare) { in _adspmsgd_adsp_atomic_CompareAndExchange() argument
513 …turn (uint32_t)InterlockedCompareExchange((volatile LONG*)puDest, (LONG)uExchange, (LONG)uCompare); in _adspmsgd_adsp_atomic_CompareAndExchange()
516 …adsp_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare) { in _adspmsgd_adsp_atomic_CompareAndExchange() argument
517 return __sync_val_compare_and_swap(puDest, uCompare, uExchange); in _adspmsgd_adsp_atomic_CompareAndExchange()
Dadsp_perf_stub.c509 …_perf_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare);
513 …perf_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare) { in _adsp_perf_atomic_CompareAndExchange() argument
514 …turn (uint32_t)InterlockedCompareExchange((volatile LONG*)puDest, (LONG)uExchange, (LONG)uCompare); in _adsp_perf_atomic_CompareAndExchange()
517 …perf_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare) { in _adsp_perf_atomic_CompareAndExchange() argument
518 return __sync_val_compare_and_swap(puDest, uCompare, uExchange); in _adsp_perf_atomic_CompareAndExchange()
Dremotectl_stub.c510 …tectl_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare);
514 …ectl_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare) { in _remotectl_atomic_CompareAndExchange() argument
515 …turn (uint32_t)InterlockedCompareExchange((volatile LONG*)puDest, (LONG)uExchange, (LONG)uCompare); in _remotectl_atomic_CompareAndExchange()
518 …ectl_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare) { in _remotectl_atomic_CompareAndExchange() argument
519 return __sync_val_compare_and_swap(puDest, uCompare, uExchange); in _remotectl_atomic_CompareAndExchange()
Dadsp_current_process_stub.c511 …ocess_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare);
515 …cess_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare) { in _adsp_current_process_atomic_CompareAndExchange() argument
516 …turn (uint32_t)InterlockedCompareExchange((volatile LONG*)puDest, (LONG)uExchange, (LONG)uCompare); in _adsp_current_process_atomic_CompareAndExchange()
519 …cess_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare) { in _adsp_current_process_atomic_CompareAndExchange() argument
520 return __sync_val_compare_and_swap(puDest, uCompare, uExchange); in _adsp_current_process_atomic_CompareAndExchange()
Dadsp_listener_stub.c463 …tener_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare);
467 …ener_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare) { in _adsp_listener_atomic_CompareAndExchange() argument
468 …turn (uint32_t)InterlockedCompareExchange((volatile LONG*)puDest, (LONG)uExchange, (LONG)uCompare); in _adsp_listener_atomic_CompareAndExchange()
471 …ener_atomic_CompareAndExchange(uint32_t * volatile puDest, uint32_t uExchange, uint32_t uCompare) { in _adsp_listener_atomic_CompareAndExchange() argument
472 return __sync_val_compare_and_swap(puDest, uCompare, uExchange); in _adsp_listener_atomic_CompareAndExchange()
/external/fastrpc/inc/
DAEEatomic.h52 uint32 atomic_CompareAndExchange(uint32 * volatile puDest, uint32 uExchange, uint32 uCompare);
53 uint32 atomic_CompareOrAdd(uint32 * volatile puDest, uint32 uCompare, int nAdd);
55 uint64 atomic_CompareAndExchange64(uint64 * volatile puDest, uint64 uExchange, uint64 uCompare);
56 … atomic_CompareAndExchangeUP(uintptr_t * volatile puDest, uintptr_t uExchange, uintptr_t uCompare);