Home
last modified time | relevance | path

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

/device/generic/goldfish/audio/
Dstream_in.cpp185 Result doReadImpl(uint8_t *const data, const size_t toRead, size_t &read) { in doReadImpl()
186 const int res = mSource->read(data, toRead); in doReadImpl()
188 memset(data, 0, toRead); in doReadImpl()
189 read = toRead; in doReadImpl()
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DAddressSpaceStream.cpp402 uint32_t toRead = readAvail > trySize ? trySize : readAvail; in speculativeRead() local
407 readBuffer, toRead, 1); in speculativeRead()
409 actuallyRead += stepsRead * toRead; in speculativeRead()