Home
last modified time | relevance | path

Searched refs:in_use_ (Results 1 – 10 of 10) 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.h130 std::unordered_map<const void*, Chunk> in_use_ TF_GUARDED_BY(mu_);
/external/libgav1/src/
Dbuffer_pool.cc138 if (buffer->in_use_) { in ~BufferPool()
161 if (!buffer->in_use_) { in GetFreeBuffer()
162 buffer->in_use_ = true; in GetFreeBuffer()
179 buffer->in_use_ = true; in GetFreeBuffer()
198 if (buffer->in_use_) { in Abort()
206 assert(buffer->in_use_); in ReturnUnusedBuffer()
207 buffer->in_use_ = false; in ReturnUnusedBuffer()
Dbuffer_pool.h323 bool in_use_ = false; // Only used by BufferPool. variable
/external/leveldb/util/
Dcache.cc193 LRUHandle in_use_ GUARDED_BY(mutex_);
202 in_use_.next = &in_use_; in LRUCache()
203 in_use_.prev = &in_use_; in LRUCache()
207 assert(in_use_.next == &in_use_); // Error if caller has an unreleased handle in ~LRUCache()
221 LRU_Append(&in_use_, e); in Ref()
287 LRU_Append(&in_use_, e); in Insert()
/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; }
97 bool in_use_ = false; variable
/external/pigweed/pw_thread_embos/public/pw_thread_embos/
Dcontext.h61 bool in_use() const { return in_use_; } in in_use()
62 void set_in_use(bool in_use = true) { in_use_ = in_use; }
96 bool in_use_ = false; variable
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dtracked_device_buffer.cc175 in_use_(true), in TrackedDeviceBuffer()
195 CHECK(in_use_); in AddUsageEvent()
211 CHECK(in_use_); in LockUseAndTransferUsageEvents()
212 in_use_ = false; in LockUseAndTransferUsageEvents()
Dtracked_device_buffer.h211 TrackedDeviceBuffer() : in_use_(true) {} in TrackedDeviceBuffer()
239 bool in_use_; variable