Home
last modified time | relevance | path

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

/system/libfmq/include/fmq/
DMessageQueue.h312 bool copyTo(const T* data, size_t startIdx, size_t nMessages = 1);
328 bool copyFrom(T* data, size_t startIdx, size_t nMessages = 1);
469 bool MessageQueue<T, flavor>::MemTransaction::getMemRegionInfo(size_t startIdx, in getMemRegionInfo() argument
478 if (startIdx + nMessages > firstRegionLength + secondRegionLength) { in getMemRegionInfo()
487 firstCount = startIdx < firstRegionLength ? in getMemRegionInfo()
488 std::min(nMessages, firstRegionLength - startIdx) : 0; in getMemRegionInfo()
494 *firstBaseAddress = first.getAddress() + startIdx; in getMemRegionInfo()
498 size_t secondStartIdx = startIdx > firstRegionLength ? startIdx - firstRegionLength : 0; in getMemRegionInfo()
506 bool MessageQueue<T, flavor>::MemTransaction::copyFrom(T* data, size_t startIdx, size_t nMessages) { in copyFrom() argument
514 if (getMemRegionInfo(startIdx, in copyFrom()
[all …]