Lines Matching refs:nValue
142 double nValue = 0.0; in getSeconds() local
145 nValue = double(m_nNanoSec) / 1000000000.0 + m_nSeconds; // milli micro nano in getSeconds()
147 return nValue; in getSeconds()
152 double nValue = 0.0; in getTenthSec() local
155 nValue = double(m_nNanoSec) / 100000000.0 + m_nSeconds * 10; in getTenthSec()
157 return nValue ; in getTenthSec()
564 sal_Int32 nValue = newthread->getValue(); in TEST_F() local
569 printf(" nValue = %d\n", nValue); in TEST_F()
572 ASSERT_TRUE(nValue >= 1 && isRunning == sal_True) << "Creates a new thread"; in TEST_F()
620 sal_Int32 nValue = newthread->getValue(); in TEST_F() local
627 ASSERT_TRUE(nValue == 0 && isRunning) << "Creates a new suspended thread"; in TEST_F()
650 sal_Int32 nValue = 0; in suspendCountThread() local
653 nValue = _pCountThread->getValue(); in suspendCountThread()
654 if (nValue >= 3) in suspendCountThread()
692 sal_Int32 nValue = aCountThread->getValue(); // (2) in TEST_F() local
703 ASSERT_TRUE(bRes == sal_True && nValue == nLaterValue) << "Suspend the thread"; in TEST_F()
716 sal_Int32 nValue = 0; in TEST_F()
720 nValue = aThread->getValue(); // (1) in TEST_F()
721 printf(" getValue is %d !", nValue ); in TEST_F()
722 if (nValue >= 2) in TEST_F()
730 nValue = aThread->getValue(); // (2) in TEST_F()
742 ASSERT_TRUE(bRes == sal_True && nValue == nLaterValue) << "Suspend the thread"; in TEST_F()
811 sal_Int32 nValue = newthread->getValue(); in TEST_F() local
816 printf(" nValue = %d\n", nValue); in TEST_F()
818 ASSERT_TRUE(nValue >= 1) << "Creates a suspended thread, then resume"; in TEST_F()
848 sal_Int32 nValue = aCountThread->getValue(); in TEST_F() local
858 printf(" nValue = %d\n", nValue); in TEST_F()
861 ASSERT_TRUE(isRunning == sal_False && nLaterValue >= nValue) << "Terminate the thread"; in TEST_F()
873 sal_Int32 nValue = aCountThread->getValue(); in TEST_F() local
884 printf(" nValue = %d\n", nValue); in TEST_F()
887 ASSERT_TRUE(nLaterValue > nValue) << "Suspend then resume the thread"; in TEST_F()
1657 sal_Int32 nValue = aCountThread->getValue(); in TEST_F() local
1667 printf("nValue = %d \n", nValue); in TEST_F()
1669 …ASSERT_TRUE(nTenthSec >= 5 && nValue == 1) << "Wait: Blocks the calling thread for the given numbe… in TEST_F()
1759 sal_Int32 nValue = aThread->getValue(); in TEST_F() local
1763 printf(" value = %d\n", nValue); in TEST_F()
1767 ASSERT_TRUE(nLaterValue == nValue) << "Schedule: suspend works."; in TEST_F()
1800 sal_Int32 nValue = aThread.getValue(); in TEST_F() local
1808 printf(" value = %d\n", nValue); in TEST_F()
1813 …ASSERT_TRUE(nLaterValue == nValue) << "Schedule: don't schedule in thread run method, suspend work… in TEST_F()
1819 …ASSERT_TRUE(nLaterValue > nValue) << "Schedule: don't schedule in thread run method, suspend does … in TEST_F()