Home
last modified time | relevance | path

Searched refs:result (Results 1 – 10 of 10) sorted by relevance

/RevoEX-2.4/build/demos/netdemo/src/
Ddigest.c106 BOOL result; in main() local
108 if( ! OSJoinThread( &testThread, (void**)&result ) ) in main()
112 if ( result ) in main()
221 u16 result; in DoTest() local
223 result = NETCalcCRC16(a[i], strlen(a[i])); in DoTest()
224 PrintResultEq(result, result_crc16[i], flag); in DoTest()
225 OSReport("NETCalcCRC16(%s) = %04x\n", a[i], result); in DoTest()
239 u32 result; in DoTest() local
241 result = NETCalcCRC32(a[i], strlen(a[i])); in DoTest()
242 PrintResultEq(result, result_crc32[i], flag); in DoTest()
[all …]
Dsostartup.c137 s32 result = 0; in main() local
355 s32 result; in InitNetwork() local
368 result = SOInit( &libConfig ); in InitNetwork()
369 if ( result < SO_SUCCESS ) in InitNetwork()
371 REXDEMOError("SOInit() failed.(%d)\n", result); in InitNetwork()
414 s32 result; in SafeSOFinish() local
418 result = SOFinish(); in SafeSOFinish()
419 if ( result == SO_EBUSY || result == SO_EAGAIN || result == SO_EINPROGRESS ) in SafeSOFinish()
422 REXDEMOError("SOFinish() failed.(%d)\n", result); in SafeSOFinish()
439 if ( result == SO_EALREADY ) in SafeSOFinish()
[all …]
Dcrypto.c83 BOOL result; in main() local
85 if( ! OSJoinThread( &testThread, (void**)&result ) ) in main()
89 if ( result ) in main()
254 BOOL result; in DoTest() local
264 result = TRUE; in DoTest()
265 PrintResultBinaryEq(enc, samples[i].cipher, NET_AES_BLOCK_LENGTH, result); in DoTest()
266 flag &= result; in DoTest()
267 if (!result) in DoTest()
279 result = TRUE; in DoTest()
280 PrintResultBinaryEq(dec, samples[i].plain, NET_AES_BLOCK_LENGTH, result); in DoTest()
[all …]
/RevoEX-2.4/build/demos/mpdsdemo/src/
Dmpdssimple.c197 s32 result; in DoMPCommunication() local
199 result = MPDSInit( &sDSContext, &sMpdsConfig ); in DoMPCommunication()
200 if ( result < 0 ) in DoMPCommunication()
202 OSReport( "MPDSInit returns %08x\n", result ); in DoMPCommunication()
206 result = MPDSSetupPortConfig( &sDSContext, &sMpConfig ); in DoMPCommunication()
207 if ( result < 0 ) in DoMPCommunication()
209 OSReport( "MPDSSetupPortConfig returns %08x\n", result ); in DoMPCommunication()
214 result = MPStartup( &sMpConfig ); in DoMPCommunication()
215 if( result != MP_RESULT_OK ) in DoMPCommunication()
217 OSReport( "MPStartup returns %08x\n", result ); in DoMPCommunication()
[all …]
Dmpdsmodel.c579 s32 result; in StateManagementThreadFunc() local
593 result = TransToLobby(); in StateManagementThreadFunc()
595 switch ( result ) in StateManagementThreadFunc()
614 result = DoLobbyMode(); in StateManagementThreadFunc()
616 switch ( result ) in StateManagementThreadFunc()
643 result = DoCommunicationMode(); in StateManagementThreadFunc()
645 switch ( result ) in StateManagementThreadFunc()
664 result = TransToIdle(); in StateManagementThreadFunc()
666 switch ( result ) in StateManagementThreadFunc()
684 s32 result; in TransToLobby() local
[all …]
/RevoEX-2.4/build/demos/mpdemo/src/
DmpsimpleAsync.c99 static void SendAsyncCallbackFunction( s32 result, struct MPCallbackInfo *info );
150 s32 result; in main() local
186 result = MPStartup( &config ); in main()
187 if( result != MP_RESULT_OK ) in main()
189 OSReport( "MPStartup returns %08x\n", result ); in main()
213result = MPSendAsync ( frameData, sizeof(u32), 0xfffe, MY_PORT, &restBits, SendAsyncCallbackFuncti… in main()
215 if( result == MP_RESULT_OK ) in main()
239 OSReport("MPSendAsync failed: %08x\n", result); in main()
289 void SendAsyncCallbackFunction( s32 result, struct MPCallbackInfo *info ) in SendAsyncCallbackFunction() argument
291 #pragma unused(result) in SendAsyncCallbackFunction()
Dmpsimple.c180 s32 result; in DoMPCommunication() local
184 result = MPStartup( &config ); in DoMPCommunication()
185 if( result != MP_RESULT_OK ) in DoMPCommunication()
187 OSReport( "MPStartup returns %08x\n", result ); in DoMPCommunication()
208 result = MPSend( frameData, sizeof(u32), 0xfffe, MY_PORT, &restBits ); in DoMPCommunication()
210 if( result == MP_RESULT_OK ) in DoMPCommunication()
225 OSReport("MPSend failed: %08x\n", result); in DoMPCommunication()
/RevoEX-2.4/build/demos/nwc24demo/src/Check/
DCheck.c119 s32 result; in main() local
132 result = NANDInit(); in main()
133 if ( result != NAND_RESULT_OK ) in main()
/RevoEX-2.4/build/demos/nwc24demo/src/Download/
DDownload.c310 BOOL result = FALSE; in CheckVf() local
349 result = TRUE; in CheckVf()
354 result = FALSE; in CheckVf()
372 result = FALSE; in CheckVf()
420 return result; in CheckVf()
/RevoEX-2.4/build/demos/mpdldemo/src/
Dmpdlntr2rvl.c491 s32 result; in DoPadSharing() local
495 result = MPDSInit( &mpdsContext, &mpdsConfig ); in DoPadSharing()
496 if ( result < 0 ) in DoPadSharing()
498 OSReport( "MPDSInit returns %08x\n", result ); in DoPadSharing()
502 result = MPDSSetupPortConfig( &mpdsContext, &config ); in DoPadSharing()
503 if ( result < 0 ) in DoPadSharing()
505 OSReport( "MPDSSetupPortConfig returns %08x\n", result ); in DoPadSharing()
509 result = MPStartup( &config ); in DoPadSharing()
510 if( result != MP_RESULT_OK ) in DoPadSharing()
512 OSReport( "MPStartup returns %08x\n", result ); in DoPadSharing()
[all …]