Home
last modified time | relevance | path

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

/openthread-3.5.0/src/lib/spinel/
Dmulti_frame_buffer.hpp90 : OT_ERROR_NO_BUFS; in WriteByte()
235 otError error = OT_ERROR_NO_BUFS; in SetLength()
266 otError error = OT_ERROR_NO_BUFS; in SetSkipLength()
322 error = OT_ERROR_NO_BUFS; in SaveFrame()
Dspinel_encoder.cpp269 …ckedLen > 0) && (packedLen <= static_cast<spinel_ssize_t>(sizeof(buf))), error = OT_ERROR_NO_BUFS); in WritePacked()
286 …ckedLen > 0) && (packedLen <= static_cast<spinel_ssize_t>(sizeof(buf))), error = OT_ERROR_NO_BUFS); in WriteVPacked()
Dradio_spinel_impl.hpp92 ret = OT_ERROR_NO_BUFS; in SpinelStatusToOtError()
1553 …erifyOrExit(packed > 0 && static_cast<size_t>(packed) <= sizeof(buffer), error = OT_ERROR_NO_BUFS); in SendReset()
1578 …erifyOrExit(packed > 0 && static_cast<size_t>(packed) <= sizeof(buffer), error = OT_ERROR_NO_BUFS); in SendCommand()
1586 …it(packed > 0 && static_cast<size_t>(packed + offset) <= sizeof(buffer), error = OT_ERROR_NO_BUFS); in SendCommand()
1994 …erifyOrExit(packed > 0 && static_cast<size_t>(packed) <= sizeof(buffer), error = OT_ERROR_NO_BUFS); in CalcRcpTimeOffset()
Dspinel_buffer.cpp241 error = OT_ERROR_NO_BUFS; in InFrameAppend()
/openthread-3.5.0/src/posix/platform/
Dresolver.cpp123 VerifyOrExit(length <= kMaxDnsMessageSize, error = OT_ERROR_NO_BUFS); in Query()
124 …erifyOrExit(otMessageRead(aQuery, 0, &packet, sizeof(packet)) == length, error = OT_ERROR_NO_BUFS); in Query()
127 VerifyOrExit(txn != nullptr, error = OT_ERROR_NO_BUFS); in Query()
197 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in ForwardResponse()
Dinfra_if.cpp674 VerifyOrExit(hints != nullptr, error = OT_ERROR_NO_BUFS); in DiscoverNat64Prefix()
680 VerifyOrExit(reqs[0] != nullptr, error = OT_ERROR_NO_BUFS); in DiscoverNat64Prefix()
Dnetif.cpp718 VerifyOrExit(sAddedOmrRoutesNum < kMaxOmrRoutesNum, error = OT_ERROR_NO_BUFS); in AddOmrRoute()
783 VerifyOrExit(sAddedExternalRoutesNum < kMaxExternalRoutesNum, error = OT_ERROR_NO_BUFS); in AddExternalRoute()
1000 …OrExit(otMessageRead(aMessage, 0, &packet[offset], maxLength) == length, error = OT_ERROR_NO_BUFS); in processReceive()
1134 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in processTransmit()
Dspi_interface.cpp802 VerifyOrExit(aLength < (kMaxFrameSize - kSpiFrameHeaderSize), error = OT_ERROR_NO_BUFS); in SendFrame()
/openthread-3.5.0/src/lib/hdlc/
Dhdlc.cpp139 VerifyOrExit(mWritePointer.CanWrite(2), error = OT_ERROR_NO_BUFS); in Encode()
277 mFrameHandler(mContext, OT_ERROR_NO_BUFS); in Decode()
297 mFrameHandler(mContext, OT_ERROR_NO_BUFS); in Decode()
/openthread-3.5.0/include/openthread/
Derror.h78 OT_ERROR_NO_BUFS = 3, enumerator
/openthread-3.5.0/tests/fuzz/
Dip6_send.cpp86 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in LLVMFuzzerTestOneInput()
/openthread-3.5.0/examples/platforms/utils/
Dsoft_source_match_table.c118 …ECT_ACTION(entry >= 0 && entry < RADIO_CONFIG_SRC_MATCH_SHORT_ENTRY_NUM, error = OT_ERROR_NO_BUFS); in otPlatRadioAddSrcMatchShortEntry()
230 …XPECT_ACTION(entry >= 0 && entry < RADIO_CONFIG_SRC_MATCH_EXT_ENTRY_NUM, error = OT_ERROR_NO_BUFS); in otPlatRadioAddSrcMatchExtEntry()
Dlink_metrics.cpp204 VerifyOrExit(dataInfo != nullptr, error = OT_ERROR_NO_BUFS); in otLinkMetricsConfigureEnhAckProbing()
Dsettings_ram.c178 error = OT_ERROR_NO_BUFS; in otPlatSettingsAdd()
/openthread-3.5.0/src/core/common/
Derror.hpp59 constexpr Error kErrorNoBufs = OT_ERROR_NO_BUFS;
/openthread-3.5.0/src/cli/
Dcli_coap.cpp88 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in CancelResourceSubscription()
218 VerifyOrExit(notificationMessage != nullptr, error = OT_ERROR_NO_BUFS); in Process()
442 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in ProcessRequest()
725 VerifyOrExit(responseMessage != nullptr, error = OT_ERROR_NO_BUFS); in HandleRequest()
Dcli_srp_client.cpp201 VerifyOrExit(numAddresses < arrayLength, error = OT_ERROR_NO_BUFS); in Process()
359 VerifyOrExit(entry != nullptr, error = OT_ERROR_NO_BUFS); in ProcessServiceAdd()
396 VerifyOrExit(label == nullptr, error = OT_ERROR_NO_BUFS); in ProcessServiceAdd()
Dcli_coap_secure.cpp286 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in ProcessRequest()
576 VerifyOrExit(responseMessage != nullptr, error = OT_ERROR_NO_BUFS); in HandleRequest()
671 VerifyOrExit(responseMessage != nullptr, error = OT_ERROR_NO_BUFS); in DefaultHandler()
Dcli_udp.cpp156 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in Process()
Dcli_commissioner.cpp203 VerifyOrExit(static_cast<size_t>(length) < sizeof(tlvs), error = OT_ERROR_NO_BUFS); in Process()
/openthread-3.5.0/tests/unit/
Dtest_hdlc.cpp122 VerifyOrQuit(frameBuffer.WriteByte(0) == OT_ERROR_NO_BUFS, "did not fail with full buffer"); in TestHdlcFrameBuffer()
389 …(frameBuffer.SetSkipLength(kBufferSize - (kFrameHeaderSize - 1)) == OT_ERROR_NO_BUFS, "after Clear… in TestSpinelMultiFrameBuffer()
429 …VerifyOrQuit(frameBuffer.SetLength(kBufferSize - (kFrameHeaderSize - 1)) == OT_ERROR_NO_BUFS, "aft… in TestSpinelMultiFrameBuffer()
549 VerifyOrQuit(encoder.Encode(&byte, sizeof(uint8_t)) == OT_ERROR_NO_BUFS, in TestEncoderDecoder()
Dtest_spinel_buffer.cpp723 VerifyOrQuit(ncpBuffer.InFrameFeedData(buffer, sizeof(buffer)) == OT_ERROR_NO_BUFS); in TestBuffer()
/openthread-3.5.0/src/ncp/
Dncp_base.cpp92 case OT_ERROR_NO_BUFS: in ThreadErrorToSpinelStatus()
491 VerifyOrExit(IsResponseQueueEmpty(), error = OT_ERROR_NO_BUFS); in StreamWrite()
499 if (error == OT_ERROR_NO_BUFS) in StreamWrite()
656 VerifyOrExit(IsResponseQueueEmpty(), error = OT_ERROR_NO_BUFS); in Log()
667 if (error == OT_ERROR_NO_BUFS) in Log()
727 ExitNow(error = OT_ERROR_NO_BUFS); in EnqueueResponse()
Dncp_base_radio.cpp457 VerifyOrExit(frame != nullptr, error = OT_ERROR_NO_BUFS); in HandlePropertySet_SPINEL_PROP_STREAM_RAW()
Dncp_base_mtd.cpp330 VerifyOrExit(addressesCount < Ip6AddressesTlv::kMaxAddresses, error = OT_ERROR_NO_BUFS); in HandlePropertySet()
2268 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in HandlePropertySet()
3302 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in HandlePropertySet()
3784 VerifyOrExit(numAddresses < kSrpClientMaxHostAddresses, error = OT_ERROR_NO_BUFS); in HandlePropertySet()
3841 VerifyOrExit(entry != nullptr, error = OT_ERROR_NO_BUFS); in HandlePropertyInsert()
3962 case OT_ERROR_NO_BUFS: in SrpClientErrorToSpinelError()
4408 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in HandlePropertySet()