Home
last modified time | relevance | path

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

12

/openthread-latest/src/lib/spinel/
Dmulti_frame_buffer.hpp88 : OT_ERROR_NO_BUFS; in WriteByte()
233 otError error = OT_ERROR_NO_BUFS; in SetLength()
264 otError error = OT_ERROR_NO_BUFS; in SetSkipLength()
320 error = OT_ERROR_NO_BUFS; in SaveFrame()
Dspinel_driver.cpp112 EXPECT(packed > 0 && static_cast<size_t>(packed) <= sizeof(buffer), error = OT_ERROR_NO_BUFS); in SendReset()
190 EXPECT(packed > 0 && static_cast<size_t>(packed) <= sizeof(buffer), error = OT_ERROR_NO_BUFS); in SendCommand()
216 EXPECT(packed > 0 && static_cast<size_t>(packed) <= sizeof(buffer), error = OT_ERROR_NO_BUFS); in SendCommand()
224 …CT(packed > 0 && static_cast<size_t>(packed + offset) <= sizeof(buffer), error = OT_ERROR_NO_BUFS); in SendCommand()
Dspinel_helper.cpp58 ret = OT_ERROR_NO_BUFS; in SpinelStatusToOtError()
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()
Dspinel_driver.hpp265 return IsFull() ? OT_ERROR_NO_BUFS : (mElements[mLength++] = aEntry, OT_ERROR_NONE); in PushBack()
Dspinel_buffer.cpp242 error = OT_ERROR_NO_BUFS; in InFrameAppend()
/openthread-latest/src/lib/hdlc/
Dhdlc.cpp139 EXPECT(mWritePointer.CanWrite(2), error = OT_ERROR_NO_BUFS); in Encode()
284 mFrameHandler(mContext, OT_ERROR_NO_BUFS); in Decode()
304 mFrameHandler(mContext, OT_ERROR_NO_BUFS); in Decode()
/openthread-latest/src/posix/platform/
Dresolver.cpp130 VerifyOrExit(length <= kMaxDnsMessageSize, error = OT_ERROR_NO_BUFS); in Query()
131 …erifyOrExit(otMessageRead(aQuery, 0, &packet, sizeof(packet)) == length, error = OT_ERROR_NO_BUFS); in Query()
134 VerifyOrExit(txn != nullptr, error = OT_ERROR_NO_BUFS); in Query()
204 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in ForwardResponse()
Dinfra_if.cpp763 VerifyOrExit(hints != nullptr, error = OT_ERROR_NO_BUFS); in DiscoverNat64Prefix()
769 VerifyOrExit(reqs[0] != nullptr, error = OT_ERROR_NO_BUFS); in DiscoverNat64Prefix()
Dnetif.cpp784 VerifyOrExit(sAddedOmrRoutesNum < kMaxOmrRoutesNum, error = OT_ERROR_NO_BUFS); in AddOmrRoute()
847 VerifyOrExit(sAddedExternalRoutesNum < kMaxExternalRoutesNum, error = OT_ERROR_NO_BUFS); in AddExternalRoute()
1072 …OrExit(otMessageRead(aMessage, 0, &packet[offset], maxLength) == length, error = OT_ERROR_NO_BUFS); in processReceive()
1246 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in processTransmit()
/openthread-latest/src/cli/
Dcli_mdns.cpp247 VerifyOrExit(host.mAddressesLength < kMaxAddresses, error = OT_ERROR_NO_BUFS); in ProcessRegisterHost()
308 VerifyOrExit(len + 1 < kStringSize, error = OT_ERROR_NO_BUFS); in ParseServiceArgs()
322 VerifyOrExit(aService.mSubTypeLabelsLength < kMaxSubTypes, error = OT_ERROR_NO_BUFS); in ParseServiceArgs()
502 VerifyOrExit(iterator != nullptr, error = OT_ERROR_NO_BUFS); in Process()
539 VerifyOrExit(iterator != nullptr, error = OT_ERROR_NO_BUFS); in Process()
576 VerifyOrExit(iterator != nullptr, error = OT_ERROR_NO_BUFS); in Process()
896 VerifyOrExit(iterator != nullptr, error = OT_ERROR_NO_BUFS); in Process()
942 VerifyOrExit(iterator != nullptr, error = OT_ERROR_NO_BUFS); in Process()
981 VerifyOrExit(iterator != nullptr, error = OT_ERROR_NO_BUFS); in Process()
1020 VerifyOrExit(iterator != nullptr, error = OT_ERROR_NO_BUFS); in Process()
[all …]
Dcli_coap.cpp88 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in CancelResourceSubscription()
260 VerifyOrExit(notificationMessage != nullptr, error = OT_ERROR_NO_BUFS); in Process()
674 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in ProcessRequest()
970 VerifyOrExit(responseMessage != nullptr, error = OT_ERROR_NO_BUFS); in HandleRequest()
Dcli_srp_client.cpp362 VerifyOrExit(numAddresses < arrayLength, error = OT_ERROR_NO_BUFS); in Process()
691 VerifyOrExit(entry != nullptr, error = OT_ERROR_NO_BUFS); in ProcessServiceAdd()
728 VerifyOrExit(label == nullptr, error = OT_ERROR_NO_BUFS); in ProcessServiceAdd()
Dcli_coap_secure.cpp526 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in ProcessRequest()
875 VerifyOrExit(responseMessage != nullptr, error = OT_ERROR_NO_BUFS); in HandleRequest()
970 VerifyOrExit(responseMessage != nullptr, error = OT_ERROR_NO_BUFS); in DefaultHandler()
Dcli_udp.cpp287 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in Process()
Dcli_commissioner.cpp319 VerifyOrExit(static_cast<size_t>(length) < sizeof(tlvs), error = OT_ERROR_NO_BUFS); in Process()
/openthread-latest/include/openthread/
Derror.h78 OT_ERROR_NO_BUFS = 3, enumerator
/openthread-latest/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()
Dsettings_ram.c178 error = OT_ERROR_NO_BUFS; in otPlatSettingsAdd()
Dlink_metrics.cpp208 VerifyOrExit(dataInfo != nullptr, error = OT_ERROR_NO_BUFS); in otLinkMetricsConfigureEnhAckProbing()
/openthread-latest/tests/fuzz/
Dip6_send.cpp86 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in LLVMFuzzerTestOneInput()
/openthread-latest/src/core/common/
Derror.hpp59 constexpr Error kErrorNoBufs = OT_ERROR_NO_BUFS;
/openthread-latest/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()
550 VerifyOrQuit(encoder.Encode(&byte, sizeof(uint8_t)) == OT_ERROR_NO_BUFS, in TestEncoderDecoder()
/openthread-latest/src/ncp/
Dncp_base.cpp129 case OT_ERROR_NO_BUFS: in ThreadErrorToSpinelStatus()
577 VerifyOrExit(IsResponseQueueEmpty(), error = OT_ERROR_NO_BUFS); in StreamWrite()
585 if (error == OT_ERROR_NO_BUFS) in StreamWrite()
742 VerifyOrExit(IsResponseQueueEmpty(), error = OT_ERROR_NO_BUFS); in Log()
753 if (error == OT_ERROR_NO_BUFS) in Log()
814 ExitNow(error = OT_ERROR_NO_BUFS); in EnqueueResponse()
Dncp_base_mtd.cpp330 VerifyOrExit(addressesCount < Ip6AddressesTlv::kMaxAddresses, error = OT_ERROR_NO_BUFS); in HandlePropertySet()
2371 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in HandlePropertySet()
3406 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in HandlePropertySet()
3889 VerifyOrExit(numAddresses < kSrpClientMaxHostAddresses, error = OT_ERROR_NO_BUFS); in HandlePropertySet()
3946 VerifyOrExit(entry != nullptr, error = OT_ERROR_NO_BUFS); in HandlePropertyInsert()
4067 case OT_ERROR_NO_BUFS: in SrpClientErrorToSpinelError()
4513 VerifyOrExit(message != nullptr, error = OT_ERROR_NO_BUFS); in HandlePropertySet()

12