HomeSort by relevance Sort by last modified time
    Searched refs:firstRegionLength (Results 1 - 2 of 2) sorted by null

  /system/libfmq/include/fmq/
MessageQueue.h 454 size_t firstRegionLength = first.getLength();
457 if (idx > firstRegionLength + secondRegionLength) {
461 if (idx < firstRegionLength) {
465 return second.getAddress() + idx - firstRegionLength;
475 size_t firstRegionLength = first.getLength();
478 if (startIdx + nMessages > firstRegionLength + secondRegionLength) {
487 firstCount = startIdx < firstRegionLength ?
488 std::min(nMessages, firstRegionLength - startIdx) : 0;
498 size_t secondStartIdx = startIdx > firstRegionLength ? startIdx - firstRegionLength : 0
    [all...]
  /system/libfmq/tests/
msgq_test_client.cpp 422 size_t firstRegionLength = first.getLength();
425 if (i < firstRegionLength) {
428 ASSERT_EQ(i, *(second.getAddress() + i - firstRegionLength));
469 size_t firstRegionLength = first.getLength();
474 if (i < firstRegionLength) {
477 *(secondBaseAddress + i - firstRegionLength) = i;

Completed in 41 milliseconds