Home
last modified time | relevance | path

Searched refs:bindings_ (Results 1 – 23 of 23) sorted by relevance

/external/libchrome/mojo/public/cpp/bindings/
Dbinding_set.h119 auto it = bindings_.find(id);
120 if (it == bindings_.end())
122 bindings_.erase(it);
131 auto it = bindings_.find(id);
132 if (it == bindings_.end())
138 void CloseAllBindings() { bindings_.clear(); }
140 bool empty() const { return bindings_.empty(); }
142 size_t size() const { return bindings_.size(); }
197 for (auto& binding : bindings_)
202 for (auto it = bindings_.begin(); it != bindings_.end();) {
[all …]
/external/cronet/base/fuchsia/
Dscoped_service_binding.h44 : publisher_(outgoing_directory, bindings_.GetHandler(impl), name) {}
50 : publisher_(pseudo_dir, bindings_.GetHandler(impl), name) {}
60 bindings_.set_empty_set_handler( in SetOnLastClientCallback()
64 bool has_clients() const { return bindings_.size() != 0; } in has_clients()
67 fidl::BindingSet<Interface> bindings_;
83 bindings_.CreateHandler(
99 bindings_.CreateHandler(
116 bindings_.set_empty_set_handler( in SetOnLastClientCallback()
120 bool has_clients() const { return bindings_.size() != 0; } in has_clients()
123 fidl::ServerBindingGroup<Protocol> bindings_;
Dtest_interface_impl.h24 fidl::BindingSet<testfidl::TestInterface>& bindings() { return bindings_; } in bindings()
27 fidl::BindingSet<testfidl::TestInterface> bindings_;
Dtest_interface_natural_impl.h26 return bindings_; in bindings()
30 fidl::ServerBindingGroup<base_testfidl::TestInterface> bindings_;
/external/tensorflow/tensorflow/compiler/xla/service/
Ddynamic_parameter_binding.cc27 auto result = bindings_.emplace(dynamic_dimension, dynamic_parameter); in Bind()
35 auto param_iter = bindings_.find(dynamic_dimension); in GetBinding()
36 if (param_iter == bindings_.end()) { in GetBinding()
44 for (const auto& binding : bindings_) { in ToProto()
89 for (const auto& binding : bindings_) { in ToString()
105 for (const auto& binding : bindings_) { in ForEachBinding()
Ddynamic_parameter_binding.h119 absl::flat_hash_map<DynamicDimension, DynamicParameter> bindings_;
/external/libchrome/mojo/public/js/
Dbindings.js284 this.bindings_ = new Map();
290 return this.bindings_.size == 0;
294 this.bindings_.set(
302 for (var entry of this.bindings_.values())
304 this.bindings_.clear();
312 this.bindings_.delete(bindingId);
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter.h117 return bindings_.GetIrArray(inst, consumer, shape_index);
122 return bindings_.GetBasePointer(inst, shape_index);
176 HloToIrBindings bindings_; variable
Dir_emitter.cc77 bindings_(&b_, module_, is_nested), in IrEmitter()
104 if (bindings_.BoundToIrValue(*operand)) { in HandleAddDependency()
105 bindings_.BindHloToIrValue(*add_dependency, GetBasePointer(*operand)); in HandleAddDependency()
112 CHECK(bindings_.BoundToIrValue(*operand)); in HandleGetTupleElement()
113 bindings_.BindHloToIrValue( in HandleGetTupleElement()
Dir_emitter_nested.cc126 bindings_.EmitBasePointersForHlos(io_hlos, non_io_hlos); in CodegenNestedComputation()
136 llvm::Value* root_value = bindings_.GetBasePointer(*root_instruction); in CodegenNestedComputation()
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp89 bindings_.reserve(binding_count_); in DescriptorSetLayoutDef()
96 bindings_.emplace_back(input_binding.layout_binding); in DescriptorSetLayoutDef()
97 auto &binding_info = bindings_.back(); in DescriptorSetLayoutDef()
117 assert(bindings_.size() == binding_count_); in DescriptorSetLayoutDef()
123 auto final_index = global_index + bindings_[i].descriptorCount; in DescriptorSetLayoutDef()
140 hc.Combine(bindings_); in hash()
156 if (index >= bindings_.size()) return nullptr; in GetDescriptorSetLayoutBindingPtrFromIndex()
157 return bindings_[index].ptr(); in GetDescriptorSetLayoutBindingPtrFromIndex()
161 if (index >= bindings_.size()) return 0; in GetDescriptorCountFromIndex()
162 return bindings_[index].descriptorCount; in GetDescriptorCountFromIndex()
[all …]
Ddescriptor_sets.h108 uint32_t GetMaxBinding() const { return bindings_[bindings_.size() - 1].binding; } in GetMaxBinding()
113 const std::vector<safe_VkDescriptorSetLayoutBinding> &GetBindings() const { return bindings_; } in GetBindings()
160 std::vector<safe_VkDescriptorSetLayoutBinding> bindings_; variable
/external/webrtc/rtc_base/
Dvirtual_socket_server.cc661 bindings_(new AddressMap()), in VirtualSocketServer()
675 delete bindings_; in ~VirtualSocketServer()
799 return bindings_->insert(entry).second ? 0 : -1; in Bind()
824 if (bindings_->find(addr) == bindings_->end()) { in AssignBindAddress()
835 AddressMap::iterator it = bindings_->find(normalized); in LookupBinding()
836 if (it != bindings_->end()) { in LookupBinding()
857 RTC_DCHECK((*bindings_)[normalized] == socket); in Unbind()
858 bindings_->erase(bindings_->find(normalized)); in Unbind()
Dproxy_server.h89 std::vector<std::unique_ptr<ProxyBinding>> bindings_; variable
Dproxy_server.cc53 bindings_.emplace_back( in OnAcceptEvent()
Dvirtual_socket_server.h448 AddressMap* bindings_; variable
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryAddressBindingTests.cpp878 Parameters (const std::vector<Binding>& bindings_) in Parameters()
879 : bindings(bindings_) in Parameters()
DvktMemoryDeviceMemoryReportTests.cpp857 Parameters (const std::vector<Binding>& bindings_) in Parameters()
858 : bindings(bindings_) in Parameters()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingMutableTests.cpp1309 ArrayBinding (bool unbounded_, std::vector<SingleBinding> bindings_) in ArrayBinding() argument
1311 , bindings (std::move(bindings_)) in ArrayBinding()
1486 explicit DescriptorSet (BindingPtrVector& bindings_) in DescriptorSet() argument
1487 : bindings(std::move(bindings_)) in DescriptorSet()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiObjectManagementTests.cpp1614 Parameters (const vector<Binding>& bindings_) in Parameters()
1615 : bindings(bindings_) in Parameters()
/external/vulkan-headers/include/vulkan/
Dvulkan_structs.hpp23051 …:ArrayProxyNoTemporaries<const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutBinding> const & bindings_, in DescriptorSetLayoutCreateInfo()
23053 … flags( flags_ ), bindingCount( static_cast<uint32_t>( bindings_.size() ) ), pBindings( bindings_.… in DescriptorSetLayoutCreateInfo()
23095 …oraries<const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutBinding> const & bindings_ ) VULKAN_HPP_NOE… in setBindings()
23097 bindingCount = static_cast<uint32_t>( bindings_.size() ); in setBindings()
23098 pBindings = bindings_.data(); in setBindings()
/external/swiftshader/include/vulkan/
Dvulkan_structs.hpp21155 …oraries<const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutBinding> const & bindings_, const void * pN… in DescriptorSetLayoutCreateInfo()
21156 … flags( flags_ ), bindingCount( static_cast<uint32_t>( bindings_.size() ) ), pBindings( bindings_.… in DescriptorSetLayoutCreateInfo()
21196 …oraries<const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutBinding> const & bindings_ ) VULKAN_HPP_NOE… in setBindings()
21198 bindingCount = static_cast<uint32_t>( bindings_.size() ); in setBindings()
21199 pBindings = bindings_.data(); in setBindings()
/external/angle/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/
Dvulkan_structs.hpp23891 …:ArrayProxyNoTemporaries<const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutBinding> const & bindings_, in DescriptorSetLayoutCreateInfo()
23893 … flags( flags_ ), bindingCount( static_cast<uint32_t>( bindings_.size() ) ), pBindings( bindings_.… in DescriptorSetLayoutCreateInfo()
23935 …oraries<const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutBinding> const & bindings_ ) VULKAN_HPP_NOE… in setBindings()
23937 bindingCount = static_cast<uint32_t>( bindings_.size() ); in setBindings()
23938 pBindings = bindings_.data(); in setBindings()