Home
last modified time | relevance | path

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

/system/libfmq/fuzzer/
Dfmq_fuzzer.cpp130 size_t numElements = fdp.ConsumeIntegralInRange<size_t>(0, kMaxNumElements); in reader() local
131 if (!readMq.beginRead(numElements, &tx)) { in reader()
148 readMq.commitRead(numElements); in reader()
188 size_t numElements = 1; in writer() local
189 if (!writeMq.beginWrite(numElements, &tx)) { in writer()
208 writeMq.commitWrite(numElements); in writer()
337 size_t numElements = fdp.ConsumeIntegralInRange<size_t>(1, kMaxNumElements); in fuzzWithReaders() local
338 size_t bufferSize = numElements * sizeof(payload_t); in fuzzWithReaders()
353 writeMq = std::make_unique<Queue>(numElements, evFlag, std::move(dataFd), bufferSize); in fuzzWithReaders()
/system/core/libstats/socket_lazy/
Dlibstatssocket_lazy.cpp194 size_t numElements) { in AStatsEvent_writeStringArray() argument
195 INVOKE_METHOD(AStatsEvent_writeStringArray, event, elements, numElements); in AStatsEvent_writeStringArray()
/system/chre/platform/shared/
Dnanoapp_loader.cc672 size_t numElements = mDynamicSymbolTableSize / sizeof(ElfSym); in getDynamicSymbol() local
673 CHRE_ASSERT(posInSymbolTable < numElements); in getDynamicSymbol()
674 if (posInSymbolTable < numElements) { in getDynamicSymbol()
678 LOGE("Symbol index %zu is out of bound %zu", posInSymbolTable, numElements); in getDynamicSymbol()
/system/chre/util/tests/
Datomic_spsc_queue_test.cc366 int numElements; member
371 : op(op_), numElements(numElements_), last(last_) {} in HistoryEntry()
383 << entry.numElements << " elements, last " << entry.last << std::endl; in PrintTo()