Searched refs:startIdx (Results 1 – 1 of 1) sorted by relevance
/system/libfmq/include/fmq/ |
D | MessageQueue.h | 317 bool copyTo(const T* data, size_t startIdx, size_t nMessages = 1); 333 bool copyFrom(T* data, size_t startIdx, size_t nMessages = 1); 474 bool MessageQueue<T, flavor>::MemTransaction::getMemRegionInfo(size_t startIdx, in getMemRegionInfo() argument 483 if (startIdx + nMessages > firstRegionLength + secondRegionLength) { in getMemRegionInfo() 492 firstCount = startIdx < firstRegionLength ? in getMemRegionInfo() 493 std::min(nMessages, firstRegionLength - startIdx) : 0; in getMemRegionInfo() 499 *firstBaseAddress = first.getAddress() + startIdx; in getMemRegionInfo() 503 size_t secondStartIdx = startIdx > firstRegionLength ? startIdx - firstRegionLength : 0; in getMemRegionInfo() 511 bool MessageQueue<T, flavor>::MemTransaction::copyFrom(T* data, size_t startIdx, size_t nMessages) { in copyFrom() argument 519 if (getMemRegionInfo(startIdx, in copyFrom() [all …]
|