Home
last modified time | relevance | path

Searched refs:objects_ (Results 1 – 11 of 11) 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.h54 size_t size() const { return objects_.size(); } in size()
56 size_t count(const key_type& key) const { return objects_.count(key); } in count()
60 const_iterator begin() const { return objects_.begin(); } in begin()
61 const_iterator end() const { return objects_.end(); } in end()
63 iterator begin() { return objects_.begin(); } in begin()
64 iterator end() { return objects_.end(); } in end()
70 objects_.emplace(std::forward<Args>(args)...); in emplace()
81 std::unordered_map<key_type, value_type, hasher> objects_;
89 value_type& value = objects_.at(key); in Touch()
108 while (objects_.size() > (capacity_ - n)) {
[all …]
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dobject_tracker.cc63 for (TrackedObjectMap::iterator iter = objects_.begin(); in ~ObjectTracker()
64 iter != objects_.end(); iter++) { in ~ObjectTracker()
132 if (config_->always_track || objects_.size() > 0) { in NextFrame()
133 LOGV("Tracking %zu targets", objects_.size()); in NextFrame()
154 if (objects_.find(id) != objects_.end()) { in MaybeAddObject()
155 return objects_[id]; in MaybeAddObject()
169 objects_[id] = object; in MaybeAddObject()
191 if (objects_.find(id) == objects_.end()) { in RegisterNewObjectWithAppearance()
227 objects_.erase(id); in ForgetTarget()
406 for (TrackedObjectMap::const_iterator iter = objects_.begin(); in Draw()
[all …]
Dobject_tracker.h118 return objects_.find(id) != objects_.end(); in HaveObject()
123 TrackedObjectMap::const_iterator iter = objects_.find(id); in GetObject()
124 CHECK_ALWAYS(iter != objects_.end(), in GetObject()
132 TrackedObjectMap::iterator iter = objects_.find(id); in GetObject()
133 CHECK_ALWAYS(iter != objects_.end(), in GetObject()
203 TrackedObjectMap objects_; variable
263 stream << tracker.objects_;
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Drpc_rendezvous_mgr.cc175 for (size_t i = 0; i < objects_.size(); i++) { in ~RpcRecvTensorFreeList()
176 delete objects_[i]; in ~RpcRecvTensorFreeList()
183 if (!objects_.empty()) { in New()
184 RpcRecvTensorCall* result = objects_.back(); in New()
185 objects_.pop_back(); in New()
196 if (objects_.size() < kMaxObjects) { in Release()
197 objects_.push_back(obj); in Release()
208 std::vector<RpcRecvTensorCall*> objects_ GUARDED_BY(mu_);
/external/v8/src/debug/
Ddebug.cc47 void AllocationEvent(Address addr, int) override { objects_.insert(addr); } in AllocationEvent()
52 auto it = objects_.find(from); in MoveEvent()
53 if (it == objects_.end()) { in MoveEvent()
57 objects_.erase(to); in MoveEvent()
60 objects_.erase(it); in MoveEvent()
61 objects_.insert(to); in MoveEvent()
73 return objects_.find(obj->address()) != objects_.end(); in HasObject()
77 std::unordered_set<Address> objects_; member in v8::internal::Debug::TemporaryObjectsTracker
/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/v8/src/compiler/
Dinstruction-selector.cc506 explicit StateObjectDeduplicator(Zone* zone) : objects_(zone) {} in StateObjectDeduplicator()
513 for (size_t i = 0; i < objects_.size(); ++i) { in GetObjectId()
514 if (objects_[i] == node) return i; in GetObjectId()
518 if (HasObjectId(objects_[i]) && HasObjectId(node) && in GetObjectId()
519 ObjectIdOf(objects_[i]->op()) == ObjectIdOf(node->op())) { in GetObjectId()
532 size_t id = objects_.size(); in InsertObject()
533 objects_.push_back(node); in InsertObject()
543 ZoneVector<Node*> objects_; member in v8::internal::compiler::StateObjectDeduplicator
/external/v8/src/profiler/
Dheap-snapshot-generator.cc1968 objects_.push_back(Handle<JSGlobalObject>(JSGlobalObject::cast(global), in VisitRootPointers()
1972 int count() const { return static_cast<int>(objects_.size()); } in count()
1973 Handle<JSGlobalObject>& at(int i) { return objects_[i]; } in at()
1976 std::vector<Handle<JSGlobalObject>> objects_; member in v8::internal::GlobalObjectsEnumerator
/external/googletest/googlemock/docs/
DForDummies.md8 **Note:** It is easy to confuse the term _fake objects_ with mock objects. Fakes and mocks actually…