Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/source/test/intltest/
Dtsmthred.cpp302 static int safeIncr(int &var, int amt) { in safeIncr() function
320 safeIncr(gThreadsStarted, 1); in run()
323 safeIncr(gThreadsInMiddle, 1); in run()
326 safeIncr(gThreadsDone, 1); in run()
357 while (safeIncr(gThreadsStarted, 0) != TESTMUTEX_THREAD_COUNT) { in TestMutex()
375 while (safeIncr(gThreadsInMiddle, 0) != TESTMUTEX_THREAD_COUNT) { in TestMutex()
388 while (safeIncr(gThreadsDone, 0) != TESTMUTEX_THREAD_COUNT) { in TestMutex()
/external/icu4c/test/intltest/
Dtsmthred.cpp458 static int safeIncr(int &var, int amt) { in safeIncr() function
476 safeIncr(gThreadsStarted, 1); in run()
479 safeIncr(gThreadsInMiddle, 1); in run()
482 safeIncr(gThreadsDone, 1); in run()
513 while (safeIncr(gThreadsStarted, 0) != TESTMUTEX_THREAD_COUNT) { in TestMutex()
531 while (safeIncr(gThreadsInMiddle, 0) != TESTMUTEX_THREAD_COUNT) { in TestMutex()
544 while (safeIncr(gThreadsDone, 0) != TESTMUTEX_THREAD_COUNT) { in TestMutex()