Home
last modified time | relevance | path

Searched refs:in_use_ (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dtracking_allocator.cc60 in_use_.emplace(std::make_pair(ptr, chunk)); in AllocateRaw()
89 auto itr = in_use_.find(ptr); in DeallocateRaw()
90 if (itr != in_use_.end()) { in DeallocateRaw()
93 in_use_.erase(itr); in DeallocateRaw()
119 auto it = in_use_.find(ptr); in RequestedSize()
120 if (it != in_use_.end()) { in RequestedSize()
132 auto it = in_use_.find(ptr); in AllocatedSize()
133 if (it != in_use_.end()) { in AllocatedSize()
145 auto it = in_use_.find(ptr); in AllocationId()
146 if (it != in_use_.end()) { in AllocationId()
Dtracking_allocator.h126 std::unordered_map<const void*, Chunk> in_use_ TF_GUARDED_BY(mu_);
/external/libgav1/libgav1/src/
Dbuffer_pool.cc138 if (buffer->in_use_) { in ~BufferPool()
168 if (!buffer->in_use_) { in GetFreeBuffer()
169 buffer->in_use_ = true; in GetFreeBuffer()
183 buffer->in_use_ = true; in GetFreeBuffer()
202 if (buffer->in_use_) { in Abort()
210 assert(buffer->in_use_); in ReturnUnusedBuffer()
211 buffer->in_use_ = false; in ReturnUnusedBuffer()
Dbuffer_pool.h289 bool in_use_ = false; // Only used by BufferPool. variable
/external/tensorflow/tensorflow/core/lib/io/
Dcache.cc205 LRUHandle in_use_ TF_GUARDED_BY(mutex_);
214 in_use_.next = &in_use_; in LRUCache()
215 in_use_.prev = &in_use_; in LRUCache()
219 assert(in_use_.next == &in_use_); // Error if caller has an unreleased handle in ~LRUCache()
233 LRU_Append(&in_use_, e); in Ref()
299 LRU_Append(&in_use_, e); in Insert()
/external/pigweed/pw_thread_threadx/public/pw_thread_threadx/
Dcontext.h62 bool in_use() const { return in_use_; } in in_use()
63 void set_in_use(bool in_use = true) { in_use_ = in_use; }
102 bool in_use_ = false; variable
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dtracked_device_buffer.cc173 in_use_(true), in TrackedDeviceBuffer()
193 CHECK(in_use_); in AddUsageEvent()
209 CHECK(in_use_); in LockUseAndTransferUsageEvents()
210 in_use_ = false; in LockUseAndTransferUsageEvents()
Dtracked_device_buffer.h206 TrackedDeviceBuffer() : in_use_(true) {} in TrackedDeviceBuffer()
234 bool in_use_; variable