Home
last modified time | relevance | path

Searched refs:Capacity (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dthread_local_buffer.h42 std::size_t Capacity = InitialBufferCapacity,
67 static BufferType& GetBuffer(std::size_t capacity = Capacity) {
78 Reserve(Capacity); in GetEmptyBuffer()
85 static BufferType& GetSizedBuffer(std::size_t size = Capacity) {
125 template <typename T, typename Allocator, std::size_t Capacity, typename Slot>
127 typename ThreadLocalBuffer<T, Allocator, Capacity, Slot>::BufferType*
128 ThreadLocalBuffer<T, Allocator, Capacity, Slot>::buffer_;
Dmessage_buffer.h14 template <typename Slot, std::size_t Capacity = 4096, typename T = std::uint8_t,
16 using MessageBuffer = ThreadLocalBuffer<T, Allocator, Capacity, Slot>;
Dpayload.h68 std::size_t Capacity() const { return buffer_.capacity(); } in Capacity() function
Dremote_method.h355 reply_payload.Resize(reply_payload.Capacity());
419 reply_payload.Resize(reply_payload.Capacity());
/frameworks/ml/nn/driver/cache/nnCache/
DnnCache_test.cpp52 ::testing::Values(NNCache::Policy(NNCache::Select::RANDOM, NNCache::Capacity::HALVE),
53 NNCache::Policy(NNCache::Select::LRU, NNCache::Capacity::HALVE),
55 NNCache::Policy(NNCache::Select::RANDOM, NNCache::Capacity::FIT),
56 NNCache::Policy(NNCache::Select::LRU, NNCache::Capacity::FIT),
58 NNCache::Policy(NNCache::Select::RANDOM, NNCache::Capacity::FIT_HALVE),
59 NNCache::Policy(NNCache::Select::LRU, NNCache::Capacity::FIT_HALVE)));
143 case NNCache::Capacity::HALVE: in TEST_P()
149 case NNCache::Capacity::FIT: in TEST_P()
150 case NNCache::Capacity::FIT_HALVE: { in TEST_P()
DnnCache.h34 typedef BlobCache::Capacity Capacity; typedef
/frameworks/ml/nn/driver/cache/BlobCache/
DBlobCache_test.cpp57 BlobCache::Policy(BlobCache::Select::RANDOM, BlobCache::Capacity::HALVE),
58 BlobCache::Policy(BlobCache::Select::LRU, BlobCache::Capacity::HALVE),
60 BlobCache::Policy(BlobCache::Select::RANDOM, BlobCache::Capacity::FIT),
61 BlobCache::Policy(BlobCache::Select::LRU, BlobCache::Capacity::FIT),
63 BlobCache::Policy(BlobCache::Select::RANDOM, BlobCache::Capacity::FIT_HALVE),
64 BlobCache::Policy(BlobCache::Select::LRU, BlobCache::Capacity::FIT_HALVE)));
310 if (GetParam().second == BlobCache::Capacity::FIT) in TEST_P()
340 if (GetParam().second != BlobCache::Capacity::FIT) in TEST_P()
392 case BlobCache::Capacity::HALVE: in TEST_P()
398 case BlobCache::Capacity::FIT: in TEST_P()
[all …]
DBlobCache.h45 enum class Capacity { enum
63 typedef std::pair<Select, Capacity> Policy;
65 static Policy defaultPolicy() { return Policy(Select::DEFAULT, Capacity::DEFAULT); } in defaultPolicy()
173 static bool isFit(Capacity capacity);
330 const Capacity mPolicyCapacity;
DBlobCache.cpp366 case Capacity::HALVE: in findDownTo()
368 case Capacity::FIT: in findDownTo()
370 case Capacity::FIT_HALVE: in findDownTo()
378 bool BlobCache::isFit(Capacity capacity) { in isFit()
380 case Capacity::HALVE: in isFit()
382 case Capacity::FIT: in isFit()
383 case Capacity::FIT_HALVE: in isFit()
410 case Capacity::HALVE: in isCleanable()
415 case Capacity::FIT: in isCleanable()
416 case Capacity::FIT_HALVE: in isCleanable()
/frameworks/base/media/mca/filterfw/native/core/
Dnative_frame.h62 int Capacity() { in Capacity() function
/frameworks/base/media/mca/filterfw/jni/
Djni_native_frame.cpp271 return frame ? frame->Capacity() : -1; in Java_android_filterfw_core_NativeFrame_getNativeCapacity()