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.cpp132 ssize_t BitTube::sendObjects(BitTube* tube, void const* events, size_t count, size_t objSize) { in sendObjects() argument
134 ssize_t size = tube->write(vaddr, count * objSize); in sendObjects()
137 LOG_ALWAYS_FATAL_IF((size >= 0) && (size % static_cast<ssize_t>(objSize)), in sendObjects()
140 count, objSize, size); in sendObjects()
143 return size < 0 ? size : size / static_cast<ssize_t>(objSize); in sendObjects()
146 ssize_t BitTube::recvObjects(BitTube* tube, void* events, size_t count, size_t objSize) { in recvObjects() argument
148 ssize_t size = tube->read(vaddr, count * objSize); in recvObjects()
151 LOG_ALWAYS_FATAL_IF((size >= 0) && (size % static_cast<ssize_t>(objSize)), in recvObjects()
154 count, objSize, size); in recvObjects()
157 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.h91 static ssize_t sendObjects(BitTube* tube, void const* events, size_t count, size_t objSize);
93 static ssize_t recvObjects(BitTube* tube, void* events, size_t count, size_t objSize);