Searched refs:preread_count (Results 1 - 1 of 1) sorted by relevance

/system/core/liblog/
H A Dpmsg_reader.c148 static uint8_t preread_count; local
167 preread_count = 0;
171 if (preread_count < sizeof(buf)) {
173 &buf.p.magic + preread_count,
174 sizeof(buf) - preread_count));
178 preread_count += ret;
180 if (preread_count != sizeof(buf)) {
181 return preread_count ? -EIO : -EAGAIN;
189 memmove(&buf.p.magic, &buf.p.magic + 1, --preread_count);
190 } while (preread_count
[all...]

Completed in 84 milliseconds