Home
last modified time | relevance | path

Searched refs:quantum (Results 1 – 8 of 8) sorted by relevance

/system/libfmq/
DErasedMessageQueue.cpp40 int32_t quantum, int32_t flags) { in convertDesc() argument
47 quantum, in convertDesc()
75 return desc.quantum; in descQuantum()
85 size_t quantum) in ErasedMessageQueue() argument
87 numElementsInQueue, configureEventFlagWord, quantum)) {} in ErasedMessageQueue()
Dlibfmq.rs189 desc.quantum, in from_desc()
244 let (grantors, fds, ints, quantum, flags) = unsafe { in dupe_desc()
249 let quantum = descQuantum(erased_desc); in dupe_desc() localVariable
251 (grantors, fds, ints, quantum, flags) in dupe_desc()
257 desc.quantum = quantum; in dupe_desc()
DErasedMessageQueue.hpp65 int32_t quantum, int32_t flags);
103 ErasedMessageQueue(size_t numElementsInQueue, bool configureEventFlagWord, size_t quantum);
/system/libfmq/include/fmq/
DAidlMessageQueue.h109 std::enable_if_t<std::is_same_v<V, MQErased>, size_t> quantum = sizeof(T))
111 0, quantum) {}
116 std::enable_if_t<std::is_same_v<V, MQErased>, size_t> quantum);
141 size_t bufferSize, std::enable_if_t<std::is_same_v<V, MQErased>, size_t> quantum)
144 quantum) {}
169 .quantum = static_cast<int32_t>(shim->getQuantum()),
DMessageQueueBase.h478 android::base::unique_fd bufferFd, size_t bufferSize, size_t quantum);
484 inline size_t quantum() const;
670 if (mDesc->getQuantum() != quantum()) { in initMemory()
746 size_t bufferSize, size_t quantum) { in MessageQueueBase() argument
748 if (numElementsInQueue > SIZE_MAX / quantum) { in MessageQueueBase()
750 std::to_string(quantum) + in MessageQueueBase()
758 if (bufferFd != -1 && numElementsInQueue * quantum > bufferSize) { in MessageQueueBase()
761 std::to_string(numElementsInQueue * quantum) + ")."); in MessageQueueBase()
769 size_t kQueueSizeBytes = numElementsInQueue * quantum; in MessageQueueBase()
848 Descriptor(grantors, mqHandle, quantum)); in MessageQueueBase()
[all …]
DAidlMQDescriptorShim.h89 : mQuantum(desc.quantum), mFlags(desc.flags) { in AidlMQDescriptorShim()
90 if (desc.quantum < 0 || desc.flags < 0) { in AidlMQDescriptorShim()
93 std::to_string(desc.quantum) + in AidlMQDescriptorShim()
DConvertMQDescriptors.h116 aidlDesc->quantum = static_cast<int32_t>(hidlDesc.getQuantum()); in unsafeHidlToAidlMQDescriptor()
/system/libfmq/tests/
Dfmq_unit_tests.cpp533 desc.quantum = -10; in TEST_F()
543 desc.quantum = 2; in TEST_F()
568 desc.quantum = 8; in TEST_F()