Home
last modified time | relevance | path

Searched refs:bindings_ (Results 1 – 19 of 19) 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/tensorflow/tensorflow/compiler/xla/service/
Ddynamic_parameter_binding.cc26 auto result = bindings_.emplace(dynamic_dimension, dynamic_parameter); in Bind()
34 auto param_iter = bindings_.find(dynamic_dimension); in GetBinding()
35 if (param_iter == bindings_.end()) { in GetBinding()
43 for (const auto& binding : bindings_) { in ToProto()
88 for (const auto& binding : bindings_) { in ToString()
104 for (const auto& binding : bindings_) { in ForEachBinding()
Ddynamic_parameter_binding.h117 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.h128 return bindings_.GetIrArray(inst, consumer, shape_index);
133 return bindings_.GetBasePointer(inst, shape_index);
177 HloToIrBindings bindings_; variable
Dir_emitter.cc84 bindings_(ir_emitter_context->hlo_module(), in IrEmitter()
176 if (bindings_.BoundToIrValue(*operand)) { in HandleAddDependency()
177 bindings_.BindHloToIrValue(*add_dependency, GetBasePointer(*operand)); in HandleAddDependency()
184 CHECK(bindings_.BoundToIrValue(*operand)); in HandleGetTupleElement()
185 bindings_.BindHloToIrValue( in HandleGetTupleElement()
Dir_emitter_nested.cc117 bindings_.EmitBasePointersForHlos(io_hlos, non_io_hlos); in CodegenNestedComputation()
127 llvm::Value* root_value = bindings_.GetBasePointer(*root_instruction); in CodegenNestedComputation()
Dir_emitter_unnested.cc554 bindings_.UnbindAllLocalIrValues(); in Postprocess()
3445 bindings_.SetTempBufferBase(kernel_args.at(*temp_buffer)); in BuildKernelThunkFromBufferSlices()
3447 bindings_.SetTempBufferBase( in BuildKernelThunkFromBufferSlices()
3479 bindings_.BindHloToIrValue(*instr, value, index); in BuildKernelThunk()
/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.cc534 bindings_(new AddressMap()), in VirtualSocketServer()
548 delete bindings_; in ~VirtualSocketServer()
685 return bindings_->insert(entry).second ? 0 : -1; in Bind()
710 if (bindings_->find(*addr) == bindings_->end()) { in Bind()
721 AddressMap::iterator it = bindings_->find(normalized); in LookupBinding()
722 if (it != bindings_->end()) { in LookupBinding()
743 RTC_DCHECK((*bindings_)[normalized] == socket); in Unbind()
744 bindings_->erase(bindings_->find(normalized)); in Unbind()
Dproxy_server.h84 std::vector<std::unique_ptr<ProxyBinding>> bindings_; variable
Dproxy_server.cc53 bindings_.emplace_back( in OnAcceptEvent()
Dvirtual_socket_server.h277 AddressMap* bindings_; variable
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryDeviceMemoryReportTests.cpp849 Parameters (const std::vector<Binding>& bindings_) in Parameters()
850 : bindings(bindings_) in Parameters()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiObjectManagementTests.cpp1428 Parameters (const vector<Binding>& bindings_) in Parameters()
1429 : bindings(bindings_) in Parameters()
/external/angle/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/
Dvulkan_structs.hpp15695 bindings_ ) in DescriptorSetLayoutCreateInfo()
15696 … flags( flags_ ), bindingCount( static_cast<uint32_t>( bindings_.size() ) ), pBindings( bindings_.… in DescriptorSetLayoutCreateInfo()
15739 bindings_ ) VULKAN_HPP_NOEXCEPT in setBindings()
15741 bindingCount = static_cast<uint32_t>( bindings_.size() ); in setBindings()
15742 pBindings = bindings_.data(); in setBindings()
/external/vulkan-headers/include/vulkan/
Dvulkan.hpp29904 …ArrayProxyNoTemporaries<const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutBinding> const & bindings_ ) in DescriptorSetLayoutCreateInfo()
29905 … flags( flags_ ), bindingCount( static_cast<uint32_t>( bindings_.size() ) ), pBindings( bindings_.… in DescriptorSetLayoutCreateInfo()
29947 …oraries<const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutBinding> const & bindings_ ) VULKAN_HPP_NOE… in setBindings()
29949 bindingCount = static_cast<uint32_t>( bindings_.size() ); in setBindings()
29950 pBindings = bindings_.data(); in setBindings()
/external/swiftshader/include/vulkan/
Dvulkan.hpp30062 …ArrayProxyNoTemporaries<const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutBinding> const & bindings_ ) in DescriptorSetLayoutCreateInfo()
30063 … flags( flags_ ), bindingCount( static_cast<uint32_t>( bindings_.size() ) ), pBindings( bindings_.… in DescriptorSetLayoutCreateInfo()
30105 …oraries<const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutBinding> const & bindings_ ) VULKAN_HPP_NOE… in setBindings()
30107 bindingCount = static_cast<uint32_t>( bindings_.size() ); in setBindings()
30108 pBindings = bindings_.data(); in setBindings()