Lines Matching refs:pos
312 WCHAR* pos; in fs__capture_path() local
353 pos = buf; in fs__capture_path()
356 uv_wtf8_to_utf16(path, pos, pathw_len); in fs__capture_path()
357 req->file.pathw = pos; in fs__capture_path()
358 pos += pathw_len; in fs__capture_path()
364 uv_wtf8_to_utf16(new_path, pos, new_pathw_len); in fs__capture_path()
365 req->fs.info.new_pathw = pos; in fs__capture_path()
366 pos += new_pathw_len; in fs__capture_path()
373 memcpy(pos, path, path_len); in fs__capture_path()
374 assert(path_len == buf_sz - (pos - buf) * sizeof(WCHAR)); in fs__capture_path()
375 req->path = (char*) pos; in fs__capture_path()
711 LARGE_INTEGER pos, end_pos; in fs__read_filemap() local
726 pos = fd_info->current_pos; in fs__read_filemap()
728 pos.QuadPart = req->fs.info.offset; in fs__read_filemap()
732 if (pos.QuadPart >= fd_info->size.QuadPart) { in fs__read_filemap()
742 fd_info->size.QuadPart - pos.QuadPart); in fs__read_filemap()
748 end_pos.QuadPart = pos.QuadPart + read_size; in fs__read_filemap()
750 view_offset = pos.QuadPart % uv__allocation_granularity; in fs__read_filemap()
751 view_base.QuadPart = pos.QuadPart - view_offset; in fs__read_filemap()
892 LARGE_INTEGER pos, end_pos; in fs__write_filemap() local
918 pos = fd_info->size; in fs__write_filemap()
920 pos = fd_info->current_pos; in fs__write_filemap()
922 pos.QuadPart = req->fs.info.offset; in fs__write_filemap()
925 end_pos.QuadPart = pos.QuadPart + write_size; in fs__write_filemap()
953 view_offset = pos.QuadPart % uv__allocation_granularity; in fs__write_filemap()
954 view_base.QuadPart = pos.QuadPart - view_offset; in fs__write_filemap()