Home
last modified time | relevance | path

Searched refs:mutexInt (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
H A Dlock_parser_test.cpp81 auto mutexInt = reinterpret_cast<int*>(&mutex); in LockMutex() local
85 printf("mutex owner after lock:%d\n", mutexInt[LOCK_OWNER_IDX]); in LockMutex()
110 auto mutexInt = reinterpret_cast<int*>(&mutex); variable
142 int lockOwner = mutexInt[LOCK_OWNER_IDX] & LOCK_OWNER_MASK;
145 ASSERT_EQ(PTHREAD_MUTEX_ERRORCHECK, mutexInt[LOCK_TYPE_IDX]);
164 auto mutexInt = reinterpret_cast<int*>(&mutex); variable
196 int lockOwner = mutexInt[LOCK_OWNER_IDX] & LOCK_OWNER_MASK;
199 ASSERT_EQ(PTHREAD_MUTEX_NORMAL, mutexInt[LOCK_TYPE_IDX]);
326 auto mutexInt = reinterpret_cast<int*>(&mutex); variable
327 int lockOwner = mutexInt[LOCK_OWNER_IDX] & LOCK_OWNER_MASK;
[all …]
/ohos5.0/base/hiviewdfx/faultloggerd/tools/crasher_cpp/
H A Ddfx_crasher.cpp185 auto mutexInt = reinterpret_cast<int*>(&mutex); in TestDeadlock() local
187 printf("mutex owner before lock:%d\n", mutexInt[lockOnwerIdx] & lockOwnerMask); in TestDeadlock()
189 printf("mutex owner after lock:%d\n", mutexInt[lockOnwerIdx] & lockOwnerMask); in TestDeadlock()