Searched refs:numElementsInQueue (Results 1 – 4 of 4) sorted by relevance
/system/libfmq/include/fmq/ |
D | MessageQueue.h | 46 MessageQueue(size_t numElementsInQueue, bool configureEventFlagWord, in MessageQueue() 48 : MessageQueueBase<MQDescriptor, T, flavor>(numElementsInQueue, configureEventFlagWord, in MessageQueue() 51 MessageQueue(size_t numElementsInQueue, bool configureEventFlagWord = false) 52 : MessageQueueBase<MQDescriptor, T, flavor>(numElementsInQueue, configureEventFlagWord,
|
D | AidlMessageQueue.h | 100 AidlMessageQueue(size_t numElementsInQueue, bool configureEventFlagWord, 103 AidlMessageQueue(size_t numElementsInQueue, bool configureEventFlagWord = false) 104 : AidlMessageQueue(numElementsInQueue, configureEventFlagWord, android::base::unique_fd(), 121 AidlMessageQueue<T, U>::AidlMessageQueue(size_t numElementsInQueue, bool configureEventFlagWord, 124 numElementsInQueue, configureEventFlagWord, std::move(bufferFd), bufferSize) {}
|
D | MessageQueueBase.h | 63 MessageQueueBase(size_t numElementsInQueue, bool configureEventFlagWord, 66 MessageQueueBase(size_t numElementsInQueue, bool configureEventFlagWord = false) 67 : MessageQueueBase(numElementsInQueue, configureEventFlagWord, android::base::unique_fd(), 662 MessageQueueBase<MQDescriptorType, T, flavor>::MessageQueueBase(size_t numElementsInQueue, in MessageQueueBase() argument 667 if (numElementsInQueue > SIZE_MAX / sizeof(T)) { in MessageQueueBase() 670 ". Number of elements: " + std::to_string(numElementsInQueue)); in MessageQueueBase() 673 if (bufferFd != -1 && numElementsInQueue * sizeof(T) > bufferSize) { in MessageQueueBase() 676 std::to_string(numElementsInQueue * sizeof(T)) + ")."); in MessageQueueBase() 684 size_t kQueueSizeBytes = numElementsInQueue * sizeof(T); in MessageQueueBase()
|
/system/libfmq/tests/ |
D | fmq_unit_tests.cpp | 302 size_t numElementsInQueue = SIZE_MAX / sizeof(uint16_t) + 1; in TYPED_TEST() local 304 new (std::nothrow) typename TypeParam::MQType(numElementsInQueue); in TYPED_TEST() 314 size_t numElementsInQueue = SIZE_MAX / sizeof(uint32_t) - PAGE_SIZE - 1; in TEST_F() local 318 android::AidlMessageQueue<uint32_t, SynchronizedReadWrite> fmq(numElementsInQueue); in TEST_F() 328 size_t numElementsInQueue = 64; in TEST_F() local 331 MessageQueueSync8* fmq = new (std::nothrow) MessageQueueSync8(numElementsInQueue); in TEST_F() 362 size_t numElementsInQueue = 64; in TEST_F() local 365 MessageQueueUnsync8* fmq = new (std::nothrow) MessageQueueUnsync8(numElementsInQueue); in TEST_F() 457 size_t numElementsInQueue = SSIZE_MAX / sizeof(uint16_t) + 1; in TEST_F() local 458 AidlMessageQueueSync16* fmq = new (std::nothrow) AidlMessageQueueSync16(numElementsInQueue); in TEST_F()
|