Home
last modified time | relevance | path

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

/external/vixl/src/
Dpool-manager-impl.h53 if (objects_.empty()) return pc; in Emit()
72 if (pc < objects_[0].min_location_) { in Emit()
73 int32_t padding = objects_[0].min_location_ - pc; in Emit()
82 for (objects_iter iter = objects_.begin(); iter != objects_.end();) { in Emit()
207 if (objects_.empty()) { in MustEmit()
243 const PoolObject<T>& last = objects_.back(); in MustEmit()
268 for (int i = static_cast<int>(objects_.size()) - 1; i >= 0; --i) { in MustEmit()
269 const PoolObject<T>& current = objects_[i]; in MustEmit()
304 if (objects_.empty()) { in RecalculateCheckpoint()
311 std::sort(objects_.begin(), objects_.end(), PoolObjectLessThan); in RecalculateCheckpoint()
[all …]
Dpool-manager.h458 for (const_objects_iter iter = objects_.begin(); iter != objects_.end(); in GetObjectIfTracked()
503 bool PoolIsEmptyForTest() const { return objects_.empty(); } in PoolIsEmptyForTest()
512 std::vector<PoolObject<T> > objects_; variable
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_lru_cache.h59 size_t size() const { return objects_.size(); } in size()
61 size_t count(const key_type& key) const { return objects_.count(key); } in count()
65 const_iterator begin() const { return objects_.begin(); } in begin()
66 const_iterator end() const { return objects_.end(); } in end()
68 iterator begin() { return objects_.begin(); } in begin()
69 iterator end() { return objects_.end(); } in end()
75 objects_.emplace(std::forward<Args>(args)...); in emplace()
86 std::unordered_map<key_type, value_type, hasher> objects_;
94 value_type& value = objects_.at(key); in Touch()
111 while (objects_.size() > (capacity_ - n)) {
[all …]
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dobject_tracker.cc63 for (TrackedObjectMap::iterator iter = objects_.begin(); in ~ObjectTracker()
64 iter != objects_.end(); iter++) { in ~ObjectTracker()
133 if (config_->always_track || objects_.size() > 0) { in NextFrame()
134 LOGV("Tracking %zu targets", objects_.size()); in NextFrame()
155 if (objects_.find(id) != objects_.end()) { in MaybeAddObject()
156 return objects_[id]; in MaybeAddObject()
170 objects_[id] = object; in MaybeAddObject()
192 if (objects_.find(id) == objects_.end()) { in RegisterNewObjectWithAppearance()
229 objects_.erase(id); in ForgetTarget()
408 for (TrackedObjectMap::const_iterator iter = objects_.begin(); in Draw()
[all …]
Dobject_tracker.h117 return objects_.find(id) != objects_.end(); in HaveObject()
122 TrackedObjectMap::const_iterator iter = objects_.find(id); in GetObject()
123 CHECK_ALWAYS(iter != objects_.end(), in GetObject()
131 TrackedObjectMap::iterator iter = objects_.find(id); in GetObject()
132 CHECK_ALWAYS(iter != objects_.end(), in GetObject()
202 TrackedObjectMap objects_; variable
262 stream << tracker.objects_;
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Drpc_rendezvous_mgr.cc192 for (size_t i = 0; i < objects_.size(); i++) { in ~RpcRecvTensorFreeList()
193 delete objects_[i]; in ~RpcRecvTensorFreeList()
200 if (!objects_.empty()) { in New()
201 RpcRecvTensorCall* result = objects_.back(); in New()
202 objects_.pop_back(); in New()
213 if (objects_.size() < kMaxObjects) { in Release()
214 objects_.push_back(obj); in Release()
225 std::vector<RpcRecvTensorCall*> objects_ TF_GUARDED_BY(mu_);
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/
Darguments.cc88 objects_[name] = {std::move(descriptor_ptr)}; in AddObject()
105 object_names.reserve(args.object_refs_.size() + args.objects_.size()); in Merge()
115 for (auto& v : args.objects_) { in Merge()
118 if (objects_.find(name) != objects_.end()) { in Merge()
122 objects_[name] = {std::move(v.second)}; in Merge()
137 for (auto& t : objects_) { in ReleaseCPURepresentation()
Darguments.h111 std::map<std::string, GPUObjectDescriptorPtr> objects_; variable
/external/tensorflow/tensorflow/compiler/xla/python/
Dpython_ref_manager.cc27 objects_.reserve(objects.size()); in ManagedPyObjects()
29 objects_.push_back(std::move(object)); in ManagedPyObjects()
36 for (pybind11::object& object : objects_) { in ~ManagedPyObjects()
Dpython_ref_manager.h59 absl::InlinedVector<pybind11::object, 1> objects_; variable
/external/tensorflow/tensorflow/c/experimental/saved_model/core/revived_types/
Drevived_objects.h49 objects_.push_back(std::move(object)); in Insert()
66 std::vector<std::unique_ptr<T>> objects_;
/external/llvm-project/flang/include/flang/Semantics/
Dsymbol.h302 const SymbolVector &objects() const { return objects_; } in objects()
303 void add_object(const Symbol &object) { objects_.push_back(object); } in add_object()
305 objects_.insert(objects_.end(), objects.begin(), objects.end()); in add_objects()
309 SymbolVector objects_;
314 MutableSymbolVector &objects() { return objects_; } in objects()
315 const MutableSymbolVector &objects() const { return objects_; } in objects()
316 void add_object(Symbol &object) { objects_.emplace_back(object); } in add_object()
323 MutableSymbolVector objects_;
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dcl_arguments.cc245 objects_.resize(args.objects_.size()); in AllocateObjects()
247 for (auto& t : args.objects_) { in AllocateObjects()
248 RETURN_IF_ERROR(CreateCLObject(t.second.get(), context, &objects_[i])); in AllocateObjects()
255 for (auto& t : args->objects_) { in AddObjectArgs()
266 for (const auto& t : args.objects_) { in SetObjectsResources()
268 RETURN_IF_ERROR(objects_[i]->GetGPUResources(t.second.get(), &resources)); in SetObjectsResources()
341 auto it_obj = args.objects_.find(object_name); in ResolveSelector()
344 } else if (it_obj != args.objects_.end()) { in ResolveSelector()
Dcl_arguments.h185 std::vector<GPUObjectPtr> objects_; variable
Dserialization.cc636 for (auto& value : args.objects_) { in Encode()
649 for (auto& value : args.objects_) { in Encode()
662 for (auto& value : args.objects_) { in Encode()
675 for (auto& value : args.objects_) { in Encode()
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dmetal_arguments.cc460 objects_.resize(args.objects_.size()); in AllocateObjects()
462 for (auto& t : args.objects_) { in AllocateObjects()
463 RETURN_IF_ERROR(CreateMetalObject(device, t.second.get(), &objects_[i])); in AllocateObjects()
470 for (auto& t : args->objects_) { in AddObjectArgs()
724 auto it_obj = args.objects_.find(object_name); in ResolveSelector()
727 } else if (it_obj != args.objects_.end()) { in ResolveSelector()
792 for (const auto& t : args.objects_) { in SetObjectsResources()
794 RETURN_IF_ERROR(objects_[i]->GetGPUResources(t.second.get(), &resources)); in SetObjectsResources()
Dmetal_arguments.h172 std::vector<GPUObjectPtr> objects_; variable
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dapi.cc93 objects_(objects), in InferenceContextWithBatchImpl()
111 auto buffer = objects_->FindBuffer(id); in Execute()
134 auto buffer = objects_->FindBuffer(id); in Execute()
160 const ObjectManager* objects_; member in tflite::gpu::gl::__anone3705d010111::InferenceContextWithBatchImpl
Dapi2.cc83 : TensorTie(def), objects_(objects), internal_obj_(internal_obj) {} in DefaultTensorTie()
152 RETURN_IF_ERROR(objects_->RegisterBuffer(def().id, std::move(buffer))); in SetExternalObject()
201 objects_->RegisterBuffer(def().id, std::move(invalid_buffer))); in Init()
233 RETURN_IF_ERROR(objects_->RegisterBuffer(def().id, std::move(ssbo))); in MaybeAllocateInternalObject()
265 ObjectManager* objects_; member in tflite::gpu::gl::__anon517d4d930111::DefaultTensorTie
/external/vixl/test/
Dtest-pool-manager.cc286 printf("Number of objects: %d\n", static_cast<int>(objects_.size()))); in DumpCurrentState()
289 for (int i = 0; i < static_cast<int>(objects_.size()); ++i) { in DumpCurrentState()
290 const PoolObject<int32_t> &object = objects_[i]; in DumpCurrentState()
/external/angle/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/
Dvulkan_structs.hpp13584 objects_ = {} )
13593 , objectCount( static_cast<uint32_t>( objects_.size() ) )
13594 , pObjects( objects_.data() )
13704 objects_ ) VULKAN_HPP_NOEXCEPT in setObjects()
13706 objectCount = static_cast<uint32_t>( objects_.size() ); in setObjects()
13707 pObjects = objects_.data(); in setObjects()
/external/vulkan-headers/include/vulkan/
Dvulkan.hpp27794 …ProxyNoTemporaries<const VULKAN_HPP_NAMESPACE::DebugUtilsObjectNameInfoEXT> const & objects_ = {} ) in DebugUtilsMessengerCallbackDataEXT()
27795 …BufLabels_.data() ), objectCount( static_cast<uint32_t>( objects_.size() ) ), pObjects( objects_.d…
27897 …raries<const VULKAN_HPP_NAMESPACE::DebugUtilsObjectNameInfoEXT> const & objects_ ) VULKAN_HPP_NOEX… in setObjects()
27899 objectCount = static_cast<uint32_t>( objects_.size() ); in setObjects()
27900 pObjects = objects_.data(); in setObjects()
/external/swiftshader/include/vulkan/
Dvulkan.hpp27952 …ProxyNoTemporaries<const VULKAN_HPP_NAMESPACE::DebugUtilsObjectNameInfoEXT> const & objects_ = {} ) in DebugUtilsMessengerCallbackDataEXT()
27953 …BufLabels_.data() ), objectCount( static_cast<uint32_t>( objects_.size() ) ), pObjects( objects_.d…
28055 …raries<const VULKAN_HPP_NAMESPACE::DebugUtilsObjectNameInfoEXT> const & objects_ ) VULKAN_HPP_NOEX… in setObjects()
28057 objectCount = static_cast<uint32_t>( objects_.size() ); in setObjects()
28058 pObjects = objects_.data(); in setObjects()