/openthread-3.7.0/tests/unit/ |
D | test_binary_search.cpp | 47 int Compare(const char *aName) const { return strcmp(aName, mName); } in TestBinarySearch() 51 return AreStringsInOrder(aFirst.mName, aSecond.mName); in TestBinarySearch() 54 const char *mName; in TestBinarySearch() member 79 strcpy(name, tableEntry.mName); in TestBinarySearch()
|
D | test_array.cpp | 192 : mName(aName) in TestArrayCopyAndFindMatching() 197 …bool operator==(const Entry &aOther) const { return (mName == aOther.mName) && (mYear == aOther.mY… in TestArrayCopyAndFindMatching() 198 bool Matches(const char *aName) const { return strcmp(aName, mName) == 0; } in TestArrayCopyAndFindMatching() 224 const char *mName; in TestArrayCopyAndFindMatching() member 297 printf("- Name:%-3s Year:%d\n", entry.mName, entry.mYear); in TestArrayCopyAndFindMatching() 299 match = array2.FindMatching(entry.mName); in TestArrayCopyAndFindMatching() 302 VerifyOrQuit(array2.ContainsMatching(entry.mName)); in TestArrayCopyAndFindMatching() 341 array2.RemoveMatching(entryToRemove.mName); in TestArrayCopyAndFindMatching() 344 printf("\nArray after `RemoveMatching()` on entry %s\n", entryToRemove.mName); in TestArrayCopyAndFindMatching() 350 printf("- Name:%-3s Year:%d\n", entry.mName, entry.mYear); in TestArrayCopyAndFindMatching() [all …]
|
D | test_mdns.cpp | 121 Name::Buffer mName; member 125 SuccessOrQuit(Name::ReadName(aMessage, aOffset, mName)); in ParseFrom() 132 mName[0] = '\0'; in CopyFrom() 136 uint16_t len = StringLength(aName, sizeof(mName)); in CopyFrom() 138 VerifyOrQuit(len < sizeof(mName)); in CopyFrom() 139 memcpy(mName, aName, len + 1); in CopyFrom() 143 const char *AsCString(void) const { return mName; } in AsCString() 144 …bool Matches(const char *aName) const { return StringMatch(mName, aName, kStringCaseInsensi… in Matches() 160 DnsName mName; member 169 mName.ParseFrom(aMessage, aOffset); in ParseFrom() [all …]
|
D | test_linked_list.cpp | 60 : mName(aName) in Entry() 67 const char *GetName(void) const { return mName; } in GetName() 69 bool Matches(const char *aName) const { return strcmp(mName, aName) == 0; } in Matches() 78 const char *mName; member
|
D | test_dso.cpp | 121 , mName(aName) in Connection() 127 const char *GetName(void) const { return mName; } in GetName() 220 Log(" ProcessRequestMessage(primaryTlv:0x%04x) on %s", aPrimaryTlvType, mName); in ProcessRequestMessage() 233 Log(" ProcessUnidirectionalMessage(primaryTlv:0x%04x) on %s", aPrimaryTlvType, mName); in ProcessUnidirectionalMessage() 253 …g(" ProcessResponseMessage(responseTlv:0x%04x) on %s (response-Code:%u) ", aResponseTlvType, mName, in ProcessResponseMessage() 310 const char *mName; member in ot::Dns::Connection
|
D | test_srp_adv_proxy.cpp | 318 Log(" name : %s", aKey->mName); in otPlatDnssdRegisterKey() 330 …OrQuit(StringMatch(AsCoreType(aInstance).Get<Srp::Client>().GetHostInfo().GetName(), aKey->mName)); in otPlatDnssdRegisterKey() 338 if (StringMatch(service.GetInstanceName(), aKey->mName)) in otPlatDnssdRegisterKey() 363 Log(" name : %s", aKey->mName); in otPlatDnssdUnregisterKey() 372 …OrQuit(StringMatch(AsCoreType(aInstance).Get<Srp::Client>().GetHostInfo().GetName(), aKey->mName)); in otPlatDnssdUnregisterKey() 380 if (StringMatch(service.GetInstanceName(), aKey->mName)) in otPlatDnssdUnregisterKey() 613 aService.mName = kServiceName; in PrepareService1() 631 aService.mName = kService2Name; in PrepareService2()
|
D | test_dns.cpp | 52 const char *mName; in TestDnsName() member 358 SuccessOrQuit(Dns::Name::AppendName(test.mName, *message)); in TestDnsName() 363 DumpBuffer(test.mName, buffer, len); in TestDnsName() 512 SuccessOrQuit(Dns::Name::AppendMultipleLabels(test.mName, *message)); in TestDnsName() 518 DumpBuffer(test.mName, buffer, len); in TestDnsName() 541 DumpBuffer(test.mName, buffer, len); in TestDnsName()
|
D | test_srp_server.cpp | 315 aService.mName = kServiceName; in PrepareService1() 333 aService.mName = kService2Name; in PrepareService2()
|
/openthread-3.7.0/src/cli/ |
D | cli_dataset.hpp | 80 int Compare(const char *aName) const { return strcmp(aName, mName); } in Compare() 84 return AreStringsInOrder(aFirst.mName, aSecond.mName); in AreInOrder() 87 const char *mName; member
|
D | cli_utils.hpp | 145 int Compare(const char *aName) const { return strcmp(aName, mName); } in Compare() 159 return AreStringsInOrder(aFirst.mName, aSecond.mName); in AreInOrder() 162 const char *mName; ///< The command name. member 531 OutputLine("%s", entry.mName); in OutputCommandTable()
|
D | cli_srp_client.cpp | 222 const char *name = otSrpClientGetHostInfo(GetInstancePtr())->mName; in Process() 624 if ((aArgs[1] == service->mInstanceName) && (aArgs[2] == service->mName)) in Process() 785 if (aHostInfo.mName != nullptr) in OutputHostInfo() 787 OutputFormat("\"%s\"", aHostInfo.mName); in OutputHostInfo() 829 OutputFormat(aIndentSize, "instance:\"%s\", name:\"%s", aService.mInstanceName, aService.mName); in OutputService()
|
D | cli.cpp | 354 if (aArgs[0] == entry.mCommands[i].mName) in ProcessUserCommands() 1032 const char *mName; in Process() member 1060 OutputLine("%s: %u %u %lu", info.mName, (bufferInfo.*info.mQueuePtr).mNumMessages, in Process() 1953 const char *mName; in Process() member 1989 OutputLine(kIndentSize, "%s: %lu", metric.mName, ToUlong(metrics.*metric.mValuePtr)); in Process() 1996 OutputLine(kIndentSize, "%s: %lu", metric.mName, ToUlong(metrics.*metric.mValuePtr)); in Process() 2040 const char *mName; in OutputBorderRouterCounters() member 2055 OutputFormat("%s:", counter.mName); in OutputBorderRouterCounters() 2188 const char *mName; in Process() member 2235 … OutputLine(kIndentSize, "%s: %lu", counter.mName, ToUlong(macCounters->*counter.mValuePtr)); in Process() [all …]
|
D | cli_mdns.cpp | 138 OutputLine("Key %s for %s (service)", aKey.mName, aKey.mServiceType); in OutputKey() 142 OutputLine("Key %s (host)", aKey.mName); in OutputKey() 382 key.mName = aArgs->GetCString(); in ProcessRegisterKey() 475 key.mName = aArgs[1].GetCString(); in Process()
|
D | cli_dataset.cpp | 544 const char *mName; // To use with `LookupMapper()`. in Print() member 569 const ComponentMapper *mapper = LookupMapper(title.mName); in Print()
|
/openthread-3.7.0/include/openthread/ |
D | srp_client.h | 77 const char *mName; ///< Host name (label) string (NULL if not yet set). member 106 …const char *mName; ///< The service labels (e.g., "_mt._udp", not the full… member
|
D | cli.h | 54 const char *mName; ///< A pointer to the command string. member
|
/openthread-3.7.0/src/core/utils/ |
D | srp_client_buffers.cpp | 59 entry->mService.mName = entry->mServiceName; in AllocateService()
|
/openthread-3.7.0/tools/ot-fct/ |
D | cli.hpp | 94 const char *mName; member
|
D | cli.cpp | 284 if (strcmp(aArgs[0].GetCString(), sCommands[i].mName) == 0) in ProcessCommand()
|
/openthread-3.7.0/include/openthread/platform/ |
D | dnssd.h | 137 …const char *mName; ///< A host or a service instance name (does not include domain nam… member
|
/openthread-3.7.0/src/core/net/ |
D | srp_client.hpp | 131 const char *GetName(void) const { return mName; } in GetName() 169 void SetName(const char *aName) { mName = aName; } in SetName() 200 const char *GetName(void) const { return mName; } in GetName()
|
D | mdns.cpp | 1353 return mName.Set(aName); in Init() 1358 return aName.Matches(/* aFirstLabel */ nullptr, mName.AsCString(), kLocalDomain); in Matches() 1361 bool Core::HostEntry::Matches(const Host &aHost) const { return NameMatch(mName, aHost.mHostName); } in Matches() 1363 …::Matches(const Key &aKey) const { return !IsKeyForService(aKey) && NameMatch(mName, aKey.mName); } in Matches() 1365 bool Core::HostEntry::Matches(const Heap::String &aName) const { return NameMatch(mName, aName); } in Matches() 1475 Get<Core>().InvokeConflictCallback(mName.AsCString(), nullptr); in HandleConflict() 1668 outcome = aTxMessage.AppendMultipleLabels(aSection, mName.AsCString(), mNameOffset); in AppendNameTo() 1685 aHost.mHostName = mName.AsCString(); in CopyInfoTo() 1702 aKey.mName = mName.AsCString(); in CopyInfoTo() 1749 return Init(aInstance, aKey.mName, aKey.mServiceType); in Init() [all …]
|
D | mdns.hpp | 1054 Error Init(Instance &aInstance, const Key &aKey) { return Init(aInstance, aKey.mName); } in Init() 1093 Heap::String mName; member in ot::Dns::Multicast::Core::HostEntry 1862 Heap::String mName; member in ot::Dns::Multicast::Core::AddrCache
|
D | srp_advertising_proxy.cpp | 1115 keyInfo.mName = aName; in RegisterKey() 1159 keyInfo.mName = aName; in UnregisterKey()
|
/openthread-3.7.0/src/core/diags/ |
D | factory_diags.hpp | 131 const char *mName; member
|