Home
last modified time | relevance | path

Searched refs:Set (Results 1 – 25 of 153) sorted by relevance

1234567

/openthread-latest/tests/unit/
Dtest_network_name.cpp62 SuccessOrQuit(networkName.Set(MeshCoP::NameData(kName1, sizeof(kName1)))); in TestNetworkName()
65 VerifyOrQuit(networkName.Set(MeshCoP::NameData(kName1, sizeof(kName1))) == kErrorAlready, in TestNetworkName()
69 VerifyOrQuit(networkName.Set(MeshCoP::NameData(kName1, sizeof(kName1) - 1)) == kErrorAlready, in TestNetworkName()
72 SuccessOrQuit(networkName.Set(MeshCoP::NameData(kName2, sizeof(kName2)))); in TestNetworkName()
75 SuccessOrQuit(networkName.Set(MeshCoP::NameData(kEmptyName, 0))); in TestNetworkName()
78 SuccessOrQuit(networkName.Set(MeshCoP::NameData(kLongName, sizeof(kLongName)))); in TestNetworkName()
81 …VerifyOrQuit(networkName.Set(MeshCoP::NameData(kLongName, sizeof(kLongName) - 1)) == kErrorAlready, in TestNetworkName()
84 SuccessOrQuit(networkName.Set(MeshCoP::NameData(kName1, sizeof(kName1)))); in TestNetworkName()
86 …VerifyOrQuit(networkName.Set(MeshCoP::NameData(kTooLongName, sizeof(kTooLongName))) == kErrorInval… in TestNetworkName()
109 SuccessOrQuit(networkName2.Set(MeshCoP::NameData(kName1, sizeof(kName1)))); in TestNetworkName()
[all …]
Dtest_heap_string.cpp80 SuccessOrQuit(name.Set("name")); in GetName()
100 SuccessOrQuit(str1.Set("hello")); in TestHeapString()
104 SuccessOrQuit(str1.Set("0123456789")); in TestHeapString()
109 SuccessOrQuit(str1.Set("9876543210")); in TestHeapString()
115 SuccessOrQuit(str2.Set(str1)); in TestHeapString()
118 SuccessOrQuit(str1.Set(nullptr)); in TestHeapString()
121 SuccessOrQuit(str2.Set(str1)); in TestHeapString()
129 SuccessOrQuit(str1.Set("hello again")); in TestHeapString()
137 SuccessOrQuit(str1.Set("old name")); in TestHeapString()
139 SuccessOrQuit(str1.Set(GetName()), "Set() with move semantics failed"); in TestHeapString()
Dtest_nat64.cpp189 nat64cidr.Set(ip4Address, 32); in TestNat64()
190 nat64prefix.Set(ip6Address, 96); in TestNat64()
347 nat64cidr.Set(ip4Address, 32); in TestPacketCounter()
348 nat64prefix.Set(ip6Address, 96); in TestPacketCounter()
417 nat64cidr.Set(ip4Address, 32); in TestPacketCounter()
418 nat64prefix.Set(ip6Address, 96); in TestPacketCounter()
/openthread-latest/src/core/meshcop/
Dnetwork_name.cpp57 Error NetworkName::Set(const char *aNameString) in Set() function in ot::MeshCoP::NetworkName
75 error = Set(data); in Set()
81 Error NetworkName::Set(const NameData &aNameData) in Set() function in ot::MeshCoP::NetworkName
118 return SignalNetworkNameChange(mNetworkName.Set(aNameString)); in SetNetworkName()
123 return SignalNetworkNameChange(mNetworkName.Set(aNameData)); in SetNetworkName()
149 Error error = mDomainName.Set(aNameString); in SetDomainName()
156 Error error = mDomainName.Set(aNameData); in SetDomainName()
Ddataset.cpp245 aDatasetInfo.Set<kActiveTimestamp>(cur->ReadValueAs<ActiveTimestampTlv>()); in ConvertTo()
249 aDatasetInfo.Set<kChannel>(cur->ReadValueAs<ChannelTlv>().GetChannel()); in ConvertTo()
253 aDatasetInfo.Set<kWakeupChannel>(cur->ReadValueAs<WakeupChannelTlv>().GetChannel()); in ConvertTo()
262 aDatasetInfo.Set<kChannelMask>(mask); in ConvertTo()
269 aDatasetInfo.Set<kDelay>(cur->ReadValueAs<DelayTimerTlv>()); in ConvertTo()
273 aDatasetInfo.Set<kExtendedPanId>(cur->ReadValueAs<ExtendedPanIdTlv>()); in ConvertTo()
277 aDatasetInfo.Set<kMeshLocalPrefix>(cur->ReadValueAs<MeshLocalPrefixTlv>()); in ConvertTo()
281 aDatasetInfo.Set<kNetworkKey>(cur->ReadValueAs<NetworkKeyTlv>()); in ConvertTo()
285 … IgnoreError(aDatasetInfo.Update<kNetworkName>().Set(As<NetworkNameTlv>(cur)->GetNetworkName())); in ConvertTo()
289 aDatasetInfo.Set<kPanId>(cur->ReadValueAs<PanIdTlv>()); in ConvertTo()
[all …]
Dnetwork_name.hpp142 Error Set(const char *aNameString);
153 Error Set(const NameData &aNameData);
/openthread-latest/src/posix/platform/
Drcp_caps_diag.cpp86 return mRadioSpinel.Set(SPINEL_PROP_PHY_CHAN, SPINEL_DATATYPE_UINT8_S, kPhyChannel); in HandleSpinelCommand()
91 return mRadioSpinel.Set(SPINEL_PROP_PHY_ENABLED, SPINEL_DATATYPE_BOOL_S, true /* aEnable*/); in HandleSpinelCommand()
105 return mRadioSpinel.Set(SPINEL_PROP_MAC_15_4_LADDR, SPINEL_DATATYPE_EUI64_S, kExtAddress.m8); in HandleSpinelCommand()
112 return mRadioSpinel.Set(SPINEL_PROP_MAC_15_4_SADDR, SPINEL_DATATYPE_UINT16_S, kShortAddress); in HandleSpinelCommand()
118 return mRadioSpinel.Set(SPINEL_PROP_MAC_RAW_STREAM_ENABLED, SPINEL_DATATYPE_BOOL_S, true); in HandleSpinelCommand()
125 …return mRadioSpinel.Set(SPINEL_PROP_MAC_SCAN_MASK, SPINEL_DATATYPE_DATA_S, &kScanChannel, sizeof(u… in HandleSpinelCommand()
132 return mRadioSpinel.Set(SPINEL_PROP_MAC_SCAN_PERIOD, SPINEL_DATATYPE_UINT16_S, kScanDuration); in HandleSpinelCommand()
137 …return mRadioSpinel.Set(SPINEL_PROP_MAC_SCAN_STATE, SPINEL_DATATYPE_UINT8_S, SPINEL_SCAN_STATE_ENE… in HandleSpinelCommand()
142 return mRadioSpinel.Set(SPINEL_PROP_MAC_SRC_MATCH_ENABLED, SPINEL_DATATYPE_BOOL_S, true); in HandleSpinelCommand()
148 return mRadioSpinel.Set(SPINEL_PROP_MAC_SRC_MATCH_SHORT_ADDRESSES, nullptr); in HandleSpinelCommand()
[all …]
Dpower.cpp36 otError Domain::Set(const char *aDomain) in Set() function in ot::Power::Domain
77 otError RawPowerSetting::Set(const char *aRawPowerSetting) in Set() function in ot::Power::RawPowerSetting
112 SuccessOrExit(error = mRawPowerSetting.Set(pSave)); in FromString()
Dmulticast_routing.cpp378 mfc.Set(kMifIndexBackbone, kMifIndexThread); in UnblockInboundMulticastForwardingCache()
520 void MulticastRoutingManager::MulticastForwardingCache::Set(MulticastRoutingManager::MifIndex aIif, in Set() function in ot::Posix::MulticastRoutingManager::MulticastForwardingCache
529 void MulticastRoutingManager::MulticastForwardingCache::Set(const Ip6::Address &aSrcAddr, in Set() function in ot::Posix::MulticastRoutingManager::MulticastForwardingCache
536 Set(aIif, aOif); in Set()
559 mfc.Set(aIif, aOif); in SaveMulticastForwardingCache()
576 invalid->Set(aSrcAddr, aGroupAddr, aIif, aOif); in SaveMulticastForwardingCache()
581 oldest->Set(aSrcAddr, aGroupAddr, aIif, aOif); in SaveMulticastForwardingCache()
Dpower.hpp56 otError Set(const char *aDomain);
158 otError Set(const char *aRawPowerSetting);
Dmulticast_routing.hpp98 void Set(MifIndex aIif, MifIndex aOif);
99 …void Set(const Ip6::Address &aSrcAddr, const Ip6::Address &aGroupAddr, MifIndex aIif, MifIndex aOi…
/openthread-latest/src/core/common/
Dheap_string.hpp105 Error Set(const char *aCString);
115 Error Set(const String &aString) { return Set(aString.AsCString()); } in Set() function in ot::Heap::String
125 Error Set(String &&aString);
Dheap_string.cpp42 Error String::Set(const char *aCString) in Set() function in ot::Heap::String
69 Error String::Set(String &&aString) in Set() function in ot::Heap::String
Dsettings_driver.hpp199 Error Set(uint16_t aKey, const void *aValue, uint16_t aValueLength) in Set() function in ot::SettingsDriver
205 error = mFlash.Set(aKey, value, aValueLength); in Set()
/openthread-latest/src/lib/spinel/
Dradio_spinel.cpp159 SuccessOrExit(error = Set(SPINEL_PROP_RCP_LOG_CRASH_DUMP, nullptr)); in Init()
819 SuccessOrExit(error = Set(SPINEL_PROP_MAC_PROMISCUOUS_MODE, SPINEL_DATATYPE_UINT8_S, mode)); in SetPromiscuous()
831 … SuccessOrExit(error = Set(SPINEL_PROP_MAC_RX_ON_WHEN_IDLE_MODE, SPINEL_DATATYPE_BOOL_S, aEnable)); in SetRxOnWhenIdle()
843 SuccessOrExit(error = Set(SPINEL_PROP_MAC_15_4_SADDR, SPINEL_DATATYPE_UINT16_S, aAddress)); in SetShortAddress()
855 error = Set(SPINEL_PROP_MAC_15_4_ALT_SADDR, SPINEL_DATATYPE_UINT16_S, aAddress); in SetAlternateShortAddress()
917 SuccessOrExit(error = Set(SPINEL_PROP_RCP_MAC_KEY, in SetMacKey()
942 …SuccessOrExit(error = Set(SPINEL_PROP_RCP_MAC_FRAME_COUNTER, SPINEL_DATATYPE_UINT32_S SPINEL_DATAT… in SetMacFrameCounter()
963 SuccessOrExit(error = Set(SPINEL_PROP_MAC_15_4_LADDR, SPINEL_DATATYPE_EUI64_S, aExtAddress.m8)); in SetExtendedAddress()
975 SuccessOrExit(error = Set(SPINEL_PROP_MAC_15_4_PANID, SPINEL_DATATYPE_UINT16_S, aPanId)); in SetPanId()
986 SuccessOrExit(error = Set(SPINEL_PROP_MAC_SRC_MATCH_ENABLED, SPINEL_DATATYPE_BOOL_S, aEnable)); in EnableSrcMatch()
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_its.data1 Set/get/remove 0 bytes
4 Set/get/remove 42 bytes
7 Set/get/remove 1000 bytes
10 Set/get/remove with flags
31 Set UID 0
Dtest_suite_cipher.padding.data4 Set padding with AES-CBC
8 Set padding with AES-CFB
12 Set padding with AES-CTR
16 Set padding with CAMELLIA-CBC
20 Set padding with CAMELLIA-CFB
24 Set padding with CAMELLIA-CTR
28 Set padding with DES-CBC
32 Set padding with NULL
36 Set non-existent padding with AES-CBC
40 Set non-existent padding with CAMELLIA-CBC
[all …]
/openthread-latest/tests/nexus/platform/
Dnexus_node.cpp58 mode.Set(Mle::DeviceMode::kModeRxOnWhenIdle | Mle::DeviceMode::kModeFullThreadDevice | in Join()
62 mode.Set(Mle::DeviceMode::kModeRxOnWhenIdle | Mle::DeviceMode::kModeFullNetworkData); in Join()
65 mode.Set(Mle::DeviceMode::kModeFullNetworkData); in Join()
/openthread-latest/src/cli/
DREADME_DATASET.md136 2. Set the delay timer parameter (example uses 5 minutes or 300000 ms). Check the resulting dataset…
212 3. Set the delay timer parameter to 5 minutes (300000 ms). Show the resulting Dataset that's ready …
389 Set active timestamp seconds.
408 Set channel.
427 Set channel mask.
468 Set delay timer value.
487 Set extended panid.
533 Set mesh local prefix.
574 Set network key.
593 Set network name.
[all …]
/openthread-latest/src/core/diags/
DREADME.md55 Set the IEEE 802.15.4 Channel value for diagnostics module.
84 Set the frame (hex encoded) to be used by `diag send` and `diag repeat`. The frame may be overwritt…
130 Set the tx power value(dBm) for diagnostics module.
217 Set radio from sleep mode to receive mode.
226 Set the radio to receive mode and receive a specified number of frames.
264 Set the destination address of the radio receive filter.
317 Set the raw power setting for diagnostics module.
380 Set the gpio value.
450 Set the RCP IEEE 802.15.4 Channel value for diagnostics module.
459 Set the RCP tx power value(dBm) for diagnostics module.
/openthread-latest/src/core/thread/
Dlink_metrics.hpp140 …void SetReportCallback(ReportCallback aCallback, void *aContext) { mReportCallback.Set(aCallback, … in SetReportCallback()
177 mMgmtResponseCallback.Set(aCallback, aContext); in SetMgmtResponseCallback()
206 mEnhAckProbingIeReportCallback.Set(aCallback, aContext); in SetEnhAckProbingCallback()
Dmle_types.hpp212 explicit DeviceMode(uint8_t aMode) { Set(aMode); } in DeviceMode()
219 explicit DeviceMode(ModeConfig aModeConfig) { Set(aModeConfig); } in DeviceMode()
233 void Set(uint8_t aMode) { mMode = aMode | kModeReserved; } in Set() function in ot::Mle::DeviceMode
247 void Set(const ModeConfig &aModeConfig);
/openthread-latest/src/core/net/
Dip6_address.hpp137 void Set(const uint8_t *aPrefix, uint8_t aLength);
144 … void Set(const NetworkPrefix &aNetworkPrefix) { Set(aNetworkPrefix.m8, NetworkPrefix::kLength); } in Set() function in ot::Ip6::Prefix
777 void GetPrefix(uint8_t aLength, Prefix &aPrefix) const { aPrefix.Set(mFields.m8, aLength); } in GetPrefix()
/openthread-latest/src/core/mac/
Dmac_types.hpp125 void Set(const uint8_t *aBuffer, CopyByteOrder aByteOrder = kNormalByteOrder) in Set() function in ot::Mac::ExtAddress
353 mShared.mExtAddress.Set(aBuffer, aByteOrder); in SetExtended()
786 void Set(RadioType aRadioType, uint32_t aCounter);
811 void Set(uint32_t aCounter) in Set() function in ot::Mac::LinkFrameCounters
/openthread-latest/tools/spi-hdlc-adapter/
DREADME.md37 1. Set `I̅N̅T̅/direction` to `in`.
38 2. Set `I̅N̅T̅/edge` to `falling`.
39 3. Set `R̅E̅S̅/direction` to `high`.
43 1. Set `R̅E̅S̅/direction` to `low`.
45 3. Set `R̅E̅S̅/direction` to `high`.

1234567