Home
last modified time | relevance | path

Searched refs:Write (Results 1 – 25 of 48) sorted by relevance

12

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_asn1write.data1 ASN.1 Write NULL
4 ASN.1 Write BOOLEAN FALSE
7 ASN.1 Write BOOLEAN TRUE
10 ASN.1 Write int 0
13 ASN.1 Write int 1
16 ASN.1 Write int 127
19 ASN.1 Write int 128
22 ASN.1 Write int 255
25 ASN.1 Write int 256
28 ASN.1 Write int 32767
[all …]
Dtest_suite_platform_util.function13 /* Write sentinel values */
17 /* Write non-zero content */
Dtest_suite_alignment.function79 /* Write sentinel to the part of the array we will test writing to */
84 * Write back to the array with mbedtls_put_unaligned_uint16 and validate
Dtest_suite_psa_crypto_storage_format.function13 /** Write a key with the given attributes and key material to storage.
139 /** Write a key with the given representation to storage, then check
Dhost_test.function318 /** \brief Write the description of the test case to the outcome CSV file.
359 /* Write the beginning of the outcome line.
365 /** \brief Write the result of the test case to the outcome CSV file.
385 /* Write the end of the outcome line.
/openthread-latest/src/core/meshcop/
Ddataset_manager_ftd.cpp184 IgnoreError(aInfo.mDataset.Write<DelayTimerTlv>(delayTimer)); in ProcessSetOrReplaceRequest()
275 IgnoreError(dataset.Write<ActiveTimestampTlv>(timestamp)); in GenerateLocal()
283 IgnoreError(dataset.Write<ChannelTlv>(channelValue)); in GenerateLocal()
291 IgnoreError(dataset.Write<WakeupChannelTlv>(channelValue)); in GenerateLocal()
304 IgnoreError(dataset.Write<ExtendedPanIdTlv>(Get<ExtendedPanIdManager>().GetExtPanId())); in GenerateLocal()
309 IgnoreError(dataset.Write<MeshLocalPrefixTlv>(Get<Mle::MleRouter>().GetMeshLocalPrefix())); in GenerateLocal()
317 IgnoreError(dataset.Write<NetworkKeyTlv>(networkKey)); in GenerateLocal()
329 IgnoreError(dataset.Write<PanIdTlv>(Get<Mac::Mac>().GetPanId())); in GenerateLocal()
345 IgnoreError(dataset.Write<PskcTlv>(pskc)); in GenerateLocal()
413 SuccessOrExit(aDataset.Write<PendingTimestampTlv>(activeTimestamp)); in ApplyActiveDataset()
[all …]
Ddataset.cpp430 SuccessOrExit(error = Write<ActiveTimestampTlv>(activeTimestamp)); in WriteTlvsFrom()
438 SuccessOrExit(error = Write<PendingTimestampTlv>(pendingTimestamp)); in WriteTlvsFrom()
443 SuccessOrExit(error = Write<DelayTimerTlv>(aDatasetInfo.Get<kDelay>())); in WriteTlvsFrom()
451 SuccessOrExit(error = Write<ChannelTlv>(channelValue)); in WriteTlvsFrom()
459 SuccessOrExit(error = Write<WakeupChannelTlv>(channelValue)); in WriteTlvsFrom()
472 SuccessOrExit(error = Write<ExtendedPanIdTlv>(aDatasetInfo.Get<kExtendedPanId>())); in WriteTlvsFrom()
477 SuccessOrExit(error = Write<MeshLocalPrefixTlv>(aDatasetInfo.Get<kMeshLocalPrefix>())); in WriteTlvsFrom()
482 SuccessOrExit(error = Write<NetworkKeyTlv>(aDatasetInfo.Get<kNetworkKey>())); in WriteTlvsFrom()
494 SuccessOrExit(error = Write<PanIdTlv>(aDatasetInfo.Get<kPanId>())); in WriteTlvsFrom()
499 SuccessOrExit(error = Write<PskcTlv>(aDatasetInfo.Get<kPskc>())); in WriteTlvsFrom()
Ddataset_updater.cpp83 SuccessOrExit(error = aDataset.Write<ActiveTimestampTlv>(activeTimestamp)); in RequestUpdate()
93 SuccessOrExit(error = aDataset.Write<PendingTimestampTlv>(pendingTimestamp)); in RequestUpdate()
97 SuccessOrExit(error = aDataset.Write<DelayTimerTlv>(kDefaultDelay)); in RequestUpdate()
Ddataset.hpp381 template <typename SimpleTlvType> Error Write(const typename SimpleTlvType::ValueType &aValue) in Write() function in ot::MeshCoP::Dataset
398 template <typename UintTlvType> Error Write(typename UintTlvType::UintValueType aValue) in Write() function in ot::MeshCoP::Dataset
/openthread-latest/src/core/common/
Dencoding.hpp249 template <typename UintType> void Write(UintType aValue, uint8_t *aBuffer);
251 template <> inline void Write(uint8_t aValue, uint8_t *aBuffer) { *aBuffer = aValue; } in Write() function
252 template <> inline void Write(uint16_t aValue, uint8_t *aBuffer) { WriteUint16(aValue, aBuffer); } in Write() function
253 template <> inline void Write(uint32_t aValue, uint8_t *aBuffer) { WriteUint32(aValue, aBuffer); } in Write() function
254 template <> inline void Write(uint64_t aValue, uint8_t *aBuffer) { WriteUint64(aValue, aBuffer); } in Write() function
421 template <typename UintType> void Write(UintType aValue, uint8_t *aBuffer);
423 template <> inline void Write(uint8_t aValue, uint8_t *aBuffer) { *aBuffer = aValue; } in Write() function
424 template <> inline void Write(uint16_t aValue, uint8_t *aBuffer) { WriteUint16(aValue, aBuffer); } in Write() function
425 template <> inline void Write(uint32_t aValue, uint8_t *aBuffer) { WriteUint32(aValue, aBuffer); } in Write() function
426 template <> inline void Write(uint64_t aValue, uint8_t *aBuffer) { WriteUint64(aValue, aBuffer); } in Write() function
Dframe_builder.hpp269 template <typename ObjectType> void Write(uint16_t aOffset, const ObjectType &aObject) in Write() function in ot::FrameBuilder
/openthread-latest/src/core/net/
Dchecksum.cpp94 aMessage.Write(aOffset, checksum); in WriteToMessage()
195 aMessage.Write<uint16_t>(aMessage.GetOffset() + headerOffset, 0); in UpdateMessageChecksum()
230 aMessage.Write<uint16_t>(aMessage.GetOffset() + headerOffset, 0); in UpdateMessageChecksum()
Dtcp6_ext.hpp86 …Error Write(Tcp::Endpoint &aEndpoint, const void *aData, size_t aLength, size_t &aWritten, uint32_…
Dip6.cpp260 aMessage.Write(0, hbh); in InsertMplOption()
381 aMessage.Write(sizeof(ip6Header), hbh); in RemoveMplOption()
385 aMessage.Write(0, ip6Header); in RemoveMplOption()
592 fragment->Write(0, header); in FragmentDatagram()
595 fragment->Write(aMessage.GetOffset(), fragmentHeader); in FragmentDatagram()
704 message->Write(0, header); in HandleFragment()
1026 messagePtr->Write<uint8_t>(Header::kHopLimitFieldOffset, 1); in PassToHost()
1203 aMessagePtr->Write<uint8_t>(Header::kHopLimitFieldOffset, header.GetHopLimit()); in HandleDatagram()
Dtcp6_ext.cpp52 Error TcpCircularSendBuffer::Write(Tcp::Endpoint &aEndpoint, in Write() function in ot::Ip6::TcpCircularSendBuffer
Dnat64_translator.cpp420 aMessage.Write(0, icmp6Header); in TranslateIcmp4()
450 aMessage.Write(0, icmp4Header); in TranslateIcmp6()
/openthread-latest/tests/unit/
Dtest_checksum.cpp170 aMessage.Write(byteOffset, byte); in CorruptMessage()
198 message->Write(0, udpHeader); in TestUdpMessageChecksum()
266 message->Write(0, icmp6Header); in TestIcmp6MessageChecksum()
339 message->Write(0, tcpHeader); in TestTcp4MessageChecksum()
395 message->Write(0, udpHeader); in TestUdp4MessageChecksum()
Dtest_dataset.cpp123 SuccessOrQuit(dataset.Write<PanIdTlv>(0xcafe)); in TestDataset()
139 SuccessOrQuit(dataset.Write<NetworkKeyTlv>(AsCoreType(&kNewNetworkKey))); in TestDataset()
Dtest_spinel_buffer.cpp182 message->Write(0, sMottoText); in WriteTestFrame1()
226 message1->Write(0, sMysteryText); in WriteTestFrame2()
231 message2->Write(0, sHelloText); in WriteTestFrame2()
532 message->Write(0, sMysteryText); in TestBuffer()
737 message->Write(0, sMysteryText); in TestBuffer()
/openthread-latest/src/posix/platform/
Dhdlc_interface.hpp198 otError Write(const uint8_t *aFrame, uint16_t aLength);
Dhdlc_interface.cpp222 error = Write(encoderBuffer.GetFrame(), encoderBuffer.GetLength()); in SendFrame()
234 otError HdlcInterface::Write(const uint8_t *aFrame, uint16_t aLength) in Write() function in ot::Posix::HdlcInterface
/openthread-latest/third_party/mbedtls/repo/ChangeLog.d/
D00README.md8 Write a changelog entry if there is a user-visible change. This includes:
69 Write full English sentences with proper capitalization and punctuation. Use
/openthread-latest/src/core/api/
Dtcp_ext_api.cpp64 return AsCoreType(aSendBuffer).Write(AsCoreType(aEndpoint), aData, aLength, *aWritten, aFlags); in otTcpCircularSendBufferWrite()
/openthread-latest/src/core/thread/
Denergy_scan_server.cpp182 mReportMessage->Write(offset, mNumScanResults); in SendReport()
Dlowpan.cpp414 aFrameBuilder.Write<uint16_t>(hcCtlOffset, BigEndian::HostSwap16(hcCtl)); in Compress()
1022 aMessage.Write(currentOffset + Ip6::Header::kPayloadLengthFieldOffset, ip6PayloadLength); in Decompress()
1067 aMessage.Write(aOffset, byte); in MarkCompressedEcn()

12