Home
last modified time | relevance | path

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

/system/libfmq/include/fmq/
DMessageQueueBase.h1073 auto writePtr = mWritePtr->load(std::memory_order_relaxed); in beginWrite() local
1074 if (writePtr % sizeof(T) != 0) { in beginWrite()
1081 size_t writeOffset = writePtr % mDesc->getSize(); in beginWrite()
1117 auto writePtr = mWritePtr->load(std::memory_order_relaxed); in commitWrite() local
1118 writePtr += nBytesWritten; in commitWrite()
1119 mWritePtr->store(writePtr, std::memory_order_release); in commitWrite()
1160 auto writePtr = mWritePtr->load(std::memory_order_acquire); in beginRead() local
1166 if (writePtr % sizeof(T) != 0 || readPtr % sizeof(T) != 0) { in beginRead()
1174 if (writePtr - readPtr > mDesc->getSize()) { in beginRead()
1175 mReadPtr->store(writePtr, std::memory_order_release); in beginRead()
[all …]
/system/security/provisioner/
Drkp_factory_extraction_tool.cpp56 uint8_t* writePtr = challenge.data(); in generateChallenge() local
58 int bytesRead = getrandom(writePtr, bytesRemaining, /*flags=*/0); in generateChallenge()
64 writePtr += bytesRead; in generateChallenge()