Searched refs:toRead (Results 1 – 2 of 2) sorted by relevance
185 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()
402 uint32_t toRead = readAvail > trySize ? trySize : readAvail; in speculativeRead() local407 readBuffer, toRead, 1); in speculativeRead()409 actuallyRead += stepsRead * toRead; in speculativeRead()