Searched refs:wres (Results 1 – 4 of 4) sorted by relevance
108 WRes wres = ArEvent_OptCreate_And_Reset(&t->canWrite); in MtDecThread_CreateEvents() local109 if (wres == 0) in MtDecThread_CreateEvents()111 wres = ArEvent_OptCreate_And_Reset(&t->canRead); in MtDecThread_CreateEvents()112 if (wres == 0) in MtDecThread_CreateEvents()115 return wres; in MtDecThread_CreateEvents()121 WRes wres = MtDecThread_CreateEvents(t); in MtDecThread_CreateAndStart() local123 if (wres == 0) in MtDecThread_CreateAndStart()127 wres = Thread_Create(&t->thread, ThreadFunc, t); in MtDecThread_CreateAndStart()128 if (wres == 0) in MtDecThread_CreateAndStart()131 return MY_SRes_HRESULT_FROM_WRes(wres); in MtDecThread_CreateAndStart()[all …]
52 WRes wres = ArEvent_OptCreate_And_Reset(&t->startEvent); in MtCoderThread_CreateAndStart() local53 if (wres == 0) in MtCoderThread_CreateAndStart()57 wres = Thread_Create(&t->thread, ThreadFunc, t); in MtCoderThread_CreateAndStart()58 if (wres == 0) in MtCoderThread_CreateAndStart()59 wres = Event_Set(&t->startEvent); in MtCoderThread_CreateAndStart()61 if (wres == 0) in MtCoderThread_CreateAndStart()63 return MY_SRes_HRESULT_FROM_WRes(wres); in MtCoderThread_CreateAndStart()580 WRes wres = Event_Wait(&p->finishedEvent); in MtCoder_Code()581 res = MY_SRes_HRESULT_FROM_WRes(wres); in MtCoder_Code()
1138 unsigned tresultr[3], tresulti[3], wres; in runtest() local1146 wres = 2; in runtest()1151 wres = 1; in runtest()1157 wres = 1; in runtest()1161 wres = 0; in runtest()1168 (wres==2 && (resultr[1] != 0 || resulti[1] != 0))) { in runtest()1173 if(wres==1) { in runtest()1186 if(wres==1) { in runtest()1201 if(wres==1) { in runtest()1220 } else if (t.nresult > wres) { in runtest()[all …]
555 IPseudoTcpNotify::WriteResult wres = m_notify->TcpWritePacket( in packet() local560 if ((wres != IPseudoTcpNotify::WR_SUCCESS) && (0 != len)) in packet()561 return wres; in packet()975 IPseudoTcpNotify::WriteResult wres = packet(seq, in transmit() local980 if (wres == IPseudoTcpNotify::WR_SUCCESS) in transmit()983 if (wres == IPseudoTcpNotify::WR_FAIL) { in transmit()988 ASSERT(wres == IPseudoTcpNotify::WR_TOO_LARGE); in transmit()