Home
last modified time | relevance | path

Searched refs:aOutput (Results 1 – 17 of 17) sorted by relevance

/openthread-3.4.0/src/core/diags/
Dfactory_diags.cpp55 char *aOutput, in otPlatDiagProcess() argument
61 OT_UNUSED_VARIABLE(aOutput); in otPlatDiagProcess()
90 Error Diags::ProcessChannel(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen) in ProcessChannel() argument
103 AppendErrorResult(error, aOutput, aOutputMaxLen); in ProcessChannel()
107 Error Diags::ProcessPower(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen) in ProcessPower() argument
119 AppendErrorResult(error, aOutput, aOutputMaxLen); in ProcessPower()
123 Error Diags::ProcessEcho(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen) in ProcessEcho() argument
129 snprintf(aOutput, aOutputMaxLen, "%s\r\n", aArgs[0]); in ProcessEcho()
144 aOutput[i] = '0' + i % 10; in ProcessEcho()
147 snprintf(&aOutput[i], aOutputMaxLen - i, "\r\n"); in ProcessEcho()
[all …]
Dfactory_diags.hpp72 Error ProcessLine(const char *aString, char *aOutput, size_t aOutputMaxLen);
87 Error ProcessCmd(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen);
131 … Error (Diags::*mCommand)(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen);
184 Error ProcessChannel(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen);
185 …Error ProcessContinuousWave(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLe…
186 Error ProcessGpio(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen);
187 Error ProcessPower(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen);
188 Error ProcessRadio(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen);
189 Error ProcessRepeat(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen);
190 …Error ProcessPowerSettings(uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen…
[all …]
/openthread-3.4.0/src/posix/platform/
Dentropy.cpp92 otError otPlatEntropyGet(uint8_t *aOutput, uint16_t aOutputLength) in otPlatEntropyGet() argument
101 VerifyOrExit(aOutput && aOutputLength, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet()
106 readLength = fread(aOutput, 1, aOutputLength, file); in otPlatEntropyGet()
126 VerifyOrExit(aOutput && aOutputLength, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet()
130 aOutput[length] = (uint8_t)randomUint32Get(); in otPlatEntropyGet()
Dradio.cpp511 char *aOutput, in otPlatDiagProcess() argument
525 return sRadioSpinel.PlatDiagProcess(cmd, aOutput, aOutputMaxLen); in otPlatDiagProcess()
/openthread-3.4.0/examples/platforms/simulation/
Dentropy.c90 otError otPlatEntropyGet(uint8_t *aOutput, uint16_t aOutputLength) in otPlatEntropyGet() argument
99 otEXPECT_ACTION(aOutput && aOutputLength, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet()
104 readLength = fread(aOutput, 1, aOutputLength, file); in otPlatEntropyGet()
124 otEXPECT_ACTION(aOutput && aOutputLength, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet()
128 aOutput[length] = (uint8_t)randomUint32Get(); in otPlatEntropyGet()
/openthread-3.4.0/src/core/api/
Ddiags_api.cpp45 otError otDiagProcessCmdLine(otInstance *aInstance, const char *aString, char *aOutput, size_t aOut… in otDiagProcessCmdLine() argument
49 …return AsCoreType(aInstance).Get<FactoryDiags::Diags>().ProcessLine(aString, aOutput, aOutputMaxLe… in otDiagProcessCmdLine()
52 otError otDiagProcessCmd(otInstance *aInstance, uint8_t aArgsLength, char *aArgs[], char *aOutput, … in otDiagProcessCmd() argument
54 …return AsCoreType(aInstance).Get<FactoryDiags::Diags>().ProcessCmd(aArgsLength, aArgs, aOutput, aO… in otDiagProcessCmd()
/openthread-3.4.0/include/openthread/
Ddiag.h74 char *aOutput,
94 otError otDiagProcessCmdLine(otInstance *aInstance, const char *aString, char *aOutput, size_t aOut…
/openthread-3.4.0/src/core/crypto/
Daes_ecb.cpp50 void AesEcb::Encrypt(const uint8_t aInput[kBlockSize], uint8_t aOutput[kBlockSize]) in Encrypt()
52 SuccessOrAssert(otPlatCryptoAesEncrypt(&mContext, aInput, aOutput)); in Encrypt()
Daes_ecb.hpp91 void Encrypt(const uint8_t aInput[kBlockSize], uint8_t aOutput[kBlockSize]);
Dcrypto_platform.cpp120 … otError otPlatCryptoAesEncrypt(otCryptoContext *aContext, const uint8_t *aInput, uint8_t *aOutput) in otPlatCryptoAesEncrypt() argument
129 …VerifyOrExit((mbedtls_aes_crypt_ecb(context, MBEDTLS_AES_ENCRYPT, aInput, aOutput) == 0), error = … in otPlatCryptoAesEncrypt()
449 static int handleMbedtlsEntropyPoll(void *aData, unsigned char *aOutput, size_t aInLen, size_t *aOu… in handleMbedtlsEntropyPoll() argument
453 …SuccessOrExit(otPlatEntropyGet(reinterpret_cast<uint8_t *>(aOutput), static_cast<uint16_t>(aInLen)… in handleMbedtlsEntropyPoll()
/openthread-3.4.0/tests/fuzz/
Dfuzzer_platform.cpp190 otError otDiagProcessCmd(otInstance *aInstance, uint8_t aArgsLength, char *aArgs[], char *aOutput, … in otDiagProcessCmd() argument
195 OT_UNUSED_VARIABLE(aOutput); in otDiagProcessCmd()
201 otError otDiagProcessCmdLine(otInstance *aInstance, const char *aString, char *aOutput, size_t aOut… in otDiagProcessCmdLine() argument
205 OT_UNUSED_VARIABLE(aOutput); in otDiagProcessCmdLine()
419 otError otPlatEntropyGet(uint8_t *aOutput, uint16_t aOutputLength) in otPlatEntropyGet() argument
423 aOutput[length] = (uint8_t)rand(); in otPlatEntropyGet()
479 char *aOutput, in otPlatDiagProcess() argument
485 OT_UNUSED_VARIABLE(aOutput); in otPlatDiagProcess()
/openthread-3.4.0/include/openthread/platform/
Dentropy.h69 otError otPlatEntropyGet(uint8_t *aOutput, uint16_t aOutputLength);
Ddiag.h89 char *aOutput,
Dcrypto.h421 otError otPlatCryptoAesEncrypt(otCryptoContext *aContext, const uint8_t *aInput, uint8_t *aOutput);
/openthread-3.4.0/tests/unit/
Dtest_platform.cpp169 OT_TOOL_WEAK otError otPlatEntropyGet(uint8_t *aOutput, uint16_t aOutputLength) in otPlatEntropyGet() argument
173 VerifyOrExit(aOutput, error = OT_ERROR_INVALID_ARGS); in otPlatEntropyGet()
183 readLength = fread(aOutput, 1, aOutputLength, file); in otPlatEntropyGet()
195 aOutput[length] = (uint8_t)rand(); in otPlatEntropyGet()
203 OT_TOOL_WEAK void otPlatDiagProcess(otInstance *, uint8_t, char *aArgs[], char *aOutput, size_t aOu… in otPlatDiagProcess() argument
205 snprintf(aOutput, aOutputMaxLen, "diag feature '%s' is not supported\r\n", aArgs[0]); in otPlatDiagProcess()
/openthread-3.4.0/src/lib/spinel/
Dradio_spinel.hpp604 otError PlatDiagProcess(const char *aString, char *aOutput, size_t aOutputMaxLen);
Dradio_spinel_impl.hpp2140 char *aOutput, in PlatDiagProcess() argument
2145 mDiagOutput = aOutput; in PlatDiagProcess()