Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 14 of 14) sorted by relevance

/openthread-3.4.0/src/lib/platform/
Dexit_code.c42 const char *retval = NULL; in otExitCodeToString() local
47 retval = "Success"; in otExitCodeToString()
51 retval = "Failure"; in otExitCodeToString()
55 retval = "InvalidArgument"; in otExitCodeToString()
59 retval = "RadioSpinelIncompatible"; in otExitCodeToString()
63 retval = "RadioSpinelReset"; in otExitCodeToString()
67 retval = "RadioSpinelNoResponse"; in otExitCodeToString()
72 retval = strerror(errno); in otExitCodeToString()
74 retval = "ErrorNo"; in otExitCodeToString()
80 retval = "UnknownExitCode"; in otExitCodeToString()
[all …]
/openthread-3.4.0/src/core/api/
Dtasklet_api.cpp55 bool retval = false; in otTaskletsArePending() local
57 retval = AsCoreType(aInstance).Get<Tasklet::Scheduler>().AreTaskletsPending(); in otTaskletsArePending()
60 return retval; in otTaskletsArePending()
/openthread-3.4.0/src/core/common/
Dtimer.cpp55 bool retval; in DoesFireBefore() local
66 retval = isBeforeNow; in DoesFireBefore()
74 retval = GetFireTime() < aSecondTimer.GetFireTime(); in DoesFireBefore()
77 return retval; in DoesFireBefore()
Dnotifier.cpp238 const char *retval = "(unknown)"; in EventToString() local
280 retval = kEventStrings[index]; in EventToString()
285 return retval; in EventToString()
/openthread-3.4.0/src/core/mac/
Dmac_links.hpp472 bool retval = false; in UpdateCsl() local
479 retval = mSubMac.UpdateCsl(aPeriod, aChannel, aShortAddr, aExtAddr); in UpdateCsl()
481 return retval; in UpdateCsl()
Dsub_mac.cpp1073 bool retval = diffPeriod || diffChannel || diffPeer; in UpdateCsl() local
1075 VerifyOrExit(retval); in UpdateCsl()
1092 return retval; in UpdateCsl()
Dmac.cpp186 bool retval = false; in IsInTransmitState() local
199 retval = true; in IsInTransmitState()
206 retval = false; in IsInTransmitState()
210 return retval; in IsInTransmitState()
/openthread-3.4.0/src/core/thread/
Dtopology.cpp451 bool retval = false; in HasIp6Address() local
457 retval = (aAddress.GetIid() == mMeshLocalIid); in HasIp6Address()
467 ExitNow(retval = true); in HasIp6Address()
472 return retval; in HasIp6Address()
Dmle.cpp1089 bool retval = false; in HasUnregisteredAddress() local
1099 ExitNow(retval = true); in HasUnregisteredAddress()
1108 retval = Get<ThreadNetif>().HasAnyExternalMulticastAddress(); in HasUnregisteredAddress()
1112 return retval; in HasUnregisteredAddress()
/openthread-3.4.0/src/lib/spinel/
Dspinel_buffer.cpp703 uint8_t retval = kReadByteAfterFrameHasEnded; in OutFrameReadByte() local
712 retval = kReadByteAfterFrameHasEnded; in OutFrameReadByte()
719 retval = *mReadPointer; in OutFrameReadByte()
744 retval = *mReadPointer; in OutFrameReadByte()
763 return retval; in OutFrameReadByte()
/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_aes.function198 void aes_crypt_xts_size( int size, int retval )
212 …RT( mbedtls_aes_crypt_xts( &ctx, MBEDTLS_AES_ENCRYPT, length, data_unit, src, output ) == retval );
219 void aes_crypt_xts_keysize( int size, int retval )
227 TEST_ASSERT( mbedtls_aes_xts_setkey_enc( &ctx, key, key_len * 8 ) == retval );
228 TEST_ASSERT( mbedtls_aes_xts_setkey_dec( &ctx, key, key_len * 8 ) == retval );
Dtest_suite_ssl.function158 * \retval \p input_len, if the data fits.
159 * \retval 0 <= value < \p input_len, if the data does not fit.
160 * \retval -1, if \p buf is NULL, it hasn't been set up or \p input_len is not
220 * \retval \p output_len, if the data is available.
221 * \retval 0 <= value < \p output_len, if the data is not available.
222 * \retval -1, if \buf is NULL or it hasn't been set up.
280 * \retval 0, if a metadata queue of a given length can be allocated.
281 * \retval MBEDTLS_ERR_SSL_ALLOC_FAILED, if allocation failed.
312 * \retval MBEDTLS_TEST_ERROR_ARG_NULL, if the queue is null.
313 * \retval MBEDTLS_ERR_SSL_WANT_WRITE, if the queue is full.
[all …]
/openthread-3.4.0/third_party/mbedtls/repo/library/
Dcmac.c190 int retval; in mbedtls_cipher_cmac_starts() local
195 if( ( retval = mbedtls_cipher_setkey( ctx, key, (int)keybits, in mbedtls_cipher_cmac_starts()
197 return( retval ); in mbedtls_cipher_cmac_starts()
/openthread-3.4.0/src/core/net/
Dudp6.cpp259 bool retval = false; in IsBackboneSocket() local
265 ExitNow(retval = true); in IsBackboneSocket()
270 return retval; in IsBackboneSocket()