Home
last modified time | relevance | path

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

12

/openthread-2.7.6/src/core/utils/
Dflash.cpp49 otPlatFlashInit(&GetInstance()); in Init()
51 mSwapSize = otPlatFlashGetSwapSize(&GetInstance()); in Init()
63 otPlatFlashRead(&GetInstance(), mSwapIndex, 0, &swapMarker, sizeof(swapMarker)); in Init()
73 otPlatFlashRead(&GetInstance(), mSwapIndex, mSwapUsed, &record, sizeof(record)); in Init()
103 otPlatFlashRead(&GetInstance(), mSwapIndex, offset, &temp, sizeof(temp)); in SanitizeFreeSpace()
127 otPlatFlashRead(&GetInstance(), mSwapIndex, offset, &record, sizeof(record)); in Get()
150 … otPlatFlashRead(&GetInstance(), mSwapIndex, offset + sizeof(record), aValue, readLength); in Get()
196 otPlatFlashWrite(&GetInstance(), mSwapIndex, mSwapUsed, &record, record.GetSize()); in Add()
199 otPlatFlashWrite(&GetInstance(), mSwapIndex, mSwapUsed, &record, sizeof(RecordHeader)); in Add()
214 otPlatFlashRead(&GetInstance(), mSwapIndex, aOffset, &record, sizeof(record)); in DoesValidRecordExist()
[all …]
Dslaac_address.cpp98 return (mFilter != nullptr) && mFilter(&GetInstance(), &aPrefix); in ShouldFilter()
/openthread-2.7.6/src/core/radio/
Dtrel_interface.cpp60 otPlatTrelUdp6Init(&GetInstance(), &ip6Address, kUdpPort); in Init()
63 otPlatTrelUdp6SubscribeMulticastAddress(&GetInstance(), &ip6Address); in Init()
75 otPlatTrelUdp6UpdateAddress(&GetInstance(), &ip6Address); in HandleExtAddressChange()
97 …return otPlatTrelUdp6SendTo(&GetInstance(), aPacket.GetBuffer(), aPacket.GetLength(), &destIp6Addr… in Send()
/openthread-2.7.6/src/core/common/
Dlocator_getters.hpp55 return GetInstance(); in Get()
63 return GetInstance().Get<Type>(); in Get()
Dlocator.hpp84 Instance &GetInstance(void) const { return *mInstance; } in GetInstance() function in ot::InstanceLocator
86 Instance &GetInstance(void) const { return *reinterpret_cast<Instance *>(&gInstanceRaw); }
Dtasklet.cpp57 otTaskletsSignalPending(&aTasklet.GetInstance()); in PostTasklet()
Dtimer.cpp167 aAlarmApi.AlarmStop(&GetInstance()); in SetAlarm()
177 aAlarmApi.AlarmStartAt(&GetInstance(), now.GetValue(), remaining); in SetAlarm()
Dmessage.cpp63 otPlatMessagePoolInit(&GetInstance(), kNumBuffers, sizeof(Buffer)); in MessagePool()
120 buffer = static_cast<Buffer *>(otPlatMessagePoolNew(&GetInstance())) in NewBuffer()
152 otPlatMessagePoolFree(&GetInstance(), aBuffer); in FreeBuffers()
171 rval = static_cast<uint16_t>(GetInstance().GetHeap().GetFreeSize() / sizeof(Buffer)); in GetFreeBufferCount()
173 rval = otPlatMessagePoolNumFreeBuffers(&GetInstance()); in GetFreeBufferCount()
184 return static_cast<uint16_t>(GetInstance().GetHeap().GetCapacity() / sizeof(Buffer)); in GetTotalBufferCount()
Dsettings.hpp973 …ChildInfoIteratorBuilder IterateChildInfo(void) { return ChildInfoIteratorBuilder(GetInstance()); } in IterateChildInfo()
1096 ChildInfoIterator begin(void) { return ChildInfoIterator(GetInstance()); } in begin()
1097 …ChildInfoIterator end(void) { return ChildInfoIterator(GetInstance(), ChildInfoIterator::kEndItera… in end()
Dsettings_driver.hpp245 …InstancePtr(void) const { return reinterpret_cast<otInstance *>(&InstanceLocator::GetInstance()); } in GetInstancePtr()
/openthread-2.7.6/src/core/net/
Dtcp6.cpp78 Instance &Tcp::Endpoint::GetInstance(void) in GetInstance() function in ot::Ip6::Tcp::Endpoint
160 Tcp &tcp = GetInstance().Get<Tcp>(); in Deinitialize()
202 GetInstance().Get<Tcp>().mTimer.FireAtIfEarlier(newFireTime); in SetTimer()
274 Instance &Tcp::Listener::GetInstance(void) in GetInstance() function in ot::Ip6::Tcp::Listener
295 Tcp &tcp = GetInstance().Get<Tcp>(); in Deinitialize()
327 OT_ASSERT(&aTimer == &aTimer.GetInstance().Get<Tcp>().mTimer); in HandleTimer()
329 aTimer.GetInstance().Get<Tcp>().ProcessTimers(); in HandleTimer()
Dtcp6.hpp107 Instance &GetInstance(void);
386 Instance &GetInstance(void);
/openthread-2.7.6/src/core/thread/
Dchild_table.hpp249 …IteratorBuilder Iterate(Child::StateFilter aFilter) { return IteratorBuilder(GetInstance(), aFilte… in Iterate()
318 Iterator begin(void) { return Iterator(GetInstance(), mFilter); } in begin()
319 Iterator end(void) { return Iterator(GetInstance()); } in end()
Drouter_table.hpp341 IteratorBuilder Iterate(void) { return IteratorBuilder(GetInstance()); } in Iterate()
352 Iterator begin(void) { return Iterator(GetInstance()); } in begin()
353 Iterator end(void) { return Iterator(GetInstance(), Iterator::kEndIterator); } in end()
Dcsl_tx_scheduler.cpp74 uint32_t busSpeedHz = otPlatRadioGetBusSpeed(&GetInstance()); in InitFrameRequestAhead()
154 uint64_t radioNow = otPlatRadioGetNow(&GetInstance()); in GetNextCslTransmissionDelay()
Dnetwork_data_local.cpp62 VerifyOrExit(aConfig.IsValid(GetInstance())); in AddOnMeshPrefix()
80 VerifyOrExit(aConfig.IsValid(GetInstance())); in AddHasRoutePrefix()
Dtopology.cpp280 Instance &instance = GetInstance(); in Clear()
509 Instance &instance = GetInstance(); in Clear()
/openthread-2.7.6/src/core/backbone_router/
Dndproxy_table.hpp278 Iterator begin(void) { return Iterator(GetInstance(), mFilter); } in begin()
279 Iterator end(void) { return Iterator(GetInstance(), Iterator::kEndIterator); } in end()
284 IteratorBuilder Iterate(Filter aFilter) { return IteratorBuilder(GetInstance(), aFilter); } in Iterate()
Dndproxy_table.cpp96 NdProxyTable &table = GetInstance().Get<BackboneRouter::NdProxyTable>(); in Iterator()
109 NdProxyTable &table = GetInstance().Get<BackboneRouter::NdProxyTable>(); in Iterator()
115 NdProxyTable &table = GetInstance().Get<BackboneRouter::NdProxyTable>(); in Advance()
Dmulticast_listeners_table.hpp161 IteratorBuilder Iterate(void) { return IteratorBuilder(GetInstance()); } in Iterate()
/openthread-2.7.6/src/core/diags/
Dfactory_diags.cpp232 otPlatAlarmMilliStop(&GetInstance());
252 otPlatAlarmMilliStartAt(&GetInstance(), now, mTxPeriod);
301 otPlatAlarmMilliStop(&GetInstance());
350 otPlatAlarmMilliStop(&GetInstance());
452 otPlatAlarmMilliStartAt(&GetInstance(), now, mTxPeriod);
456 otPlatDiagAlarmCallback(&GetInstance());
477 otPlatDiagRadioReceived(&GetInstance(), aFrame, aError);
605 error = otPlatDiagProcess(&GetInstance(), aArgsLength, aArgs, aOutput, aOutputMaxLen); in ProcessCmd()
/openthread-2.7.6/src/core/mac/
Dlink_raw.cpp172 mReceiveDoneCallback(&GetInstance(), aFrame, aError); in InvokeReceiveDone()
195 mTransmitDoneCallback(&GetInstance(), &aFrame, aAckFrame, aError); in InvokeTransmitDone()
217 mEnergyScanDoneCallback(&GetInstance(), aEnergyScanMaxRssi); in InvokeEnergyScanDone()
Dsub_mac.cpp379 if (Time(static_cast<uint32_t>(otPlatRadioGetNow(&GetInstance()))) < in StartCsmaBackoff()
515 mCslLastSync = TimeMicro(static_cast<uint32_t>(otPlatRadioGetNow(&GetInstance()))); in HandleTransmitDone()
961 mCslSampleTime = TimeMicro(static_cast<uint32_t>(otPlatRadioGetNow(&GetInstance()))); in SetCslPeriod()
1060 uint64_t curTime = otPlatRadioGetNow(&GetInstance()); in GetCslWindowEdges()
/openthread-2.7.6/src/core/api/
Dtcp_api.cpp56 return &endpoint.GetInstance(); in otTcpEndpointGetInstance()
161 return &listener.GetInstance(); in otTcpListenerGetInstance()
/openthread-2.7.6/src/core/meshcop/
Ddataset_manager.cpp105 IgnoreError(dataset.ApplyConfiguration(GetInstance())); in Restore()
120 SuccessOrExit(error = dataset.ApplyConfiguration(GetInstance())); in ApplyConfiguration()
156 SuccessOrExit(error = aDataset.ApplyConfiguration(GetInstance(), &isNetworkkeyUpdated)); in Save()

12