/external/perfetto/src/traced/probes/filesystem/ |
D | prefix_finder_unittest.cc | 43 ASSERT_EQ(pr.GetPrefix("/a/1")->ToString(), ""); in TEST() 44 ASSERT_EQ(pr.GetPrefix("/a/2")->ToString(), ""); in TEST() 45 ASSERT_EQ(pr.GetPrefix("/a/3")->ToString(), ""); in TEST() 46 ASSERT_EQ(pr.GetPrefix("/b/4")->ToString(), "/b"); in TEST() 47 ASSERT_EQ(pr.GetPrefix("/b/5")->ToString(), "/b"); in TEST()
|
D | range_tree_unittest.cc | 45 auto a = pr.GetPrefix("/a/foo"); in TEST() 46 auto b = pr.GetPrefix("/b/foo"); in TEST() 47 auto c = pr.GetPrefix("/c/foo"); in TEST() 48 auto d = pr.GetPrefix("/d/foo"); in TEST()
|
D | prefix_finder.h | 93 Node* GetPrefix(std::string path);
|
D | prefix_finder.cc | 105 PrefixFinder::Node* PrefixFinder::GetPrefix(std::string path) { in GetPrefix() function in perfetto::PrefixFinder
|
/external/openthread/tests/unit/ |
D | test_routing_manager.cpp | 230 pio.GetPrefix(prefix); in ValidateRouterAdvert() 255 rio.GetPrefix(prefix); in ValidateRouterAdvert() 290 pio.GetPrefix(prefix); in LogRouterAdvert() 303 rio.GetPrefix(prefix); in LogRouterAdvert() 444 VerifyOrQuit(prefixConfig.GetPrefix() == localOmr); in TestRoutingManager() 457 VerifyOrQuit(routeConfig.GetPrefix() == localOnLink); in TestRoutingManager() 525 VerifyOrQuit(prefixConfig.GetPrefix() == localOmr); in TestRoutingManager() 541 …VerifyOrQuit((routeConfig.GetPrefix() == localOnLink) || (routeConfig.GetPrefix() == onLinkPrefix)… in TestRoutingManager() 542 (routeConfig.GetPrefix() == routePrefix)); in TestRoutingManager() 660 VerifyOrQuit(prefixConfig.GetPrefix() == localOmr); in TestRoutingManager() [all …]
|
/external/openthread/src/core/border_router/ |
D | routing_manager.cpp | 148 aPrefix = mLocalOmrPrefix.GetPrefix(); in GetOmrPrefix() 159 aPrefix = mFavoredOmrPrefix.GetPrefix(); in GetFavoredOmrPrefix() 399 mDiscoveredPrefixTable.RemoveRoutePrefix(prefixConfig.GetPrefix(), in UpdateDiscoveredPrefixTableOnNetDataChange() 455 else if (mFavoredOmrPrefix.GetPrefix() == mLocalOmrPrefix.GetPrefix()) in EvaluateOmrPrefix() 462 mFavoredOmrPrefix.GetPrefix().ToString().AsCString()); in EvaluateOmrPrefix() 600 const Ip6::Prefix &prefix = config.GetPrefix(); in EvaluateNat64Prefix() 791 …efixConfig.mOnMesh || prefixConfig.mDp || (prefixConfig.GetPrefix() == mLocalOmrPrefix.GetPrefix()… in SendRouterAdvertisement() 796 mAdvertisedPrefixes.MarkAsDeleted(prefixConfig.GetPrefix()); in SendRouterAdvertisement() 801 mAdvertisedPrefixes.MarkAsDeleted(mLocalOmrPrefix.GetPrefix()); in SendRouterAdvertisement() 831 mAdvertisedPrefixes.Add(mLocalOmrPrefix.GetPrefix()); in SendRouterAdvertisement() [all …]
|
D | routing_manager.hpp | 413 const Ip6::Prefix &GetPrefix(void) const { return mPrefix; } in GetPrefix() function in ot::BorderRouter::RoutingManager::DiscoveredPrefixTable::Entry 509 const Ip6::Prefix &GetPrefix(void) const { return mPrefix; } in GetPrefix() function in ot::BorderRouter::RoutingManager::OmrPrefix 523 const Ip6::Prefix &GetPrefix(void) const { return mPrefix; } in GetPrefix() function in ot::BorderRouter::RoutingManager::LocalOmrPrefix
|
/external/openthread/src/core/thread/ |
D | network_data_types.cpp | 68 VerifyOrExit(GetPrefix().GetLength() == Ip6::NetworkPrefix::kLength); in IsValid() 72 VerifyOrExit(IsPrefixValid(aInstance, GetPrefix())); in IsValid() 73 VerifyOrExit(GetPrefix().GetLength() > 0); in IsValid() 140 aPrefixTlv.CopyPrefixTo(GetPrefix()); in SetFrom() 166 VerifyOrExit(GetPrefix().IsValidNat64()); in IsValid() 170 VerifyOrExit(IsPrefixValid(aInstance, GetPrefix())); in IsValid() 201 aPrefixTlv.CopyPrefixTo(GetPrefix()); in SetFrom()
|
D | network_data_types.hpp | 183 const Ip6::Prefix &GetPrefix(void) const { return AsCoreType(&mPrefix); } in GetPrefix() function in ot::NetworkData::OnMeshPrefixConfig 191 Ip6::Prefix &GetPrefix(void) { return AsCoreType(&mPrefix); } in GetPrefix() function in ot::NetworkData::OnMeshPrefixConfig 243 const Ip6::Prefix &GetPrefix(void) const { return AsCoreType(&mPrefix); } in GetPrefix() function in ot::NetworkData::ExternalRouteConfig 251 Ip6::Prefix &GetPrefix(void) { return AsCoreType(&mPrefix); } in GetPrefix() function in ot::NetworkData::ExternalRouteConfig
|
D | network_data_tlvs.hpp | 651 memcpy(GetPrefix(), aPrefix, Ip6::Prefix::SizeForLength(aPrefixLength)); in Init() 703 uint8_t *GetPrefix(void) { return reinterpret_cast<uint8_t *>(this) + sizeof(*this); } in GetPrefix() function in ot::NetworkData::PrefixTlv 711 …const uint8_t *GetPrefix(void) const { return reinterpret_cast<const uint8_t *>(this) + sizeof(*th… in GetPrefix() function in ot::NetworkData::PrefixTlv 719 void CopyPrefixTo(Ip6::Prefix &aPrefix) const { aPrefix.Set(GetPrefix(), GetPrefixLength()); } in CopyPrefixTo() 730 …bool IsEqual(Ip6::Prefix &aPrefix) const { return aPrefix.IsEqual(GetPrefix(), GetPrefixLength());… in IsEqual() 745 … (Ip6::Prefix::MatchLength(GetPrefix(), aPrefix, Ip6::Prefix::SizeForLength(aPrefixLength)) >= in IsEqual() 757 …return reinterpret_cast<NetworkDataTlv *>(GetPrefix() + Ip6::Prefix::SizeForLength(mPrefixLength)); in GetSubTlvs() 768 …return reinterpret_cast<const NetworkDataTlv *>(GetPrefix() + Ip6::Prefix::SizeForLength(mPrefixLe… in GetSubTlvs()
|
D | network_data_leader.cpp | 100 if (!config.mNat64 || !config.GetPrefix().IsValidNat64()) in GetPreferredNat64Prefix() 122 if (aAddress.MatchesPrefix(prefixTlv->GetPrefix(), prefixTlv->GetPrefixLength())) in FindNextMatchingPrefix() 156 aContext.mPrefix.Set(prefix->GetPrefix(), prefix->GetPrefixLength()); in GetContext() 188 aContext.mPrefix.Set(prefix->GetPrefix(), prefix->GetPrefixLength()); in GetContext() 284 if (!aDestination.MatchesPrefix(prefixTlv->GetPrefix(), prefixLength)) in ExternalRouteLookup()
|
D | network_data_publisher.cpp | 98 entry = FindOrAllocatePrefixEntry(aConfig.GetPrefix()); in PublishOnMeshPrefix() 115 entry = FindOrAllocatePrefixEntry(aConfig.GetPrefix()); in PublishExternalRoute() 796 LogInfo("Publishing OnMeshPrefix %s", aConfig.GetPrefix().ToString().AsCString()); in Publish() 798 Publish(aConfig.GetPrefix(), aConfig.ConvertToTlvFlags(), kTypeOnMeshPrefix); in Publish() 803 LogInfo("Publishing ExternalRoute %s", aConfig.GetPrefix().ToString().AsCString()); in Publish() 805 Publish(aConfig.GetPrefix(), aConfig.ConvertToTlvFlags(), kTypeExternalRoute); in Publish()
|
D | network_data_local.cpp | 61 …AddPrefix(aConfig.GetPrefix(), NetworkDataTlv::kTypeBorderRouter, aConfig.ConvertToTlvFlags(), aCo… in AddOnMeshPrefix() 87 …error = AddPrefix(aConfig.GetPrefix(), NetworkDataTlv::kTypeHasRoute, aConfig.ConvertToTlvFlags(),… in AddHasRoutePrefix()
|
D | network_data_leader_ftd.cpp | 427 …VerifyOrExit(validatedSegment.FindPrefix(prefix->GetPrefix(), prefix->GetPrefixLength()) == nullpt… in Validate() 753 PrefixTlv *dstPrefix = FindPrefix(aPrefix.GetPrefix(), aPrefix.GetPrefixLength()); in AddPrefix() 760 dstPrefix->Init(aPrefix.GetDomainId(), aPrefix.GetPrefixLength(), aPrefix.GetPrefix()); in AddPrefix() 1079 aExcludeNetworkData.FindPrefix(prefix->GetPrefix(), prefix->GetPrefixLength()); in RemoveRloc()
|
/external/openthread/src/core/backbone_router/ |
D | bbr_local.cpp | 63 mDomainPrefixConfig.GetPrefix().SetLength(0); in Local() 295 VerifyOrExit(mDomainPrefixConfig.GetPrefix().GetLength() > 0, error = kErrorNotFound); in GetDomainPrefix() 308 VerifyOrExit(mDomainPrefixConfig.GetPrefix() == aPrefix, error = kErrorNotFound); in RemoveDomainPrefix() 315 mDomainPrefixConfig.GetPrefix().SetLength(0); in RemoveDomainPrefix() 412 error = Get<NetworkData::Local>().RemoveOnMeshPrefix(mDomainPrefixConfig.GetPrefix()); in RemoveDomainPrefixFromNetworkData() 440 if (mDomainPrefixConfig.GetPrefix().GetLength() > 0) in AddDomainPrefixToNetworkData() 451 …LogInfo("%s Domain Prefix: %s, %s", aAction, mDomainPrefixConfig.GetPrefix().ToString().AsCString(… in LogDomainPrefix()
|
D | bbr_leader.cpp | 257 else if (config.GetPrefix() == mDomainPrefix) in UpdateDomainPrefixConfig() 272 mDomainPrefix = config.GetPrefix(); in UpdateDomainPrefixConfig()
|
/external/openthread/src/core/net/ |
D | dhcp6_server.hpp | 102 …l IsPrefixMatch(const Ip6::Address &aAddress) const { return aAddress.MatchesPrefix(GetPrefix()); } in IsPrefixMatch() 141 const Ip6::Prefix &GetPrefix(void) const { return mPrefix; } in GetPrefix() function in ot::Dhcp6::Server::PrefixAgent 149 Ip6::Prefix &GetPrefix(void) { return mPrefix; } in GetPrefix() function in ot::Dhcp6::Server::PrefixAgent
|
D | nd6.cpp | 102 void PrefixInfoOption::GetPrefix(Prefix &aPrefix) const in GetPrefix() function in ot::Ip6::Nd::PrefixInfoOption 140 void RouteInfoOption::GetPrefix(Prefix &aPrefix) const in GetPrefix() function in ot::Ip6::Nd::RouteInfoOption
|
D | nd6.hpp | 275 void GetPrefix(Prefix &aPrefix) const; 389 void GetPrefix(Prefix &aPrefix) const;
|
D | dhcp6_server.cpp | 121 AddPrefixAgent(config.GetPrefix(), lowpanContext); in UpdateService() 164 else if (prefixAgent.GetPrefix() == aIp6Prefix) in AddPrefixAgent()
|
/external/openthread/src/core/utils/ |
D | slaac_address.cpp | 143 (aAddr.GetAddress().MatchesPrefix(aConfig.GetPrefix()))); in DoesConfigMatchNetifAddr() 178 if (config.mSlaac && !ShouldFilter(config.GetPrefix()) && in Update() 205 Ip6::Prefix &prefix = config.GetPrefix(); in Update()
|
/external/angle/src/common/ |
D | string_utils.h | 45 std::string GetPrefix(const std::string &input, size_t offset, const char *delimiter); 46 std::string GetPrefix(const std::string &input, size_t offset, char delimiter);
|
D | string_utils.cpp | 119 std::string GetPrefix(const std::string &input, size_t offset, const char *delimiter) in GetPrefix() function 129 std::string GetPrefix(const std::string &input, size_t offset, char delimiter) in GetPrefix() function
|
/external/ot-br-posix/src/common/ |
D | logging.cpp | 82 static const char *GetPrefix(const char *aLogTag) in GetPrefix() function 118 … syslog(static_cast<int>(aLevel), "%s%s: %s", sLevelString[aLevel], GetPrefix(aLogTag), buffer); in otbrLog()
|
/external/clang/tools/scan-build/bin/ |
D | scan-build | 307 sub GetPrefix { subroutine 755 my $prefix = GetPrefix(); 854 my $prefix = GetPrefix(); 881 my $prefix = GetPrefix();
|