Home
last modified time | relevance | path

Searched refs:mRef (Results 1 – 12 of 12) sorted by relevance

/hardware/qcom/gps/msm8998/utils/
DLocSharedLock.h43 volatile int32_t mRef; variable
48 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock()
50 inline LocSharedLock* share() { android_atomic_inc(&mRef); return this; } in share()
52 inline void drop() { if (1 == android_atomic_dec(&mRef)) delete this; } in drop()
/hardware/qcom/sdm845/gps/msm8996/utils/
DLocSharedLock.h43 volatile int32_t mRef; variable
48 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock()
50 inline LocSharedLock* share() { android_atomic_inc(&mRef); return this; } in share()
52 inline void drop() { if (1 == android_atomic_dec(&mRef)) delete this; } in drop()
/hardware/qcom/sdm845/gps/msm8998/utils/
DLocSharedLock.h43 volatile int32_t mRef; variable
48 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock()
50 inline LocSharedLock* share() { android_atomic_inc(&mRef); return this; } in share()
52 inline void drop() { if (1 == android_atomic_dec(&mRef)) delete this; } in drop()
/hardware/qcom/sdm845/gps/sdm845/utils/
DLocSharedLock.h43 volatile int32_t mRef; variable
48 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock()
50 inline LocSharedLock* share() { android_atomic_inc(&mRef); return this; } in share()
52 inline void drop() { if (1 == android_atomic_dec(&mRef)) delete this; } in drop()
/hardware/qcom/sdm845/gps/msm8909/utils/
DLocSharedLock.h43 volatile int32_t mRef; variable
48 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock()
50 inline LocSharedLock* share() { android_atomic_inc(&mRef); return this; } in share()
52 inline void drop() { if (1 == android_atomic_dec(&mRef)) delete this; } in drop()
/hardware/qcom/gps/msm8909w_3100/utils/
DLocSharedLock.h43 volatile int32_t mRef; variable
48 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock()
50 inline LocSharedLock* share() { android_atomic_inc(&mRef); return this; } in share()
52 inline void drop() { if (1 == android_atomic_dec(&mRef)) delete this; } in drop()
/hardware/qcom/gps/msm8996/utils/
DLocSharedLock.h43 volatile int32_t mRef; variable
48 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock()
50 inline LocSharedLock* share() { android_atomic_inc(&mRef); return this; } in share()
52 inline void drop() { if (1 == android_atomic_dec(&mRef)) delete this; } in drop()
/hardware/qcom/gps/msm8909/utils/
DLocSharedLock.h43 volatile int32_t mRef; variable
48 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock()
50 inline LocSharedLock* share() { android_atomic_inc(&mRef); return this; } in share()
52 inline void drop() { if (1 == android_atomic_dec(&mRef)) delete this; } in drop()
/hardware/qcom/sm8150p/gps/utils/
DLocSharedLock.h61 volatile int32_t mRef; variable
66 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock()
68 inline LocSharedLock* share() { android_atomic_inc(&mRef); return this; } in share()
70 inline void drop() { if (1 == android_atomic_dec(&mRef)) delete this; } in drop()
/hardware/qcom/sm8150/gps/utils/
DLocSharedLock.h63 volatile int32_t mRef; variable
68 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock()
70 inline LocSharedLock* share() { android_atomic_inc(&mRef); return this; } in share()
72 inline void drop() { if (1 == android_atomic_dec(&mRef)) delete this; } in drop()
/hardware/qcom/sm7250/gps/utils/
DLocSharedLock.h63 volatile int32_t mRef; variable
68 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock()
70 inline LocSharedLock* share() { android_atomic_inc(&mRef); return this; } in share()
72 inline void drop() { if (1 == android_atomic_dec(&mRef)) delete this; } in drop()
/hardware/qcom/sm7150/gps/utils/
DLocSharedLock.h61 volatile int32_t mRef; variable
66 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock()
68 inline LocSharedLock* share() { android_atomic_inc(&mRef); return this; } in share()
70 inline void drop() { if (1 == android_atomic_dec(&mRef)) delete this; } in drop()