Home
last modified time | relevance | path

Searched refs:mName (Results 1 – 25 of 28) sorted by relevance

12

/openthread-3.7.0/tests/unit/
Dtest_binary_search.cpp47 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()
Dtest_array.cpp192 : 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 …]
Dtest_mdns.cpp121 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 …]
Dtest_linked_list.cpp60 : 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
Dtest_dso.cpp121 , 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
Dtest_srp_adv_proxy.cpp318 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()
Dtest_dns.cpp52 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()
Dtest_srp_server.cpp315 aService.mName = kServiceName; in PrepareService1()
333 aService.mName = kService2Name; in PrepareService2()
/openthread-3.7.0/src/cli/
Dcli_dataset.hpp80 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
Dcli_utils.hpp145 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()
Dcli_srp_client.cpp222 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()
Dcli.cpp354 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 …]
Dcli_mdns.cpp138 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()
Dcli_dataset.cpp544 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/
Dsrp_client.h77 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
Dcli.h54 const char *mName; ///< A pointer to the command string. member
/openthread-3.7.0/src/core/utils/
Dsrp_client_buffers.cpp59 entry->mService.mName = entry->mServiceName; in AllocateService()
/openthread-3.7.0/tools/ot-fct/
Dcli.hpp94 const char *mName; member
Dcli.cpp284 if (strcmp(aArgs[0].GetCString(), sCommands[i].mName) == 0) in ProcessCommand()
/openthread-3.7.0/include/openthread/platform/
Ddnssd.h137 …const char *mName; ///< A host or a service instance name (does not include domain nam… member
/openthread-3.7.0/src/core/net/
Dsrp_client.hpp131 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()
Dmdns.cpp1353 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 …]
Dmdns.hpp1054 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
Dsrp_advertising_proxy.cpp1115 keyInfo.mName = aName; in RegisterKey()
1159 keyInfo.mName = aName; in UnregisterKey()
/openthread-3.7.0/src/core/diags/
Dfactory_diags.hpp131 const char *mName; member

12