Home
last modified time | relevance | path

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

/frameworks/native/libs/sensor/
DBitTube.cpp144 void const* events, size_t count, size_t objSize) in sendObjects() argument
147 ssize_t size = tube->write(vaddr, count*objSize); in sendObjects()
150 LOG_ALWAYS_FATAL_IF((size >= 0) && (size % static_cast<ssize_t>(objSize)), in sendObjects()
152 count, objSize, size); in sendObjects()
155 return size < 0 ? size : size / static_cast<ssize_t>(objSize); in sendObjects()
159 void* events, size_t count, size_t objSize) in recvObjects() argument
162 ssize_t size = tube->read(vaddr, count*objSize); in recvObjects()
165 LOG_ALWAYS_FATAL_IF((size >= 0) && (size % static_cast<ssize_t>(objSize)), in recvObjects()
167 count, objSize, size); in recvObjects()
170 return size < 0 ? size : size / static_cast<ssize_t>(objSize); in recvObjects()
/frameworks/native/libs/gui/
DBitTube.cpp148 ssize_t BitTube::sendObjects(BitTube* tube, void const* events, size_t count, size_t objSize) { in sendObjects() argument
150 ssize_t size = tube->write(vaddr, count * objSize); in sendObjects()
153 LOG_ALWAYS_FATAL_IF((size >= 0) && (size % static_cast<ssize_t>(objSize)), in sendObjects()
156 count, objSize, size); in sendObjects()
159 return size < 0 ? size : size / static_cast<ssize_t>(objSize); in sendObjects()
162 ssize_t BitTube::recvObjects(BitTube* tube, void* events, size_t count, size_t objSize) { in recvObjects() argument
164 ssize_t size = tube->read(vaddr, count * objSize); in recvObjects()
167 LOG_ALWAYS_FATAL_IF((size >= 0) && (size % static_cast<ssize_t>(objSize)), in recvObjects()
170 count, objSize, size); in recvObjects()
173 return size < 0 ? size : size / static_cast<ssize_t>(objSize); in recvObjects()
/frameworks/native/libs/sensor/include/sensor/
DBitTube.h83 void const* events, size_t count, size_t objSize);
86 void* events, size_t count, size_t objSize);
/frameworks/native/libs/gui/include/private/gui/
DBitTube.h94 static ssize_t sendObjects(BitTube* tube, void const* events, size_t count, size_t objSize);
96 static ssize_t recvObjects(BitTube* tube, void* events, size_t count, size_t objSize);