Lines Matching full:overlapped
23 static void SetOffset(OVERLAPPED* overlapped, const LARGE_INTEGER& offset) {
24 overlapped->Offset = offset.LowPart;
25 overlapped->OffsetHigh = offset.HighPart;
28 static void IncrementOffset(OVERLAPPED* overlapped, DWORD count) {
30 offset.LowPart = overlapped->Offset;
31 offset.HighPart = overlapped->OffsetHigh;
33 SetOffset(overlapped, offset);
63 OVERLAPPED* overlapped() { return &context_.overlapped; }
112 IncrementOffset(&context->overlapped, bytes_read);
197 SetOffset(async_context_->overlapped(), result);
227 OVERLAPPED* overlapped = NULL;
231 overlapped = async_context_->overlapped();
240 if (!ReadFile(file_, buf, buf_len, &bytes_read, overlapped)) {
251 } else if (overlapped) {
287 OVERLAPPED* overlapped = NULL;
291 overlapped = async_context_->overlapped();
299 if (!WriteFile(file_, buf, buf_len, &bytes_written, overlapped)) {
308 } else if (overlapped) {