Searched refs:Capacity (Results 1 – 14 of 14) sorted by relevance
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | thread_local_buffer.h | 42 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_;
|
D | message_buffer.h | 14 template <typename Slot, std::size_t Capacity = 4096, typename T = std::uint8_t, 16 using MessageBuffer = ThreadLocalBuffer<T, Allocator, Capacity, Slot>;
|
D | payload.h | 68 std::size_t Capacity() const { return buffer_.capacity(); } in Capacity() function
|
D | remote_method.h | 355 reply_payload.Resize(reply_payload.Capacity()); 419 reply_payload.Resize(reply_payload.Capacity());
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache_test.cpp | 53 ::testing::Values(NNCache::Policy(NNCache::Select::RANDOM, NNCache::Capacity::HALVE), 54 NNCache::Policy(NNCache::Select::LRU, NNCache::Capacity::HALVE), 56 NNCache::Policy(NNCache::Select::RANDOM, NNCache::Capacity::FIT), 57 NNCache::Policy(NNCache::Select::LRU, NNCache::Capacity::FIT), 59 NNCache::Policy(NNCache::Select::RANDOM, NNCache::Capacity::FIT_HALVE), 60 NNCache::Policy(NNCache::Select::LRU, NNCache::Capacity::FIT_HALVE))); 145 case NNCache::Capacity::HALVE: in TEST_P() 151 case NNCache::Capacity::FIT: in TEST_P() 152 case NNCache::Capacity::FIT_HALVE: { in TEST_P()
|
D | nnCache.h | 35 typedef BlobCache::Capacity Capacity; typedef
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache_test.cpp | 60 ::testing::Values(BlobCache::Policy(BlobCache::Select::RANDOM, BlobCache::Capacity::HALVE), 61 BlobCache::Policy(BlobCache::Select::LRU, BlobCache::Capacity::HALVE), 63 BlobCache::Policy(BlobCache::Select::RANDOM, BlobCache::Capacity::FIT), 64 BlobCache::Policy(BlobCache::Select::LRU, BlobCache::Capacity::FIT), 66 BlobCache::Policy(BlobCache::Select::RANDOM, BlobCache::Capacity::FIT_HALVE), 67 BlobCache::Policy(BlobCache::Select::LRU, BlobCache::Capacity::FIT_HALVE))); 314 if (GetParam().second == BlobCache::Capacity::FIT) in TEST_P() 345 if (GetParam().second != BlobCache::Capacity::FIT) in TEST_P() 399 case BlobCache::Capacity::HALVE: in TEST_P() 405 case BlobCache::Capacity::FIT: in TEST_P() [all …]
|
D | BlobCache.h | 45 enum class Capacity { enum 63 typedef std::pair<Select, Capacity> Policy; 65 static Policy defaultPolicy() { return Policy(Select::DEFAULT, Capacity::DEFAULT); } in defaultPolicy() 174 static bool isFit(Capacity capacity); 331 const Capacity mPolicyCapacity;
|
D | BlobCache.cpp | 369 case Capacity::HALVE: in findDownTo() 371 case Capacity::FIT: in findDownTo() 373 case Capacity::FIT_HALVE: in findDownTo() 381 bool BlobCache::isFit(Capacity capacity) { in isFit() 383 case Capacity::HALVE: in isFit() 385 case Capacity::FIT: in isFit() 386 case Capacity::FIT_HALVE: in isFit() 413 case Capacity::HALVE: in isCleanable() 418 case Capacity::FIT: in isCleanable() 419 case Capacity::FIT_HALVE: in isCleanable()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | native_frame.h | 62 int Capacity() { in Capacity() function
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | repeated_field.h | 148 int Capacity() const; 425 int Capacity() const; 763 int Capacity() const; 1048 inline int RepeatedField<Element>::Capacity() const { 1527 inline int RepeatedPtrFieldBase::Capacity() const { 2045 inline int RepeatedPtrField<Element>::Capacity() const { 2046 return RepeatedPtrFieldBase::Capacity();
|
D | repeated_field_unittest.cc | 473 EXPECT_EQ(32, field.Capacity()); in TEST() 477 EXPECT_EQ(1024, field.Capacity()); in TEST() 709 while (field.size() < field.Capacity()) { in TEST() 739 while (field.size() < field.Capacity()) { in TEST()
|
D | wire_format_lite_inl.h | 239 int elements_already_reserved = values->Capacity() - values->size(); in ReadRepeatedPrimitive() 278 std::min(values->Capacity() - values->size(), size / per_value_size); in ReadRepeatedFixedSizePrimitive()
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_native_frame.cpp | 271 return frame ? frame->Capacity() : -1; in Java_android_filterfw_core_NativeFrame_getNativeCapacity()
|