Home
last modified time | relevance | path

Searched refs:addresses_ (Results 1 – 17 of 17) sorted by relevance

/external/pigweed/pw_kvs/public/pw_kvs/internal/
Dentry_cache.h47 uint32_t first_address() const { return addresses_[0]; } in first_address()
50 const std::span<Address>& addresses() const { return addresses_; } in addresses()
61 addresses_[addresses_.size()] = address; in AddNewAddress()
62 addresses_ = std::span<Address>(addresses_.begin(), addresses_.size() + 1); in AddNewAddress()
77 : descriptor_(&descriptor), addresses_(addresses) {} in EntryMetadata()
80 std::span<Address> addresses_; variable
104 metadata_.addresses_ = entry_cache_->addresses(
151 addresses_(addresses), in EntryCache()
190 return &addresses_[descriptors_.max_size() * redundancy_]; in TempReservedAddressesForWrite()
225 return &addresses_[descriptor_index * redundancy_]; in first_address()
[all …]
/external/pigweed/pw_kvs/
Dentry_cache.cc37 for (Address& address : addresses_) { in RemoveAddress()
42 address = addresses_.back(); in RemoveAddress()
45 addresses_.back() = kNoAddress; in RemoveAddress()
46 addresses_ = std::span(addresses_.begin(), addresses_.size() - 1); in RemoveAddress()
55 addresses_[0] = address; in Reset()
56 for (size_t i = 1; i < addresses_.size(); ++i) { in Reset()
57 addresses_[i] = kNoAddress; in Reset()
59 addresses_ = addresses_.first(1); in Reset()
Dentry_cache_test.cc34 EmptyEntryCache() : entries_(descriptors_, addresses_, kRedundancy) {} in EmptyEntryCache()
37 EntryCache::AddressList<kMaxEntries, kRedundancy> addresses_; member in pw::kvs::internal::__anona4a3f82d0111::EmptyEntryCache
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/native/
Ddns_resolver.cc105 grpc_resolved_addresses* addresses_ = nullptr; member in grpc_core::__anon1edb90be0111::NativeDnsResolver
200 if (r->addresses_ != nullptr) { in OnResolvedLocked()
202 r->addresses_->naddrs, nullptr /* user_data_vtable */); in OnResolvedLocked()
203 for (size_t i = 0; i < r->addresses_->naddrs; ++i) { in OnResolvedLocked()
205 addresses, i, &r->addresses_->addrs[i].addr, in OnResolvedLocked()
206 r->addresses_->addrs[i].len, false /* is_balancer */, in OnResolvedLocked()
211 grpc_resolved_addresses_destroy(r->addresses_); in OnResolvedLocked()
287 addresses_ = nullptr; in StartResolvingLocked()
289 &on_resolved_, &addresses_); in StartResolvingLocked()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/native/
Ddns_resolver.cc98 grpc_resolved_addresses* addresses_ = nullptr; member in grpc_core::__anonfd2439120111::NativeDnsResolver
180 if (addresses_ != nullptr) { in OnResolvedLocked()
182 for (size_t i = 0; i < addresses_->naddrs; ++i) { in OnResolvedLocked()
183 result.addresses.emplace_back(&addresses_->addrs[i].addr, in OnResolvedLocked()
184 addresses_->addrs[i].len, in OnResolvedLocked()
187 grpc_resolved_addresses_destroy(addresses_); in OnResolvedLocked()
266 addresses_ = nullptr; in StartResolvingLocked()
270 interested_parties_, &on_resolved_, &addresses_); in StartResolvingLocked()
/external/webrtc/rtc_base/
Dnet_helpers.cc116 if (error_ != 0 || addresses_.empty()) in GetResolvedAddress()
120 for (size_t i = 0; i < addresses_.size(); ++i) { in GetResolvedAddress()
121 if (family == addresses_[i].family()) { in GetResolvedAddress()
122 addr->SetResolvedIP(addresses_[i]); in GetResolvedAddress()
147 return addresses_; in addresses()
151 addresses_ = addresses; in ResolveDone()
Dnet_helpers.h58 std::vector<IPAddress> addresses_ RTC_GUARDED_BY(sequence_checker_);
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/sockaddr/
Dsockaddr_resolver.cc61 grpc_lb_addresses* addresses_ = nullptr; member in grpc_core::__anon9200b2740111::SockaddrResolver
75 addresses_(addresses), in SockaddrResolver()
79 grpc_lb_addresses_destroy(addresses_); in ~SockaddrResolver()
103 grpc_arg arg = grpc_lb_addresses_create_channel_arg(addresses_); in MaybeFinishNextLocked()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_dns_cache.cc73 addresses_ = ResolveNames(kCachedDomainNames); in AnnotateRequest()
81 CHECK_EQ(kCachedDomainNames.size(), addresses_.size()); in AnnotateRequest()
84 const std::vector<string>& addresses = addresses_[i]; in AnnotateRequest()
171 addresses_.swap(new_addresses); in WorkerThread()
Dgcs_dns_cache.h72 std::vector<std::vector<string>> addresses_ TF_GUARDED_BY(mu_);
Dgcs_dns_cache_test.cc80 d.addresses_ = {{"192.168.1.1"}, {"172.134.1.1"}}; in AnnotateRequestTest()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Ddns_resolver_ares.cc115 std::unique_ptr<ServerAddressList> addresses_; member in grpc_core::__anon027d0f620111::AresDnsResolver
334 if (addresses_ != nullptr || balancer_addresses_ != nullptr) { in OnResolvedLocked()
336 if (addresses_ != nullptr) { in OnResolvedLocked()
337 result.addresses = std::move(*addresses_); in OnResolvedLocked()
359 addresses_.reset(); in OnResolvedLocked()
436 interested_parties_, &on_resolved_, &addresses_, in StartResolvingLocked()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/sockaddr/
Dsockaddr_resolver.cc56 ServerAddressList addresses_; member in grpc_core::__anon87966a480111::SockaddrResolver
63 addresses_(std::move(addresses)), in SockaddrResolver()
72 result.addresses = std::move(addresses_); in StartLocked()
/external/openscreen/discovery/dnssd/public/
Ddns_sd_instance_endpoint.h86 const std::vector<IPAddress>& addresses() const { return addresses_; } in addresses()
144 std::vector<IPAddress> addresses_; variable
Ddns_sd_instance_endpoint.cc80 addresses_.push_back(endpoint.address); in InitializeEndpoints()
/external/pigweed/pw_kvs/public/pw_kvs/
Dkey_value_store.h597 addresses_) { in KeyValueStore() argument
624 internal::EntryCache::AddressList<kRedundancy, kMaxEntries> addresses_; variable
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/priority/
Dpriority.cc226 HierarchicalAddressMap addresses_; member in grpc_core::__anon47a44ab00111::PriorityLb
306 addresses_ = MakeHierarchicalAddressMap(args.addresses); in UpdateLocked()
559 update_args.addresses = priority_policy_->addresses_[name_]; in UpdateLocked()