/openthread-latest/examples/platforms/simulation/ |
D | diag.c | 67 void otPlatDiagModeSet(bool aMode) { sDiagMode = aMode; } in otPlatDiagModeSet() argument 106 otError otPlatDiagGpioSetMode(uint32_t aGpio, otGpioMode aMode) in otPlatDiagGpioSetMode() argument 111 sGpioMode = aMode; in otPlatDiagGpioSetMode() 117 otError otPlatDiagGpioGetMode(uint32_t aGpio, otGpioMode *aMode) in otPlatDiagGpioGetMode() argument 121 otEXPECT_ACTION((aGpio == SIM_GPIO) && (aMode != NULL), error = OT_ERROR_INVALID_ARGS); in otPlatDiagGpioGetMode() 122 *aMode = sGpioMode; in otPlatDiagGpioGetMode()
|
D | dso_transport.c | 53 void otPlatDsoDisconnect(otPlatDsoConnection *aConnection, otPlatDsoDisconnectMode aMode) in otPlatDsoDisconnect() argument 56 OT_UNUSED_VARIABLE(aMode); in otPlatDsoDisconnect()
|
/openthread-latest/src/core/common/ |
D | string.cpp | 53 MatchType Match(const char *aString, const char *aPrefixString, StringMatchMode aMode) in Match() argument 65 switch (aMode) in Match() 121 const char *StringFind(const char *aString, const char *aSubString, StringMatchMode aMode) in StringFind() argument 131 if (Match(&aString[index], aSubString, aMode) != kNoMatch) in StringFind() 141 bool StringStartsWith(const char *aString, const char *aPrefixString, StringMatchMode aMode) in StringStartsWith() argument 143 return Match(aString, aPrefixString, aMode) != kNoMatch; in StringStartsWith() 153 bool StringEndsWith(const char *aString, const char *aSubString, StringMatchMode aMode) in StringEndsWith() argument 158 …return (subLen > 0) && (len >= subLen) && (Match(&aString[len - subLen], aSubString, aMode) != kNo… in StringEndsWith() 166 bool StringMatch(const char *aFirstString, const char *aSecondString, StringMatchMode aMode) in StringMatch() argument 168 return Match(aFirstString, aSecondString, aMode) == kFullMatch; in StringMatch()
|
D | string.hpp | 110 const char *StringFind(const char *aString, const char *aSubString, StringMatchMode aMode = kString… 122 bool StringStartsWith(const char *aString, const char *aPrefixString, StringMatchMode aMode = kStri… 145 bool StringEndsWith(const char *aString, const char *aSubString, StringMatchMode aMode = kStringExa… 168 bool StringMatch(const char *aFirstString, const char *aSecondString, StringMatchMode aMode);
|
D | trickle_timer.cpp | 209 void TrickleTimer::Start(Mode aMode, uint32_t aIntervalMin, uint32_t aIntervalMax, uint16_t aRedund… in Start() argument 216 mMode = aMode; in Start()
|
/openthread-latest/include/openthread/platform/ |
D | diag.h | 102 void otPlatDiagModeSet(bool aMode); 181 otError otPlatDiagGpioSetMode(uint32_t aGpio, otGpioMode aMode); 196 otError otPlatDiagGpioGetMode(uint32_t aGpio, otGpioMode *aMode);
|
D | dso_transport.h | 173 void otPlatDsoDisconnect(otPlatDsoConnection *aConnection, otPlatDsoDisconnectMode aMode); 185 … void otPlatDsoHandleDisconnected(otPlatDsoConnection *aConnection, otPlatDsoDisconnectMode aMode);
|
/openthread-latest/src/core/utils/ |
D | otns.cpp | 151 void Otns::EmitDeviceMode(Mle::DeviceMode aMode) in EmitDeviceMode() argument 153 …EmitStatus("mode=%s%s%s", aMode.IsRxOnWhenIdle() ? "r" : "", aMode.IsFullThreadDevice() ? "d" : "", in EmitDeviceMode() 154 (aMode.GetNetworkDataType() == NetworkData::kFullSet) ? "n" : ""); in EmitDeviceMode()
|
D | parse_cmdline.cpp | 233 …r ParseHexString(const char *&aString, uint16_t &aSize, uint8_t *aBuffer, HexStringParseMode aMode) in ParseHexString() argument 246 switch (aMode) in ParseHexString() 267 if ((aMode == kModeAllowPartial) && (parsedSize == aSize)) in ParseHexString()
|
/openthread-latest/src/core/api/ |
D | icmp6_api.cpp | 45 void otIcmp6SetEchoMode(otInstance *aInstance, otIcmp6EchoMode aMode) in otIcmp6SetEchoMode() argument 47 AsCoreType(aInstance).Get<Ip6::Icmp>().SetEchoMode(aMode); in otIcmp6SetEchoMode()
|
/openthread-latest/src/core/crypto/ |
D | aes_ccm.cpp | 191 void AesCcm::Payload(void *aPlainText, void *aCipherText, uint32_t aLength, Mode aMode) in Payload() argument 215 if (aMode == kEncrypt) in Payload() 250 void AesCcm::Payload(Message &aMessage, uint16_t aOffset, uint16_t aLength, Mode aMode) in Payload() argument 258 Payload(chunk.GetBytes(), chunk.GetBytes(), chunk.GetLength(), aMode); in Payload()
|
D | aes_ccm.hpp | 144 void Payload(void *aPlainText, void *aCipherText, uint32_t aLength, Mode aMode); 157 void Payload(Message &aMessage, uint16_t aOffset, uint16_t aLength, Mode aMode);
|
/openthread-latest/src/cli/ |
D | cli_dns.hpp | 103 const char *DnsConfigServiceModeToString(otDnsServiceMode aMode) const; 104 otError ParseDnsServiceMode(const Arg &aArg, otDnsServiceMode &aMode) const;
|
D | cli_dns.cpp | 490 const char *Dns::DnsConfigServiceModeToString(otDnsServiceMode aMode) const in DnsConfigServiceModeToString() 492 return Stringify(aMode, kServiceModeStrings); in DnsConfigServiceModeToString() 495 otError Dns::ParseDnsServiceMode(const Arg &aArg, otDnsServiceMode &aMode) const in ParseDnsServiceMode() 501 aMode = OT_DNS_SERVICE_MODE_UNSPECIFIED; in ParseDnsServiceMode() 509 aMode = static_cast<otDnsServiceMode>(index); in ParseDnsServiceMode()
|
/openthread-latest/src/core/thread/ |
D | mle.hpp | 986 Error AppendModeTlv(DeviceMode aMode); 1001 Error AppendAddressRegistrationTlv(AddressRegistrationMode aMode = kAppendAllAddresses); 1046 Error ReadModeTlv(DeviceMode &aMode) const; 1312 Error Start(StartMode aMode); 1313 void Stop(StopMode aMode); 1316 void Attach(AttachMode aMode); 1324 Error SendChildUpdateRequestToParent(ChildUpdateRequestMode aMode); 1357 void SendAnnounce(uint8_t aChannel, AnnounceMode aMode); 1358 …void SendAnnounce(uint8_t aChannel, const Ip6::Address &aDestination, AnnounceMode aMode = k… 1368 Error ProcessMessageSecurity(Crypto::AesCcm::Mode aMode, [all …]
|
D | mle_types.hpp | 212 explicit DeviceMode(uint8_t aMode) { Set(aMode); } in DeviceMode() argument 233 void Set(uint8_t aMode) { mMode = aMode | kModeReserved; } in Set() argument
|
D | child.cpp | 138 void Child::SetDeviceMode(Mle::DeviceMode aMode) in SetDeviceMode() argument 140 VerifyOrExit(aMode != GetDeviceMode()); in SetDeviceMode() 142 Neighbor::SetDeviceMode(aMode); in SetDeviceMode()
|
/openthread-latest/src/core/mac/ |
D | mac_filter.hpp | 107 void SetMode(Mode aMode) { mMode = aMode; } in SetMode() argument
|
/openthread-latest/src/core/net/ |
D | dns_client.hpp | 243 explicit QueryConfig(InitMode aMode); 250 … void SetServiceMode(ServiceMode aMode) { mServiceMode = static_cast<otDnsServiceMode>(aMode); } in SetServiceMode() argument 252 void SetNat64Mode(Nat64Mode aMode) { mNat64Mode = static_cast<otDnsNat64Mode>(aMode); } in SetNat64Mode() argument
|
D | icmp6.hpp | 303 void SetEchoMode(otIcmp6EchoMode aMode) { mEchoMode = aMode; } in SetEchoMode() argument
|
D | dns_dso.hpp | 67 … void otPlatDsoHandleDisconnected(otPlatDsoConnection *aConnection, otPlatDsoDisconnectMode aMode); 183 … void otPlatDsoHandleDisconnected(otPlatDsoConnection *aConnection, otPlatDsoDisconnectMode aMode); 465 void Disconnect(DisconnectMode aMode, DisconnectReason aReason); 743 void HandleDisconnected(DisconnectMode aMode);
|
D | dns_dso.cpp | 68 …" void otPlatDsoHandleDisconnected(otPlatDsoConnection *aConnection, otPlatDsoDisconnectMode aMode) in otPlatDsoHandleDisconnected() argument 70 AsCoreType(aConnection).HandleDisconnected(MapEnum(aMode)); in otPlatDsoHandleDisconnected() 197 void Dso::Connection::Disconnect(DisconnectMode aMode, DisconnectReason aReason) in Disconnect() argument 204 otPlatDsoDisconnect(this, MapEnum(aMode)); in Disconnect() 210 void Dso::Connection::HandleDisconnected(DisconnectMode aMode) in HandleDisconnected() argument 220 switch (aMode) in HandleDisconnected() 1512 …TOOL_WEAK void otPlatDsoDisconnect(otPlatDsoConnection *aConnection, otPlatDsoDisconnectMode aMode) in otPlatDsoDisconnect() argument 1515 OT_UNUSED_VARIABLE(aMode); in otPlatDsoDisconnect()
|
/openthread-latest/src/posix/platform/ |
D | radio.cpp | 611 void otPlatDiagModeSet(bool aMode) in otPlatDiagModeSet() argument 613 SuccessOrExit(GetRadioSpinel().PlatDiagProcess(aMode ? "start" : "stop")); in otPlatDiagModeSet() 614 GetRadioSpinel().SetDiagEnabled(aMode); in otPlatDiagModeSet() 676 otError otPlatDiagGpioSetMode(uint32_t aGpio, otGpioMode aMode) in otPlatDiagGpioSetMode() argument 681 … snprintf(cmd, sizeof(cmd), "gpio mode %d %s", aGpio, aMode == OT_GPIO_MODE_INPUT ? "in" : "out"); in otPlatDiagGpioSetMode() 688 otError otPlatDiagGpioGetMode(uint32_t aGpio, otGpioMode *aMode) in otPlatDiagGpioGetMode() argument 703 *aMode = OT_GPIO_MODE_INPUT; in otPlatDiagGpioGetMode() 707 *aMode = OT_GPIO_MODE_OUTPUT; in otPlatDiagGpioGetMode()
|
D | spi_interface.cpp | 285 void SpiInterface::InitSpiDev(const char *aPath, uint8_t aMode, uint32_t aSpeed) in InitSpiDev() argument 290 LogDebg("InitSpiDev: path=%s, mode=%" PRIu8 ", speed=%" PRIu32, aPath, aMode, aSpeed); in InitSpiDev() 292 VerifyOrDie((aPath != nullptr) && (aMode <= kSpiModeMax), OT_EXIT_INVALID_ARGUMENTS); in InitSpiDev() 294 VerifyOrExit(ioctl(fd, SPI_IOC_WR_MODE, &aMode) != -1, LogError("ioctl(SPI_IOC_WR_MODE)")); in InitSpiDev() 300 mSpiMode = aMode; in InitSpiDev()
|
/openthread-latest/tests/nexus/platform/ |
D | nexus_settings.cpp | 102 Error Settings::SetOrAdd(SetAddMode aMode, uint16_t aKey, const uint8_t *aValue, uint16_t aValueLen… in SetOrAdd() argument 121 if (aMode == kSet) in SetOrAdd()
|