/openthread-3.7.0/src/core/instance/ |
D | instance.hpp | 167 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 …]
|
D | instance.cpp | 47 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 …]
|
D | extension.hpp | 84 static ExtensionBase &Init(Instance &aInstance); 115 explicit ExtensionBase(Instance &aInstance) in ExtensionBase()
|
D | extension_example.cpp | 53 explicit Extension(Instance &aInstance) in Extension() 67 ExtensionBase &ExtensionBase::Init(Instance &aInstance) in Init()
|
/openthread-3.7.0/src/core/common/ |
D | locator.hpp | 45 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()
|
D | timer.hpp | 181 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 …]
|
D | tasklet.hpp | 119 Tasklet(Instance &aInstance, Handler aHandler) in Tasklet() 168 explicit TaskletIn(Instance &aInstance) in TaskletIn() 197 TaskletContext(Instance &aInstance, Handler aHandler, void *aContext) in TaskletContext()
|
D | heap.cpp | 49 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/ |
D | example_vendor_hook.cpp | 140 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()
|
D | ncp_hdlc.cpp | 70 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()
|
D | ncp_base.hpp | 102 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/ |
D | mdns.hpp | 102 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 …]
|
D | tcp6.hpp | 119 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/ |
D | instance_api.cpp | 64 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()
|
D | link_raw_api.cpp | 69 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/ |
D | link_metrics_manager.hpp | 140 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/ |
D | test_mle.cpp | 43 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()
|
D | test_pskc.cpp | 50 Instance *instance = testInitInstance(); in TestMinimumPassphrase() 84 Instance *instance = testInitInstance(); in TestMaximumPassphrase() 102 Instance *instance = testInitInstance(); in TestExampleInSpec()
|
D | test_checksum.cpp | 181 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()
|
D | test_platform.h | 52 ot::Instance *testInitInstance(void); 54 ot::Instance *testInitAdditionalInstance(uint8_t id);
|
/openthread-3.7.0/src/core/thread/ |
D | child_table.hpp | 76 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()
|
D | tmf.hpp | 81 explicit MessageInfo(Instance &aInstance) in MessageInfo() 155 explicit Agent(Instance &aInstance); 232 explicit SecureAgent(Instance &aInstance);
|
D | network_data_types.hpp | 52 class Instance; 239 bool IsValid(Instance &aInstance) const; 299 bool IsValid(Instance &aInstance) const; 306 void SetFrom(Instance &aInstance,
|
D | network_data_types.cpp | 44 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/ |
D | ndproxy_table.hpp | 155 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()
|