Searched refs:kSize (Results 1 – 11 of 11) sorted by relevance
/system/chre/util/include/chre/util/ |
D | memory_pool_impl.h | 26 template<typename ElementType, size_t kSize> 27 MemoryPool<ElementType, kSize>::MemoryPool() { in MemoryPool() 32 for (size_t i = 0; i < kSize; i++) { in MemoryPool() 37 template<typename ElementType, size_t kSize> 39 ElementType *MemoryPool<ElementType, kSize>::allocate(Args&&... args) { in allocate() 52 template<typename ElementType, size_t kSize> 53 void MemoryPool<ElementType, kSize>::deallocate(ElementType *element) { in deallocate() 64 template<typename ElementType, size_t kSize> 65 MemoryPool<ElementType, kSize>::MemoryPoolBlock::MemoryPoolBlock( in MemoryPoolBlock()
|
D | fixed_size_blocking_queue_impl.h | 25 template<typename ElementType, size_t kSize> 26 bool FixedSizeBlockingQueue<ElementType, kSize>::push( in push() 39 template<typename ElementType, size_t kSize> 40 ElementType FixedSizeBlockingQueue<ElementType, kSize>::pop() { in pop() 51 template<typename ElementType, size_t kSize> 52 bool FixedSizeBlockingQueue<ElementType, kSize>::empty() { in empty()
|
D | synchronized_memory_pool_impl.h | 25 template<typename ElementType, size_t kSize> 27 ElementType *SynchronizedMemoryPool<ElementType, kSize>::allocate( in allocate() 33 template<typename ElementType, size_t kSize> 34 void SynchronizedMemoryPool<ElementType, kSize>::deallocate( in deallocate()
|
D | memory_pool.h | 49 template<typename ElementType, size_t kSize> 101 FixedSizeVector<MemoryPoolBlock, kSize> mBlocks; 107 size_t mFreeBlockCount = kSize;
|
D | fixed_size_blocking_queue.h | 33 template <typename ElementType, size_t kSize> 68 ArrayQueue<ElementType, kSize> mQueue;
|
D | synchronized_memory_pool.h | 28 template<typename ElementType, size_t kSize> 60 MemoryPool<ElementType, kSize> mMemoryPool;
|
/system/chre/util/tests/ |
D | dynamic_vector_test.cc | 484 constexpr size_t kSize = ARRAY_SIZE(array); in TEST() local 487 for (size_t i = 0; i < kSize; ++i) { in TEST() 493 vector.erase(kSize - 1); in TEST() 494 for (size_t i = 0; i < kSize - 1; i++) { in TEST() 497 EXPECT_EQ(gDestructorCount[kSize - 1], 1); in TEST() 500 for (size_t i = 0; i < kSize; ++i) { in TEST() 709 constexpr size_t kSize = 4; in TEST() local 710 int buf[kSize]; in TEST() 711 for (size_t i = 0; i < kSize; i++) { in TEST() 717 vector.wrap(buf, kSize); in TEST() [all …]
|
/system/nvram/messages/include/nvram/messages/ |
D | struct.h | 261 static constexpr size_t kSize = TailList::kSize + 1; 271 static constexpr size_t kSize = 0;
|
D | proto.hpp | 252 make_index_sequence<DescriptorForType<StructType>::kFields.kSize>())> 363 static constexpr size_t kNumDescriptors = kFieldSpecList.kSize;
|
/system/media/audio/include/system/ |
D | audio.h | 925 const size_t kSize = AUDIO_DEVICE_MAX_ADDRESS_LEN + sizeof("a2dp_sink_address="); in audio_device_address_to_parameter() local 926 char param[kSize]; in audio_device_address_to_parameter() 929 snprintf(param, kSize, "%s=%s", "a2dp_sink_address", address); in audio_device_address_to_parameter() 931 snprintf(param, kSize, "%s=%s", "mix", address); in audio_device_address_to_parameter() 933 snprintf(param, kSize, "%s", address); in audio_device_address_to_parameter()
|
/system/update_engine/common/ |
D | utils_unittest.cc | 80 const size_t kSize = 1024 * 1024; in TEST() local 81 for (size_t i = 0; i < kSize; i++) { in TEST() 86 EXPECT_TRUE(utils::ReadFileChunk(file.value().c_str(), kSize, 10, &in_data)); in TEST()
|