Home
last modified time | relevance | path

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

12345678910>>...12

/openthread-3.7.0/src/core/instance/
Dinstance.hpp167 class Instance : public otInstance, private NonCopyable class
191 static Instance *Init(void *aBuffer, size_t *aBufferSize);
205 static Instance *InitMultiple(uint8_t aIdx);
215 static Instance &Get(uint8_t aIdx);
225 static uint8_t GetIdx(Instance *aInstance);
239 static Instance &InitSingle(void);
247 static Instance &Get(void);
439 Instance(void);
741 DefineCoreType(otInstance, Instance);
742 DefineCoreType(otBufferInfo, Instance::BufferInfo);
[all …]
Dinstance.cpp47 OT_DEFINE_ALIGNED_VAR(gInstanceRaw, sizeof(Instance), uint64_t);
53 #define INSTANCE_SIZE_ALIGNED OT_ALIGNED_VAR_SIZE(sizeof(ot::Instance), uint64_t)
64 Utils::Heap *Instance::sHeap{nullptr};
67 bool Instance::sDnsNameCompressionEnabled = true;
72 LogLevel Instance::sLogLevel = static_cast<LogLevel>(OPENTHREAD_CONFIG_LOG_LEVEL_INIT);
75 Instance::Instance(void) in Instance() function in ot::Instance
284 Utils::Heap &Instance::GetHeap(void) in GetHeap()
297 Instance &Instance::InitSingle(void) in InitSingle()
299 Instance *instance = &Get(); in InitSingle()
303 instance = new (&gInstanceRaw) Instance(); in InitSingle()
[all …]
Dextension.hpp84 static ExtensionBase &Init(Instance &aInstance);
115 explicit ExtensionBase(Instance &aInstance) in ExtensionBase()
Dextension_example.cpp53 explicit Extension(Instance &aInstance) in Extension()
67 ExtensionBase &ExtensionBase::Init(Instance &aInstance) in Init()
/openthread-3.7.0/src/core/common/
Dlocator.hpp45 class Instance;
116 Instance &GetInstance(void) const { return *mInstance; } in GetInstance()
118 Instance &GetInstance(void) const { return *reinterpret_cast<Instance *>(&gInstanceRaw); }
128 explicit InstanceLocator(Instance &aInstance) in InstanceLocator()
140 Instance *mInstance;
174 void Init(Instance &aInstance) in Init()
Dtimer.hpp181 explicit Scheduler(Instance &aInstance) in Scheduler()
195 Timer(Instance &aInstance, Handler aHandler) in Timer()
235 explicit Scheduler(Instance &aInstance) in Scheduler()
256 TimerMilli(Instance &aInstance, Handler aHandler) in TimerMilli()
329 static void RemoveAll(Instance &aInstance);
350 explicit TimerMilliIn(Instance &aInstance) in TimerMilliIn()
379 TimerMilliContext(Instance &aInstance, Handler aHandler, void *aContext) in TimerMilliContext()
424 explicit Scheduler(Instance &aInstance) in Scheduler()
445 TimerMicro(Instance &aInstance, Handler aHandler) in TimerMicro()
490 static void RemoveAll(Instance &aInstance);
[all …]
Dtasklet.hpp119 Tasklet(Instance &aInstance, Handler aHandler) in Tasklet()
168 explicit TaskletIn(Instance &aInstance) in TaskletIn()
197 TaskletContext(Instance &aInstance, Handler aHandler, void *aContext) in TaskletContext()
Dheap.cpp49 void *CAlloc(size_t aCount, size_t aSize) { return Instance::GetHeap().CAlloc(aCount, aSize); }
51 void Free(void *aPointer) { Instance::GetHeap().Free(aPointer); }
/openthread-3.7.0/src/ncp/
Dexample_vendor_hook.cpp140 NcpVendorUart(ot::Instance *aInstance) in NcpVendorUart()
145 NcpVendorUart(ot::Instance **aInstances, uint8_t count) in NcpVendorUart()
159 ot::Instance *instance = static_cast<ot::Instance *>(aInstance); in otAppNcpInit()
172 ot::Instance *instances[SPINEL_HEADER_IID_MAX]; in otAppNcpInitMulti()
180 instances[i] = static_cast<ot::Instance *>(aInstances[i]); in otAppNcpInitMulti()
Dncp_hdlc.cpp70 Instance *instance = static_cast<Instance *>(aInstance); in otNcpHdlcInit()
85 ot::Instance *instances[SPINEL_HEADER_IID_MAX]; in otNcpHdlcInitMulti()
93 instances[i] = static_cast<ot::Instance *>(aInstances[i]); in otNcpHdlcInitMulti()
107 NcpHdlc::NcpHdlc(Instance *aInstance, otNcpHdlcSendCallback aSendCallback) in NcpHdlc()
125 NcpHdlc::NcpHdlc(Instance **aInstances, uint8_t aCount, otNcpHdlcSendCallback aSendCallback) in NcpHdlc()
Dncp_base.hpp102 explicit NcpBase(Instance *aInstance);
112 explicit NcpBase(Instance **aInstances, uint8_t aCount);
136 uint8_t InstanceToIid(Instance *aInstance);
151 Instance *IidToInstance(uint8_t aIid);
343 return sNcpInstance->InstanceToIid(static_cast<Instance *>(aInstance)); in GetNcpBaseIid()
630 Instance *mInstance;
632 Instance *mInstances[kSpinelInterfaceCount];
/openthread-3.7.0/src/core/net/
Dmdns.hpp102 explicit Core(Instance &aInstance);
829 void InvokeAndClear(Instance &aInstance, Error aError);
1000 void Init(Instance &aInstance);
1053 … Error Init(Instance &aInstance, const Host &aHost) { return Init(aInstance, aHost.mHostName); } in Init()
1054 Error Init(Instance &aInstance, const Key &aKey) { return Init(aInstance, aKey.mName); } in Init()
1077 Error Init(Instance &aInstance, const char *aName);
1109 Error Init(Instance &aInstance, const Service &aService);
1110 Error Init(Instance &aInstance, const Key &aKey);
1150 Error Init(Instance &aInstance, const char *aServiceInstance, const char *aServiceType);
1208 Error Init(Instance &aInstance, const char *aServiceType);
[all …]
Dtcp6.hpp119 Error Initialize(Instance &aInstance, const otTcpEndpointInitializeArgs &aArgs);
130 Instance &GetInstance(void) const;
437 Error Initialize(Instance &aInstance, const otTcpListenerInitializeArgs &aArgs);
448 Instance &GetInstance(void) const;
628 explicit Tcp(Instance &aInstance);
/openthread-3.7.0/src/core/api/
Dinstance_api.cpp64 Instance *instance; in otInstanceInitMultiple()
66 instance = Instance::InitMultiple(aIdx); in otInstanceInitMultiple()
73 Instance *instance; in otInstanceInit()
75 instance = Instance::Init(aInstanceBuffer, aInstanceBufferSize); in otInstanceInit()
80 otInstance *otInstanceInitSingle(void) { return &Instance::InitSingle(); } in otInstanceInitSingle()
Dlink_raw_api.cpp69 Instance &instance = AsCoreType(aInstance); in otLinkRawSetPromiscuous()
81 Instance &instance = AsCoreType(aInstance); in otLinkRawSleep()
118 Instance &instance = AsCoreType(aInstance); in otLinkRawSrcMatchEnable()
131 Instance &instance = AsCoreType(aInstance); in otLinkRawSrcMatchAddShortEntry()
145 Instance &instance = AsCoreType(aInstance); in otLinkRawSrcMatchAddExtEntry()
161 Instance &instance = AsCoreType(aInstance); in otLinkRawSrcMatchClearShortEntry()
174 Instance &instance = AsCoreType(aInstance); in otLinkRawSrcMatchClearExtEntry()
190 Instance &instance = AsCoreType(aInstance); in otLinkRawSrcMatchClearShortEntries()
203 Instance &instance = AsCoreType(aInstance); in otLinkRawSrcMatchClearExtEntries()
/openthread-3.7.0/src/core/utils/
Dlink_metrics_manager.hpp140 Error ConfigureEap(Instance &aInstance);
141 Error UnregisterEap(Instance &aInstance);
142 Error UpdateState(Instance &aInstance);
152 explicit LinkMetricsManager(Instance &aInstance);
/openthread-3.7.0/tests/unit/
Dtest_mle.cpp43 Instance *instance; in TestDefaultDeviceProperties()
47 instance = static_cast<Instance *>(testInitInstance()); in TestDefaultDeviceProperties()
158 Instance *instance; in TestLeaderWeightCalculation()
160 instance = static_cast<Instance *>(testInitInstance()); in TestLeaderWeightCalculation()
Dtest_pskc.cpp50 Instance *instance = testInitInstance(); in TestMinimumPassphrase()
84 Instance *instance = testInitInstance(); in TestMaximumPassphrase()
102 Instance *instance = testInitInstance(); in TestExampleInSpec()
Dtest_checksum.cpp181 Instance *instance = static_cast<Instance *>(testInitInstance()); in TestUdpMessageChecksum()
249 Instance *instance = static_cast<Instance *>(testInitInstance()); in TestIcmp6MessageChecksum()
321 Instance *instance = static_cast<Instance *>(testInitInstance()); in TestTcp4MessageChecksum()
376 Instance *instance = static_cast<Instance *>(testInitInstance()); in TestUdp4MessageChecksum()
429 Instance *instance = static_cast<Instance *>(testInitInstance()); in TestIcmp4MessageChecksum()
Dtest_platform.h52 ot::Instance *testInitInstance(void);
54 ot::Instance *testInitAdditionalInstance(uint8_t id);
/openthread-3.7.0/src/core/thread/
Dchild_table.hpp76 Iterator(Instance &aInstance, Child::StateFilter aFilter);
93 explicit Iterator(Instance &aInstance) in Iterator()
110 explicit ChildTable(Instance &aInstance);
329 IteratorBuilder(Instance &aInstance, Child::StateFilter aFilter) in IteratorBuilder()
Dtmf.hpp81 explicit MessageInfo(Instance &aInstance) in MessageInfo()
155 explicit Agent(Instance &aInstance);
232 explicit SecureAgent(Instance &aInstance);
Dnetwork_data_types.hpp52 class Instance;
239 bool IsValid(Instance &aInstance) const;
299 bool IsValid(Instance &aInstance) const;
306 void SetFrom(Instance &aInstance,
Dnetwork_data_types.cpp44 static bool IsPrefixValid(Instance &aInstance, const Ip6::Prefix &aPrefix) in IsPrefixValid()
52 bool OnMeshPrefixConfig::IsValid(Instance &aInstance) const in IsValid()
160 bool ExternalRouteConfig::IsValid(Instance &aInstance) const in IsValid()
199 void ExternalRouteConfig::SetFrom(Instance &aInstance, in SetFrom()
/openthread-3.7.0/src/core/backbone_router/
Dndproxy_table.hpp155 explicit NdProxyTable(Instance &aInstance) in NdProxyTable()
278 Iterator(Instance &aInstance, Filter aFilter);
279 Iterator(Instance &aInstance, IteratorType);
291 IteratorBuilder(Instance &aInstance, Filter aFilter) in IteratorBuilder()

12345678910>>...12