offset 250 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc const int offset = 32; offset 251 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc const int bytes_to_read = bytes_available - offset; offset 268 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc SetRange(req_.get(), offset, bytes_available); offset 283 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc const int offset = 0; offset 284 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc const int bytes_to_read = bytes_available - offset; offset 299 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc SetRange(req_.get(), offset, bytes_available_reported); offset 311 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc const int offset = 20; offset 324 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc SetRange(req_.get(), offset, bytes_available); offset 335 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc const int offset = 20; offset 349 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc SetRange(req_.get(), offset, bytes_available); offset 388 android_webview/java/src/org/chromium/android_webview/AwScrollOffsetManager.java rect.offset(childOffsetX, childOffsetY); offset 170 ash/display/display_controller_unittest.cc int offset) { offset 171 ash/display/display_controller_unittest.cc DisplayLayout layout(position, offset); offset 70 ash/display/display_layout.cc offset(0), offset 75 ash/display/display_layout.cc DisplayLayout::DisplayLayout(DisplayLayout::Position position, int offset) offset 77 ash/display/display_layout.cc offset(offset), offset 88 ash/display/display_layout.cc DCHECK_GE(kMaxValidOffset, abs(offset)); offset 107 ash/display/display_layout.cc DisplayLayout ret = DisplayLayout(inverted_position, -offset); offset 128 ash/display/display_layout.cc dict_value->SetInteger(kOffsetKey, layout.offset); offset 138 ash/display/display_layout.cc position_str.c_str(), offset, mirrored ? ", mirrored" : ""); offset 146 ash/display/display_layout.cc converter->RegisterIntField(kOffsetKey, &DisplayLayout::offset); offset 39 ash/display/display_layout.h DisplayLayout(Position position, int offset); offset 57 ash/display/display_layout.h int offset; offset 21 ash/display/display_layout_store.cc int offset = 0; offset 22 ash/display/display_layout_store.cc if (sscanf(value.c_str(), "%c,%d", &layout, &offset) == 2) { offset 31 ash/display/display_layout_store.cc default_display_layout_.offset = offset; offset 329 ash/display/display_manager.cc to_set.offset != current_layout.offset) { offset 1087 ash/display/display_manager.cc int offset = layout.offset; offset 1089 ash/display/display_manager.cc offset = std::min( offset 1090 ash/display/display_manager.cc offset, primary_bounds.width() - kMinimumOverlapForInvalidOffset); offset 1091 ash/display/display_manager.cc offset = std::max( offset 1092 ash/display/display_manager.cc offset, -secondary_bounds.width() + kMinimumOverlapForInvalidOffset); offset 1094 ash/display/display_manager.cc offset = std::min( offset 1095 ash/display/display_manager.cc offset, primary_bounds.height() - kMinimumOverlapForInvalidOffset); offset 1096 ash/display/display_manager.cc offset = std::max( offset 1097 ash/display/display_manager.cc offset, -secondary_bounds.height() + kMinimumOverlapForInvalidOffset); offset 1101 ash/display/display_manager.cc new_secondary_origin.Offset(offset, -secondary_bounds.height()); offset 1104 ash/display/display_manager.cc new_secondary_origin.Offset(primary_bounds.width(), offset); offset 1107 ash/display/display_manager.cc new_secondary_origin.Offset(offset, primary_bounds.height()); offset 1110 ash/display/display_manager.cc new_secondary_origin.Offset(-secondary_bounds.width(), offset); offset 251 ash/display/mouse_cursor_event_filter_unittest.cc layout.offset = 5; offset 264 ash/display/mouse_cursor_event_filter_unittest.cc layout.offset = 200; offset 274 ash/display/mouse_cursor_event_filter_unittest.cc layout.offset = -5; offset 305 ash/display/mouse_cursor_event_filter_unittest.cc layout.offset = 250; offset 333 ash/display/mouse_cursor_event_filter_unittest.cc layout.offset = 250; offset 343 ash/display/mouse_cursor_event_filter_unittest.cc layout.offset = 0; offset 40 ash/ime/candidate_window_view.cc void set_offset(int offset) { offset_ = offset; } offset 201 ash/shelf/overflow_bubble_view.cc int offset = 0; offset 204 ash/shelf/overflow_bubble_view.cc offset = monitor_rect.x() - bubble_rect.x(); offset 206 ash/shelf/overflow_bubble_view.cc offset = monitor_rect.right() - bubble_rect.right(); offset 208 ash/shelf/overflow_bubble_view.cc bubble_rect.Offset(offset, 0); offset 212 ash/shelf/overflow_bubble_view.cc offset = monitor_rect.y() - bubble_rect.y(); offset 214 ash/shelf/overflow_bubble_view.cc offset = monitor_rect.bottom() - bubble_rect.bottom(); offset 216 ash/shelf/overflow_bubble_view.cc bubble_rect.Offset(0, offset); offset 1015 ash/shelf/shelf_layout_manager.cc gfx::Vector2d offset = SelectValueForShelfAlignment( offset 1022 ash/shelf/shelf_layout_manager.cc show_shelf_region_in_screen += offset; offset 1916 ash/shelf/shelf_view.cc gfx::Vector2d offset = offset 1919 ash/shelf/shelf_view.cc anchor_point.set_x(anchor_point.x() - offset.x()); offset 1920 ash/shelf/shelf_view.cc anchor_point.set_y(anchor_point.y() - offset.y()); offset 289 ash/sticky_keys/sticky_keys_controller.cc int offset = event->y_offset(); offset 291 ash/sticky_keys/sticky_keys_controller.cc direction_changed = offset * scroll_delta_ <= 0; offset 292 ash/sticky_keys/sticky_keys_controller.cc scroll_delta_ = offset; offset 219 ash/system/chromeos/power/power_status.cc int offset = IsUsbChargerConnected() ? 0 : (IsLinePowerConnected() ? 1 : 0); offset 234 ash/system/chromeos/power/power_status.cc offset * kBatteryImageWidth, index * kBatteryImageHeight, offset 69 ash/wm/dock/docked_window_resizer.cc gfx::Point offset; offset 71 ash/wm/dock/docked_window_resizer.cc MaybeSnapToEdge(bounds, &offset); offset 73 ash/wm/dock/docked_window_resizer.cc modified_location.Offset(offset.x(), offset.y()); offset 153 ash/wm/dock/docked_window_resizer.cc gfx::Point* offset) { offset 170 ash/wm/dock/docked_window_resizer.cc offset->set_x(-distance); offset 178 ash/wm/dock/docked_window_resizer.cc offset->set_x(distance); offset 52 ash/wm/dock/docked_window_resizer.h void MaybeSnapToEdge(const gfx::Rect& bounds, gfx::Point* offset); offset 181 ash/wm/panels/panel_layout_manager.cc gfx::Vector2d offset; offset 184 ash/wm/panels/panel_layout_manager.cc offset.set_y(kPanelSlideInOffset); offset 187 ash/wm/panels/panel_layout_manager.cc offset.set_x(-kPanelSlideInOffset); offset 190 ash/wm/panels/panel_layout_manager.cc offset.set_x(kPanelSlideInOffset); offset 193 ash/wm/panels/panel_layout_manager.cc offset.set_y(-kPanelSlideInOffset); offset 196 ash/wm/panels/panel_layout_manager.cc return offset; offset 83 ash/wm/panels/panel_window_resizer.cc gfx::Point offset; offset 87 ash/wm/panels/panel_window_resizer.cc AttachToLauncher(bounds, &offset); offset 89 ash/wm/panels/panel_window_resizer.cc gfx::Point modified_location(location.x() + offset.x(), offset 90 ash/wm/panels/panel_window_resizer.cc location.y() + offset.y()); offset 131 ash/wm/panels/panel_window_resizer.cc gfx::Point* offset) { offset 145 ash/wm/panels/panel_window_resizer.cc offset->set_y(launcher_bounds.y() - bounds.height() - bounds.y()); offset 152 ash/wm/panels/panel_window_resizer.cc offset->set_x(launcher_bounds.right() - bounds.x()); offset 159 ash/wm/panels/panel_window_resizer.cc offset->set_x(launcher_bounds.x() - bounds.width() - bounds.x()); offset 166 ash/wm/panels/panel_window_resizer.cc offset->set_y(launcher_bounds.bottom() - bounds.y()); offset 47 ash/wm/panels/panel_window_resizer.h bool AttachToLauncher(const gfx::Rect& bounds, gfx::Point* offset); offset 19 base/allocator/tcmalloc_unittest.cc for (int offset = 1; offset < kPageSize ; offset <<= 1) { offset 20 base/allocator/tcmalloc_unittest.cc ASSERT_DEATH(TCMallocDoFreeForTest(p + offset), offset 29 base/allocator/tcmalloc_unittest.cc for (int offset = kPageSize; offset < kMaxSize; offset += kPageSize) { offset 32 base/allocator/tcmalloc_unittest.cc ASSERT_DEATH(TCMallocDoFreeForTest(p + offset), offset 623 base/android/java/src/org/chromium/base/library_loader/Linker.java int offset = getRandomBits(numBits); offset 625 base/android/java/src/org/chromium/base/library_loader/Linker.java if (offset >= 0) offset 626 base/android/java/src/org/chromium/base/library_loader/Linker.java address = baseAddress + offset * pageSize; offset 185 base/debug/crash_logging.cc for (size_t offset = 0; offset < value_string.length(); ) { offset 186 base/debug/crash_logging.cc std::string chunk = value_string.substr(offset, chunk_max_length); offset 188 base/debug/crash_logging.cc offset += chunk.length(); offset 129 base/debug/proc_maps_linux.cc ®ion.start, ®ion.end, permissions, ®ion.offset, offset 31 base/debug/proc_maps_linux.h unsigned long long offset; offset 31 base/debug/proc_maps_linux_unittest.cc EXPECT_EQ(0x00002200u, regions[0].offset); offset 45 base/debug/proc_maps_linux_unittest.cc EXPECT_EQ(0x00002200u, regions[0].offset); offset 67 base/debug/proc_maps_linux_unittest.cc EXPECT_EQ(0x00000000u, regions[0].offset); offset 81 base/debug/proc_maps_linux_unittest.cc EXPECT_EQ(0x00000000u, regions[0].offset); offset 96 base/debug/proc_maps_linux_unittest.cc EXPECT_EQ(0x00000000u, regions[0].offset); offset 110 base/debug/proc_maps_linux_unittest.cc EXPECT_EQ(0x00000000u, regions[0].offset); offset 127 base/debug/proc_maps_linux_unittest.cc EXPECT_EQ(0x00000000u, regions[0].offset); offset 132 base/debug/proc_maps_linux_unittest.cc EXPECT_EQ(0x0000a000u, regions[1].offset); offset 137 base/debug/proc_maps_linux_unittest.cc EXPECT_EQ(0x0000b000u, regions[2].offset); offset 116 base/debug/stack_trace_android.cc uintptr_t rel_pc = address - iter->start + iter->offset; offset 573 base/debug/stack_trace_posix.cc base_address = (is_first ? 0U : start_address) - region.offset; offset 2176 base/debug/trace_event_impl.cc void TraceLog::SetTimeOffset(TimeDelta offset) { offset 2177 base/debug/trace_event_impl.cc time_offset_ = offset; offset 591 base/debug/trace_event_impl.h void SetTimeOffset(TimeDelta offset); offset 206 base/files/file.h int64 Seek(Whence whence, int64 offset); offset 214 base/files/file.h int Read(int64 offset, char* data, int size); offset 222 base/files/file.h int ReadNoBestEffort(int64 offset, char* data, int size); offset 233 base/files/file.h int Write(int64 offset, const char* data, int size); offset 279 base/files/file_posix.cc int64 File::Seek(Whence whence, int64 offset) { offset 282 base/files/file_posix.cc if (offset < 0) offset 285 base/files/file_posix.cc return lseek(file_.get(), static_cast<off_t>(offset), offset 289 base/files/file_posix.cc int File::Read(int64 offset, char* data, int size) { offset 299 base/files/file_posix.cc size - bytes_read, offset + bytes_read)); offset 328 base/files/file_posix.cc int File::ReadNoBestEffort(int64 offset, char* data, int size) { offset 332 base/files/file_posix.cc return HANDLE_EINTR(pread(file_.get(), data, size, offset)); offset 344 base/files/file_posix.cc int File::Write(int64 offset, const char* data, int size) { offset 358 base/files/file_posix.cc size - bytes_written, offset + bytes_written)); offset 172 base/files/file_proxy.cc void RunWork(int64 offset) { offset 173 base/files/file_proxy.cc bytes_read_ = file_.Read(offset, buffer_.get(), bytes_to_read_); offset 202 base/files/file_proxy.cc void RunWork(int64 offset) { offset 203 base/files/file_proxy.cc bytes_written_ = file_.Write(offset, buffer_.get(), bytes_to_write_); offset 280 base/files/file_proxy.cc bool FileProxy::Read(int64 offset, offset 290 base/files/file_proxy.cc Bind(&ReadHelper::RunWork, Unretained(helper), offset), offset 294 base/files/file_proxy.cc bool FileProxy::Write(int64 offset, offset 306 base/files/file_proxy.cc Bind(&WriteHelper::RunWork, Unretained(helper), offset), offset 107 base/files/file_proxy.h bool Read(int64 offset, int bytes_to_read, const ReadCallback& callback); offset 112 base/files/file_proxy.h bool Write(int64 offset, offset 158 base/files/file_util_proxy.cc void RunWork(PlatformFile file, int64 offset) { offset 159 base/files/file_util_proxy.cc bytes_read_ = ReadPlatformFile(file, offset, buffer_.get(), bytes_to_read_); offset 186 base/files/file_util_proxy.cc void RunWork(PlatformFile file, int64 offset) { offset 187 base/files/file_util_proxy.cc bytes_written_ = WritePlatformFile(file, offset, buffer_.get(), offset 322 base/files/file_util_proxy.cc int64 offset, offset 331 base/files/file_util_proxy.cc Bind(&ReadHelper::RunWork, Unretained(helper), file, offset), offset 339 base/files/file_util_proxy.cc int64 offset, offset 349 base/files/file_util_proxy.cc Bind(&WriteHelper::RunWork, Unretained(helper), file, offset), offset 113 base/files/file_util_proxy.h int64 offset, offset 127 base/files/file_util_proxy.h int64 offset, offset 118 base/files/file_win.cc int64 File::Seek(Whence whence, int64 offset) { offset 121 base/files/file_win.cc if (offset < 0) offset 125 base/files/file_win.cc distance.QuadPart = offset; offset 132 base/files/file_win.cc int File::Read(int64 offset, char* data, int size) { offset 140 base/files/file_win.cc offset_li.QuadPart = offset; offset 171 base/files/file_win.cc int File::ReadNoBestEffort(int64 offset, char* data, int size) { offset 172 base/files/file_win.cc return Read(offset, data, size); offset 179 base/files/file_win.cc int File::Write(int64 offset, const char* data, int size) { offset 185 base/files/file_win.cc offset_li.QuadPart = offset; offset 179 base/i18n/build_utf8_validator_tables.cc unsigned int offset = 0; offset 181 base/i18n/build_utf8_validator_tables.cc U8_APPEND(bytes, offset, arraysize(bytes), i, is_error); offset 183 base/i18n/build_utf8_validator_tables.cc DCHECK_GT(offset, 0u); offset 184 base/i18n/build_utf8_validator_tables.cc DCHECK_LE(offset, arraysize(bytes)); offset 185 base/i18n/build_utf8_validator_tables.cc Pair pair = {Character(bytes, bytes + offset), StringSet()}; offset 17 base/i18n/streaming_utf8_validator.cc uint8 StateTableLookup(uint8 offset) { offset 18 base/i18n/streaming_utf8_validator.cc DCHECK_LT(offset, internal::kUtf8ValidatorTablesSize); offset 19 base/i18n/streaming_utf8_validator.cc return internal::kUtf8ValidatorTables[offset]; offset 748 base/json/json_parser.cc size_t offset = 0; offset 778 base/json/json_parser.cc offset = 0; offset 779 base/json/json_parser.cc CBU8_APPEND_UNSAFE(code_unit8, offset, code_point); offset 783 base/json/json_parser.cc CBU8_APPEND_UNSAFE(code_unit8, offset, code_unit16_high); offset 797 base/json/json_parser.cc int offset = 0; offset 798 base/json/json_parser.cc CBU8_APPEND_UNSAFE(utf8_units, offset, point); offset 802 base/json/json_parser.cc dest->AppendString(std::string(utf8_units, offset)); offset 129 base/memory/discardable_memory_allocator_android.cc size_t offset, offset 134 base/memory/discardable_memory_allocator_android.cc offset_(offset), offset 330 base/memory/discardable_memory_allocator_android.cc const size_t offset = offset 332 base/memory/discardable_memory_allocator_android.cc LockAshmemRegion(fd_, offset, reused_chunk_size); offset 334 base/memory/discardable_memory_allocator_android.cc new DiscardableAshmemChunk(this, fd_, reused_chunk.start, offset, offset 166 base/memory/shared_memory.h bool MapAt(off_t offset, size_t bytes); offset 87 base/memory/shared_memory_nacl.cc bool SharedMemory::MapAt(off_t offset, size_t bytes) { offset 98 base/memory/shared_memory_nacl.cc MAP_SHARED, mapped_file_, offset); offset 275 base/memory/shared_memory_posix.cc bool SharedMemory::MapAt(off_t offset, size_t bytes) { offset 289 base/memory/shared_memory_posix.cc DCHECK_EQ(0, offset); offset 298 base/memory/shared_memory_posix.cc MAP_SHARED, mapped_file_, offset); offset 489 base/memory/shared_memory_unittest.cc off_t offset = SysInfo::VMAllocationGranularity(); offset 490 base/memory/shared_memory_unittest.cc ASSERT_TRUE(memory.MapAt(offset, kDataSize - offset)); offset 491 base/memory/shared_memory_unittest.cc offset /= sizeof(uint32); offset 494 base/memory/shared_memory_unittest.cc for (size_t i = offset; i < kCount; ++i) { offset 495 base/memory/shared_memory_unittest.cc EXPECT_EQ(ptr[i - offset], i); offset 160 base/memory/shared_memory_win.cc bool SharedMemory::MapAt(off_t offset, size_t bytes) { offset 173 base/memory/shared_memory_win.cc static_cast<uint64>(offset) >> 32, offset 174 base/memory/shared_memory_win.cc static_cast<DWORD>(offset), offset 83 base/metrics/stats_table.cc inline int AlignOffset(int offset) { offset 84 base/metrics/stats_table.cc return (sizeof(int) - (offset % sizeof(int))) % sizeof(int); offset 242 base/metrics/stats_table.cc int offset = 0; offset 245 base/metrics/stats_table.cc offset += sizeof(*table_header_); offset 246 base/metrics/stats_table.cc offset += AlignOffset(offset); offset 251 base/metrics/stats_table.cc thread_names_table_ = reinterpret_cast<char*>(data + offset); offset 252 base/metrics/stats_table.cc offset += sizeof(char) * offset 254 base/metrics/stats_table.cc offset += AlignOffset(offset); offset 256 base/metrics/stats_table.cc thread_tid_table_ = reinterpret_cast<PlatformThreadId*>(data + offset); offset 257 base/metrics/stats_table.cc offset += sizeof(int) * max_threads(); offset 258 base/metrics/stats_table.cc offset += AlignOffset(offset); offset 260 base/metrics/stats_table.cc thread_pid_table_ = reinterpret_cast<int*>(data + offset); offset 261 base/metrics/stats_table.cc offset += sizeof(int) * max_threads(); offset 262 base/metrics/stats_table.cc offset += AlignOffset(offset); offset 264 base/metrics/stats_table.cc counter_names_table_ = reinterpret_cast<char*>(data + offset); offset 265 base/metrics/stats_table.cc offset += sizeof(char) * offset 267 base/metrics/stats_table.cc offset += AlignOffset(offset); offset 269 base/metrics/stats_table.cc data_table_ = reinterpret_cast<int*>(data + offset); offset 270 base/metrics/stats_table.cc offset += sizeof(int) * max_threads() * max_counters(); offset 272 base/metrics/stats_table.cc DCHECK_EQ(offset, size()); offset 166 base/platform_file.h int64 offset); offset 173 base/platform_file.h BASE_EXPORT int ReadPlatformFile(PlatformFile file, int64 offset, offset 183 base/platform_file.h BASE_EXPORT int ReadPlatformFileNoBestEffort(PlatformFile file, int64 offset, offset 196 base/platform_file.h BASE_EXPORT int WritePlatformFile(PlatformFile file, int64 offset, offset 229 base/platform_file_posix.cc int64 offset) { offset 231 base/platform_file_posix.cc if (file < 0 || offset < 0) offset 234 base/platform_file_posix.cc return lseek(file, static_cast<off_t>(offset), static_cast<int>(whence)); offset 237 base/platform_file_posix.cc int ReadPlatformFile(PlatformFile file, int64 offset, char* data, int size) { offset 246 base/platform_file_posix.cc size - bytes_read, offset + bytes_read)); offset 274 base/platform_file_posix.cc int ReadPlatformFileNoBestEffort(PlatformFile file, int64 offset, offset 280 base/platform_file_posix.cc return HANDLE_EINTR(pread(file, data, size, offset)); offset 292 base/platform_file_posix.cc int WritePlatformFile(PlatformFile file, int64 offset, offset 306 base/platform_file_posix.cc size - bytes_written, offset + bytes_written)); offset 17 base/platform_file_unittest.cc int ReadFully(PlatformFile file, int64 offset, char* data, int size) { offset 18 base/platform_file_unittest.cc return ReadPlatformFile(file, offset, data, size); offset 23 base/platform_file_unittest.cc int WriteFully(PlatformFile file, int64 offset, offset 25 base/platform_file_unittest.cc return WritePlatformFile(file, offset, data, size); offset 136 base/platform_file_win.cc int64 offset) { offset 138 base/platform_file_win.cc if (file == kInvalidPlatformFileValue || offset < 0) offset 142 base/platform_file_win.cc distance.QuadPart = offset; offset 149 base/platform_file_win.cc int ReadPlatformFile(PlatformFile file, int64 offset, char* data, int size) { offset 155 base/platform_file_win.cc offset_li.QuadPart = offset; offset 184 base/platform_file_win.cc int ReadPlatformFileNoBestEffort(PlatformFile file, int64 offset, char* data, offset 186 base/platform_file_win.cc return ReadPlatformFile(file, offset, data, size); offset 194 base/platform_file_win.cc int WritePlatformFile(PlatformFile file, int64 offset, offset 201 base/platform_file_win.cc offset_li.QuadPart = offset; offset 181 base/strings/string_piece.h BasicStringPiece(const value_type* offset, size_type len) offset 182 base/strings/string_piece.h : ptr_(offset), length_(len) {} offset 52 base/strings/string_util.cc ReplacementOffset(uintptr_t parameter, size_t offset) offset 54 base/strings/string_util.cc offset(offset) {} offset 60 base/strings/string_util.cc size_t offset; offset 680 base/strings/string_util.cc offsets->push_back(i->offset); offset 700 base/strings/string_util.cc size_t* offset) { offset 707 base/strings/string_util.cc if (offset) offset 708 base/strings/string_util.cc *offset = offsets[0]; offset 837 base/strings/string_util.cc int offset = 0; offset 838 base/strings/string_util.cc CBU8_NEXT(*p, offset, end - *p, c); offset 839 base/strings/string_util.cc *p += offset; offset 847 base/strings/string_util.cc int offset = 0; offset 848 base/strings/string_util.cc CBU16_NEXT(*p, offset, end - *p, c); offset 849 base/strings/string_util.cc *p += offset; offset 483 base/strings/string_util.h size_t* offset); offset 145 base/strings/utf_offset_string_conversions.cc void OffsetAdjuster::AdjustOffset(std::vector<size_t>::iterator offset) { offset 146 base/strings/utf_offset_string_conversions.cc if (*offset == string16::npos) offset 151 base/strings/utf_offset_string_conversions.cc if (*offset <= i->original_offset) offset 153 base/strings/utf_offset_string_conversions.cc if (*offset < (i->original_offset + i->original_length)) { offset 154 base/strings/utf_offset_string_conversions.cc *offset = string16::npos; offset 159 base/strings/utf_offset_string_conversions.cc *offset -= adjustment; offset 59 base/strings/utf_offset_string_conversions.h void operator()(size_t& offset) { offset 60 base/strings/utf_offset_string_conversions.h if (offset > limit_) offset 61 base/strings/utf_offset_string_conversions.h offset = T::npos; offset 91 base/strings/utf_offset_string_conversions.h void AdjustOffset(std::vector<size_t>::iterator offset); offset 38 base/strings/utf_offset_string_conversions_unittest.cc size_t offset = utf8_to_utf16_cases[i].input_offset; offset 39 base/strings/utf_offset_string_conversions_unittest.cc UTF8ToUTF16AndAdjustOffset(utf8_to_utf16_cases[i].utf8, &offset); offset 40 base/strings/utf_offset_string_conversions_unittest.cc EXPECT_EQ(utf8_to_utf16_cases[i].output_offset, offset); offset 66 base/strings/utf_offset_string_conversions_unittest.cc size_t offset = utf16_to_utf8_cases[i].input_offset; offset 67 base/strings/utf_offset_string_conversions_unittest.cc UTF16ToUTF8AndAdjustOffset(utf16_to_utf8_cases[i].utf16, &offset); offset 68 base/strings/utf_offset_string_conversions_unittest.cc EXPECT_EQ(utf16_to_utf8_cases[i].output_offset, offset); offset 874 base/test/trace_event_analyzer.cc double offset = fabs(deltas[i] - stats->mean_us); offset 875 base/test/trace_event_analyzer.cc sum_mean_offsets_squared += offset * offset; offset 164 base/third_party/symbolize/symbolize.cc const size_t count, const off_t offset) { offset 165 base/third_party/symbolize/symbolize.cc off_t off = lseek(fd, offset, SEEK_SET); offset 177 base/third_party/symbolize/symbolize.cc const size_t count, const off_t offset) { offset 178 base/third_party/symbolize/symbolize.cc ssize_t len = ReadFromOffset(fd, buf, count, offset); offset 286 base/third_party/symbolize/symbolize.cc off_t offset = symtab->sh_offset + i * symtab->sh_entsize; offset 299 base/third_party/symbolize/symbolize.cc const ssize_t len = ReadFromOffset(fd, &buf, sizeof(buf), offset); offset 89 base/third_party/xdg_mime/xdgmimecache.c #define GET_UINT16(cache,offset) (ntohs(*(xdg_uint16_t*)((cache) + (offset)))) offset 90 base/third_party/xdg_mime/xdgmimecache.c #define GET_UINT32(cache,offset) (ntohl(*(xdg_uint32_t*)((cache) + (offset)))) offset 166 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t offset, offset 170 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t range_start = GET_UINT32 (cache->buffer, offset); offset 171 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t range_length = GET_UINT32 (cache->buffer, offset + 4); offset 172 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t data_length = GET_UINT32 (cache->buffer, offset + 12); offset 173 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t data_offset = GET_UINT32 (cache->buffer, offset + 16); offset 174 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t mask_offset = GET_UINT32 (cache->buffer, offset + 20); offset 211 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t offset, offset 215 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t n_children = GET_UINT32 (cache->buffer, offset + 24); offset 216 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t child_offset = GET_UINT32 (cache->buffer, offset + 28); offset 220 base/third_party/xdg_mime/xdgmimecache.c if (cache_magic_matchlet_compare_to_data (cache, offset, data, len)) offset 238 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t offset, offset 243 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t priority = GET_UINT32 (cache->buffer, offset); offset 244 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t mimetype_offset = GET_UINT32 (cache->buffer, offset + 4); offset 245 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t n_matchlets = GET_UINT32 (cache->buffer, offset + 8); offset 246 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t matchlet_offset = GET_UINT32 (cache->buffer, offset + 12); offset 274 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t offset; offset 282 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 8); offset 288 base/third_party/xdg_mime/xdgmimecache.c match = cache_magic_compare_to_data (cache, offset + 16 * j, offset 297 base/third_party/xdg_mime/xdgmimecache.c mimetype_offset = GET_UINT32 (cache->buffer, offset + 16 * j + 4); offset 323 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t offset; offset 331 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4 + 8 * mid); offset 332 base/third_party/xdg_mime/xdgmimecache.c ptr = cache->buffer + offset; offset 341 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4 + 8 * mid + 4); offset 342 base/third_party/xdg_mime/xdgmimecache.c return cache->buffer + offset; offset 369 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t offset; offset 377 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4 + 12 * mid); offset 378 base/third_party/xdg_mime/xdgmimecache.c ptr = cache->buffer + offset; offset 393 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4 + 12 * mid + 4); offset 394 base/third_party/xdg_mime/xdgmimecache.c mime_types[0] = (const char *)(cache->buffer + offset); offset 427 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t offset = GET_UINT32 (cache->buffer, list_offset + 4 + 12 * j); offset 432 base/third_party/xdg_mime/xdgmimecache.c ptr = cache->buffer + offset; offset 456 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t offset, offset 482 base/third_party/xdg_mime/xdgmimecache.c match_char = GET_UINT32 (cache->buffer, offset + 12 * mid); offset 491 base/third_party/xdg_mime/xdgmimecache.c n_children = GET_UINT32 (cache->buffer, offset + 12 * mid + 4); offset 492 base/third_party/xdg_mime/xdgmimecache.c child_offset = GET_UINT32 (cache->buffer, offset + 12 * mid + 8); offset 547 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t offset = GET_UINT32 (cache->buffer, list_offset + 4); offset 550 base/third_party/xdg_mime/xdgmimecache.c n_entries, offset, offset 645 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t offset; offset 654 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, 24); offset 655 base/third_party/xdg_mime/xdgmimecache.c max_extent = MAX (max_extent, GET_UINT32 (cache->buffer, offset + 4)); offset 872 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t offset, n_parents, parent_offset; offset 880 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4 + 8 * med); offset 881 base/third_party/xdg_mime/xdgmimecache.c cmp = strcmp (cache->buffer + offset, umime); offset 888 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4 + 8 * med + 4); offset 889 base/third_party/xdg_mime/xdgmimecache.c n_parents = GET_UINT32 (cache->buffer, offset); offset 893 base/third_party/xdg_mime/xdgmimecache.c parent_offset = GET_UINT32 (cache->buffer, offset + 4 + 4 * j); offset 986 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t offset; offset 994 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4 + 8 * mid); offset 995 base/third_party/xdg_mime/xdgmimecache.c ptr = cache->buffer + offset; offset 1004 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4 + 8 * mid + 4); offset 1005 base/third_party/xdg_mime/xdgmimecache.c return cache->buffer + offset; offset 1027 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t offset, offset 1036 base/third_party/xdg_mime/xdgmimecache.c character = GET_UINT32 (cache->buffer, offset); offset 1037 base/third_party/xdg_mime/xdgmimecache.c mime_offset = GET_UINT32 (cache->buffer, offset + 4); offset 1038 base/third_party/xdg_mime/xdgmimecache.c n_children = GET_UINT32 (cache->buffer, offset + 8); offset 1039 base/third_party/xdg_mime/xdgmimecache.c child_offset = GET_UINT32 (cache->buffer, offset + 12); offset 1062 base/third_party/xdg_mime/xdgmimecache.c xdg_uint32_t offset; offset 1065 base/third_party/xdg_mime/xdgmimecache.c offset = GET_UINT32 (cache->buffer, list_offset + 4); offset 1067 base/third_party/xdg_mime/xdgmimecache.c dump_glob_node (cache, offset + 20 * j, 0); offset 77 base/third_party/xdg_mime/xdgmimemagic.c int offset; offset 108 base/third_party/xdg_mime/xdgmimemagic.c matchlet->offset = 0; offset 356 base/third_party/xdg_mime/xdgmimemagic.c matchlet->offset = _xdg_mime_magic_read_a_number (magic_file, &end_of_file); offset 362 base/third_party/xdg_mime/xdgmimemagic.c if (matchlet->offset == -1) offset 525 base/third_party/xdg_mime/xdgmimemagic.c for (i = matchlet->offset; i < matchlet->offset + matchlet->range_length; i++) offset 718 base/third_party/xdg_mime/xdgmimemagic.c extent = matchlet->value_length + matchlet->offset + matchlet->range_length; offset 73 cc/input/top_controls_manager.h void SetControlsTopOffset(float offset); offset 43 cc/output/filter_operation.cc const gfx::Point& offset, offset 48 cc/output/filter_operation.cc drop_shadow_offset_(offset), offset 116 cc/output/filter_operation.h static FilterOperation CreateDropShadowFilter(const gfx::Point& offset, offset 119 cc/output/filter_operation.h return FilterOperation(DROP_SHADOW, offset, std_deviation, color); offset 158 cc/output/filter_operation.h void set_drop_shadow_offset(const gfx::Point& offset) { offset 160 cc/output/filter_operation.h drop_shadow_offset_ = offset; offset 200 cc/output/filter_operation.h const gfx::Point& offset, offset 1206 cc/output/gl_renderer.cc float offset[4]; offset 1208 cc/output/gl_renderer.cc offset[i] = SkScalarToFloat(color_matrix[i * 5 + 4]) * kScale; offset 1210 cc/output/gl_renderer.cc GLC(gl_, gl_->Uniform4fv(shader_color_offset_location, 1, offset)); offset 804 cc/output/gl_renderer_unittest.cc void(GLenum mode, GLsizei count, GLenum type, GLintptr offset)); offset 894 cc/output/gl_renderer_unittest.cc void(GLenum mode, GLsizei count, GLenum type, GLintptr offset)); offset 1645 cc/output/gl_renderer_unittest.cc void(GLenum mode, GLsizei count, GLenum type, GLintptr offset)); offset 1708 cc/output/renderer_pixeltest.cc gfx::Vector2d offset(viewport.bottom_right() - blue_rect.bottom_right()); offset 1709 cc/output/renderer_pixeltest.cc blue_content_to_target_transform.Translate(offset.x(), offset.y()); offset 36 cc/resources/picture.cc SkData* EncodeBitmap(size_t* offset, const SkBitmap& bm) { offset 61 cc/resources/picture.cc *offset = 0; offset 2643 cc/resources/resource_provider_unittest.cc gfx::Vector2d offset(0, 0); offset 2671 cc/resources/resource_provider_unittest.cc resource_provider->SetPixels(id, pixels, rect, rect, offset); offset 189 cc/resources/texture_uploader.cc gfx::Vector2d offset(source_rect.origin() - image_rect.origin()); offset 199 cc/resources/texture_uploader.cc !offset.x()) { offset 200 cc/resources/texture_uploader.cc pixel_source = &image[image_rect.width() * bytes_per_pixel * offset.y()]; offset 212 cc/resources/texture_uploader.cc (offset.x() + (offset.y() + row) * image_rect.width())], offset 245 cc/resources/texture_uploader.cc gfx::Vector2d offset(source_rect.origin() - image_rect.origin()); offset 271 cc/resources/texture_uploader.cc !offset.x()) { offset 273 cc/resources/texture_uploader.cc &image[image_rect.width() * bytes_per_pixel * offset.y()], offset 281 cc/resources/texture_uploader.cc (offset.x() + (offset.y() + row) * image_rect.width())], offset 183 cc/test/test_web_graphics_context_3d.h GLintptr offset) {} offset 57 cc/trees/layer_tree_host_common.cc gfx::Vector2dF offset = layer->TotalScrollOffset(); offset 62 cc/trees/layer_tree_host_common.cc offset += layer->scroll_parent()->ScrollDelta(); offset 63 cc/trees/layer_tree_host_common.cc return offset; offset 4066 cc/trees/layer_tree_host_impl_unittest.cc GLintptr offset)); offset 4417 cc/trees/layer_tree_host_impl_unittest.cc GLintptr offset)); offset 6102 cc/trees/layer_tree_host_impl_unittest.cc float offset = top_controls_height_ - residue; offset 6103 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, offset))); offset 6104 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(-offset, host_impl_->top_controls_manager()->controls_top_offset()); offset 6110 cc/trees/layer_tree_host_impl_unittest.cc offset = residue + content_scroll; offset 6111 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, offset))); offset 6118 cc/trees/layer_tree_host_impl_unittest.cc offset = -content_scroll; offset 6119 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, offset))); offset 6126 cc/trees/layer_tree_host_impl_unittest.cc offset = -top_controls_height_; offset 6127 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, offset))); offset 6133 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_FALSE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, offset))); offset 1234 cc/trees/layer_tree_host_unittest.cc gfx::Vector2d offset = scroll_layer_->scroll_offset(); offset 1235 cc/trees/layer_tree_host_unittest.cc scroll_layer_->SetScrollOffset(offset + scroll_delta); offset 2903 cc/trees/layer_tree_host_unittest.cc GLintptr offset)); offset 135 cc/trees/layer_tree_impl.cc gfx::Vector2dF offset; offset 138 cc/trees/layer_tree_impl.cc offset += inner_viewport_scroll_layer_->TotalScrollOffset(); offset 141 cc/trees/layer_tree_impl.cc offset += outer_viewport_scroll_layer_->TotalScrollOffset(); offset 143 cc/trees/layer_tree_impl.cc return offset; offset 147 cc/trees/layer_tree_impl.cc gfx::Vector2dF offset; offset 150 cc/trees/layer_tree_impl.cc offset += inner_viewport_scroll_layer_->MaxScrollOffset(); offset 153 cc/trees/layer_tree_impl.cc offset += outer_viewport_scroll_layer_->MaxScrollOffset(); offset 155 cc/trees/layer_tree_impl.cc return offset; offset 796 cc/trees/layer_tree_impl.cc gfx::Vector2dF offset = offset 800 cc/trees/layer_tree_impl.cc offset += outer_viewport_scroll_delegate_proxy_->last_set_scroll_offset(); offset 802 cc/trees/layer_tree_impl.cc root_layer_scroll_offset_delegate_->SetTotalScrollOffset(offset); offset 420 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java mScreenVisibleRect.offset(mScreenVisiblePoint[0], mScreenVisiblePoint[1]); offset 228 chrome/browser/apps/web_view_interactive_browsertest.cc gfx::Rect offset; offset 229 chrome/browser/apps/web_view_interactive_browsertest.cc embedder_web_contents_->GetView()->GetContainerBounds(&offset); offset 230 chrome/browser/apps/web_view_interactive_browsertest.cc corner_ = gfx::Point(offset.x(), offset.y()); offset 692 chrome/browser/apps/web_view_interactive_browsertest.cc gfx::Rect offset; offset 694 chrome/browser/apps/web_view_interactive_browsertest.cc embedder_web_contents_->GetView()->GetContainerBounds(&offset); offset 695 chrome/browser/apps/web_view_interactive_browsertest.cc corner_ = gfx::Point(offset.x(), offset.y()); offset 265 chrome/browser/autocomplete/autocomplete_match.cc std::max(i->offset, j->offset), i->style | j->style); offset 267 chrome/browser/autocomplete/autocomplete_match.cc static_cast<size_t>(-1) : (i + 1)->offset; offset 269 chrome/browser/autocomplete/autocomplete_match.cc static_cast<size_t>(-1) : (j + 1)->offset; offset 286 chrome/browser/autocomplete/autocomplete_match.cc serialized_classifications += base::IntToString(classifications[i].offset) + offset 316 chrome/browser/autocomplete/autocomplete_match.cc size_t offset, offset 321 chrome/browser/autocomplete/autocomplete_match.cc (offset > classifications->back().offset)); offset 322 chrome/browser/autocomplete/autocomplete_match.cc classifications->push_back(ACMatchClassification(offset, style)); offset 499 chrome/browser/autocomplete/autocomplete_match.cc DCHECK_EQ(0U, classifications[0].offset) offset 505 chrome/browser/autocomplete/autocomplete_match.cc size_t last_offset = classifications[0].offset; offset 509 chrome/browser/autocomplete/autocomplete_match.cc DCHECK_GT(i->offset, last_offset) offset 510 chrome/browser/autocomplete/autocomplete_match.cc << " Classification for \"" << text << "\" with offset of " << i->offset offset 513 chrome/browser/autocomplete/autocomplete_match.cc DCHECK_LT(i->offset, text.length()) offset 514 chrome/browser/autocomplete/autocomplete_match.cc << " Classification of [" << i->offset << "," << text.length() offset 517 chrome/browser/autocomplete/autocomplete_match.cc last_offset = i->offset; offset 64 chrome/browser/autocomplete/autocomplete_match.h ACMatchClassification(size_t offset, int style) offset 65 chrome/browser/autocomplete/autocomplete_match.h : offset(offset), offset 70 chrome/browser/autocomplete/autocomplete_match.h size_t offset; offset 157 chrome/browser/autocomplete/autocomplete_match.h size_t offset, offset 148 chrome/browser/autocomplete/bookmark_provider_unittest.cc start = i->offset; offset 152 chrome/browser/autocomplete/bookmark_provider_unittest.cc positions.push_back(TestBookmarkPosition(start, i->offset)); offset 83 chrome/browser/autocomplete/builtin_provider.cc size_t offset = starting_chrome ? text.length() : kChrome.length(); offset 85 chrome/browser/autocomplete/builtin_provider.cc styles.push_back(ACMatchClassification(offset, kUrl)); offset 85 chrome/browser/autocomplete/history_provider.cc if (matches[0].offset) offset 89 chrome/browser/autocomplete/history_provider.cc size_t offset = matches[i].offset; offset 90 chrome/browser/autocomplete/history_provider.cc spans.push_back(ACMatchClassification(offset, offset 94 chrome/browser/autocomplete/history_provider.cc offset += matches[i].length; offset 96 chrome/browser/autocomplete/history_provider.cc } while ((i < match_count) && (offset == matches[i].offset)); offset 97 chrome/browser/autocomplete/history_provider.cc if (offset < text_length) offset 98 chrome/browser/autocomplete/history_provider.cc spans.push_back(ACMatchClassification(offset, url_style)); offset 282 chrome/browser/autocomplete/history_quick_provider.cc size_t inline_autocomplete_offset = new_matches[0].offset + offset 412 chrome/browser/autocomplete/history_quick_provider_unittest.cc EXPECT_LT(citer->offset, max_offset); offset 417 chrome/browser/autocomplete/history_quick_provider_unittest.cc EXPECT_LT(diter->offset, page_title.length()); offset 434 chrome/browser/autocomplete/history_quick_provider_unittest.cc EXPECT_EQ(0U, spans_a[0].offset); offset 436 chrome/browser/autocomplete/history_quick_provider_unittest.cc EXPECT_EQ(1U, spans_a[1].offset); offset 438 chrome/browser/autocomplete/history_quick_provider_unittest.cc EXPECT_EQ(3U, spans_a[2].offset); offset 440 chrome/browser/autocomplete/history_quick_provider_unittest.cc EXPECT_EQ(4U, spans_a[3].offset); offset 442 chrome/browser/autocomplete/history_quick_provider_unittest.cc EXPECT_EQ(7U, spans_a[4].offset); offset 444 chrome/browser/autocomplete/history_quick_provider_unittest.cc EXPECT_EQ(9U, spans_a[5].offset); offset 446 chrome/browser/autocomplete/history_quick_provider_unittest.cc EXPECT_EQ(11U, spans_a[6].offset); offset 448 chrome/browser/autocomplete/history_quick_provider_unittest.cc EXPECT_EQ(14U, spans_a[7].offset); offset 450 chrome/browser/autocomplete/history_quick_provider_unittest.cc EXPECT_EQ(19U, spans_a[8].offset); offset 461 chrome/browser/autocomplete/history_quick_provider_unittest.cc EXPECT_EQ(0U, spans_b[0].offset); offset 464 chrome/browser/autocomplete/history_quick_provider_unittest.cc EXPECT_EQ(2U, spans_b[1].offset); offset 466 chrome/browser/autocomplete/history_quick_provider_unittest.cc EXPECT_EQ(3U, spans_b[2].offset); offset 437 chrome/browser/autocomplete/history_url_provider.cc const size_t offset = trim_http ? TrimHttpPrefix(&display_string) : 0; offset 462 chrome/browser/autocomplete/history_url_provider.cc best_prefix->prefix.length() - offset, text.length(), offset 912 chrome/browser/autocomplete/history_url_provider_unittest.cc match.contents_class[match_index].offset); offset 162 chrome/browser/autocomplete/keyword_provider.cc int offset = input->text().length() - input->cursor_position(); offset 165 chrome/browser/autocomplete/keyword_provider.cc DCHECK_GE(offset, 0); offset 166 chrome/browser/autocomplete/keyword_provider.cc DCHECK_LE(offset, static_cast<int>(input->text().length())); offset 167 chrome/browser/autocomplete/keyword_provider.cc if (offset <= 0) { offset 173 chrome/browser/autocomplete/keyword_provider.cc cursor_position = offset > static_cast<int>(remaining_input.length()) ? offset 174 chrome/browser/autocomplete/keyword_provider.cc 0u : remaining_input.length() - offset; offset 3268 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(0U, match.contents_class[0].offset); offset 3271 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(4U, match.contents_class[1].offset); offset 3275 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(5U, match.contents_class[2].offset); offset 44 chrome/browser/autocomplete/shortcuts_backend.cc &unmatched, i->offset, i->style & ~ACMatchClassification::MATCH); offset 395 chrome/browser/autocomplete/shortcuts_provider.cc if (match_class.back().offset == last_position) offset 399 chrome/browser/background/background_application_list_model_unittest.cc int offset = rand() % (extensions->size() - 1); offset 400 chrome/browser/background/background_application_list_model_unittest.cc for (int index = 0; index < offset; ++index) offset 433 chrome/browser/background/background_application_list_model_unittest.cc int offset = rand() % (extensions->size() - 1); offset 434 chrome/browser/background/background_application_list_model_unittest.cc for (int index = 0; index < offset; ++index) offset 81 chrome/browser/chromeos/display/display_preferences_unittest.cc int offset, offset 84 chrome/browser/chromeos/display/display_preferences_unittest.cc ash::DisplayLayout display_layout(layout, offset); offset 103 chrome/browser/chromeos/display/display_preferences_unittest.cc int offset) { offset 106 chrome/browser/chromeos/display/display_preferences_unittest.cc layout, offset, id1); offset 111 chrome/browser/chromeos/display/display_preferences_unittest.cc int offset, offset 114 chrome/browser/chromeos/display/display_preferences_unittest.cc base::Int64ToString(id), layout, offset, primary_id); offset 238 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(layout.offset, stored_layout.offset); offset 320 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(layout.offset, stored_layout.offset); offset 335 chrome/browser/chromeos/display/display_preferences_unittest.cc int offset = 0; offset 340 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(layout_value->GetInteger(kOffsetKey, &offset)); offset 341 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(-20, offset); offset 373 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(layout_value->GetInteger(kOffsetKey, &offset)); offset 374 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(0, offset); offset 399 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_TRUE(layout_value->GetInteger(kOffsetKey, &offset)); offset 400 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(0, offset); offset 480 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(layout.offset, stored_layout.offset); offset 487 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(layout.offset, stored_layout.offset); offset 554 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(-10, display_manager->GetCurrentDisplayLayout().offset); offset 68 chrome/browser/chromeos/drive/drive_file_stream_reader.cc int offset = 0; offset 69 chrome/browser/chromeos/drive/drive_file_stream_reader.cc for (; index < pending_data->size() && offset < buffer_length; ++index) { offset 74 chrome/browser/chromeos/drive/drive_file_stream_reader.cc chunk.size(), static_cast<size_t>(buffer_length - offset)); offset 75 chrome/browser/chromeos/drive/drive_file_stream_reader.cc std::memmove(buffer->data() + offset, chunk.data(), bytes_to_read); offset 76 chrome/browser/chromeos/drive/drive_file_stream_reader.cc offset += bytes_to_read; offset 89 chrome/browser/chromeos/drive/drive_file_stream_reader.cc return offset; offset 153 chrome/browser/chromeos/drive/drive_file_stream_reader.cc int64 offset, offset 156 chrome/browser/chromeos/drive/drive_file_stream_reader.cc : remaining_offset_(offset), offset 93 chrome/browser/chromeos/drive/drive_file_stream_reader.h int64 offset, int64 content_length, const base::Closure& job_canceller); offset 42 chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.cc int64 offset, offset 56 chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.cc file_path, offset, expected_modification_time)); offset 62 chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.cc int64 offset, offset 75 chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.cc context->default_file_task_runner(),file_path, offset)); offset 30 chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.h int64 offset, offset 35 chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.h int64 offset, offset 27 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc int64 offset, offset 32 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc offset_(offset), offset 36 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc DCHECK_GE(offset, 0); offset 39 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h int64 offset, offset 49 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc int64 offset) offset 53 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.cc offset_(offset), offset 46 chrome/browser/chromeos/drive/fileapi/webkit_file_stream_writer_impl.h int64 offset); offset 27 chrome/browser/chromeos/drive/local_file_reader.cc int64 offset, offset 36 chrome/browser/chromeos/drive/local_file_reader.cc callback, offset)); offset 50 chrome/browser/chromeos/drive/local_file_reader.cc int64 offset, offset 55 chrome/browser/chromeos/drive/local_file_reader.cc int rv = file_stream_.Seek(net::FROM_BEGIN, offset, offset 58 chrome/browser/chromeos/drive/local_file_reader.cc callback, offset)); offset 63 chrome/browser/chromeos/drive/local_file_reader.cc int64 offset, offset 65 chrome/browser/chromeos/drive/local_file_reader.cc callback.Run(error == offset ? net::OK : net::ERR_FAILED); offset 40 chrome/browser/chromeos/drive/local_file_reader.h int64 offset, offset 53 chrome/browser/chromeos/drive/local_file_reader.h int64 offset, offset 56 chrome/browser/chromeos/drive/local_file_reader.h int64 offset, offset 92 chrome/browser/chromeos/drive/local_file_reader_unittest.cc size_t offset = expected_content.size() / 2; offset 93 chrome/browser/chromeos/drive/local_file_reader_unittest.cc expected_content.erase(0, offset); offset 97 chrome/browser/chromeos/drive/local_file_reader_unittest.cc test_file, static_cast<int64>(offset), callback.callback()); offset 276 chrome/browser/chromeos/fileapi/file_system_backend.cc int64 offset, offset 286 chrome/browser/chromeos/fileapi/file_system_backend.cc url, offset, expected_modification_time, context); offset 291 chrome/browser/chromeos/fileapi/file_system_backend.cc context, url, offset, expected_modification_time)); offset 297 chrome/browser/chromeos/fileapi/file_system_backend.cc int64 offset, offset 305 chrome/browser/chromeos/fileapi/file_system_backend.cc return drive_delegate_->CreateFileStreamWriter(url, offset, context); offset 313 chrome/browser/chromeos/fileapi/file_system_backend.cc context->default_file_task_runner(), url.path(), offset, offset 110 chrome/browser/chromeos/fileapi/file_system_backend.h int64 offset, offset 115 chrome/browser/chromeos/fileapi/file_system_backend.h int64 offset, offset 44 chrome/browser/chromeos/fileapi/file_system_backend_delegate.h int64 offset, offset 51 chrome/browser/chromeos/fileapi/file_system_backend_delegate.h int64 offset, offset 411 chrome/browser/chromeos/input_method/input_method_engine.cc int offset, offset 423 chrome/browser/chromeos/input_method/input_method_engine.cc if (offset < 0 && static_cast<size_t>(-1 * offset) != size_t(number_of_chars)) offset 431 chrome/browser/chromeos/input_method/input_method_engine.cc input_context->DeleteSurroundingText(offset, number_of_chars); offset 82 chrome/browser/chromeos/input_method/input_method_engine.h int offset, offset 843 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc EXPECT_EQ(5, mock_input_context->last_delete_surrounding_text_arg().offset); offset 245 chrome/browser/chromeos/input_method/input_method_engine_interface.h int offset, offset 98 chrome/browser/chromeos/input_method/mock_input_method_engine.cc int offset, offset 72 chrome/browser/chromeos/input_method/mock_input_method_engine.h int offset, offset 291 chrome/browser/chromeos/system/automatic_reboot_manager.cc const base::TimeDelta offset = clock_->NowTicks() - base::TimeTicks::Now(); offset 294 chrome/browser/chromeos/system/automatic_reboot_manager.cc boot_time_ = system_event_times.boot_time + offset; offset 300 chrome/browser/chromeos/system/automatic_reboot_manager.cc system_event_times.update_reboot_needed_time + offset; offset 94 chrome/browser/chromeos/system/timezone_util.cc int offset = raw_offset + dst_offset; offset 96 chrome/browser/chromeos/system/timezone_util.cc int minute_offset = std::abs(offset) / 60000; offset 101 chrome/browser/chromeos/system/timezone_util.cc std::string offset_str = base::StringPrintf(offset >= 0 ? offset 80 chrome/browser/chromeos/ui/echo_dialog_view.cc size_t offset; offset 82 chrome/browser/chromeos/ui/echo_dialog_view.cc IDS_ECHO_DISABLED_CONSENT_DIALOG_TEXT, link, &offset); offset 89 chrome/browser/chromeos/ui/echo_dialog_view.cc label_->AddStyleRange(gfx::Range(offset, offset + link.length()), link_style); offset 109 chrome/browser/devtools/adb/android_rsa.cc void BnLeftShift(uint32* a, int offset) { offset 110 chrome/browser/devtools/adb/android_rsa.cc for (int i = kBigIntSize - offset - 1; i >= 0; --i) offset 111 chrome/browser/devtools/adb/android_rsa.cc a[i + offset] = a[i]; offset 112 chrome/browser/devtools/adb/android_rsa.cc for (int i = 0; i < offset; ++i) offset 119 chrome/browser/devtools/adb_client_socket_browsertest.cc if ((output_buffer_->offset() + bytes_to_write_ + size) > offset 185 chrome/browser/devtools/adb_client_socket_browsertest.cc input_buffer_->set_offset(input_buffer_->offset() + count); offset 191 chrome/browser/devtools/adb_client_socket_browsertest.cc int data_size = input_buffer_->offset(); offset 209 chrome/browser/devtools/adb_client_socket_browsertest.cc output_buffer_->offset() + bytes_to_write_) << "Overflow"; offset 229 chrome/browser/devtools/adb_client_socket_browsertest.cc output_buffer_->offset() + bytes_to_write_) << "Overflow"; offset 232 chrome/browser/devtools/adb_client_socket_browsertest.cc output_buffer_->set_offset(output_buffer_->offset() + count); offset 545 chrome/browser/drive/drive_api_util.cc int64 offset = 0; offset 548 chrome/browser/drive/drive_api_util.cc int result = file.Read(offset, buffer.get(), kBufferSize); offset 559 chrome/browser/drive/drive_api_util.cc offset += result; offset 372 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc buffer->offset())); offset 558 chrome/browser/extensions/api/cast_channel/cast_socket.cc num_bytes_to_read = current_message_size_ - body_read_buffer_->offset(); offset 573 chrome/browser/extensions/api/cast_channel/cast_socket.cc << " header offset = " << header_read_buffer_->offset() offset 574 chrome/browser/extensions/api/cast_channel/cast_socket.cc << " body offset = " << body_read_buffer_->offset(); offset 583 chrome/browser/extensions/api/cast_channel/cast_socket.cc DCHECK_LE(current_read_buffer_->offset() + result, offset 585 chrome/browser/extensions/api/cast_channel/cast_socket.cc current_read_buffer_->set_offset(current_read_buffer_->offset() + result); offset 596 chrome/browser/extensions/api/cast_channel/cast_socket.cc static_cast<uint32>(current_read_buffer_->offset()) == offset 644 chrome/browser/extensions/api/cast_channel/cast_socket.cc DCHECK_EQ(static_cast<uint32>(header_read_buffer_->offset()), offset 658 chrome/browser/extensions/api/cast_channel/cast_socket.cc DCHECK_EQ(static_cast<uint32>(body_read_buffer_->offset()), offset 195 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc for (size_t offset = 0; offset < msg_size; offset += ch_size) { offset 196 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc if (offset + ch_size > msg_size) offset 197 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc ch_size = msg_size - offset; offset 222 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc for (size_t offset = 0; offset < msg_size; offset += ch_size) { offset 223 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc if (offset + ch_size > msg_size) offset 224 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc ch_size = msg_size - offset; offset 225 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc AddReadResult(mode, data + offset, ch_size); offset 766 chrome/browser/extensions/api/input_ime/input_ime_api.cc engine->DeleteSurroundingText(params.context_id, params.offset, params.length, offset 335 chrome/browser/extensions/api/omnibox/omnibox_api.cc size_t offset = style->offset >= 0 ? style->offset : offset 336 chrome/browser/extensions/api/omnibox/omnibox_api.cc std::max(0, static_cast<int>(description.length()) + style->offset); offset 354 chrome/browser/extensions/api/omnibox/omnibox_api.cc for (size_t j = offset; j < offset + length && j < styles.size(); ++j) offset 399 chrome/browser/extensions/api/omnibox/omnibox_api.cc if (description_styles[i].offset > placeholder) offset 400 chrome/browser/extensions/api/omnibox/omnibox_api.cc description_styles[i].offset += replacement.length() - 2; offset 102 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc result.match_at(1).contents_class[0].offset); offset 107 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc result.match_at(1).contents_class[1].offset); offset 112 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc result.match_at(1).contents_class[2].offset); offset 117 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc result.match_at(1).contents_class[3].offset); offset 122 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc result.match_at(1).contents_class[4].offset); offset 127 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc result.match_at(1).contents_class[5].offset); offset 29 chrome/browser/extensions/api/omnibox/omnibox_unittest.cc EXPECT_EQ(expected[i].offset, actual[i].offset) << "Index:" << i; offset 324 chrome/browser/extensions/api/web_request/form_data_parser.cc size_t offset = content_type_header->find(kBoundaryString); offset 325 chrome/browser/extensions/api/web_request/form_data_parser.cc if (offset == std::string::npos) { offset 329 chrome/browser/extensions/api/web_request/form_data_parser.cc offset += sizeof(kBoundaryString) - 1; offset 331 chrome/browser/extensions/api/web_request/form_data_parser.cc offset, content_type_header->find(';', offset)); offset 39 chrome/browser/extensions/blob_reader.cc void BlobReader::SetByteRange(int64 offset, int64 length) { offset 41 chrome/browser/extensions/blob_reader.cc CHECK_GE(offset, 0); offset 43 chrome/browser/extensions/blob_reader.cc CHECK_LE(offset, kint64max - length); offset 48 chrome/browser/extensions/blob_reader.cc base::StringPrintf("bytes=%" PRId64 "-%" PRId64, offset, offset 49 chrome/browser/extensions/blob_reader.cc offset + length - 1)); offset 37 chrome/browser/extensions/blob_reader.h void SetByteRange(int64 offset, int64 length); offset 73 chrome/browser/history/in_memory_url_index_types.cc return m1.offset < m2.offset; offset 85 chrome/browser/history/in_memory_url_index_types.cc if (iter->offset >= last_match.offset + last_match.length) { offset 96 chrome/browser/history/in_memory_url_index_types.cc offsets.push_back(i->offset); offset 109 chrome/browser/history/in_memory_url_index_types.cc new_match.offset = *offset_iter; offset 29 chrome/browser/history/in_memory_url_index_types.h TermMatch() : term_num(0), offset(0), length(0) {} offset 30 chrome/browser/history/in_memory_url_index_types.h TermMatch(int term_num, size_t offset, size_t length) offset 32 chrome/browser/history/in_memory_url_index_types.h offset(offset), offset 36 chrome/browser/history/in_memory_url_index_types.h size_t offset; // The starting offset of the substring match. offset 123 chrome/browser/history/in_memory_url_index_types_unittest.cc EXPECT_EQ(expected_offsets[i], matches_g[i].offset); offset 147 chrome/browser/history/in_memory_url_index_types_unittest.cc EXPECT_EQ(expected_offsets_b[i], matches_b[i].offset); offset 127 chrome/browser/history/query_parser_unittest.cc size_t offset = 0; offset 132 chrome/browser/history/query_parser_unittest.cc offset++; offset 135 chrome/browser/history/query_parser_unittest.cc ASSERT_TRUE(match_positions.size() == 1 + offset); offset 136 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(data[i].m2_start, match_positions[offset].first); offset 137 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(data[i].m2_end, match_positions[offset].second); offset 272 chrome/browser/history/scored_history_match.cc (*next_word_starts < (iter->offset + term_offset))) offset 277 chrome/browser/history/scored_history_match.cc if ((iter->offset < start_pos) || offset 278 chrome/browser/history/scored_history_match.cc ((end_pos != std::string::npos) && (iter->offset >= end_pos)) || offset 280 chrome/browser/history/scored_history_match.cc (*next_word_starts == iter->offset + term_offset))) offset 348 chrome/browser/history/scored_history_match.cc (*next_word_starts < (iter->offset + term_offset))) { offset 352 chrome/browser/history/scored_history_match.cc (*next_word_starts == iter->offset + term_offset); offset 354 chrome/browser/history/scored_history_match.cc (iter->offset > question_mark_pos)) { offset 359 chrome/browser/history/scored_history_match.cc (iter->offset > end_of_hostname_pos)) { offset 364 chrome/browser/history/scored_history_match.cc (iter->offset > colon_pos)) { offset 367 chrome/browser/history/scored_history_match.cc (iter->offset < last_part_of_hostname_pos)) { offset 399 chrome/browser/history/scored_history_match.cc (*next_word_starts < (iter->offset + term_offset))) { offset 405 chrome/browser/history/scored_history_match.cc DCHECK_EQ(*next_word_starts, iter->offset + term_offset) offset 27 chrome/browser/history/snippet.cc void CoalescePositionsFrom(size_t offset, offset 29 chrome/browser/history/snippet.cc DCHECK(offset < match_positions->size()); offset 30 chrome/browser/history/snippet.cc Snippet::MatchPosition& pair((*match_positions)[offset]); offset 31 chrome/browser/history/snippet.cc ++offset; offset 32 chrome/browser/history/snippet.cc while (offset < match_positions->size() && offset 33 chrome/browser/history/snippet.cc pair.second >= (*match_positions)[offset].first) { offset 34 chrome/browser/history/snippet.cc pair.second = std::max(pair.second, (*match_positions)[offset].second); offset 35 chrome/browser/history/snippet.cc match_positions->erase(match_positions->begin() + offset); offset 107 chrome/browser/history/snippet.cc int32_t offset, offset 110 chrome/browser/history/snippet.cc DCHECK(offset >= *utf8_pos && offset <= utf8_length); offset 113 chrome/browser/history/snippet.cc while (*utf8_pos < offset) { offset 143 chrome/browser/history/visit_filter.cc double offset = offset 149 chrome/browser/history/visit_filter.cc score = exp(-(offset * offset) / (2 * sd * sd)); offset 153 chrome/browser/history/visit_filter.cc base::TimeDelta offset = GetTimeOfDayDifference(filter_time_, offset 155 chrome/browser/history/visit_filter.cc if (offset > filter_width_) { offset 158 chrome/browser/history/visit_filter.cc score = 1 - offset.InMicroseconds() / static_cast<double>( offset 85 chrome/browser/local_discovery/storage/privet_filesystem_backend.cc int64 offset, offset 94 chrome/browser/local_discovery/storage/privet_filesystem_backend.cc int64 offset, offset 53 chrome/browser/local_discovery/storage/privet_filesystem_backend.h int64 offset, offset 59 chrome/browser/local_discovery/storage/privet_filesystem_backend.h int64 offset, offset 268 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc int64 offset, offset 278 chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc context, url, offset, expected_modification_time))); offset 121 chrome/browser/media_galleries/fileapi/device_media_async_file_util.h int64 offset, offset 319 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc int64 offset, offset 326 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc url, offset, expected_modification_time, context); offset 334 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc url.path(), offset, expected_modification_time)); offset 340 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc int64 offset, offset 346 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc offset, offset 76 chrome/browser/media_galleries/fileapi/media_file_system_backend.h int64 offset, offset 81 chrome/browser/media_galleries/fileapi/media_file_system_backend.h int64 offset, offset 11 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.cc net::IOBuffer* buf, int64 offset, int buf_len, offset 16 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.cc offset(offset), offset 53 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h net::IOBuffer* buf, int64 offset, int buf_len, offset 60 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h int64 offset; offset 97 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h net::IOBuffer* buf, int64 offset, int buf_len, offset 45 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc const fileapi::FileSystemURL& url, net::IOBuffer* buf, int64 offset, offset 58 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc offset, offset 291 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc net::IOBuffer* buf, int64 offset, int buf_len, offset 300 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc device_file_relative_path, buf, offset, buf_len, offset 76 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h net::IOBuffer* buf, int64 offset, int buf_len, offset 206 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc DCHECK_GE(request.offset, 0); offset 217 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc request.offset >= file_info.size) { offset 224 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::saturated_cast<uint32>(file_info.size - request.offset)); offset 229 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc base::checked_cast<uint32>(request.offset), offset 55 chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h net::IOBuffer* buf, int64 offset, int buf_len, offset 451 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc net::IOBuffer* buf, int64 offset, int buf_len, offset 109 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h net::IOBuffer* buf, int64 offset, int buf_len, offset 83 chrome/browser/metrics/machine_id_provider_win.cc const DWORD offset = device_descriptor->SerialNumberOffset; offset 84 chrome/browser/metrics/machine_id_provider_win.cc if (offset >= output_buf.size()) offset 89 chrome/browser/metrics/machine_id_provider_win.cc output_buf.begin() + offset; offset 96 chrome/browser/metrics/machine_id_provider_win.cc reinterpret_cast<const char*>(&output_buf[offset]); offset 281 chrome/browser/metrics/metrics_log.cc const size_t offset = file_name.find_last_of("\\/"); offset 282 chrome/browser/metrics/metrics_log.cc return offset != std::string::npos ? file_name.substr(offset + 1) : file_name; offset 66 chrome/browser/notifications/balloon.h const gfx::Vector2d& offset() const { return offset_; } offset 67 chrome/browser/notifications/balloon.h void set_offset(const gfx::Vector2d& offset) { offset_ = offset; } offset 68 chrome/browser/notifications/balloon.h void add_offset(const gfx::Vector2d& offset) { offset_.Add(offset); } offset 75 chrome/browser/notifications/balloon_collection_impl.cc new_balloon->set_offset(base_.balloons()[count - 1]->offset()); offset 148 chrome/browser/notifications/balloon_collection_impl.cc gfx::Vector2d offset; offset 155 chrome/browser/notifications/balloon_collection_impl.cc offset.set_y((source)->offset().y() - (*it)->offset().y() + offset 160 chrome/browser/notifications/balloon_collection_impl.cc (*it)->add_offset(offset); offset 156 chrome/browser/prerender/prerender_contents.cc virtual bool OnGoToEntryOffset(int offset) OVERRIDE { offset 159 chrome/browser/profiles/profile_io_data.cc int offset = parsed.CountCharactersBefore(url_parse::Parsed::PATH, false); offset 160 chrome/browser/profiles/profile_io_data.cc if (offset < static_cast<int>(spec.size())) offset 161 chrome/browser/profiles/profile_io_data.cc relative_path.assign(spec.substr(offset + bundled_path_prefix.length())); offset 104 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc gfx::Rect offset; offset 107 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc tab->GetView()->GetContainerBounds(&offset); offset 108 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc mouse_event.globalX = 15 + offset.x(); offset 109 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc mouse_event.globalY = 15 + offset.y(); offset 105 chrome/browser/safe_browsing/pe_image_reader_win.h template<typename T> bool GetStructureAt(size_t offset, const T** structure) { offset 106 chrome/browser/safe_browsing/pe_image_reader_win.h return GetStructureAt(offset, sizeof(**structure), structure); offset 113 chrome/browser/safe_browsing/pe_image_reader_win.h template<typename T> bool GetStructureAt(size_t offset, offset 116 chrome/browser/safe_browsing/pe_image_reader_win.h if (offset > image_size_) offset 118 chrome/browser/safe_browsing/pe_image_reader_win.h if (structure_size > image_size_ - offset) offset 120 chrome/browser/safe_browsing/pe_image_reader_win.h *structure = reinterpret_cast<const T*>(image_data_ + offset); offset 109 chrome/browser/safe_browsing/prefix_set_unittest.cc static void IncrementIntAt(FILE* fp, long offset, int inc) { offset 112 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_NE(-1, fseek(fp, offset, SEEK_SET)); offset 117 chrome/browser/safe_browsing/prefix_set_unittest.cc ASSERT_NE(-1, fseek(fp, offset, SEEK_SET)); offset 153 chrome/browser/safe_browsing/prefix_set_unittest.cc void ModifyAndCleanChecksum(const base::FilePath& filename, long offset, offset 159 chrome/browser/safe_browsing/prefix_set_unittest.cc IncrementIntAt(file.get(), offset, inc); offset 52 chrome/browser/safe_browsing/protocol_parser.cc int offset; offset 58 chrome/browser/safe_browsing/protocol_parser.cc offset = static_cast<int>(line.size()) + 1; offset 59 chrome/browser/safe_browsing/protocol_parser.cc data += offset; offset 60 chrome/browser/safe_browsing/protocol_parser.cc length -= offset; offset 278 chrome/browser/spellchecker/feedback_sender.cc marker_map[markers[i].offset] = markers[i].hash; offset 544 chrome/browser/sync/glue/session_model_associator.cc int offset = session_tab->navigations.size(); offset 548 chrome/browser/sync/glue/session_model_associator.cc i + offset, *blocked_navigations[i])); offset 960 chrome/browser/sync/sessions2/sessions_sync_manager.cc int offset = session_tab->navigations.size(); offset 964 chrome/browser/sync/sessions2/sessions_sync_manager.cc i + offset, *blocked_navigations[i])); offset 182 chrome/browser/sync_file_system/local/sync_file_system_backend.cc int64 offset, offset 187 chrome/browser/sync_file_system/local/sync_file_system_backend.cc url, offset, expected_modification_time, context); offset 193 chrome/browser/sync_file_system/local/sync_file_system_backend.cc int64 offset, offset 197 chrome/browser/sync_file_system/local/sync_file_system_backend.cc url, offset, context, fileapi::kFileSystemTypeSyncableForInternalSync); offset 50 chrome/browser/sync_file_system/local/sync_file_system_backend.h int64 offset, offset 55 chrome/browser/sync_file_system/local/sync_file_system_backend.h int64 offset, offset 299 chrome/browser/translate/translate_infobar_delegate.cc size_t offset; offset 303 chrome/browser/translate/translate_infobar_delegate.cc &offset); offset 305 chrome/browser/translate/translate_infobar_delegate.cc strings->push_back(text.substr(0, offset)); offset 306 chrome/browser/translate/translate_infobar_delegate.cc strings->push_back(text.substr(offset)); offset 47 chrome/browser/ui/app_list/search/omnibox_provider.cc tag_styles, tag_start, text_class.offset)); offset 54 chrome/browser/ui/app_list/search/omnibox_provider.cc tag_start = text_class.offset; offset 71 chrome/browser/ui/cocoa/base_bubble_controller.h offset:(NSPoint)offset; offset 174 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h - (void)offsetFolderMenuWindow:(NSSize)offset; offset 22 chrome/browser/ui/cocoa/first_run_bubble_controller.h offset:(NSPoint)offset offset 30 chrome/browser/ui/cocoa/l10n_util.h size_t* offset); offset 48 chrome/browser/ui/cocoa/profile_menu_controller.h atOffset:(NSInteger)offset offset 894 chrome/browser/ui/gtk/download/download_item_gtk.cc const int offset = DownloadShelf::kSmallProgressIconOffset; offset 896 chrome/browser/ui/gtk/download/download_item_gtk.cc allocation.x + offset, allocation.y + offset); offset 158 chrome/browser/ui/gtk/gtk_tree.cc int offset = OffsetForGroupIndex(group_it - groups.begin()); offset 159 chrome/browser/ui/gtk/gtk_tree.cc model_rows->insert(list_store_index - offset); offset 28 chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.cc size_t offset = 0; offset 31 chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.cc base::string16(), &offset); offset 34 chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.cc CreateLabel(base::UTF16ToUTF8(text.substr(0, offset))), offset 47 chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.cc CreateLabel(base::UTF16ToUTF8(text.substr(offset))), offset 366 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gfx::Point offset = GetContentsOffset(); offset 369 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc return gfx::Rect(x + offset.x(), y + offset.y(), offset 431 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gfx::Point offset = GetContentsOffset(); offset 441 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc cairo_move_to(cr, offset.x(), offset.y() - 1); offset 442 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc cairo_line_to(cr, offset.x() + content_size.width(), offset.y() - 1); offset 416 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc size_t offset = GetUTF8Offset(localized_text, i->offset) + offset 432 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc text_utf8.insert(offset, lre); offset 442 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc fg_attr->start_index = offset; offset 449 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc weight_attr->start_index = offset; offset 145 chrome/browser/ui/gtk/sad_tab_gtk.cc size_t offset = 0; offset 148 chrome/browser/ui/gtk/sad_tab_gtk.cc base::string16(), &offset)); offset 150 chrome/browser/ui/gtk/sad_tab_gtk.cc base::UTF16ToUTF8(help_text.substr(0, offset))); offset 152 chrome/browser/ui/gtk/sad_tab_gtk.cc base::UTF16ToUTF8(help_text.substr(offset))); offset 420 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc double offset = kDragFrameBorderSize / 2.0 - 0.5; offset 421 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc double left_x = offset; offset 422 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc double top_y = tab_height - kDragFrameBorderSize + offset; offset 423 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc double right_x = allocation.width - offset; offset 424 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc double bottom_y = allocation.height - offset; offset 42 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h void set_mouse_tab_offset(const gfx::Point& offset) { offset 43 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h mouse_tab_offset_ = offset; offset 675 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc void TabRendererGtk::SetFaviconHidingOffset(int offset) { offset 676 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc favicon_hiding_offset_ = offset; offset 221 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h void set_vertical_offset(int offset) { background_offset_y_ = offset; } offset 284 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h void SetFaviconHidingOffset(int offset); offset 929 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc void TabStripGtk::SetVerticalOffset(int offset) { offset 930 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc tab_vertical_offset_ = offset; offset 101 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h void SetVerticalOffset(int offset); offset 393 chrome/browser/ui/toolbar/back_forward_menu_model.cc int BackForwardMenuModel::FindChapterStop(int offset, offset 396 chrome/browser/ui/toolbar/back_forward_menu_model.cc if (offset < 0 || skip < 0) offset 400 chrome/browser/ui/toolbar/back_forward_menu_model.cc offset *= -1; offset 403 chrome/browser/ui/toolbar/back_forward_menu_model.cc int entry = contents->GetController().GetCurrentEntryIndex() + offset; offset 155 chrome/browser/ui/toolbar/back_forward_menu_model.h int FindChapterStop(int offset, bool forward, int skip) const; offset 86 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc void NavigateToOffset(int offset) { offset 87 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc controller().GoToOffset(offset); offset 87 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc int offset = GetTabCenter(browser, index) - offset 93 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc offset, 0, offset 94 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc offset, 0, offset 39 chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc size_t offset; offset 45 chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc &offset); offset 53 chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc promo_label->AddStyleRange(gfx::Range(offset, offset + link_text.length()), offset 58 chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc gfx::Range before_link_range(0, offset); offset 61 chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc gfx::Range after_link_range(offset + link_text.length(), promo_text.length()); offset 15 chrome/browser/ui/views/dropdown_bar_host_delegate.h virtual void SetAnimationOffset(int offset) = 0; offset 102 chrome/browser/ui/views/dropdown_bar_view.cc void DropdownBarView::SetAnimationOffset(int offset) { offset 103 chrome/browser/ui/views/dropdown_bar_view.cc animation_offset_ = offset; offset 31 chrome/browser/ui/views/dropdown_bar_view.h virtual void SetAnimationOffset(int offset) OVERRIDE; offset 77 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc size_t offset; offset 78 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc base::string16 message_text = delegate->GetMessageTextWithOffset(&offset); offset 79 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc DCHECK_NE(base::string16::npos, offset); offset 80 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc label_1_text_ = message_text.substr(0, offset); offset 88 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc label_2_text_ = message_text.substr(offset); offset 84 chrome/browser/ui/views/infobars/before_translate_infobar.cc size_t offset = 0; offset 87 chrome/browser/ui/views/infobars/before_translate_infobar.cc base::string16(), &offset)); offset 89 chrome/browser/ui/views/infobars/before_translate_infobar.cc label_1_ = CreateLabel(text.substr(0, offset)); offset 99 chrome/browser/ui/views/infobars/before_translate_infobar.cc label_2_ = CreateLabel(text.substr(offset)); offset 240 chrome/browser/ui/views/infobars/infobar_view.cc fill_path_.offset(0, -separator_height * SK_ScalarHalf); offset 549 chrome/browser/ui/views/location_bar/location_bar_view.cc void LocationBarView::SetAnimationOffset(int offset) { offset 550 chrome/browser/ui/views/location_bar/location_bar_view.cc dropdown_animation_offset_ = offset; offset 98 chrome/browser/ui/views/location_bar/location_bar_view.h virtual void SetAnimationOffset(int offset) OVERRIDE; offset 484 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Point offset = GetContentsOffset(); offset 486 chrome/browser/ui/views/notifications/balloon_view_views.cc return gfx::Rect(frame_rect.x() + offset.x(), offset 487 chrome/browser/ui/views/notifications/balloon_view_views.cc frame_rect.y() + GetShelfHeight() + offset.y(), offset 290 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const int offset = offset 309 chrome/browser/ui/views/omnibox/omnibox_result_view.cc std::max(offset, max_match_contents_width)); offset 322 chrome/browser/ui/views/omnibox/omnibox_result_view.cc std::min(remaining_width - max_match_contents_width, offset)); offset 363 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const size_t text_start = classifications[i].offset; offset 368 chrome/browser/ui/views/omnibox/omnibox_result_view.cc std::min(classifications[i + 1].offset, text_length) : offset 139 chrome/browser/ui/views/sad_tab_view.cc size_t offset = 0; offset 142 chrome/browser/ui/views/sad_tab_view.cc base::string16(), &offset)); offset 143 chrome/browser/ui/views/sad_tab_view.cc views::Label* help_prefix = CreateLabel(help_text.substr(0, offset)); offset 144 chrome/browser/ui/views/sad_tab_view.cc views::Label* help_suffix = CreateLabel(help_text.substr(offset)); offset 806 chrome/browser/ui/views/status_bubble_views.cc int offset = kMousePadding + relative_location.y(); offset 809 chrome/browser/ui/views/status_bubble_views.cc offset = offset * offset / kMousePadding; offset 814 chrome/browser/ui/views/status_bubble_views.cc offset = static_cast<int>(static_cast<float>(offset) * ( offset 823 chrome/browser/ui/views/status_bubble_views.cc if (offset >= size_.height() - kShadowThickness * 2) { offset 824 chrome/browser/ui/views/status_bubble_views.cc offset = size_.height() - kShadowThickness * 2; offset 826 chrome/browser/ui/views/status_bubble_views.cc } else if (offset > kBubbleCornerRadius / 2 - kShadowThickness) { offset 839 chrome/browser/ui/views/status_bubble_views.cc if (bubble_bottom_y + offset > monitor_rect.height() || offset 854 chrome/browser/ui/views/status_bubble_views.cc offset_ = offset; offset 162 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc size_t offset; offset 169 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc domain, &offset); offset 176 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc gfx::Range(offset, offset + domain.size()), bold_style); offset 1323 chrome/browser/ui/views/tabs/tab.cc int offset = GetMirroredX() + background_offset_.x(); offset 1345 chrome/browser/ui/views/tabs/tab.cc *tab_bg, offset, bg_offset_y, tab_image->l_width, height()); offset 1355 chrome/browser/ui/views/tabs/tab.cc offset + width() - tab_image->r_width, bg_offset_y, offset 1368 chrome/browser/ui/views/tabs/tab.cc offset + tab_image->l_width, offset 1398 chrome/browser/ui/views/tabs/tab.cc int offset = GetMirroredX() + background_offset_.x(); offset 1405 chrome/browser/ui/views/tabs/tab.cc *tab_background, offset, 0, tab_image->l_width, height()); offset 1413 chrome/browser/ui/views/tabs/tab.cc offset + width() - tab_image->r_width, 0, tab_image->r_width, height()); offset 1421 chrome/browser/ui/views/tabs/tab.cc offset + tab_image->l_width, offset 1617 chrome/browser/ui/views/tabs/tab.cc void Tab::SetFaviconHidingOffset(int offset) { offset 1618 chrome/browser/ui/views/tabs/tab.cc favicon_hiding_offset_ = offset; offset 86 chrome/browser/ui/views/tabs/tab.h void set_background_offset(const gfx::Point& offset) { offset 87 chrome/browser/ui/views/tabs/tab.h background_offset_ = offset; offset 244 chrome/browser/ui/views/tabs/tab.h void SetFaviconHidingOffset(int offset); offset 1832 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point offset( offset 1836 chrome/browser/ui/views/tabs/tab_drag_controller.cc views::View::ConvertPointToWidget(attached_tabstrip_, &offset); offset 1838 chrome/browser/ui/views/tabs/tab_drag_controller.cc bounds.set_x(point_in_screen.x() - offset.x()); offset 318 chrome/browser/ui/views/tabs/tab_strip.cc void set_background_offset(const gfx::Point& offset) { offset 319 chrome/browser/ui/views/tabs/tab_strip.cc background_offset_ = offset; offset 956 chrome/browser/ui/views/tabs/tab_strip.cc void TabStrip::SetBackgroundOffset(const gfx::Point& offset) { offset 958 chrome/browser/ui/views/tabs/tab_strip.cc tab_at(i)->set_background_offset(offset); offset 959 chrome/browser/ui/views/tabs/tab_strip.cc newtab_button_->set_background_offset(offset); offset 165 chrome/browser/ui/views/tabs/tab_strip.h void SetBackgroundOffset(const gfx::Point& offset); offset 94 chrome/browser/ui/webui/chromeos/first_run/first_run_actor.h int offset) = 0; offset 56 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc int offset) { offset 61 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc point_with_offset.AppendInteger(offset); offset 33 chrome/browser/ui/webui/chromeos/first_run/first_run_handler.h int offset) OVERRIDE; offset 500 chrome/browser/ui/webui/history_ui.cc int offset; offset 501 chrome/browser/ui/webui/history_ui.cc if (!args->GetInteger(1, &offset)) { offset 512 chrome/browser/ui/webui/history_ui.cc SetQueryTimeInMonths(offset, &options); offset 514 chrome/browser/ui/webui/history_ui.cc SetQueryTimeInWeeks(offset, &options); offset 908 chrome/browser/ui/webui/history_ui.cc int offset, history::QueryOptions* options) { offset 914 chrome/browser/ui/webui/history_ui.cc base::TimeDelta::FromDays(7 * offset); offset 916 chrome/browser/ui/webui/history_ui.cc base::TimeDelta::FromDays(7 * (offset + 1)); offset 920 chrome/browser/ui/webui/history_ui.cc int offset, history::QueryOptions* options) { offset 927 chrome/browser/ui/webui/history_ui.cc if (offset == 0) { offset 939 chrome/browser/ui/webui/history_ui.cc exploded.month -= offset - 1; offset 167 chrome/browser/ui/webui/history_ui.h void SetQueryTimeInWeeks(int offset, history::QueryOptions* options); offset 170 chrome/browser/ui/webui/history_ui.h void SetQueryTimeInMonths(int offset, history::QueryOptions* options); offset 138 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc int offset = chrome::kNTPBookmarkBarHeight; offset 141 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc return "left " + base::IntToString(-offset) + "px"; offset 143 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc return "right " + base::IntToString(-offset) + "px"; offset 144 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc return "center " + base::IntToString(-offset) + "px"; offset 296 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc offset_value.reset(new base::FundamentalValue(layout.offset)); offset 310 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc int position, int offset) { offset 312 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc ash::DisplayLayout::FromInts(position, offset)); offset 348 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc double offset = -1; offset 349 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc if (!args->GetDouble(0, &layout) || !args->GetDouble(1, &offset)) { offset 362 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc static_cast<int>(offset))); offset 54 chrome/browser/ui/webui/options/chromeos/display_options_handler.h void OnFadeOutForDisplayLayoutFinished(int layout, int offset); offset 49 chrome/common/extensions/docs/examples/extensions/irc/servlet/src/org/chromium/IRCProxyWebSocket.java public void onMessage(byte frame, byte[] data,int offset, int length) {} offset 472 chrome/common/net/url_fixer_upper.cc const int offset = -static_cast<int>(inserted_text.length()); offset 473 chrome/common/net/url_fixer_upper.cc URLFixerUpper::OffsetComponent(offset, &parts->scheme); offset 474 chrome/common/net/url_fixer_upper.cc URLFixerUpper::OffsetComponent(offset, &parts->username); offset 475 chrome/common/net/url_fixer_upper.cc URLFixerUpper::OffsetComponent(offset, &parts->password); offset 476 chrome/common/net/url_fixer_upper.cc URLFixerUpper::OffsetComponent(offset, &parts->host); offset 477 chrome/common/net/url_fixer_upper.cc URLFixerUpper::OffsetComponent(offset, &parts->port); offset 478 chrome/common/net/url_fixer_upper.cc URLFixerUpper::OffsetComponent(offset, &parts->path); offset 479 chrome/common/net/url_fixer_upper.cc URLFixerUpper::OffsetComponent(offset, &parts->query); offset 480 chrome/common/net/url_fixer_upper.cc URLFixerUpper::OffsetComponent(offset, &parts->ref); offset 642 chrome/common/net/url_fixer_upper.cc void URLFixerUpper::OffsetComponent(int offset, url_parse::Component* part) { offset 647 chrome/common/net/url_fixer_upper.cc part->begin += offset; offset 77 chrome/common/net/url_fixer_upper.h void OffsetComponent(int offset, url_parse::Component* part); offset 16 chrome/common/spellcheck_marker.h return marker.offset < text_length_; offset 23 chrome/common/spellcheck_marker.h SpellCheckMarker() : hash(-1), offset(-1) {} offset 25 chrome/common/spellcheck_marker.h SpellCheckMarker(uint32 hash, size_t offset) : hash(hash), offset(offset) {} offset 28 chrome/common/spellcheck_marker.h size_t offset; offset 28 chrome/common/spellcheck_messages.h IPC_STRUCT_TRAITS_MEMBER(offset) offset 46 chrome/installer/util/l10n_string_util.cc int message_id = base_message_id + GetLanguageSelector().offset(); offset 24 chrome/installer/util/language_selector.cc int offset; offset 95 chrome/installer/util/language_selector.cc byNameAndOffset && !(first->offset < (first + 1)->offset)) { offset 143 chrome/installer/util/language_selector.cc return left.offset < right.offset; offset 149 chrome/installer/util/language_selector.cc const std::wstring& name, int* offset) { offset 152 chrome/installer/util/language_selector.cc *offset = search_result->offset; offset 161 chrome/installer/util/language_selector.cc bool GetLanguageOffset(const std::wstring& language, int* offset) { offset 168 chrome/installer/util/language_selector.cc language, offset) || offset 172 chrome/installer/util/language_selector.cc language, offset); offset 177 chrome/installer/util/language_selector.cc bool MatchLanguageOffset(const std::wstring& language, int* offset) { offset 185 chrome/installer/util/language_selector.cc primary_language, offset); offset 233 chrome/installer/util/language_selector.cc std::wstring LanguageSelector::GetLanguageName(int offset) { offset 234 chrome/installer/util/language_selector.cc DCHECK_GE(offset, 0); offset 235 chrome/installer/util/language_selector.cc DCHECK_LT(static_cast<size_t>(offset), arraysize(kLanguageOffsetPairs)); offset 237 chrome/installer/util/language_selector.cc LangToOffset value = { NULL, offset }; offset 243 chrome/installer/util/language_selector.cc search_result->offset == offset) { offset 32 chrome/installer/util/language_selector.h int offset() const { return offset_; } offset 41 chrome/installer/util/language_selector.h static std::wstring GetLanguageName(int offset); offset 169 chrome/installer/util/language_selector_unittest.cc EXPECT_FALSE(instance.GetLanguageName(instance.offset()).empty()); offset 51 chrome/installer/util/logging_installer.cc int64 offset = log_size - kTruncatedInstallerLogFileSize; offset 53 chrome/installer/util/logging_installer.cc int bytes_read = old_log_file.Read(offset, offset 161 chrome/installer/util/lzma_util.cc size_t offset; offset 166 chrome/installer/util/lzma_util.cc &outBuffer, &outBufferSize, &offset, &outSizeProcessed, offset 205 chrome/installer/util/lzma_util.cc if ((!WriteFile(hFile, outBuffer + offset, (DWORD) outSizeProcessed, offset 129 chrome/renderer/chrome_render_process_observer.cc DWORD offset, offset 132 chrome/renderer/chrome_render_process_observer.cc int rv = GetFontData(hdc, table, offset, buffer, length); offset 140 chrome/renderer/chrome_render_process_observer.cc rv = GetFontData(hdc, table, offset, buffer, length); offset 206 chrome/renderer/spellchecker/spellcheck.cc size_t offset = 0; offset 215 chrome/renderer/spellchecker/spellcheck.cc while (offset <= length) { offset 216 chrome/renderer/spellchecker/spellcheck.cc if (SpellCheckWord(&text[offset], offset 217 chrome/renderer/spellchecker/spellcheck.cc length - offset, offset 227 chrome/renderer/spellchecker/spellcheck.cc text, misspelling_start + offset, misspelling_length)) { offset 231 chrome/renderer/spellchecker/spellcheck.cc misspelling_start + offset, offset 235 chrome/renderer/spellchecker/spellcheck.cc offset += misspelling_start + misspelling_length; offset 130 chrome/renderer/spellchecker/spellcheck_provider.cc int& offset, offset 137 chrome/renderer/spellchecker/spellcheck_provider.cc &offset, &length, optional_suggestions ? & suggestions : NULL); offset 73 chrome/renderer/spellchecker/spellcheck_provider.h int& offset, offset 250 chrome/test/chromedriver/element_commands.cc const double offset = offset 253 chrome/test/chromedriver/element_commands.cc (speed * xoffset) / (kFlickTouchEventsPerSecond * offset); offset 255 chrome/test/chromedriver/element_commands.cc (speed * yoffset) / (kFlickTouchEventsPerSecond * offset); offset 257 chrome/test/chromedriver/element_commands.cc (offset * kFlickTouchEventsPerSecond) / speed; offset 305 chrome/test/chromedriver/key_converter_unittest.cc int offset = 0; offset 307 chrome/test/chromedriver/key_converter_unittest.cc offset = ui::VKEY_0; offset 309 chrome/test/chromedriver/key_converter_unittest.cc offset = ui::VKEY_0 + 7; offset 310 chrome/test/chromedriver/key_converter_unittest.cc ui::KeyboardCode expected_code = static_cast<ui::KeyboardCode>(offset + i); offset 314 chrome/test/chromedriver/key_converter_unittest.cc int offset = 0; offset 316 chrome/test/chromedriver/key_converter_unittest.cc offset = ui::VKEY_0; offset 318 chrome/test/chromedriver/key_converter_unittest.cc offset = ui::VKEY_0 + 7; offset 319 chrome/test/chromedriver/key_converter_unittest.cc ui::KeyboardCode expected_code = static_cast<ui::KeyboardCode>(offset + i); offset 91 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp od.offset = SEC_OID_UNKNOWN; offset 216 chrome/utility/chrome_content_utility_client.cc HDC hdc, DWORD table, DWORD offset, LPVOID buffer, DWORD length) { offset 217 chrome/utility/chrome_content_utility_client.cc int rv = GetFontData(hdc, table, offset, buffer, length); offset 224 chrome/utility/chrome_content_utility_client.cc rv = GetFontData(hdc, table, offset, buffer, length); offset 82 chrome/utility/importer/ie_importer_win.cc bool BinaryRead(T* data, size_t offset, const std::vector<uint8>& blob) { offset 83 chrome/utility/importer/ie_importer_win.cc if (offset + sizeof(T) > blob.size()) offset 85 chrome/utility/importer/ie_importer_win.cc memcpy(data, &blob[offset], sizeof(T)); offset 95 chrome/utility/importer/ie_importer_win.cc LPCITEMIDLIST BinaryReadItemIDList(size_t offset, size_t idlist_size, offset 101 chrome/utility/importer/ie_importer_win.cc if (head >= idlist_size || !BinaryRead(&id_cb, offset + head, blob)) offset 107 chrome/utility/importer/ie_importer_win.cc return reinterpret_cast<LPCITEMIDLIST>(&blob[offset]); offset 90 chrome_elf/blacklist/blacklist_interceptions.cc PLARGE_INTEGER offset, offset 94 chrome_elf/blacklist/blacklist_interceptions.cc if (!section || !base || !view_size || offset) offset 179 chrome_elf/blacklist/blacklist_interceptions.cc PLARGE_INTEGER offset, offset 185 chrome_elf/blacklist/blacklist_interceptions.cc commit_size, offset, view_size, inherit, offset 189 chrome_elf/blacklist/blacklist_interceptions.cc !IsModuleValidImageSection(section, base, offset, view_size)) { offset 248 chrome_elf/blacklist/blacklist_interceptions.cc PLARGE_INTEGER offset, offset 257 chrome_elf/blacklist/blacklist_interceptions.cc base, zero_bits, commit_size, offset, offset 269 chrome_elf/blacklist/blacklist_interceptions.cc SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, offset 272 chrome_elf/blacklist/blacklist_interceptions.cc base, zero_bits, commit_size, offset, view_size, offset 25 chrome_elf/blacklist/blacklist_interceptions.h PLARGE_INTEGER offset, offset 37 chrome_elf/blacklist/blacklist_interceptions.h SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, offset 290 chromeos/network/network_event_log.cc size_t offset = 0; offset 305 chromeos/network/network_event_log.cc offset = entries_.size() - num_entries; offset 310 chromeos/network/network_event_log.cc if (offset > 0) { offset 311 chromeos/network/network_event_log.cc --offset; offset 305 components/autofill/core/browser/autofill_manager_unittest.cc size_t offset = has_address_fields? kAddressFormSize : 0; offset 307 components/autofill/core/browser/autofill_manager_unittest.cc filled_form.fields[offset + 0]); offset 309 components/autofill/core/browser/autofill_manager_unittest.cc filled_form.fields[offset + 1]); offset 318 components/autofill/core/browser/autofill_manager_unittest.cc filled_form.fields[offset + 2]); offset 321 components/autofill/core/browser/autofill_manager_unittest.cc filled_form.fields[offset + 2]); offset 323 components/autofill/core/browser/autofill_manager_unittest.cc filled_form.fields[offset + 3]); offset 171 components/breakpad/app/breakpad_win.cc static void SetIntegerValue(size_t offset, int value) { offset 175 components/breakpad/app/breakpad_win.cc base::wcslcpy((*g_custom_entries)[offset].value, offset 128 components/nacl/browser/nacl_process_host.cc size_t offset = base::RandGenerator(avail_size - size); offset 131 components/nacl/browser/nacl_process_host.cc reinterpret_cast<void*>(reinterpret_cast<uint64>(addr + offset) offset 87 components/nacl/browser/pnacl_translation_cache.cc void WriteEntry(int offset, int len); offset 89 components/nacl/browser/pnacl_translation_cache.cc void ReadEntry(int offset, int len); offset 190 components/nacl/browser/pnacl_translation_cache.cc void PnaclTranslationCacheEntry::WriteEntry(int offset, int len) { offset 194 components/nacl/browser/pnacl_translation_cache.cc offset, offset 203 components/nacl/browser/pnacl_translation_cache.cc void PnaclTranslationCacheEntry::ReadEntry(int offset, int len) { offset 206 components/nacl/browser/pnacl_translation_cache.cc offset, offset 122 components/nacl/loader/nacl_ipc_adapter.cc int64_t offset, offset 124 components/nacl/loader/nacl_ipc_adapter.cc if (offset < 0 || length < 0) offset 126 components/nacl/loader/nacl_ipc_adapter.cc if (std::numeric_limits<int64_t>::max() - length < offset) offset 128 components/nacl/loader/nacl_ipc_adapter.cc int64_t max_offset = offset + length; offset 42 components/nacl/loader/nonsfi/irt_fdio.cc int IrtSeek(int fd, nacl_abi_off_t offset, int whence, offset 44 components/nacl/loader/nonsfi/irt_fdio.cc return CheckErrorWithResult(lseek(fd, offset, whence), new_offset); offset 37 components/os_crypt/ie7_password_win.cc DWORD offset; // Offset where the data referenced by this entry is offset 83 components/os_crypt/ie7_password_win.cc user_entry->offset); offset 85 components/os_crypt/ie7_password_win.cc pass_entry->offset); offset 61 components/storage_monitor/test_media_transfer_protocol_manager_linux.cc uint32 offset, offset 70 components/storage_monitor/test_media_transfer_protocol_manager_linux.cc uint32 offset, offset 41 components/storage_monitor/test_media_transfer_protocol_manager_linux.h uint32 offset, offset 46 components/storage_monitor/test_media_transfer_protocol_manager_linux.h uint32 offset, offset 75 components/visitedlink/browser/visitedlink_master.cc off_t offset, offset 78 components/visitedlink/browser/visitedlink_master.cc if (fseek(file, offset, SEEK_SET) != 0) offset 96 components/visitedlink/browser/visitedlink_master.cc void AsyncWrite(FILE** file, int32 offset, const std::string& data) { offset 98 components/visitedlink/browser/visitedlink_master.cc WriteToFile(*file, offset, data.data(), data.size()); offset 888 components/visitedlink/browser/visitedlink_master.cc off_t offset, offset 896 components/visitedlink/browser/visitedlink_master.cc base::Bind(&AsyncWrite, file, offset, offset 930 components/visitedlink/browser/visitedlink_master.cc off_t offset, offset 940 components/visitedlink/browser/visitedlink_master.cc if (fseek(file, offset, SEEK_SET) != 0) offset 229 components/visitedlink/browser/visitedlink_master.h void WriteToFile(FILE** hfile, off_t offset, void* data, int32 data_size); offset 242 components/visitedlink/browser/visitedlink_master.h bool ReadFromFile(FILE* hfile, off_t offset, void* data, size_t data_size); offset 1904 content/browser/accessibility/browser_accessibility_win.cc STDMETHODIMP BrowserAccessibilityWin::get_caretOffset(LONG* offset) { offset 1908 content/browser/accessibility/browser_accessibility_win.cc if (!offset) offset 1911 content/browser/accessibility/browser_accessibility_win.cc *offset = 0; offset 1917 content/browser/accessibility/browser_accessibility_win.cc *offset = sel_start; offset 1924 content/browser/accessibility/browser_accessibility_win.cc LONG offset, offset 1937 content/browser/accessibility/browser_accessibility_win.cc HandleSpecialTextOffset(text_str, &offset); offset 1939 content/browser/accessibility/browser_accessibility_win.cc if (offset < 0 || offset > static_cast<LONG>(text_str.size())) offset 1944 content/browser/accessibility/browser_accessibility_win.cc character_bounds = GetGlobalBoundsForRange(offset, 1); offset 1946 content/browser/accessibility/browser_accessibility_win.cc character_bounds = GetLocalBoundsForRange(offset, 1); offset 2049 content/browser/accessibility/browser_accessibility_win.cc LONG offset, offset 2072 content/browser/accessibility/browser_accessibility_win.cc text_str, boundary_type, offset, ui::BACKWARDS_DIRECTION); offset 2074 content/browser/accessibility/browser_accessibility_win.cc text_str, boundary_type, offset, ui::FORWARDS_DIRECTION); offset 2079 content/browser/accessibility/browser_accessibility_win.cc LONG offset, offset 2102 content/browser/accessibility/browser_accessibility_win.cc text_str, boundary_type, offset, ui::BACKWARDS_DIRECTION); offset 2103 content/browser/accessibility/browser_accessibility_win.cc *end_offset = offset; offset 2108 content/browser/accessibility/browser_accessibility_win.cc LONG offset, offset 2130 content/browser/accessibility/browser_accessibility_win.cc *start_offset = offset; offset 2132 content/browser/accessibility/browser_accessibility_win.cc text_str, boundary_type, offset, ui::FORWARDS_DIRECTION); offset 2168 content/browser/accessibility/browser_accessibility_win.cc LONG* offset) { offset 2172 content/browser/accessibility/browser_accessibility_win.cc if (!offset) offset 2178 content/browser/accessibility/browser_accessibility_win.cc *offset = 0; offset 2223 content/browser/accessibility/browser_accessibility_win.cc STDMETHODIMP BrowserAccessibilityWin::setCaretOffset(LONG offset) { offset 2228 content/browser/accessibility/browser_accessibility_win.cc HandleSpecialTextOffset(text_str, &offset); offset 2229 content/browser/accessibility/browser_accessibility_win.cc manager()->SetTextSelection(*this, offset, offset); offset 3268 content/browser/accessibility/browser_accessibility_win.cc LONG* offset) { offset 3269 content/browser/accessibility/browser_accessibility_win.cc if (*offset == IA2_TEXT_OFFSET_LENGTH) offset 3270 content/browser/accessibility/browser_accessibility_win.cc *offset = static_cast<LONG>(text.size()); offset 3271 content/browser/accessibility/browser_accessibility_win.cc else if (*offset == IA2_TEXT_OFFSET_CARET) offset 3272 content/browser/accessibility/browser_accessibility_win.cc get_caretOffset(offset); offset 446 content/browser/accessibility/browser_accessibility_win.h CONTENT_EXPORT STDMETHODIMP get_caretOffset(LONG* offset); offset 449 content/browser/accessibility/browser_accessibility_win.h LONG offset, offset 467 content/browser/accessibility/browser_accessibility_win.h LONG offset, offset 474 content/browser/accessibility/browser_accessibility_win.h LONG offset, offset 481 content/browser/accessibility/browser_accessibility_win.h LONG offset, offset 495 content/browser/accessibility/browser_accessibility_win.h LONG* offset); offset 512 content/browser/accessibility/browser_accessibility_win.h CONTENT_EXPORT STDMETHODIMP setCaretOffset(LONG offset); offset 519 content/browser/accessibility/browser_accessibility_win.h CONTENT_EXPORT STDMETHODIMP get_attributes(LONG offset, LONG* start_offset, offset 828 content/browser/accessibility/browser_accessibility_win.h void HandleSpecialTextOffset(const base::string16& text, LONG* offset); offset 89 content/browser/devtools/tethering_handler.cc if (old_size != wire_buffer_->offset()) offset 117 content/browser/devtools/tethering_handler.cc wire_buffer_->set_offset(wire_buffer_->offset() + result); offset 119 content/browser/devtools/tethering_handler.cc int remaining = wire_buffer_size_ - wire_buffer_->offset(); offset 138 content/browser/devtools/tethering_handler.cc int offset = wire_buffer_->offset(); offset 139 content/browser/devtools/tethering_handler.cc if (offset > kBufferSize) { offset 141 content/browser/devtools/tethering_handler.cc wire_buffer_size_ - offset); offset 142 content/browser/devtools/tethering_handler.cc wire_buffer_size_ -= offset; offset 152 content/browser/devtools/tethering_handler.cc if (wire_buffer_->offset() != wire_buffer_size_) { offset 44 content/browser/download/download_file_impl.cc save_info->offset, offset 119 content/browser/download/download_file_unittest.cc virtual bool CreateDownloadFile(int offset, bool calculate_hash) { offset 162 content/browser/download/download_file_unittest.cc virtual void DestroyDownloadFile(int offset) { offset 963 content/browser/download/download_item_impl.cc RecordOriginStateOnResumption(new_create_info.save_info->offset != 0, offset 89 content/browser/download/download_manager_impl.cc DCHECK(params->offset() == 0 || has_etag || has_last_modified); offset 91 content/browser/download/download_manager_impl.cc if (params->offset() > 0) { offset 94 content/browser/download/download_manager_impl.cc base::StringPrintf("bytes=%" PRId64 "-", params->offset()), offset 118 content/browser/download/download_manager_impl.cc save_info->offset = params->offset(); offset 230 content/browser/download/download_resource_handler.cc info->save_info->offset = 0; offset 114 content/browser/fileapi/file_writer_delegate_unittest.cc int64 offset, offset 120 content/browser/fileapi/file_writer_delegate_unittest.cc offset, offset 135 content/browser/fileapi/file_writer_delegate_unittest.cc int64 offset, offset 138 content/browser/fileapi/file_writer_delegate_unittest.cc CreateWriterDelegate(test_file_path, offset, allowed_growth)); offset 367 content/browser/fileapi/file_writer_delegate_unittest.cc int64 offset = 0; offset 370 content/browser/fileapi/file_writer_delegate_unittest.cc PrepareForWrite("test", kBlobURL, offset, allowed_growth); offset 387 content/browser/fileapi/file_writer_delegate_unittest.cc offset = 0; offset 389 content/browser/fileapi/file_writer_delegate_unittest.cc PrepareForWrite("test", kBlobURL, offset, allowed_growth); offset 404 content/browser/fileapi/file_writer_delegate_unittest.cc offset = 25; offset 406 content/browser/fileapi/file_writer_delegate_unittest.cc PrepareForWrite("test", kBlobURL, offset, allowed_growth); offset 415 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(offset + kDataSize, usage()); offset 422 content/browser/fileapi/file_writer_delegate_unittest.cc offset = 0; offset 424 content/browser/fileapi/file_writer_delegate_unittest.cc PrepareForWrite("test", kBlobURL, offset, allowed_growth); offset 443 content/browser/fileapi/file_writer_delegate_unittest.cc offset = pre_write_usage - kOverlap; offset 445 content/browser/fileapi/file_writer_delegate_unittest.cc PrepareForWrite("test", kBlobURL, offset, allowed_growth); offset 396 content/browser/fileapi/fileapi_message_filter.cc int64 offset) { offset 417 content/browser/fileapi/fileapi_message_filter.cc request_context_, url, blob.Pass(), offset, offset 117 content/browser/fileapi/fileapi_message_filter.h int64 offset); offset 49 content/browser/frame_host/navigation_controller_android.cc jint offset) { offset 50 content/browser/frame_host/navigation_controller_android.cc return navigation_controller_->CanGoToOffset(offset); offset 63 content/browser/frame_host/navigation_controller_android.cc jint offset) { offset 64 content/browser/frame_host/navigation_controller_android.cc navigation_controller_->GoToOffset(offset); offset 38 content/browser/frame_host/navigation_controller_android.h jboolean CanGoToOffset(JNIEnv* env, jobject obj, jint offset); offset 41 content/browser/frame_host/navigation_controller_android.h void GoToOffset(JNIEnv* env, jobject obj, jint offset); offset 497 content/browser/frame_host/navigation_controller_impl.cc int offset) const { offset 498 content/browser/frame_host/navigation_controller_impl.cc int index = GetIndexForOffset(offset); offset 505 content/browser/frame_host/navigation_controller_impl.cc int NavigationControllerImpl::GetIndexForOffset(int offset) const { offset 506 content/browser/frame_host/navigation_controller_impl.cc return GetCurrentEntryIndex() + offset; offset 528 content/browser/frame_host/navigation_controller_impl.cc bool NavigationControllerImpl::CanGoToOffset(int offset) const { offset 529 content/browser/frame_host/navigation_controller_impl.cc int index = GetIndexForOffset(offset); offset 605 content/browser/frame_host/navigation_controller_impl.cc void NavigationControllerImpl::GoToOffset(int offset) { offset 606 content/browser/frame_host/navigation_controller_impl.cc if (!CanGoToOffset(offset)) offset 609 content/browser/frame_host/navigation_controller_impl.cc GoToIndex(GetIndexForOffset(offset)); offset 53 content/browser/frame_host/navigation_controller_impl.h virtual NavigationEntry* GetEntryAtOffset(int offset) const OVERRIDE; offset 67 content/browser/frame_host/navigation_controller_impl.h virtual bool CanGoToOffset(int offset) const OVERRIDE; offset 71 content/browser/frame_host/navigation_controller_impl.h virtual void GoToOffset(int offset) OVERRIDE; offset 333 content/browser/frame_host/navigation_controller_impl.h int GetIndexForOffset(int offset) const; offset 320 content/browser/frame_host/navigation_controller_impl_unittest.cc int offset = test_offsets[test]; offset 321 content/browser/frame_host/navigation_controller_impl_unittest.cc controller.GoToOffset(offset); offset 322 content/browser/frame_host/navigation_controller_impl_unittest.cc url_index += offset; offset 190 content/browser/frame_host/render_widget_host_view_child_frame.cc size_t offset, offset 88 content/browser/frame_host/render_widget_host_view_child_frame.h size_t offset, offset 350 content/browser/frame_host/render_widget_host_view_guest.cc size_t offset, offset 352 content/browser/frame_host/render_widget_host_view_guest.cc platform_view_->SelectionChanged(text, offset, range); offset 95 content/browser/frame_host/render_widget_host_view_guest.h size_t offset, offset 24 content/browser/histogram_internals_request_job.cc int offset = parsed.CountCharactersBefore(url_parse::Parsed::PATH, false) + 1; offset 26 content/browser/histogram_internals_request_job.cc if (offset < static_cast<int>(spec.size())) offset 27 content/browser/histogram_internals_request_job.cc path_.assign(spec.substr(offset)); offset 66 content/browser/loader/buffered_resource_handler.cc DependentIOBuffer(net::IOBuffer* buf, int offset) offset 67 content/browser/loader/buffered_resource_handler.cc : net::WrappedIOBuffer(buf->data() + offset), offset 219 content/browser/loader/redirect_to_file_resource_handler.cc int new_offset = buf_->offset() + bytes_read; offset 323 content/browser/loader/redirect_to_file_resource_handler.cc if (write_cursor_ == buf_->offset()) { offset 336 content/browser/loader/redirect_to_file_resource_handler.cc DCHECK(write_cursor_ < buf_->offset()); offset 354 content/browser/loader/redirect_to_file_resource_handler.cc int write_len = buf_->offset() - write_cursor_; offset 51 content/browser/loader/upload_data_stream_builder.cc element.offset(), offset 128 content/browser/loader/upload_data_stream_builder.cc element.offset(), offset 44 content/browser/loader/upload_data_stream_builder_unittest.cc file_reader->range_offset() == element.offset() && offset 120 content/browser/loader/upload_data_stream_builder_unittest.cc static_cast<int>(blob_data->items().at(0).offset()), offset 124 content/browser/loader/upload_data_stream_builder_unittest.cc blob_data->items().at(1).offset(), offset 137 content/browser/loader/upload_data_stream_builder_unittest.cc upload_element2.offset(), offset 180 content/browser/loader/upload_data_stream_builder_unittest.cc upload_element2.offset(), offset 199 content/browser/loader/upload_data_stream_builder_unittest.cc upload_element2.offset(), offset 220 content/browser/loader/upload_data_stream_builder_unittest.cc upload_element2.offset(), offset 242 content/browser/loader/upload_data_stream_builder_unittest.cc upload_element2.offset(), offset 394 content/browser/renderer_host/p2p/socket_host_tcp.cc read_buffer_->set_offset(read_buffer_->offset() + result); offset 397 content/browser/renderer_host/p2p/socket_host_tcp.cc while (pos <= read_buffer_->offset() && state_ == STATE_OPEN) { offset 398 content/browser/renderer_host/p2p/socket_host_tcp.cc int consumed = ProcessInput(head + pos, read_buffer_->offset() - pos); offset 405 content/browser/renderer_host/p2p/socket_host_tcp.cc if (pos && pos <= read_buffer_->offset()) { offset 406 content/browser/renderer_host/p2p/socket_host_tcp.cc memmove(head, head + pos, read_buffer_->offset() - pos); offset 407 content/browser/renderer_host/p2p/socket_host_tcp.cc read_buffer_->set_offset(read_buffer_->offset() - pos); offset 1270 content/browser/renderer_host/render_widget_host_impl.cc size_t offset, offset 1273 content/browser/renderer_host/render_widget_host_impl.cc view_->SelectionChanged(text, offset, range); offset 695 content/browser/renderer_host/render_widget_host_impl.h size_t offset, offset 386 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Size offset = content_view_core_->GetViewportSizeOffsetDip(); offset 387 content/browser/renderer_host/render_widget_host_view_android.cc size.Enlarge(-offset.width(), -offset.height()); offset 541 content/browser/renderer_host/render_widget_host_view_android.cc size_t offset, offset 543 content/browser/renderer_host/render_widget_host_view_android.cc RenderWidgetHostViewBase::SelectionChanged(text, offset, range); offset 547 content/browser/renderer_host/render_widget_host_view_android.cc size_t pos = range.GetMin() - offset; offset 777 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Vector2dF offset; offset 779 content/browser/renderer_host/render_widget_host_view_android.cc offset = frame_metadata.location_bar_content_translation; offset 780 content/browser/renderer_host/render_widget_host_view_android.cc offset.set_y(offset.y() + frame_metadata.overdraw_bottom_height); offset 781 content/browser/renderer_host/render_widget_host_view_android.cc offset.Scale(frame_metadata.device_scale_factor); offset 783 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Size(texture_size_in_layer_.width() - offset.x(), offset 784 content/browser/renderer_host/render_widget_host_view_android.cc texture_size_in_layer_.height() - offset.y()); offset 116 content/browser/renderer_host/render_widget_host_view_android.h size_t offset, offset 181 content/browser/renderer_host/render_widget_host_view_aura.cc POINT offset; offset 182 content/browser/renderer_host/render_widget_host_view_aura.cc offset.x = offset.y = 0; offset 183 content/browser/renderer_host/render_widget_host_view_aura.cc MapWindowPoints(window, parent, &offset, 1); offset 208 content/browser/renderer_host/render_widget_host_view_aura.cc offset_cutout.Offset(-offset.x, -offset.y); offset 1062 content/browser/renderer_host/render_widget_host_view_aura.cc size_t offset, offset 1064 content/browser/renderer_host/render_widget_host_view_aura.cc RenderWidgetHostViewBase::SelectionChanged(text, offset, range); offset 1069 content/browser/renderer_host/render_widget_host_view_aura.cc size_t pos = range.GetMin() - offset; offset 192 content/browser/renderer_host/render_widget_host_view_aura.h size_t offset, offset 427 content/browser/renderer_host/render_widget_host_view_base.cc size_t offset, offset 430 content/browser/renderer_host/render_widget_host_view_base.cc selection_text_offset_ = offset; offset 51 content/browser/renderer_host/render_widget_host_view_base.h size_t offset, offset 953 content/browser/renderer_host/render_widget_host_view_gtk.cc size_t offset, offset 955 content/browser/renderer_host/render_widget_host_view_gtk.cc RenderWidgetHostViewBase::SelectionChanged(text, offset, range); offset 959 content/browser/renderer_host/render_widget_host_view_gtk.cc size_t pos = range.GetMin() - offset; offset 1420 content/browser/renderer_host/render_widget_host_view_gtk.cc size_t offset = selection_range_.GetMin() - selection_text_offset_; offset 1421 content/browser/renderer_host/render_widget_host_view_gtk.cc DCHECK(offset <= selection_text_.length()); offset 1423 content/browser/renderer_host/render_widget_host_view_gtk.cc if (offset == selection_text_.length()) { offset 1430 content/browser/renderer_host/render_widget_host_view_gtk.cc base::StringPiece16(selection_text_), &offset); offset 1431 content/browser/renderer_host/render_widget_host_view_gtk.cc if (offset == base::string16::npos) { offset 1435 content/browser/renderer_host/render_widget_host_view_gtk.cc *cursor_index = offset; offset 98 content/browser/renderer_host/render_widget_host_view_gtk.h size_t offset, offset 289 content/browser/renderer_host/render_widget_host_view_mac.h size_t offset, offset 380 content/browser/renderer_host/render_widget_host_view_mac.h const gfx::Point& offset); offset 32 content/browser/renderer_host/render_widget_host_view_mac_dictionary_helper.h void set_offset(const gfx::Vector2d& offset) { offset_ = offset; } offset 182 content/browser/web_contents/aura/overscroll_navigation_overlay.cc ui::Layer* OverscrollNavigationOverlay::CreateSlideLayer(int offset) { offset 185 content/browser/web_contents/aura/overscroll_navigation_overlay.cc controller.GetEntryAtOffset(offset)); offset 78 content/browser/web_contents/aura/overscroll_navigation_overlay.h ui::Layer* CreateSlideLayer(int offset); offset 2419 content/browser/web_contents/web_contents_impl.cc void WebContentsImpl::OnGoToEntryAtOffset(int offset) { offset 2420 content/browser/web_contents/web_contents_impl.cc if (!delegate_ || delegate_->OnGoToEntryOffset(offset)) offset 2421 content/browser/web_contents/web_contents_impl.cc controller_.GoToOffset(offset); offset 673 content/browser/web_contents/web_contents_impl.h void OnGoToEntryAtOffset(int offset); offset 107 content/browser/web_contents/web_contents_view_guest.cc WebContentsView* overlay, const gfx::Point& offset) { offset 108 content/browser/web_contents/web_contents_view_guest.cc platform_view_->SetOverlayView(overlay, offset); offset 230 content/browser/web_contents/web_contents_view_guest.cc gfx::Vector2d offset = guest_bounds.origin() - embedder_bounds.origin(); offset 232 content/browser/web_contents/web_contents_view_guest.cc params_in_embedder.x += offset.x(); offset 233 content/browser/web_contents/web_contents_view_guest.cc params_in_embedder.y += offset.y(); offset 60 content/browser/web_contents/web_contents_view_guest.h const gfx::Point& offset) OVERRIDE; offset 85 content/browser/web_contents/web_contents_view_mac.h const gfx::Point& offset) OVERRIDE; offset 62 content/browser/web_contents/web_drag_source_mac.h offset:(NSPoint)offset offset 88 content/browser/webui/url_data_manager_backend.cc int offset = parsed.CountCharactersBefore(url_parse::Parsed::PATH, false) + 1; offset 90 content/browser/webui/url_data_manager_backend.cc if (offset < static_cast<int>(spec.size())) offset 91 content/browser/webui/url_data_manager_backend.cc path->assign(spec.substr(offset)); offset 284 content/child/fileapi/file_system_dispatcher.cc int64 offset, offset 289 content/child/fileapi/file_system_dispatcher.cc new FileSystemHostMsg_Truncate(request_id, path, offset)); offset 298 content/child/fileapi/file_system_dispatcher.cc int64 offset, offset 305 content/child/fileapi/file_system_dispatcher.cc new FileSystemHostMsg_Write(request_id, path, blob_id, offset)); offset 105 content/child/fileapi/file_system_dispatcher.h int64 offset, offset 110 content/child/fileapi/file_system_dispatcher.h int64 offset, offset 42 content/child/fileapi/webfilewriter_base.h virtual void DoTruncate(const GURL& path, int64 offset) = 0; offset 45 content/child/fileapi/webfilewriter_base.h int64 offset) = 0; offset 68 content/child/fileapi/webfilewriter_base_unittest.cc virtual void DoTruncate(const GURL& path, int64 offset) OVERRIDE { offset 71 content/child/fileapi/webfilewriter_base_unittest.cc received_truncate_offset_ = offset; offset 73 content/child/fileapi/webfilewriter_base_unittest.cc if (offset == kBasicFileTruncate_Offset) { offset 75 content/child/fileapi/webfilewriter_base_unittest.cc } else if (offset == kErrorFileTruncate_Offset) { offset 77 content/child/fileapi/webfilewriter_base_unittest.cc } else if (offset == kCancelFileTruncate_Offset) { offset 81 content/child/fileapi/webfilewriter_base_unittest.cc } else if (offset == kCancelFailedTruncate_Offset) { offset 92 content/child/fileapi/webfilewriter_base_unittest.cc int64 offset) OVERRIDE { offset 95 content/child/fileapi/webfilewriter_base_unittest.cc received_write_offset_ = offset; offset 98 content/child/fileapi/webfilewriter_base_unittest.cc if (offset == kBasicFileWrite_Offset) { offset 100 content/child/fileapi/webfilewriter_base_unittest.cc } else if (offset == kErrorFileWrite_Offset) { offset 102 content/child/fileapi/webfilewriter_base_unittest.cc } else if (offset == kMultiFileWrite_Offset) { offset 106 content/child/fileapi/webfilewriter_base_unittest.cc } else if (offset == kCancelFileWriteBeforeCompletion_Offset) { offset 113 content/child/fileapi/webfilewriter_base_unittest.cc } else if (offset == kCancelFileWriteAfterCompletion_Offset) { offset 41 content/child/fileapi/webfilewriter_impl.cc void Truncate(const GURL& path, int64 offset, offset 47 content/child/fileapi/webfilewriter_impl.cc path, offset, &request_id_, offset 51 content/child/fileapi/webfilewriter_impl.cc void Write(const GURL& path, const std::string& id, int64 offset, offset 59 content/child/fileapi/webfilewriter_impl.cc path, id, offset, &request_id_, offset 134 content/child/fileapi/webfilewriter_impl.cc void WebFileWriterImpl::DoTruncate(const GURL& path, int64 offset) { offset 136 content/child/fileapi/webfilewriter_impl.cc path, offset, offset 141 content/child/fileapi/webfilewriter_impl.cc const GURL& path, const std::string& blob_id, int64 offset) { offset 143 content/child/fileapi/webfilewriter_impl.cc path, blob_id, offset, offset 34 content/child/fileapi/webfilewriter_impl.h virtual void DoTruncate(const GURL& path, int64 offset) OVERRIDE; offset 36 content/child/fileapi/webfilewriter_impl.h int64 offset) OVERRIDE; offset 303 content/child/npapi/plugin_instance.cc int offset, offset 309 content/child/npapi/plugin_instance.cc return npp_functions_->write(npp_, stream, offset, len, buffer); offset 531 content/child/npapi/plugin_instance.cc range_info += base::IntToString(range_list->offset); offset 534 content/child/npapi/plugin_instance.cc base::IntToString(range_list->offset + range_list->length - 1); offset 344 content/child/npapi/plugin_url_fetcher.cc int64 offset = data_offset_; offset 353 content/child/npapi/plugin_url_fetcher.cc plugin_stream_->DidReceiveData(data_copy.get(), data_length, offset); offset 355 content/child/npapi/plugin_url_fetcher.cc plugin_stream_->DidReceiveData(data, data_length, offset); offset 56 content/child/site_isolation_policy.cc size_t offset = data.find_first_not_of(" \t\r\n"); offset 58 content/child/site_isolation_policy.cc if (offset == base::StringPiece::npos) offset 61 content/child/site_isolation_policy.cc data.remove_prefix(offset); offset 435 content/child/site_isolation_policy.cc size_t offset = data.find(kEndComment); offset 436 content/child/site_isolation_policy.cc if (offset == base::StringPiece::npos) offset 440 content/child/site_isolation_policy.cc data.remove_prefix(offset + strlen(kEndComment)); offset 53 content/child/webblobregistry_impl.cc DCHECK(!data_item.offset && data_item.length == -1); offset 62 content/child/webblobregistry_impl.cc static_cast<uint64>(data_item.offset), offset 74 content/child/webblobregistry_impl.cc static_cast<uint64>(data_item.offset), offset 87 content/child/webblobregistry_impl.cc static_cast<uint64>(data_item.offset), offset 90 content/common/android/address_parser_internal.cc size_t offset = std::min(static_cast<size_t>(std::distance(it_, end_)), offset 92 content/common/android/address_parser_internal.cc it_ += offset; offset 93 content/common/android/address_parser_internal.cc result_chars_ += offset; offset 112 content/common/child_process_sandbox_support_impl_linux.cc bool GetFontTable(int fd, uint32_t table_tag, off_t offset, offset 114 content/common/child_process_sandbox_support_impl_linux.cc if (offset < 0) offset 162 content/common/child_process_sandbox_support_impl_linux.cc offset = std::min(offset, base::checked_cast<off_t>(data_length)); offset 166 content/common/child_process_sandbox_support_impl_linux.cc if ((offset > kMaxPositiveOffset32 / 2) || offset 169 content/common/child_process_sandbox_support_impl_linux.cc data_offset += offset; offset 170 content/common/child_process_sandbox_support_impl_linux.cc data_length -= offset; offset 911 content/common/gpu/client/gl_helper.cc size_t offset = target->stride(plane) * (dst_subrect.y() >> size_shift) + offset 916 content/common/gpu/client/gl_helper.cc target->data(plane) + offset, offset 680 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc WGC3Dintptr offset) { offset 683 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc reinterpret_cast<void*>(static_cast<intptr_t>(offset))); offset 1091 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc WGC3Dsizei stride, WGC3Dintptr offset) { offset 1094 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc reinterpret_cast<void*>(static_cast<intptr_t>(offset))); offset 1329 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc WGC3Dintptr offset, offset 1333 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc reinterpret_cast<void*>(static_cast<intptr_t>(offset)), primcount); offset 203 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h virtual void bufferSubData(WGC3Denum target, WGC3Dintptr offset, offset 260 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dintptr offset); offset 489 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dintptr offset); offset 524 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Denum target, WGC3Dintptr offset, offset 651 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Denum type, WGC3Dintptr offset, WGC3Dsizei primcount); offset 227 content/common/gpu/media/android_video_decode_accelerator.cc size_t offset = 0; offset 231 content/common/gpu/media/android_video_decode_accelerator.cc NoWaitTimeOut(), &buf_index, &offset, &size, ×tamp, &eos, NULL); offset 355 content/common/gpu/media/android_video_encode_accelerator.cc size_t offset = 0; offset 360 content/common/gpu/media/android_video_encode_accelerator.cc NoWaitTimeOut(), &buf_index, &offset, &size, NULL, NULL, &key_frame); offset 399 content/common/gpu/media/android_video_encode_accelerator.cc media_codec_->CopyFromOutputBuffer(buf_index, offset, shm->memory(), size); offset 73 content/common/gpu/media/exynos_v4l2_video_device.cc unsigned int offset) { offset 74 content/common/gpu/media/exynos_v4l2_video_device.cc return mmap(addr, len, prot, flags, device_fd_, offset); offset 29 content/common/gpu/media/exynos_v4l2_video_device.h unsigned int offset) OVERRIDE; offset 32 content/common/gpu/media/tegra_v4l2_video_device.cc unsigned int offset); offset 119 content/common/gpu/media/tegra_v4l2_video_device.cc unsigned int offset) { offset 120 content/common/gpu/media/tegra_v4l2_video_device.cc return TegraV4L2_Mmap(addr, len, prot, flags, device_fd_, offset); offset 32 content/common/gpu/media/tegra_v4l2_video_device.h unsigned int offset) OVERRIDE; offset 54 content/common/gpu/media/v4l2_video_device.h unsigned int offset) = 0; offset 381 content/common/page_state_serialization_unittest.cc for (size_t offset = 0; offset < base64.size(); offset += kRowSize) { offset 382 content/common/page_state_serialization_unittest.cc size_t length = std::min(base64.size() - offset, kRowSize); offset 383 content/common/page_state_serialization_unittest.cc std::string segment(&base64[offset], length); offset 47 content/common/resource_messages.cc WriteParam(m, p.offset()); offset 54 content/common/resource_messages.cc WriteParam(m, p.offset()); offset 62 content/common/resource_messages.cc WriteParam(m, p.offset()); offset 85 content/common/resource_messages.cc uint64 offset, length; offset 89 content/common/resource_messages.cc if (!ReadParam(m, iter, &offset)) offset 95 content/common/resource_messages.cc r->SetToFilePathRange(file_path, offset, length, offset 101 content/common/resource_messages.cc uint64 offset, length; offset 105 content/common/resource_messages.cc if (!ReadParam(m, iter, &offset)) offset 111 content/common/resource_messages.cc r->SetToFileSystemUrlRange(file_system_url, offset, length, offset 118 content/common/resource_messages.cc uint64 offset, length; offset 121 content/common/resource_messages.cc if (!ReadParam(m, iter, &offset)) offset 125 content/common/resource_messages.cc r->SetToBlobRange(blob_uuid, offset, length); offset 22 content/common/resource_request_body.cc uint64 offset, uint64 length, offset 25 content/common/resource_request_body.cc elements_.back().SetToFilePathRange(file_path, offset, length, offset 35 content/common/resource_request_body.cc const GURL& url, uint64 offset, uint64 length, offset 38 content/common/resource_request_body.cc elements_.back().SetToFileSystemUrlRange(url, offset, length, offset 35 content/common/resource_request_body.h uint64 offset, uint64 length, offset 38 content/common/resource_request_body.h void AppendFileSystemFileRange(const GURL& url, uint64 offset, uint64 length, offset 156 content/port/browser/render_widget_host_view_port.h size_t offset, offset 332 content/public/android/java/src/org/chromium/content/browser/ContentView.java MotionEvent offset = createOffsetMotionEvent(event); offset 333 content/public/android/java/src/org/chromium/content/browser/ContentView.java boolean consumed = mContentViewCore.onTouchEvent(offset); offset 334 content/public/android/java/src/org/chromium/content/browser/ContentView.java offset.recycle(); offset 345 content/public/android/java/src/org/chromium/content/browser/ContentView.java MotionEvent offset = createOffsetMotionEvent(event); offset 346 content/public/android/java/src/org/chromium/content/browser/ContentView.java boolean consumed = mContentViewCore.onHoverEvent(offset); offset 347 content/public/android/java/src/org/chromium/content/browser/ContentView.java offset.recycle(); offset 1068 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java public boolean canGoToOffset(int offset) { offset 1070 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java mWebContents.getNavigationController().canGoToOffset(offset); offset 1078 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java public void goToOffset(int offset) { offset 1079 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java if (mWebContents != null) mWebContents.getNavigationController().goToOffset(offset); offset 514 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java boundsInParent.offset(0, (int) mRenderCoordinates.getContentOffsetYPix()); offset 522 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java rect.offset(-(int) mRenderCoordinates.getScrollX(), offset 532 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java rect.offset(0, offset 538 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java rect.offset(viewLocation[0], viewLocation[1]); offset 49 content/public/android/java/src/org/chromium/content/browser/framehost/NavigationControllerImpl.java public boolean canGoToOffset(int offset) { offset 51 content/public/android/java/src/org/chromium/content/browser/framehost/NavigationControllerImpl.java && nativeCanGoToOffset(mNativeNavigationControllerAndroid, offset); offset 55 content/public/android/java/src/org/chromium/content/browser/framehost/NavigationControllerImpl.java public void goToOffset(int offset) { offset 57 content/public/android/java/src/org/chromium/content/browser/framehost/NavigationControllerImpl.java nativeGoToOffset(mNativeNavigationControllerAndroid, offset); offset 85 content/public/android/java/src/org/chromium/content/browser/framehost/NavigationControllerImpl.java long nativeNavigationControllerAndroid, int offset); offset 88 content/public/android/java/src/org/chromium/content/browser/framehost/NavigationControllerImpl.java private native void nativeGoToOffset(long nativeNavigationControllerAndroid, int offset); offset 26 content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java boolean canGoToOffset(int offset); offset 33 content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java void goToOffset(int offset); offset 139 content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java int offset = getSelectionStart(); offset 146 content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java initialText.substring(0, offset) + PASTE_TEXT + initialText.substring(offset); offset 10 content/public/browser/download_save_info.cc : offset(0), prompt_for_save_location(false) { offset 35 content/public/browser/download_save_info.h int64 offset; offset 96 content/public/browser/download_url_parameters.h void set_offset(int64 offset) { save_info_.offset = offset; } offset 133 content/public/browser/download_url_parameters.h int64 offset() const { return save_info_.offset; } offset 267 content/public/browser/navigation_controller.h virtual NavigationEntry* GetEntryAtOffset(int offset) const = 0; offset 321 content/public/browser/navigation_controller.h virtual bool CanGoToOffset(int offset) const = 0; offset 330 content/public/browser/navigation_controller.h virtual void GoToOffset(int offset) = 0; offset 124 content/public/browser/web_contents_delegate.cc bool WebContentsDelegate::OnGoToEntryOffset(int offset) { offset 292 content/public/browser/web_contents_delegate.h virtual bool OnGoToEntryOffset(int offset); offset 98 content/public/browser/web_contents_view.h const gfx::Point& offset) = 0; offset 50 content/public/common/child_process_sandbox_support_linux.h CONTENT_EXPORT bool GetFontTable(int fd, uint32_t table_tag, off_t offset, offset 56 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/HistoryUtils.java final ContentViewCore contentViewCore, final int offset) throws Throwable { offset 61 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/HistoryUtils.java return contentViewCore.canGoToOffset(offset); offset 134 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/HistoryUtils.java final int offset) throws Throwable { offset 139 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/HistoryUtils.java contentViewCore.goToOffset(offset); offset 240 content/public/test/browser_test_utils.cc gfx::Rect offset; offset 241 content/public/test/browser_test_utils.cc web_contents->GetView()->GetContainerBounds(&offset); offset 242 content/public/test/browser_test_utils.cc mouse_event.globalX = point.x() + offset.x(); offset 243 content/public/test/browser_test_utils.cc mouse_event.globalY = point.y() + offset.y(); offset 393 content/public/test/render_view_test.cc void RenderViewTest::GoToOffset(int offset, offset 399 content/public/test/render_view_test.cc int pending_offset = offset + impl->history_list_offset(); offset 407 content/public/test/render_view_test.cc navigate_params.page_id = impl->GetPageId() + offset; offset 158 content/public/test/render_view_test.h void GoToOffset(int offset, const blink::WebHistoryItem& history_item); offset 233 content/public/test/test_file_system_backend.cc int64 offset, offset 238 content/public/test/test_file_system_backend.cc context, url, offset, expected_modification_time)); offset 244 content/public/test/test_file_system_backend.cc int64 offset, offset 247 content/public/test/test_file_system_backend.cc new fileapi::SandboxFileStreamWriter(context, url, offset, offset 56 content/public/test/test_file_system_backend.h int64 offset, offset 61 content/public/test/test_file_system_backend.h int64 offset, offset 26 content/renderer/external_popup_menu.cc float scale, const gfx::Point& offset) { offset 28 content/renderer/external_popup_menu.cc origin_offset_for_emulation_ = offset; offset 31 content/renderer/external_popup_menu.h float scale, const gfx::Point& offset); offset 47 content/renderer/gpu/gpu_benchmarking_extension.cc static SkData* EncodeBitmapToData(size_t* offset, const SkBitmap& bm) { offset 54 content/renderer/input/input_handler_proxy.h virtual bool scrollBy(const blink::WebFloatSize& offset, offset 100 content/renderer/media/websourcebuffer_impl.cc bool WebSourceBufferImpl::setTimestampOffset(double offset) { offset 104 content/renderer/media/websourcebuffer_impl.cc timestamp_offset_ = DoubleToTimeDelta(offset); offset 35 content/renderer/media/websourcebuffer_impl.h virtual bool setTimestampOffset(double offset); offset 43 content/renderer/pepper/pepper_truetype_font.h int32_t offset, offset 80 content/renderer/pepper/pepper_truetype_font_host.cc int32_t offset, offset 84 content/renderer/pepper/pepper_truetype_font_host.cc if (offset < 0 || max_data_length < 0) offset 90 content/renderer/pepper/pepper_truetype_font_host.cc font_->GetTable(table, offset, max_data_length, &data)); offset 37 content/renderer/pepper/pepper_truetype_font_host.h int32_t offset, offset 31 content/renderer/pepper/pepper_truetype_font_linux.cc int32_t offset, offset 132 content/renderer/pepper/pepper_truetype_font_linux.cc int32_t offset, offset 139 content/renderer/pepper/pepper_truetype_font_linux.cc if (!GetFontTable(fd_, table_tag, offset, NULL, &table_size)) offset 144 content/renderer/pepper/pepper_truetype_font_linux.cc if (!GetFontTable(fd_, table_tag, offset, offset 36 content/renderer/pepper/pepper_truetype_font_win.cc int32_t offset, offset 42 content/renderer/pepper/pepper_truetype_font_win.cc DWORD offset, offset 141 content/renderer/pepper/pepper_truetype_font_win.cc DWORD offset, offset 148 content/renderer/pepper/pepper_truetype_font_win.cc DWORD result = ::GetFontData(hdc, table, offset, buffer, length); offset 160 content/renderer/pepper/pepper_truetype_font_win.cc result = ::GetFontData(hdc, table, offset, buffer, length); offset 206 content/renderer/pepper/pepper_truetype_font_win.cc int32_t offset, offset 222 content/renderer/pepper/pepper_truetype_font_win.cc DWORD safe_offset = std::min(static_cast<DWORD>(offset), table_size); offset 3028 content/renderer/render_frame_impl.cc size_t offset; offset 3033 content/renderer/render_frame_impl.cc offset = 0; // Pepper API does not support offset reporting. offset 3052 content/renderer/render_frame_impl.cc offset = location - kExtraCharsBeforeAndAfterSelection; offset 3054 content/renderer/render_frame_impl.cc offset = 0; offset 3055 content/renderer/render_frame_impl.cc length = location + length - offset + kExtraCharsBeforeAndAfterSelection; offset 3056 content/renderer/render_frame_impl.cc WebRange webrange = WebRange::fromDocumentRange(frame_, offset, length); offset 3059 content/renderer/render_frame_impl.cc frame_, offset, length).toPlainText(); offset 3061 content/renderer/render_frame_impl.cc offset = location; offset 3074 content/renderer/render_frame_impl.cc if (selection_text_offset_ != offset || offset 3078 content/renderer/render_frame_impl.cc selection_text_offset_ = offset; offset 3082 content/renderer/render_frame_impl.cc GetRenderWidget()->routing_id(), text, offset, range)); offset 1967 content/renderer/render_view_impl.cc void RenderViewImpl::navigateBackForwardSoon(int offset) { offset 1968 content/renderer/render_view_impl.cc Send(new ViewHostMsg_GoToEntryAtOffset(routing_id_, offset)); offset 2710 content/renderer/render_view_impl.cc WebSize offset = frame->scrollOffset(); offset 2714 content/renderer/render_view_impl.cc bool is_pinned_to_left = offset.width <= minimum_offset.width; offset 2715 content/renderer/render_view_impl.cc bool is_pinned_to_right = offset.width >= maximum_offset.width; offset 484 content/renderer/render_view_impl.h virtual void navigateBackForwardSoon(int offset); offset 549 content/renderer/render_widget.cc emulator->original_screen_rect().origin().x() + emulator->offset().x(), offset 550 content/renderer/render_widget.cc emulator->original_screen_rect().origin().y() + emulator->offset().y()); offset 567 content/renderer/render_widget.cc emulator->scale(), emulator->offset()); offset 193 content/shell/browser/shell.cc void Shell::GoBackOrForward(int offset) { offset 194 content/shell/browser/shell.cc web_contents_->GetController().GoToOffset(offset); offset 65 content/shell/browser/shell.h void GoBackOrForward(int offset); offset 584 content/shell/browser/webkit_test_controller.cc void WebKitTestController::OnGoToOffset(int offset) { offset 585 content/shell/browser/webkit_test_controller.cc main_window_->GoBackOrForward(offset); offset 170 content/shell/browser/webkit_test_controller.h void OnGoToOffset(int offset); offset 49 content/shell/renderer/test_runner/MockGrammarCheck.cpp size_t offset = 0; offset 51 content/shell/renderer/test_runner/MockGrammarCheck.cpp while ((offset = stringText.find(error, offset)) != base::string16::npos) { offset 52 content/shell/renderer/test_runner/MockGrammarCheck.cpp results->push_back(WebTextCheckingResult(WebTextDecorationTypeGrammar, offset + grammarErrors[i].location, grammarErrors[i].length)); offset 53 content/shell/renderer/test_runner/MockGrammarCheck.cpp offset += grammarErrors[i].length; offset 62 content/shell/renderer/test_runner/SpellCheckClient.cpp size_t offset = 0; offset 64 content/shell/renderer/test_runner/SpellCheckClient.cpp while (offset < data.length()) { offset 67 content/shell/renderer/test_runner/SpellCheckClient.cpp m_spellcheck.spellCheckWord(data.substr(offset), &misspelledPosition, &misspelledLength); offset 72 content/shell/renderer/test_runner/SpellCheckClient.cpp result.location = offset + misspelledPosition; offset 75 content/shell/renderer/test_runner/SpellCheckClient.cpp offset += misspelledPosition + misspelledLength; offset 111 content/shell/renderer/test_runner/SpellCheckClient.cpp int offset = 0; offset 122 content/shell/renderer/test_runner/SpellCheckClient.cpp results.push_back(WebTextCheckingResult(WebTextDecorationTypeSpelling, offset + misspelledPosition, misspelledLength, suggestions.isEmpty() ? WebString() : suggestions[0])); offset 124 content/shell/renderer/test_runner/SpellCheckClient.cpp offset += misspelledPosition + misspelledLength; offset 29 content/shell/renderer/test_runner/SpellCheckClient.h virtual void spellCheck(const blink::WebString&, int& offset, int& length, blink::WebVector<blink::WebString>* optionalSuggestions); offset 145 content/shell/renderer/test_runner/WebTestDelegate.h virtual void goToOffset(int offset) = 0; offset 290 content/shell/renderer/test_runner/WebTestProxy.cpp WebSize offset = frame->scrollOffset(); offset 291 content/shell/renderer/test_runner/WebTestProxy.cpp if (offset.width > 0 || offset.height > 0) { offset 295 content/shell/renderer/test_runner/WebTestProxy.cpp snprintf(data, sizeof(data), "scrolled to %d,%d\n", offset.width, offset.height); offset 524 content/shell/renderer/webkit_test_runner.cc void WebKitTestRunner::goToOffset(int offset) { offset 525 content/shell/renderer/webkit_test_runner.cc Send(new ShellViewHostMsg_GoToOffset(routing_id(), offset)); offset 107 content/shell/renderer/webkit_test_runner.h virtual void goToOffset(int offset) OVERRIDE; offset 111 content/shell/tools/plugin/PluginTest.cpp int32_t offset, offset 92 content/shell/tools/plugin/PluginTest.h int32_t offset, offset 107 content/shell/tools/plugin/Tests/GetURLWithJavaScriptURL.cpp virtual int32_t NPP_Write(NPStream* stream, int32_t offset, int32_t len, void* buffer) OVERRIDE offset 465 content/shell/tools/plugin/main.cpp int32_t NPP_Write(NPP instance, NPStream *stream, int32_t offset, int32_t len, void *buffer) offset 472 content/shell/tools/plugin/main.cpp return obj->pluginTest->NPP_Write(stream, offset, len, buffer); offset 175 content/test/plugin/plugin_client.cc int32 NPP_Write(NPP instance, NPStream *stream, int32 offset, offset 183 content/test/plugin/plugin_client.cc return plugin->Write(stream, offset, len, buffer); offset 28 content/test/plugin/plugin_execute_stream_javascript.cc int32 ExecuteStreamJavaScript::Write(NPStream *stream, int32 offset, int32 len, offset 25 content/test/plugin/plugin_execute_stream_javascript.h virtual int32 Write(NPStream *stream, int32 offset, int32 len, offset 64 content/test/plugin/plugin_get_javascript_url2_test.cc int32 ExecuteGetJavascriptUrl2Test::Write(NPStream *stream, int32 offset, int32 len, offset 27 content/test/plugin/plugin_get_javascript_url2_test.h virtual int32 Write(NPStream *stream, int32 offset, int32 len, offset 133 content/test/plugin/plugin_get_javascript_url_test.cc int32 ExecuteGetJavascriptUrlTest::Write(NPStream *stream, int32 offset, offset 26 content/test/plugin/plugin_get_javascript_url_test.h virtual int32 Write(NPStream *stream, int32 offset, int32 len, offset 255 content/test/plugin/plugin_geturl_test.cc int32 PluginGetURLTest::Write(NPStream *stream, int32 offset, int32 len, offset 258 content/test/plugin/plugin_geturl_test.cc return PluginTest::Write(stream, offset, len, buffer); offset 36 content/test/plugin/plugin_geturl_test.h virtual int32 Write(NPStream *stream, int32 offset, int32 len, offset 44 content/test/plugin/plugin_request_read_test.cc requested_ranges_[0].offset = 4; offset 70 content/test/plugin/plugin_request_read_test.cc int32 PluginRequestReadTest::Write(NPStream* stream, int32 offset, int32 len, offset 77 content/test/plugin/plugin_request_read_test.cc if (it->offset == offset) offset 86 content/test/plugin/plugin_request_read_test.cc it->offset += len; offset 97 content/test/plugin/plugin_request_read_test.cc int cur_offset = offset + i; offset 33 content/test/plugin/plugin_request_read_test.h virtual int32 Write(NPStream* stream, int32 offset, int32 len, offset 170 content/test/plugin/plugin_test.cc int32 PluginTest::Write(NPStream *stream, int32 offset, int32 len, offset 38 content/test/plugin/plugin_test.h virtual int32 Write(NPStream *stream, int32 offset, int32 len, offset 83 content/test/test_web_contents_view.cc WebContentsView* overlay, const gfx::Point& offset) { offset 48 content/test/test_web_contents_view.h const gfx::Point& offset) OVERRIDE; offset 533 courgette/adjustment_method_2.cc int offset = kind & ShinglePattern::kOffsetMask; offset 535 courgette/adjustment_method_2.cc base::StringAppendF(&s, "V%d", offset); offset 537 courgette/adjustment_method_2.cc base::StringAppendF(&s, "%d", index->assigned_indexes_[offset]); offset 112 courgette/disassembler.cc const uint8* Disassembler::OffsetToPointer(size_t offset) const { offset 113 courgette/disassembler.cc assert(start_ + offset <= end_); offset 114 courgette/disassembler.cc return start_ + offset; offset 49 courgette/disassembler.h const uint8* OffsetToPointer(size_t offset) const; offset 58 courgette/disassembler.h uint16 ReadU16(const uint8* address, size_t offset) { offset 59 courgette/disassembler.h return *reinterpret_cast<const uint16*>(address + offset); offset 62 courgette/disassembler.h uint32 ReadU32(const uint8* address, size_t offset) { offset 63 courgette/disassembler.h return *reinterpret_cast<const uint32*>(address + offset); offset 66 courgette/disassembler.h uint64 ReadU64(const uint8* address, size_t offset) { offset 67 courgette/disassembler.h return *reinterpret_cast<const uint64*>(address + offset); offset 170 courgette/disassembler_elf_32.cc Elf32_Addr offset = addr - begin; offset 172 courgette/disassembler_elf_32.cc if (offset < ProgramSegmentFileSize(i)) { offset 173 courgette/disassembler_elf_32.cc *result = ProgramSegmentFileOffset(i) + offset; offset 182 courgette/disassembler_elf_32.cc RVA DisassemblerElf32::FileOffsetToRVA(size_t offset) const { offset 185 courgette/disassembler_elf_32.cc uint32 offset32 = (uint32)offset; offset 214 courgette/disassembler_elf_32.cc size_t offset; offset 216 courgette/disassembler_elf_32.cc if (!RVAToFileOffset(*rva, &offset)) offset 219 courgette/disassembler_elf_32.cc offsets->push_back(offset); offset 230 courgette/disassembler_elf_32.cc size_t offset; offset 232 courgette/disassembler_elf_32.cc if (!RVAToFileOffset((*rva)->rva(), &offset)) offset 235 courgette/disassembler_elf_32.cc (*rva)->set_offset(offset); offset 456 courgette/disassembler_elf_32.cc size_t offset; offset 458 courgette/disassembler_elf_32.cc if (!RVAToFileOffset(rva, &offset)) { offset 468 courgette/disassembler_elf_32.cc if (offset >= section_header->sh_offset && offset 469 courgette/disassembler_elf_32.cc offset < (section_header->sh_offset + section_header->sh_size)) { offset 54 courgette/disassembler_elf_32.h void set_offset(size_t offset) { offset 55 courgette/disassembler_elf_32.h offset_ = offset; offset 162 courgette/disassembler_elf_32.h RVA FileOffsetToRVA(size_t offset) const WARN_UNUSED_RESULT; offset 57 courgette/disassembler_win32_x64.cc uint32 offset = ReadU32(start(), offset 60 courgette/disassembler_win32_x64.cc if (offset >= length()) offset 63 courgette/disassembler_win32_x64.cc const uint8* const pe_header = OffsetToPointer(offset); offset 69 courgette/disassembler_win32_x64.cc if (offset % 8 != 0) offset 263 courgette/disassembler_win32_x64.cc int offset = entry & 0xFFF; offset 265 courgette/disassembler_win32_x64.cc RVA rva = page_rva + offset; offset 287 courgette/disassembler_win32_x64.cc uint32 offset = rva - section->virtual_address; offset 288 courgette/disassembler_win32_x64.cc if (offset < section->virtual_size) { offset 298 courgette/disassembler_win32_x64.cc uint32 offset = rva - section->virtual_address; offset 299 courgette/disassembler_win32_x64.cc if (offset < section->size_of_raw_data) { offset 300 courgette/disassembler_win32_x64.cc return section->file_offset_of_raw_data + offset; offset 696 courgette/disassembler_win32_x64.cc uint32 offset = file_offset - section->file_offset_of_raw_data; offset 697 courgette/disassembler_win32_x64.cc if (offset < section->size_of_raw_data) { offset 698 courgette/disassembler_win32_x64.cc return section->virtual_address + offset; offset 709 courgette/disassembler_win32_x64.cc size_t offset = index * 8 + offset_of_data_directories_; offset 710 courgette/disassembler_win32_x64.cc if (offset >= size_of_optional_header_) offset 712 courgette/disassembler_win32_x64.cc const uint8* data_directory = optional_header_ + offset; offset 99 courgette/disassembler_win32_x64.h RVA FileOffsetToRVA(uint32 offset) const; offset 57 courgette/disassembler_win32_x86.cc uint32 offset = ReadU32(start(), offset 60 courgette/disassembler_win32_x86.cc if (offset >= length()) offset 63 courgette/disassembler_win32_x86.cc const uint8* const pe_header = OffsetToPointer(offset); offset 69 courgette/disassembler_win32_x86.cc if (offset % 8 != 0) offset 263 courgette/disassembler_win32_x86.cc int offset = entry & 0xFFF; offset 265 courgette/disassembler_win32_x86.cc RVA rva = page_rva + offset; offset 287 courgette/disassembler_win32_x86.cc uint32 offset = rva - section->virtual_address; offset 288 courgette/disassembler_win32_x86.cc if (offset < section->virtual_size) { offset 298 courgette/disassembler_win32_x86.cc uint32 offset = rva - section->virtual_address; offset 299 courgette/disassembler_win32_x86.cc if (offset < section->size_of_raw_data) { offset 300 courgette/disassembler_win32_x86.cc return section->file_offset_of_raw_data + offset; offset 696 courgette/disassembler_win32_x86.cc uint32 offset = file_offset - section->file_offset_of_raw_data; offset 697 courgette/disassembler_win32_x86.cc if (offset < section->size_of_raw_data) { offset 698 courgette/disassembler_win32_x86.cc return section->virtual_address + offset; offset 709 courgette/disassembler_win32_x86.cc size_t offset = index * 8 + offset_of_data_directories_; offset 710 courgette/disassembler_win32_x86.cc if (offset >= size_of_optional_header_) offset 712 courgette/disassembler_win32_x86.cc const uint8* data_directory = optional_header_ + offset; offset 99 courgette/disassembler_win32_x86.h RVA FileOffsetToRVA(uint32 offset) const; offset 594 courgette/encoded_program.cc uint32 offset = (rva - (current_rva + 4)); offset 595 courgette/encoded_program.cc if (!output->Write(&offset, 4)) offset 160 courgette/streams.cc bool SourceStream::ShareSubstream(size_t offset, size_t length, offset 162 courgette/streams.cc if (offset > Remaining()) offset 164 courgette/streams.cc if (length > Remaining() - offset) offset 166 courgette/streams.cc substream->Init(current_ + offset, length); offset 88 courgette/streams.h bool ShareSubstream(size_t offset, size_t length, SourceStream* substream); offset 36 courgette/third_party/paged_array.h size_t offset = i & (kPageSize - 1); offset 39 courgette/third_party/paged_array.h return pages_[page][offset]; offset 237 crypto/encryptor_unittest.cc int offset = 0; offset 242 crypto/encryptor_unittest.cc encryptor.Decrypt(ciphertext_str.substr(offset, len), &decrypted)); offset 244 crypto/encryptor_unittest.cc EXPECT_EQ(0, memcmp(decrypted.data(), plaintext + offset, len)); offset 245 crypto/encryptor_unittest.cc offset += len; offset 180 device/bluetooth/bluetooth_gatt_characteristic.h int offset, offset 182 device/bluetooth/bluetooth_gatt_descriptor.h int offset, offset 60 device/bluetooth/bluetooth_gatt_service.h int offset, offset 81 device/bluetooth/bluetooth_gatt_service.h int offset, offset 101 device/bluetooth/bluetooth_gatt_service.h int offset, offset 122 device/bluetooth/bluetooth_gatt_service.h int offset, offset 190 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_EQ(0, read_buffer->offset()); offset 209 device/bluetooth/bluetooth_profile_chromeos_unittest.cc } while (success && read_buffer->offset() == 0); offset 212 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_EQ(base_buffer->size(), read_buffer->offset()); offset 216 device/bluetooth/bluetooth_profile_chromeos_unittest.cc read_buffer->offset()); offset 235 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_EQ(0, read_buffer->offset()); offset 315 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_EQ(0, read_buffer->offset()); offset 334 device/bluetooth/bluetooth_profile_chromeos_unittest.cc } while (success && read_buffer->offset() == 0); offset 337 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_EQ(base_buffer->size(), read_buffer->offset()); offset 341 device/bluetooth/bluetooth_profile_chromeos_unittest.cc read_buffer->offset()); offset 359 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_EQ(0, read_buffer->offset()); offset 100 device/bluetooth/bluetooth_socket_chromeos.cc buffer->set_offset(buffer->offset() + bytes_read); offset 105 device/bluetooth/bluetooth_socket_chromeos.cc if (buffer->offset() > 0) offset 84 device/bluetooth/bluetooth_socket_win.cc buffer->set_offset(buffer->offset() + bytes_read); offset 140 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc uint32 offset, offset 150 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc writer.AppendUint32(offset); offset 163 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc uint32 offset, offset 173 device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc writer.AppendUint32(offset); offset 127 device/media_transfer_protocol/media_transfer_protocol_daemon_client.h uint32 offset, offset 140 device/media_transfer_protocol/media_transfer_protocol_daemon_client.h uint32 offset, offset 194 device/media_transfer_protocol/media_transfer_protocol_manager.cc uint32 offset, offset 204 device/media_transfer_protocol/media_transfer_protocol_manager.cc storage_handle, path, offset, count, offset 214 device/media_transfer_protocol/media_transfer_protocol_manager.cc uint32 offset, offset 224 device/media_transfer_protocol/media_transfer_protocol_manager.cc storage_handle, file_id, offset, count, offset 112 device/media_transfer_protocol/media_transfer_protocol_manager.h uint32 offset, offset 120 device/media_transfer_protocol/media_transfer_protocol_manager.h uint32 offset, offset 143 gpu/GLES2/gl2extchromium.h GLuint target, GLintptr offset, GLsizeiptr size, GLenum access); offset 151 gpu/GLES2/gl2extchromium.h GLuint target, GLintptr offset, GLsizeiptr size, GLenum access); offset 196 gpu/command_buffer/client/cmd_buffer_helper.h uint32 offset, offset 203 gpu/command_buffer/client/cmd_buffer_helper.h offset, offset 211 gpu/command_buffer/client/cmd_buffer_helper.h uint32 bucket_id, uint32 offset, const void* data, uint32 size) { offset 215 gpu/command_buffer/client/cmd_buffer_helper.h cmd->Init(bucket_id, offset, size); offset 238 gpu/command_buffer/client/cmd_buffer_helper.h uint32 offset, offset 245 gpu/command_buffer/client/cmd_buffer_helper.h offset, offset 95 gpu/command_buffer/client/fenced_allocator.cc void FencedAllocator::Free(FencedAllocator::Offset offset) { offset 96 gpu/command_buffer/client/fenced_allocator.cc BlockIndex index = GetBlockByOffset(offset); offset 109 gpu/command_buffer/client/fenced_allocator.cc FencedAllocator::Offset offset, int32 token) { offset 110 gpu/command_buffer/client/fenced_allocator.cc BlockIndex index = GetBlockByOffset(offset); offset 158 gpu/command_buffer/client/fenced_allocator.cc if (next.offset <= current.offset) offset 160 gpu/command_buffer/client/fenced_allocator.cc if (next.offset != current.offset + current.size) offset 230 gpu/command_buffer/client/fenced_allocator.cc Offset offset = block.offset; offset 234 gpu/command_buffer/client/fenced_allocator.cc return offset; offset 236 gpu/command_buffer/client/fenced_allocator.cc Block newblock = { FREE, offset + size, block.size - size, kUnusedToken}; offset 241 gpu/command_buffer/client/fenced_allocator.cc return offset; offset 245 gpu/command_buffer/client/fenced_allocator.cc FencedAllocator::BlockIndex FencedAllocator::GetBlockByOffset(Offset offset) { offset 246 gpu/command_buffer/client/fenced_allocator.cc Block templ = { IN_USE, offset, 0, kUnusedToken }; offset 249 gpu/command_buffer/client/fenced_allocator.cc DCHECK(it != blocks_.end() && it->offset == offset); offset 60 gpu/command_buffer/client/fenced_allocator.h void Free(Offset offset); offset 68 gpu/command_buffer/client/fenced_allocator.h void FreePendingToken(Offset offset, int32 token); offset 102 gpu/command_buffer/client/fenced_allocator.h Offset offset; offset 111 gpu/command_buffer/client/fenced_allocator.h return left.offset < right.offset; offset 121 gpu/command_buffer/client/fenced_allocator.h BlockIndex GetBlockByOffset(Offset offset); offset 170 gpu/command_buffer/client/fenced_allocator.h FencedAllocator::Offset offset = allocator_.Alloc(size); offset 171 gpu/command_buffer/client/fenced_allocator.h return GetPointer(offset); offset 216 gpu/command_buffer/client/fenced_allocator.h void *GetPointer(FencedAllocator::Offset offset) { offset 217 gpu/command_buffer/client/fenced_allocator.h return (offset == FencedAllocator::kInvalidOffset) ? offset 218 gpu/command_buffer/client/fenced_allocator.h NULL : static_cast<char *>(base_) + offset; offset 128 gpu/command_buffer/client/fenced_allocator_test.cc FencedAllocator::Offset offset = allocator_->Alloc(kSize); offset 130 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_NE(FencedAllocator::kInvalidOffset, offset); offset 131 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_GE(kBufferSize, offset+kSize); offset 134 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset); offset 141 gpu/command_buffer/client/fenced_allocator_test.cc FencedAllocator::Offset offset = allocator_->Alloc(0); offset 142 gpu/command_buffer/client/fenced_allocator_test.cc EXPECT_EQ(FencedAllocator::kInvalidOffset, offset); offset 305 gpu/command_buffer/client/fenced_allocator_test.cc FencedAllocator::Offset offset = allocator_->Alloc(kBufferSize); offset 306 gpu/command_buffer/client/fenced_allocator_test.cc ASSERT_NE(FencedAllocator::kInvalidOffset, offset); offset 308 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset); offset 312 gpu/command_buffer/client/fenced_allocator_test.cc offset = allocator_->Alloc(kSize); offset 313 gpu/command_buffer/client/fenced_allocator_test.cc ASSERT_NE(FencedAllocator::kInvalidOffset, offset); offset 326 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset); offset 330 gpu/command_buffer/client/fenced_allocator_test.cc offset = allocator_->Alloc(kBufferSize - 3 * kSize); offset 331 gpu/command_buffer/client/fenced_allocator_test.cc ASSERT_NE(FencedAllocator::kInvalidOffset, offset); offset 338 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset); offset 348 gpu/command_buffer/client/fenced_allocator_test.cc FencedAllocator::Offset offset = allocator_->Alloc(kBufferSize); offset 349 gpu/command_buffer/client/fenced_allocator_test.cc ASSERT_NE(FencedAllocator::kInvalidOffset, offset); offset 351 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset); offset 355 gpu/command_buffer/client/fenced_allocator_test.cc offset = allocator_->Alloc(kSize); offset 356 gpu/command_buffer/client/fenced_allocator_test.cc ASSERT_NE(FencedAllocator::kInvalidOffset, offset); offset 369 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset); offset 390 gpu/command_buffer/client/fenced_allocator_test.cc offset = allocator_->Alloc(kBufferSize); offset 391 gpu/command_buffer/client/fenced_allocator_test.cc ASSERT_NE(FencedAllocator::kInvalidOffset, offset); offset 394 gpu/command_buffer/client/fenced_allocator_test.cc allocator_->Free(offset); offset 64 gpu/command_buffer/client/gles2_c_lib_autogen.h GLintptr offset, offset 67 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->BufferSubData(target, offset, size, data); offset 679 gpu/command_buffer/client/gles2_c_lib_autogen.h GLuint offset) { offset 681 gpu/command_buffer/client/gles2_c_lib_autogen.h buffer_id, count, type, offset); offset 715 gpu/command_buffer/client/gles2_c_lib_autogen.h GLintptr offset, offset 719 gpu/command_buffer/client/gles2_c_lib_autogen.h target, offset, size, access); offset 131 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLintptr offset, offset 137 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(target, offset, size, data_shm_id, data_shm_offset); offset 1591 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLuint offset) { offset 1595 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(indx, size, type, normalized, stride, offset); offset 1820 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLuint offset, offset 1826 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(buffer_id, count, type, offset, result_shm_id, result_shm_offset); offset 551 gpu/command_buffer/client/gles2_implementation.cc buffer.size(), buffer.shm_id(), buffer.offset()); offset 556 gpu/command_buffer/client/gles2_implementation.cc uint32 offset = 0; offset 564 gpu/command_buffer/client/gles2_implementation.cc bucket_id, offset, buffer.size(), buffer.shm_id(), buffer.offset()); offset 568 gpu/command_buffer/client/gles2_implementation.cc memcpy(&(*data)[offset], buffer.address(), size_to_copy); offset 569 gpu/command_buffer/client/gles2_implementation.cc offset += size_to_copy; offset 586 gpu/command_buffer/client/gles2_implementation.cc uint32 offset = 0; offset 592 gpu/command_buffer/client/gles2_implementation.cc memcpy(buffer.address(), static_cast<const int8*>(data) + offset, offset 595 gpu/command_buffer/client/gles2_implementation.cc bucket_id, offset, buffer.size(), buffer.shm_id(), buffer.offset()); offset 596 gpu/command_buffer/client/gles2_implementation.cc offset += buffer.size(); offset 808 gpu/command_buffer/client/gles2_implementation.cc GLuint buffer_id, GLsizei count, GLenum type, GLuint offset) { offset 816 gpu/command_buffer/client/gles2_implementation.cc buffer_id, count, type, offset, GetResultShmId(), GetResultShmOffset()); offset 822 gpu/command_buffer/client/gles2_implementation.cc GLuint buffer_id, GLsizei count, GLenum type, GLuint offset) { offset 827 gpu/command_buffer/client/gles2_implementation.cc << ", " << offset << ")"); offset 829 gpu/command_buffer/client/gles2_implementation.cc buffer_id, count, type, offset); offset 868 gpu/command_buffer/client/gles2_implementation.cc GLuint offset = 0; offset 872 gpu/command_buffer/client/gles2_implementation.cc &offset, &simulated)) { offset 875 gpu/command_buffer/client/gles2_implementation.cc helper_->DrawElements(mode, count, type, offset); offset 959 gpu/command_buffer/client/gles2_implementation.cc id_buffer.shm_id(), id_buffer.offset()); offset 991 gpu/command_buffer/client/gles2_implementation.cc id_buffer.shm_id(), id_buffer.offset()); offset 1017 gpu/command_buffer/client/gles2_implementation.cc id_buffer.shm_id(), id_buffer.offset()); offset 1226 gpu/command_buffer/client/gles2_implementation.cc buffer.offset(), offset 1229 gpu/command_buffer/client/gles2_implementation.cc buffer.offset() + shader_id_size, offset 1354 gpu/command_buffer/client/gles2_implementation.cc uint32 offset = 0; offset 1366 gpu/command_buffer/client/gles2_implementation.cc helper_->SetBucketData(kResultBucketId, offset, buffer.size(), offset 1367 gpu/command_buffer/client/gles2_implementation.cc buffer.shm_id(), buffer.offset()); offset 1368 gpu/command_buffer/client/gles2_implementation.cc offset += buffer.size(); offset 1375 gpu/command_buffer/client/gles2_implementation.cc DCHECK_EQ(total_size, offset); offset 1429 gpu/command_buffer/client/gles2_implementation.cc buffer.offset(), offset 1453 gpu/command_buffer/client/gles2_implementation.cc GLenum target, GLintptr offset, GLsizeiptr size, const void* data) { offset 1476 gpu/command_buffer/client/gles2_implementation.cc if (!SafeAddInt32(offset, size, &end) || end > buffer_size) { offset 1482 gpu/command_buffer/client/gles2_implementation.cc memcpy(static_cast<uint8*>(buffer->address()) + offset, data, size); offset 1487 gpu/command_buffer/client/gles2_implementation.cc BufferSubDataHelperImpl(target, offset, size, data, &buffer); offset 1491 gpu/command_buffer/client/gles2_implementation.cc GLenum target, GLintptr offset, GLsizeiptr size, const void* data, offset 1506 gpu/command_buffer/client/gles2_implementation.cc target, offset, buffer->size(), buffer->shm_id(), buffer->offset()); offset 1507 gpu/command_buffer/client/gles2_implementation.cc offset += buffer->size(); offset 1515 gpu/command_buffer/client/gles2_implementation.cc GLenum target, GLintptr offset, GLsizeiptr size, const void* data) { offset 1519 gpu/command_buffer/client/gles2_implementation.cc << offset << ", " << size << ", " offset 1521 gpu/command_buffer/client/gles2_implementation.cc BufferSubDataHelper(target, offset, size, data); offset 1576 gpu/command_buffer/client/gles2_implementation.cc GLuint offset, GLsizei size) offset 1588 gpu/command_buffer/client/gles2_implementation.cc if ((buffer->size() - offset) < static_cast<GLuint>(size)) { offset 1616 gpu/command_buffer/client/gles2_implementation.cc GLuint offset = ToGLuint(data); offset 1619 gpu/command_buffer/client/gles2_implementation.cc "glCompressedTexImage2D", offset, image_size); offset 1623 gpu/command_buffer/client/gles2_implementation.cc buffer->shm_id(), buffer->shm_offset() + offset); offset 1657 gpu/command_buffer/client/gles2_implementation.cc GLuint offset = ToGLuint(data); offset 1660 gpu/command_buffer/client/gles2_implementation.cc "glCompressedTexSubImage2D", offset, image_size); offset 1664 gpu/command_buffer/client/gles2_implementation.cc buffer->shm_id(), buffer->shm_offset() + offset); offset 1744 gpu/command_buffer/client/gles2_implementation.cc GLuint offset = ToGLuint(pixels); offset 1747 gpu/command_buffer/client/gles2_implementation.cc "glTexImage2D", offset, size); offset 1751 gpu/command_buffer/client/gles2_implementation.cc buffer->shm_id(), buffer->shm_offset() + offset); offset 1802 gpu/command_buffer/client/gles2_implementation.cc buffer.shm_id(), buffer.offset()); offset 1850 gpu/command_buffer/client/gles2_implementation.cc GLuint offset = ToGLuint(pixels); offset 1853 gpu/command_buffer/client/gles2_implementation.cc "glTexSubImage2D", offset, temp_size); offset 1857 gpu/command_buffer/client/gles2_implementation.cc buffer->shm_id(), buffer->shm_offset() + offset, false); offset 1938 gpu/command_buffer/client/gles2_implementation.cc buffer->shm_id(), buffer->offset(), internal); offset 2318 gpu/command_buffer/client/gles2_implementation.cc GLuint offset = ToGLuint(pixels); offset 2321 gpu/command_buffer/client/gles2_implementation.cc "glReadPixels", offset, padded_row_size * height); offset 2356 gpu/command_buffer/client/gles2_implementation.cc buffer.shm_id(), buffer.offset(), offset 2876 gpu/command_buffer/client/gles2_implementation.cc GLuint target, GLintptr offset, GLsizeiptr size, GLenum access) { offset 2879 gpu/command_buffer/client/gles2_implementation.cc << target << ", " << offset << ", " << size << ", " offset 2888 gpu/command_buffer/client/gles2_implementation.cc if (offset < 0 || size < 0) { offset 2904 gpu/command_buffer/client/gles2_implementation.cc access, shm_id, mem, shm_offset, target, offset, size))); offset 2922 gpu/command_buffer/client/gles2_implementation.cc mb.target, mb.offset, mb.size, mb.shm_id, mb.shm_offset); offset 3508 gpu/command_buffer/client/gles2_implementation.cc GLuint offset = 0; offset 3512 gpu/command_buffer/client/gles2_implementation.cc indices, &offset, &simulated)) { offset 3515 gpu/command_buffer/client/gles2_implementation.cc helper_->DrawElementsInstancedANGLE(mode, count, type, offset, primcount); offset 3813 gpu/command_buffer/client/gles2_implementation.cc GLuint offset = ToGLuint(pixels); offset 3816 gpu/command_buffer/client/gles2_implementation.cc "glAsyncTexImage2DCHROMIUM", offset, size); offset 3822 gpu/command_buffer/client/gles2_implementation.cc buffer->shm_id(), buffer->shm_offset() + offset, offset 3866 gpu/command_buffer/client/gles2_implementation.cc GLuint offset = ToGLuint(pixels); offset 3869 gpu/command_buffer/client/gles2_implementation.cc "glAsyncTexSubImage2DCHROMIUM", offset, size); offset 3875 gpu/command_buffer/client/gles2_implementation.cc buffer->shm_id(), buffer->shm_offset() + offset, offset 285 gpu/command_buffer/client/gles2_implementation.h MappedResource(GLenum _access, int _shm_id, void* mem, unsigned int offset) offset 289 gpu/command_buffer/client/gles2_implementation.h shm_offset(offset) { offset 354 gpu/command_buffer/client/gles2_implementation.h offset(_offset), offset 360 gpu/command_buffer/client/gles2_implementation.h GLintptr offset; offset 541 gpu/command_buffer/client/gles2_implementation.h GLenum target, GLintptr offset, GLsizeiptr size, const void* data); offset 543 gpu/command_buffer/client/gles2_implementation.h GLenum target, GLintptr offset, GLsizeiptr size, const void* data, offset 558 gpu/command_buffer/client/gles2_implementation.h GLuint buffer_id, GLsizei count, GLenum type, GLuint offset); offset 636 gpu/command_buffer/client/gles2_implementation.h const char* function_name, GLuint offset, GLsizei size); offset 54 gpu/command_buffer/client/gles2_implementation_autogen.h GLintptr offset, offset 547 gpu/command_buffer/client/gles2_implementation_autogen.h GLuint offset) OVERRIDE; offset 573 gpu/command_buffer/client/gles2_implementation_autogen.h GLintptr offset, offset 87 gpu/command_buffer/client/gles2_implementation_unittest.cc uint32 offset; offset 152 gpu/command_buffer/client/gles2_implementation_unittest.cc mem.offset = AllocateExpectedTransferBuffer(size); offset 155 gpu/command_buffer/client/gles2_implementation_unittest.cc GetExpectedTransferAddressFromOffset(mem.offset, size)); offset 161 gpu/command_buffer/client/gles2_implementation_unittest.cc mem.offset = GetExpectedResultBufferOffset(); offset 164 gpu/command_buffer/client/gles2_implementation_unittest.cc GetExpectedTransferAddressFromOffset(mem.offset, size)); offset 189 gpu/command_buffer/client/gles2_implementation_unittest.cc uint32 offset = expected_offset_; offset 193 gpu/command_buffer/client/gles2_implementation_unittest.cc return offset + expected_buffer_index_ * alignment_; offset 196 gpu/command_buffer/client/gles2_implementation_unittest.cc void* GetExpectedTransferAddressFromOffset(uint32 offset, size_t size) { offset 197 gpu/command_buffer/client/gles2_implementation_unittest.cc EXPECT_GE(offset, expected_buffer_index_ * alignment_); offset 198 gpu/command_buffer/client/gles2_implementation_unittest.cc EXPECT_LE(offset + size, size_ + expected_buffer_index_ * alignment_); offset 199 gpu/command_buffer/client/gles2_implementation_unittest.cc return expected_buffer() + offset; offset 275 gpu/command_buffer/client/gles2_implementation_unittest.cc uint32 offset = actual_offset_; offset 280 gpu/command_buffer/client/gles2_implementation_unittest.cc last_alloc_ = actual_buffer() + offset + actual_buffer_index_ * alignment_; offset 783 gpu/command_buffer/client/gles2_implementation_unittest.cc kBucketId, result1.id, result1.offset, offset 784 gpu/command_buffer/client/gles2_implementation_unittest.cc MaxTransferBufferSize(), mem1.id, mem1.offset); offset 788 gpu/command_buffer/client/gles2_implementation_unittest.cc kTestSize - MaxTransferBufferSize(), mem2.id, mem2.offset); offset 821 gpu/command_buffer/client/gles2_implementation_unittest.cc client_result1.id, client_result1.offset); offset 855 gpu/command_buffer/client/gles2_implementation_unittest.cc result3.id, result3.offset); offset 904 gpu/command_buffer/client/gles2_implementation_unittest.cc kBucketId, 0, kString1Size, mem1.id, mem1.offset); offset 907 gpu/command_buffer/client/gles2_implementation_unittest.cc kBucketId, kString1Size, kString2Size, mem2.id, mem2.offset); offset 911 gpu/command_buffer/client/gles2_implementation_unittest.cc kString3Size, mem3.id, mem3.offset); offset 943 gpu/command_buffer/client/gles2_implementation_unittest.cc kBucketId, result1.id, result1.offset, offset 944 gpu/command_buffer/client/gles2_implementation_unittest.cc MaxTransferBufferSize(), mem1.id, mem1.offset); offset 1010 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ARRAY_BUFFER, kEmuOffset1, kSize1, mem1.id, mem1.offset); offset 1015 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ARRAY_BUFFER, kEmuOffset2, kSize2, mem2.id, mem2.offset); offset 1079 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ARRAY_BUFFER, kEmuOffset1, kSize1, mem1.id, mem1.offset); offset 1084 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ARRAY_BUFFER, kEmuOffset2, kSize2, mem2.id, mem2.offset); offset 1158 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ELEMENT_ARRAY_BUFFER, 0, kIndexSize, mem1.id, mem1.offset); offset 1163 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ARRAY_BUFFER, kEmuOffset1, kSize1, mem2.id, mem2.offset); offset 1168 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ARRAY_BUFFER, kEmuOffset2, kSize2, mem3.id, mem3.offset); offset 1242 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ELEMENT_ARRAY_BUFFER, 0, kIndexSize, mem1.id, mem1.offset); offset 1247 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ARRAY_BUFFER, kEmuOffset1, kSize1, mem2.id, mem2.offset); offset 1252 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ARRAY_BUFFER, kEmuOffset2, kSize2, mem3.id, mem3.offset); offset 1352 gpu/command_buffer/client/gles2_implementation_unittest.cc kIndexOffset, mem1.id, mem1.offset); offset 1356 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ARRAY_BUFFER, kEmuOffset1, kSize1, mem2.id, mem2.offset); offset 1361 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ARRAY_BUFFER, kEmuOffset2, kSize2, mem3.id, mem3.offset); offset 1444 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ELEMENT_ARRAY_BUFFER, 0, kIndexSize, mem1.id, mem1.offset); offset 1449 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ARRAY_BUFFER, kEmuOffset1, kSize1, mem2.id, mem2.offset); offset 1454 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ARRAY_BUFFER, kEmuOffset2, kSize2, mem3.id, mem3.offset); offset 1546 gpu/command_buffer/client/gles2_implementation_unittest.cc mem2.id, mem2.offset); offset 1614 gpu/command_buffer/client/gles2_implementation_unittest.cc expected.get.Init(mem1.id, mem1.offset); offset 1661 gpu/command_buffer/client/gles2_implementation_unittest.cc mem1.id, mem1.offset, result1.id, result1.offset, offset 1666 gpu/command_buffer/client/gles2_implementation_unittest.cc mem2.id, mem2.offset, result2.id, result2.offset, false); offset 1698 gpu/command_buffer/client/gles2_implementation_unittest.cc mem1.id, mem1.offset, result1.id, result1.offset, false); offset 1722 gpu/command_buffer/client/gles2_implementation_unittest.cc kTarget, kOffset, kSize, mem1.id, mem1.offset); offset 1744 gpu/command_buffer/client/gles2_implementation_unittest.cc uint32 offset = 0; offset 1748 gpu/command_buffer/client/gles2_implementation_unittest.cc command_buffer()->GetNextFreeTransferBufferId(), offset); offset 1808 gpu/command_buffer/client/gles2_implementation_unittest.cc uint32 offset = 0; offset 1813 gpu/command_buffer/client/gles2_implementation_unittest.cc command_buffer()->GetNextFreeTransferBufferId(), offset, GL_FALSE); offset 1964 gpu/command_buffer/client/gles2_implementation_unittest.cc const uint32 kPnamesOffset = mem1.offset; offset 1965 gpu/command_buffer/client/gles2_implementation_unittest.cc const uint32 kResultsOffset = mem1.offset + kPNamesSize; offset 2093 gpu/command_buffer/client/gles2_implementation_unittest.cc kBucketId, result1.id, result1.offset, offset 2094 gpu/command_buffer/client/gles2_implementation_unittest.cc MaxTransferBufferSize(), mem1.id, mem1.offset); offset 2142 gpu/command_buffer/client/gles2_implementation_unittest.cc kBucketId, result1.id, result1.offset, offset 2143 gpu/command_buffer/client/gles2_implementation_unittest.cc MaxTransferBufferSize(), mem1.id, mem1.offset); offset 2309 gpu/command_buffer/client/gles2_implementation_unittest.cc mem1.id, mem1.offset); offset 2326 gpu/command_buffer/client/gles2_implementation_unittest.cc mem2.id, mem2.offset); offset 2384 gpu/command_buffer/client/gles2_implementation_unittest.cc mem1.id, mem1.offset, true); offset 2388 gpu/command_buffer/client/gles2_implementation_unittest.cc mem2.id, mem2.offset, true); offset 2417 gpu/command_buffer/client/gles2_implementation_unittest.cc mem3.id, mem3.offset, true); offset 2421 gpu/command_buffer/client/gles2_implementation_unittest.cc mem4.id, mem4.offset, true); offset 2482 gpu/command_buffer/client/gles2_implementation_unittest.cc mem1.id, mem1.offset, false); offset 2486 gpu/command_buffer/client/gles2_implementation_unittest.cc mem2.id, mem2.offset, false); offset 2594 gpu/command_buffer/client/gles2_implementation_unittest.cc mem.offset, GL_FALSE); offset 2607 gpu/command_buffer/client/gles2_implementation_unittest.cc kSrcSubImageHeight, kBorder, kFormat, kType, mem.id, mem.offset); offset 2737 gpu/command_buffer/client/gles2_implementation_unittest.cc kBucketId, result1.id, result1.offset, offset 2738 gpu/command_buffer/client/gles2_implementation_unittest.cc MaxTransferBufferSize(), mem1.id, mem1.offset); offset 2774 gpu/command_buffer/client/gles2_implementation_unittest.cc kBucketId, result1.id, result1.offset, offset 2775 gpu/command_buffer/client/gles2_implementation_unittest.cc MaxTransferBufferSize(), mem1.id, mem1.offset); offset 2820 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ARRAY_BUFFER, 0, kUsableSize, mem1.id, mem1.offset); offset 2823 gpu/command_buffer/client/gles2_implementation_unittest.cc GL_ARRAY_BUFFER, kUsableSize, kUsableSize, mem2.id, mem2.offset); offset 134 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, result1.id, result1.offset); offset 534 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(123, result1.id, result1.offset); offset 551 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(123, GL_BUFFER_SIZE, result1.id, result1.offset); offset 568 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(123, result1.id, result1.offset); offset 589 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h result1.offset); offset 610 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(123, result1.id, result1.offset); offset 627 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(123, GL_DELETE_STATUS, result1.id, result1.offset); offset 645 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(123, GL_RENDERBUFFER_RED_SIZE, result1.id, result1.offset); offset 662 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(123, GL_SHADER_TYPE, result1.id, result1.offset); offset 681 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(123, GL_TEXTURE_MAG_FILTER, result1.id, result1.offset); offset 698 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(123, GL_TEXTURE_MAG_FILTER, result1.id, result1.offset); offset 719 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h 123, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, result1.id, result1.offset); offset 737 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h 123, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, result1.id, result1.offset); offset 766 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, result1.id, result1.offset); offset 786 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, result1.id, result1.offset); offset 806 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, result1.id, result1.offset); offset 826 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, result1.id, result1.offset); offset 846 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, result1.id, result1.offset); offset 866 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, result1.id, result1.offset); offset 886 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, result1.id, result1.offset); offset 1676 gpu/command_buffer/client/gles2_implementation_unittest_autogen.h expected.cmd.Init(1, result1.id, result1.offset); offset 41 gpu/command_buffer/client/gles2_interface_autogen.h GLintptr offset, offset 370 gpu/command_buffer/client/gles2_interface_autogen.h GLuint offset) = 0; offset 387 gpu/command_buffer/client/gles2_interface_autogen.h GLintptr offset, offset 40 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLintptr offset, offset 394 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLuint offset) OVERRIDE; offset 411 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLintptr offset, offset 40 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLintptr offset, offset 394 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLuint offset) OVERRIDE; offset 411 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLintptr offset, offset 95 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLintptr offset, offset 99 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->BufferSubData(target, offset, size, data); offset 1137 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLuint offset) { offset 1140 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h return gl_->GetMaxValueInBufferCHROMIUM(buffer_id, count, type, offset); offset 1193 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLintptr offset, offset 1197 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h return gl_->MapBufferSubDataCHROMIUM(target, offset, size, access); offset 235 gpu/command_buffer/client/mapped_memory_unittest.cc unsigned int offset = 0xFFFFFFFFu; offset 236 gpu/command_buffer/client/mapped_memory_unittest.cc pointers[i] = manager_->Alloc(kSize, &id, &offset); offset 239 gpu/command_buffer/client/mapped_memory_unittest.cc EXPECT_NE(offset, 0xFFFFFFFFu); offset 283 gpu/command_buffer/client/mapped_memory_unittest.cc unsigned int offset = 0xFFFFFFFFU; offset 284 gpu/command_buffer/client/mapped_memory_unittest.cc void* m1 = manager_->Alloc(kBufferSize, &id, &offset); offset 285 gpu/command_buffer/client/mapped_memory_unittest.cc void* m2 = manager_->Alloc(kBufferSize, &id, &offset); offset 309 gpu/command_buffer/client/program_info_manager.cc const std::vector<int8>& data, uint32 offset, size_t size) { offset 310 gpu/command_buffer/client/program_info_manager.cc const int8* p = &data[0] + offset; offset 311 gpu/command_buffer/client/program_info_manager.cc if (offset + size > data.size()) { offset 41 gpu/command_buffer/client/query_tracker.h QueryInfo(Bucket* bucket, int32 id, uint32 offset, QuerySync* sync_mem) offset 44 gpu/command_buffer/client/query_tracker.h shm_offset(offset), offset 71 gpu/command_buffer/client/ring_buffer.cc Offset offset = free_offset_; offset 72 gpu/command_buffer/client/ring_buffer.cc blocks_.push_back(Block(offset, size, IN_USE)); offset 77 gpu/command_buffer/client/ring_buffer.cc return offset + base_offset_; offset 80 gpu/command_buffer/client/ring_buffer.cc void RingBuffer::FreePendingToken(RingBuffer::Offset offset, offset 82 gpu/command_buffer/client/ring_buffer.cc offset -= base_offset_; offset 88 gpu/command_buffer/client/ring_buffer.cc if (block.offset == offset) { offset 53 gpu/command_buffer/client/ring_buffer.h void FreePendingToken(Offset offset, unsigned int token); offset 74 gpu/command_buffer/client/ring_buffer.h : offset(_offset), offset 79 gpu/command_buffer/client/ring_buffer.h Offset offset; offset 139 gpu/command_buffer/client/ring_buffer.h RingBuffer::Offset offset = allocator_.Alloc(size); offset 140 gpu/command_buffer/client/ring_buffer.h return GetPointer(offset); offset 170 gpu/command_buffer/client/ring_buffer.h void* GetPointer(RingBuffer::Offset offset) const { offset 171 gpu/command_buffer/client/ring_buffer.h return static_cast<int8*>(base_) + offset; offset 143 gpu/command_buffer/client/ring_buffer_test.cc RingBuffer::Offset offset = allocator_->Alloc(kSize); offset 144 gpu/command_buffer/client/ring_buffer_test.cc EXPECT_GE(kBufferSize, offset - kBaseOffset + kSize); offset 148 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(offset, token); offset 161 gpu/command_buffer/client/ring_buffer_test.cc RingBuffer::Offset offset = allocator_->Alloc(kSize); offset 162 gpu/command_buffer/client/ring_buffer_test.cc EXPECT_GE(kBufferSize, offset - kBaseOffset + kSize); offset 164 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(offset, tokens[ii]); offset 187 gpu/command_buffer/client/ring_buffer_test.cc RingBuffer::Offset offset = allocator_->Alloc(kBufferSize); offset 189 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(offset, helper_->InsertToken()); offset 196 gpu/command_buffer/client/ring_buffer_test.cc RingBuffer::Offset offset = allocator_->Alloc(kAlloc1); offset 198 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(offset, helper_.get()->InsertToken()); offset 199 gpu/command_buffer/client/ring_buffer_test.cc offset = allocator_->Alloc(kAlloc2); offset 202 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(offset, helper_.get()->InsertToken()); offset 203 gpu/command_buffer/client/ring_buffer_test.cc offset = allocator_->Alloc(kBufferSize); offset 205 gpu/command_buffer/client/ring_buffer_test.cc allocator_->FreePendingToken(offset, helper_.get()->InsertToken()); offset 192 gpu/command_buffer/client/transfer_buffer.h RingBuffer::Offset offset() const { offset 553 gpu/command_buffer/client/vertex_array_object_manager.cc GLuint* offset, offset 556 gpu/command_buffer/client/vertex_array_object_manager.cc *offset = ToGLuint(indices); offset 561 gpu/command_buffer/client/vertex_array_object_manager.cc *offset = 0; offset 70 gpu/command_buffer/client/vertex_array_object_manager.h GLuint* offset, offset 303 gpu/command_buffer/common/cmd_buffer_common.h offset = _offset; offset 325 gpu/command_buffer/common/cmd_buffer_common.h uint32 offset; offset 336 gpu/command_buffer/common/cmd_buffer_common.h COMPILE_ASSERT(offsetof(SetBucketData, offset) == 8, offset 363 gpu/command_buffer/common/cmd_buffer_common.h offset = _offset; offset 379 gpu/command_buffer/common/cmd_buffer_common.h uint32 offset; offset 389 gpu/command_buffer/common/cmd_buffer_common.h COMPILE_ASSERT(offsetof(SetBucketDataImmediate, offset) == 8, offset 491 gpu/command_buffer/common/cmd_buffer_common.h offset = _offset; offset 513 gpu/command_buffer/common/cmd_buffer_common.h uint32 offset; offset 524 gpu/command_buffer/common/cmd_buffer_common.h COMPILE_ASSERT(offsetof(GetBucketData, offset) == 8, offset 607 gpu/command_buffer/common/gles2_cmd_format_autogen.h offset = _offset; offset 626 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 offset; offset 637 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(BufferSubData, offset) == 8, offset 7763 gpu/command_buffer/common/gles2_cmd_format_autogen.h offset = _offset; offset 7784 gpu/command_buffer/common/gles2_cmd_format_autogen.h uint32 offset; offset 7801 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(VertexAttribPointer, offset) == 24, offset 8841 gpu/command_buffer/common/gles2_cmd_format_autogen.h offset = _offset; offset 8862 gpu/command_buffer/common/gles2_cmd_format_autogen.h uint32 offset; offset 8877 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(GetMaxValueInBufferCHROMIUM, offset) == 16, offset 217 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLintptr>(12), cmd.offset); offset 2718 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLuint>(16), cmd.offset); offset 3083 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLuint>(14), cmd.offset); offset 123 gpu/command_buffer/service/buffer_manager.cc GLintptr offset, GLsizeiptr size) const { offset 125 gpu/command_buffer/service/buffer_manager.cc return offset >= 0 && size >= 0 && offset 126 gpu/command_buffer/service/buffer_manager.cc offset <= std::numeric_limits<int32>::max() && offset 128 gpu/command_buffer/service/buffer_manager.cc SafeAddInt32(offset, size, &end) && end <= size_; offset 132 gpu/command_buffer/service/buffer_manager.cc GLintptr offset, GLsizeiptr size, const GLvoid * data) { offset 133 gpu/command_buffer/service/buffer_manager.cc if (!CheckRange(offset, size)) { offset 137 gpu/command_buffer/service/buffer_manager.cc memcpy(shadow_.get() + offset, data, size); offset 144 gpu/command_buffer/service/buffer_manager.cc GLintptr offset, GLsizeiptr size) const { offset 148 gpu/command_buffer/service/buffer_manager.cc if (!CheckRange(offset, size)) { offset 151 gpu/command_buffer/service/buffer_manager.cc return shadow_.get() + offset; offset 159 gpu/command_buffer/service/buffer_manager.cc GLuint GetMaxValue(const void* data, GLuint offset, GLsizei count) { offset 162 gpu/command_buffer/service/buffer_manager.cc static_cast<const int8*>(data) + offset); offset 173 gpu/command_buffer/service/buffer_manager.cc GLuint offset, GLsizei count, GLenum type, GLuint* max_value) { offset 174 gpu/command_buffer/service/buffer_manager.cc Range range(offset, count, type); offset 187 gpu/command_buffer/service/buffer_manager.cc if (!SafeAddUint32(offset, size, &size)) { offset 203 gpu/command_buffer/service/buffer_manager.cc max_v = GetMaxValue<uint8>(shadow_.get(), offset, count); offset 207 gpu/command_buffer/service/buffer_manager.cc if ((offset & 1) != 0) { offset 210 gpu/command_buffer/service/buffer_manager.cc max_v = GetMaxValue<uint16>(shadow_.get(), offset, count); offset 214 gpu/command_buffer/service/buffer_manager.cc if ((offset & 3) != 0) { offset 217 gpu/command_buffer/service/buffer_manager.cc max_v = GetMaxValue<uint32>(shadow_.get(), offset, count); offset 329 gpu/command_buffer/service/buffer_manager.cc ContextState* context_state, GLenum target, GLintptr offset, GLsizeiptr size, offset 339 gpu/command_buffer/service/buffer_manager.cc DoBufferSubData(error_state, buffer, offset, size, data); offset 345 gpu/command_buffer/service/buffer_manager.cc GLintptr offset, offset 348 gpu/command_buffer/service/buffer_manager.cc if (!buffer->SetRange(offset, size, data)) { offset 355 gpu/command_buffer/service/buffer_manager.cc glBufferSubData(buffer->target(), offset, size, data); offset 52 gpu/command_buffer/service/buffer_manager.h bool GetMaxValueForRange(GLuint offset, GLsizei count, GLenum type, offset 56 gpu/command_buffer/service/buffer_manager.h const void* GetRange(GLintptr offset, GLsizeiptr size) const; offset 78 gpu/command_buffer/service/buffer_manager.h Range(GLuint offset, GLsizei count, GLenum type) offset 79 gpu/command_buffer/service/buffer_manager.h : offset_(offset), offset 127 gpu/command_buffer/service/buffer_manager.h GLintptr offset, GLsizeiptr size, const GLvoid * data); offset 133 gpu/command_buffer/service/buffer_manager.h bool CheckRange(GLintptr offset, GLsizeiptr size) const; offset 199 gpu/command_buffer/service/buffer_manager.h ContextState* context_state, GLenum target, GLintptr offset, offset 245 gpu/command_buffer/service/buffer_manager.h GLintptr offset, offset 57 gpu/command_buffer/service/buffer_manager_unittest.cc Buffer* buffer, GLintptr offset, GLsizeiptr size, offset 60 gpu/command_buffer/service/buffer_manager_unittest.cc if (!buffer->CheckRange(offset, size)) { offset 67 gpu/command_buffer/service/buffer_manager_unittest.cc buffer->target(), offset, size, _)) offset 72 gpu/command_buffer/service/buffer_manager_unittest.cc error_state_.get(), buffer, offset, size, data); offset 36 gpu/command_buffer/service/cmd_buffer_engine.h virtual bool SetGetOffset(int32 offset) = 0; offset 25 gpu/command_buffer/service/cmd_parser.cc ptrdiff_t offset, offset 29 gpu/command_buffer/service/cmd_parser.cc DCHECK_EQ(0, offset % 4); offset 32 gpu/command_buffer/service/cmd_parser.cc DCHECK_GE(shm_size, offset + size); offset 35 gpu/command_buffer/service/cmd_parser.cc char* buffer_begin = static_cast<char*>(shm_address) + offset; offset 28 gpu/command_buffer/service/cmd_parser.h ptrdiff_t offset, offset 14 gpu/command_buffer/service/common_decoder.cc void* CommonDecoder::Bucket::GetData(size_t offset, size_t size) const { offset 15 gpu/command_buffer/service/common_decoder.cc if (OffsetSizeValid(offset, size)) { offset 16 gpu/command_buffer/service/common_decoder.cc return data_.get() + offset; offset 30 gpu/command_buffer/service/common_decoder.cc const void* src, size_t offset, size_t size) { offset 31 gpu/command_buffer/service/common_decoder.cc if (OffsetSizeValid(offset, size)) { offset 32 gpu/command_buffer/service/common_decoder.cc memcpy(data_.get() + offset, src, size); offset 197 gpu/command_buffer/service/common_decoder.cc uint32 offset = args.offset; offset 208 gpu/command_buffer/service/common_decoder.cc if (!bucket->SetData(data, offset, size)) { offset 220 gpu/command_buffer/service/common_decoder.cc uint32 offset = args.offset; offset 229 gpu/command_buffer/service/common_decoder.cc if (!bucket->SetData(data, offset, size)) { offset 276 gpu/command_buffer/service/common_decoder.cc uint32 offset = args.offset; offset 287 gpu/command_buffer/service/common_decoder.cc const void* src = bucket->GetData(offset, size); offset 62 gpu/command_buffer/service/common_decoder.h void* GetData(size_t offset, size_t size) const; offset 65 gpu/command_buffer/service/common_decoder.h T GetDataAs(size_t offset, size_t size) const { offset 66 gpu/command_buffer/service/common_decoder.h return reinterpret_cast<T>(GetData(offset, size)); offset 74 gpu/command_buffer/service/common_decoder.h bool SetData(const void* src, size_t offset, size_t size); offset 86 gpu/command_buffer/service/common_decoder.h bool OffsetSizeValid(size_t offset, size_t size) const { offset 87 gpu/command_buffer/service/common_decoder.h size_t temp = offset + size; offset 88 gpu/command_buffer/service/common_decoder.h return temp <= size_ && temp >= offset; offset 124 gpu/command_buffer/service/common_decoder.h unsigned int offset, offset 129 gpu/command_buffer/service/common_decoder.h T GetSharedMemoryAs(unsigned int shm_id, unsigned int offset, offset 131 gpu/command_buffer/service/common_decoder.h return static_cast<T>(GetAddressAndCheckSize(shm_id, offset, size)); offset 98 gpu/command_buffer/service/common_decoder_unittest.cc T GetSharedMemoryAs(uint32 offset) { offset 99 gpu/command_buffer/service/common_decoder_unittest.cc DCHECK_LT(offset, kBufferSize); offset 101 gpu/command_buffer/service/common_decoder_unittest.cc return reinterpret_cast<T>(&buffer_memory[offset]); offset 106 gpu/command_buffer/service/common_decoder_unittest.cc ptrdiff_t offset = static_cast<const int8*>(memory) - &buffer_memory[0]; offset 107 gpu/command_buffer/service/common_decoder_unittest.cc DCHECK_GE(offset, 0); offset 108 gpu/command_buffer/service/common_decoder_unittest.cc DCHECK_LT(static_cast<size_t>(offset), kBufferSize); offset 109 gpu/command_buffer/service/common_decoder_unittest.cc return static_cast<int32>(offset); offset 128 gpu/command_buffer/service/common_decoder_unittest.cc virtual bool SetGetOffset(int32 offset) OVERRIDE { offset 129 gpu/command_buffer/service/common_decoder_unittest.cc if (static_cast<size_t>(offset) < kBufferSize) { offset 130 gpu/command_buffer/service/common_decoder_unittest.cc get_offset_ = offset; offset 194 gpu/command_buffer/service/context_state.cc const void* ptr = reinterpret_cast<const void*>(attrib->offset()); offset 1237 gpu/command_buffer/service/gles2_cmd_decoder.cc GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data); offset 1330 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint buffer_id, GLsizei count, GLenum type, GLuint offset); offset 1499 gpu/command_buffer/service/gles2_cmd_decoder.cc int32 offset, GLsizei primcount); offset 6249 gpu/command_buffer/service/gles2_cmd_decoder.cc const void* ptr = reinterpret_cast<const void*>(attrib->offset()); offset 6348 gpu/command_buffer/service/gles2_cmd_decoder.cc GLintptr offset = 0; offset 6369 gpu/command_buffer/service/gles2_cmd_decoder.cc attrib->buffer()->GetRange(attrib->offset(), size)); offset 6375 gpu/command_buffer/service/gles2_cmd_decoder.cc glBufferSubData(GL_ARRAY_BUFFER, offset, size, data.get()); offset 6378 gpu/command_buffer/service/gles2_cmd_decoder.cc reinterpret_cast<GLvoid*>(offset)); offset 6379 gpu/command_buffer/service/gles2_cmd_decoder.cc offset += size; offset 6502 gpu/command_buffer/service/gles2_cmd_decoder.cc int32 offset, offset 6517 gpu/command_buffer/service/gles2_cmd_decoder.cc if (offset < 0) { offset 6547 gpu/command_buffer/service/gles2_cmd_decoder.cc offset, count, type, &max_vertex_accessed)) { offset 6571 gpu/command_buffer/service/gles2_cmd_decoder.cc const GLvoid* indices = reinterpret_cast<const GLvoid*>(offset); offset 6576 gpu/command_buffer/service/gles2_cmd_decoder.cc indices = element_array_buffer->GetRange(offset, 0); offset 6635 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint buffer_id, GLsizei count, GLenum type, GLuint offset) { offset 6644 gpu/command_buffer/service/gles2_cmd_decoder.cc offset, count, type, &max_vertex_accessed)) { offset 7088 gpu/command_buffer/service/gles2_cmd_decoder.cc } else if (c.offset != 0) { offset 7101 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei offset = c.offset; offset 7102 gpu/command_buffer/service/gles2_cmd_decoder.cc const void* ptr = reinterpret_cast<const void*>(offset); offset 7127 gpu/command_buffer/service/gles2_cmd_decoder.cc if (offset < 0) { offset 7134 gpu/command_buffer/service/gles2_cmd_decoder.cc if (offset % component_size > 0) { offset 7154 gpu/command_buffer/service/gles2_cmd_decoder.cc offset); offset 7707 gpu/command_buffer/service/gles2_cmd_decoder.cc size_t offset = extensions.find(kOESDerivativeExtension); offset 7708 gpu/command_buffer/service/gles2_cmd_decoder.cc if (std::string::npos != offset) { offset 7709 gpu/command_buffer/service/gles2_cmd_decoder.cc extensions.replace(offset, arraysize(kOESDerivativeExtension), offset 7714 gpu/command_buffer/service/gles2_cmd_decoder.cc size_t offset = extensions.find(kEXTFragDepthExtension); offset 7715 gpu/command_buffer/service/gles2_cmd_decoder.cc if (std::string::npos != offset) { offset 7716 gpu/command_buffer/service/gles2_cmd_decoder.cc extensions.replace(offset, arraysize(kEXTFragDepthExtension), offset 7721 gpu/command_buffer/service/gles2_cmd_decoder.cc size_t offset = extensions.find(kEXTDrawBuffersExtension); offset 7722 gpu/command_buffer/service/gles2_cmd_decoder.cc if (std::string::npos != offset) { offset 7723 gpu/command_buffer/service/gles2_cmd_decoder.cc extensions.replace(offset, arraysize(kEXTDrawBuffersExtension), offset 7762 gpu/command_buffer/service/gles2_cmd_decoder.cc GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) { offset 7765 gpu/command_buffer/service/gles2_cmd_decoder.cc &state_, target, offset, size, data); offset 8715 gpu/command_buffer/service/gles2_cmd_decoder.cc state_.vertex_attrib_manager->GetVertexAttrib(index)->offset(); offset 209 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLintptr offset = static_cast<GLintptr>(c.offset); offset 225 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DoBufferSubData(target, offset, size, data); offset 3140 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLuint offset = static_cast<GLuint>(c.offset); offset 3157 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h *result_dst = DoGetMaxValueInBufferCHROMIUM(buffer_id, count, type, offset); offset 2318 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLint offset = y * padded_row_size + x * bytes_per_pixel_; offset 2319 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc return static_cast<const int8*>(address) + offset; offset 3558 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc GLuint offset = num_bytes * offset_mult[oo] + offset_offset[oo]; offset 3564 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc bool offset_good = (offset % num_bytes == 0); offset 3575 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc BufferOffset(offset))); offset 3578 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc cmd.Init(index, size, type, normalize, stride, offset); offset 939 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc GLuint index, GLint size, GLenum type, GLsizei stride, GLuint offset) { offset 942 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc BufferOffset(offset))) offset 946 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc cmd.Init(index, size, GL_FLOAT, GL_FALSE, stride, offset); offset 1312 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc GLenum target, GLint offset, GLsizei size, const void* data) { offset 1313 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc EXPECT_CALL(*gl_, BufferSubData(target, offset, size, offset 1319 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc cmd.Init(target, offset, size, shared_memory_id_, shared_memory_offset_); offset 1441 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc int32 offset) { offset 97 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h T GetSharedMemoryAsWithOffset(uint32 offset) { offset 98 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h void* ptr = reinterpret_cast<int8*>(shared_memory_address_) + offset; offset 269 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h GLuint index, GLint size, GLenum type, GLsizei stride, GLuint offset); offset 277 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h GLenum target, GLint offset, GLsizei size, const void* data); offset 531 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h virtual bool SetGetOffset(int32 offset) OVERRIDE; offset 210 gpu/command_buffer/service/gpu_scheduler.cc bool GpuScheduler::SetGetOffset(int32 offset) { offset 211 gpu/command_buffer/service/gpu_scheduler.cc if (parser_->set_get(offset)) { offset 89 gpu/command_buffer/service/gpu_scheduler.h virtual bool SetGetOffset(int32 offset) OVERRIDE; offset 164 gpu/command_buffer/service/gpu_tracer.cc int64 offset) offset 167 gpu/command_buffer/service/gpu_tracer.cc offset_(offset), offset 118 gpu/command_buffer/service/gpu_tracer.h int64 offset); offset 124 gpu/command_buffer/service/query_manager_unittest.cc virtual bool SetGetOffset(int32 offset) OVERRIDE { offset 52 gpu/command_buffer/service/vertex_attrib_manager.cc GLsizei offset) { offset 60 gpu/command_buffer/service/vertex_attrib_manager.cc offset_ = offset; offset 204 gpu/command_buffer/service/vertex_attrib_manager.cc const void* ptr = buffer->GetRange(attrib->offset(), 0); offset 220 gpu/command_buffer/service/vertex_attrib_manager.cc const void* ptr = reinterpret_cast<const void*>(attrib->offset()); offset 40 gpu/command_buffer/service/vertex_attrib_manager.h GLsizei offset() const { offset 116 gpu/command_buffer/service/vertex_attrib_manager.h GLsizei offset); offset 201 gpu/command_buffer/service/vertex_attrib_manager.h GLsizei offset) { offset 211 gpu/command_buffer/service/vertex_attrib_manager.h buffer, size, type, normalized, gl_stride, real_stride, offset); offset 75 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc EXPECT_EQ(0, attrib->offset()); offset 120 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc EXPECT_EQ(4, attrib->offset()); offset 139 gpu/command_buffer/tests/gl_test_utils.cc int offset = yy * width * 4 + xx * 4; offset 141 gpu/command_buffer/tests/gl_test_utils.cc uint8 actual = pixels[offset + jj]; offset 179 gpu/command_buffer/tests/gl_test_utils.cc uint8 offset[4]; offset 211 gpu/command_buffer/tests/gl_test_utils.cc int offset = ii * 4; offset 212 gpu/command_buffer/tests/gl_test_utils.cc uint8 t = pixels[offset + 0]; offset 213 gpu/command_buffer/tests/gl_test_utils.cc pixels[offset + 0] = pixels[offset + 2]; offset 214 gpu/command_buffer/tests/gl_test_utils.cc pixels[offset + 2] = t; offset 224 gpu/command_buffer/tests/gl_test_utils.cc Set32BitValue(bhf.offset, sizeof(bhf) + sizeof(bih)); offset 381 gpu/tools/compositor_model_bench/shaders.cc unsigned offset = 0; offset 387 gpu/tools/compositor_model_bench/shaders.cc reinterpret_cast<void*>(offset)); offset 388 gpu/tools/compositor_model_bench/shaders.cc offset += 3 * sizeof(float); offset 394 gpu/tools/compositor_model_bench/shaders.cc reinterpret_cast<void*>(offset)); offset 79 jingle/glue/fake_ssl_client_socket_unittest.cc size_t offset = 0; offset 80 jingle/glue/fake_ssl_client_socket_unittest.cc while (offset < data.size()) { offset 81 jingle/glue/fake_ssl_client_socket_unittest.cc size_t bounded_chunk_size = std::min(data.size() - offset, chunk_size); offset 82 jingle/glue/fake_ssl_client_socket_unittest.cc ops->push_back(net::MockReadWrite<type>(mode, data.data() + offset, offset 84 jingle/glue/fake_ssl_client_socket_unittest.cc offset += bounded_chunk_size; offset 43 media/audio/sounds/wav_audio_handler.cc T ReadInt(const base::StringPiece& data, size_t offset) { offset 44 media/audio/sounds/wav_audio_handler.cc CHECK_LE(offset + sizeof(T), data.size()); offset 46 media/audio/sounds/wav_audio_handler.cc memcpy(&result, data.data() + offset, sizeof(T)); offset 68 media/audio/sounds/wav_audio_handler.cc uint32 offset = kWavFileHeaderSize; offset 69 media/audio/sounds/wav_audio_handler.cc while (offset < total_length) { offset 70 media/audio/sounds/wav_audio_handler.cc const int length = ParseSubChunk(wav_data.substr(offset)); offset 72 media/audio/sounds/wav_audio_handler.cc offset += length; offset 149 media/audio/win/audio_output_win_unittest.cc const void* GetChunkAt(uint32 offset) { offset 150 media/audio/win/audio_output_win_unittest.cc return &start_[offset]; offset 118 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java private DequeueOutputResult(int status, int index, int flags, int offset, offset 123 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java mOffset = offset; offset 349 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java int index, int offset, int size, long presentationTimeUs, int flags) { offset 352 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java mMediaCodec.queueInputBuffer(index, offset, size, presentationTimeUs, flags); offset 376 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java int index, int offset, byte[] iv, byte[] keyId, int[] numBytesOfClearData, offset 383 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java mMediaCodec.queueSecureInputBuffer(index, offset, cryptoInfo, presentationTimeUs, 0); offset 442 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java status, index, info.flags, info.offset, info.presentationTimeUs, info.size); offset 347 media/base/android/media_codec_bridge.cc size_t* offset, offset 357 media/base/android/media_codec_bridge.cc *offset = base::checked_cast<size_t>( offset 374 media/base/android/media_codec_bridge.cc << ", index: " << *index << ", offset: " << *offset offset 421 media/base/android/media_codec_bridge.cc size_t offset, offset 429 media/base/android/media_codec_bridge.cc offset; offset 430 media/base/android/media_codec_bridge.cc int src_capacity = env->GetDirectBufferCapacity(j_buffer.obj()) - offset; offset 149 media/base/android/media_codec_bridge.h size_t* offset, offset 175 media/base/android/media_codec_bridge.h bool CopyFromOutputBuffer(int index, size_t offset, void* dst, int dst_size); offset 342 media/base/android/media_decoder_job.cc size_t offset = 0; offset 352 media/base/android/media_decoder_job.cc &offset, offset 225 media/base/audio_buffer.cc for (int i = 0, offset = ch; i < frames_to_copy; offset 226 media/base/audio_buffer.cc ++i, offset += channel_count_) { offset 227 media/base/audio_buffer.cc dest_data[i] = source_data[offset]; offset 250 media/base/audio_buffer.cc double offset = static_cast<double>(duration_.InMicroseconds()) * offset 253 media/base/audio_buffer.cc base::TimeDelta::FromMicroseconds(static_cast<int64>(offset)); offset 268 media/base/audio_buffer.cc double offset = static_cast<double>(duration_.InMicroseconds()) * offset 271 media/base/audio_buffer.cc base::TimeDelta::FromMicroseconds(static_cast<int64>(offset)); offset 153 media/base/audio_buffer_queue.cc int offset) { offset 155 media/base/audio_buffer_queue.cc double time_offset = ((*buffer)->duration().InMicroseconds() * offset) / offset 86 media/base/audio_buffer_queue.h void UpdateCurrentTime(BufferQueue::iterator buffer, int offset); offset 51 media/base/audio_bus.cc for (int i = start_frame, offset = ch; i < start_frame + frames; offset 52 media/base/audio_bus.cc ++i, offset += channels) { offset 53 media/base/audio_bus.cc const Fixed v = static_cast<Fixed>(source[offset]) - Bias; offset 71 media/base/audio_bus.cc for (int i = start_frame, offset = ch; i < start_frame + frames; offset 72 media/base/audio_bus.cc ++i, offset += channels) { offset 81 media/base/audio_bus.cc dest[offset] = static_cast<Format>(sample) + Bias; offset 99 media/base/container_names.cc int offset = 0; offset 100 media/base/container_names.cc while (offset + 6 < buffer_size) { offset 101 media/base/container_names.cc BitReader reader(buffer + offset, 6); offset 125 media/base/container_names.cc offset += size; offset 141 media/base/container_names.cc int offset = 0; offset 142 media/base/container_names.cc while (offset + 6 < buffer_size) { offset 143 media/base/container_names.cc BitReader reader(buffer + offset, 6); offset 162 media/base/container_names.cc offset += kAc3FrameSizeTable[frame_size_code][sample_rate_code]; offset 176 media/base/container_names.cc int offset = 0; offset 177 media/base/container_names.cc while (offset + 6 < buffer_size) { offset 178 media/base/container_names.cc BitReader reader(buffer + offset, 6); offset 200 media/base/container_names.cc offset += frame_size; offset 278 media/base/container_names.cc int offset = 0; offset 279 media/base/container_names.cc while (offset + 11 < buffer_size) { offset 280 media/base/container_names.cc BitReader reader(buffer + offset, 11); offset 322 media/base/container_names.cc offset += frame_size + 1; offset 333 media/base/container_names.cc int offset = 0; offset 336 media/base/container_names.cc while (offset + 11 < buffer_size) { offset 337 media/base/container_names.cc BitReader reader(buffer + offset, 11); offset 384 media/base/container_names.cc offset += 80; offset 398 media/base/container_names.cc int offset = 0; offset 399 media/base/container_names.cc while (offset < buffer_size) { offset 401 media/base/container_names.cc RCHECK((buffer[offset] & 0xf0) == 0xd0); offset 402 media/base/container_names.cc offset += 33; offset 414 media/base/container_names.cc int* offset, offset 424 media/base/container_names.cc while (*offset + bytes_needed < buffer_size) { offset 425 media/base/container_names.cc uint32 next = Read24(buffer + *offset); offset 428 media/base/container_names.cc ++(*offset); offset 439 media/base/container_names.cc int offset = 0; offset 443 media/base/container_names.cc if (!AdvanceToStartCode(buffer, buffer_size, &offset, 4, 20, 0x10)) { offset 451 media/base/container_names.cc BitReader reader(buffer + offset, buffer_size - offset); offset 477 media/base/container_names.cc offset += 4; offset 488 media/base/container_names.cc int offset = 0; offset 492 media/base/container_names.cc if (!AdvanceToStartCode(buffer, buffer_size, &offset, 9, 22, 0x20)) { offset 500 media/base/container_names.cc BitReader reader(buffer + offset, 9); offset 545 media/base/container_names.cc offset += 9; offset 556 media/base/container_names.cc int offset = 0; offset 560 media/base/container_names.cc if (!AdvanceToStartCode(buffer, buffer_size, &offset, 4, 24, 1)) { offset 568 media/base/container_names.cc BitReader reader(buffer + offset, 4); offset 596 media/base/container_names.cc offset += 4; offset 616 media/base/container_names.cc int offset = strlen(kHlsSignature); offset 617 media/base/container_names.cc while (offset < buffer_size) { offset 618 media/base/container_names.cc if (buffer[offset] == '#') { offset 619 media/base/container_names.cc if (StartsWith(buffer + offset, buffer_size - offset, kHls1) || offset 620 media/base/container_names.cc StartsWith(buffer + offset, buffer_size - offset, kHls2) || offset 621 media/base/container_names.cc StartsWith(buffer + offset, buffer_size - offset, kHls3)) { offset 625 media/base/container_names.cc ++offset; offset 637 media/base/container_names.cc int offset = 0; offset 640 media/base/container_names.cc while (offset + 5 < buffer_size) { offset 642 media/base/container_names.cc RCHECK(buffer[offset] == 0xff); offset 643 media/base/container_names.cc uint8 code = buffer[offset + 1]; offset 648 media/base/container_names.cc ++offset; offset 659 media/base/container_names.cc offset += 2; offset 666 media/base/container_names.cc offset += 2; offset 669 media/base/container_names.cc int length = Read16(buffer + offset + 2) + 2; offset 675 media/base/container_names.cc int number_components = buffer[offset + 4]; offset 679 media/base/container_names.cc offset += length; offset 680 media/base/container_names.cc while (offset + 2 < buffer_size) { offset 681 media/base/container_names.cc if (buffer[offset] == 0xff && buffer[offset + 1] != 0) offset 683 media/base/container_names.cc ++offset; offset 687 media/base/container_names.cc offset += length; offset 705 media/base/container_names.cc int offset = 0; offset 706 media/base/container_names.cc while (offset + 14 < buffer_size) { offset 707 media/base/container_names.cc BitReader reader(buffer + offset, 14); offset 752 media/base/container_names.cc offset += 12; offset 766 media/base/container_names.cc offset += 14 + pack_stuffing_length; offset 770 media/base/container_names.cc while (offset + 6 < buffer_size && Read24(buffer + offset) == 1) { offset 772 media/base/container_names.cc int stream_id = buffer[offset + 3]; offset 786 media/base/container_names.cc int pes_length = Read16(buffer + offset + 4); offset 788 media/base/container_names.cc offset = offset + 6 + pes_length; offset 807 media/base/container_names.cc int offset = 0; offset 809 media/base/container_names.cc while (buffer[offset] != kMpeg2SyncWord && offset < 20) { offset 811 media/base/container_names.cc ++offset; offset 814 media/base/container_names.cc while (offset + 6 < buffer_size) { offset 815 media/base/container_names.cc BitReader reader(buffer + offset, 6); offset 850 media/base/container_names.cc if (buffer[offset + 188] == kMpeg2SyncWord) offset 852 media/base/container_names.cc else if (buffer[offset + 192] == kMpeg2SyncWord) offset 854 media/base/container_names.cc else if (buffer[offset + 204] == kMpeg2SyncWord) offset 859 media/base/container_names.cc offset += packet_length; offset 878 media/base/container_names.cc int offset = 0; offset 885 media/base/container_names.cc if (!AdvanceToStartCode(buffer, buffer_size, &offset, 6, 24, 1)) { offset 893 media/base/container_names.cc BitReader reader(buffer + offset, 6); offset 943 media/base/container_names.cc offset += 6; offset 953 media/base/container_names.cc int offset = 0; offset 954 media/base/container_names.cc while (offset + 8 < buffer_size) { offset 955 media/base/container_names.cc int atomsize = Read32(buffer + offset); offset 956 media/base/container_names.cc uint32 atomtype = Read32(buffer + offset + 4); offset 980 media/base/container_names.cc if (offset + 16 > buffer_size) offset 982 media/base/container_names.cc if (Read32(buffer + offset + 8) != 0) offset 984 media/base/container_names.cc atomsize = Read32(buffer + offset + 12); offset 988 media/base/container_names.cc offset += atomsize; offset 1098 media/base/container_names.cc int offset = 0; offset 1100 media/base/container_names.cc offset = GetMp3HeaderSize(buffer, buffer_size); offset 1103 media/base/container_names.cc while (offset < buffer_size && buffer[offset] == 0) offset 1104 media/base/container_names.cc ++offset; offset 1107 media/base/container_names.cc while (offset + 3 < buffer_size) { offset 1109 media/base/container_names.cc buffer + offset, buffer_size - offset, &framesize)); offset 1114 media/base/container_names.cc offset += framesize; offset 1126 media/base/container_names.cc int* offset, offset 1128 media/base/container_names.cc RCHECK(*offset < buffer_size); offset 1131 media/base/container_names.cc while (isspace(buffer[*offset])) { offset 1132 media/base/container_names.cc ++(*offset); offset 1133 media/base/container_names.cc RCHECK(*offset < buffer_size); offset 1138 media/base/container_names.cc while (--max_digits >= 0 && isdigit(buffer[*offset])) { offset 1140 media/base/container_names.cc ++(*offset); offset 1141 media/base/container_names.cc if (*offset >= buffer_size) offset 1154 media/base/container_names.cc int* offset, offset 1157 media/base/container_names.cc RCHECK(*offset < buffer_size); offset 1158 media/base/container_names.cc char c = static_cast<char>(buffer[(*offset)++]); offset 1168 media/base/container_names.cc int offset = StartsWith(buffer, buffer_size, UTF8_BYTE_ORDER_MARK) ? 3 : 0; offset 1169 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 100)); offset 1170 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '\n', '\r')); offset 1173 media/base/container_names.cc while (VerifyCharacters(buffer, buffer_size, &offset, '\n', '\r')) {} offset 1174 media/base/container_names.cc --offset; // Since VerifyCharacters() gobbled up the next non-CR/LF. offset 1179 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 100)); offset 1180 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0)); offset 1181 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2)); offset 1182 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0)); offset 1183 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2)); offset 1184 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ',', '.')); offset 1185 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 3)); offset 1186 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ' ', 0)); offset 1187 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '-', 0)); offset 1188 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '-', 0)); offset 1189 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '>', 0)); offset 1190 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ' ', 0)); offset 1191 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 100)); offset 1192 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0)); offset 1193 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2)); offset 1194 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0)); offset 1195 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2)); offset 1196 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ',', '.')); offset 1197 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 3)); offset 1354 media/base/container_names.cc int offset = 0; offset 1359 media/base/container_names.cc if (!AdvanceToStartCode(buffer, buffer_size, &offset, 5, 24, 1)) { offset 1368 media/base/container_names.cc BitReader reader(buffer + offset, 5); offset 1400 media/base/container_names.cc offset += 5; offset 1658 media/base/container_names.cc int offset = 1; // No need to start at byte 0 due to First4 check. offset 1659 media/base/container_names.cc if (AdvanceToStartCode(buffer, buffer_size, &offset, 4, 16, kAc3SyncWord)) { offset 1660 media/base/container_names.cc if (CheckAc3(buffer + offset, buffer_size - offset)) offset 1662 media/base/container_names.cc if (CheckEac3(buffer + offset, buffer_size - offset)) offset 99 media/base/seekable_buffer.cc bool SeekableBuffer::Seek(int32 offset) { offset 100 media/base/seekable_buffer.cc if (offset > 0) offset 101 media/base/seekable_buffer.cc return SeekForward(offset); offset 102 media/base/seekable_buffer.cc else if (offset < 0) offset 103 media/base/seekable_buffer.cc return SeekBackward(-offset); offset 265 media/base/seekable_buffer.cc int offset) { offset 269 media/base/seekable_buffer.cc int64 time_offset = ((*buffer)->duration().InMicroseconds() * offset) / offset 96 media/base/seekable_buffer.h bool Seek(int32 offset); offset 163 media/base/seekable_buffer.h void UpdateCurrentTime(BufferQueue::iterator buffer, int offset); offset 197 media/base/vector_math_unittest.cc EWMATestScenario WithImpulse(float value, int offset) const { offset 199 media/base/vector_math_unittest.cc result.data_.get()[offset] = value; offset 213 media/base/video_util.cc int offset; offset 215 media/base/video_util.cc offset = (width - height) / 2; offset 216 media/base/video_util.cc src += offset; offset 219 media/base/video_util.cc offset = (height - width) / 2; offset 220 media/base/video_util.cc src += width * offset; offset 228 media/base/video_util.cc dest += (width > height ? width * (height - 1) + offset : offset 229 media/base/video_util.cc width * (height - offset - 1)); offset 231 media/base/video_util.cc dest += (width > height ? offset : width * offset); offset 235 media/base/video_util.cc dest += (width > height ? width * height - offset - 1 : offset 236 media/base/video_util.cc width * (height - offset) - 1); offset 238 media/base/video_util.cc dest += (width > height ? width - offset - 1 : offset 239 media/base/video_util.cc width * (offset + 1) - 1); offset 145 media/cdm/ppapi/cdm_helpers.h uint32_t offset) OVERRIDE { offset 147 media/cdm/ppapi/cdm_helpers.h plane_offsets_[plane] = offset; offset 204 media/filters/audio_file_reader.cc for (int i = 0, offset = ch; i < frames_read; offset 205 media/filters/audio_file_reader.cc ++i, offset += channels) { offset 206 media/filters/audio_file_reader.cc bus_data[i] = decoded_audio_data[offset]; offset 34 media/filters/audio_renderer_algorithm_unittest.cc int half_pulse_width, int offset, int num_samples, float* data) { offset 35 media/filters/audio_renderer_algorithm_unittest.cc ASSERT_GE(offset, 0); offset 36 media/filters/audio_renderer_algorithm_unittest.cc ASSERT_LE(offset, num_samples); offset 41 media/filters/audio_renderer_algorithm_unittest.cc for (int n = offset - 1, k = 0; n >= 0; --n, ++k) { offset 52 media/filters/audio_renderer_algorithm_unittest.cc for (int n = offset, k = 0; n < num_samples; ++n, ++k) { offset 62 media/filters/audio_renderer_algorithm_unittest.cc int half_pulse_width, int offset, int channel, AudioBus* audio_bus) { offset 63 media/filters/audio_renderer_algorithm_unittest.cc FillWithSquarePulseTrain(half_pulse_width, offset, audio_bus->frames(), offset 30 media/filters/ffmpeg_glue.cc static int64 AVIOSeekOperation(void* opaque, int64 offset, int whence) { offset 35 media/filters/ffmpeg_glue.cc if (protocol->SetPosition(offset)) offset 43 media/filters/ffmpeg_glue.cc if (protocol->SetPosition(pos + offset)) offset 51 media/filters/ffmpeg_glue.cc if (protocol->SetPosition(size + offset)) offset 62 media/filters/ffmpeg_glue_unittest.cc int64 Seek(int64 offset, int whence) { offset 63 media/filters/ffmpeg_glue_unittest.cc return glue_->format_context()->pb->seek(protocol_.get(), offset, whence); offset 160 media/filters/h264_parser.cc off_t* offset, off_t* start_code_size) { offset 167 media/filters/h264_parser.cc *offset = data_size - bytes_left; offset 172 media/filters/h264_parser.cc if (*offset > 0 && *(data - 1) == 0x00) { offset 173 media/filters/h264_parser.cc --(*offset); offset 189 media/filters/h264_parser.cc *offset = data_size - bytes_left; offset 282 media/filters/h264_parser.h off_t* offset, off_t* start_code_size); offset 42 media/filters/legacy_frame_processor.cc base::TimeDelta offset = *timestamp_offset; offset 61 media/filters/legacy_frame_processor.cc AdjustBufferTimestamps(audio_buffers, offset); offset 68 media/filters/legacy_frame_processor.cc AdjustBufferTimestamps(video_buffers, offset); offset 121 media/filters/legacy_frame_processor.cc offset, text_buffers, new_media_segment)) { offset 39 media/formats/common/offset_byte_queue.cc void OffsetByteQueue::PeekAt(int64 offset, const uint8** buf, int* size) { offset 40 media/formats/common/offset_byte_queue.cc DCHECK(offset >= head()); offset 41 media/formats/common/offset_byte_queue.cc if (offset < head() || offset >= tail()) { offset 46 media/formats/common/offset_byte_queue.cc *buf = &buf_[offset - head()]; offset 47 media/formats/common/offset_byte_queue.cc *size = tail() - offset; offset 35 media/formats/common/offset_byte_queue.h void PeekAt(int64 offset, const uint8** buf, int* size); offset 68 media/formats/mp2t/es_parser_adts.cc for (int offset = pos; offset < max_offset; offset++) { offset 69 media/formats/mp2t/es_parser_adts.cc const uint8* cur_buf = &raw_es[offset]; offset 84 media/formats/mp2t/es_parser_adts.cc int remaining_size = raw_es_size - offset; offset 90 media/formats/mp2t/es_parser_adts.cc *new_pos = offset; offset 29 media/formats/mp2t/es_parser_h264_unittest.cc size_t offset; offset 42 media/formats/mp2t/es_parser_h264_unittest.cc DCHECK_GE(packets[k + 1].offset, packets[k].offset); offset 43 media/formats/mp2t/es_parser_h264_unittest.cc packets[k].size = packets[k + 1].offset - packets[k].offset; offset 46 media/formats/mp2t/es_parser_h264_unittest.cc stream_size - packets[packets.size() - 1].offset; offset 58 media/formats/mp2t/es_parser_h264_unittest.cc size_t offset = 0; offset 64 media/formats/mp2t/es_parser_h264_unittest.cc &stream[offset], stream_size - offset, offset 68 media/formats/mp2t/es_parser_h264_unittest.cc offset += relative_offset; offset 72 media/formats/mp2t/es_parser_h264_unittest.cc cur_access_unit.offset = offset; offset 78 media/formats/mp2t/es_parser_h264_unittest.cc offset += start_code_size; offset 79 media/formats/mp2t/es_parser_h264_unittest.cc if (offset >= stream_size) offset 81 media/formats/mp2t/es_parser_h264_unittest.cc int nal_unit_type = stream[offset] & 0x1f; offset 105 media/formats/mp2t/es_parser_h264_unittest.cc size_t offset = 0; offset 107 media/formats/mp2t/es_parser_h264_unittest.cc access_units_with_aud[k].offset = offset; offset 110 media/formats/mp2t/es_parser_h264_unittest.cc memcpy(&stream_with_aud[offset], aud, sizeof(aud)); offset 111 media/formats/mp2t/es_parser_h264_unittest.cc offset += sizeof(aud); offset 113 media/formats/mp2t/es_parser_h264_unittest.cc memcpy(&stream_with_aud[offset], offset 114 media/formats/mp2t/es_parser_h264_unittest.cc &stream[access_units[k].offset], access_units[k].size); offset 115 media/formats/mp2t/es_parser_h264_unittest.cc offset += access_units[k].size; offset 186 media/formats/mp2t/es_parser_h264_unittest.cc size_t pes_start = pes_packets[pes_idx].offset; offset 187 media/formats/mp2t/es_parser_h264_unittest.cc size_t pes_end = pes_packets[pes_idx].offset + pes_packets[pes_idx].size; offset 188 media/formats/mp2t/es_parser_h264_unittest.cc if (pes_start <= access_units_[k].offset && offset 189 media/formats/mp2t/es_parser_h264_unittest.cc pes_end > access_units_[k].offset) { offset 205 media/formats/mp2t/es_parser_h264_unittest.cc size_t cur_pes_offset = pes_packets[k].offset; offset 243 media/formats/mp2t/es_parser_h264_unittest.cc cur_pes_packet.offset = 0; offset 251 media/formats/mp2t/es_parser_h264_unittest.cc cur_pes_packet.offset = access_units_[k].offset + offset 280 media/formats/mp2t/es_parser_h264_unittest.cc cur_pes_packet.offset = 0; offset 281 media/formats/mp2t/es_parser_h264_unittest.cc while (cur_pes_packet.offset < stream_.size()) { offset 283 media/formats/mp2t/es_parser_h264_unittest.cc cur_pes_packet.offset += pes_size; offset 549 media/formats/mp4/mp4_stream_parser.cc bool MP4StreamParser::ReadAndDiscardMDATsUntil(const int64 offset) { offset 551 media/formats/mp4/mp4_stream_parser.cc while (mdat_tail_ < offset) { offset 568 media/formats/mp4/mp4_stream_parser.cc queue_.Trim(std::min(mdat_tail_, offset)); offset 62 media/formats/mp4/mp4_stream_parser.h bool ReadAndDiscardMDATsUntil(const int64 offset); offset 365 media/formats/mp4/track_run_iterator.cc int64 offset = kint64max; offset 368 media/formats/mp4/track_run_iterator.cc offset = std::min(offset, sample_offset_); offset 370 media/formats/mp4/track_run_iterator.cc offset = std::min(offset, aux_info_offset()); offset 375 media/formats/mp4/track_run_iterator.cc offset = std::min(offset, next_run->sample_start_offset); offset 377 media/formats/mp4/track_run_iterator.cc offset = std::min(offset, next_run->aux_info_start_offset); offset 380 media/formats/mp4/track_run_iterator.cc if (offset == kint64max) return 0; offset 381 media/formats/mp4/track_run_iterator.cc return offset; offset 143 media/formats/mp4/track_run_iterator_unittest.cc void AddAuxInfoHeaders(int offset, TrackFragment* frag) { offset 144 media/formats/mp4/track_run_iterator_unittest.cc frag->auxiliary_offset.offsets.push_back(offset); offset 242 media/formats/mpeg/mpeg_audio_stream_parser_base.cc int offset = LocateEndOfHeaders(data, locate_size, 4); offset 243 media/formats/mpeg/mpeg_audio_stream_parser_base.cc if (offset < 0) { offset 252 media/formats/mpeg/mpeg_audio_stream_parser_base.cc return offset; offset 164 media/formats/webm/cluster_builder.cc void ClusterBuilder::UpdateUInt64(int offset, int64 value) { offset 165 media/formats/webm/cluster_builder.cc DCHECK_LE(offset + 7, buffer_size_); offset 166 media/formats/webm/cluster_builder.cc uint8* buf = buffer_.get() + offset; offset 45 media/formats/webm/cluster_builder.h void UpdateUInt64(int offset, int64 value); offset 98 media/formats/webm/webm_cluster_parser_unittest.cc size_t* offset; offset 103 media/formats/webm/webm_cluster_parser_unittest.cc offset = &audio_offset; offset 107 media/formats/webm/webm_cluster_parser_unittest.cc offset = &video_offset; offset 111 media/formats/webm/webm_cluster_parser_unittest.cc offset = &text_offset; offset 118 media/formats/webm/webm_cluster_parser_unittest.cc if (*offset >= buffers->size()) offset 121 media/formats/webm/webm_cluster_parser_unittest.cc scoped_refptr<StreamParserBuffer> buffer = (*buffers)[(*offset)++]; offset 566 media/video/capture/linux/video_capture_device_linux.cc MAP_SHARED, device_fd_.get(), buffer.m.offset); offset 109 mojo/apps/js/bindings/gl/context.cc uint64_t offset) { offset 111 mojo/apps/js/bindings/gl/context.cc reinterpret_cast<void*>(offset)); offset 54 mojo/apps/js/bindings/gl/context.h uint64_t offset); offset 138 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc GLintptr offset, offset 143 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glBufferSubData(target, offset, size, data); offset 71 mojo/examples/sample_app/gles2_client_impl.cc MojoTimeTicks offset = GetTimeTicksNow() - drag_start_time_; offset 72 mojo/examples/sample_app/gles2_client_impl.cc float delta = static_cast<float>(offset) / 1000000.; offset 96 mojo/examples/sample_app/gles2_client_impl.cc MojoTimeTicks offset = now - last_time_; offset 97 mojo/examples/sample_app/gles2_client_impl.cc float delta = static_cast<float>(offset) / 1000000.; offset 60 mojo/public/c/gles2/gles2_call_visitor_autogen.h (GLenum target, GLintptr offset, GLsizeiptr size, const void* data), offset 61 mojo/public/c/gles2/gles2_call_visitor_autogen.h (target, offset, size, data)) offset 807 mojo/public/c/system/core.h uint64_t offset, offset 55 mojo/public/cpp/bindings/array.h ConstRef at(size_t offset) const { offset 56 mojo/public/cpp/bindings/array.h return Traits_::ToConstRef(data_->at(offset)); offset 58 mojo/public/cpp/bindings/array.h ConstRef operator[](size_t offset) const { return at(offset); } offset 73 mojo/public/cpp/bindings/array.h Ref at(size_t offset) { offset 74 mojo/public/cpp/bindings/array.h return Traits_::ToRef(data_->at(offset)); offset 76 mojo/public/cpp/bindings/array.h Ref operator[](size_t offset) { return at(offset); } offset 31 mojo/public/cpp/bindings/lib/array_internal.h static Ref ToRef(StorageType* storage, size_t offset) { offset 32 mojo/public/cpp/bindings/lib/array_internal.h return storage[offset]; offset 34 mojo/public/cpp/bindings/lib/array_internal.h static ConstRef ToConstRef(const StorageType* storage, size_t offset) { offset 35 mojo/public/cpp/bindings/lib/array_internal.h return storage[offset]; offset 49 mojo/public/cpp/bindings/lib/array_internal.h static Ref ToRef(StorageType* storage, size_t offset) { offset 50 mojo/public/cpp/bindings/lib/array_internal.h return storage[offset].ptr; offset 52 mojo/public/cpp/bindings/lib/array_internal.h static ConstRef ToConstRef(const StorageType* storage, size_t offset) { offset 53 mojo/public/cpp/bindings/lib/array_internal.h return storage[offset].ptr; offset 88 mojo/public/cpp/bindings/lib/array_internal.h static BitRef ToRef(StorageType* storage, size_t offset) { offset 89 mojo/public/cpp/bindings/lib/array_internal.h return BitRef(&storage[offset / 8], 1 << (offset % 8)); offset 91 mojo/public/cpp/bindings/lib/array_internal.h static bool ToConstRef(const StorageType* storage, size_t offset) { offset 92 mojo/public/cpp/bindings/lib/array_internal.h return (storage[offset / 8] & (1 << (offset % 8))) != 0; offset 208 mojo/public/cpp/bindings/lib/array_internal.h Ref at(size_t offset) { offset 209 mojo/public/cpp/bindings/lib/array_internal.h assert(offset < static_cast<size_t>(header_.num_elements)); offset 210 mojo/public/cpp/bindings/lib/array_internal.h return Traits::ToRef(storage(), offset); offset 213 mojo/public/cpp/bindings/lib/array_internal.h ConstRef at(size_t offset) const { offset 214 mojo/public/cpp/bindings/lib/array_internal.h assert(offset < static_cast<size_t>(header_.num_elements)); offset 215 mojo/public/cpp/bindings/lib/array_internal.h return Traits::ToConstRef(storage(), offset); offset 30 mojo/public/cpp/bindings/lib/bindings_internal.h uint64_t offset; offset 37 mojo/public/cpp/bindings/lib/bindings_internal.h uint64_t offset; offset 43 mojo/public/cpp/bindings/lib/bindings_internal.h uint64_t offset; offset 19 mojo/public/cpp/bindings/lib/bindings_serialization.cc void EncodePointer(const void* ptr, uint64_t* offset) { offset 21 mojo/public/cpp/bindings/lib/bindings_serialization.cc *offset = 0; offset 26 mojo/public/cpp/bindings/lib/bindings_serialization.cc const char* p_slot = reinterpret_cast<const char*>(offset); offset 29 mojo/public/cpp/bindings/lib/bindings_serialization.cc *offset = static_cast<uint64_t>(p_obj - p_slot); offset 32 mojo/public/cpp/bindings/lib/bindings_serialization.cc const void* DecodePointerRaw(const uint64_t* offset) { offset 33 mojo/public/cpp/bindings/lib/bindings_serialization.cc if (!*offset) offset 35 mojo/public/cpp/bindings/lib/bindings_serialization.cc return reinterpret_cast<const char*>(offset) + *offset; offset 26 mojo/public/cpp/bindings/lib/bindings_serialization.h void EncodePointer(const void* ptr, uint64_t* offset); offset 27 mojo/public/cpp/bindings/lib/bindings_serialization.h const void* DecodePointerRaw(const uint64_t* offset); offset 30 mojo/public/cpp/bindings/lib/bindings_serialization.h inline void DecodePointer(const uint64_t* offset, T** ptr) { offset 31 mojo/public/cpp/bindings/lib/bindings_serialization.h *ptr = reinterpret_cast<T*>(const_cast<void*>(DecodePointerRaw(offset))); offset 49 mojo/public/cpp/bindings/lib/bindings_serialization.h EncodePointer(obj->ptr, &obj->offset); offset 54 mojo/public/cpp/bindings/lib/bindings_serialization.h DecodePointer(&obj->offset, &obj->ptr); offset 497 mojo/public/cpp/system/core.h uint64_t offset, offset 502 mojo/public/cpp/system/core.h return MojoMapBuffer(buffer.value(), offset, num_bytes, pointer, flags); offset 141 mojo/public/system/core_private.cc uint64_t offset, offset 146 mojo/public/system/core_private.cc return g_core->MapBuffer(buffer_handle, offset, num_bytes, buffer, flags); offset 78 mojo/public/system/core_private.h uint64_t offset, offset 489 mojo/system/core_impl.cc uint64_t offset, offset 501 mojo/system/core_impl.cc MojoResult result = dispatcher->MapBuffer(offset, num_bytes, flags, &mapping); offset 89 mojo/system/core_impl.h uint64_t offset, offset 191 mojo/system/dispatcher.cc uint64_t offset, offset 199 mojo/system/dispatcher.cc return MapBufferImplNoLock(offset, num_bytes, flags, mapping); offset 105 mojo/system/dispatcher.h MojoResult MapBuffer(uint64_t offset, offset 227 mojo/system/dispatcher.h uint64_t offset, offset 256 mojo/system/message_in_transit.cc handle_table[i].offset = static_cast<uint32_t>(current_offset); offset 293 mojo/system/message_in_transit.cc size_t offset = handle_table[i].offset; offset 296 mojo/system/message_in_transit.cc if (offset % kMessageAlignment != 0 || offset > secondary_buffer_size_ || offset 297 mojo/system/message_in_transit.cc offset + size > secondary_buffer_size_) { offset 304 mojo/system/message_in_transit.cc const void* source = static_cast<const char*>(secondary_buffer_) + offset; offset 336 mojo/system/message_in_transit.cc size_t offset = handle_table[i].offset; offset 337 mojo/system/message_in_transit.cc if (offset % kMessageAlignment != 0) offset 347 mojo/system/message_in_transit.cc if (offset > secondary_buffer_size - size) offset 260 mojo/system/message_in_transit.h uint32_t offset; // Relative to the start of the secondary buffer. offset 24 mojo/system/raw_shared_buffer.cc scoped_ptr<RawSharedBufferMapping> RawSharedBuffer::Map(size_t offset, offset 26 mojo/system/raw_shared_buffer.cc if (!IsValidMap(offset, length)) offset 29 mojo/system/raw_shared_buffer.cc return MapNoCheck(offset, length); offset 32 mojo/system/raw_shared_buffer.cc bool RawSharedBuffer::IsValidMap(size_t offset, size_t length) { offset 33 mojo/system/raw_shared_buffer.cc if (offset > num_bytes_ || length == 0) offset 38 mojo/system/raw_shared_buffer.cc if (length > num_bytes_ - offset) offset 44 mojo/system/raw_shared_buffer.cc scoped_ptr<RawSharedBufferMapping> RawSharedBuffer::MapNoCheck(size_t offset, offset 46 mojo/system/raw_shared_buffer.cc DCHECK(IsValidMap(offset, length)); offset 49 mojo/system/raw_shared_buffer.cc return MapImplNoLock(offset, length); offset 48 mojo/system/raw_shared_buffer.h scoped_ptr<RawSharedBufferMapping> Map(size_t offset, size_t length); offset 51 mojo/system/raw_shared_buffer.h bool IsValidMap(size_t offset, size_t length); offset 55 mojo/system/raw_shared_buffer.h scoped_ptr<RawSharedBufferMapping> MapNoCheck(size_t offset, size_t length); offset 71 mojo/system/raw_shared_buffer.h scoped_ptr<RawSharedBufferMapping> MapImplNoLock(size_t offset, offset 86 mojo/system/raw_shared_buffer_posix.cc size_t offset, offset 90 mojo/system/raw_shared_buffer_posix.cc size_t offset_rounding = offset % base::SysInfo::VMAllocationGranularity(); offset 91 mojo/system/raw_shared_buffer_posix.cc size_t real_offset = offset - offset_rounding; offset 48 mojo/system/raw_shared_buffer_win.cc size_t offset, offset 52 mojo/system/raw_shared_buffer_win.cc size_t offset_rounding = offset % base::SysInfo::VMAllocationGranularity(); offset 53 mojo/system/raw_shared_buffer_win.cc size_t real_offset = offset - offset_rounding; offset 107 mojo/system/shared_buffer_dispatcher.cc uint64_t offset, offset 113 mojo/system/shared_buffer_dispatcher.cc if (offset > static_cast<uint64_t>(std::numeric_limits<size_t>::max())) offset 118 mojo/system/shared_buffer_dispatcher.cc if (!shared_buffer_->IsValidMap(static_cast<size_t>(offset), offset 123 mojo/system/shared_buffer_dispatcher.cc *mapping = shared_buffer_->MapNoCheck(static_cast<size_t>(offset), offset 51 mojo/system/shared_buffer_dispatcher.h uint64_t offset, offset 180 native_client_sdk/src/examples/api/file_io/file_io.cc int64_t offset = 0; offset 183 native_client_sdk/src/examples/api/file_io/file_io.cc bytes_written = file.Write(offset, offset 184 native_client_sdk/src/examples/api/file_io/file_io.cc file_contents.data() + offset, offset 188 native_client_sdk/src/examples/api/file_io/file_io.cc offset += bytes_written; offset 234 native_client_sdk/src/examples/api/file_io/file_io.cc int64_t offset = 0; offset 238 native_client_sdk/src/examples/api/file_io/file_io.cc bytes_read = file.Read(offset, offset 239 native_client_sdk/src/examples/api/file_io/file_io.cc &data[offset], offset 240 native_client_sdk/src/examples/api/file_io/file_io.cc data.size() - offset, offset 243 native_client_sdk/src/examples/api/file_io/file_io.cc offset += bytes_read; offset 139 native_client_sdk/src/examples/api/gamepad/gamepad.cc int offset = width2 * 2 * p; offset 147 native_client_sdk/src/examples/api/gamepad/gamepad.cc int x = static_cast<int>(pad.axes[i + 0] * width2 + width2) + offset; offset 157 native_client_sdk/src/examples/api/gamepad/gamepad.cc int x = i * 8 + 10 + offset; offset 143 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc size_t offset = y * width; offset 149 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc buffer_[offset + x] = RandUint8(128, 255); offset 152 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc buffer_[offset + x] = RandUint8(32, 96); offset 162 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc size_t offset = y * width; offset 165 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc sum += buffer_[offset - width + x - 1]; offset 166 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc sum += buffer_[offset - width + x + 1]; offset 167 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc sum += buffer_[offset + x - 1]; offset 168 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc sum += buffer_[offset + x + 1]; offset 169 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc sum += buffer_[offset + width + x - 1]; offset 170 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc sum += buffer_[offset + width + x]; offset 171 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc sum += buffer_[offset + width + x + 1]; offset 172 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc buffer_[offset - width + x] = sum / 7; offset 211 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc size_t offset = 0; offset 213 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc data[offset] = palette_[buffer_[offset]]; offset 214 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc offset++; offset 471 native_client_sdk/src/examples/demo/earth/earth.cc int offset = tx + ty * base_tex_->width; offset 472 native_client_sdk/src/examples/demo/earth/earth.cc uint32_t base_texel = base_tex_->pixels[offset]; offset 353 native_client_sdk/src/examples/demo/nacl_io/handlers.c long offset; offset 364 native_client_sdk/src/examples/demo/nacl_io/handlers.c offset = strtol(params[1], NULL, 10); offset 373 native_client_sdk/src/examples/demo/nacl_io/handlers.c result = fseek(file, offset, whence); offset 379 native_client_sdk/src/examples/demo/nacl_io/handlers.c offset = ftell(file); offset 380 native_client_sdk/src/examples/demo/nacl_io/handlers.c if (offset < 0) { offset 382 native_client_sdk/src/examples/demo/nacl_io/handlers.c "fseek succeeded, but ftell returned error %d.", offset); offset 386 native_client_sdk/src/examples/demo/nacl_io/handlers.c *output = PrintfToNewString("fseek\1%s\1%d", file_index_string, offset); offset 78 native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc intptr_t offset = (intptr_t) dlsym(eightball_so_, "Magic8Ball"); offset 79 native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc eightball_ = (TYPE_eightball) offset; offset 96 native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc intptr_t offset = (intptr_t) dlsym(reverse_so_, "Reverse"); offset 97 native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc reverse_ = (TYPE_reverse) offset; offset 509 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc int offset = tx + ty * base_tex_->width; offset 510 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc uint32_t base_texel = base_tex_->pixels[offset]; offset 44 native_client_sdk/src/libraries/error_handling/error_handling.c static uintptr_t EHReadPointer(uintptr_t offset) { offset 45 native_client_sdk/src/libraries/error_handling/error_handling.c return *((uintptr_t*) offset); offset 54 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc Error KernelHandle::Seek(off_t offset, int whence, off_t* out_offset) { offset 56 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc *out_offset = offset; offset 79 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc if (base + offset < 0) offset 82 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc size_t new_offset = base + offset; offset 64 native_client_sdk/src/libraries/nacl_io/kernel_handle.h Error Seek(off_t offset, int whence, off_t* out_offset); offset 250 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc off_t ki_lseek(int fd, off_t offset, int whence) { offset 252 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->lseek(fd, offset, whence); offset 306 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc off_t offset) { offset 308 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->mmap(addr, length, prot, flags, fd, offset); offset 96 native_client_sdk/src/libraries/nacl_io/kernel_intercept.h off_t ki_lseek(int fd, off_t offset, int whence); offset 108 native_client_sdk/src/libraries/nacl_io/kernel_intercept.h off_t offset); offset 623 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc off_t KernelProxy::lseek(int fd, off_t offset, int whence) { offset 632 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc error = handle->Seek(offset, whence, &new_offset); offset 829 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc size_t offset) { offset 842 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc error = handle->node()->MMap(addr, length, prot, flags, offset, &new_addr); offset 122 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h virtual off_t lseek(int fd, off_t offset, int whence); offset 146 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h size_t offset); offset 76 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h off_t NAME(lseek)(int fd, off_t offset, int whence) NOTHROW; offset 83 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h off_t offset) NOTHROW; offset 212 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc int offset = 0; offset 219 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc while (offset < count) { offset 220 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc dirent* d = (dirent*)(buf + offset); offset 228 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc offset += d->d_reclen; offset 258 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc int64_t offset) { offset 260 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc return REAL(mmap)(addr, length, prot, flags, fd, offset); offset 262 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc *addr = ki_mmap(*addr, length, prot, flags, fd, offset); offset 305 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc int WRAP(seek)(int fd, off64_t offset, int whence, int64_t* new_offset) { offset 306 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc *new_offset = ki_lseek(fd, offset, whence); offset 397 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc size_t offset = 0; offset 406 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc dirent* d = (dirent*)((char*)buf + offset); offset 415 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc offset += d->d_reclen; offset 416 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc offset += nacl_d->nacl_abi_d_reclen; offset 419 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc *nread = offset; offset 428 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc int _real_lseek(int fd, int64_t offset, int whence, int64_t* new_offset) { offset 431 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc int ret = REAL(seek)(fd, offset, whence, &nacl_new_offs); offset 457 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc int64_t offset) { offset 459 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc return REAL(mmap)(addr, length, prot, flags, fd, offset); offset 30 native_client_sdk/src/libraries/nacl_io/kernel_wrap_dummy.cc int _real_lseek(int fd, off_t offset, int whence, off_t* new_offset) { offset 39 native_client_sdk/src/libraries/nacl_io/kernel_wrap_dummy.cc off_t offset) { offset 193 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc int offset = 0; offset 200 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc while (offset < count) { offset 201 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc dirent* d = (dirent*)(buf + offset); offset 209 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc offset += d->d_reclen; offset 222 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc off_t offset) { offset 224 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc return REAL(mmap)(addr, length, prot, flags, fd, offset); offset 226 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc *addr = ki_mmap(*addr, length, prot, flags, fd, offset); offset 263 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc int WRAP(seek)(int fd, off_t offset, int whence, off_t* new_offset) { offset 264 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc *new_offset = ki_lseek(fd, offset, whence); offset 331 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc size_t offset = 0; offset 340 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc dirent* d = (dirent*)((char*)buf + offset); offset 349 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc offset += d->d_reclen; offset 350 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc offset += nacl_d->nacl_abi_d_reclen; offset 353 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc *nread = offset; offset 357 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc int _real_lseek(int fd, off_t offset, int whence, off_t* new_offset) { offset 359 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc return REAL(seek)(fd, offset, whence, new_offset); offset 368 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc off_t offset) { offset 370 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc return REAL(mmap)(addr, length, prot, flags, fd, offset); offset 125 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc int WRAP(seek)(int fd, off_t offset, int whence, off_t* new_offset) { offset 126 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc *new_offset = ki_lseek(fd, offset, whence); offset 170 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc off_t offset) { offset 172 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc return REAL(mmap)(addr, length, prot, flags, fd, offset); offset 174 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc *addr = ki_mmap(*addr, length, prot, flags, fd, offset); offset 298 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc int _real_lseek(int fd, off_t offset, int whence, off_t* new_offset) { offset 300 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc return REAL(seek)(fd, offset, whence, new_offset); offset 308 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc off_t offset) { offset 310 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc return REAL(mmap)(addr, length, prot, flags, fd, offset); offset 20 native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h int _real_lseek(int fd, int64_t offset, int whence, int64_t* new_offset); offset 23 native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h int64_t offset); offset 123 native_client_sdk/src/libraries/nacl_io/kernel_wrap_win.cc off_t _lseek(int fd, off_t offset, int whence) { offset 124 native_client_sdk/src/libraries/nacl_io/kernel_wrap_win.cc return ki_lseek(fd, offset, whence); offset 122 native_client_sdk/src/libraries/nacl_io/node.cc size_t offset, offset 143 native_client_sdk/src/libraries/nacl_io/node.cc data.offs = offset; offset 85 native_client_sdk/src/libraries/nacl_io/node.h size_t offset, offset 110 native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc size_t offset, offset 113 native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc int err = _real_mmap(out_addr, length, prot, flags, real_fd_, offset); offset 65 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc size_t offset, offset 61 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h size_t offset, offset 22 native_client_sdk/src/libraries/nacl_io/syscalls/fdopen.c static int fdopen_seek(void *cookie, off_t *offset, int whence) { offset 23 native_client_sdk/src/libraries/nacl_io/syscalls/fdopen.c off_t ret = lseek((int) cookie, *offset, whence); offset 27 native_client_sdk/src/libraries/nacl_io/syscalls/fdopen.c *offset = ret; offset 86 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc int32_t FakeHtml5FsNode::Read(int64_t offset, offset 89 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc if (offset < 0) offset 93 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc std::max(0, std::min<int32_t>(bytes_to_read, contents_.size() - offset)); offset 94 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc memcpy(buffer, contents_.data() + offset, bytes_to_read); offset 98 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc int32_t FakeHtml5FsNode::Write(int64_t offset, offset 101 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc if (offset < 0) offset 104 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc size_t new_size = offset + bytes_to_write; offset 108 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc memcpy(contents_.data() + offset, buffer, bytes_to_write); offset 361 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc int64_t offset, offset 381 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc int32_t result = file_io_resource->node->Read(offset, buffer, bytes_to_read); offset 386 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc int64_t offset, offset 408 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc result = file_io_resource->node->Write(offset, buffer, bytes_to_write); offset 41 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h int32_t Read(int64_t offset, char* buffer, int32_t bytes_to_read); offset 42 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h int32_t Write(int64_t offset, const char* buffer, int32_t bytes_to_write); offset 113 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h int64_t offset, offset 118 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h int64_t offset, offset 21 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc size_t offset = 0; offset 22 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc while (offset != std::string::npos) { offset 24 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc size_t colon = headers.find(':', offset); offset 29 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc size_t newline = headers.find('\n', offset); offset 30 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc if (strncasecmp(key.c_str(), &headers.data()[offset], key.size()) != 0) { offset 32 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc offset = newline; offset 350 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc size_t offset = loader_resource->read_offset; offset 352 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc size_t max_readable = std::max<size_t>(0, body.length() - offset); offset 361 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc memcpy(buffer, &body.data()[offset], bytes_to_read); offset 85 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc off_t offset, offset 125 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc off_t offset, offset 133 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc if (offset >= filesize) offset 136 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc if (offset + size > filesize) offset 137 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc size = filesize - offset; offset 139 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc memcpy(buf, file->data.data() + offset, size); offset 146 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc off_t offset, offset 154 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc if (offset + size > filesize) offset 155 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc file->data.resize(offset + size); offset 157 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc memcpy(file->data.data() + offset, buf, size); offset 603 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc size_t offset, offset 429 net/base/escape.cc void AdjustEncodingOffset::operator()(size_t& offset) { offset 431 net/base/escape.cc if (offset == base::string16::npos) offset 433 net/base/escape.cc size_t adjusted_offset = offset; offset 437 net/base/escape.cc if (offset <= location) { offset 438 net/base/escape.cc offset = adjusted_offset; offset 441 net/base/escape.cc if (offset <= (location + 2)) { offset 442 net/base/escape.cc offset = base::string16::npos; offset 447 net/base/escape.cc offset = adjusted_offset; offset 146 net/base/escape.h void operator()(size_t& offset); offset 381 net/base/escape_unittest.cc size_t offset = adjust_cases[i].input_offset; offset 383 net/base/escape_unittest.cc UnescapeRule::NORMAL, &offset); offset 384 net/base/escape_unittest.cc EXPECT_EQ(adjust_cases[i].output_offset, offset); offset 121 net/base/file_stream.cc int64 offset, offset 128 net/base/file_stream.cc context_->SeekAsync(whence, offset, callback); offset 132 net/base/file_stream.cc int64 FileStream::SeekSync(Whence whence, int64 offset) { offset 140 net/base/file_stream.cc return context_->SeekSync(whence, offset); offset 113 net/base/file_stream.h virtual int Seek(Whence whence, int64 offset, offset 120 net/base/file_stream.h virtual int64 SeekSync(Whence whence, int64 offset); offset 150 net/base/file_stream_context.cc int64 offset, offset 158 net/base/file_stream_context.cc &Context::SeekFileImpl, base::Unretained(this), whence, offset), offset 168 net/base/file_stream_context.cc int64 FileStream::Context::SeekSync(Whence whence, int64 offset) { offset 169 net/base/file_stream_context.cc IOResult result = SeekFileImpl(whence, offset); offset 123 net/base/file_stream_context.h int64 offset, offset 125 net/base/file_stream_context.h int64 SeekSync(Whence whence, int64 offset); offset 206 net/base/file_stream_context.h IOResult SeekFileImpl(Whence whence, int64 offset); offset 161 net/base/file_stream_context_posix.cc int64 offset) { offset 162 net/base/file_stream_context_posix.cc off_t res = lseek(file_.GetPlatformFile(), static_cast<off_t>(offset), offset 25 net/base/file_stream_context_win.cc void SetOffset(OVERLAPPED* overlapped, const LARGE_INTEGER& offset) { offset 26 net/base/file_stream_context_win.cc overlapped->Offset = offset.LowPart; offset 27 net/base/file_stream_context_win.cc overlapped->OffsetHigh = offset.HighPart; offset 31 net/base/file_stream_context_win.cc LARGE_INTEGER offset; offset 32 net/base/file_stream_context_win.cc offset.LowPart = overlapped->Offset; offset 33 net/base/file_stream_context_win.cc offset.HighPart = overlapped->OffsetHigh; offset 34 net/base/file_stream_context_win.cc offset.QuadPart += static_cast<LONGLONG>(count); offset 35 net/base/file_stream_context_win.cc SetOffset(overlapped, offset); offset 198 net/base/file_stream_context_win.cc int64 offset) { offset 200 net/base/file_stream_context_win.cc distance.QuadPart = offset; offset 587 net/base/file_stream_unittest.cc int64 offset = stream->SeekSync(FROM_END, 0); offset 588 net/base/file_stream_unittest.cc EXPECT_EQ(offset, file_size); offset 593 net/base/file_stream_unittest.cc offset = stream->SeekSync(FROM_BEGIN, 0); offset 594 net/base/file_stream_unittest.cc EXPECT_EQ(0, offset); offset 694 net/base/file_stream_unittest.cc int64 offset = callback64.WaitForResult(); offset 695 net/base/file_stream_unittest.cc EXPECT_EQ(offset, file_size); offset 718 net/base/file_stream_unittest.cc offset = callback64.WaitForResult(); offset 719 net/base/file_stream_unittest.cc EXPECT_EQ(0, offset); offset 854 net/base/file_stream_unittest.cc int64 offset = stream->SeekSync(FROM_END, 0); offset 855 net/base/file_stream_unittest.cc EXPECT_EQ(offset, file_size); offset 960 net/base/file_stream_unittest.cc int64 offset = stream->SeekSync(FROM_END, 0); offset 961 net/base/file_stream_unittest.cc EXPECT_EQ(offset, file_size); offset 104 net/base/io_buffer.cc void GrowableIOBuffer::set_offset(int offset) { offset 105 net/base/io_buffer.cc DCHECK_GE(offset, 0); offset 106 net/base/io_buffer.cc DCHECK_LE(offset, capacity_); offset 107 net/base/io_buffer.cc offset_ = offset; offset 108 net/base/io_buffer.cc data_ = real_data_.get() + offset; offset 197 net/base/io_buffer.h void set_offset(int offset); offset 198 net/base/io_buffer.h int offset() { return offset_; } offset 49 net/base/mock_file_stream.cc int MockFileStream::Seek(Whence whence, int64 offset, offset 55 net/base/mock_file_stream.cc return FileStream::Seek(whence, offset, wrapped_callback); offset 59 net/base/mock_file_stream.cc int64 MockFileStream::SeekSync(Whence whence, int64 offset) { offset 60 net/base/mock_file_stream.cc return ReturnError64(FileStream::SeekSync(whence, offset)); offset 33 net/base/mock_file_stream.h virtual int Seek(net::Whence whence, int64 offset, offset 35 net/base/mock_file_stream.h virtual int64 SeekSync(net::Whence whence, int64 offset) OVERRIDE; offset 36 net/base/sdch_manager.cc size_t offset, offset 43 net/base/sdch_manager.cc : text_(dictionary_text, offset), offset 179 net/base/sdch_manager.h size_t offset, offset 62 net/base/upload_element.h uint64 offset, uint64 length, offset 66 net/base/upload_element.h file_range_offset_ = offset; offset 578 net/cert/cert_verify_proc_nss.cc od.offset = SEC_OID_UNKNOWN; offset 115 net/cert/ct_objects_extractor_nss.cc oid_data.offset = SEC_OID_UNKNOWN; offset 492 net/cert/ev_root_ca_metadata.cc od.offset = SEC_OID_UNKNOWN; offset 47 net/cert/ev_root_ca_metadata_unittest.cc oid_data.offset = SEC_OID_UNKNOWN; offset 72 net/cert/x509_util_nss.cc oid_data.offset = SEC_OID_UNKNOWN; offset 69 net/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java public void setOffset(long offset) { offset 70 net/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java mOffset = offset; offset 71 net/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java if (offset != 0) { offset 72 net/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java addHeader("Range", "bytes=" + offset + "-"); offset 102 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java int offset = 0; offset 106 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java buffer.get(bytes, offset, bufferSize); offset 108 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java offset += bufferSize; offset 143 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java public void setOffset(long offset) { offset 144 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java mOffset = offset; offset 36 net/cronet/android/java/src/org/chromium/net/HttpUrlRequest.java void setOffset(long offset); offset 251 net/cronet/android/url_request_peer.cc read_buffer_->set_offset(read_buffer_->offset() + bytes_read); offset 1359 net/disk_cache/blockfile/backend_impl.cc size_t offset = address.start_block() * address.BlockSize() + offset 1361 net/disk_cache/blockfile/backend_impl.cc if (!file->Read(data.get(), size, offset)) offset 1384 net/disk_cache/blockfile/backend_impl.cc size_t offset = address.start_block() * address.BlockSize() + offset 1386 net/disk_cache/blockfile/backend_impl.cc file->Write(data.get(), size, offset); // ignore result. offset 790 net/disk_cache/blockfile/backend_impl_v3.cc size_t offset = address.start_block() * address.BlockSize() + offset 792 net/disk_cache/blockfile/backend_impl_v3.cc if (!file->Read(data.get(), size, offset)) offset 815 net/disk_cache/blockfile/backend_impl_v3.cc size_t offset = address.start_block() * address.BlockSize() + offset 817 net/disk_cache/blockfile/backend_impl_v3.cc file->Write(data.get(), size, offset); // ignore result. offset 447 net/disk_cache/blockfile/backend_worker_v3.cc size_t offset = address.start_block() * address.BlockSize() + offset 449 net/disk_cache/blockfile/backend_worker_v3.cc if (!file->Read(data.get(), size, offset)) offset 174 net/disk_cache/blockfile/bitmap.cc int offset = begin & (kIntBits - 1); offset 186 net/disk_cache/blockfile/bitmap.cc if (this_word >> offset) offset 188 net/disk_cache/blockfile/bitmap.cc offset = 0; offset 203 net/disk_cache/blockfile/bitmap.cc const uint32 mask = ((2 << (last_offset - offset)) - 1) << offset; offset 300 net/disk_cache/blockfile/bitmap.cc int offset = start % kIntBits; offset 303 net/disk_cache/blockfile/bitmap.cc to_add = (~to_add) << offset; offset 364 net/disk_cache/blockfile/block_files.cc size_t offset = address.start_block() * address.BlockSize() + offset 367 net/disk_cache/blockfile/block_files.cc file->Write(zero_buffer_, size, offset); offset 436 net/disk_cache/blockfile/block_files.cc size_t offset = address.start_block() * address.BlockSize() + offset 438 net/disk_cache/blockfile/block_files.cc bool ok = file->Read(buffer.get(), size, offset); offset 107 net/disk_cache/blockfile/entry_impl.cc bool PreWrite(int offset, int len); offset 110 net/disk_cache/blockfile/entry_impl.cc void Truncate(int offset); offset 113 net/disk_cache/blockfile/entry_impl.cc void Write(int offset, IOBuffer* buf, int len); offset 119 net/disk_cache/blockfile/entry_impl.cc bool PreRead(int eof, int offset, int* len); offset 122 net/disk_cache/blockfile/entry_impl.cc int Read(int offset, IOBuffer* buf, int len); offset 143 net/disk_cache/blockfile/entry_impl.cc bool EntryImpl::UserBuffer::PreWrite(int offset, int len) { offset 144 net/disk_cache/blockfile/entry_impl.cc DCHECK_GE(offset, 0); offset 146 net/disk_cache/blockfile/entry_impl.cc DCHECK_GE(offset + len, 0); offset 149 net/disk_cache/blockfile/entry_impl.cc if (offset < offset_) offset 153 net/disk_cache/blockfile/entry_impl.cc if (offset + len <= capacity()) offset 158 net/disk_cache/blockfile/entry_impl.cc if (!Size() && offset > kMaxBlockSize) offset 161 net/disk_cache/blockfile/entry_impl.cc int required = offset - offset_ + len; offset 165 net/disk_cache/blockfile/entry_impl.cc void EntryImpl::UserBuffer::Truncate(int offset) { offset 166 net/disk_cache/blockfile/entry_impl.cc DCHECK_GE(offset, 0); offset 167 net/disk_cache/blockfile/entry_impl.cc DCHECK_GE(offset, offset_); offset 168 net/disk_cache/blockfile/entry_impl.cc DVLOG(3) << "Buffer truncate at " << offset << " current " << offset_; offset 170 net/disk_cache/blockfile/entry_impl.cc offset -= offset_; offset 171 net/disk_cache/blockfile/entry_impl.cc if (Size() >= offset) offset 172 net/disk_cache/blockfile/entry_impl.cc buffer_.resize(offset); offset 175 net/disk_cache/blockfile/entry_impl.cc void EntryImpl::UserBuffer::Write(int offset, IOBuffer* buf, int len) { offset 176 net/disk_cache/blockfile/entry_impl.cc DCHECK_GE(offset, 0); offset 178 net/disk_cache/blockfile/entry_impl.cc DCHECK_GE(offset + len, 0); offset 179 net/disk_cache/blockfile/entry_impl.cc DCHECK_GE(offset, offset_); offset 180 net/disk_cache/blockfile/entry_impl.cc DVLOG(3) << "Buffer write at " << offset << " current " << offset_; offset 182 net/disk_cache/blockfile/entry_impl.cc if (!Size() && offset > kMaxBlockSize) offset 183 net/disk_cache/blockfile/entry_impl.cc offset_ = offset; offset 185 net/disk_cache/blockfile/entry_impl.cc offset -= offset_; offset 187 net/disk_cache/blockfile/entry_impl.cc if (offset > Size()) offset 188 net/disk_cache/blockfile/entry_impl.cc buffer_.resize(offset); offset 194 net/disk_cache/blockfile/entry_impl.cc int valid_len = Size() - offset; offset 197 net/disk_cache/blockfile/entry_impl.cc memcpy(&buffer_[offset], buffer, copy_len); offset 207 net/disk_cache/blockfile/entry_impl.cc bool EntryImpl::UserBuffer::PreRead(int eof, int offset, int* len) { offset 208 net/disk_cache/blockfile/entry_impl.cc DCHECK_GE(offset, 0); offset 211 net/disk_cache/blockfile/entry_impl.cc if (offset < offset_) { offset 213 net/disk_cache/blockfile/entry_impl.cc if (offset >= eof) offset 218 net/disk_cache/blockfile/entry_impl.cc *len = std::min(*len, offset_ - offset); offset 219 net/disk_cache/blockfile/entry_impl.cc *len = std::min(*len, eof - offset); offset 229 net/disk_cache/blockfile/entry_impl.cc return (offset - offset_ < Size()); offset 232 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::UserBuffer::Read(int offset, IOBuffer* buf, int len) { offset 233 net/disk_cache/blockfile/entry_impl.cc DCHECK_GE(offset, 0); offset 235 net/disk_cache/blockfile/entry_impl.cc DCHECK(Size() || offset < offset_); offset 238 net/disk_cache/blockfile/entry_impl.cc if (offset < offset_) { offset 240 net/disk_cache/blockfile/entry_impl.cc clean_bytes = std::min(offset_ - offset, len); offset 244 net/disk_cache/blockfile/entry_impl.cc offset = offset_; offset 248 net/disk_cache/blockfile/entry_impl.cc int start = offset - offset_; offset 316 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::ReadDataImpl(int index, int offset, IOBuffer* buf, int buf_len, offset 321 net/disk_cache/blockfile/entry_impl.cc CreateNetLogReadWriteDataCallback(index, offset, buf_len, false)); offset 324 net/disk_cache/blockfile/entry_impl.cc int result = InternalReadData(index, offset, buf, buf_len, callback); offset 334 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::WriteDataImpl(int index, int offset, IOBuffer* buf, int buf_len, offset 340 net/disk_cache/blockfile/entry_impl.cc CreateNetLogReadWriteDataCallback(index, offset, buf_len, truncate)); offset 343 net/disk_cache/blockfile/entry_impl.cc int result = InternalWriteData(index, offset, buf, buf_len, callback, offset 354 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::ReadSparseDataImpl(int64 offset, IOBuffer* buf, int buf_len, offset 362 net/disk_cache/blockfile/entry_impl.cc result = sparse_->StartIO(SparseControl::kReadOperation, offset, buf, buf_len, offset 368 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::WriteSparseDataImpl(int64 offset, IOBuffer* buf, int buf_len, offset 376 net/disk_cache/blockfile/entry_impl.cc result = sparse_->StartIO(SparseControl::kWriteOperation, offset, buf, offset 382 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::GetAvailableRangeImpl(int64 offset, int len, int64* start) { offset 387 net/disk_cache/blockfile/entry_impl.cc return sparse_->GetAvailableRange(offset, len, start); offset 431 net/disk_cache/blockfile/entry_impl.cc size_t offset = 0; offset 433 net/disk_cache/blockfile/entry_impl.cc offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; offset 435 net/disk_cache/blockfile/entry_impl.cc if (!key_file || !key_file->Write(key.data(), key.size(), offset)) { offset 775 net/disk_cache/blockfile/entry_impl.cc size_t offset = 0; offset 777 net/disk_cache/blockfile/entry_impl.cc offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; offset 786 net/disk_cache/blockfile/entry_impl.cc if (!offset && key_file->GetLength() != static_cast<size_t>(key_len)) offset 789 net/disk_cache/blockfile/entry_impl.cc if (!key_file->Read(WriteInto(&key_, key_len), key_len, offset)) offset 812 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::ReadData(int index, int offset, IOBuffer* buf, int buf_len, offset 815 net/disk_cache/blockfile/entry_impl.cc return ReadDataImpl(index, offset, buf, buf_len, callback); offset 822 net/disk_cache/blockfile/entry_impl.cc if (offset >= entry_size || offset < 0 || !buf_len) offset 831 net/disk_cache/blockfile/entry_impl.cc background_queue_->ReadData(this, index, offset, buf, buf_len, callback); offset 835 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::WriteData(int index, int offset, IOBuffer* buf, int buf_len, offset 838 net/disk_cache/blockfile/entry_impl.cc return WriteDataImpl(index, offset, buf, buf_len, callback, truncate); offset 844 net/disk_cache/blockfile/entry_impl.cc if (offset < 0 || buf_len < 0) offset 850 net/disk_cache/blockfile/entry_impl.cc background_queue_->WriteData(this, index, offset, buf, buf_len, truncate, offset 855 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 858 net/disk_cache/blockfile/entry_impl.cc return ReadSparseDataImpl(offset, buf, buf_len, callback); offset 863 net/disk_cache/blockfile/entry_impl.cc background_queue_->ReadSparseData(this, offset, buf, buf_len, callback); offset 867 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 870 net/disk_cache/blockfile/entry_impl.cc return WriteSparseDataImpl(offset, buf, buf_len, callback); offset 875 net/disk_cache/blockfile/entry_impl.cc background_queue_->WriteSparseData(this, offset, buf, buf_len, callback); offset 879 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::GetAvailableRange(int64 offset, int len, int64* start, offset 884 net/disk_cache/blockfile/entry_impl.cc background_queue_->GetAvailableRange(this, offset, len, start, callback); offset 973 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::InternalReadData(int index, int offset, offset 977 net/disk_cache/blockfile/entry_impl.cc DVLOG(2) << "Read from " << index << " at " << offset << " : " << buf_len; offset 982 net/disk_cache/blockfile/entry_impl.cc if (offset >= entry_size || offset < 0 || !buf_len) offset 993 net/disk_cache/blockfile/entry_impl.cc if (offset + buf_len > entry_size) offset 994 net/disk_cache/blockfile/entry_impl.cc buf_len = entry_size - offset; offset 1004 net/disk_cache/blockfile/entry_impl.cc user_buffers_[index]->PreRead(eof, offset, &buf_len)) { offset 1006 net/disk_cache/blockfile/entry_impl.cc buf_len = user_buffers_[index]->Read(offset, buf, buf_len); offset 1025 net/disk_cache/blockfile/entry_impl.cc size_t file_offset = offset; offset 1027 net/disk_cache/blockfile/entry_impl.cc DCHECK_LE(offset + buf_len, kMaxBlockSize); offset 1058 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::InternalWriteData(int index, int offset, offset 1063 net/disk_cache/blockfile/entry_impl.cc DVLOG(2) << "Write to " << index << " at " << offset << " : " << buf_len; offset 1067 net/disk_cache/blockfile/entry_impl.cc if (offset < 0 || buf_len < 0) offset 1076 net/disk_cache/blockfile/entry_impl.cc if (offset > max_file_size || buf_len > max_file_size || offset 1077 net/disk_cache/blockfile/entry_impl.cc offset + buf_len > max_file_size) { offset 1078 net/disk_cache/blockfile/entry_impl.cc int size = offset + buf_len; offset 1089 net/disk_cache/blockfile/entry_impl.cc bool extending = entry_size < offset + buf_len; offset 1090 net/disk_cache/blockfile/entry_impl.cc truncate = truncate && entry_size > offset + buf_len; offset 1092 net/disk_cache/blockfile/entry_impl.cc if (!PrepareTarget(index, offset, buf_len, truncate)) offset 1097 net/disk_cache/blockfile/entry_impl.cc UpdateSize(index, entry_size, offset + buf_len); offset 1106 net/disk_cache/blockfile/entry_impl.cc user_buffers_[index]->Write(offset, buf, buf_len); offset 1112 net/disk_cache/blockfile/entry_impl.cc if (offset + buf_len == 0) { offset 1123 net/disk_cache/blockfile/entry_impl.cc size_t file_offset = offset; offset 1125 net/disk_cache/blockfile/entry_impl.cc DCHECK_LE(offset + buf_len, kMaxBlockSize); offset 1129 net/disk_cache/blockfile/entry_impl.cc if (!file->SetLength(offset + buf_len)) offset 1273 net/disk_cache/blockfile/entry_impl.cc bool EntryImpl::PrepareTarget(int index, int offset, int buf_len, offset 1276 net/disk_cache/blockfile/entry_impl.cc return HandleTruncation(index, offset, buf_len); offset 1278 net/disk_cache/blockfile/entry_impl.cc if (!offset && !buf_len) offset 1286 net/disk_cache/blockfile/entry_impl.cc if (!user_buffers_[index].get() && offset < kMaxBlockSize) { offset 1297 net/disk_cache/blockfile/entry_impl.cc return PrepareBuffer(index, offset, buf_len); offset 1303 net/disk_cache/blockfile/entry_impl.cc bool EntryImpl::HandleTruncation(int index, int offset, int buf_len) { offset 1307 net/disk_cache/blockfile/entry_impl.cc int new_size = offset + buf_len; offset 1337 net/disk_cache/blockfile/entry_impl.cc return PrepareBuffer(index, offset, buf_len); offset 1342 net/disk_cache/blockfile/entry_impl.cc if (offset > user_buffers_[index]->Start()) offset 1357 net/disk_cache/blockfile/entry_impl.cc return ImportSeparateFile(index, offset + buf_len); offset 1370 net/disk_cache/blockfile/entry_impl.cc int offset = 0; offset 1373 net/disk_cache/blockfile/entry_impl.cc offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; offset 1376 net/disk_cache/blockfile/entry_impl.cc !file->Read(user_buffers_[index]->Data(), len, offset, NULL, NULL)) { offset 1406 net/disk_cache/blockfile/entry_impl.cc bool EntryImpl::PrepareBuffer(int index, int offset, int buf_len) { offset 1408 net/disk_cache/blockfile/entry_impl.cc if ((user_buffers_[index]->End() && offset > user_buffers_[index]->End()) || offset 1409 net/disk_cache/blockfile/entry_impl.cc offset > entry_.Data()->data_size[index]) { offset 1425 net/disk_cache/blockfile/entry_impl.cc if (!user_buffers_[index]->PreWrite(offset, buf_len)) { offset 1426 net/disk_cache/blockfile/entry_impl.cc if (!Flush(index, offset + buf_len)) offset 1430 net/disk_cache/blockfile/entry_impl.cc if (offset > user_buffers_[index]->End() || offset 1431 net/disk_cache/blockfile/entry_impl.cc !user_buffers_[index]->PreWrite(offset, buf_len)) { offset 1459 net/disk_cache/blockfile/entry_impl.cc int offset = user_buffers_[index]->Start(); offset 1460 net/disk_cache/blockfile/entry_impl.cc if (!len && !offset) offset 1465 net/disk_cache/blockfile/entry_impl.cc DCHECK(!offset); offset 1466 net/disk_cache/blockfile/entry_impl.cc offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; offset 1473 net/disk_cache/blockfile/entry_impl.cc if (!file->Write(user_buffers_[index]->Data(), len, offset, NULL, NULL)) offset 45 net/disk_cache/blockfile/entry_impl.h int ReadDataImpl(int index, int offset, IOBuffer* buf, int buf_len, offset 47 net/disk_cache/blockfile/entry_impl.h int WriteDataImpl(int index, int offset, IOBuffer* buf, int buf_len, offset 49 net/disk_cache/blockfile/entry_impl.h int ReadSparseDataImpl(int64 offset, IOBuffer* buf, int buf_len, offset 51 net/disk_cache/blockfile/entry_impl.h int WriteSparseDataImpl(int64 offset, IOBuffer* buf, int buf_len, offset 53 net/disk_cache/blockfile/entry_impl.h int GetAvailableRangeImpl(int64 offset, int len, int64* start); offset 156 net/disk_cache/blockfile/entry_impl.h virtual int ReadData(int index, int offset, IOBuffer* buf, int buf_len, offset 158 net/disk_cache/blockfile/entry_impl.h virtual int WriteData(int index, int offset, IOBuffer* buf, int buf_len, offset 161 net/disk_cache/blockfile/entry_impl.h virtual int ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 163 net/disk_cache/blockfile/entry_impl.h virtual int WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 165 net/disk_cache/blockfile/entry_impl.h virtual int GetAvailableRange(int64 offset, int len, int64* start, offset 181 net/disk_cache/blockfile/entry_impl.h int InternalReadData(int index, int offset, IOBuffer* buf, offset 183 net/disk_cache/blockfile/entry_impl.h int InternalWriteData(int index, int offset, IOBuffer* buf, int buf_len, offset 209 net/disk_cache/blockfile/entry_impl.h bool PrepareTarget(int index, int offset, int buf_len, bool truncate); offset 213 net/disk_cache/blockfile/entry_impl.h bool HandleTruncation(int index, int offset, int buf_len); offset 226 net/disk_cache/blockfile/entry_impl.h bool PrepareBuffer(int index, int offset, int buf_len); offset 56 net/disk_cache/blockfile/entry_impl_v3.cc bool PreWrite(int offset, int len); offset 59 net/disk_cache/blockfile/entry_impl_v3.cc void Truncate(int offset); offset 62 net/disk_cache/blockfile/entry_impl_v3.cc void Write(int offset, IOBuffer* buf, int len); offset 68 net/disk_cache/blockfile/entry_impl_v3.cc bool PreRead(int eof, int offset, int* len); offset 71 net/disk_cache/blockfile/entry_impl_v3.cc int Read(int offset, IOBuffer* buf, int len); offset 92 net/disk_cache/blockfile/entry_impl_v3.cc bool EntryImplV3::UserBuffer::PreWrite(int offset, int len) { offset 93 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_GE(offset, 0); offset 95 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_GE(offset + len, 0); offset 98 net/disk_cache/blockfile/entry_impl_v3.cc if (offset < offset_) offset 102 net/disk_cache/blockfile/entry_impl_v3.cc if (offset + len <= capacity()) offset 107 net/disk_cache/blockfile/entry_impl_v3.cc if (!Size() && offset > kMaxBlockSize) offset 110 net/disk_cache/blockfile/entry_impl_v3.cc int required = offset - offset_ + len; offset 114 net/disk_cache/blockfile/entry_impl_v3.cc void EntryImplV3::UserBuffer::Truncate(int offset) { offset 115 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_GE(offset, 0); offset 116 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_GE(offset, offset_); offset 117 net/disk_cache/blockfile/entry_impl_v3.cc DVLOG(3) << "Buffer truncate at " << offset << " current " << offset_; offset 119 net/disk_cache/blockfile/entry_impl_v3.cc offset -= offset_; offset 120 net/disk_cache/blockfile/entry_impl_v3.cc if (Size() >= offset) offset 121 net/disk_cache/blockfile/entry_impl_v3.cc buffer_.resize(offset); offset 124 net/disk_cache/blockfile/entry_impl_v3.cc void EntryImplV3::UserBuffer::Write(int offset, IOBuffer* buf, int len) { offset 125 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_GE(offset, 0); offset 127 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_GE(offset + len, 0); offset 128 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_GE(offset, offset_); offset 129 net/disk_cache/blockfile/entry_impl_v3.cc DVLOG(3) << "Buffer write at " << offset << " current " << offset_; offset 131 net/disk_cache/blockfile/entry_impl_v3.cc if (!Size() && offset > kMaxBlockSize) offset 132 net/disk_cache/blockfile/entry_impl_v3.cc offset_ = offset; offset 134 net/disk_cache/blockfile/entry_impl_v3.cc offset -= offset_; offset 136 net/disk_cache/blockfile/entry_impl_v3.cc if (offset > Size()) offset 137 net/disk_cache/blockfile/entry_impl_v3.cc buffer_.resize(offset); offset 143 net/disk_cache/blockfile/entry_impl_v3.cc int valid_len = Size() - offset; offset 146 net/disk_cache/blockfile/entry_impl_v3.cc memcpy(&buffer_[offset], buffer, copy_len); offset 156 net/disk_cache/blockfile/entry_impl_v3.cc bool EntryImplV3::UserBuffer::PreRead(int eof, int offset, int* len) { offset 157 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_GE(offset, 0); offset 160 net/disk_cache/blockfile/entry_impl_v3.cc if (offset < offset_) { offset 162 net/disk_cache/blockfile/entry_impl_v3.cc if (offset >= eof) offset 167 net/disk_cache/blockfile/entry_impl_v3.cc *len = std::min(*len, offset_ - offset); offset 168 net/disk_cache/blockfile/entry_impl_v3.cc *len = std::min(*len, eof - offset); offset 178 net/disk_cache/blockfile/entry_impl_v3.cc return (offset - offset_ < Size()); offset 181 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::UserBuffer::Read(int offset, IOBuffer* buf, int len) { offset 182 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_GE(offset, 0); offset 184 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK(Size() || offset < offset_); offset 187 net/disk_cache/blockfile/entry_impl_v3.cc if (offset < offset_) { offset 189 net/disk_cache/blockfile/entry_impl_v3.cc clean_bytes = std::min(offset_ - offset, len); offset 193 net/disk_cache/blockfile/entry_impl_v3.cc offset = offset_; offset 197 net/disk_cache/blockfile/entry_impl_v3.cc int start = offset - offset_; offset 286 net/disk_cache/blockfile/entry_impl_v3.cc size_t offset = 0; offset 288 net/disk_cache/blockfile/entry_impl_v3.cc offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; offset 290 net/disk_cache/blockfile/entry_impl_v3.cc if (!key_file || !key_file->Write(key.data(), key.size(), offset)) { offset 488 net/disk_cache/blockfile/entry_impl_v3.cc size_t offset = 0; offset 490 net/disk_cache/blockfile/entry_impl_v3.cc offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; offset 499 net/disk_cache/blockfile/entry_impl_v3.cc if (!offset && key_file->GetLength() != static_cast<size_t>(key_len)) offset 502 net/disk_cache/blockfile/entry_impl_v3.cc if (!key_file->Read(WriteInto(&key_, key_len), key_len, offset)) offset 525 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::ReadData(int index, int offset, IOBuffer* buf, int buf_len, offset 528 net/disk_cache/blockfile/entry_impl_v3.cc return ReadDataImpl(index, offset, buf, buf_len, callback); offset 535 net/disk_cache/blockfile/entry_impl_v3.cc if (offset >= entry_size || offset < 0 || !buf_len) offset 544 net/disk_cache/blockfile/entry_impl_v3.cc background_queue_->ReadData(this, index, offset, buf, buf_len, callback); offset 548 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImpl::ReadDataImpl(int index, int offset, IOBuffer* buf, int buf_len, offset 553 net/disk_cache/blockfile/entry_impl_v3.cc CreateNetLogReadWriteDataCallback(index, offset, buf_len, false)); offset 556 net/disk_cache/blockfile/entry_impl_v3.cc int result = InternalReadData(index, offset, buf, buf_len, callback); offset 566 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::WriteData(int index, int offset, IOBuffer* buf, int buf_len, offset 569 net/disk_cache/blockfile/entry_impl_v3.cc return WriteDataImpl(index, offset, buf, buf_len, callback, truncate); offset 575 net/disk_cache/blockfile/entry_impl_v3.cc if (offset < 0 || buf_len < 0) offset 581 net/disk_cache/blockfile/entry_impl_v3.cc background_queue_->WriteData(this, index, offset, buf, buf_len, truncate, offset 586 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImpl::WriteDataImpl(int index, int offset, IOBuffer* buf, int buf_len, offset 592 net/disk_cache/blockfile/entry_impl_v3.cc CreateNetLogReadWriteDataCallback(index, offset, buf_len, truncate)); offset 595 net/disk_cache/blockfile/entry_impl_v3.cc int result = InternalWriteData(index, offset, buf, buf_len, callback, offset 606 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 609 net/disk_cache/blockfile/entry_impl_v3.cc return ReadSparseDataImpl(offset, buf, buf_len, callback); offset 614 net/disk_cache/blockfile/entry_impl_v3.cc background_queue_->ReadSparseData(this, offset, buf, buf_len, callback); offset 618 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImpl::ReadSparseDataImpl(int64 offset, IOBuffer* buf, int buf_len, offset 626 net/disk_cache/blockfile/entry_impl_v3.cc result = sparse_->StartIO(SparseControl::kReadOperation, offset, buf, buf_len, offset 632 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 635 net/disk_cache/blockfile/entry_impl_v3.cc return WriteSparseDataImpl(offset, buf, buf_len, callback); offset 640 net/disk_cache/blockfile/entry_impl_v3.cc background_queue_->WriteSparseData(this, offset, buf, buf_len, callback); offset 644 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImpl::WriteSparseDataImpl(int64 offset, IOBuffer* buf, int buf_len, offset 652 net/disk_cache/blockfile/entry_impl_v3.cc result = sparse_->StartIO(SparseControl::kWriteOperation, offset, buf, offset 658 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::GetAvailableRange(int64 offset, int len, int64* start, offset 663 net/disk_cache/blockfile/entry_impl_v3.cc background_queue_->GetAvailableRange(this, offset, len, start, callback); offset 667 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImpl::GetAvailableRangeImpl(int64 offset, int len, int64* start) { offset 672 net/disk_cache/blockfile/entry_impl_v3.cc return sparse_->GetAvailableRange(offset, len, start); offset 772 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImpl::InternalReadData(int index, int offset, offset 776 net/disk_cache/blockfile/entry_impl_v3.cc DVLOG(2) << "Read from " << index << " at " << offset << " : " << buf_len; offset 781 net/disk_cache/blockfile/entry_impl_v3.cc if (offset >= entry_size || offset < 0 || !buf_len) offset 792 net/disk_cache/blockfile/entry_impl_v3.cc if (offset + buf_len > entry_size) offset 793 net/disk_cache/blockfile/entry_impl_v3.cc buf_len = entry_size - offset; offset 803 net/disk_cache/blockfile/entry_impl_v3.cc user_buffers_[index]->PreRead(eof, offset, &buf_len)) { offset 805 net/disk_cache/blockfile/entry_impl_v3.cc buf_len = user_buffers_[index]->Read(offset, buf, buf_len); offset 824 net/disk_cache/blockfile/entry_impl_v3.cc size_t file_offset = offset; offset 826 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_LE(offset + buf_len, kMaxBlockSize); offset 857 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImpl::InternalWriteData(int index, int offset, offset 862 net/disk_cache/blockfile/entry_impl_v3.cc DVLOG(2) << "Write to " << index << " at " << offset << " : " << buf_len; offset 866 net/disk_cache/blockfile/entry_impl_v3.cc if (offset < 0 || buf_len < 0) offset 875 net/disk_cache/blockfile/entry_impl_v3.cc if (offset > max_file_size || buf_len > max_file_size || offset 876 net/disk_cache/blockfile/entry_impl_v3.cc offset + buf_len > max_file_size) { offset 877 net/disk_cache/blockfile/entry_impl_v3.cc int size = offset + buf_len; offset 888 net/disk_cache/blockfile/entry_impl_v3.cc bool extending = entry_size < offset + buf_len; offset 889 net/disk_cache/blockfile/entry_impl_v3.cc truncate = truncate && entry_size > offset + buf_len; offset 891 net/disk_cache/blockfile/entry_impl_v3.cc if (!PrepareTarget(index, offset, buf_len, truncate)) offset 896 net/disk_cache/blockfile/entry_impl_v3.cc UpdateSize(index, entry_size, offset + buf_len); offset 905 net/disk_cache/blockfile/entry_impl_v3.cc user_buffers_[index]->Write(offset, buf, buf_len); offset 911 net/disk_cache/blockfile/entry_impl_v3.cc if (offset + buf_len == 0) { offset 922 net/disk_cache/blockfile/entry_impl_v3.cc size_t file_offset = offset; offset 924 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_LE(offset + buf_len, kMaxBlockSize); offset 928 net/disk_cache/blockfile/entry_impl_v3.cc if (!file->SetLength(offset + buf_len)) offset 1095 net/disk_cache/blockfile/entry_impl_v3.cc bool EntryImpl::PrepareTarget(int index, int offset, int buf_len, offset 1098 net/disk_cache/blockfile/entry_impl_v3.cc return HandleTruncation(index, offset, buf_len); offset 1100 net/disk_cache/blockfile/entry_impl_v3.cc if (!offset && !buf_len) offset 1108 net/disk_cache/blockfile/entry_impl_v3.cc if (!user_buffers_[index].get() && offset < kMaxBlockSize) { offset 1119 net/disk_cache/blockfile/entry_impl_v3.cc return PrepareBuffer(index, offset, buf_len); offset 1125 net/disk_cache/blockfile/entry_impl_v3.cc bool EntryImpl::HandleTruncation(int index, int offset, int buf_len) { offset 1129 net/disk_cache/blockfile/entry_impl_v3.cc int new_size = offset + buf_len; offset 1159 net/disk_cache/blockfile/entry_impl_v3.cc return PrepareBuffer(index, offset, buf_len); offset 1164 net/disk_cache/blockfile/entry_impl_v3.cc if (offset > user_buffers_[index]->Start()) offset 1179 net/disk_cache/blockfile/entry_impl_v3.cc return ImportSeparateFile(index, offset + buf_len); offset 1192 net/disk_cache/blockfile/entry_impl_v3.cc int offset = 0; offset 1195 net/disk_cache/blockfile/entry_impl_v3.cc offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; offset 1198 net/disk_cache/blockfile/entry_impl_v3.cc !file->Read(user_buffers_[index]->Data(), len, offset, NULL, NULL)) { offset 1228 net/disk_cache/blockfile/entry_impl_v3.cc bool EntryImpl::PrepareBuffer(int index, int offset, int buf_len) { offset 1230 net/disk_cache/blockfile/entry_impl_v3.cc if ((user_buffers_[index]->End() && offset > user_buffers_[index]->End()) || offset 1231 net/disk_cache/blockfile/entry_impl_v3.cc offset > entry_.Data()->data_size[index]) { offset 1247 net/disk_cache/blockfile/entry_impl_v3.cc if (!user_buffers_[index]->PreWrite(offset, buf_len)) { offset 1248 net/disk_cache/blockfile/entry_impl_v3.cc if (!Flush(index, offset + buf_len)) offset 1252 net/disk_cache/blockfile/entry_impl_v3.cc if (offset > user_buffers_[index]->End() || offset 1253 net/disk_cache/blockfile/entry_impl_v3.cc !user_buffers_[index]->PreWrite(offset, buf_len)) { offset 1281 net/disk_cache/blockfile/entry_impl_v3.cc int offset = user_buffers_[index]->Start(); offset 1282 net/disk_cache/blockfile/entry_impl_v3.cc if (!len && !offset) offset 1287 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK(!offset); offset 1288 net/disk_cache/blockfile/entry_impl_v3.cc offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; offset 1295 net/disk_cache/blockfile/entry_impl_v3.cc if (!file->Write(user_buffers_[index]->Data(), len, offset, NULL, NULL)) offset 1423 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::ReadData(int index, int offset, IOBuffer* buf, int buf_len, offset 1428 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::WriteData(int index, int offset, IOBuffer* buf, int buf_len, offset 1433 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 1438 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 1443 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::GetAvailableRange(int64 offset, int len, int64* start, offset 86 net/disk_cache/blockfile/entry_impl_v3.h virtual int ReadData(int index, int offset, IOBuffer* buf, int buf_len, offset 88 net/disk_cache/blockfile/entry_impl_v3.h virtual int WriteData(int index, int offset, IOBuffer* buf, int buf_len, offset 91 net/disk_cache/blockfile/entry_impl_v3.h virtual int ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 93 net/disk_cache/blockfile/entry_impl_v3.h virtual int WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 95 net/disk_cache/blockfile/entry_impl_v3.h virtual int GetAvailableRange(int64 offset, int len, int64* start, offset 111 net/disk_cache/blockfile/entry_impl_v3.h int InternalReadData(int index, int offset, IOBuffer* buf, offset 113 net/disk_cache/blockfile/entry_impl_v3.h int InternalWriteData(int index, int offset, IOBuffer* buf, int buf_len, offset 137 net/disk_cache/blockfile/entry_impl_v3.h bool PrepareTarget(int index, int offset, int buf_len, bool truncate); offset 141 net/disk_cache/blockfile/entry_impl_v3.h bool HandleTruncation(int index, int offset, int buf_len); offset 154 net/disk_cache/blockfile/entry_impl_v3.h bool PrepareBuffer(int index, int offset, int buf_len); offset 52 net/disk_cache/blockfile/file.h bool Read(void* buffer, size_t buffer_len, size_t offset); offset 53 net/disk_cache/blockfile/file.h bool Write(const void* buffer, size_t buffer_len, size_t offset); offset 57 net/disk_cache/blockfile/file.h bool Read(void* buffer, size_t buffer_len, size_t offset, offset 59 net/disk_cache/blockfile/file.h bool Write(const void* buffer, size_t buffer_len, size_t offset, offset 82 net/disk_cache/blockfile/file.h bool AsyncWrite(const void* buffer, size_t buffer_len, size_t offset, offset 86 net/disk_cache/blockfile/file.h int DoRead(void* buffer, size_t buffer_len, size_t offset); offset 87 net/disk_cache/blockfile/file.h int DoWrite(const void* buffer, size_t buffer_len, size_t offset); offset 26 net/disk_cache/blockfile/file_block.h virtual int offset() const = 0; offset 27 net/disk_cache/blockfile/file_ios.cc size_t offset, disk_cache::FileIOCallback* callback, offset 30 net/disk_cache/blockfile/file_ios.cc buf_(buf), buf_len_(buf_len), offset_(offset) { offset 73 net/disk_cache/blockfile/file_ios.cc size_t offset, disk_cache::FileIOCallback* callback); offset 75 net/disk_cache/blockfile/file_ios.cc size_t offset, disk_cache::FileIOCallback* callback); offset 112 net/disk_cache/blockfile/file_ios.cc size_t offset, disk_cache::FileIOCallback *callback) { offset 114 net/disk_cache/blockfile/file_ios.cc new FileBackgroundIO(file, buf, buf_len, offset, callback, this)); offset 123 net/disk_cache/blockfile/file_ios.cc size_t buf_len, size_t offset, offset 126 net/disk_cache/blockfile/file_ios.cc new FileBackgroundIO(file, buf, buf_len, offset, callback, this)); offset 189 net/disk_cache/blockfile/file_ios.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset) { offset 192 net/disk_cache/blockfile/file_ios.cc offset > static_cast<size_t>(kint32max)) { offset 196 net/disk_cache/blockfile/file_ios.cc int ret = base_file_.Read(offset, static_cast<char*>(buffer), buffer_len); offset 200 net/disk_cache/blockfile/file_ios.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset) { offset 203 net/disk_cache/blockfile/file_ios.cc offset > static_cast<size_t>(kint32max)) { offset 207 net/disk_cache/blockfile/file_ios.cc int ret = base_file_.Write(offset, static_cast<const char*>(buffer), offset 215 net/disk_cache/blockfile/file_ios.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset, offset 221 net/disk_cache/blockfile/file_ios.cc return Read(buffer, buffer_len, offset); offset 224 net/disk_cache/blockfile/file_ios.cc if (buffer_len > ULONG_MAX || offset > ULONG_MAX) offset 227 net/disk_cache/blockfile/file_ios.cc GetFileInFlightIO()->PostRead(this, buffer, buffer_len, offset, callback); offset 233 net/disk_cache/blockfile/file_ios.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset, offset 239 net/disk_cache/blockfile/file_ios.cc return Write(buffer, buffer_len, offset); offset 242 net/disk_cache/blockfile/file_ios.cc return AsyncWrite(buffer, buffer_len, offset, callback, completed); offset 284 net/disk_cache/blockfile/file_ios.cc bool File::AsyncWrite(const void* buffer, size_t buffer_len, size_t offset, offset 287 net/disk_cache/blockfile/file_ios.cc if (buffer_len > ULONG_MAX || offset > ULONG_MAX) offset 290 net/disk_cache/blockfile/file_ios.cc GetFileInFlightIO()->PostWrite(this, buffer, buffer_len, offset, callback); offset 57 net/disk_cache/blockfile/file_posix.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset) { offset 60 net/disk_cache/blockfile/file_posix.cc offset > static_cast<size_t>(kint32max)) { offset 64 net/disk_cache/blockfile/file_posix.cc int ret = base_file_.Read(offset, static_cast<char*>(buffer), buffer_len); offset 68 net/disk_cache/blockfile/file_posix.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset) { offset 71 net/disk_cache/blockfile/file_posix.cc offset > static_cast<size_t>(kint32max)) { offset 75 net/disk_cache/blockfile/file_posix.cc int ret = base_file_.Write(offset, static_cast<const char*>(buffer), offset 80 net/disk_cache/blockfile/file_posix.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset, offset 86 net/disk_cache/blockfile/file_posix.cc return Read(buffer, buffer_len, offset); offset 90 net/disk_cache/blockfile/file_posix.cc offset > static_cast<size_t>(kint32max)) { offset 96 net/disk_cache/blockfile/file_posix.cc base::Bind(&File::DoRead, this, buffer, buffer_len, offset), offset 103 net/disk_cache/blockfile/file_posix.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset, offset 109 net/disk_cache/blockfile/file_posix.cc return Write(buffer, buffer_len, offset); offset 113 net/disk_cache/blockfile/file_posix.cc offset > static_cast<size_t>(kint32max)) { offset 119 net/disk_cache/blockfile/file_posix.cc base::Bind(&File::DoWrite, this, buffer, buffer_len, offset), offset 166 net/disk_cache/blockfile/file_posix.cc int File::DoRead(void* buffer, size_t buffer_len, size_t offset) { offset 167 net/disk_cache/blockfile/file_posix.cc if (Read(const_cast<void*>(buffer), buffer_len, offset)) offset 174 net/disk_cache/blockfile/file_posix.cc int File::DoWrite(const void* buffer, size_t buffer_len, size_t offset) { offset 175 net/disk_cache/blockfile/file_posix.cc if (Write(const_cast<void*>(buffer), buffer_len, offset)) offset 17 net/disk_cache/blockfile/file_win.cc MyOverlapped(disk_cache::File* file, size_t offset, offset 59 net/disk_cache/blockfile/file_win.cc MyOverlapped::MyOverlapped(disk_cache::File* file, size_t offset, offset 63 net/disk_cache/blockfile/file_win.cc context_.overlapped.Offset = static_cast<DWORD>(offset); offset 112 net/disk_cache/blockfile/file_win.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset) { offset 114 net/disk_cache/blockfile/file_win.cc if (buffer_len > ULONG_MAX || offset > LONG_MAX) offset 117 net/disk_cache/blockfile/file_win.cc int ret = sync_base_file_.Read(offset, static_cast<char*>(buffer), offset 122 net/disk_cache/blockfile/file_win.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset) { offset 124 net/disk_cache/blockfile/file_win.cc if (buffer_len > ULONG_MAX || offset > ULONG_MAX) offset 127 net/disk_cache/blockfile/file_win.cc int ret = sync_base_file_.Write(offset, static_cast<const char*>(buffer), offset 135 net/disk_cache/blockfile/file_win.cc bool File::Read(void* buffer, size_t buffer_len, size_t offset, offset 141 net/disk_cache/blockfile/file_win.cc return Read(buffer, buffer_len, offset); offset 144 net/disk_cache/blockfile/file_win.cc if (buffer_len > ULONG_MAX || offset > ULONG_MAX) offset 147 net/disk_cache/blockfile/file_win.cc MyOverlapped* data = new MyOverlapped(this, offset, callback); offset 168 net/disk_cache/blockfile/file_win.cc bool File::Write(const void* buffer, size_t buffer_len, size_t offset, offset 174 net/disk_cache/blockfile/file_win.cc return Write(buffer, buffer_len, offset); offset 177 net/disk_cache/blockfile/file_win.cc return AsyncWrite(buffer, buffer_len, offset, callback, completed); offset 189 net/disk_cache/blockfile/file_win.cc bool File::AsyncWrite(const void* buffer, size_t buffer_len, size_t offset, offset 194 net/disk_cache/blockfile/file_win.cc if (buffer_len > ULONG_MAX || offset > ULONG_MAX) offset 197 net/disk_cache/blockfile/file_win.cc MyOverlapped* data = new MyOverlapped(this, offset, callback); offset 159 net/disk_cache/blockfile/in_flight_backend_io.cc void BackendIO::ReadData(EntryImpl* entry, int index, int offset, offset 164 net/disk_cache/blockfile/in_flight_backend_io.cc offset_ = offset; offset 169 net/disk_cache/blockfile/in_flight_backend_io.cc void BackendIO::WriteData(EntryImpl* entry, int index, int offset, offset 174 net/disk_cache/blockfile/in_flight_backend_io.cc offset_ = offset; offset 180 net/disk_cache/blockfile/in_flight_backend_io.cc void BackendIO::ReadSparseData(EntryImpl* entry, int64 offset, offset 184 net/disk_cache/blockfile/in_flight_backend_io.cc offset64_ = offset; offset 189 net/disk_cache/blockfile/in_flight_backend_io.cc void BackendIO::WriteSparseData(EntryImpl* entry, int64 offset, offset 193 net/disk_cache/blockfile/in_flight_backend_io.cc offset64_ = offset; offset 198 net/disk_cache/blockfile/in_flight_backend_io.cc void BackendIO::GetAvailableRange(EntryImpl* entry, int64 offset, int len, offset 202 net/disk_cache/blockfile/in_flight_backend_io.cc offset64_ = offset; offset 447 net/disk_cache/blockfile/in_flight_backend_io.cc void InFlightBackendIO::ReadData(EntryImpl* entry, int index, int offset, offset 451 net/disk_cache/blockfile/in_flight_backend_io.cc operation->ReadData(entry, index, offset, buf, buf_len); offset 455 net/disk_cache/blockfile/in_flight_backend_io.cc void InFlightBackendIO::WriteData(EntryImpl* entry, int index, int offset, offset 460 net/disk_cache/blockfile/in_flight_backend_io.cc operation->WriteData(entry, index, offset, buf, buf_len, truncate); offset 465 net/disk_cache/blockfile/in_flight_backend_io.cc EntryImpl* entry, int64 offset, net::IOBuffer* buf, int buf_len, offset 468 net/disk_cache/blockfile/in_flight_backend_io.cc operation->ReadSparseData(entry, offset, buf, buf_len); offset 473 net/disk_cache/blockfile/in_flight_backend_io.cc EntryImpl* entry, int64 offset, net::IOBuffer* buf, int buf_len, offset 476 net/disk_cache/blockfile/in_flight_backend_io.cc operation->WriteSparseData(entry, offset, buf, buf_len); offset 481 net/disk_cache/blockfile/in_flight_backend_io.cc EntryImpl* entry, int64 offset, int len, int64* start, offset 484 net/disk_cache/blockfile/in_flight_backend_io.cc operation->GetAvailableRange(entry, offset, len, start); offset 65 net/disk_cache/blockfile/in_flight_backend_io.h void ReadData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, offset 67 net/disk_cache/blockfile/in_flight_backend_io.h void WriteData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, offset 69 net/disk_cache/blockfile/in_flight_backend_io.h void ReadSparseData(EntryImpl* entry, int64 offset, net::IOBuffer* buf, offset 71 net/disk_cache/blockfile/in_flight_backend_io.h void WriteSparseData(EntryImpl* entry, int64 offset, net::IOBuffer* buf, offset 73 net/disk_cache/blockfile/in_flight_backend_io.h void GetAvailableRange(EntryImpl* entry, int64 offset, int len, int64* start); offset 178 net/disk_cache/blockfile/in_flight_backend_io.h void ReadData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, offset 181 net/disk_cache/blockfile/in_flight_backend_io.h EntryImpl* entry, int index, int offset, net::IOBuffer* buf, offset 183 net/disk_cache/blockfile/in_flight_backend_io.h void ReadSparseData(EntryImpl* entry, int64 offset, net::IOBuffer* buf, offset 185 net/disk_cache/blockfile/in_flight_backend_io.h void WriteSparseData(EntryImpl* entry, int64 offset, net::IOBuffer* buf, offset 187 net/disk_cache/blockfile/in_flight_backend_io.h void GetAvailableRange(EntryImpl* entry, int64 offset, int len, int64* start, offset 16 net/disk_cache/blockfile/mapped_file.cc size_t offset = block->offset() + view_size_; offset 17 net/disk_cache/blockfile/mapped_file.cc return Read(block->buffer(), block->size(), offset); offset 21 net/disk_cache/blockfile/mapped_file.cc size_t offset = block->offset() + view_size_; offset 22 net/disk_cache/blockfile/mapped_file.cc return Write(block->buffer(), block->size(), offset); offset 28 net/disk_cache/blockfile/mapped_file.cc size_t offset = block->offset() + view_size_; offset 29 net/disk_cache/blockfile/mapped_file.cc return Read(block->buffer(), block->size(), offset, callback, completed); offset 35 net/disk_cache/blockfile/mapped_file.cc size_t offset = block->offset() + view_size_; offset 36 net/disk_cache/blockfile/mapped_file.cc return Write(block->buffer(), block->size(), offset, callback, completed); offset 43 net/disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc for (size_t offset = 0; offset < view_size_; offset += block_size) { offset 44 net/disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc size_t size = std::min(view_size_ - offset, block_size); offset 45 net/disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc if (memcmp(snapshot_ptr + offset, buffer_ptr + offset, size)) { offset 46 net/disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc memcpy(snapshot_ptr + offset, buffer_ptr + offset, size); offset 47 net/disk_cache/blockfile/mapped_file_avoid_mmap_posix.cc Write(snapshot_ptr + offset, size, offset); offset 244 net/disk_cache/blockfile/sparse_control.cc int SparseControl::StartIO(SparseOperation op, int64 offset, net::IOBuffer* buf, offset 251 net/disk_cache/blockfile/sparse_control.cc if (offset < 0 || buf_len < 0) offset 255 net/disk_cache/blockfile/sparse_control.cc if (static_cast<uint64>(offset) + static_cast<unsigned int>(buf_len) >= offset 268 net/disk_cache/blockfile/sparse_control.cc offset_ = offset; offset 296 net/disk_cache/blockfile/sparse_control.cc int SparseControl::GetAvailableRange(int64 offset, int len, int64* start) { offset 306 net/disk_cache/blockfile/sparse_control.cc kGetRangeOperation, offset, NULL, len, CompletionCallback()); offset 313 net/disk_cache/blockfile/sparse_control.cc *start = offset; offset 62 net/disk_cache/blockfile/sparse_control.h int StartIO(SparseOperation op, int64 offset, net::IOBuffer* buf, offset 66 net/disk_cache/blockfile/sparse_control.h int GetAvailableRange(int64 offset, int len, int64* start); offset 225 net/disk_cache/blockfile/sparse_control_v3.cc int SparseControl::StartIO(SparseOperation op, int64 offset, net::IOBuffer* buf, offset 232 net/disk_cache/blockfile/sparse_control_v3.cc if (offset < 0 || buf_len < 0) offset 236 net/disk_cache/blockfile/sparse_control_v3.cc if (offset + buf_len >= 0x1000000000LL || offset + buf_len < 0) offset 247 net/disk_cache/blockfile/sparse_control_v3.cc offset_ = offset; offset 275 net/disk_cache/blockfile/sparse_control_v3.cc int SparseControl::GetAvailableRange(int64 offset, int len, int64* start) { offset 285 net/disk_cache/blockfile/sparse_control_v3.cc kGetRangeOperation, offset, NULL, len, CompletionCallback()); offset 292 net/disk_cache/blockfile/sparse_control_v3.cc *start = offset; offset 57 net/disk_cache/blockfile/sparse_control_v3.h int StartIO(SparseOperation op, int64 offset, net::IOBuffer* buf, offset 61 net/disk_cache/blockfile/sparse_control_v3.h int GetAvailableRange(int64 offset, int len, int64* start); offset 41 net/disk_cache/blockfile/storage_block-inl.h template<typename T> int StorageBlock<T>::offset() const { offset 39 net/disk_cache/blockfile/storage_block.h virtual int offset() const; offset 192 net/disk_cache/disk_cache.h virtual int ReadData(int index, int offset, IOBuffer* buf, int buf_len, offset 206 net/disk_cache/disk_cache.h virtual int WriteData(int index, int offset, IOBuffer* buf, int buf_len, offset 254 net/disk_cache/disk_cache.h virtual int ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 263 net/disk_cache/disk_cache.h virtual int WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 275 net/disk_cache/disk_cache.h virtual int GetAvailableRange(int64 offset, int len, int64* start, offset 182 net/disk_cache/disk_cache_test_base.cc int offset, net::IOBuffer* buf, int len) { offset 184 net/disk_cache/disk_cache_test_base.cc int rv = entry->ReadData(index, offset, buf, len, cb.callback()); offset 189 net/disk_cache/disk_cache_test_base.cc int offset, net::IOBuffer* buf, int len, offset 192 net/disk_cache/disk_cache_test_base.cc int rv = entry->WriteData(index, offset, buf, len, cb.callback(), truncate); offset 197 net/disk_cache/disk_cache_test_base.cc int64 offset, net::IOBuffer* buf, offset 200 net/disk_cache/disk_cache_test_base.cc int rv = entry->ReadSparseData(offset, buf, len, cb.callback()); offset 205 net/disk_cache/disk_cache_test_base.cc int64 offset, offset 208 net/disk_cache/disk_cache_test_base.cc int rv = entry->WriteSparseData(offset, buf, len, cb.callback()); offset 123 net/disk_cache/disk_cache_test_base.h int ReadData(disk_cache::Entry* entry, int index, int offset, offset 125 net/disk_cache/disk_cache_test_base.h int WriteData(disk_cache::Entry* entry, int index, int offset, offset 127 net/disk_cache/disk_cache_test_base.h int ReadSparseData(disk_cache::Entry* entry, int64 offset, net::IOBuffer* buf, offset 129 net/disk_cache/disk_cache_test_base.h int WriteSparseData(disk_cache::Entry* entry, int64 offset, offset 1635 net/disk_cache/entry_unittest.cc void VerifySparseIO(disk_cache::Entry* entry, int64 offset, offset 1640 net/disk_cache/entry_unittest.cc int ret = entry->ReadSparseData(offset, buf_2, size, cb.callback()); offset 1643 net/disk_cache/entry_unittest.cc ret = entry->WriteSparseData(offset, buf_1, size, cb.callback()); offset 1646 net/disk_cache/entry_unittest.cc ret = entry->ReadSparseData(offset, buf_2, size, cb.callback()); offset 1654 net/disk_cache/entry_unittest.cc void VerifyContentSparseIO(disk_cache::Entry* entry, int64 offset, char* buffer, offset 1660 net/disk_cache/entry_unittest.cc int ret = entry->ReadSparseData(offset, buf_1.get(), size, cb.callback()); offset 2000 net/disk_cache/entry_unittest.cc int64 offset = 1024; offset 2003 net/disk_cache/entry_unittest.cc EXPECT_EQ(kSize, WriteSparseData(entry1, offset, buf.get(), kSize)); offset 2006 net/disk_cache/entry_unittest.cc EXPECT_EQ(kSize, WriteSparseData(entry2, offset, buf.get(), kSize)); offset 2008 net/disk_cache/entry_unittest.cc offset *= 4; offset 2088 net/disk_cache/entry_unittest.cc int64 offset = 1024; offset 2093 net/disk_cache/entry_unittest.cc offset, buf.get(), kSize, net::CompletionCallback())); offset 2094 net/disk_cache/entry_unittest.cc offset *= 4; offset 2270 net/disk_cache/entry_unittest.cc int64 offset = 0; offset 2271 net/disk_cache/entry_unittest.cc rv = entry->GetAvailableRange(offset, kSize, &offset, cb5.callback()); offset 2289 net/disk_cache/entry_unittest.cc offset, buf.get(), kSize, net::CompletionCallback())); offset 2292 net/disk_cache/entry_unittest.cc offset, buf.get(), kSize, net::CompletionCallback())); offset 2303 net/disk_cache/entry_unittest.cc rv = entry->GetAvailableRange(offset, kSize, &offset, cb5.callback()); offset 3480 net/disk_cache/entry_unittest.cc int offset = 0; offset 3483 net/disk_cache/entry_unittest.cc EXPECT_EQ(buf_len, ReadData(entry2, 1, offset, buffer1_read1.get(), buf_len)); offset 3487 net/disk_cache/entry_unittest.cc offset = buf_len; offset 3490 net/disk_cache/entry_unittest.cc EXPECT_EQ(buf_len, ReadData(entry2, 1, offset, buffer1_read2.get(), buf_len)); offset 3491 net/disk_cache/entry_unittest.cc char* buffer1_data = buffer1->data() + offset; offset 3528 net/disk_cache/entry_unittest.cc int offset = kHalfSize; offset 3532 net/disk_cache/entry_unittest.cc WriteData(entry, i, offset, buffer2.get(), buf_len, false)); offset 3533 net/disk_cache/entry_unittest.cc offset = 0; offset 3536 net/disk_cache/entry_unittest.cc WriteData(entry, i, offset, buffer1.get(), buf_len, false)); offset 3648 net/disk_cache/entry_unittest.cc int offset = 0; offset 3652 net/disk_cache/entry_unittest.cc WriteData(entry, i, offset, buffer1.get(), buf_len, false)); offset 3653 net/disk_cache/entry_unittest.cc offset = kHalfSize; offset 3656 net/disk_cache/entry_unittest.cc WriteData(entry, i, offset, buffer2.get(), buf_len, false)); offset 3856 net/disk_cache/entry_unittest.cc int offset = 0; offset 3860 net/disk_cache/entry_unittest.cc WriteData(entry, i, offset, buffer1.get(), buf_len, false)); offset 3862 net/disk_cache/entry_unittest.cc offset = kSize; offset 3865 net/disk_cache/entry_unittest.cc WriteData(entry, i, offset, buffer2.get(), buf_len, false)); offset 29 net/disk_cache/memory/mem_entry_impl.cc inline int ToChildIndex(int64 offset) { offset 30 net/disk_cache/memory/mem_entry_impl.cc return static_cast<int>(offset >> kMaxSparseEntryBits); offset 34 net/disk_cache/memory/mem_entry_impl.cc inline int ToChildOffset(int64 offset) { offset 35 net/disk_cache/memory/mem_entry_impl.cc return static_cast<int>(offset & (kMaxSparseEntrySize - 1)); offset 186 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::ReadData(int index, int offset, IOBuffer* buf, int buf_len, offset 191 net/disk_cache/memory/mem_entry_impl.cc CreateNetLogReadWriteDataCallback(index, offset, buf_len, false)); offset 194 net/disk_cache/memory/mem_entry_impl.cc int result = InternalReadData(index, offset, buf, buf_len); offset 204 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::WriteData(int index, int offset, IOBuffer* buf, int buf_len, offset 209 net/disk_cache/memory/mem_entry_impl.cc CreateNetLogReadWriteDataCallback(index, offset, buf_len, truncate)); offset 212 net/disk_cache/memory/mem_entry_impl.cc int result = InternalWriteData(index, offset, buf, buf_len, truncate); offset 222 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 227 net/disk_cache/memory/mem_entry_impl.cc CreateNetLogSparseOperationCallback(offset, buf_len)); offset 229 net/disk_cache/memory/mem_entry_impl.cc int result = InternalReadSparseData(offset, buf, buf_len); offset 235 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 240 net/disk_cache/memory/mem_entry_impl.cc CreateNetLogSparseOperationCallback(offset, buf_len)); offset 242 net/disk_cache/memory/mem_entry_impl.cc int result = InternalWriteSparseData(offset, buf, buf_len); offset 248 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::GetAvailableRange(int64 offset, int len, int64* start, offset 253 net/disk_cache/memory/mem_entry_impl.cc CreateNetLogSparseOperationCallback(offset, len)); offset 255 net/disk_cache/memory/mem_entry_impl.cc int result = GetAvailableRange(offset, len, start); offset 282 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::InternalReadData(int index, int offset, IOBuffer* buf, offset 290 net/disk_cache/memory/mem_entry_impl.cc if (offset >= entry_size || offset < 0 || !buf_len) offset 296 net/disk_cache/memory/mem_entry_impl.cc if (offset + buf_len > entry_size) offset 297 net/disk_cache/memory/mem_entry_impl.cc buf_len = entry_size - offset; offset 301 net/disk_cache/memory/mem_entry_impl.cc memcpy(buf->data(), &(data_[index])[offset], buf_len); offset 305 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::InternalWriteData(int index, int offset, IOBuffer* buf, offset 312 net/disk_cache/memory/mem_entry_impl.cc if (offset < 0 || buf_len < 0) offset 318 net/disk_cache/memory/mem_entry_impl.cc if (offset > max_file_size || buf_len > max_file_size || offset 319 net/disk_cache/memory/mem_entry_impl.cc offset + buf_len > max_file_size) { offset 326 net/disk_cache/memory/mem_entry_impl.cc PrepareTarget(index, offset, buf_len); offset 328 net/disk_cache/memory/mem_entry_impl.cc if (entry_size < offset + buf_len) { offset 329 net/disk_cache/memory/mem_entry_impl.cc backend_->ModifyStorageSize(entry_size, offset + buf_len); offset 330 net/disk_cache/memory/mem_entry_impl.cc data_size_[index] = offset + buf_len; offset 332 net/disk_cache/memory/mem_entry_impl.cc if (entry_size > offset + buf_len) { offset 333 net/disk_cache/memory/mem_entry_impl.cc backend_->ModifyStorageSize(entry_size, offset + buf_len); offset 334 net/disk_cache/memory/mem_entry_impl.cc data_size_[index] = offset + buf_len; offset 343 net/disk_cache/memory/mem_entry_impl.cc memcpy(&(data_[index])[offset], buf->data(), buf_len); offset 347 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::InternalReadSparseData(int64 offset, IOBuffer* buf, offset 354 net/disk_cache/memory/mem_entry_impl.cc if (offset < 0 || buf_len < 0) offset 363 net/disk_cache/memory/mem_entry_impl.cc MemEntryImpl* child = OpenChild(offset + io_buf->BytesConsumed(), false); offset 370 net/disk_cache/memory/mem_entry_impl.cc int child_offset = ToChildOffset(offset + io_buf->BytesConsumed()); offset 404 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::InternalWriteSparseData(int64 offset, IOBuffer* buf, offset 411 net/disk_cache/memory/mem_entry_impl.cc if (offset < 0 || buf_len < 0) offset 422 net/disk_cache/memory/mem_entry_impl.cc MemEntryImpl* child = OpenChild(offset + io_buf->BytesConsumed(), true); offset 423 net/disk_cache/memory/mem_entry_impl.cc int child_offset = ToChildOffset(offset + io_buf->BytesConsumed()); offset 470 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::GetAvailableRange(int64 offset, int len, int64* start) { offset 477 net/disk_cache/memory/mem_entry_impl.cc if (offset < 0 || len < 0 || !start) offset 483 net/disk_cache/memory/mem_entry_impl.cc int empty = FindNextChild(offset, len, ¤t_child); offset 485 net/disk_cache/memory/mem_entry_impl.cc *start = offset + empty; offset 510 net/disk_cache/memory/mem_entry_impl.cc *start = offset; offset 514 net/disk_cache/memory/mem_entry_impl.cc void MemEntryImpl::PrepareTarget(int index, int offset, int buf_len) { offset 517 net/disk_cache/memory/mem_entry_impl.cc if (entry_size >= offset + buf_len) offset 520 net/disk_cache/memory/mem_entry_impl.cc if (static_cast<int>(data_[index].size()) < offset + buf_len) offset 521 net/disk_cache/memory/mem_entry_impl.cc data_[index].resize(offset + buf_len); offset 523 net/disk_cache/memory/mem_entry_impl.cc if (offset <= entry_size) offset 528 net/disk_cache/memory/mem_entry_impl.cc memset(&(data_[index])[entry_size], 0, offset - entry_size); offset 580 net/disk_cache/memory/mem_entry_impl.cc MemEntryImpl* MemEntryImpl::OpenChild(int64 offset, bool create) { offset 582 net/disk_cache/memory/mem_entry_impl.cc int index = ToChildIndex(offset); offset 595 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::FindNextChild(int64 offset, int len, MemEntryImpl** child) { offset 603 net/disk_cache/memory/mem_entry_impl.cc int current_child_offset = ToChildOffset(offset + scanned_len); offset 604 net/disk_cache/memory/mem_entry_impl.cc MemEntryImpl* current_child = OpenChild(offset + scanned_len, false); offset 96 net/disk_cache/memory/mem_entry_impl.h virtual int ReadData(int index, int offset, IOBuffer* buf, int buf_len, offset 98 net/disk_cache/memory/mem_entry_impl.h virtual int WriteData(int index, int offset, IOBuffer* buf, int buf_len, offset 101 net/disk_cache/memory/mem_entry_impl.h virtual int ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 103 net/disk_cache/memory/mem_entry_impl.h virtual int WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 105 net/disk_cache/memory/mem_entry_impl.h virtual int GetAvailableRange(int64 offset, int len, int64* start, offset 122 net/disk_cache/memory/mem_entry_impl.h int InternalReadData(int index, int offset, IOBuffer* buf, int buf_len); offset 123 net/disk_cache/memory/mem_entry_impl.h int InternalWriteData(int index, int offset, IOBuffer* buf, int buf_len, offset 125 net/disk_cache/memory/mem_entry_impl.h int InternalReadSparseData(int64 offset, IOBuffer* buf, int buf_len); offset 126 net/disk_cache/memory/mem_entry_impl.h int InternalWriteSparseData(int64 offset, IOBuffer* buf, int buf_len); offset 129 net/disk_cache/memory/mem_entry_impl.h int GetAvailableRange(int64 offset, int len, int64* start); offset 132 net/disk_cache/memory/mem_entry_impl.h void PrepareTarget(int index, int offset, int buf_len); offset 150 net/disk_cache/memory/mem_entry_impl.h MemEntryImpl* OpenChild(int64 offset, bool create); offset 155 net/disk_cache/memory/mem_entry_impl.h int FindNextChild(int64 offset, int len, MemEntryImpl** child); offset 28 net/disk_cache/net_log_parameters.cc int offset, offset 34 net/disk_cache/net_log_parameters.cc dict->SetInteger("offset", offset); offset 55 net/disk_cache/net_log_parameters.cc int64 offset, offset 61 net/disk_cache/net_log_parameters.cc dict->SetString("offset", base::Int64ToString(offset)); offset 103 net/disk_cache/net_log_parameters.cc int offset, offset 107 net/disk_cache/net_log_parameters.cc index, offset, buf_len, truncate); offset 116 net/disk_cache/net_log_parameters.cc int64 offset, offset 118 net/disk_cache/net_log_parameters.cc return base::Bind(&NetLogSparseOperationCallback, offset, buff_len); offset 30 net/disk_cache/net_log_parameters.h int offset, offset 45 net/disk_cache/net_log_parameters.h int64 offset, offset 66 net/disk_cache/simple/simple_entry_format.h int64 offset; offset 124 net/disk_cache/simple/simple_entry_impl.cc void AdjustOpenEntryCountBy(net::CacheType cache_type, int offset) { offset 125 net/disk_cache/simple/simple_entry_impl.cc g_open_entry_count += offset; offset 335 net/disk_cache/simple/simple_entry_impl.cc int offset, offset 343 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogReadWriteDataCallback(stream_index, offset, buf_len, offset 357 net/disk_cache/simple/simple_entry_impl.cc if (pending_operations_.empty() && (offset >= GetDataSize(stream_index) || offset 358 net/disk_cache/simple/simple_entry_impl.cc offset < 0 || !buf_len)) { offset 375 net/disk_cache/simple/simple_entry_impl.cc this, stream_index, offset, buf_len, buf, callback, alone_in_queue)); offset 381 net/disk_cache/simple/simple_entry_impl.cc int offset, offset 391 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogReadWriteDataCallback(stream_index, offset, buf_len, offset 396 net/disk_cache/simple/simple_entry_impl.cc offset < 0 || buf_len < 0) { offset 405 net/disk_cache/simple/simple_entry_impl.cc if (backend_.get() && offset + buf_len > backend_->GetMaxFileSize()) { offset 420 net/disk_cache/simple/simple_entry_impl.cc return SetStream0Data(buf, offset, buf_len, truncate); offset 457 net/disk_cache/simple/simple_entry_impl.cc offset, offset 466 net/disk_cache/simple/simple_entry_impl.cc int SimpleEntryImpl::ReadSparseData(int64 offset, offset 474 net/disk_cache/simple/simple_entry_impl.cc this, offset, buf_len, buf, callback)); offset 478 net/disk_cache/simple/simple_entry_impl.cc int SimpleEntryImpl::WriteSparseData(int64 offset, offset 486 net/disk_cache/simple/simple_entry_impl.cc this, offset, buf_len, buf, callback)); offset 490 net/disk_cache/simple/simple_entry_impl.cc int SimpleEntryImpl::GetAvailableRange(int64 offset, offset 498 net/disk_cache/simple/simple_entry_impl.cc this, offset, len, start, callback)); offset 610 net/disk_cache/simple/simple_entry_impl.cc operation->offset(), offset 618 net/disk_cache/simple/simple_entry_impl.cc operation->offset(), offset 803 net/disk_cache/simple/simple_entry_impl.cc int offset, offset 813 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogReadWriteDataCallback(stream_index, offset, buf_len, offset 834 net/disk_cache/simple/simple_entry_impl.cc if (offset >= GetDataSize(stream_index) || offset < 0 || !buf_len) { offset 843 net/disk_cache/simple/simple_entry_impl.cc buf_len = std::min(buf_len, GetDataSize(stream_index) - offset); offset 847 net/disk_cache/simple/simple_entry_impl.cc int ret_value = ReadStream0Data(buf, offset, buf_len); offset 867 net/disk_cache/simple/simple_entry_impl.cc SimpleSynchronousEntry::EntryOperationData(stream_index, offset, buf_len), offset 875 net/disk_cache/simple/simple_entry_impl.cc offset, offset 884 net/disk_cache/simple/simple_entry_impl.cc int offset, offset 895 net/disk_cache/simple/simple_entry_impl.cc CreateNetLogReadWriteDataCallback(stream_index, offset, buf_len, offset 918 net/disk_cache/simple/simple_entry_impl.cc int ret_value = SetStream0Data(buf, offset, buf_len, truncate); offset 929 net/disk_cache/simple/simple_entry_impl.cc if (truncate ? (offset == data_size) : (offset <= data_size)) { offset 942 net/disk_cache/simple/simple_entry_impl.cc AdvanceCrc(buf, offset, buf_len, stream_index); offset 949 net/disk_cache/simple/simple_entry_impl.cc data_size_[stream_index] = offset + buf_len; offset 951 net/disk_cache/simple/simple_entry_impl.cc data_size_[stream_index] = std::max(offset + buf_len, offset 969 net/disk_cache/simple/simple_entry_impl.cc stream_index, offset, buf_len, truncate, offset 1164 net/disk_cache/simple/simple_entry_impl.cc int offset, offset 1180 net/disk_cache/simple/simple_entry_impl.cc if (*result > 0 && crc32s_end_offset_[stream_index] == offset) { offset 1181 net/disk_cache/simple/simple_entry_impl.cc uint32 current_crc = offset == 0 ? crc32(0, Z_NULL, 0) offset 1225 net/disk_cache/simple/simple_entry_impl.cc offset + *result == GetDataSize(stream_index)) { offset 1451 net/disk_cache/simple/simple_entry_impl.cc int offset, offset 1457 net/disk_cache/simple/simple_entry_impl.cc memcpy(buf->data(), stream_0_data_->data() + offset, buf_len); offset 1466 net/disk_cache/simple/simple_entry_impl.cc int offset, offset 1476 net/disk_cache/simple/simple_entry_impl.cc if (offset == 0 && truncate) { offset 1484 net/disk_cache/simple/simple_entry_impl.cc truncate ? offset + buf_len : std::max(offset + buf_len, data_size); offset 1488 net/disk_cache/simple/simple_entry_impl.cc const int fill_size = offset <= data_size ? 0 : offset - data_size; offset 1492 net/disk_cache/simple/simple_entry_impl.cc memcpy(stream_0_data_->data() + offset, buf->data(), buf_len); offset 1496 net/disk_cache/simple/simple_entry_impl.cc AdvanceCrc(buf, offset, buf_len, 0); offset 1505 net/disk_cache/simple/simple_entry_impl.cc int offset, offset 1513 net/disk_cache/simple/simple_entry_impl.cc if (offset == 0 || crc32s_end_offset_[stream_index] == offset) { offset 1515 net/disk_cache/simple/simple_entry_impl.cc (offset != 0) ? crc32s_[stream_index] : crc32(0, Z_NULL, 0); offset 1520 net/disk_cache/simple/simple_entry_impl.cc crc32s_end_offset_[stream_index] = offset + length; offset 1521 net/disk_cache/simple/simple_entry_impl.cc } else if (offset < crc32s_end_offset_[stream_index]) { offset 81 net/disk_cache/simple/simple_entry_impl.h int offset, offset 86 net/disk_cache/simple/simple_entry_impl.h int offset, offset 91 net/disk_cache/simple/simple_entry_impl.h virtual int ReadSparseData(int64 offset, offset 95 net/disk_cache/simple/simple_entry_impl.h virtual int WriteSparseData(int64 offset, offset 99 net/disk_cache/simple/simple_entry_impl.h virtual int GetAvailableRange(int64 offset, offset 179 net/disk_cache/simple/simple_entry_impl.h int offset, offset 185 net/disk_cache/simple/simple_entry_impl.h int offset, offset 232 net/disk_cache/simple/simple_entry_impl.h int offset, offset 284 net/disk_cache/simple/simple_entry_impl.h int ReadStream0Data(net::IOBuffer* buf, int offset, int buf_len); offset 290 net/disk_cache/simple/simple_entry_impl.h int offset, int buf_len, offset 296 net/disk_cache/simple/simple_entry_impl.h int offset, offset 121 net/disk_cache/simple/simple_entry_operation.cc int offset, offset 130 net/disk_cache/simple/simple_entry_operation.cc offset, offset 146 net/disk_cache/simple/simple_entry_operation.cc int offset, offset 156 net/disk_cache/simple/simple_entry_operation.cc offset, offset 243 net/disk_cache/simple/simple_entry_operation.cc const int offset = 0; offset 256 net/disk_cache/simple/simple_entry_operation.cc offset, offset 300 net/disk_cache/simple/simple_entry_operation.cc : other_op.offset() + other_op.length(); offset 301 net/disk_cache/simple/simple_entry_operation.cc return offset_ < other_op_end && other_op.offset() < end; offset 314 net/disk_cache/simple/simple_entry_operation.cc int offset, offset 328 net/disk_cache/simple/simple_entry_operation.cc offset_(offset), offset 55 net/disk_cache/simple/simple_entry_operation.h int offset, offset 63 net/disk_cache/simple/simple_entry_operation.h int offset, offset 103 net/disk_cache/simple/simple_entry_operation.h int offset() const { return offset_; } offset 117 net/disk_cache/simple/simple_entry_operation.h int offset, offset 134 net/disk_cache/simple/simple_synchronous_entry.cc int offset, offset 139 net/disk_cache/simple/simple_synchronous_entry.cc return headers_size + offset + additional_offset; offset 190 net/disk_cache/simple/simple_synchronous_entry.cc offset(offset_p), offset 199 net/disk_cache/simple/simple_synchronous_entry.cc offset(offset_p), offset 283 net/disk_cache/simple/simple_synchronous_entry.cc entry_stat->GetOffsetInFile(key_, in_entry_op.offset, in_entry_op.index); offset 314 net/disk_cache/simple/simple_synchronous_entry.cc int offset = in_entry_op.offset; offset 319 net/disk_cache/simple/simple_synchronous_entry.cc key_, in_entry_op.offset, in_entry_op.index); offset 320 net/disk_cache/simple/simple_synchronous_entry.cc bool extending_by_write = offset + buf_len > out_entry_stat->data_size(index); offset 371 net/disk_cache/simple/simple_synchronous_entry.cc index, std::max(out_entry_stat->data_size(index), offset + buf_len)); offset 373 net/disk_cache/simple/simple_synchronous_entry.cc out_entry_stat->set_data_size(index, offset + buf_len); offset 396 net/disk_cache/simple/simple_synchronous_entry.cc int64 offset = in_entry_op.sparse_offset; offset 403 net/disk_cache/simple/simple_synchronous_entry.cc SparseRangeIterator it = sparse_ranges_.lower_bound(offset); offset 409 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_EQ(it->first, found_range->offset); offset 410 net/disk_cache/simple/simple_synchronous_entry.cc if (found_range->offset + found_range->length > offset) { offset 413 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_LE(0, offset - found_range->offset); offset 414 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_GE(kint32max, offset - found_range->offset); offset 416 net/disk_cache/simple/simple_synchronous_entry.cc (offset - found_range->offset); offset 421 net/disk_cache/simple/simple_synchronous_entry.cc offset - found_range->offset, offset 436 net/disk_cache/simple/simple_synchronous_entry.cc it->second.offset == offset + read_so_far) { offset 438 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_EQ(it->first, found_range->offset); offset 460 net/disk_cache/simple/simple_synchronous_entry.cc int64 offset = in_entry_op.sparse_offset; offset 481 net/disk_cache/simple/simple_synchronous_entry.cc SparseRangeIterator it = sparse_ranges_.lower_bound(offset); offset 486 net/disk_cache/simple/simple_synchronous_entry.cc if (found_range->offset + found_range->length > offset) { offset 489 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_LE(0, offset - found_range->offset); offset 490 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_GE(kint32max, offset - found_range->offset); offset 492 net/disk_cache/simple/simple_synchronous_entry.cc (offset - found_range->offset); offset 497 net/disk_cache/simple/simple_synchronous_entry.cc offset - found_range->offset, offset 510 net/disk_cache/simple/simple_synchronous_entry.cc it->second.offset < offset + buf_len) { offset 512 net/disk_cache/simple/simple_synchronous_entry.cc if (offset + written_so_far < found_range->offset) { offset 513 net/disk_cache/simple/simple_synchronous_entry.cc int len_to_append = found_range->offset - (offset + written_so_far); offset 514 net/disk_cache/simple/simple_synchronous_entry.cc if (!AppendSparseRange(offset + written_so_far, offset 539 net/disk_cache/simple/simple_synchronous_entry.cc if (!AppendSparseRange(offset + written_so_far, offset 564 net/disk_cache/simple/simple_synchronous_entry.cc int64 offset = in_entry_op.sparse_offset; offset 567 net/disk_cache/simple/simple_synchronous_entry.cc SparseRangeIterator it = sparse_ranges_.lower_bound(offset); offset 569 net/disk_cache/simple/simple_synchronous_entry.cc int64 start = offset; offset 572 net/disk_cache/simple/simple_synchronous_entry.cc if (it != sparse_ranges_.end() && it->second.offset < offset + len) offset 573 net/disk_cache/simple/simple_synchronous_entry.cc start = it->second.offset; offset 575 net/disk_cache/simple/simple_synchronous_entry.cc if ((it == sparse_ranges_.end() || it->second.offset > offset) && offset 578 net/disk_cache/simple/simple_synchronous_entry.cc if (it->second.offset + it->second.length > offset) { offset 579 net/disk_cache/simple/simple_synchronous_entry.cc start = offset; offset 580 net/disk_cache/simple/simple_synchronous_entry.cc avail_so_far = (it->second.offset + it->second.length) - offset; offset 585 net/disk_cache/simple/simple_synchronous_entry.cc while (start + avail_so_far < offset + len && offset 587 net/disk_cache/simple/simple_synchronous_entry.cc it->second.offset == start + avail_so_far) { offset 592 net/disk_cache/simple/simple_synchronous_entry.cc int len_from_start = len - (start - offset); offset 1302 net/disk_cache/simple/simple_synchronous_entry.cc range.offset = range_header.offset; offset 1306 net/disk_cache/simple/simple_synchronous_entry.cc sparse_ranges_.insert(std::make_pair(range.offset, range)); offset 1321 net/disk_cache/simple/simple_synchronous_entry.cc int offset, int len, char* buf) { offset 1324 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_GE(range->length, offset); offset 1325 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_GE(range->length, offset + len); offset 1327 net/disk_cache/simple/simple_synchronous_entry.cc int bytes_read = sparse_file_.Read(range->file_offset + offset, buf, len); offset 1334 net/disk_cache/simple/simple_synchronous_entry.cc if (offset == 0 && len == range->length && range->data_crc32 != 0) { offset 1349 net/disk_cache/simple/simple_synchronous_entry.cc int offset, int len, offset 1353 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_GE(range->length, offset); offset 1354 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_GE(range->length, offset + len); offset 1357 net/disk_cache/simple/simple_synchronous_entry.cc if (offset == 0 && len == range->length) { offset 1368 net/disk_cache/simple/simple_synchronous_entry.cc header.offset = range->offset; offset 1381 net/disk_cache/simple/simple_synchronous_entry.cc int bytes_written = sparse_file_.Write(range->file_offset + offset, buf, len); offset 1390 net/disk_cache/simple/simple_synchronous_entry.cc bool SimpleSynchronousEntry::AppendSparseRange(int64 offset, offset 1393 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_LE(0, offset); offset 1403 net/disk_cache/simple/simple_synchronous_entry.cc header.offset = offset; offset 1425 net/disk_cache/simple/simple_synchronous_entry.cc range.offset = offset; offset 1429 net/disk_cache/simple/simple_synchronous_entry.cc sparse_ranges_.insert(std::make_pair(offset, range)); offset 43 net/disk_cache/simple/simple_synchronous_entry.h int offset, offset 108 net/disk_cache/simple/simple_synchronous_entry.h int offset; offset 192 net/disk_cache/simple/simple_synchronous_entry.h int64 offset; offset 198 net/disk_cache/simple/simple_synchronous_entry.h return offset < other.offset; offset 287 net/disk_cache/simple/simple_synchronous_entry.h int offset, int len, char* buf); offset 292 net/disk_cache/simple/simple_synchronous_entry.h int offset, int len, const char* buf); offset 295 net/disk_cache/simple/simple_synchronous_entry.h bool AppendSparseRange(int64 offset, int len, const char* buf); offset 23 net/disk_cache/tracing/tracing_cache_backend.cc virtual int ReadData(int index, int offset, IOBuffer* buf, int buf_len, offset 25 net/disk_cache/tracing/tracing_cache_backend.cc virtual int WriteData(int index, int offset, IOBuffer* buf, int buf_len, offset 28 net/disk_cache/tracing/tracing_cache_backend.cc virtual int ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 30 net/disk_cache/tracing/tracing_cache_backend.cc virtual int WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 32 net/disk_cache/tracing/tracing_cache_backend.cc virtual int GetAvailableRange(int64 offset, int len, int64* start, offset 45 net/disk_cache/tracing/tracing_cache_backend.cc int offset; offset 93 net/disk_cache/tracing/tracing_cache_backend.cc int EntryProxy::ReadData(int index, int offset, IOBuffer* buf, int buf_len, offset 98 net/disk_cache/tracing/tracing_cache_backend.cc extra.offset = offset; offset 102 net/disk_cache/tracing/tracing_cache_backend.cc index, offset, buf, buf_len, offset 111 net/disk_cache/tracing/tracing_cache_backend.cc int EntryProxy::WriteData(int index, int offset, IOBuffer* buf, int buf_len, offset 117 net/disk_cache/tracing/tracing_cache_backend.cc extra.offset = offset; offset 120 net/disk_cache/tracing/tracing_cache_backend.cc int rv = entry_->WriteData(index, offset, buf, buf_len, offset 130 net/disk_cache/tracing/tracing_cache_backend.cc int EntryProxy::ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 133 net/disk_cache/tracing/tracing_cache_backend.cc return entry_->ReadSparseData(offset, buf, buf_len, callback); offset 136 net/disk_cache/tracing/tracing_cache_backend.cc int EntryProxy::WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, offset 139 net/disk_cache/tracing/tracing_cache_backend.cc return entry_->WriteSparseData(offset, buf, buf_len, callback); offset 142 net/disk_cache/tracing/tracing_cache_backend.cc int EntryProxy::GetAvailableRange(int64 offset, int len, int64* start, offset 144 net/disk_cache/tracing/tracing_cache_backend.cc return entry_->GetAvailableRange(offset, len, start, callback); offset 435 net/dns/dns_config_service_win.cc for (size_t offset = 0; num_dots >= devolution.level.value; --num_dots) { offset 436 net/dns/dns_config_service_win.cc offset = primary_suffix.find('.', offset + 1); offset 437 net/dns/dns_config_service_win.cc config->search.push_back(primary_suffix.substr(offset + 1)); offset 30 net/dns/dns_response.cc size_t offset) offset 33 net/dns/dns_response.cc cur_(packet_ + offset) { offset 34 net/dns/dns_response.cc DCHECK_LE(offset, length); offset 75 net/dns/dns_response.cc uint16 offset; offset 76 net/dns/dns_response.cc base::ReadBigEndian<uint16>(p, &offset); offset 77 net/dns/dns_response.cc offset &= dns_protocol::kOffsetMask; offset 78 net/dns/dns_response.cc p = packet_ + offset; offset 47 net/dns/dns_response.h DnsRecordParser(const void* packet, size_t length, size_t offset); offset 198 net/dns/mdns_client_impl.cc unsigned offset; offset 218 net/dns/mdns_client_impl.cc offset = parser.GetOffset(); offset 225 net/dns/mdns_client_impl.cc if (offset == parser.GetOffset()) { offset 61 net/ftp/ftp_directory_listing_parser_ls.cc size_t* offset, offset 87 net/ftp/ftp_directory_listing_parser_ls.cc *offset = i; offset 102 net/ftp/ftp_directory_listing_parser_ls.cc *offset = i; offset 113 net/ftp/ftp_directory_listing_parser_ls.cc *offset = i; offset 193 net/http/http_auth_handler_ntlm_portable.cc static void* WriteSecBuf(void* buf, uint16 length, uint32 offset) { offset 196 net/http/http_auth_handler_ntlm_portable.cc offset = SWAP32(offset); offset 200 net/http/http_auth_handler_ntlm_portable.cc buf = WriteBytes(buf, &offset, sizeof(offset)); offset 405 net/http/http_auth_handler_ntlm_portable.cc uint32 offset = ReadUint32(cursor); // get offset from in_buf offset 410 net/http/http_auth_handler_ntlm_portable.cc if (offset + target_len > offset && offset + target_len <= in_len) { offset 412 net/http/http_auth_handler_ntlm_portable.cc msg->target = ((const uint8*) in_buf) + offset; offset 581 net/http/http_auth_handler_ntlm_portable.cc uint32 offset; offset 590 net/http/http_auth_handler_ntlm_portable.cc offset = NTLM_TYPE3_HEADER_LEN + domain_len + user_len + host_len; offset 591 net/http/http_auth_handler_ntlm_portable.cc cursor = WriteSecBuf(cursor, LM_RESP_LEN, offset); offset 592 net/http/http_auth_handler_ntlm_portable.cc memcpy(static_cast<uint8*>(*out_buf) + offset, lm_resp, LM_RESP_LEN); offset 595 net/http/http_auth_handler_ntlm_portable.cc offset += LM_RESP_LEN; offset 596 net/http/http_auth_handler_ntlm_portable.cc cursor = WriteSecBuf(cursor, NTLM_RESP_LEN, offset); offset 597 net/http/http_auth_handler_ntlm_portable.cc memcpy(static_cast<uint8*>(*out_buf) + offset, ntlm_resp, NTLM_RESP_LEN); offset 600 net/http/http_auth_handler_ntlm_portable.cc offset = NTLM_TYPE3_HEADER_LEN; offset 601 net/http/http_auth_handler_ntlm_portable.cc cursor = WriteSecBuf(cursor, domain_len, offset); offset 602 net/http/http_auth_handler_ntlm_portable.cc memcpy(static_cast<uint8*>(*out_buf) + offset, domain_ptr, domain_len); offset 605 net/http/http_auth_handler_ntlm_portable.cc offset += domain_len; offset 606 net/http/http_auth_handler_ntlm_portable.cc cursor = WriteSecBuf(cursor, user_len, offset); offset 607 net/http/http_auth_handler_ntlm_portable.cc memcpy(static_cast<uint8*>(*out_buf) + offset, user_ptr, user_len); offset 610 net/http/http_auth_handler_ntlm_portable.cc offset += user_len; offset 611 net/http/http_auth_handler_ntlm_portable.cc cursor = WriteSecBuf(cursor, host_len, offset); offset 612 net/http/http_auth_handler_ntlm_portable.cc memcpy(static_cast<uint8*>(*out_buf) + offset, host_ptr, host_len); offset 2248 net/http/http_cache_transaction.cc int HttpCache::Transaction::WriteToEntry(int index, int offset, offset 2256 net/http/http_cache_transaction.cc rv = entry_->disk_entry->WriteData(index, offset, data, data_len, callback, offset 333 net/http/http_cache_transaction.h int WriteToEntry(int index, int offset, IOBuffer* data, int data_len, offset 307 net/http/http_stream_parser.cc if (read_buf_->offset() > 0) { offset 309 net/http/http_stream_parser.cc result = read_buf_->offset(); offset 533 net/http/http_stream_parser.cc if (result == ERR_CONNECTION_CLOSED && read_buf_->offset() == 0 && offset 541 net/http/http_stream_parser.cc if (read_buf_->offset() == 0 && result != ERR_CONNECTION_CLOSED) offset 546 net/http/http_stream_parser.cc if (read_buf_->offset() == 0) { offset 562 net/http/http_stream_parser.cc end_offset = read_buf_->offset(); offset 573 net/http/http_stream_parser.cc read_buf_->set_offset(read_buf_->offset() + result); offset 574 net/http/http_stream_parser.cc DCHECK_LE(read_buf_->offset(), read_buf_->capacity()); offset 587 net/http/http_stream_parser.cc if (read_buf_->offset() >= kMaxHeaderBufSize) { offset 597 net/http/http_stream_parser.cc int extra_bytes = read_buf_->offset() - end_of_header_offset; offset 632 net/http/http_stream_parser.cc if (read_buf_->offset()) { offset 633 net/http/http_stream_parser.cc int available = read_buf_->offset() - read_buf_unused_offset_; offset 656 net/http/http_stream_parser.cc DCHECK_EQ(0, read_buf_->offset()); offset 722 net/http/http_stream_parser.cc int additional_save_amount = read_buf_->offset() - read_buf_unused_offset_; offset 769 net/http/http_stream_parser.cc read_buf_->StartOfBuffer(), read_buf_->offset()); offset 774 net/http/http_stream_parser.cc read_buf_->offset(), offset 776 net/http/http_stream_parser.cc } else if (read_buf_->offset() >= 8) { offset 897 net/http/http_stream_parser.cc return read_buf_->offset() > read_buf_unused_offset_; offset 486 net/http/http_stream_parser_unittest.cc EXPECT_EQ(read_buffer->capacity(), read_buffer->offset()); offset 505 net/http/http_stream_parser_unittest.cc int offset = read_buffer_->offset(); offset 507 net/http/http_stream_parser_unittest.cc read_buffer_->SetCapacity(offset + size); offset 508 net/http/http_stream_parser_unittest.cc memcpy(read_buffer_->StartOfBuffer() + offset, data.data(), size); offset 509 net/http/http_stream_parser_unittest.cc read_buffer_->set_offset(offset + size); offset 639 net/http/http_stream_parser_unittest.cc EXPECT_EQ(next_response_size, get_runner.read_buffer()->offset()); offset 674 net/http/http_stream_parser_unittest.cc EXPECT_EQ(next_response_size, get_runner.read_buffer()->offset()); offset 701 net/http/http_stream_parser_unittest.cc EXPECT_EQ(next_response_size, get_runner.read_buffer()->offset()); offset 723 net/http/http_stream_parser_unittest.cc EXPECT_EQ(0, get_runner.read_buffer()->offset()); offset 747 net/http/http_stream_parser_unittest.cc EXPECT_EQ(next_response_size, get_runner.read_buffer()->offset()); offset 86 net/http/mock_http_cache.cc int index, int offset, net::IOBuffer* buf, int buf_len, offset 94 net/http/mock_http_cache.cc if (offset < 0 || offset > static_cast<int>(data_[index].size())) offset 96 net/http/mock_http_cache.cc if (static_cast<size_t>(offset) == data_[index].size()) offset 99 net/http/mock_http_cache.cc int num = std::min(buf_len, static_cast<int>(data_[index].size()) - offset); offset 100 net/http/mock_http_cache.cc memcpy(buf->data(), &data_[index][offset], num); offset 110 net/http/mock_http_cache.cc int index, int offset, net::IOBuffer* buf, int buf_len, offset 121 net/http/mock_http_cache.cc if (offset < 0 || offset > static_cast<int>(data_[index].size())) offset 124 net/http/mock_http_cache.cc data_[index].resize(offset + buf_len); offset 126 net/http/mock_http_cache.cc memcpy(&data_[index][offset], buf->data(), buf_len); offset 135 net/http/mock_http_cache.cc int MockDiskEntry::ReadSparseData(int64 offset, net::IOBuffer* buf, int buf_len, offset 142 net/http/mock_http_cache.cc if (offset < 0) offset 148 net/http/mock_http_cache.cc DCHECK(offset < kint32max); offset 149 net/http/mock_http_cache.cc int real_offset = static_cast<int>(offset); offset 166 net/http/mock_http_cache.cc int MockDiskEntry::WriteSparseData(int64 offset, net::IOBuffer* buf, offset 179 net/http/mock_http_cache.cc if (offset < 0) offset 187 net/http/mock_http_cache.cc DCHECK(offset < kint32max); offset 188 net/http/mock_http_cache.cc int real_offset = static_cast<int>(offset); offset 201 net/http/mock_http_cache.cc int MockDiskEntry::GetAvailableRange(int64 offset, int len, int64* start, offset 206 net/http/mock_http_cache.cc if (offset < 0) offset 212 net/http/mock_http_cache.cc *start = offset; offset 213 net/http/mock_http_cache.cc DCHECK(offset < kint32max); offset 214 net/http/mock_http_cache.cc int real_offset = static_cast<int>(offset); offset 34 net/http/mock_http_cache.h virtual int ReadData(int index, int offset, net::IOBuffer* buf, int buf_len, offset 36 net/http/mock_http_cache.h virtual int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len, offset 39 net/http/mock_http_cache.h virtual int ReadSparseData(int64 offset, net::IOBuffer* buf, int buf_len, offset 42 net/http/mock_http_cache.h int64 offset, net::IOBuffer* buf, int buf_len, offset 45 net/http/mock_http_cache.h int64 offset, int len, int64* start, offset 42 net/http/partial_data.cc int GetAvailableRange(disk_cache::Entry* entry, int64 offset, int len, offset 78 net/http/partial_data.cc int PartialData::Core::GetAvailableRange(disk_cache::Entry* entry, int64 offset, offset 81 net/http/partial_data.cc offset, len, &start_, base::Bind(&PartialData::Core::OnIOComplete, offset 144 net/quic/congestion_control/cubic.cc int64 offset = time_to_origin_point_ - elapsed_time; offset 146 net/quic/congestion_control/cubic.cc * offset * offset * offset) >> kCubeScale; offset 135 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc int64 offset = time_to_origin_point_ - elapsed_time; offset 137 net/quic/congestion_control/inter_arrival_bitrate_ramp_up.cc int64 delta_pace_kbps = (kPacedCubeScale * offset * offset * offset) >> offset 109 net/quic/congestion_control/inter_arrival_overuse_detector.cc QuicTime::Delta offset) { offset 113 net/quic/congestion_control/inter_arrival_overuse_detector.cc if (offset.ToMicroseconds() < send_receive_offset_.ToMicroseconds()) { offset 114 net/quic/congestion_control/inter_arrival_overuse_detector.cc send_receive_offset_ = offset; offset 116 net/quic/congestion_control/inter_arrival_overuse_detector.cc estimated_congestion_delay_ = offset.Subtract(send_receive_offset_); offset 121 net/quic/congestion_control/inter_arrival_overuse_detector.h void UpdateSendReceiveTimeOffset(QuicTime::Delta offset); offset 953 net/quic/quic_connection.cc QuicStreamOffset offset, offset 971 net/quic/quic_connection.cc packet_generator_.ConsumeData(id, data, offset, fin, notifier); offset 232 net/quic/quic_connection.h QuicStreamOffset offset, offset 97 net/quic/quic_connection_logger.cc dict->SetString("offset", base::Uint64ToString(frame->offset)); offset 452 net/quic/quic_connection_test.cc QuicStreamOffset offset, offset 459 net/quic/quic_connection_test.cc return QuicConnection::SendStreamData(id, data_iov, offset, fin, delegate); offset 759 net/quic/quic_connection_test.cc QuicStreamOffset offset, offset 765 net/quic/quic_connection_test.cc connection_.SendStreamDataWithString(id, data, offset, fin, NULL); offset 2011 net/quic/quic_connection_test.cc int offset = 0; offset 2014 net/quic/quic_connection_test.cc SendStreamDataToPeer(1, "foo", offset, !kFin, NULL); offset 2015 net/quic/quic_connection_test.cc offset += 3; offset 153 net/quic/quic_data_stream_test.cc for (size_t offset = 0; offset < headers.size(); offset 154 net/quic/quic_data_stream_test.cc offset += fragment_size) { offset 155 net/quic/quic_data_stream_test.cc size_t remaining_data = headers.size() - offset; offset 156 net/quic/quic_data_stream_test.cc StringPiece fragment(headers.data() + offset, offset 161 net/quic/quic_data_stream_test.cc for (size_t offset = 0; offset < body.size(); offset += fragment_size) { offset 162 net/quic/quic_data_stream_test.cc size_t remaining_data = body.size() - offset; offset 163 net/quic/quic_data_stream_test.cc StringPiece fragment(body.data() + offset, offset 165 net/quic/quic_data_stream_test.cc QuicStreamFrame frame(kStreamId, false, offset, MakeIOVector(fragment)); offset 74 net/quic/quic_data_writer.cc for (uint16 offset = 16; offset > 0; offset /= 2) { offset 78 net/quic/quic_data_writer.cc if (value >= (GG_UINT64_C(1) << (kUFloat16MantissaBits + offset))) { offset 79 net/quic/quic_data_writer.cc exponent += offset; offset 80 net/quic/quic_data_writer.cc value >>= offset; offset 169 net/quic/quic_data_writer.cc bool QuicDataWriter::WriteUInt8ToOffset(uint8 value, size_t offset) { offset 170 net/quic/quic_data_writer.cc if (offset >= capacity_) { offset 171 net/quic/quic_data_writer.cc LOG(DFATAL) << "offset: " << offset << " >= capacity: " << capacity_; offset 175 net/quic/quic_data_writer.cc length_ = offset; offset 182 net/quic/quic_data_writer.cc bool QuicDataWriter::WriteUInt32ToOffset(uint32 value, size_t offset) { offset 183 net/quic/quic_data_writer.cc DCHECK_LT(offset, capacity_); offset 185 net/quic/quic_data_writer.cc length_ = offset; offset 192 net/quic/quic_data_writer.cc bool QuicDataWriter::WriteUInt48ToOffset(uint64 value, size_t offset) { offset 193 net/quic/quic_data_writer.cc DCHECK_LT(offset, capacity_); offset 195 net/quic/quic_data_writer.cc length_ = offset; offset 60 net/quic/quic_data_writer.h bool WriteUInt8ToOffset(uint8 value, size_t offset); offset 61 net/quic/quic_data_writer.h bool WriteUInt32ToOffset(uint32 value, size_t offset); offset 62 net/quic/quic_data_writer.h bool WriteUInt48ToOffset(uint64 value, size_t offset); offset 184 net/quic/quic_framer.cc QuicStreamOffset offset, offset 190 net/quic/quic_framer.cc GetStreamOffsetSize(offset) + offset 258 net/quic/quic_framer.cc size_t QuicFramer::GetStreamOffsetSize(QuicStreamOffset offset) { offset 260 net/quic/quic_framer.cc if (offset == 0) { offset 264 net/quic/quic_framer.cc offset >>= 8; offset 266 net/quic/quic_framer.cc offset >>= 8; offset 267 net/quic/quic_framer.cc if (offset == 0) { offset 1329 net/quic/quic_framer.cc frame->offset = 0; offset 1330 net/quic/quic_framer.cc if (!reader_->ReadBytes(&frame->offset, offset_length)) { offset 1881 net/quic/quic_framer.cc frame.stream_frame->offset, offset 1972 net/quic/quic_framer.cc const size_t offset_len = GetStreamOffsetSize(frame.stream_frame->offset); offset 2039 net/quic/quic_framer.cc if (!writer->WriteBytes(&frame.offset, GetStreamOffsetSize(frame.offset))) { offset 247 net/quic/quic_framer.h QuicStreamOffset offset, offset 272 net/quic/quic_framer.h static size_t GetStreamOffsetSize(QuicStreamOffset offset); offset 1304 net/quic/quic_framer_test.cc visitor_.stream_frames_[0]->offset); offset 1352 net/quic/quic_framer_test.cc visitor_.stream_frames_[0]->offset); offset 1401 net/quic/quic_framer_test.cc visitor_.stream_frames_[0]->offset); offset 1450 net/quic/quic_framer_test.cc visitor_.stream_frames_[0]->offset); offset 1503 net/quic/quic_framer_test.cc visitor_.stream_frames_[0]->offset); offset 1622 net/quic/quic_framer_test.cc visitor_.stream_frames_[0]->offset); offset 1678 net/quic/quic_framer_test.cc visitor_.stream_frames_[0]->offset); offset 3862 net/quic/quic_framer_test.cc stream_frame.offset = GG_UINT64_C(0xBA98FEDC32107654); offset 3916 net/quic/quic_framer_test.cc stream_frame.offset = GG_UINT64_C(0xBA98FEDC32107654); offset 3971 net/quic/quic_framer_test.cc stream_frame.offset = GG_UINT64_C(0xBA98FEDC32107654); offset 302 net/quic/quic_http_stream.cc read_buf_->set_offset(read_buf_->offset() + length); offset 511 net/quic/quic_http_stream.cc size_t read_buf_len = static_cast<size_t>(read_buf_->offset()); offset 515 net/quic/quic_http_stream.cc size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), offset 237 net/quic/quic_http_stream_test.cc QuicStreamOffset offset, offset 240 net/quic/quic_http_stream_test.cc sequence_number, stream_id_, should_include_version, fin, offset, data); offset 174 net/quic/quic_network_transaction_unittest.cc QuicStreamOffset offset, offset 177 net/quic/quic_network_transaction_unittest.cc sequence_number, stream_id, should_include_version, fin, offset, data); offset 133 net/quic/quic_packet_creator.cc QuicStreamOffset offset) const { offset 140 net/quic/quic_packet_creator.cc QuicFramer::GetMinStreamFrameSize(framer_->version(), id, offset, true, offset 159 net/quic/quic_packet_creator.cc QuicStreamOffset offset, offset 168 net/quic/quic_packet_creator.cc LOG_IF(DFATAL, !HasRoomForStreamFrame(id, offset)) offset 172 net/quic/quic_packet_creator.cc framer_->version(), id, offset, true, is_in_fec_group); offset 178 net/quic/quic_packet_creator.cc *frame = QuicFrame(new QuicStreamFrame(id, true, offset, data)); offset 184 net/quic/quic_packet_creator.cc framer_->version(), id, offset, /*last_frame_in_packet=*/ true, offset 193 net/quic/quic_packet_creator.cc *frame = QuicFrame(new QuicStreamFrame(id, set_fin, offset, frame_data)); offset 200 net/quic/quic_packet_creator.cc QuicStreamOffset offset, offset 204 net/quic/quic_packet_creator.cc size_t bytes_consumed = CreateStreamFrame(id, data, offset, fin, frame); offset 81 net/quic/quic_packet_creator.h bool HasRoomForStreamFrame(QuicStreamId id, QuicStreamOffset offset) const; offset 89 net/quic/quic_packet_creator.h QuicStreamOffset offset, offset 99 net/quic/quic_packet_creator.h QuicStreamOffset offset, offset 55 net/quic/quic_packet_creator_test.cc QuicStreamOffset offset, offset 62 net/quic/quic_packet_creator_test.cc EXPECT_EQ(offset, frame.stream_frame->offset); offset 90 net/quic/quic_packet_generator.cc QuicStreamOffset offset, offset 102 net/quic/quic_packet_generator.cc if (!packet_creator_->HasRoomForStreamFrame(id, offset)) { offset 115 net/quic/quic_packet_generator.cc id, data, offset + total_bytes_consumed, fin, notifier, &frame); offset 118 net/quic/quic_packet_generator.cc id, data, offset + total_bytes_consumed, fin, &frame); offset 134 net/quic/quic_packet_generator.cc if (!InBatchMode() || !packet_creator_->HasRoomForStreamFrame(id, offset)) { offset 118 net/quic/quic_packet_generator.h QuicStreamOffset offset, offset 107 net/quic/quic_protocol.cc offset(0), offset 113 net/quic/quic_protocol.cc offset(frame.offset), offset 120 net/quic/quic_protocol.cc QuicStreamOffset offset, offset 124 net/quic/quic_protocol.cc offset(offset), offset 475 net/quic/quic_protocol.cc << "offset { " << stream_frame.offset << " } " offset 565 net/quic/quic_protocol.h QuicStreamOffset offset, offset 577 net/quic/quic_protocol.h QuicStreamOffset offset; // Location of this data in the stream. offset 97 net/quic/quic_reliable_client_stream_test.cc QuicStreamOffset offset = 0; offset 102 net/quic/quic_reliable_client_stream_test.cc QuicStreamFrame frame2(kStreamId, true, offset, iov); offset 302 net/quic/quic_session.cc QuicStreamOffset offset, offset 305 net/quic/quic_session.cc return connection_->SendStreamData(id, data, offset, fin, offset 102 net/quic/quic_session.h QuicStreamOffset offset, offset 138 net/quic/quic_session_test.cc QuicStreamOffset offset, offset 145 net/quic/quic_session_test.cc return QuicSession::WritevData(id, data, offset, fin, offset 56 net/quic/quic_stream_sequencer.cc QuicStreamOffset byte_offset = frame.offset; offset 85 net/quic/quic_stream_sequencer.cc QuicStreamOffset byte_offset = frame.offset; offset 95 net/quic/quic_stream_sequencer.cc CloseStreamAtOffset(frame.offset + data_len); offset 146 net/quic/quic_stream_sequencer.cc void QuicStreamSequencer::CloseStreamAtOffset(QuicStreamOffset offset) { offset 151 net/quic/quic_stream_sequencer.cc if (close_offset_ != kMaxOffset && offset != close_offset_) { offset 156 net/quic/quic_stream_sequencer.cc close_offset_ = offset; offset 180 net/quic/quic_stream_sequencer.cc QuicStreamOffset offset = num_bytes_consumed_; offset 182 net/quic/quic_stream_sequencer.cc if (it->first != offset) return index; offset 187 net/quic/quic_stream_sequencer.cc offset += it->second.size(); offset 253 net/quic/quic_stream_sequencer.cc return frame.offset < num_bytes_consumed_ || offset 254 net/quic/quic_stream_sequencer.cc frames_.find(frame.offset) != frames_.end(); offset 83 net/quic/quic_stream_sequencer.h void CloseStreamAtOffset(QuicStreamOffset offset); offset 46 net/quic/quic_stream_sequencer_test.cc frame.offset = byte_offset; offset 55 net/quic/quic_stream_sequencer_test.cc frame.offset = byte_offset; offset 273 net/quic/quic_utils.cc int offset = 0; offset 281 net/quic/quic_utils.cc base::StringAppendF(&s, "0x%04x: ", offset); // Do the line header offset 296 net/quic/quic_utils.cc offset += line_bytes; offset 460 net/quic/reliable_quic_stream.cc void ReliableQuicStream::UpdateFlowControlSendLimit(QuicStreamOffset offset) { offset 461 net/quic/reliable_quic_stream.cc if (offset <= flow_control_send_limit_) { offset 464 net/quic/reliable_quic_stream.cc << " new: " << offset; offset 471 net/quic/reliable_quic_stream.cc << " new: " << offset; offset 473 net/quic/reliable_quic_stream.cc flow_control_send_limit_ = offset; offset 100 net/quic/reliable_quic_stream.h void UpdateFlowControlSendLimit(QuicStreamOffset offset); offset 157 net/quic/test_tools/quic_test_packet_maker.cc QuicStreamOffset offset, offset 160 net/quic/test_tools/quic_test_packet_maker.cc QuicStreamFrame frame(stream_id, fin, offset, MakeIOVector(data)); offset 50 net/quic/test_tools/quic_test_packet_maker.h QuicStreamOffset offset, offset 373 net/quic/test_tools/quic_test_utils.h QuicStreamOffset offset, offset 45 net/quic/test_tools/reliable_quic_stream_peer.cc QuicStreamOffset offset) { offset 46 net/quic/test_tools/reliable_quic_stream_peer.cc stream->flow_control_send_limit_ = offset; offset 52 net/quic/test_tools/reliable_quic_stream_peer.cc QuicStreamOffset offset) { offset 53 net/quic/test_tools/reliable_quic_stream_peer.cc stream->flow_control_receive_window_offset_bytes_ = offset; offset 28 net/quic/test_tools/reliable_quic_stream_peer.h QuicStreamOffset offset); offset 30 net/quic/test_tools/reliable_quic_stream_peer.h QuicStreamOffset offset); offset 152 net/socket/buffered_write_stream_socket.cc io_buffer_->set_offset(io_buffer_->offset() + result); offset 228 net/socket/ssl_client_socket_unittest.cc read_buffer_->set_offset(read_buffer_->offset() + result); offset 208 net/socket_stream/socket_stream.h void SetDataOffset(size_t offset) { offset 209 net/socket_stream/socket_stream.h data_ = const_cast<char*>(headers_.data()) + offset; offset 222 net/socket_stream/socket_stream.h void SetDataOffset(size_t offset) { data_ = headers_.get() + offset; } offset 42 net/spdy/spdy_buffer.cc size_t offset) offset 43 net/spdy/spdy_buffer.cc : IOBuffer(shared_frame->data->data() + offset), offset 45 net/spdy/spdy_buffer.cc offset_(offset) {} offset 198 net/third_party/nss/ssl/dtlscon.c PRUint32 offset; offset 389 net/third_party/nss/ssl/dtlscon.c for (offset = fragment_offset; offset 390 net/third_party/nss/ssl/dtlscon.c offset < fragment_offset + fragment_length; offset 391 net/third_party/nss/ssl/dtlscon.c offset++) { offset 392 net/third_party/nss/ssl/dtlscon.c ss->ssl3.hs.recvdFragments.buf[OFFSET_BYTE(offset)] |= offset 393 net/third_party/nss/ssl/dtlscon.c OFFSET_MASK(offset); offset 398 net/third_party/nss/ssl/dtlscon.c for (offset = ss->ssl3.hs.recvdHighWater; offset 399 net/third_party/nss/ssl/dtlscon.c offset < ss->ssl3.hs.msg_len; offset++) { offset 403 net/third_party/nss/ssl/dtlscon.c if (ss->ssl3.hs.recvdFragments.buf[OFFSET_BYTE(offset)] & offset 404 net/third_party/nss/ssl/dtlscon.c OFFSET_MASK(offset)) { offset 1041 net/third_party/nss/ssl/dtlscon.c PRUint64 offset; offset 1054 net/third_party/nss/ssl/dtlscon.c offset = seq % DTLS_RECVD_RECORDS_WINDOW; offset 1056 net/third_party/nss/ssl/dtlscon.c return !!(records->data[offset / 8] & (1 << (offset % 8))); offset 1066 net/third_party/nss/ssl/dtlscon.c PRUint64 offset; offset 1091 net/third_party/nss/ssl/dtlscon.c offset = right % DTLS_RECVD_RECORDS_WINDOW; offset 1092 net/third_party/nss/ssl/dtlscon.c records->data[offset / 8] = 0; offset 1099 net/third_party/nss/ssl/dtlscon.c offset = seq % DTLS_RECVD_RECORDS_WINDOW; offset 1101 net/third_party/nss/ssl/dtlscon.c records->data[offset / 8] |= (1 << (offset % 8)); offset 11845 net/third_party/nss/ssl/ssl3con.c unsigned char offset = offset 11848 net/third_party/nss/ssl/ssl3con.c out[j] |= rotatedMac[i] & ssl_ConstantTimeEQ8(j, offset); offset 207 net/third_party/nss/ssl/ssl3ecc.c if (ecName2OIDTag[i] == oidData->offset) offset 601 net/third_party/nss/ssl/ssl3ext.c unsigned int offset = 0; offset 603 net/third_party/nss/ssl/ssl3ext.c while (offset < length) { offset 604 net/third_party/nss/ssl/ssl3ext.c unsigned int newOffset = offset + 1 + (unsigned int) data[offset]; offset 608 net/third_party/nss/ssl/ssl3ext.c if (newOffset > length || data[offset] == 0) { offset 612 net/third_party/nss/ssl/ssl3ext.c offset = newOffset; offset 615 net/third_party/nss/ssl/ssl3ext.c if (offset > length) { offset 47 net/third_party/nss/ssl/ssl3gthr.c gs->offset = 0; offset 57 net/third_party/nss/ssl/ssl3gthr.c bp = ((gs->state != GS_HEADER) ? lbp : gs->hdr) + gs->offset; offset 82 net/third_party/nss/ssl/ssl3gthr.c gs->offset += nb; offset 113 net/third_party/nss/ssl/ssl3gthr.c gs->offset = 0; offset 171 net/third_party/nss/ssl/ssl3gthr.c gs->offset = 0; offset 250 net/third_party/nss/ssl/ssl3gthr.c gs->offset = gs->remainder; offset 67 net/third_party/nss/ssl/sslgathr.c gs->offset = 0; offset 83 net/third_party/nss/ssl/sslgathr.c bp = ((gs->state != GS_HEADER) ? pBuf : gs->hdr) + gs->offset; offset 101 net/third_party/nss/ssl/sslgathr.c gs->offset += nb; offset 187 net/third_party/nss/ssl/sslgathr.c gs->offset = 1; offset 190 net/third_party/nss/ssl/sslgathr.c gs->offset = 0; offset 235 net/third_party/nss/ssl/sslgathr.c PORT_Assert(gs->count == gs->offset); offset 237 net/third_party/nss/ssl/sslgathr.c if (gs->offset == 0) { offset 245 net/third_party/nss/ssl/sslgathr.c rv = (*ss->sec.dec)(ss->sec.readcx, pBuf, &nout, gs->offset, offset 246 net/third_party/nss/ssl/sslgathr.c pBuf, gs->offset); offset 257 net/third_party/nss/ssl/sslgathr.c if (gs->offset >= macLen) { offset 270 net/third_party/nss/ssl/sslgathr.c gs->offset - macLen); offset 292 net/third_party/nss/ssl/sslgathr.c if (gs->recordPadding + macLen <= gs->offset) { offset 295 net/third_party/nss/ssl/sslgathr.c gs->writeOffset = gs->offset - gs->recordPadding; offset 328 net/third_party/nss/ssl/sslgathr.c gs->writeOffset = gs->offset; offset 330 net/third_party/nss/ssl/sslgathr.c gs->recordLen = gs->offset; offset 385 net/third_party/nss/ssl/sslgathr.c gs->offset = 0; offset 392 net/third_party/nss/ssl/sslimpl.h unsigned int offset; /* ssl 2 & 3 */ offset 2723 net/third_party/nss/ssl/sslsock.c ssl_Seek(PRFileDesc *fd, PRInt32 offset, PRSeekWhence how) { offset 2730 net/third_party/nss/ssl/sslsock.c ssl_Seek64(PRFileDesc *fd, PRInt64 offset, PRSeekWhence how) { offset 27 net/tools/dump_cache/cache_dumper.cc int CacheDumper::WriteEntry(disk_cache::Entry* entry, int index, int offset, offset 30 net/tools/dump_cache/cache_dumper.cc return entry->WriteData(index, offset, buf, buf_len, callback, false); offset 156 net/tools/dump_cache/cache_dumper.cc int DiskDumper::WriteEntry(disk_cache::Entry* entry, int index, int offset, offset 36 net/tools/dump_cache/cache_dumper.h virtual int WriteEntry(disk_cache::Entry* entry, int stream, int offset, offset 52 net/tools/dump_cache/cache_dumper.h virtual int WriteEntry(disk_cache::Entry* entry, int stream, int offset, offset 69 net/tools/dump_cache/cache_dumper.h virtual int WriteEntry(disk_cache::Entry* entry, int stream, int offset, offset 75 net/tools/dump_cache/dump_files.cc size_t offset = address.start_block() * address.BlockSize() + offset 79 net/tools/dump_cache/dump_files.cc if (!file->Read(buffer.get(), length, offset)) offset 57 net/tools/quic/quic_spdy_client_stream.cc read_buf_->set_offset(read_buf_->offset() + data_len); offset 97 net/tools/quic/quic_spdy_client_stream.cc size_t read_buf_len = static_cast<size_t>(read_buf_->offset()); offset 101 net/tools/quic/quic_spdy_client_stream.cc size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), offset 41 net/tools/quic/quic_spdy_server_stream.cc read_buf_->set_offset(read_buf_->offset() + data_len); offset 68 net/tools/quic/quic_spdy_server_stream.cc size_t read_buf_len = static_cast<size_t>(read_buf_->offset()); offset 72 net/tools/quic/quic_spdy_server_stream.cc size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), offset 147 net/tools/quic/quic_spdy_server_stream_test.cc QuicStreamOffset offset, offset 272 net/tools/quic/quic_time_wait_list_manager_test.cc QuicTime::Delta offset = QuicTime::Delta::FromMicroseconds(39); offset 274 net/tools/quic/quic_time_wait_list_manager_test.cc epoll_server_.set_now_in_usec(time_wait_period.Add(offset).ToMicroseconds()); offset 278 net/tools/quic/quic_time_wait_list_manager_test.cc time_wait_period.Subtract(offset).ToMicroseconds(); offset 397 net/tools/quic/quic_time_wait_list_manager_test.cc QuicTime::Delta offset = QuicTime::Delta::FromMicroseconds(39); offset 399 net/tools/quic/quic_time_wait_list_manager_test.cc epoll_server_.set_now_in_usec(time_wait_period.Add(offset).ToMicroseconds()); offset 79 net/url_request/view_cache_helper.cc int offset = 0; offset 83 net/url_request/view_cache_helper.cc base::StringAppendF(result, "%08x: ", offset); offset 84 net/url_request/view_cache_helper.cc offset += kMaxRows; offset 82 net/websockets/websocket_basic_stream.cc if (http_read_buffer_ && http_read_buffer_->offset() == 0) offset 95 net/websockets/websocket_basic_stream.cc DCHECK_GE(http_read_buffer_->offset(), 0); offset 103 net/websockets/websocket_basic_stream.cc buffered_data->offset(), offset 334 net/websockets/websocket_basic_stream.cc const int body_size = incomplete_control_frame_body_->offset(); offset 404 net/websockets/websocket_basic_stream.cc incomplete_control_frame_body_->offset() + data_buffer->size(); offset 262 net/websockets/websocket_channel.cc size_t offset, offset 267 net/websockets/websocket_channel.cc offset_(offset), offset 406 net/websockets/websocket_channel.cc const size_t data_size = front.size() - front.offset(); offset 410 net/websockets/websocket_channel.cc const char* data = front.data()->data() + front.offset(); offset 133 net/websockets/websocket_channel.h size_t offset, offset 142 net/websockets/websocket_channel.h size_t offset() const { return offset_; } offset 283 ppapi/c/dev/ppb_truetype_font_dev.h int32_t offset, offset 197 ppapi/c/ppb_file_io.h int64_t offset, offset 221 ppapi/c/ppb_file_io.h int64_t offset, offset 294 ppapi/c/ppb_file_io.h int64_t offset, offset 317 ppapi/c/ppb_file_io.h int64_t offset, offset 322 ppapi/c/ppb_file_io.h int64_t offset, offset 114 ppapi/c/ppb_file_mapping.h int64_t offset, offset 82 ppapi/c/ppb_opengles2.h GLintptr offset, offset 576 ppapi/c/ppb_opengles2.h GLintptr offset, offset 144 ppapi/cpp/dev/truetype_font_dev.cc int32_t offset, offset 150 ppapi/cpp/dev/truetype_font_dev.cc table, offset, max_data_length, offset 188 ppapi/cpp/dev/truetype_font_dev.h int32_t offset, offset 90 ppapi/cpp/file_io.cc int32_t FileIO::Read(int64_t offset, offset 96 ppapi/cpp/file_io.cc offset, buffer, bytes_to_read, cc.pp_completion_callback()); offset 99 ppapi/cpp/file_io.cc offset, buffer, bytes_to_read, cc.pp_completion_callback()); offset 105 ppapi/cpp/file_io.cc int32_t offset, offset 111 ppapi/cpp/file_io.cc offset, max_read_length, &array_output, offset 125 ppapi/cpp/file_io.cc pp_resource(), offset, data->temp_buffer, max_read_length, offset 131 ppapi/cpp/file_io.cc int32_t FileIO::Write(int64_t offset, offset 137 ppapi/cpp/file_io.cc pp_resource(), offset, buffer, bytes_to_write, offset 141 ppapi/cpp/file_io.cc pp_resource(), offset, buffer, bytes_to_write, offset 151 ppapi/cpp/file_io.h int32_t Read(int64_t offset, offset 174 ppapi/cpp/file_io.h int32_t Read(int32_t offset, offset 192 ppapi/cpp/file_io.h int32_t Write(int64_t offset, offset 146 ppapi/examples/ime/ime.cc int offset = area_.x(); offset 153 ppapi/examples/ime/ime.cc FillRect(image, offset + left_x, area_.y(), right_x - left_x, offset 162 ppapi/examples/ime/ime.cc pp::Point(offset, area_.y() + font_size_), offset 166 ppapi/examples/ime/ime.cc offset += font_.MeasureSimpleText(str); offset 177 ppapi/examples/ime/ime.cc FillRect(image, offset + left_x, area_.y(), right_x - left_x, offset 184 ppapi/examples/ime/ime.cc pp::Point(offset, area_.y() + font_size_), offset 195 ppapi/examples/ime/ime.cc offset + lx + 2, area_.y() + font_size_ + 1, offset 206 ppapi/examples/ime/ime.cc pp::Rect(offset + caretx, area_.y(), 2, area_.height()), offset 208 ppapi/examples/ime/ime.cc offset += font_.MeasureSimpleText(str); offset 216 ppapi/examples/ime/ime.cc pp::Point(offset, area_.y() + font_size_), offset 87 ppapi/lib/gl/gles2/gles2.c GLintptr offset, offset 91 ppapi/lib/gl/gles2/gles2.c glGetCurrentContextPPAPI(), target, offset, size, data); offset 979 ppapi/lib/gl/gles2/gles2.c GLintptr offset, offset 986 ppapi/lib/gl/gles2/gles2.c glGetCurrentContextPPAPI(), target, offset, size, access); offset 652 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data); offset 1733 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void* GL_APIENTRY glMapBufferSubDataCHROMIUM (GLuint target, GLintptr offset, GLsizeiptr size, GLenum access); offset 1739 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void* (GL_APIENTRYP PFNGLMAPBUFFERSUBDATACHROMIUM) (GLuint target, GLintptr offset, GLsizeiptr size, GLenum access); offset 389 ppapi/native_client/src/trusted/plugin/service_runtime.cc nacl::string file_id, int64_t offset, int64_t bytes_to_write) { offset 393 ppapi/native_client/src/trusted/plugin/service_runtime.cc NACL_PRId64 ")\n", file_id.c_str(), offset, bytes_to_write); offset 405 ppapi/native_client/src/trusted/plugin/service_runtime.cc if (offset + bytes_to_write >= kMaxTempQuota) offset 121 ppapi/native_client/src/trusted/plugin/service_runtime.h offset(start_offset), offset 127 ppapi/native_client/src/trusted/plugin/service_runtime.h int64_t offset; offset 168 ppapi/native_client/src/trusted/plugin/service_runtime.h int64_t offset, offset 288 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M14_PPB_FileIO_Read(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { offset 290 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Read(file_io, offset, buffer, bytes_to_read, *callback); offset 293 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M14_PPB_FileIO_Write(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { offset 295 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Write(file_io, offset, buffer, bytes_to_write, *callback); offset 342 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M25_PPB_FileIO_Read(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { offset 344 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Read(file_io, offset, buffer, bytes_to_read, *callback); offset 347 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M25_PPB_FileIO_Write(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { offset 349 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Write(file_io, offset, buffer, bytes_to_write, *callback); offset 367 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M25_PPB_FileIO_ReadToArray(PP_Resource file_io, int64_t offset, int32_t max_read_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { offset 369 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->ReadToArray(file_io, offset, max_read_length, output, *callback); offset 376 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M34_PPB_FileMapping_Map(PP_Instance instance, PP_Resource file_io, int64_t length, uint32_t map_protection, uint32_t map_flags, int64_t offset, void** address, struct PP_CompletionCallback* callback) { offset 378 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Map(instance, file_io, length, map_protection, map_flags, offset, address, *callback); offset 2198 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable(PP_Resource font, uint32_t table, int32_t offset, int32_t max_data_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { offset 2200 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->GetTable(font, table, offset, max_data_length, *output, *callback); offset 4307 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Read = (int32_t (*)(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Read, offset 4308 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Write = (int32_t (*)(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Write, offset 4320 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Read = (int32_t (*)(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Read, offset 4321 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Write = (int32_t (*)(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Write, offset 4325 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .ReadToArray = (int32_t (*)(PP_Resource file_io, int64_t offset, int32_t max_read_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_ReadToArray offset 4329 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Map = (int32_t (*)(PP_Instance instance, PP_Resource file_io, int64_t length, uint32_t map_protection, uint32_t map_flags, int64_t offset, void** address, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_FileMapping_Map, offset 4851 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .GetTable = (int32_t (*)(PP_Resource font, uint32_t table, int32_t offset, int32_t max_data_length, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable offset 68 ppapi/proxy/file_io_resource.cc int64_t offset, offset 71 ppapi/proxy/file_io_resource.cc offset_(offset), offset 87 ppapi/proxy/file_io_resource.cc int64_t offset, offset 92 ppapi/proxy/file_io_resource.cc offset_(offset), offset 249 ppapi/proxy/file_io_resource.cc int32_t FileIOResource::Read(int64_t offset, offset 261 ppapi/proxy/file_io_resource.cc return ReadValidated(offset, bytes_to_read, output_adapter, callback); offset 264 ppapi/proxy/file_io_resource.cc int32_t FileIOResource::ReadToArray(int64_t offset, offset 274 ppapi/proxy/file_io_resource.cc return ReadValidated(offset, max_read_length, *array_output, callback); offset 277 ppapi/proxy/file_io_resource.cc int32_t FileIOResource::Write(int64_t offset, offset 283 ppapi/proxy/file_io_resource.cc if (offset < 0 || bytes_to_write < 0) offset 302 ppapi/proxy/file_io_resource.cc uint64_t max_offset = offset + bytes_to_write; offset 314 ppapi/proxy/file_io_resource.cc offset, buffer, bytes_to_write, callback)); offset 325 ppapi/proxy/file_io_resource.cc return WriteValidated(offset, buffer, bytes_to_write, callback); offset 447 ppapi/proxy/file_io_resource.cc int32_t FileIOResource::ReadValidated(int64_t offset, offset 470 ppapi/proxy/file_io_resource.cc file_handle_->raw_handle(), offset, buffer, bytes_to_read); offset 480 ppapi/proxy/file_io_resource.cc new ReadOp(file_handle_, offset, bytes_to_read)); offset 493 ppapi/proxy/file_io_resource.cc int64_t offset, offset 508 ppapi/proxy/file_io_resource.cc file_handle_->raw_handle(), offset, buffer, bytes_to_write); offset 520 ppapi/proxy/file_io_resource.cc new WriteOp(file_handle_, offset, buffer, bytes_to_write, append)); offset 584 ppapi/proxy/file_io_resource.cc int64_t offset, offset 598 ppapi/proxy/file_io_resource.cc DCHECK_LE(offset + bytes_to_write - max_written_offset_, granted); offset 600 ppapi/proxy/file_io_resource.cc int64_t max_offset = offset + bytes_to_write; offset 605 ppapi/proxy/file_io_resource.cc int32_t result = WriteValidated(offset, buffer, bytes_to_write, callback); offset 47 ppapi/proxy/file_io_resource.h virtual int32_t Read(int64_t offset, offset 51 ppapi/proxy/file_io_resource.h virtual int32_t ReadToArray(int64_t offset, offset 55 ppapi/proxy/file_io_resource.h virtual int32_t Write(int64_t offset, offset 132 ppapi/proxy/file_io_resource.h int64_t offset, offset 155 ppapi/proxy/file_io_resource.h int64_t offset, offset 175 ppapi/proxy/file_io_resource.h void OnRequestWriteQuotaComplete(int64_t offset, offset 184 ppapi/proxy/file_io_resource.h int32_t ReadValidated(int64_t offset, offset 188 ppapi/proxy/file_io_resource.h int32_t WriteValidated(int64_t offset, offset 36 ppapi/proxy/file_mapping_resource.cc int64_t offset, offset 48 ppapi/proxy/file_mapping_resource.cc if (length < 0 || offset < 0 || offset 49 ppapi/proxy/file_mapping_resource.cc !base::IsValueInRangeForNumericType<off_t>(offset)) { offset 79 ppapi/proxy/file_mapping_resource.cc length, protection, flags, offset)); offset 35 ppapi/proxy/file_mapping_resource.h int64_t offset, offset 65 ppapi/proxy/file_mapping_resource.h int64_t offset); offset 43 ppapi/proxy/file_mapping_resource_posix.cc int64_t offset) { offset 67 ppapi/proxy/file_mapping_resource_posix.cc static_cast<off_t>(offset)); offset 19 ppapi/proxy/file_mapping_resource_win.cc int64_t offset) { offset 36 ppapi/proxy/flash_resource.cc double offset; offset 115 ppapi/proxy/flash_resource.cc return iter->second.offset; offset 127 ppapi/proxy/flash_resource.cc cache_entry.offset = 0.0; offset 137 ppapi/proxy/flash_resource.cc &cache_entry.offset); offset 139 ppapi/proxy/flash_resource.cc cache_entry.offset = 0.0; offset 141 ppapi/proxy/flash_resource.cc cache_entry.offset = PPGetLocalTimeZoneOffset(PPTimeToTime(t)); offset 145 ppapi/proxy/flash_resource.cc return cache_entry.offset; offset 66 ppapi/proxy/truetype_font_resource.cc int32_t offset, offset 71 ppapi/proxy/truetype_font_resource.cc PpapiHostMsg_TrueTypeFont_GetTable(table, offset, max_data_length), offset 45 ppapi/proxy/truetype_font_resource.h int32_t offset, offset 144 ppapi/shared_impl/ppb_opengles2_shared.cc GLintptr offset, offset 149 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->BufferSubData(target, offset, size, data); offset 1490 ppapi/shared_impl/ppb_opengles2_shared.cc GLintptr offset, offset 1496 ppapi/shared_impl/ppb_opengles2_shared.cc ->MapBufferSubDataCHROMIUM(target, offset, size, access); offset 84 ppapi/tests/test_file_io.cc int32_t offset, offset 89 ppapi/tests/test_file_io.cc int32_t read_offset = offset; offset 107 ppapi/tests/test_file_io.cc int32_t offset, offset 114 ppapi/tests/test_file_io.cc callback.WaitForResult(file_io->Read(offset, 256, callback.GetCallback())); offset 122 ppapi/tests/test_file_io.cc offset += rv; offset 146 ppapi/tests/test_file_io.cc int32_t offset, offset 150 ppapi/tests/test_file_io.cc int32_t write_offset = offset; offset 154 ppapi/tests/test_file_io.cc while (write_offset < offset + size) { offset 156 ppapi/tests/test_file_io.cc &buf[write_offset - offset], offset 157 ppapi/tests/test_file_io.cc size - write_offset + offset, offset 29 ppapi/tests/test_file_mapping.cc int32_t offset, offset 34 ppapi/tests/test_file_mapping.cc int32_t read_offset = offset; offset 52 ppapi/tests/test_file_mapping.cc int32_t offset, offset 56 ppapi/tests/test_file_mapping.cc int32_t write_offset = offset; offset 60 ppapi/tests/test_file_mapping.cc while (write_offset < offset + size) { offset 62 ppapi/tests/test_file_mapping.cc &buf[write_offset - offset], offset 63 ppapi/tests/test_file_mapping.cc size - write_offset + offset, offset 43 ppapi/tests/test_truetype_font.cc uint32_t offset; offset 353 ppapi/tests/test_truetype_font.cc uint32_t table_offset = ReadBigEndian32(&cmap_entry->offset); offset 34 ppapi/tests/test_url_loader.cc int32_t offset, offset 38 ppapi/tests/test_url_loader.cc int32_t write_offset = offset; offset 42 ppapi/tests/test_url_loader.cc while (write_offset < offset + size) { offset 44 ppapi/tests/test_url_loader.cc &buf[write_offset - offset], offset 45 ppapi/tests/test_url_loader.cc size - write_offset + offset, offset 157 ppapi/tests/test_url_loader.cc int64_t offset = 0; offset 160 ppapi/tests/test_url_loader.cc callback.WaitForResult(file_io->Read(offset, buf, sizeof(buf), offset 166 ppapi/tests/test_url_loader.cc offset += callback.result(); offset 31 ppapi/thunk/ppb_file_io_api.h virtual int32_t Read(int64_t offset, offset 35 ppapi/thunk/ppb_file_io_api.h virtual int32_t ReadToArray(int64_t offset, offset 39 ppapi/thunk/ppb_file_io_api.h virtual int32_t Write(int64_t offset, offset 71 ppapi/thunk/ppb_file_io_thunk.cc int64_t offset, offset 79 ppapi/thunk/ppb_file_io_thunk.cc return enter.SetResult(enter.object()->Read(offset, offset 86 ppapi/thunk/ppb_file_io_thunk.cc int64_t offset, offset 94 ppapi/thunk/ppb_file_io_thunk.cc return enter.SetResult(enter.object()->Write(offset, offset 127 ppapi/thunk/ppb_file_io_thunk.cc int64_t offset, offset 135 ppapi/thunk/ppb_file_io_thunk.cc return enter.SetResult(enter.object()->ReadToArray(offset, offset 30 ppapi/thunk/ppb_file_mapping_api.h int64_t offset, offset 25 ppapi/thunk/ppb_file_mapping_thunk.cc int64_t offset, offset 37 ppapi/thunk/ppb_file_mapping_thunk.cc offset, offset 27 ppapi/thunk/ppb_truetype_font_api.h int32_t offset, offset 87 ppapi/thunk/ppb_truetype_font_dev_thunk.cc int32_t offset, offset 96 ppapi/thunk/ppb_truetype_font_dev_thunk.cc offset, offset 73 remoting/base/typed_buffer.h T* GetAtOffset(uint32 offset) { offset 74 remoting/base/typed_buffer.h return reinterpret_cast<T*>(reinterpret_cast<uint8*>(buffer_) + offset); offset 135 remoting/base/util.cc webrtc::DesktopVector offset(outer_rect.left() - inner_rect.left(), offset 140 remoting/base/util.cc y_offset += CalculateYOffset(offset.x(), offset.y(), source_ystride); offset 141 remoting/base/util.cc uv_offset += CalculateUVOffset(offset.x(), offset.y(), source_uvstride); offset 142 remoting/base/util.cc rgb_offset += CalculateRGBOffset(offset.x(), offset.y(), dest_stride); offset 129 remoting/codec/codec_test.cc const int offset = stride * i.rect().top() + offset 131 remoting/codec/codec_test.cc const uint8* original = frame_->data() + offset; offset 132 remoting/codec/codec_test.cc const uint8* decoded = image_data_.get() + offset; offset 154 remoting/codec/codec_test.cc const int offset = stride * i.rect().top() + offset 156 remoting/codec/codec_test.cc const uint8* expected = expected_view_data + offset; offset 157 remoting/codec/codec_test.cc const uint8* actual = image_data_.get() + offset; offset 44 remoting/protocol/connection_tester.cc ASSERT_EQ(test_data_size_, input_buffer_->offset()); offset 102 remoting/protocol/connection_tester.cc input_buffer_->SetCapacity(input_buffer_->offset() + message_size_); offset 124 remoting/protocol/connection_tester.cc input_buffer_->set_offset(input_buffer_->offset() + result); offset 125 remoting/protocol/connection_tester.cc if (input_buffer_->offset() == test_data_size_) offset 232 remoting/protocol/ssl_hmac_channel_authenticator.cc auth_read_buf_->set_offset(auth_read_buf_->offset() + read_result); offset 44 sandbox/linux/seccomp-bpf/basicblock.h int offset; offset 659 sandbox/linux/seccomp-bpf/codegen.cc int offset = 0; offset 678 sandbox/linux/seccomp-bpf/codegen.cc int jmp = offset - targets_to_blocks.find(insn->jt_ptr)->second->offset; offset 684 sandbox/linux/seccomp-bpf/codegen.cc int jt = offset - targets_to_blocks.find(insn->jt_ptr)->second->offset; offset 685 sandbox/linux/seccomp-bpf/codegen.cc int jf = offset - targets_to_blocks.find(insn->jf_ptr)->second->offset; offset 726 sandbox/linux/seccomp-bpf/codegen.cc offset += bb->instructions.size(); offset 727 sandbox/linux/seccomp-bpf/codegen.cc bb->offset = offset; offset 38 sandbox/win/src/interception.cc unsigned int offset; offset 41 sandbox/win/src/interception.cc rand_s(&offset); offset 42 sandbox/win/src/interception.cc offset &= (kAllocGranularity - 1); offset 43 sandbox/win/src/interception.cc } while (offset > (kAllocGranularity - size)); offset 50 sandbox/win/src/interception.cc return offset & ~(align_size - 1); offset 25 sandbox/win/src/interceptors_64.cc SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, offset 31 sandbox/win/src/interceptors_64.cc commit_size, offset, view_size, inherit, offset 20 sandbox/win/src/interceptors_64.h SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, offset 302 sandbox/win/src/sandbox_nt_util.cc bool IsValidImageSection(HANDLE section, PVOID *base, PLARGE_INTEGER offset, offset 304 sandbox/win/src/sandbox_nt_util.cc if (!section || !base || !view_size || offset) offset 147 sandbox/win/src/sandbox_nt_util.h bool IsValidImageSection(HANDLE section, PVOID *base, PLARGE_INTEGER offset, offset 21 sandbox/win/src/target_interceptions.cc PLARGE_INTEGER offset, PSIZE_T view_size, SECTION_INHERIT inherit, offset 24 sandbox/win/src/target_interceptions.cc commit_size, offset, view_size, inherit, offset 43 sandbox/win/src/target_interceptions.cc if (!IsValidImageSection(section, base, offset, view_size)) offset 21 sandbox/win/src/target_interceptions.h PLARGE_INTEGER offset, PSIZE_T view_size, SECTION_INHERIT inherit, offset 27 sandbox/win/src/target_process.cc size_t offset = reinterpret_cast<size_t>(source); offset 32 sandbox/win/src/target_process.cc buffer -= offset; offset 224 sandbox/win/src/target_process.cc size_t offset = reinterpret_cast<char*>(child_var) - offset 226 sandbox/win/src/target_process.cc child_var = reinterpret_cast<char*>(MainModule()) + offset; offset 12 sandbox/win/wow_helper/target_code.cc SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, offset 16 sandbox/win/wow_helper/target_code.cc offset, view_size, inherit, offset 31 sandbox/win/wow_helper/target_code.h SIZE_T commit_size, PLARGE_INTEGER offset, PSIZE_T view_size, offset 315 skia/ext/convolver.cc instance.offset = filter_offset; offset 328 skia/ext/convolver.cc *filter_offset = filter.offset; offset 106 skia/ext/convolver.h *filter_offset = filter.offset; offset 144 skia/ext/convolver.h int offset; offset 361 skia/ext/convolver_mips_dspr2.cc [offset] "+r" (byte_offset), [fy] "+r" (filter_y), [cnt] "+r" (cnt), offset 467 skia/ext/convolver_mips_dspr2.cc [offset] "+r" (byte_offset), [fy] "+r" (filter_y), [cnt] "+r" (cnt), offset 223 skia/ext/convolver_unittest.cc unsigned int offset = source_width * p / dest_width; offset 224 skia/ext/convolver_unittest.cc EXPECT_LT(offset, source_width); offset 225 skia/ext/convolver_unittest.cc x_filter.AddFilter(offset, filter, offset 227 skia/ext/convolver_unittest.cc source_width - offset)); offset 231 skia/ext/convolver_unittest.cc unsigned int offset = source_height * p / dest_height; offset 232 skia/ext/convolver_unittest.cc y_filter.AddFilter(offset, filter, offset 234 skia/ext/convolver_unittest.cc source_height - offset)); offset 659 skia/ext/image_operations_unittest.cc static double lanczos3(double offset) { offset 660 skia/ext/image_operations_unittest.cc if (fabs(offset) >= 3) return 0.0; offset 661 skia/ext/image_operations_unittest.cc return sinc(offset) * sinc(offset / 3.0); offset 192 skia/ext/recursive_gaussian_convolution_unittest.cc for (int offset = 0; offset 193 skia/ext/recursive_gaussian_convolution_unittest.cc offset < std::min(kImgWidth, kImgHeight) && (value_y > 0 || value_x > 0); offset 194 skia/ext/recursive_gaussian_convolution_unittest.cc ++offset) { offset 196 skia/ext/recursive_gaussian_convolution_unittest.cc EXPECT_EQ(output[dest_row_stride * cy + cx - offset], offset 197 skia/ext/recursive_gaussian_convolution_unittest.cc output[dest_row_stride * cy + cx + offset]); offset 198 skia/ext/recursive_gaussian_convolution_unittest.cc EXPECT_LE(output[dest_row_stride * cy + cx - offset], value_x); offset 199 skia/ext/recursive_gaussian_convolution_unittest.cc value_x = output[dest_row_stride * cy + cx - offset]; offset 202 skia/ext/recursive_gaussian_convolution_unittest.cc EXPECT_EQ(output[dest_row_stride * (cy - offset) + cx], offset 203 skia/ext/recursive_gaussian_convolution_unittest.cc output[dest_row_stride * (cy + offset) + cx]); offset 204 skia/ext/recursive_gaussian_convolution_unittest.cc EXPECT_LE(output[dest_row_stride * (cy - offset) + cx], value_y); offset 205 skia/ext/recursive_gaussian_convolution_unittest.cc value_y = output[dest_row_stride * (cy - offset) + cx]; offset 130 sync/notifier/registration_manager_unittest.cc base::TimeDelta offset = offset 135 sync/notifier/registration_manager_unittest.cc static_cast<int64>(expected_delay_seconds)) + offset; offset 75 third_party/ashmem/ashmem-dev.c int ashmem_pin_region(int fd, size_t offset, size_t len) offset 77 third_party/ashmem/ashmem-dev.c struct ashmem_pin pin = { offset, len }; offset 81 third_party/ashmem/ashmem-dev.c int ashmem_unpin_region(int fd, size_t offset, size_t len) offset 83 third_party/ashmem/ashmem-dev.c struct ashmem_pin pin = { offset, len }; offset 21 third_party/ashmem/ashmem.h int ashmem_pin_region(int fd, size_t offset, size_t len); offset 22 third_party/ashmem/ashmem.h int ashmem_unpin_region(int fd, size_t offset, size_t len); offset 2164 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc scriptspan.offset = 0; offset 245 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc int offset = src - reinterpret_cast<const uint8*>(isrc); offset 249 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc --offset; // back up over the second '<', which caused us to stop offset 250 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc while ((0 < offset) && (isrc[offset] != '<')) { offset 252 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc --offset; offset 256 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc return offset + 1; offset 355 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc span->offset = next_byte_ - start_byte_; offset 22 third_party/cld/encodings/compact_lang_det/getonescriptspan.h int offset; // Offset of start of span in original input buffer offset 581 third_party/codesighs/msdump2symdb.c unsigned offset = 0; offset 587 third_party/codesighs/msdump2symdb.c offset = strtoul(offsetArg, &endOffsetArg, 16); offset 610 third_party/codesighs/msdump2symdb.c inContainer->mReadState.mCurrentObject->mSections[sectionIndex].mSymbols[symIndex].mOffset = offset; offset 962 third_party/expat/files/lib/expat.h int *offset, offset 1704 third_party/expat/files/lib/xmlparse.c int offset = (int)(bufferPtr - buffer) - keep; offset 1705 third_party/expat/files/lib/xmlparse.c memmove(buffer, &buffer[offset], bufferEnd - bufferPtr + keep); offset 1706 third_party/expat/files/lib/xmlparse.c bufferEnd -= offset; offset 1707 third_party/expat/files/lib/xmlparse.c bufferPtr -= offset; offset 1857 third_party/expat/files/lib/xmlparse.c XML_GetInputContext(XML_Parser parser, int *offset, int *size) offset 1861 third_party/expat/files/lib/xmlparse.c *offset = (int)(eventPtr - buffer); offset 149 third_party/harfbuzz-ng/src/hb-blob.cc unsigned int offset, offset 154 third_party/harfbuzz-ng/src/hb-blob.cc if (!length || offset >= parent->length) offset 159 third_party/harfbuzz-ng/src/hb-blob.cc blob = hb_blob_create (parent->data + offset, offset 160 third_party/harfbuzz-ng/src/hb-blob.cc MIN (length, parent->length - offset), offset 83 third_party/harfbuzz-ng/src/hb-blob.h unsigned int offset, offset 510 third_party/harfbuzz-ng/src/hb-coretext.cc unsigned int offset = feature_records.len; offset 146 third_party/harfbuzz-ng/src/hb-face.cc hb_blob_t *blob = hb_blob_create_sub_blob (data->blob, table.offset, table.length); offset 63 third_party/harfbuzz-ng/src/hb-open-file-private.hh ULONG offset; /* Offset from beginning of TrueType font offset 62 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline const Type& StructAtOffset(const void *P, unsigned int offset) offset 63 third_party/harfbuzz-ng/src/hb-open-type-private.hh { return * reinterpret_cast<const Type*> ((const char *) P + offset); } offset 65 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline Type& StructAtOffset(void *P, unsigned int offset) offset 66 third_party/harfbuzz-ng/src/hb-open-type-private.hh { return * reinterpret_cast<Type*> ((char *) P + offset); } offset 694 third_party/harfbuzz-ng/src/hb-open-type-private.hh unsigned int offset = *this; offset 695 third_party/harfbuzz-ng/src/hb-open-type-private.hh if (unlikely (!offset)) return Null(Type); offset 696 third_party/harfbuzz-ng/src/hb-open-type-private.hh return StructAtOffset<Type> (base, offset); offset 709 third_party/harfbuzz-ng/src/hb-open-type-private.hh unsigned int offset = *this; offset 710 third_party/harfbuzz-ng/src/hb-open-type-private.hh if (unlikely (!offset)) return TRACE_RETURN (true); offset 711 third_party/harfbuzz-ng/src/hb-open-type-private.hh Type &obj = StructAtOffset<Type> (base, offset); offset 718 third_party/harfbuzz-ng/src/hb-open-type-private.hh unsigned int offset = *this; offset 719 third_party/harfbuzz-ng/src/hb-open-type-private.hh if (unlikely (!offset)) return TRACE_RETURN (true); offset 720 third_party/harfbuzz-ng/src/hb-open-type-private.hh Type &obj = StructAtOffset<Type> (base, offset); offset 741 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline const Type& operator + (const Base &base, const GenericOffsetTo<OffsetType, Type> &offset) { return offset (base); } offset 743 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline Type& operator + (Base &base, GenericOffsetTo<OffsetType, Type> &offset) { return offset (base); } offset 71 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh return TRACE_RETURN (c->check_struct (this) && offset.sanitize (c, base, &closure)); offset 76 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh offset; /* Offset from beginning of object holding offset 121 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh { return this+RecordArrayOf<Type>::operator [](i).offset; } offset 231 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh return this+langSys[i].offset; offset 911 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int offset) offset 915 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh hb_apply_context_t::skipping_forward_iterator_t skippy_iter (c, c->buffer->idx + offset - 1, count, true); offset 2196 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int offset = get_offset (); offset 2197 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh if (unlikely (!offset)) return Null(typename T::LookupSubTable); offset 2198 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh return StructAtOffset<typename T::LookupSubTable> (this, offset); offset 2219 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int offset = get_offset (); offset 2220 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh if (unlikely (!offset)) return TRACE_RETURN (true); offset 2221 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh return TRACE_RETURN (StructAtOffset<typename T::LookupSubTable> (this, offset).sanitize (c, get_type ())); offset 157 third_party/harfbuzz-ng/src/hb-ot-layout-jstf-table.hh return this+langSys[i].offset; offset 205 third_party/harfbuzz-ng/src/hb-ot-layout-jstf-table.hh { return this+scriptList[i].offset; } offset 442 third_party/harfbuzz-ng/src/hb-ot-layout.cc unsigned int offset, len; offset 444 third_party/harfbuzz-ng/src/hb-ot-layout.cc offset = 0; offset 450 third_party/harfbuzz-ng/src/hb-ot-layout.cc offset, &len, offset 456 third_party/harfbuzz-ng/src/hb-ot-layout.cc offset += len; offset 483 third_party/harfbuzz-ng/src/hb-ot-layout.cc unsigned int offset, len; offset 485 third_party/harfbuzz-ng/src/hb-ot-layout.cc offset = 0; offset 492 third_party/harfbuzz-ng/src/hb-ot-layout.cc offset, &len, offset 501 third_party/harfbuzz-ng/src/hb-ot-layout.cc offset += len; offset 42 third_party/harfbuzz-ng/src/hb-ot-map.cc unsigned int offset, len; offset 47 third_party/harfbuzz-ng/src/hb-ot-map.cc offset = 0; offset 53 third_party/harfbuzz-ng/src/hb-ot-map.cc offset, &len, offset 68 third_party/harfbuzz-ng/src/hb-ot-map.cc offset += len; offset 62 third_party/harfbuzz-ng/src/hb-ot-name-table.hh return TRACE_RETURN (c->check_struct (this) && c->check_range ((char *) base, (unsigned int) length + offset)); offset 70 third_party/harfbuzz-ng/src/hb-ot-name-table.hh USHORT offset; /* String offset from start of storage area (in bytes). */ offset 97 third_party/harfbuzz-ng/src/hb-ot-name-table.hh memcpy (buffer, (char *) this + stringOffset + match->offset, length); offset 385 third_party/harfbuzz-ng/src/hb-uniscribe.cc record.offset.set (0); offset 409 third_party/harfbuzz-ng/src/hb-uniscribe.cc record.offset.set (name_table_offset); offset 664 third_party/harfbuzz-ng/src/hb-uniscribe.cc unsigned int offset = feature_records.len; offset 685 third_party/harfbuzz-ng/src/hb-uniscribe.cc range->props.potfRecords = reinterpret_cast<OPENTYPE_FEATURE_RECORD *> (offset); offset 686 third_party/harfbuzz-ng/src/hb-uniscribe.cc range->props.cotfRecords = feature_records.len - offset; offset 103 third_party/harfbuzz-ng/src/main.cc (unsigned int) table.offset, offset 112 third_party/harfbuzz-ng/src/main.cc const GSUBGPOS &g = *CastP<GSUBGPOS> (font_data + table.offset); offset 176 third_party/harfbuzz-ng/src/main.cc const GDEF &gdef = *CastP<GDEF> (font_data + table.offset); offset 391 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); offset 787 third_party/khronos/GLES2/gl2ext.h typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); offset 788 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length); offset 790 third_party/khronos/GLES2/gl2ext.h GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); offset 791 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length); offset 119 third_party/leveldatabase/env_chromium_stdio.cc virtual Status Read(uint64_t offset, size_t n, Slice* result, char* scratch) offset 122 third_party/leveldatabase/env_chromium_stdio.cc int r = file_.Read(offset, scratch, n); offset 104 third_party/leveldatabase/env_chromium_win.cc virtual Status Read(uint64_t offset, size_t n, Slice* result, char* scratch) offset 107 third_party/leveldatabase/env_chromium_win.cc int r = file_.Read(offset, scratch, n); offset 2164 third_party/libevent/http.c size_t offset = 0; offset 2169 third_party/libevent/http.c offset = (size_t)(p - req->uri); offset 2176 third_party/libevent/http.c res = ((strncmp(cb->what, req->uri, offset) == 0) && offset 2177 third_party/libevent/http.c (cb->what[offset] == '\0')); offset 218 third_party/libevent/test/regress.gen.c msg_run_get(struct msg *msg, int offset, offset 221 third_party/libevent/test/regress.gen.c if (!msg->run_set || offset < 0 || offset >= msg->run_length) offset 223 third_party/libevent/test/regress.gen.c *value = msg->run_data[offset]; offset 733 third_party/liblouis/overrides/liblouis/compileTranslationTable.c allocateSpaceInTable (FileInfo * nested, TranslationTableOffset * offset, offset 754 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (offset != NULL) offset 756 third_party/liblouis/overrides/liblouis/compileTranslationTable.c *offset = (tableUsed - sizeof (*table)) / OFFSETSIZE; offset 868 third_party/liblouis/overrides/liblouis/compileTranslationTable.c TranslationTableOffset offset; offset 872 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (!allocateSpaceInTable (nested, &offset, sizeof (*character))) offset 874 third_party/liblouis/overrides/liblouis/compileTranslationTable.c character = (TranslationTableCharacter *) & table->ruleArea[offset]; offset 885 third_party/liblouis/overrides/liblouis/compileTranslationTable.c table->characters[makeHash] = offset; offset 887 third_party/liblouis/overrides/liblouis/compileTranslationTable.c table->dots[makeHash] = offset; offset 895 third_party/liblouis/overrides/liblouis/compileTranslationTable.c oldchar->next = offset; offset 944 third_party/liblouis/overrides/liblouis/compileTranslationTable.c TranslationTableOffset offset; offset 948 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (!allocateSpaceInTable (nested, &offset, sizeof (*cdPtr))) offset 950 third_party/liblouis/overrides/liblouis/compileTranslationTable.c cdPtr = (CharOrDots *) & table->ruleArea[offset]; offset 957 third_party/liblouis/overrides/liblouis/compileTranslationTable.c table->charToDots[makeHash] = offset; offset 963 third_party/liblouis/overrides/liblouis/compileTranslationTable.c oldcdPtr->next = offset; offset 968 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (!allocateSpaceInTable (nested, &offset, sizeof (*cdPtr))) offset 970 third_party/liblouis/overrides/liblouis/compileTranslationTable.c cdPtr = (CharOrDots *) & table->ruleArea[offset]; offset 977 third_party/liblouis/overrides/liblouis/compileTranslationTable.c table->dotsToChar[makeHash] = offset; offset 983 third_party/liblouis/overrides/liblouis/compileTranslationTable.c oldcdPtr->next = offset; offset 3739 third_party/liblouis/overrides/liblouis/compileTranslationTable.c dict.states[i].trans.offset = 0; offset 3744 third_party/liblouis/overrides/liblouis/compileTranslationTable.c &dict.states[i].trans.offset, offset 3747 third_party/liblouis/overrides/liblouis/compileTranslationTable.c memcpy (&table->ruleArea[dict.states[i].trans.offset], offset 52 third_party/libpng/pngerror.c int offset; offset 53 third_party/libpng/pngerror.c for (offset = 1; offset<15; offset++) offset 54 third_party/libpng/pngerror.c if (error_message[offset] == ' ') offset 59 third_party/libpng/pngerror.c for (i = 0; i < offset - 1; i++) offset 65 third_party/libpng/pngerror.c error_message += offset; offset 113 third_party/libpng/pngerror.c int offset = 0; offset 123 third_party/libpng/pngerror.c for (offset = 1; offset < 15; offset++) offset 124 third_party/libpng/pngerror.c if (warning_message[offset] == ' ') offset 130 third_party/libpng/pngerror.c (*(png_ptr->warning_fn))(png_ptr, warning_message + offset); offset 132 third_party/libpng/pngerror.c png_default_warning(png_ptr, warning_message + offset); offset 256 third_party/libpng/pngerror.c int offset; offset 258 third_party/libpng/pngerror.c for (offset = 0; offset<15; offset++) offset 260 third_party/libpng/pngerror.c error_number[offset] = error_message[offset + 1]; offset 261 third_party/libpng/pngerror.c if (error_message[offset] == ' ') offset 264 third_party/libpng/pngerror.c if ((offset > 1) && (offset < 15)) offset 266 third_party/libpng/pngerror.c error_number[offset - 1] = '\0'; offset 268 third_party/libpng/pngerror.c error_number, error_message + offset + 1); offset 274 third_party/libpng/pngerror.c error_message, offset); offset 320 third_party/libpng/pngerror.c int offset; offset 322 third_party/libpng/pngerror.c for (offset = 0; offset < 15; offset++) offset 324 third_party/libpng/pngerror.c warning_number[offset] = warning_message[offset + 1]; offset 325 third_party/libpng/pngerror.c if (warning_message[offset] == ' ') offset 328 third_party/libpng/pngerror.c if ((offset > 1) && (offset < 15)) offset 330 third_party/libpng/pngerror.c warning_number[offset + 1] = '\0'; offset 332 third_party/libpng/pngerror.c warning_number, warning_message + offset); offset 1648 third_party/libusb/src/libusb/libusb.h size_t offset = 0; offset 1662 third_party/libusb/src/libusb/libusb.h offset += transfer->iso_packet_desc[i].length; offset 1664 third_party/libusb/src/libusb/libusb.h return transfer->buffer + offset; offset 183 third_party/libusb/src/libusb/os/linux_netlink.c size_t offset; offset 185 third_party/libusb/src/libusb/os/linux_netlink.c for (offset = 0 ; offset < len && '\0' != buffer[offset] ; offset += strlen(buffer + offset) + 1) { offset 186 third_party/libusb/src/libusb/os/linux_netlink.c if (0 == strncmp(buffer + offset, key, keylen) && offset 187 third_party/libusb/src/libusb/os/linux_netlink.c '=' == buffer[offset + keylen]) { offset 188 third_party/libusb/src/libusb/os/linux_netlink.c return buffer + offset + keylen + 1; offset 94 third_party/libwebp/dec/alpha.c const size_t offset = row * width; offset 96 third_party/libwebp/dec/alpha.c assert(dec->alpha_data_size_ >= ALPHA_HEADER_LEN + offset + num_pixels); offset 97 third_party/libwebp/dec/alpha.c memcpy(dec->alpha_plane_ + offset, offset 98 third_party/libwebp/dec/alpha.c dec->alpha_data_ + ALPHA_HEADER_LEN + offset, num_pixels); offset 90 third_party/libwebp/dec/idec.c static void RemapBitReader(VP8BitReader* const br, ptrdiff_t offset) { offset 92 third_party/libwebp/dec/idec.c br->buf_ += offset; offset 93 third_party/libwebp/dec/idec.c br->buf_end_ += offset; offset 118 third_party/libwebp/dec/idec.c static void DoRemap(WebPIDecoder* const idec, ptrdiff_t offset) { offset 130 third_party/libwebp/dec/idec.c if (offset != 0) { offset 133 third_party/libwebp/dec/idec.c RemapBitReader(dec->parts_ + p, offset); offset 138 third_party/libwebp/dec/idec.c RemapBitReader(&dec->br_, offset); offset 145 third_party/libwebp/dec/idec.c dec->alpha_data_ += offset; offset 330 third_party/libwebp/dec/idec.c ChangeState(idec, STATE_VP8_HEADER, headers.offset); offset 337 third_party/libwebp/dec/idec.c ChangeState(idec, STATE_VP8L_HEADER, headers.offset); offset 123 third_party/libwebp/dec/vp8l.c int extra_bits, offset; offset 128 third_party/libwebp/dec/vp8l.c offset = (2 + (distance_symbol & 1)) << extra_bits; offset 129 third_party/libwebp/dec/vp8l.c return offset + VP8LReadBits(br, extra_bits) + 1; offset 398 third_party/libwebp/dec/webp.c headers->offset = data - headers->data; offset 400 third_party/libwebp/dec/webp.c assert(headers->offset == headers->data_size - data_size); offset 450 third_party/libwebp/dec/webp.c io.data = headers.data + headers.offset; offset 451 third_party/libwebp/dec/webp.c io.data_size = headers.data_size - headers.offset; offset 57 third_party/libwebp/dec/webpi.h size_t offset; // offset to main data chunk (VP8 or VP8L) offset 300 third_party/libwebp/enc/backward_references.c int offset = 0; offset 306 third_party/libwebp/enc/backward_references.c &offset, &len); offset 333 third_party/libwebp/enc/backward_references.c offset = offset2; offset 339 third_party/libwebp/enc/backward_references.c refs->refs[refs->size++] = PixOrCopyCreateCopy(offset, len); offset 525 third_party/libwebp/enc/backward_references.c int offset = 0; offset 531 third_party/libwebp/enc/backward_references.c &offset, &len); offset 534 third_party/libwebp/enc/backward_references.c const int code = DistanceToPlaneCode(xsize, offset); offset 651 third_party/libwebp/enc/backward_references.c int offset = 0; offset 657 third_party/libwebp/enc/backward_references.c &offset, &len); offset 659 third_party/libwebp/enc/backward_references.c refs->refs[size] = PixOrCopyCreateCopy(offset, len); offset 738 third_party/libwebp/enc/picture.c const int offset = step * x + y * rgb_stride; offset 740 third_party/libwebp/enc/picture.c RGBToY(r_ptr[offset], g_ptr[offset], b_ptr[offset], &rg); offset 824 third_party/libwebp/enc/picture.c const int offset = step * x + y * rgb_stride; offset 826 third_party/libwebp/enc/picture.c MakeARGB32(r_ptr[offset], g_ptr[offset], b_ptr[offset]); offset 835 third_party/libwebp/enc/picture.c const int offset = step * x + y * rgb_stride; offset 836 third_party/libwebp/enc/picture.c const uint32_t argb = ((uint32_t)a_ptr[offset] << 24) | offset 837 third_party/libwebp/enc/picture.c (r_ptr[offset] << 16) | offset 838 third_party/libwebp/enc/picture.c (g_ptr[offset] << 8) | offset 839 third_party/libwebp/enc/picture.c (b_ptr[offset]); offset 1405 third_party/libxml/src/triostr.c TRIO_ARGS2((self, offset), offset 1407 third_party/libxml/src/triostr.c int offset) offset 1419 third_party/libxml/src/triostr.c if (offset >= 0) offset 1421 third_party/libxml/src/triostr.c if (offset > (int)self->length) offset 1423 third_party/libxml/src/triostr.c offset = self->length; offset 1428 third_party/libxml/src/triostr.c offset += self->length + 1; offset 1429 third_party/libxml/src/triostr.c if (offset < 0) offset 1431 third_party/libxml/src/triostr.c offset = 0; offset 1434 third_party/libxml/src/triostr.c result = &(self->content[offset]); offset 108 third_party/libxml/src/triostr.h TRIO_STRING_PUBLIC char *trio_string_get TRIO_PROTO((trio_string_t *self, int offset)); offset 1799 third_party/libxml/src/xmlreader.c int offset ATTRIBUTE_UNUSED, offset 1829 third_party/libxml/src/xmlreader.c int offset ATTRIBUTE_UNUSED, offset 3895 third_party/libxml/src/xmlschemastypes.c xmlSchemaDateNormalize (xmlSchemaValPtr dt, double offset) offset 3911 third_party/libxml/src/xmlschemastypes.c dur->value.date.sec -= offset; offset 9106 third_party/libxml/src/xpath.c int offset; offset 9118 third_party/libxml/src/xpath.c offset = (int)(point - str->stringval); offset 9119 third_party/libxml/src/xpath.c xmlBufferAdd(target, str->stringval, offset); offset 9149 third_party/libxml/src/xpath.c int offset; offset 9161 third_party/libxml/src/xpath.c offset = (int)(point - str->stringval) + xmlStrlen(find->stringval); offset 9162 third_party/libxml/src/xpath.c xmlBufferAdd(target, &str->stringval[offset], offset 9163 third_party/libxml/src/xpath.c xmlStrlen(str->stringval) - offset); offset 9264 third_party/libxml/src/xpath.c int offset, max; offset 9282 third_party/libxml/src/xpath.c offset = xmlUTF8Strloc(from->stringval, cptr); offset 9283 third_party/libxml/src/xpath.c if (offset >= 0) { offset 9284 third_party/libxml/src/xpath.c if (offset < max) { offset 9285 third_party/libxml/src/xpath.c point = xmlUTF8Strpos(to->stringval, offset); offset 182 third_party/lzma_sdk/7z.h size_t *offset, /* offset of stream for required file in *outBuffer */ offset 354 third_party/lzma_sdk/7zDec.c UInt64 offset; offset 385 third_party/lzma_sdk/7zDec.c offset = GetSum(packSizes, si); offset 387 third_party/lzma_sdk/7zDec.c RINOK(LookInStream_SeekTo(inStream, startPos + offset)); offset 414 third_party/lzma_sdk/7zDec.c UInt64 offset = GetSum(packSizes, 1); offset 419 third_party/lzma_sdk/7zDec.c RINOK(LookInStream_SeekTo(inStream, startPos + offset)); offset 1329 third_party/lzma_sdk/7zIn.c size_t *offset, offset 1336 third_party/lzma_sdk/7zIn.c *offset = 0; offset 1392 third_party/lzma_sdk/7zIn.c *offset = 0; offset 1394 third_party/lzma_sdk/7zIn.c *offset += (UInt32)p->db.Files[i].Size; offset 1396 third_party/lzma_sdk/7zIn.c if (*offset + *outSizeProcessed > *outBufferSize) offset 1398 third_party/lzma_sdk/7zIn.c if (fileItem->CrcDefined && CrcCalc(*outBuffer + *offset, *outSizeProcessed) != fileItem->Crc) offset 34 third_party/lzma_sdk/7zStream.c SRes LookInStream_SeekTo(ILookInStream *stream, UInt64 offset) offset 36 third_party/lzma_sdk/7zStream.c Int64 t = offset; offset 106 third_party/lzma_sdk/7zStream.c static SRes LookToRead_Skip(void *pp, size_t offset) offset 109 third_party/lzma_sdk/7zStream.c p->pos += offset; offset 463 third_party/lzma_sdk/LzFind.c #define MOVE_POS_RET MOVE_POS return offset; offset 477 third_party/lzma_sdk/LzFind.c #define GET_MATCHES_FOOTER(offset, maxLen) \ offset 478 third_party/lzma_sdk/LzFind.c offset = (UInt32)(GetMatchesSpec1(lenLimit, curMatch, MF_PARAMS(p), \ offset 479 third_party/lzma_sdk/LzFind.c distances + offset, maxLen) - distances); MOVE_POS_RET; offset 486 third_party/lzma_sdk/LzFind.c UInt32 offset; offset 491 third_party/lzma_sdk/LzFind.c offset = 0; offset 492 third_party/lzma_sdk/LzFind.c GET_MATCHES_FOOTER(offset, 1) offset 497 third_party/lzma_sdk/LzFind.c UInt32 offset; offset 502 third_party/lzma_sdk/LzFind.c offset = 0; offset 503 third_party/lzma_sdk/LzFind.c GET_MATCHES_FOOTER(offset, 2) offset 508 third_party/lzma_sdk/LzFind.c UInt32 hash2Value, delta2, maxLen, offset; offset 521 third_party/lzma_sdk/LzFind.c offset = 0; offset 529 third_party/lzma_sdk/LzFind.c offset = 2; offset 536 third_party/lzma_sdk/LzFind.c GET_MATCHES_FOOTER(offset, maxLen) offset 541 third_party/lzma_sdk/LzFind.c UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; offset 555 third_party/lzma_sdk/LzFind.c offset = 0; offset 560 third_party/lzma_sdk/LzFind.c offset = 2; offset 565 third_party/lzma_sdk/LzFind.c distances[offset + 1] = delta3 - 1; offset 566 third_party/lzma_sdk/LzFind.c offset += 2; offset 569 third_party/lzma_sdk/LzFind.c if (offset != 0) offset 574 third_party/lzma_sdk/LzFind.c distances[offset - 2] = maxLen; offset 583 third_party/lzma_sdk/LzFind.c GET_MATCHES_FOOTER(offset, maxLen) offset 588 third_party/lzma_sdk/LzFind.c UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; offset 602 third_party/lzma_sdk/LzFind.c offset = 0; offset 607 third_party/lzma_sdk/LzFind.c offset = 2; offset 612 third_party/lzma_sdk/LzFind.c distances[offset + 1] = delta3 - 1; offset 613 third_party/lzma_sdk/LzFind.c offset += 2; offset 616 third_party/lzma_sdk/LzFind.c if (offset != 0) offset 621 third_party/lzma_sdk/LzFind.c distances[offset - 2] = maxLen; offset 630 third_party/lzma_sdk/LzFind.c offset = (UInt32)(Hc_GetMatchesSpec(lenLimit, curMatch, MF_PARAMS(p), offset 631 third_party/lzma_sdk/LzFind.c distances + offset, maxLen) - (distances)); offset 637 third_party/lzma_sdk/LzFind.c UInt32 offset; offset 642 third_party/lzma_sdk/LzFind.c offset = (UInt32)(Hc_GetMatchesSpec(lenLimit, curMatch, MF_PARAMS(p), offset 262 third_party/lzma_sdk/LzmaDec.c unsigned limit, offset; offset 268 third_party/lzma_sdk/LzmaDec.c offset = 0; offset 279 third_party/lzma_sdk/LzmaDec.c offset = kLenNumLowSymbols; offset 286 third_party/lzma_sdk/LzmaDec.c offset = kLenNumLowSymbols + kLenNumMidSymbols; offset 291 third_party/lzma_sdk/LzmaDec.c len += offset; offset 598 third_party/lzma_sdk/LzmaDec.c unsigned limit, offset; offset 604 third_party/lzma_sdk/LzmaDec.c offset = 0; offset 615 third_party/lzma_sdk/LzmaDec.c offset = kLenNumLowSymbols; offset 622 third_party/lzma_sdk/LzmaDec.c offset = kLenNumLowSymbols + kLenNumMidSymbols; offset 627 third_party/lzma_sdk/LzmaDec.c len += offset; offset 1290 third_party/lzma_sdk/LzmaEnc.c UInt32 offset = cur + 1 + lenTest2; offset 1291 third_party/lzma_sdk/LzmaEnc.c while (lenEnd < offset) offset 1294 third_party/lzma_sdk/LzmaEnc.c opt = &p->opt[offset]; offset 1369 third_party/lzma_sdk/LzmaEnc.c UInt32 offset = cur + lenTest + 1 + lenTest2; offset 1370 third_party/lzma_sdk/LzmaEnc.c while (lenEnd < offset) offset 1373 third_party/lzma_sdk/LzmaEnc.c opt = &p->opt[offset]; offset 1456 third_party/lzma_sdk/LzmaEnc.c UInt32 offset = cur + lenTest + 1 + lenTest2; offset 1459 third_party/lzma_sdk/LzmaEnc.c while (lenEnd < offset) offset 1462 third_party/lzma_sdk/LzmaEnc.c opt = &p->opt[offset]; offset 175 third_party/lzma_sdk/Types.h SRes (*Skip)(void *p, size_t offset); offset 184 third_party/lzma_sdk/Types.h SRes LookInStream_SeekTo(ILookInStream *stream, UInt64 offset); offset 425 third_party/mach_override/libudis86/decode.c op->offset = 8; offset 429 third_party/mach_override/libudis86/decode.c op->offset = 16; offset 433 third_party/mach_override/libudis86/decode.c op->offset = 32; offset 437 third_party/mach_override/libudis86/decode.c op->offset = 64; offset 476 third_party/mach_override/libudis86/decode.c size_t offset = 0; offset 501 third_party/mach_override/libudis86/decode.c offset = 8; offset 503 third_party/mach_override/libudis86/decode.c offset = 32; offset 506 third_party/mach_override/libudis86/decode.c offset = 32; offset 508 third_party/mach_override/libudis86/decode.c offset = 0; offset 531 third_party/mach_override/libudis86/decode.c offset = 8; offset 533 third_party/mach_override/libudis86/decode.c offset = 32; offset 540 third_party/mach_override/libudis86/decode.c offset = 8; offset 542 third_party/mach_override/libudis86/decode.c offset = 32; offset 545 third_party/mach_override/libudis86/decode.c offset = 32; offset 547 third_party/mach_override/libudis86/decode.c offset = 0; offset 569 third_party/mach_override/libudis86/decode.c offset = 8; offset 571 third_party/mach_override/libudis86/decode.c offset = 32; offset 583 third_party/mach_override/libudis86/decode.c offset = 16; offset 586 third_party/mach_override/libudis86/decode.c offset = 8; offset 588 third_party/mach_override/libudis86/decode.c offset = 16; offset 592 third_party/mach_override/libudis86/decode.c if (offset) { offset 593 third_party/mach_override/libudis86/decode.c decode_mem_disp(u, offset, op); offset 96 third_party/mach_override/libudis86/extern.h int64_t *offset)); offset 70 third_party/mach_override/libudis86/syn-att.c if (op->offset != 0) { offset 82 third_party/mach_override/libudis86/syn-intel.c if (op->offset != 0) { offset 130 third_party/mach_override/libudis86/syn.c int64_t offset = 0; offset 131 third_party/mach_override/libudis86/syn.c name = u->sym_resolver(u, addr, &offset); offset 133 third_party/mach_override/libudis86/syn.c if (offset) { offset 134 third_party/mach_override/libudis86/syn.c ud_asmprintf(u, "%s%+" FMT64 "d", name, offset); offset 175 third_party/mach_override/libudis86/syn.c UD_ASSERT(op->offset != 0); offset 178 third_party/mach_override/libudis86/syn.c UD_ASSERT(op->scale == UD_NONE && op->offset != 8); offset 180 third_party/mach_override/libudis86/syn.c switch (op->offset) { offset 189 third_party/mach_override/libudis86/syn.c UD_ASSERT(op->offset != 64); offset 190 third_party/mach_override/libudis86/syn.c switch (op->offset) { offset 154 third_party/mach_override/libudis86/types.h uint8_t offset; offset 200 third_party/mach_override/libudis86/types.h const char* (*sym_resolver)(struct ud*, uint64_t addr, int64_t *offset); offset 297 third_party/mach_override/libudis86/udis86.c int64_t *offset)) offset 662 third_party/mach_override/mach_override.c uint32_t offset = (uintptr_t)originalFunction - (uintptr_t)escapeIsland; offset 664 third_party/mach_override/mach_override.c *jumpOffsetPtr += offset; offset 232 third_party/npapi/bindings/npapi.h int32_t offset; /* negative offset means from the end */ offset 838 third_party/npapi/bindings/npapi.h int32_t NP_LOADDS NPP_Write(NPP instance, NPStream* stream, int32_t offset, offset 57 third_party/npapi/bindings/npfunctions.h typedef int32_t (* NP_LOADDS NPP_WriteProcPtr)(NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer); offset 317 third_party/npapi/npspy/common/epmanager.cpp int32 NPPEntryPointManager::callNPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer) offset 323 third_party/npapi/npspy/common/epmanager.cpp return CallNPP_WriteProc(nppfuncs->write, instance, stream, offset, len, buffer); offset 273 third_party/npapi/npspy/common/npp_gate.cpp int32 NPP_Write (NPP instance, NPStream *stream, int32 offset, int32 len, void *buffer) offset 282 third_party/npapi/npspy/common/npp_gate.cpp logger->logCall(action_npp_write, (DWORD)instance, (DWORD)stream, (DWORD)offset, (DWORD)len, (DWORD)buffer); offset 284 third_party/npapi/npspy/common/npp_gate.cpp int32 rv = epManager->callNPP_Write(instance, stream, offset, len, buffer); offset 527 third_party/npapi/npspy/extern/nspr/md/_beos.h NSPR_API(PRInt32) _MD_lseek(PRFileDesc *fd, PRInt32 offset, int whence); offset 528 third_party/npapi/npspy/extern/nspr/md/_beos.h NSPR_API(PRInt64) _MD_lseek64(PRFileDesc *fd, PRInt64 offset, int whence); offset 592 third_party/npapi/npspy/extern/nspr/md/_beos.h NSPR_API(void *) _MD_mem_map(PRFileMap *fmap, PRInt64 offset, PRUint32 len); offset 649 third_party/npapi/npspy/extern/nspr/md/_macos.h extern void * _MD_MemMap(struct PRFileMap *fmap, PRInt64 offset, offset 516 third_party/npapi/npspy/extern/nspr/md/_os2.h extern void * _MD_MemMap(struct PRFileMap *fmap, PRInt64 offset, offset 491 third_party/npapi/npspy/extern/nspr/md/_unixos.h extern void * _MD_MemMap(struct PRFileMap *fmap, PRInt64 offset, offset 616 third_party/npapi/npspy/extern/nspr/md/_unixos.h PRIntn fildes, _MDOff64_t offset); offset 514 third_party/npapi/npspy/extern/nspr/md/_win16.h extern void * _MD_MemMap(struct PRFileMap *fmap, PRInt64 offset, offset 512 third_party/npapi/npspy/extern/nspr/md/_win95.h extern void * _MD_MemMap(struct PRFileMap *fmap, PRInt64 offset, offset 573 third_party/npapi/npspy/extern/nspr/md/_winnt.h extern void * _MD_MemMap(struct PRFileMap *fmap, PRInt64 offset, offset 334 third_party/npapi/npspy/extern/nspr/prio.h typedef PROffset32 (PR_CALLBACK *PRSeekFN)(PRFileDesc *fd, PROffset32 offset, PRSeekWhence how); offset 335 third_party/npapi/npspy/extern/nspr/prio.h typedef PROffset64 (PR_CALLBACK *PRSeek64FN)(PRFileDesc *fd, PROffset64 offset, PRSeekWhence how); offset 964 third_party/npapi/npspy/extern/nspr/prio.h NSPR_API(PROffset32) PR_Seek(PRFileDesc *fd, PROffset32 offset, PRSeekWhence whence); offset 965 third_party/npapi/npspy/extern/nspr/prio.h NSPR_API(PROffset64) PR_Seek64(PRFileDesc *fd, PROffset64 offset, PRSeekWhence whence); offset 1871 third_party/npapi/npspy/extern/nspr/prio.h PROffset64 offset, /* must be aligned and sized according to the offset 273 third_party/npapi/npspy/extern/plugin/npapi.h int32 offset; /* negative offset means from the end */ offset 695 third_party/npapi/npspy/extern/plugin/npapi.h int32 NP_LOADDS NPP_Write(NPP instance, NPStream* stream, int32 offset, offset 131 third_party/npapi/npspy/extern/plugin/npupp.h typedef int32 (* NP_LOADDS NPP_WriteUPP)(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer); offset 96 third_party/npapi/npspy/include/epmanager.h int32 callNPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer); offset 246 third_party/power_gadget/PowerGadgetLib.cpp bool CIntelPowerGadgetLib::GetTimeInterval(double *offset) offset 248 third_party/power_gadget/PowerGadgetLib.cpp return pGetTimeInterval(offset); offset 47 third_party/power_gadget/PowerGadgetLib.h typedef bool (*IPGGetTimeInterval) (double *offset); offset 71 third_party/power_gadget/PowerGadgetLib.h bool GetTimeInterval(double *offset); offset 63 third_party/protobuf/java/src/main/java/com/google/protobuf/BoundedByteString.java BoundedByteString(byte[] bytes, int offset, int length) { offset 65 third_party/protobuf/java/src/main/java/com/google/protobuf/BoundedByteString.java if (offset < 0) { offset 66 third_party/protobuf/java/src/main/java/com/google/protobuf/BoundedByteString.java throw new IllegalArgumentException("Offset too small: " + offset); offset 69 third_party/protobuf/java/src/main/java/com/google/protobuf/BoundedByteString.java throw new IllegalArgumentException("Length too small: " + offset); offset 71 third_party/protobuf/java/src/main/java/com/google/protobuf/BoundedByteString.java if ((long) offset + length > bytes.length) { offset 73 third_party/protobuf/java/src/main/java/com/google/protobuf/BoundedByteString.java "Offset+Length too large: " + offset + "+" + length); offset 76 third_party/protobuf/java/src/main/java/com/google/protobuf/BoundedByteString.java this.bytesOffset = offset; offset 191 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString copyFrom(byte[] bytes, int offset, int size) { offset 193 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java System.arraycopy(bytes, offset, copy, 0, size); offset 451 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public void copyTo(byte[] target, int offset) { offset 452 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java copyTo(target, 0, offset, size()); offset 624 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java protected abstract int partialIsValidUtf8(int state, int offset, int length); offset 749 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public synchronized void write(byte[] b, int offset, int length) { offset 752 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java System.arraycopy(b, offset, buffer, bufferPos, length); offset 757 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java System.arraycopy(b, offset, buffer, bufferPos, copySize); offset 758 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java offset += copySize; offset 763 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java System.arraycopy(b, offset, buffer, 0 /* count */, length); offset 963 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java protected abstract int partialHash(int h, int offset, int length); offset 433 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java int offset = 7; offset 434 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java for (; offset < 32; offset += 7) { offset 439 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java result |= (b & 0x7f) << offset; offset 445 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java for (; offset < 64; offset += 7) { offset 76 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java private CodedOutputStream(final byte[] buffer, final int offset, offset 80 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java position = offset; offset 81 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java limit = offset + length; offset 127 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java final int offset, offset 129 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java return new CodedOutputStream(flatArray, offset, length); offset 914 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java public void writeRawBytes(final byte[] value, int offset, int length) offset 918 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java System.arraycopy(value, offset, buffer, position, length); offset 924 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java System.arraycopy(value, offset, buffer, position, bytesWritten); offset 925 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java offset += bytesWritten; offset 935 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java System.arraycopy(value, offset, buffer, 0, length); offset 939 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java output.write(value, offset, length); offset 945 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java public void writeRawBytes(final ByteString value, int offset, int length) offset 949 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java value.copyTo(buffer, offset, position, length); offset 955 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java value.copyTo(buffer, offset, position, bytesWritten); offset 956 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java offset += bytesWritten; offset 966 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java value.copyTo(buffer, offset, 0, length); offset 974 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java if (offset != inputStreamFrom.skip(offset)) { offset 156 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java int offset = getOffsetIntoBytes(); offset 157 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java return Utf8.isValidUtf8(bytes, offset, offset + size()); offset 161 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java protected int partialIsValidUtf8(int state, int offset, int length) { offset 162 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java int index = getOffsetIntoBytes() + offset; offset 205 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java boolean equalsRange(LiteralByteString other, int offset, int length) { offset 210 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java if (offset + length > other.size()) { offset 212 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java "Ran off end of other: " + offset + ", " + length + ", " + offset 220 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java other.getOffsetIntoBytes() + offset; offset 263 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java protected int partialHash(int h, int offset, int length) { offset 265 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java for (int i = getOffsetIntoBytes() + offset, limit = i + length; i < limit; offset 421 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java protected int partialIsValidUtf8(int state, int offset, int length) { offset 422 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java int toIndex = offset + length; offset 424 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java return left.partialIsValidUtf8(state, offset, length); offset 425 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java } else if (offset >= leftLength) { offset 426 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java return right.partialIsValidUtf8(state, offset - leftLength, length); offset 428 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java int leftLength = this.leftLength - offset; offset 429 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java int leftPartial = left.partialIsValidUtf8(state, offset, leftLength); offset 552 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java protected int partialHash(int h, int offset, int length) { offset 553 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java int toIndex = offset + length; offset 555 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java return left.partialHash(h, offset, length); offset 556 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java } else if (offset >= leftLength) { offset 557 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java return right.partialHash(h, offset - leftLength, length); offset 559 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java int leftLength = this.leftLength - offset; offset 560 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java int leftPartial = left.partialHash(h, offset, leftLength); offset 824 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java public int read(byte b[], int offset, int length) { offset 827 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java } else if (offset < 0 || length < 0 || length > b.length - offset) { offset 830 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java return readSkipInternal(b, offset, length); offset 853 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private int readSkipInternal(byte b[], int offset, int length) { offset 868 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java currentPiece.copyTo(b, currentPieceIndex, offset, count); offset 869 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java offset += count; offset 337 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java @Override public int read(byte[] buf, int offset, int size) { offset 342 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java System.arraycopy(data, pos, buf, offset, count); offset 71 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java final int offset = 20; offset 77 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java generatePaddingArray(data, offset, padding), offset 78 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java offset, length, registry)); offset 89 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java final int offset = 20; offset 95 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java generatePaddingArray(data, offset, padding), offset 96 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java offset, length)); offset 113 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java private byte[] generatePaddingArray(byte[] data, int offset, int padding) { offset 114 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java byte[] result = new byte[offset + data.length + padding]; offset 115 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java System.arraycopy(data, 0, result, offset, data.length); offset 1026 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc int offset = file_descriptor_serialized_.find(sp); offset 1027 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc GOOGLE_CHECK_GE(offset, 0); offset 1031 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc "serialized_start", SimpleItoa(offset), offset 1032 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc "serialized_end", SimpleItoa(offset + sp.size())); offset 144 third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc info.offset = raw_output_->ByteCount(); offset 180 third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc uint32 offset = files_[i].offset; offset 198 third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc output.WriteLittleEndian32(offset); // local header offset offset 82 third_party/protobuf/src/google/protobuf/compiler/zip_writer.h uint32 offset; offset 150 third_party/protobuf/src/google/protobuf/dynamic_message.cc inline int AlignTo(int offset, int alignment) { offset 151 third_party/protobuf/src/google/protobuf/dynamic_message.cc return DivideRoundingUp(offset, alignment) * alignment; offset 156 third_party/protobuf/src/google/protobuf/dynamic_message.cc inline int AlignOffset(int offset) { offset 157 third_party/protobuf/src/google/protobuf/dynamic_message.cc return AlignTo(offset, kSafeAlignment); offset 221 third_party/protobuf/src/google/protobuf/dynamic_message.cc inline void* OffsetToPointer(int offset) { offset 222 third_party/protobuf/src/google/protobuf/dynamic_message.cc return reinterpret_cast<uint8*>(this) + offset; offset 224 third_party/protobuf/src/google/protobuf/dynamic_message.cc inline const void* OffsetToPointer(int offset) const { offset 225 third_party/protobuf/src/google/protobuf/dynamic_message.cc return reinterpret_cast<const uint8*>(this) + offset; offset 59 third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc #define lseek(fd, offset, origin) ((off_t)-1) offset 86 third_party/qcms/src/iccread.c static uint32_t read_u32(struct mem_source *mem, size_t offset) offset 91 third_party/qcms/src/iccread.c if (offset > mem->size - 4) { offset 96 third_party/qcms/src/iccread.c memcpy(&k, mem->buf + offset, sizeof(k)); offset 101 third_party/qcms/src/iccread.c static uint16_t read_u16(struct mem_source *mem, size_t offset) offset 103 third_party/qcms/src/iccread.c if (offset > mem->size - 2) { offset 108 third_party/qcms/src/iccread.c memcpy(&k, mem->buf + offset, sizeof(k)); offset 113 third_party/qcms/src/iccread.c static uint8_t read_u8(struct mem_source *mem, size_t offset) offset 115 third_party/qcms/src/iccread.c if (offset > mem->size - 1) { offset 119 third_party/qcms/src/iccread.c return *(uint8_t*)(mem->buf + offset); offset 123 third_party/qcms/src/iccread.c static s15Fixed16Number read_s15Fixed16Number(struct mem_source *mem, size_t offset) offset 125 third_party/qcms/src/iccread.c return read_u32(mem, offset); offset 128 third_party/qcms/src/iccread.c static uInt8Number read_uInt8Number(struct mem_source *mem, size_t offset) offset 130 third_party/qcms/src/iccread.c return read_u8(mem, offset); offset 133 third_party/qcms/src/iccread.c static uInt16Number read_uInt16Number(struct mem_source *mem, size_t offset) offset 135 third_party/qcms/src/iccread.c return read_u16(mem, offset); offset 223 third_party/qcms/src/iccread.c uint32_t offset; offset 247 third_party/qcms/src/iccread.c index.tags[i].offset = read_u32(mem, 128 + 4 + 4*i*3 + 4); offset 371 third_party/qcms/src/iccread.c uint32_t offset = tag->offset; offset 372 third_party/qcms/src/iccread.c uint32_t type = read_u32(src, offset); offset 380 third_party/qcms/src/iccread.c matrix.m[i/3][i%3] = s15Fixed16Number_to_float(read_s15Fixed16Number(src, offset+8+i*4)); offset 395 third_party/qcms/src/iccread.c uint32_t offset = tag->offset; offset 397 third_party/qcms/src/iccread.c uint32_t type = read_u32(src, offset); offset 400 third_party/qcms/src/iccread.c num.X = read_s15Fixed16Number(src, offset+8); offset 401 third_party/qcms/src/iccread.c num.Y = read_s15Fixed16Number(src, offset+12); offset 402 third_party/qcms/src/iccread.c num.Z = read_s15Fixed16Number(src, offset+16); offset 412 third_party/qcms/src/iccread.c static struct curveType *read_curveType(struct mem_source *src, uint32_t offset, uint32_t *len) offset 416 third_party/qcms/src/iccread.c uint32_t type = read_u32(src, offset); offset 426 third_party/qcms/src/iccread.c count = read_u32(src, offset+8); offset 441 third_party/qcms/src/iccread.c curve->data[i] = read_u16(src, offset + 12 + i*2); offset 445 third_party/qcms/src/iccread.c count = read_u16(src, offset+8); offset 460 third_party/qcms/src/iccread.c curve->parameter[i] = s15Fixed16Number_to_float(read_s15Fixed16Number(src, offset + 12 + i*4)); offset 481 third_party/qcms/src/iccread.c return read_curveType(src, tag->offset, &len); offset 529 third_party/qcms/src/iccread.c uint32_t offset = tag->offset; offset 535 third_party/qcms/src/iccread.c uint32_t type = read_u32(src, offset); offset 544 third_party/qcms/src/iccread.c num_in_channels = read_u8(src, offset + 8); offset 545 third_party/qcms/src/iccread.c num_out_channels = read_u8(src, offset + 8); offset 558 third_party/qcms/src/iccread.c a_curve_offset = read_u32(src, offset + 28); offset 559 third_party/qcms/src/iccread.c clut_offset = read_u32(src, offset + 24); offset 560 third_party/qcms/src/iccread.c m_curve_offset = read_u32(src, offset + 20); offset 561 third_party/qcms/src/iccread.c matrix_offset = read_u32(src, offset + 16); offset 562 third_party/qcms/src/iccread.c b_curve_offset = read_u32(src, offset + 12); offset 567 third_party/qcms/src/iccread.c a_curve_offset += offset; offset 569 third_party/qcms/src/iccread.c clut_offset += offset; offset 571 third_party/qcms/src/iccread.c m_curve_offset += offset; offset 573 third_party/qcms/src/iccread.c matrix_offset += offset; offset 575 third_party/qcms/src/iccread.c b_curve_offset += offset; offset 664 third_party/qcms/src/iccread.c uint32_t offset = tag->offset; offset 665 third_party/qcms/src/iccread.c uint32_t type = read_u32(src, offset); offset 682 third_party/qcms/src/iccread.c num_input_table_entries = read_u16(src, offset + 48); offset 683 third_party/qcms/src/iccread.c num_output_table_entries = read_u16(src, offset + 50); offset 691 third_party/qcms/src/iccread.c in_chan = read_u8(src, offset + 8); offset 692 third_party/qcms/src/iccread.c out_chan = read_u8(src, offset + 9); offset 693 third_party/qcms/src/iccread.c grid_points = read_u8(src, offset + 10); offset 716 third_party/qcms/src/iccread.c lut->num_input_channels = read_u8(src, offset + 8); offset 717 third_party/qcms/src/iccread.c lut->num_output_channels = read_u8(src, offset + 9); offset 718 third_party/qcms/src/iccread.c lut->num_clut_grid_points = read_u8(src, offset + 10); offset 719 third_party/qcms/src/iccread.c lut->e00 = read_s15Fixed16Number(src, offset+12); offset 720 third_party/qcms/src/iccread.c lut->e01 = read_s15Fixed16Number(src, offset+16); offset 721 third_party/qcms/src/iccread.c lut->e02 = read_s15Fixed16Number(src, offset+20); offset 722 third_party/qcms/src/iccread.c lut->e10 = read_s15Fixed16Number(src, offset+24); offset 723 third_party/qcms/src/iccread.c lut->e11 = read_s15Fixed16Number(src, offset+28); offset 724 third_party/qcms/src/iccread.c lut->e12 = read_s15Fixed16Number(src, offset+32); offset 725 third_party/qcms/src/iccread.c lut->e20 = read_s15Fixed16Number(src, offset+36); offset 726 third_party/qcms/src/iccread.c lut->e21 = read_s15Fixed16Number(src, offset+40); offset 727 third_party/qcms/src/iccread.c lut->e22 = read_s15Fixed16Number(src, offset+44); offset 731 third_party/qcms/src/iccread.c lut->input_table[i] = uInt8Number_to_float(read_uInt8Number(src, offset + 52 + i * entry_size)); offset 733 third_party/qcms/src/iccread.c lut->input_table[i] = uInt16Number_to_float(read_uInt16Number(src, offset + 52 + i * entry_size)); offset 737 third_party/qcms/src/iccread.c clut_offset = offset + 52 + lut->num_input_table_entries * in_chan * entry_size; offset 1050 third_party/qcms/src/iccread.c if (read_u32(src, find_tag(index, TAG_A2B0)->offset) == LUT8_TYPE || offset 1051 third_party/qcms/src/iccread.c read_u32(src, find_tag(index, TAG_A2B0)->offset) == LUT16_TYPE) { offset 1053 third_party/qcms/src/iccread.c } else if (read_u32(src, find_tag(index, TAG_A2B0)->offset) == LUT_MAB_TYPE) { offset 1058 third_party/qcms/src/iccread.c if (read_u32(src, find_tag(index, TAG_B2A0)->offset) == LUT8_TYPE || offset 1059 third_party/qcms/src/iccread.c read_u32(src, find_tag(index, TAG_B2A0)->offset) == LUT16_TYPE) { offset 1061 third_party/qcms/src/iccread.c } else if (read_u32(src, find_tag(index, TAG_B2A0)->offset) == LUT_MBA_TYPE) { offset 46 third_party/re2/re2/stringpiece.h StringPiece(const char* offset, int len) : ptr_(offset), length_(len) { } offset 1229 third_party/sqlite/amalgamation/sqlite3.c int (*xShmLock)(sqlite3_file*, int offset, int n, int flags); offset 7793 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3BtreeKey(BtCursor*, u32 offset, u32 amt, void*); offset 7797 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3BtreeData(BtCursor*, u32 offset, u32 amt, void*); offset 7804 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3BtreePutData(BtCursor*, u32 offset, u32 amt, void*); offset 8876 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3OsRead(sqlite3_file*, void*, int amt, i64 offset); offset 8877 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3OsWrite(sqlite3_file*, const void*, int amt, i64 offset); offset 14007 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3OsRead(sqlite3_file *id, void *pBuf, int amt, i64 offset){ offset 14009 third_party/sqlite/amalgamation/sqlite3.c return id->pMethods->xRead(id, pBuf, amt, offset); offset 14011 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3OsWrite(sqlite3_file *id, const void *pBuf, int amt, i64 offset){ offset 14013 third_party/sqlite/amalgamation/sqlite3.c return id->pMethods->xWrite(id, pBuf, amt, offset); offset 14047 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3OsShmLock(sqlite3_file *id, int offset, int n, int flags){ offset 14048 third_party/sqlite/amalgamation/sqlite3.c return id->pMethods->xShmLock(id, offset, n, flags); offset 22138 third_party/sqlite/amalgamation/sqlite3.c sqlite3_int64 offset /* Begin reading at this offset */ offset 22146 third_party/sqlite/amalgamation/sqlite3.c if( DosSetFilePtr(pFile->h, offset, FILE_BEGIN, &fileLocation) != NO_ERROR ){ offset 22169 third_party/sqlite/amalgamation/sqlite3.c sqlite3_int64 offset /* Offset into the file to begin writing at */ offset 22179 third_party/sqlite/amalgamation/sqlite3.c if( DosSetFilePtr(pFile->h, offset, FILE_BEGIN, &fileLocation) != NO_ERROR ){ offset 26578 third_party/sqlite/amalgamation/sqlite3.c unsigned long long offset; /* offset to first byte to lock */ offset 26597 third_party/sqlite/amalgamation/sqlite3.c unsigned long long offset, /* First byte to be locked */ offset 26606 third_party/sqlite/amalgamation/sqlite3.c pb.offset = offset; offset 26612 third_party/sqlite/amalgamation/sqlite3.c offset, length)); offset 27073 third_party/sqlite/amalgamation/sqlite3.c static int seekAndRead(unixFile *id, sqlite3_int64 offset, void *pBuf, int cnt){ offset 27080 third_party/sqlite/amalgamation/sqlite3.c do{ got = osPread(id->h, pBuf, cnt, offset); }while( got<0 && errno==EINTR ); offset 27083 third_party/sqlite/amalgamation/sqlite3.c do{ got = osPread64(id->h, pBuf, cnt, offset); }while( got<0 && errno==EINTR); offset 27086 third_party/sqlite/amalgamation/sqlite3.c newOffset = lseek(id->h, offset, SEEK_SET); offset 27088 third_party/sqlite/amalgamation/sqlite3.c if( newOffset!=offset ){ offset 27102 third_party/sqlite/amalgamation/sqlite3.c OSTRACE(("READ %-3d %5d %7lld %llu\n", id->h, got, offset, TIMER_ELAPSED)); offset 27115 third_party/sqlite/amalgamation/sqlite3.c sqlite3_int64 offset offset 27125 third_party/sqlite/amalgamation/sqlite3.c || offset>=PENDING_BYTE+512 offset 27126 third_party/sqlite/amalgamation/sqlite3.c || offset+amt<=PENDING_BYTE offset 27130 third_party/sqlite/amalgamation/sqlite3.c got = seekAndRead(pFile, offset, pBuf, amt); offset 27151 third_party/sqlite/amalgamation/sqlite3.c static int seekAndWrite(unixFile *id, i64 offset, const void *pBuf, int cnt){ offset 27158 third_party/sqlite/amalgamation/sqlite3.c do{ got = osPwrite(id->h, pBuf, cnt, offset); }while( got<0 && errno==EINTR ); offset 27160 third_party/sqlite/amalgamation/sqlite3.c do{ got = osPwrite64(id->h, pBuf, cnt, offset);}while( got<0 && errno==EINTR); offset 27162 third_party/sqlite/amalgamation/sqlite3.c newOffset = lseek(id->h, offset, SEEK_SET); offset 27164 third_party/sqlite/amalgamation/sqlite3.c if( newOffset!=offset ){ offset 27179 third_party/sqlite/amalgamation/sqlite3.c OSTRACE(("WRITE %-3d %5d %7lld %llu\n", id->h, got, offset, TIMER_ELAPSED)); offset 27192 third_party/sqlite/amalgamation/sqlite3.c sqlite3_int64 offset offset 27203 third_party/sqlite/amalgamation/sqlite3.c || offset>=PENDING_BYTE+512 offset 27204 third_party/sqlite/amalgamation/sqlite3.c || offset+amt<=PENDING_BYTE offset 27217 third_party/sqlite/amalgamation/sqlite3.c if( offset<=24 && offset+amt>=27 ){ offset 27223 third_party/sqlite/amalgamation/sqlite3.c if( rc!=4 || memcmp(oldCntr, &((char*)pBuf)[24-offset], 4)!=0 ){ offset 27230 third_party/sqlite/amalgamation/sqlite3.c while( amt>0 && (wrote = seekAndWrite(pFile, offset, pBuf, amt))>0 ){ offset 27232 third_party/sqlite/amalgamation/sqlite3.c offset += wrote; offset 31830 third_party/sqlite/amalgamation/sqlite3.c sqlite3_int64 offset /* Begin reading at this offset */ offset 31839 third_party/sqlite/amalgamation/sqlite3.c if( seekWinFile(pFile, offset) ){ offset 31863 third_party/sqlite/amalgamation/sqlite3.c sqlite3_int64 offset /* Offset into the file to begin writing at */ offset 31875 third_party/sqlite/amalgamation/sqlite3.c rc = seekWinFile(pFile, offset); offset 37449 third_party/sqlite/amalgamation/sqlite3.c static int read32bits(sqlite3_file *fd, i64 offset, u32 *pRes){ offset 37451 third_party/sqlite/amalgamation/sqlite3.c int rc = sqlite3OsRead(fd, ac, sizeof(ac), offset); offset 37468 third_party/sqlite/amalgamation/sqlite3.c static int write32bits(sqlite3_file *fd, i64 offset, u32 val){ offset 37471 third_party/sqlite/amalgamation/sqlite3.c return sqlite3OsWrite(fd, ac, 4, offset); offset 37687 third_party/sqlite/amalgamation/sqlite3.c i64 offset = 0; offset 37690 third_party/sqlite/amalgamation/sqlite3.c offset = ((c-1)/JOURNAL_HDR_SZ(pPager) + 1) * JOURNAL_HDR_SZ(pPager); offset 37692 third_party/sqlite/amalgamation/sqlite3.c assert( offset%JOURNAL_HDR_SZ(pPager)==0 ); offset 37693 third_party/sqlite/amalgamation/sqlite3.c assert( offset>=c ); offset 37694 third_party/sqlite/amalgamation/sqlite3.c assert( (offset-c)<JOURNAL_HDR_SZ(pPager) ); offset 37695 third_party/sqlite/amalgamation/sqlite3.c return offset; offset 39700 third_party/sqlite/amalgamation/sqlite3.c i64 offset = pSavepoint->iSubRec*(4+pPager->pageSize); offset 39706 third_party/sqlite/amalgamation/sqlite3.c assert( offset==ii*(4+pPager->pageSize) ); offset 39707 third_party/sqlite/amalgamation/sqlite3.c rc = pager_playback_one_page(pPager, &offset, pDone, 0, 1); offset 40453 third_party/sqlite/amalgamation/sqlite3.c i64 offset = (pgno-1)*(i64)pPager->pageSize; /* Offset to write */ offset 40463 third_party/sqlite/amalgamation/sqlite3.c rc = sqlite3OsWrite(pPager->fd, pData, pPager->pageSize, offset); offset 40546 third_party/sqlite/amalgamation/sqlite3.c i64 offset = pPager->nSubRec*(4+pPager->pageSize); offset 40551 third_party/sqlite/amalgamation/sqlite3.c rc = write32bits(pPager->sjfd, offset, pPg->pgno); offset 40553 third_party/sqlite/amalgamation/sqlite3.c rc = sqlite3OsWrite(pPager->sjfd, pData2, pPager->pageSize, offset+4); offset 47885 third_party/sqlite/amalgamation/sqlite3.c int offset; /* Offset in pointer map page */ offset 47905 third_party/sqlite/amalgamation/sqlite3.c offset = PTRMAP_PTROFFSET(iPtrmap, key); offset 47906 third_party/sqlite/amalgamation/sqlite3.c if( offset<0 ){ offset 47912 third_party/sqlite/amalgamation/sqlite3.c if( eType!=pPtrmap[offset] || get4byte(&pPtrmap[offset+1])!=parent ){ offset 47916 third_party/sqlite/amalgamation/sqlite3.c pPtrmap[offset] = eType; offset 47917 third_party/sqlite/amalgamation/sqlite3.c put4byte(&pPtrmap[offset+1], parent); offset 47936 third_party/sqlite/amalgamation/sqlite3.c int offset; /* Offset of entry in pointer map */ offset 47948 third_party/sqlite/amalgamation/sqlite3.c offset = PTRMAP_PTROFFSET(iPtrmap, key); offset 47950 third_party/sqlite/amalgamation/sqlite3.c *pEType = pPtrmap[offset]; offset 47951 third_party/sqlite/amalgamation/sqlite3.c if( pPgno ) *pPgno = get4byte(&pPtrmap[offset+1]); offset 50942 third_party/sqlite/amalgamation/sqlite3.c u32 offset, /* Begin reading this far into payload */ offset 50963 third_party/sqlite/amalgamation/sqlite3.c if( NEVER(offset+amt > nKey+pCur->info.nData) offset 50971 third_party/sqlite/amalgamation/sqlite3.c if( offset<pCur->info.nLocal ){ offset 50973 third_party/sqlite/amalgamation/sqlite3.c if( a+offset>pCur->info.nLocal ){ offset 50974 third_party/sqlite/amalgamation/sqlite3.c a = pCur->info.nLocal - offset; offset 50976 third_party/sqlite/amalgamation/sqlite3.c rc = copyPayload(&aPayload[offset], pBuf, a, eOp, pPage->pDbPage); offset 50977 third_party/sqlite/amalgamation/sqlite3.c offset = 0; offset 50981 third_party/sqlite/amalgamation/sqlite3.c offset -= pCur->info.nLocal; offset 51012 third_party/sqlite/amalgamation/sqlite3.c if( pCur->aOverflow && pCur->aOverflow[offset/ovflSize] ){ offset 51013 third_party/sqlite/amalgamation/sqlite3.c iIdx = (offset/ovflSize); offset 51015 third_party/sqlite/amalgamation/sqlite3.c offset = (offset%ovflSize); offset 51029 third_party/sqlite/amalgamation/sqlite3.c if( offset>=ovflSize ){ offset 51042 third_party/sqlite/amalgamation/sqlite3.c offset -= ovflSize; offset 51053 third_party/sqlite/amalgamation/sqlite3.c if( a + offset > ovflSize ){ offset 51054 third_party/sqlite/amalgamation/sqlite3.c a = ovflSize - offset; offset 51056 third_party/sqlite/amalgamation/sqlite3.c rc = copyPayload(&aPayload[offset+4], pBuf, a, eOp, pDbPage); offset 51058 third_party/sqlite/amalgamation/sqlite3.c offset = 0; offset 51084 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3BtreeKey(BtCursor *pCur, u32 offset, u32 amt, void *pBuf){ offset 51089 third_party/sqlite/amalgamation/sqlite3.c return accessPayload(pCur, offset, amt, (unsigned char*)pBuf, 0); offset 51101 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3BtreeData(BtCursor *pCur, u32 offset, u32 amt, void *pBuf){ offset 51116 third_party/sqlite/amalgamation/sqlite3.c rc = accessPayload(pCur, offset, amt, pBuf, 0); offset 55177 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3BtreePutData(BtCursor *pCsr, u32 offset, u32 amt, void *z){ offset 55207 third_party/sqlite/amalgamation/sqlite3.c return accessPayload(pCsr, offset, amt, (unsigned char *)z, 1); offset 56867 third_party/sqlite/amalgamation/sqlite3.c int offset, /* Offset from the start of data to return bytes from. */ offset 56888 third_party/sqlite/amalgamation/sqlite3.c if( offset+amt<=available && (pMem->flags&MEM_Dyn)==0 ){ offset 56890 third_party/sqlite/amalgamation/sqlite3.c pMem->z = &zData[offset]; offset 56897 third_party/sqlite/amalgamation/sqlite3.c rc = sqlite3BtreeKey(pCur, offset, amt, pMem->z); offset 56899 third_party/sqlite/amalgamation/sqlite3.c rc = sqlite3BtreeData(pCur, offset, amt, pMem->z); offset 58915 third_party/sqlite/amalgamation/sqlite3.c i64 offset = 0; offset 58958 third_party/sqlite/amalgamation/sqlite3.c rc = sqlite3OsWrite(pMaster, zFile, sqlite3Strlen30(zFile)+1, offset); offset 58959 third_party/sqlite/amalgamation/sqlite3.c offset += sqlite3Strlen30(zFile)+1; offset 62565 third_party/sqlite/amalgamation/sqlite3.c u32 offset; /* Offset into the data */ offset 64436 third_party/sqlite/amalgamation/sqlite3.c u32 offset; /* Offset into the data */ offset 64560 third_party/sqlite/amalgamation/sqlite3.c u.am.szHdr = getVarint32((u8*)u.am.zData, u.am.offset); offset 64571 third_party/sqlite/amalgamation/sqlite3.c if( u.am.offset > 98307 ){ offset 64590 third_party/sqlite/amalgamation/sqlite3.c if( u.am.len > (int)u.am.offset ) u.am.len = (int)u.am.offset; offset 64617 third_party/sqlite/amalgamation/sqlite3.c u.am.aOffset[u.am.i] = u.am.offset; offset 64620 third_party/sqlite/amalgamation/sqlite3.c u.am.offset += u.am.szField; offset 64621 third_party/sqlite/amalgamation/sqlite3.c if( u.am.offset<u.am.szField ){ /* True if u.am.offset overflows */ offset 64644 third_party/sqlite/amalgamation/sqlite3.c if( (u.am.zIdx > u.am.zEndHdr) || (u.am.offset > u.am.payloadSize) offset 64645 third_party/sqlite/amalgamation/sqlite3.c || (u.am.zIdx==u.am.zEndHdr && u.am.offset!=u.am.payloadSize) ){ offset 97444 third_party/sqlite/amalgamation/sqlite3.c static void callFinaliser(sqlite3 *db, int offset){ offset 97452 third_party/sqlite/amalgamation/sqlite3.c x = *(int (**)(sqlite3_vtab *))((char *)p->pModule + offset); offset 686 third_party/sqlite/amalgamation/sqlite3.h int (*xShmLock)(sqlite3_file*, int offset, int n, int flags); offset 766 third_party/sqlite/src/src/btree.c int offset; /* Offset in pointer map page */ offset 786 third_party/sqlite/src/src/btree.c offset = PTRMAP_PTROFFSET(iPtrmap, key); offset 787 third_party/sqlite/src/src/btree.c if( offset<0 ){ offset 793 third_party/sqlite/src/src/btree.c if( eType!=pPtrmap[offset] || get4byte(&pPtrmap[offset+1])!=parent ){ offset 797 third_party/sqlite/src/src/btree.c pPtrmap[offset] = eType; offset 798 third_party/sqlite/src/src/btree.c put4byte(&pPtrmap[offset+1], parent); offset 817 third_party/sqlite/src/src/btree.c int offset; /* Offset of entry in pointer map */ offset 829 third_party/sqlite/src/src/btree.c offset = PTRMAP_PTROFFSET(iPtrmap, key); offset 831 third_party/sqlite/src/src/btree.c *pEType = pPtrmap[offset]; offset 832 third_party/sqlite/src/src/btree.c if( pPgno ) *pPgno = get4byte(&pPtrmap[offset+1]); offset 3823 third_party/sqlite/src/src/btree.c u32 offset, /* Begin reading this far into payload */ offset 3844 third_party/sqlite/src/src/btree.c if( NEVER(offset+amt > nKey+pCur->info.nData) offset 3852 third_party/sqlite/src/src/btree.c if( offset<pCur->info.nLocal ){ offset 3854 third_party/sqlite/src/src/btree.c if( a+offset>pCur->info.nLocal ){ offset 3855 third_party/sqlite/src/src/btree.c a = pCur->info.nLocal - offset; offset 3857 third_party/sqlite/src/src/btree.c rc = copyPayload(&aPayload[offset], pBuf, a, eOp, pPage->pDbPage); offset 3858 third_party/sqlite/src/src/btree.c offset = 0; offset 3862 third_party/sqlite/src/src/btree.c offset -= pCur->info.nLocal; offset 3893 third_party/sqlite/src/src/btree.c if( pCur->aOverflow && pCur->aOverflow[offset/ovflSize] ){ offset 3894 third_party/sqlite/src/src/btree.c iIdx = (offset/ovflSize); offset 3896 third_party/sqlite/src/src/btree.c offset = (offset%ovflSize); offset 3910 third_party/sqlite/src/src/btree.c if( offset>=ovflSize ){ offset 3923 third_party/sqlite/src/src/btree.c offset -= ovflSize; offset 3934 third_party/sqlite/src/src/btree.c if( a + offset > ovflSize ){ offset 3935 third_party/sqlite/src/src/btree.c a = ovflSize - offset; offset 3937 third_party/sqlite/src/src/btree.c rc = copyPayload(&aPayload[offset+4], pBuf, a, eOp, pDbPage); offset 3939 third_party/sqlite/src/src/btree.c offset = 0; offset 3965 third_party/sqlite/src/src/btree.c int sqlite3BtreeKey(BtCursor *pCur, u32 offset, u32 amt, void *pBuf){ offset 3970 third_party/sqlite/src/src/btree.c return accessPayload(pCur, offset, amt, (unsigned char*)pBuf, 0); offset 3982 third_party/sqlite/src/src/btree.c int sqlite3BtreeData(BtCursor *pCur, u32 offset, u32 amt, void *pBuf){ offset 3997 third_party/sqlite/src/src/btree.c rc = accessPayload(pCur, offset, amt, pBuf, 0); offset 8058 third_party/sqlite/src/src/btree.c int sqlite3BtreePutData(BtCursor *pCsr, u32 offset, u32 amt, void *z){ offset 8088 third_party/sqlite/src/src/btree.c return accessPayload(pCsr, offset, amt, (unsigned char *)z, 1); offset 167 third_party/sqlite/src/src/btree.h int sqlite3BtreeKey(BtCursor*, u32 offset, u32 amt, void*); offset 171 third_party/sqlite/src/src/btree.h int sqlite3BtreeData(BtCursor*, u32 offset, u32 amt, void*); offset 178 third_party/sqlite/src/src/btree.h int sqlite3BtreePutData(BtCursor*, u32 offset, u32 amt, void*); offset 63 third_party/sqlite/src/src/os.c int sqlite3OsRead(sqlite3_file *id, void *pBuf, int amt, i64 offset){ offset 65 third_party/sqlite/src/src/os.c return id->pMethods->xRead(id, pBuf, amt, offset); offset 67 third_party/sqlite/src/src/os.c int sqlite3OsWrite(sqlite3_file *id, const void *pBuf, int amt, i64 offset){ offset 69 third_party/sqlite/src/src/os.c return id->pMethods->xWrite(id, pBuf, amt, offset); offset 103 third_party/sqlite/src/src/os.c int sqlite3OsShmLock(sqlite3_file *id, int offset, int n, int flags){ offset 104 third_party/sqlite/src/src/os.c return id->pMethods->xShmLock(id, offset, n, flags); offset 238 third_party/sqlite/src/src/os.h int sqlite3OsRead(sqlite3_file*, void*, int amt, i64 offset); offset 239 third_party/sqlite/src/src/os.h int sqlite3OsWrite(sqlite3_file*, const void*, int amt, i64 offset); offset 126 third_party/sqlite/src/src/os_os2.c sqlite3_int64 offset /* Begin reading at this offset */ offset 134 third_party/sqlite/src/src/os_os2.c if( DosSetFilePtr(pFile->h, offset, FILE_BEGIN, &fileLocation) != NO_ERROR ){ offset 157 third_party/sqlite/src/src/os_os2.c sqlite3_int64 offset /* Offset into the file to begin writing at */ offset 167 third_party/sqlite/src/src/os_os2.c if( DosSetFilePtr(pFile->h, offset, FILE_BEGIN, &fileLocation) != NO_ERROR ){ offset 2437 third_party/sqlite/src/src/os_unix.c unsigned long long offset; /* offset to first byte to lock */ offset 2456 third_party/sqlite/src/src/os_unix.c unsigned long long offset, /* First byte to be locked */ offset 2465 third_party/sqlite/src/src/os_unix.c pb.offset = offset; offset 2471 third_party/sqlite/src/src/os_unix.c offset, length)); offset 2932 third_party/sqlite/src/src/os_unix.c static int seekAndRead(unixFile *id, sqlite3_int64 offset, void *pBuf, int cnt){ offset 2939 third_party/sqlite/src/src/os_unix.c do{ got = osPread(id->h, pBuf, cnt, offset); }while( got<0 && errno==EINTR ); offset 2942 third_party/sqlite/src/src/os_unix.c do{ got = osPread64(id->h, pBuf, cnt, offset); }while( got<0 && errno==EINTR); offset 2945 third_party/sqlite/src/src/os_unix.c newOffset = lseek(id->h, offset, SEEK_SET); offset 2947 third_party/sqlite/src/src/os_unix.c if( newOffset!=offset ){ offset 2961 third_party/sqlite/src/src/os_unix.c OSTRACE(("READ %-3d %5d %7lld %llu\n", id->h, got, offset, TIMER_ELAPSED)); offset 2974 third_party/sqlite/src/src/os_unix.c sqlite3_int64 offset offset 2984 third_party/sqlite/src/src/os_unix.c || offset>=PENDING_BYTE+512 offset 2985 third_party/sqlite/src/src/os_unix.c || offset+amt<=PENDING_BYTE offset 2989 third_party/sqlite/src/src/os_unix.c got = seekAndRead(pFile, offset, pBuf, amt); offset 3010 third_party/sqlite/src/src/os_unix.c static int seekAndWrite(unixFile *id, i64 offset, const void *pBuf, int cnt){ offset 3017 third_party/sqlite/src/src/os_unix.c do{ got = osPwrite(id->h, pBuf, cnt, offset); }while( got<0 && errno==EINTR ); offset 3019 third_party/sqlite/src/src/os_unix.c do{ got = osPwrite64(id->h, pBuf, cnt, offset);}while( got<0 && errno==EINTR); offset 3021 third_party/sqlite/src/src/os_unix.c newOffset = lseek(id->h, offset, SEEK_SET); offset 3023 third_party/sqlite/src/src/os_unix.c if( newOffset!=offset ){ offset 3038 third_party/sqlite/src/src/os_unix.c OSTRACE(("WRITE %-3d %5d %7lld %llu\n", id->h, got, offset, TIMER_ELAPSED)); offset 3051 third_party/sqlite/src/src/os_unix.c sqlite3_int64 offset offset 3062 third_party/sqlite/src/src/os_unix.c || offset>=PENDING_BYTE+512 offset 3063 third_party/sqlite/src/src/os_unix.c || offset+amt<=PENDING_BYTE offset 3076 third_party/sqlite/src/src/os_unix.c if( offset<=24 && offset+amt>=27 ){ offset 3082 third_party/sqlite/src/src/os_unix.c if( rc!=4 || memcmp(oldCntr, &((char*)pBuf)[24-offset], 4)!=0 ){ offset 3089 third_party/sqlite/src/src/os_unix.c while( amt>0 && (wrote = seekAndWrite(pFile, offset, pBuf, amt))>0 ){ offset 3091 third_party/sqlite/src/src/os_unix.c offset += wrote; offset 711 third_party/sqlite/src/src/os_win.c sqlite3_int64 offset /* Begin reading at this offset */ offset 720 third_party/sqlite/src/src/os_win.c if( seekWinFile(pFile, offset) ){ offset 744 third_party/sqlite/src/src/os_win.c sqlite3_int64 offset /* Offset into the file to begin writing at */ offset 756 third_party/sqlite/src/src/os_win.c rc = seekWinFile(pFile, offset); offset 1019 third_party/sqlite/src/src/pager.c static int read32bits(sqlite3_file *fd, i64 offset, u32 *pRes){ offset 1021 third_party/sqlite/src/src/pager.c int rc = sqlite3OsRead(fd, ac, sizeof(ac), offset); offset 1038 third_party/sqlite/src/src/pager.c static int write32bits(sqlite3_file *fd, i64 offset, u32 val){ offset 1041 third_party/sqlite/src/src/pager.c return sqlite3OsWrite(fd, ac, 4, offset); offset 1257 third_party/sqlite/src/src/pager.c i64 offset = 0; offset 1260 third_party/sqlite/src/src/pager.c offset = ((c-1)/JOURNAL_HDR_SZ(pPager) + 1) * JOURNAL_HDR_SZ(pPager); offset 1262 third_party/sqlite/src/src/pager.c assert( offset%JOURNAL_HDR_SZ(pPager)==0 ); offset 1263 third_party/sqlite/src/src/pager.c assert( offset>=c ); offset 1264 third_party/sqlite/src/src/pager.c assert( (offset-c)<JOURNAL_HDR_SZ(pPager) ); offset 1265 third_party/sqlite/src/src/pager.c return offset; offset 3270 third_party/sqlite/src/src/pager.c i64 offset = pSavepoint->iSubRec*(4+pPager->pageSize); offset 3276 third_party/sqlite/src/src/pager.c assert( offset==ii*(4+pPager->pageSize) ); offset 3277 third_party/sqlite/src/src/pager.c rc = pager_playback_one_page(pPager, &offset, pDone, 0, 1); offset 4023 third_party/sqlite/src/src/pager.c i64 offset = (pgno-1)*(i64)pPager->pageSize; /* Offset to write */ offset 4033 third_party/sqlite/src/src/pager.c rc = sqlite3OsWrite(pPager->fd, pData, pPager->pageSize, offset); offset 4116 third_party/sqlite/src/src/pager.c i64 offset = pPager->nSubRec*(4+pPager->pageSize); offset 4121 third_party/sqlite/src/src/pager.c rc = write32bits(pPager->sjfd, offset, pPg->pgno); offset 4123 third_party/sqlite/src/src/pager.c rc = sqlite3OsWrite(pPager->sjfd, pData2, pPager->pageSize, offset+4); offset 279 third_party/sqlite/src/src/tclsqlite.c long offset, offset 287 third_party/sqlite/src/src/tclsqlite.c p->iSeek = offset; offset 290 third_party/sqlite/src/src/tclsqlite.c p->iSeek += offset; offset 293 third_party/sqlite/src/src/tclsqlite.c p->iSeek = sqlite3_blob_bytes(p->pBlob) + offset; offset 539 third_party/sqlite/src/src/test2.c i64 offset; offset 555 third_party/sqlite/src/src/test2.c offset = n; offset 556 third_party/sqlite/src/src/test2.c offset *= 1024*1024; offset 557 third_party/sqlite/src/src/test2.c rc = sqlite3OsWrite(fd, "Hello, World!", 14, offset); offset 103 third_party/sqlite/src/src/test_hexio.c int offset; offset 113 third_party/sqlite/src/src/test_hexio.c if( Tcl_GetIntFromObj(interp, objv[2], &offset) ) return TCL_ERROR; offset 128 third_party/sqlite/src/src/test_hexio.c fseek(in, offset, SEEK_SET); offset 153 third_party/sqlite/src/src/test_hexio.c int offset; offset 164 third_party/sqlite/src/src/test_hexio.c if( Tcl_GetIntFromObj(interp, objv[2], &offset) ) return TCL_ERROR; offset 180 third_party/sqlite/src/src/test_hexio.c fseek(out, offset, SEEK_SET); offset 650 third_party/sqlite/src/src/test_osinst.c int offset offset 663 third_party/sqlite/src/src/test_osinst.c put32bits(&zRec[20], offset); offset 2099 third_party/sqlite/src/src/vdbe.c u32 offset; /* Offset into the data */ offset 2222 third_party/sqlite/src/src/vdbe.c szHdr = getVarint32((u8*)zData, offset); offset 2233 third_party/sqlite/src/src/vdbe.c if( offset > 98307 ){ offset 2252 third_party/sqlite/src/src/vdbe.c if( len > (int)offset ) len = (int)offset; offset 2279 third_party/sqlite/src/src/vdbe.c aOffset[i] = offset; offset 2282 third_party/sqlite/src/src/vdbe.c offset += szField; offset 2283 third_party/sqlite/src/src/vdbe.c if( offset<szField ){ /* True if offset overflows */ offset 2306 third_party/sqlite/src/src/vdbe.c if( (zIdx > zEndHdr) || (offset > payloadSize) offset 2307 third_party/sqlite/src/src/vdbe.c || (zIdx==zEndHdr && offset!=payloadSize) ){ offset 1790 third_party/sqlite/src/src/vdbeaux.c i64 offset = 0; offset 1833 third_party/sqlite/src/src/vdbeaux.c rc = sqlite3OsWrite(pMaster, zFile, sqlite3Strlen30(zFile)+1, offset); offset 1834 third_party/sqlite/src/src/vdbeaux.c offset += sqlite3Strlen30(zFile)+1; offset 902 third_party/sqlite/src/src/vdbemem.c int offset, /* Offset from the start of data to return bytes from. */ offset 923 third_party/sqlite/src/src/vdbemem.c if( offset+amt<=available && (pMem->flags&MEM_Dyn)==0 ){ offset 925 third_party/sqlite/src/src/vdbemem.c pMem->z = &zData[offset]; offset 932 third_party/sqlite/src/src/vdbemem.c rc = sqlite3BtreeKey(pCur, offset, amt, pMem->z); offset 934 third_party/sqlite/src/src/vdbemem.c rc = sqlite3BtreeData(pCur, offset, amt, pMem->z); offset 732 third_party/sqlite/src/src/vtab.c static void callFinaliser(sqlite3 *db, int offset){ offset 740 third_party/sqlite/src/src/vtab.c x = *(int (**)(sqlite3_vtab *))((char *)p->pModule + offset); offset 1571 third_party/sqlite/src/tool/lemon.c #define NEXT(A) (*(char**)(((unsigned long)A)+offset)) offset 1592 third_party/sqlite/src/tool/lemon.c int offset offset 1645 third_party/sqlite/src/tool/lemon.c unsigned long offset; offset 1649 third_party/sqlite/src/tool/lemon.c offset = (unsigned long)next - (unsigned long)list; offset 1656 third_party/sqlite/src/tool/lemon.c ep = merge(ep,set[i],cmp,offset); offset 1662 third_party/sqlite/src/tool/lemon.c for(i=0; i<LISTSIZE; i++) if( set[i] ) ep = merge(set[i],ep,cmp,offset); offset 41 third_party/sqlite/src/tool/mkkeywordhash.c int offset; /* Offset to start of name string */ offset 320 third_party/sqlite/src/tool/mkkeywordhash.c int n = pA->offset - pB->offset; offset 416 third_party/sqlite/src/tool/mkkeywordhash.c if( p->offset>0 || p->substrId ) continue; offset 417 third_party/sqlite/src/tool/mkkeywordhash.c p->offset = nChar; offset 422 third_party/sqlite/src/tool/mkkeywordhash.c if( pOther->offset>0 || pOther->substrId ) continue; offset 426 third_party/sqlite/src/tool/mkkeywordhash.c p->offset = nChar - k; offset 427 third_party/sqlite/src/tool/mkkeywordhash.c nChar = p->offset + p->len; offset 440 third_party/sqlite/src/tool/mkkeywordhash.c p->offset = findById(p->substrId)->offset + p->substrOffset; offset 557 third_party/sqlite/src/tool/mkkeywordhash.c printf(" %3d,", aKeywordTable[i].offset); offset 945 third_party/talloc/libreplace/strptime.c + ((tm->tm_year - era->offset) offset 144 third_party/tcmalloc/chromium/src/base/elf_mem_image.cc const char *ElfMemImage::GetDynstr(ElfW(Word) offset) const { offset 145 third_party/tcmalloc/chromium/src/base/elf_mem_image.cc CHECK_LT(offset, strsize_); offset 146 third_party/tcmalloc/chromium/src/base/elf_mem_image.cc return dynstr_ + offset; offset 176 third_party/tcmalloc/chromium/src/base/elf_mem_image.cc const char *ElfMemImage::GetVerstr(ElfW(Word) offset) const { offset 177 third_party/tcmalloc/chromium/src/base/elf_mem_image.cc CHECK_LT(offset, strsize_); offset 178 third_party/tcmalloc/chromium/src/base/elf_mem_image.cc return dynstr_ + offset; offset 97 third_party/tcmalloc/chromium/src/base/elf_mem_image.h const char* GetDynstr(ElfW(Word) offset) const; offset 99 third_party/tcmalloc/chromium/src/base/elf_mem_image.h const char* GetVerstr(ElfW(Word) offset) const; offset 545 third_party/tcmalloc/chromium/src/base/sysinfo.cc uint64 *offset, int64 *inode, char **filename, offset 562 third_party/tcmalloc/chromium/src/base/sysinfo.cc if (offset) *offset = sc->fileoff; offset 676 third_party/tcmalloc/chromium/src/base/sysinfo.cc char *flags, uint64 *offset, offset 698 third_party/tcmalloc/chromium/src/base/sysinfo.cc if (!StringToIntegerUntilCharWithCheck(offset, endptr, 16, ' ', &endptr)) offset 815 third_party/tcmalloc/chromium/src/base/sysinfo.cc uint64 *offset, int64 *inode, char **filename) { offset 816 third_party/tcmalloc/chromium/src/base/sysinfo.cc return NextExt(start, end, flags, offset, inode, filename, NULL, NULL, offset 824 third_party/tcmalloc/chromium/src/base/sysinfo.cc uint64 *offset, int64 *inode, char **filename, offset 876 third_party/tcmalloc/chromium/src/base/sysinfo.cc offset ? offset : &tmpoffset, offset 887 third_party/tcmalloc/chromium/src/base/sysinfo.cc if (offset) offset 888 third_party/tcmalloc/chromium/src/base/sysinfo.cc *offset = 0; offset 904 third_party/tcmalloc/chromium/src/base/sysinfo.cc if (offset) offset 905 third_party/tcmalloc/chromium/src/base/sysinfo.cc *offset = 0; // seems like this should be in there, but maybe not offset 999 third_party/tcmalloc/chromium/src/base/sysinfo.cc if (offset) *offset = mapinfo->pr_offset; offset 1026 third_party/tcmalloc/chromium/src/base/sysinfo.cc start, end, flags, offset, inode, filename, offset 1035 third_party/tcmalloc/chromium/src/base/sysinfo.cc start, end, flags, offset, inode, filename, offset 1058 third_party/tcmalloc/chromium/src/base/sysinfo.cc if (offset) *offset = 0; offset 1076 third_party/tcmalloc/chromium/src/base/sysinfo.cc uint64 offset, int64 inode, offset 1089 third_party/tcmalloc/chromium/src/base/sysinfo.cc start, end, r,w,x,p, offset, offset 1106 third_party/tcmalloc/chromium/src/base/sysinfo.cc uint64 start, end, offset; offset 1111 third_party/tcmalloc/chromium/src/base/sysinfo.cc while (it.Next(&start, &end, &flags, &offset, &inode, &filename)) { offset 1114 third_party/tcmalloc/chromium/src/base/sysinfo.cc start, end, flags, offset, offset 1132 third_party/tcmalloc/chromium/src/base/sysinfo.cc uint64 start, end, offset; offset 1136 third_party/tcmalloc/chromium/src/base/sysinfo.cc while (it.Next(&start, &end, &flags, &offset, &inode, &filename)) { offset 1138 third_party/tcmalloc/chromium/src/base/sysinfo.cc start, end, flags, offset, inode, filename, offset 157 third_party/tcmalloc/chromium/src/base/sysinfo.h uint64 offset, int64 inode, const char *filename, offset 179 third_party/tcmalloc/chromium/src/base/sysinfo.h uint64 *offset, int64 *inode, char **filename); offset 182 third_party/tcmalloc/chromium/src/base/sysinfo.h uint64 *offset, int64 *inode, char **filename, offset 477 third_party/tcmalloc/chromium/src/debugallocation.cc void set_offset(int offset) { this->offset_ = offset; } offset 225 third_party/tcmalloc/chromium/src/deep-heap-profile.cc int64 offset = lseek64(kpagecount_fd_, index, SEEK_SET); offset 226 third_party/tcmalloc/chromium/src/deep-heap-profile.cc RAW_DCHECK(offset == index, "Failed in seeking in kpagecount."); offset 239 third_party/tcmalloc/chromium/src/deep-heap-profile.cc int64 offset = lseek64(pagemap_fd_, index, SEEK_SET); offset 240 third_party/tcmalloc/chromium/src/deep-heap-profile.cc RAW_DCHECK(offset == index, "Failed in seeking."); offset 241 third_party/tcmalloc/chromium/src/deep-heap-profile.cc return offset >= 0; offset 822 third_party/tcmalloc/chromium/src/deep-heap-profile.cc uint64 vma_start_addr, vma_last_addr, offset; offset 843 third_party/tcmalloc/chromium/src/deep-heap-profile.cc &flags, &offset, &inode, &filename)) { offset 848 third_party/tcmalloc/chromium/src/deep-heap-profile.cc flags, offset, inode, filename, 0); offset 981 third_party/tcmalloc/chromium/src/deep-heap-profile.cc flags, offset, inode, filename, 0); offset 137 third_party/tcmalloc/chromium/src/gperftools/malloc_hook.h off_t offset); offset 161 third_party/tcmalloc/chromium/src/gperftools/malloc_hook.h off_t offset, offset 180 third_party/tcmalloc/chromium/src/gperftools/malloc_hook.h off_t offset); offset 270 third_party/tcmalloc/chromium/src/gperftools/malloc_hook.h int fd, off_t offset); offset 324 third_party/tcmalloc/chromium/src/gperftools/malloc_hook.h off_t offset); offset 331 third_party/tcmalloc/chromium/src/gperftools/malloc_hook.h off_t offset); offset 337 third_party/tcmalloc/chromium/src/gperftools/malloc_hook.h off_t offset, offset 87 third_party/tcmalloc/chromium/src/gperftools/malloc_hook_c.h off_t offset); offset 99 third_party/tcmalloc/chromium/src/gperftools/malloc_hook_c.h off_t offset); offset 110 third_party/tcmalloc/chromium/src/gperftools/malloc_hook_c.h off_t offset, offset 422 third_party/tcmalloc/chromium/src/heap-profiler.cc int prot, int flags, int fd, off_t offset) { offset 430 third_party/tcmalloc/chromium/src/heap-profiler.cc (uintptr_t) start, size, prot, flags, fd, (unsigned int) offset, offset 194 third_party/tcmalloc/chromium/src/malloc_hook-inl.h off_t offset) { offset 196 third_party/tcmalloc/chromium/src/malloc_hook-inl.h InvokePreMmapHookSlow(start, size, protection, flags, fd, offset); offset 202 third_party/tcmalloc/chromium/src/malloc_hook-inl.h fd, offset); offset 217 third_party/tcmalloc/chromium/src/malloc_hook-inl.h off_t offset) { offset 219 third_party/tcmalloc/chromium/src/malloc_hook-inl.h InvokeMmapHookSlow(result, start, size, protection, flags, fd, offset); offset 226 third_party/tcmalloc/chromium/src/malloc_hook-inl.h fd, offset); offset 235 third_party/tcmalloc/chromium/src/malloc_hook-inl.h off_t offset, offset 240 third_party/tcmalloc/chromium/src/malloc_hook-inl.h fd, offset, offset 125 third_party/tcmalloc/chromium/src/malloc_hook.cc off_t offset) { offset 127 third_party/tcmalloc/chromium/src/malloc_hook.cc MallocHook::InvokePreMmapHook(start, size, protection, flags, fd, offset); offset 537 third_party/tcmalloc/chromium/src/malloc_hook.cc off_t offset) { offset 539 third_party/tcmalloc/chromium/src/malloc_hook.cc offset)); offset 548 third_party/tcmalloc/chromium/src/malloc_hook.cc off_t offset) { offset 550 third_party/tcmalloc/chromium/src/malloc_hook.cc fd, offset)); offset 558 third_party/tcmalloc/chromium/src/malloc_hook.cc off_t offset, offset 561 third_party/tcmalloc/chromium/src/malloc_hook.cc (start, size, protection, flags, fd, offset, result)); offset 706 third_party/tcmalloc/chromium/src/malloc_hook.cc int flags, int fd, off_t offset) { offset 709 third_party/tcmalloc/chromium/src/malloc_hook.cc start, length, prot, flags, fd, offset, &result)) { offset 710 third_party/tcmalloc/chromium/src/malloc_hook.cc result = mmap(start, length, prot, flags, fd, offset); offset 60 third_party/tcmalloc/chromium/src/malloc_hook_mmap_freebsd.h int fd, off_t offset) __THROW offset 70 third_party/tcmalloc/chromium/src/malloc_hook_mmap_freebsd.h int fd, off_t offset) __THROW { offset 72 third_party/tcmalloc/chromium/src/malloc_hook_mmap_freebsd.h start, length, prot, flags, fd, offset); offset 117 third_party/tcmalloc/chromium/src/malloc_hook_mmap_freebsd.h int fd, off_t offset) __THROW { offset 118 third_party/tcmalloc/chromium/src/malloc_hook_mmap_freebsd.h MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); offset 121 third_party/tcmalloc/chromium/src/malloc_hook_mmap_freebsd.h start, length, prot, flags, fd, offset, &result)) { offset 123 third_party/tcmalloc/chromium/src/malloc_hook_mmap_freebsd.h static_cast<size_t>(offset)); // avoid sign extension offset 125 third_party/tcmalloc/chromium/src/malloc_hook_mmap_freebsd.h MallocHook::InvokeMmapHook(result, start, length, prot, flags, fd, offset); offset 147 third_party/tcmalloc/chromium/src/malloc_hook_mmap_freebsd.h int flags, int fd, off_t offset) { offset 150 third_party/tcmalloc/chromium/src/malloc_hook_mmap_freebsd.h start, length, prot, flags, fd, offset, &result)) { offset 151 third_party/tcmalloc/chromium/src/malloc_hook_mmap_freebsd.h result = do_mmap(start, length, prot, flags, fd, offset); offset 80 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h int fd, __off64_t offset) __THROW { offset 83 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h return (void *)syscall(SYS_mmap, start, length, prot, flags, fd, offset); offset 93 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h int fd, __off64_t offset) __THROW { offset 103 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h if (offset & (pagesize - 1)) { offset 111 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h (off_t) (offset / pagesize)); offset 118 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h if (((off_t)offset) != offset) { offset 131 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h (off_t) offset }; offset 164 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h int fd, __off64_t offset ) __THROW offset 167 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h int fd, off_t offset) __THROW offset 181 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h int fd, __off64_t offset) __THROW { offset 182 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); offset 185 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h start, length, prot, flags, fd, offset, &result)) { offset 186 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h result = do_mmap64(start, length, prot, flags, fd, offset); offset 188 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h MallocHook::InvokeMmapHook(result, start, length, prot, flags, fd, offset); offset 195 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h int fd, off_t offset) __THROW { offset 196 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); offset 199 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h start, length, prot, flags, fd, offset, &result)) { offset 201 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h static_cast<size_t>(offset)); // avoid sign extension offset 203 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h MallocHook::InvokeMmapHook(result, start, length, prot, flags, fd, offset); offset 249 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h int flags, int fd, off_t offset) { offset 252 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h start, length, prot, flags, fd, offset, &result)) { offset 253 third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h result = do_mmap64(start, length, prot, flags, fd, offset); offset 749 third_party/tcmalloc/chromium/src/memory_region_map.cc int fd, off_t offset) { offset 756 third_party/tcmalloc/chromium/src/memory_region_map.cc static_cast<int64>(offset)); offset 389 third_party/tcmalloc/chromium/src/memory_region_map.h int fd, off_t offset); offset 152 third_party/tcmalloc/chromium/src/profiledata.cc uint64 start, end, offset; offset 156 third_party/tcmalloc/chromium/src/profiledata.cc while (it.Next(&start, &end, &flags, &offset, &inode, &filename)) { offset 158 third_party/tcmalloc/chromium/src/profiledata.cc start, end, flags, offset, inode, filename, offset 308 third_party/tcmalloc/chromium/src/tests/malloc_hook_test.cc off_t offset, offset 277 third_party/tcmalloc/chromium/src/windows/port.h int fd, off_t offset) { offset 278 third_party/tcmalloc/chromium/src/windows/port.h if (addr == NULL && fd == -1 && offset == 0 && offset 374 third_party/tcmalloc/chromium/src/windows/port.h inline off_t lseek(int fd, off_t offset, int whence) { offset 375 third_party/tcmalloc/chromium/src/windows/port.h return _lseek(fd, offset, whence); offset 144 third_party/tcmalloc/vendor/src/base/elf_mem_image.cc const char *ElfMemImage::GetDynstr(ElfW(Word) offset) const { offset 145 third_party/tcmalloc/vendor/src/base/elf_mem_image.cc CHECK_LT(offset, strsize_); offset 146 third_party/tcmalloc/vendor/src/base/elf_mem_image.cc return dynstr_ + offset; offset 176 third_party/tcmalloc/vendor/src/base/elf_mem_image.cc const char *ElfMemImage::GetVerstr(ElfW(Word) offset) const { offset 177 third_party/tcmalloc/vendor/src/base/elf_mem_image.cc CHECK_LT(offset, strsize_); offset 178 third_party/tcmalloc/vendor/src/base/elf_mem_image.cc return dynstr_ + offset; offset 97 third_party/tcmalloc/vendor/src/base/elf_mem_image.h const char* GetDynstr(ElfW(Word) offset) const; offset 99 third_party/tcmalloc/vendor/src/base/elf_mem_image.h const char* GetVerstr(ElfW(Word) offset) const; offset 528 third_party/tcmalloc/vendor/src/base/sysinfo.cc uint64 *offset, int64 *inode, char **filename, offset 545 third_party/tcmalloc/vendor/src/base/sysinfo.cc if (offset) *offset = sc->fileoff; offset 659 third_party/tcmalloc/vendor/src/base/sysinfo.cc uint64 *offset, int64 *inode, char **filename) { offset 660 third_party/tcmalloc/vendor/src/base/sysinfo.cc return NextExt(start, end, flags, offset, inode, filename, NULL, NULL, offset 668 third_party/tcmalloc/vendor/src/base/sysinfo.cc uint64 *offset, int64 *inode, char **filename, offset 719 third_party/tcmalloc/vendor/src/base/sysinfo.cc offset ? offset : &tmpoffset, offset 730 third_party/tcmalloc/vendor/src/base/sysinfo.cc if (offset) offset 731 third_party/tcmalloc/vendor/src/base/sysinfo.cc *offset = 0; offset 747 third_party/tcmalloc/vendor/src/base/sysinfo.cc if (offset) offset 748 third_party/tcmalloc/vendor/src/base/sysinfo.cc *offset = 0; // seems like this should be in there, but maybe not offset 841 third_party/tcmalloc/vendor/src/base/sysinfo.cc if (offset) *offset = mapinfo->pr_offset; offset 868 third_party/tcmalloc/vendor/src/base/sysinfo.cc start, end, flags, offset, inode, filename, offset 877 third_party/tcmalloc/vendor/src/base/sysinfo.cc start, end, flags, offset, inode, filename, offset 900 third_party/tcmalloc/vendor/src/base/sysinfo.cc if (offset) *offset = 0; offset 918 third_party/tcmalloc/vendor/src/base/sysinfo.cc uint64 offset, int64 inode, offset 930 third_party/tcmalloc/vendor/src/base/sysinfo.cc start, end, r,w,x,p, offset, offset 947 third_party/tcmalloc/vendor/src/base/sysinfo.cc uint64 start, end, offset; offset 952 third_party/tcmalloc/vendor/src/base/sysinfo.cc while (it.Next(&start, &end, &flags, &offset, &inode, &filename)) { offset 955 third_party/tcmalloc/vendor/src/base/sysinfo.cc start, end, flags, offset, offset 973 third_party/tcmalloc/vendor/src/base/sysinfo.cc uint64 start, end, offset; offset 977 third_party/tcmalloc/vendor/src/base/sysinfo.cc while (it.Next(&start, &end, &flags, &offset, &inode, &filename)) { offset 979 third_party/tcmalloc/vendor/src/base/sysinfo.cc start, end, flags, offset, inode, filename, offset 157 third_party/tcmalloc/vendor/src/base/sysinfo.h uint64 offset, int64 inode, const char *filename, offset 179 third_party/tcmalloc/vendor/src/base/sysinfo.h uint64 *offset, int64 *inode, char **filename); offset 182 third_party/tcmalloc/vendor/src/base/sysinfo.h uint64 *offset, int64 *inode, char **filename, offset 479 third_party/tcmalloc/vendor/src/debugallocation.cc void set_offset(int offset) { this->offset_ = offset; } offset 137 third_party/tcmalloc/vendor/src/gperftools/malloc_hook.h off_t offset); offset 161 third_party/tcmalloc/vendor/src/gperftools/malloc_hook.h off_t offset, offset 180 third_party/tcmalloc/vendor/src/gperftools/malloc_hook.h off_t offset); offset 270 third_party/tcmalloc/vendor/src/gperftools/malloc_hook.h int fd, off_t offset); offset 324 third_party/tcmalloc/vendor/src/gperftools/malloc_hook.h off_t offset); offset 331 third_party/tcmalloc/vendor/src/gperftools/malloc_hook.h off_t offset); offset 337 third_party/tcmalloc/vendor/src/gperftools/malloc_hook.h off_t offset, offset 87 third_party/tcmalloc/vendor/src/gperftools/malloc_hook_c.h off_t offset); offset 99 third_party/tcmalloc/vendor/src/gperftools/malloc_hook_c.h off_t offset); offset 110 third_party/tcmalloc/vendor/src/gperftools/malloc_hook_c.h off_t offset, offset 343 third_party/tcmalloc/vendor/src/heap-profiler.cc int prot, int flags, int fd, off_t offset) { offset 351 third_party/tcmalloc/vendor/src/heap-profiler.cc (uintptr_t) start, size, prot, flags, fd, (unsigned int) offset, offset 194 third_party/tcmalloc/vendor/src/malloc_hook-inl.h off_t offset) { offset 196 third_party/tcmalloc/vendor/src/malloc_hook-inl.h InvokePreMmapHookSlow(start, size, protection, flags, fd, offset); offset 202 third_party/tcmalloc/vendor/src/malloc_hook-inl.h fd, offset); offset 217 third_party/tcmalloc/vendor/src/malloc_hook-inl.h off_t offset) { offset 219 third_party/tcmalloc/vendor/src/malloc_hook-inl.h InvokeMmapHookSlow(result, start, size, protection, flags, fd, offset); offset 226 third_party/tcmalloc/vendor/src/malloc_hook-inl.h fd, offset); offset 235 third_party/tcmalloc/vendor/src/malloc_hook-inl.h off_t offset, offset 240 third_party/tcmalloc/vendor/src/malloc_hook-inl.h fd, offset, offset 125 third_party/tcmalloc/vendor/src/malloc_hook.cc off_t offset) { offset 127 third_party/tcmalloc/vendor/src/malloc_hook.cc MallocHook::InvokePreMmapHook(start, size, protection, flags, fd, offset); offset 537 third_party/tcmalloc/vendor/src/malloc_hook.cc off_t offset) { offset 539 third_party/tcmalloc/vendor/src/malloc_hook.cc offset)); offset 548 third_party/tcmalloc/vendor/src/malloc_hook.cc off_t offset) { offset 550 third_party/tcmalloc/vendor/src/malloc_hook.cc fd, offset)); offset 558 third_party/tcmalloc/vendor/src/malloc_hook.cc off_t offset, offset 561 third_party/tcmalloc/vendor/src/malloc_hook.cc (start, size, protection, flags, fd, offset, result)); offset 706 third_party/tcmalloc/vendor/src/malloc_hook.cc int flags, int fd, off_t offset) { offset 709 third_party/tcmalloc/vendor/src/malloc_hook.cc start, length, prot, flags, fd, offset, &result)) { offset 710 third_party/tcmalloc/vendor/src/malloc_hook.cc result = mmap(start, length, prot, flags, fd, offset); offset 60 third_party/tcmalloc/vendor/src/malloc_hook_mmap_freebsd.h int fd, off_t offset) __THROW offset 70 third_party/tcmalloc/vendor/src/malloc_hook_mmap_freebsd.h int fd, off_t offset) __THROW { offset 72 third_party/tcmalloc/vendor/src/malloc_hook_mmap_freebsd.h start, length, prot, flags, fd, offset); offset 117 third_party/tcmalloc/vendor/src/malloc_hook_mmap_freebsd.h int fd, off_t offset) __THROW { offset 118 third_party/tcmalloc/vendor/src/malloc_hook_mmap_freebsd.h MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); offset 121 third_party/tcmalloc/vendor/src/malloc_hook_mmap_freebsd.h start, length, prot, flags, fd, offset, &result)) { offset 123 third_party/tcmalloc/vendor/src/malloc_hook_mmap_freebsd.h static_cast<size_t>(offset)); // avoid sign extension offset 125 third_party/tcmalloc/vendor/src/malloc_hook_mmap_freebsd.h MallocHook::InvokeMmapHook(result, start, length, prot, flags, fd, offset); offset 147 third_party/tcmalloc/vendor/src/malloc_hook_mmap_freebsd.h int flags, int fd, off_t offset) { offset 150 third_party/tcmalloc/vendor/src/malloc_hook_mmap_freebsd.h start, length, prot, flags, fd, offset, &result)) { offset 151 third_party/tcmalloc/vendor/src/malloc_hook_mmap_freebsd.h result = do_mmap(start, length, prot, flags, fd, offset); offset 58 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h int fd, __off64_t offset) __THROW { offset 59 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h return sys_mmap(start, length, prot, flags, fd, offset); offset 69 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h int fd, __off64_t offset) __THROW { offset 79 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h if (offset & (pagesize - 1)) { offset 87 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h (off_t) (offset / pagesize)); offset 94 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h if (((off_t)offset) != offset) { offset 107 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h (off_t) offset }; offset 140 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h int fd, __off64_t offset ) __THROW offset 143 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h int fd, off_t offset) __THROW offset 155 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h int fd, __off64_t offset) __THROW { offset 156 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); offset 159 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h start, length, prot, flags, fd, offset, &result)) { offset 160 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h result = do_mmap64(start, length, prot, flags, fd, offset); offset 162 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h MallocHook::InvokeMmapHook(result, start, length, prot, flags, fd, offset); offset 169 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h int fd, off_t offset) __THROW { offset 170 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); offset 173 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h start, length, prot, flags, fd, offset, &result)) { offset 175 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h static_cast<size_t>(offset)); // avoid sign extension offset 177 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h MallocHook::InvokeMmapHook(result, start, length, prot, flags, fd, offset); offset 215 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h int flags, int fd, off_t offset) { offset 218 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h start, length, prot, flags, fd, offset, &result)) { offset 219 third_party/tcmalloc/vendor/src/malloc_hook_mmap_linux.h result = do_mmap64(start, length, prot, flags, fd, offset); offset 586 third_party/tcmalloc/vendor/src/memory_region_map.cc int fd, off_t offset) { offset 593 third_party/tcmalloc/vendor/src/memory_region_map.cc static_cast<int64>(offset)); offset 326 third_party/tcmalloc/vendor/src/memory_region_map.h int fd, off_t offset); offset 152 third_party/tcmalloc/vendor/src/profiledata.cc uint64 start, end, offset; offset 156 third_party/tcmalloc/vendor/src/profiledata.cc while (it.Next(&start, &end, &flags, &offset, &inode, &filename)) { offset 158 third_party/tcmalloc/vendor/src/profiledata.cc start, end, flags, offset, inode, filename, offset 308 third_party/tcmalloc/vendor/src/tests/malloc_hook_test.cc off_t offset, offset 274 third_party/tcmalloc/vendor/src/windows/port.h int fd, off_t offset) { offset 275 third_party/tcmalloc/vendor/src/windows/port.h if (addr == NULL && fd == -1 && offset == 0 && offset 371 third_party/tcmalloc/vendor/src/windows/port.h inline off_t lseek(int fd, off_t offset, int whence) { offset 372 third_party/tcmalloc/vendor/src/windows/port.h return _lseek(fd, offset, whence); offset 336 third_party/v4l2capture/v4l2capture.c PROT_READ | PROT_WRITE, MAP_SHARED, self->fd, buffer.m.offset); offset 29 third_party/zlib/contrib/minizip/ioapi.c long call_zseek64 (const zlib_filefunc64_32_def* pfilefunc,voidpf filestream, ZPOS64_T offset, int origin) offset 32 third_party/zlib/contrib/minizip/ioapi.c return (*(pfilefunc->zfile_func64.zseek64_file)) (pfilefunc->zfile_func64.opaque,filestream,offset,origin); offset 35 third_party/zlib/contrib/minizip/ioapi.c uLong offsetTruncated = (uLong)offset; offset 36 third_party/zlib/contrib/minizip/ioapi.c if (offsetTruncated != offset) offset 79 third_party/zlib/contrib/minizip/ioapi.c static long ZCALLBACK fseek64_file_func OF((voidpf opaque, voidpf stream, ZPOS64_T offset, int origin)); offset 149 third_party/zlib/contrib/minizip/ioapi.c static long ZCALLBACK fseek_file_func (voidpf opaque, voidpf stream, uLong offset, int origin) offset 167 third_party/zlib/contrib/minizip/ioapi.c if (fseek((FILE *)stream, offset, fseek_origin) != 0) offset 172 third_party/zlib/contrib/minizip/ioapi.c static long ZCALLBACK fseek64_file_func (voidpf opaque, voidpf stream, ZPOS64_T offset, int origin) offset 191 third_party/zlib/contrib/minizip/ioapi.c if(fseeko64((FILE *)stream, offset, fseek_origin) != 0) offset 134 third_party/zlib/contrib/minizip/ioapi.h typedef long (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf stream, uLong offset, int origin)); offset 151 third_party/zlib/contrib/minizip/ioapi.h typedef long (ZCALLBACK *seek64_file_func) OF((voidpf opaque, voidpf stream, ZPOS64_T offset, int origin)); offset 187 third_party/zlib/contrib/minizip/ioapi.h long call_zseek64 OF((const zlib_filefunc64_32_def* pfilefunc,voidpf filestream, ZPOS64_T offset, int origin)); offset 32 third_party/zlib/contrib/minizip/iowin32.c long ZCALLBACK win32_seek64_file_func OF((voidpf opaque, voidpf stream, ZPOS64_T offset, int origin)); offset 237 third_party/zlib/contrib/minizip/iowin32.c long ZCALLBACK win32_seek_file_func (voidpf opaque,voidpf stream,uLong offset,int origin) offset 261 third_party/zlib/contrib/minizip/iowin32.c DWORD dwSet = SetFilePointer(hFile, offset, NULL, dwMoveMethod); offset 274 third_party/zlib/contrib/minizip/iowin32.c long ZCALLBACK win32_seek64_file_func (voidpf opaque, voidpf stream,ZPOS64_T offset,int origin) offset 299 third_party/zlib/contrib/minizip/iowin32.c LARGE_INTEGER* li = (LARGE_INTEGER*)&offset; offset 197 third_party/zlib/contrib/minizip/miniunz.c int offset=19; offset 201 third_party/zlib/contrib/minizip/miniunz.c number[offset]=(char)((n%10)+'0'); offset 202 third_party/zlib/contrib/minizip/miniunz.c if (number[offset] != '0') offset 203 third_party/zlib/contrib/minizip/miniunz.c pos_string=offset; offset 205 third_party/zlib/contrib/minizip/miniunz.c if (offset==0) offset 207 third_party/zlib/contrib/minizip/miniunz.c offset--; offset 47 third_party/zlib/contrib/minizip/mztools.c int offset = 0; offset 50 third_party/zlib/contrib/minizip/mztools.c int currentOffset = offset; offset 68 third_party/zlib/contrib/minizip/mztools.c offset += 30; offset 78 third_party/zlib/contrib/minizip/mztools.c offset += fnsize; offset 96 third_party/zlib/contrib/minizip/mztools.c offset += extsize; offset 118 third_party/zlib/contrib/minizip/mztools.c offset += dataSize; offset 226 third_party/zlib/contrib/minizip/mztools.c WRITE_32(header + 16, offset); /* offset to CD */ offset 1075 third_party/zlib/deflate.c local void class_set(s, offset, len, clas) offset 1077 third_party/zlib/deflate.c IPos offset; offset 1081 third_party/zlib/deflate.c IPos byte = offset >> 3; offset 1082 third_party/zlib/deflate.c IPos bit = offset & 7; offset 142 third_party/zlib/google/zip_internal.cc size_t offset; offset 159 third_party/zlib/google/zip_internal.cc buffer->offset = 0; offset 167 third_party/zlib/google/zip_internal.cc DCHECK_LE(buffer->offset, buffer->length); offset 168 third_party/zlib/google/zip_internal.cc size_t remaining_bytes = buffer->length - buffer->offset; offset 172 third_party/zlib/google/zip_internal.cc memcpy(buf, &buffer->data[buffer->offset], size); offset 173 third_party/zlib/google/zip_internal.cc buffer->offset += size; offset 192 third_party/zlib/google/zip_internal.cc return static_cast<long>(buffer->offset); offset 196 third_party/zlib/google/zip_internal.cc long SeekZipBuffer(void* opaque, void* /*stream*/, uLong offset, int origin) { offset 201 third_party/zlib/google/zip_internal.cc buffer->offset = std::min(buffer->offset + static_cast<size_t>(offset), offset 206 third_party/zlib/google/zip_internal.cc buffer->offset = (buffer->length > offset) ? buffer->length - offset : 0; offset 210 third_party/zlib/google/zip_internal.cc buffer->offset = std::min(buffer->length, static_cast<size_t>(offset)); offset 278 third_party/zlib/google/zip_internal.cc buffer->offset = 0; offset 374 third_party/zlib/google/zip_reader.cc const int64 offset) { offset 389 third_party/zlib/google/zip_reader.cc if (num_bytes_read != output_file.Write(offset, buffer, num_bytes_read)) { offset 395 third_party/zlib/google/zip_reader.cc int64 current_progress = offset + num_bytes_read; offset 206 third_party/zlib/google/zip_reader.h const int64 offset); offset 277 third_party/zlib/gzlib.c z_off64_t ZEXPORT gzseek64(file, offset, whence) offset 279 third_party/zlib/gzlib.c z_off64_t offset; offset 303 third_party/zlib/gzlib.c offset -= state->pos; offset 305 third_party/zlib/gzlib.c offset += state->skip; offset 310 third_party/zlib/gzlib.c state->pos + offset >= state->raw) { offset 311 third_party/zlib/gzlib.c ret = LSEEK(state->fd, offset - state->have, SEEK_CUR); offset 319 third_party/zlib/gzlib.c state->pos += offset; offset 324 third_party/zlib/gzlib.c if (offset < 0) { offset 327 third_party/zlib/gzlib.c offset += state->pos; offset 328 third_party/zlib/gzlib.c if (offset < 0) /* before start of file! */ offset 336 third_party/zlib/gzlib.c n = GT_OFF(state->have) || (z_off64_t)state->have > offset ? offset 337 third_party/zlib/gzlib.c (unsigned)offset : state->have; offset 341 third_party/zlib/gzlib.c offset -= n; offset 345 third_party/zlib/gzlib.c if (offset) { offset 347 third_party/zlib/gzlib.c state->skip = offset; offset 349 third_party/zlib/gzlib.c return state->pos + offset; offset 353 third_party/zlib/gzlib.c z_off_t ZEXPORT gzseek(file, offset, whence) offset 355 third_party/zlib/gzlib.c z_off_t offset; offset 360 third_party/zlib/gzlib.c ret = gzseek64(file, (z_off64_t)offset, whence); offset 395 third_party/zlib/gzlib.c z_off64_t offset; offset 406 third_party/zlib/gzlib.c offset = LSEEK(state->fd, 0, SEEK_CUR); offset 407 third_party/zlib/gzlib.c if (offset == -1) offset 410 third_party/zlib/gzlib.c offset -= state->strm.avail_in; /* don't count buffered input */ offset 411 third_party/zlib/gzlib.c return offset; offset 560 third_party/zlib/infback.c state->offset = (unsigned)here.val; offset 566 third_party/zlib/infback.c state->offset += BITS(state->extra); offset 569 third_party/zlib/infback.c if (state->offset > state->wsize - (state->whave < state->wsize ? offset 575 third_party/zlib/infback.c Tracevv((stderr, "inflate: distance %u\n", state->offset)); offset 580 third_party/zlib/infback.c copy = state->wsize - state->offset; offset 586 third_party/zlib/infback.c from = put - state->offset; offset 1089 third_party/zlib/inflate.c state->offset = (unsigned)here.val; offset 1095 third_party/zlib/inflate.c state->offset += BITS(state->extra); offset 1100 third_party/zlib/inflate.c if (state->offset > state->dmax) { offset 1106 third_party/zlib/inflate.c Tracevv((stderr, "inflate: distance %u\n", state->offset)); offset 1111 third_party/zlib/inflate.c if (state->offset > copy) { /* copy from window */ offset 1112 third_party/zlib/inflate.c copy = state->offset - copy; offset 1142 third_party/zlib/inflate.c from = put - state->offset; offset 102 third_party/zlib/inflate.h unsigned offset; /* distance back to copy string from */ offset 84 tools/android/memdump/memdump.cc uint offset; offset 146 tools/android/memdump/memdump.cc memory_map->offset = static_cast<uint>(tmp); offset 165 tools/android/memdump/memdump.cc bool ReadFromFileAtOffset(int fd, off_t offset, T* value) { offset 166 tools/android/memdump/memdump.cc if (lseek64(fd, offset * sizeof(*value), SEEK_SET) < 0) { offset 204 tools/android/memdump/memdump.cc const off64_t offset = memory_map.start_address / kPageSize; offset 205 tools/android/memdump/memdump.cc if (lseek64(pagemap_fd, offset * sizeof(PageMapEntry), SEEK_SET) < 0) { offset 423 tools/android/memdump/memdump.cc memory_map.offset, offset 30 tools/gn/command_args.cc size_t BackUpToLineBegin(const std::string& data, size_t offset) { offset 33 tools/gn/command_args.cc if (offset == 0 || Tokenizer::IsNewline(data, offset)) offset 34 tools/gn/command_args.cc return offset; offset 36 tools/gn/command_args.cc size_t cur = offset; offset 17 tools/gn/string_utils.cc Err ErrInsideStringToken(const Token& token, size_t offset, size_t size, offset 21 tools/gn/string_utils.cc int int_offset = static_cast<int>(offset); offset 161 tools/gn/tokenizer.cc bool Tokenizer::IsNewline(const base::StringPiece& buffer, size_t offset) { offset 162 tools/gn/tokenizer.cc DCHECK(offset < buffer.size()); offset 164 tools/gn/tokenizer.cc return buffer[offset] == '\n'; offset 32 tools/gn/tokenizer.h static bool IsNewline(const base::StringPiece& buffer, size_t offset); offset 159 tools/ipc_fuzzer/message_lib/message_file_reader.cc size_t offset = entry->string_table_offset; offset 160 tools/ipc_fuzzer/message_lib/message_file_reader.cc if (offset >= string_table_.size()) { offset 161 tools/ipc_fuzzer/message_lib/message_file_reader.cc LOG(ERROR) << "Invalid string table offset: " << offset; offset 164 tools/ipc_fuzzer/message_lib/message_file_reader.cc name_map_.Add(entry->type, std::string(string_table_.data() + offset)); offset 58 ui/android/java/src/org/chromium/ui/ColorPickerAdvancedComponent.java int offset = context.getResources() offset 61 ui/android/java/src/org/chromium/ui/ColorPickerAdvancedComponent.java mSeekBar.setThumbOffset(offset / 2); offset 219 ui/app_list/views/contents_view.cc int offset; offset 221 ui/app_list/views/contents_view.cc offset = event.x_offset(); offset 223 ui/app_list/views/contents_view.cc offset = event.y_offset(); offset 225 ui/app_list/views/contents_view.cc if (abs(offset) > kMinMouseWheelToSwitchPage) { offset 228 ui/app_list/views/contents_view.cc offset > 0 ? -1 : 1, true); offset 278 ui/app_list/views/contents_view.cc float offset; offset 280 ui/app_list/views/contents_view.cc offset = event->x_offset(); offset 282 ui/app_list/views/contents_view.cc offset = event->y_offset(); offset 284 ui/app_list/views/contents_view.cc if (abs(offset) > kMinScrollToSwitchPage) { offset 286 ui/app_list/views/contents_view.cc pagination_model_->SelectPageRelative(offset > 0 ? -1 : 1, offset 457 ui/aura/window.cc gfx::Vector2d offset; offset 459 ui/aura/window.cc parent_->GetAncestorWithLayer(&offset); offset 464 ui/aura/window.cc layer_target_bounds -= offset; offset 518 ui/aura/window.cc gfx::Vector2d offset; offset 519 ui/aura/window.cc aura::Window* ancestor_with_layer = GetAncestorWithLayer(&offset); offset 521 ui/aura/window.cc offset += child->bounds().OffsetFromOrigin(); offset 522 ui/aura/window.cc child->ReparentLayers(ancestor_with_layer->layer(), offset); offset 897 ui/aura/window.cc gfx::Vector2d offset; offset 899 ui/aura/window.cc parent_->GetAncestorWithLayer(&offset); offset 901 ui/aura/window.cc actual_new_bounds.Offset(offset); offset 1026 ui/aura/window.cc gfx::Vector2d offset; offset 1027 ui/aura/window.cc GetAncestorWithLayer(&offset); offset 1028 ui/aura/window.cc child->UnparentLayers(!layer(), offset); offset 1039 ui/aura/window.cc const gfx::Vector2d& offset) { offset 1041 ui/aura/window.cc const gfx::Vector2d new_offset = offset + bounds().OffsetFromOrigin(); offset 1055 ui/aura/window.cc layer_bounds.Offset(-offset); offset 1064 ui/aura/window.cc const gfx::Vector2d& offset) { offset 1069 ui/aura/window.cc offset + children_[i]->bounds().OffsetFromOrigin()); offset 1075 ui/aura/window.cc layer_bounds += offset; offset 1081 ui/aura/window.cc void Window::OffsetLayerBounds(const gfx::Vector2d& offset) { offset 1084 ui/aura/window.cc children_[i]->OffsetLayerBounds(offset); offset 1087 ui/aura/window.cc layer_bounds += offset; offset 1319 ui/aura/window.cc gfx::Vector2d offset; offset 1321 ui/aura/window.cc parent_->GetAncestorWithLayer(&offset); offset 1323 ui/aura/window.cc bounds_.Offset(-offset); offset 1433 ui/aura/window.cc const Window* Window::GetAncestorWithLayer(gfx::Vector2d* offset) const { offset 1437 ui/aura/window.cc if (offset) offset 1438 ui/aura/window.cc *offset += window->bounds().OffsetFromOrigin(); offset 1440 ui/aura/window.cc if (offset) offset 1441 ui/aura/window.cc *offset = gfx::Vector2d(); offset 392 ui/aura/window.h const gfx::Vector2d& offset); offset 398 ui/aura/window.h void ReparentLayers(ui::Layer* parent, const gfx::Vector2d& offset); offset 402 ui/aura/window.h void OffsetLayerBounds(const gfx::Vector2d& offset); offset 480 ui/aura/window.h Window* GetAncestorWithLayer(gfx::Vector2d* offset) { offset 482 ui/aura/window.h const_cast<const Window*>(this)->GetAncestorWithLayer(offset)); offset 484 ui/aura/window.h const Window* GetAncestorWithLayer(gfx::Vector2d* offset) const; offset 402 ui/base/clipboard/clipboard_unittest.cc int offset = i + j * image.width(); offset 403 ui/base/clipboard/clipboard_unittest.cc uint32 pixel = SkPreMultiplyColor(bitmap_data[offset]); offset 40 ui/base/ime/chromeos/ime_bridge.h virtual void DeleteSurroundingText(int32 offset, uint32 length) = 0; offset 35 ui/base/ime/chromeos/mock_ime_input_context_handler.cc void MockIMEInputContextHandler::DeleteSurroundingText(int32 offset, offset 38 ui/base/ime/chromeos/mock_ime_input_context_handler.cc last_delete_surrounding_text_arg_.offset = offset; offset 24 ui/base/ime/chromeos/mock_ime_input_context_handler.h int32 offset; offset 35 ui/base/ime/chromeos/mock_ime_input_context_handler.h virtual void DeleteSurroundingText(int32 offset, uint32 length) OVERRIDE; offset 547 ui/base/ime/input_method_chromeos.cc void InputMethodChromeOS::DeleteSurroundingText(int32 offset, uint32 length) { offset 550 ui/base/ime/input_method_chromeos.cc if (offset < 0 && static_cast<uint32>(-1 * offset) != length) offset 104 ui/base/ime/input_method_chromeos.h virtual void DeleteSurroundingText(int32 offset, uint32 length) OVERRIDE; offset 801 ui/base/l10n/l10n_util.cc size_t* offset) { offset 802 ui/base/l10n/l10n_util.cc DCHECK(offset); offset 808 ui/base/l10n/l10n_util.cc *offset = offsets[0]; offset 147 ui/base/l10n/l10n_util.h size_t* offset); offset 93 ui/display/edid_parser.cc size_t offset = kDescriptorOffset + i * kDescriptorLength; offset 101 ui/display/edid_parser.cc if (edid[offset] == 0 && edid[offset + 1] == 0 && edid[offset + 2] == 0 && offset 102 ui/display/edid_parser.cc edid[offset + 3] == kMonitorNameDescriptor && edid[offset + 4] == 0) { offset 103 ui/display/edid_parser.cc std::string found_name(reinterpret_cast<const char*>(&edid[offset + 5]), offset 411 ui/events/event.cc offset_(mouse_wheel_event.offset()) { offset 273 ui/events/event.h gfx::Point offset = gfx::ToFlooredPoint(location_); offset 274 ui/events/event.h T::ConvertPointToTarget(source, target, &offset); offset 275 ui/events/event.h gfx::Vector2d diff = gfx::ToFlooredPoint(location_) - offset; offset 430 ui/events/event.h const gfx::Vector2d& offset() const { return offset_; } offset 65 ui/events/ozone/events_ozone.cc return event->offset(); offset 48 ui/events/x/events_x_unittest.cc gfx::Vector2d offset; offset 72 ui/events/x/events_x_unittest.cc offset = ui::GetMouseWheelOffset(&event); offset 73 ui/events/x/events_x_unittest.cc EXPECT_GT(offset.y(), 0); offset 74 ui/events/x/events_x_unittest.cc EXPECT_EQ(0, offset.x()); offset 81 ui/events/x/events_x_unittest.cc offset = ui::GetMouseWheelOffset(&event); offset 82 ui/events/x/events_x_unittest.cc EXPECT_LT(offset.y(), 0); offset 83 ui/events/x/events_x_unittest.cc EXPECT_EQ(0, offset.x()); offset 90 ui/events/x/events_x_unittest.cc offset = ui::GetMouseWheelOffset(&event); offset 91 ui/events/x/events_x_unittest.cc EXPECT_EQ(0, offset.y()); offset 92 ui/events/x/events_x_unittest.cc EXPECT_GT(offset.x(), 0); offset 99 ui/events/x/events_x_unittest.cc offset = ui::GetMouseWheelOffset(&event); offset 100 ui/events/x/events_x_unittest.cc EXPECT_EQ(0, offset.y()); offset 101 ui/events/x/events_x_unittest.cc EXPECT_LT(offset.x(), 0); offset 134 ui/gfx/blit.cc const gfx::Vector2d& offset) { offset 145 ui/gfx/blit.cc ScrollDC(hdc, offset.x(), offset.y(), NULL, &r, NULL, &damaged_rect); offset 162 ui/gfx/blit.cc gfx::Rect dest_rect = gfx::IntersectRects(clip + offset, clip); offset 167 ui/gfx/blit.cc gfx::Rect src_rect = dest_rect - offset; offset 170 ui/gfx/blit.cc if (offset.y() > 0) { offset 177 ui/gfx/blit.cc } else if (offset.y() < 0) { offset 184 ui/gfx/blit.cc } else if (offset.x() != 0) { offset 48 ui/gfx/blit.h const Vector2d& offset); offset 216 ui/gfx/canvas.cc void Canvas::Translate(const Vector2d& offset) { offset 217 ui/gfx/canvas.cc canvas_->translate(SkIntToScalar(offset.x()), SkIntToScalar(offset.y())); offset 214 ui/gfx/canvas.h void Translate(const Vector2d& offset); offset 53 ui/gfx/geometry/box_f.h void operator+=(const Vector3dF& offset) { offset 54 ui/gfx/geometry/box_f.h origin_ += offset; offset 103 ui/gfx/geometry/point3_f.h inline Point3F PointAtOffsetFromOrigin(const Vector3dF& offset) { offset 104 ui/gfx/geometry/point3_f.h return Point3F(offset.x(), offset.y(), offset.z()); offset 76 ui/gfx/geometry/rect_base.h void operator+=(const VectorClass& offset); offset 77 ui/gfx/geometry/rect_base.h void operator-=(const VectorClass& offset); offset 87 ui/gfx/geometry/rect_base_impl.h operator+=(const VectorClass& offset) { offset 88 ui/gfx/geometry/rect_base_impl.h origin_ += offset; offset 98 ui/gfx/geometry/rect_base_impl.h operator-=(const VectorClass& offset) { offset 99 ui/gfx/geometry/rect_base_impl.h origin_ -= offset; offset 488 ui/gfx/icon_util.cc size_t offset = sizeof(ICONDIR) + (sizeof(ICONDIRENTRY) * icon_dir_count); offset 490 ui/gfx/icon_util.cc ICONIMAGE* image = reinterpret_cast<ICONIMAGE*>(&buffer[offset]); offset 491 ui/gfx/icon_util.cc DCHECK_LT(offset, buffer_size); offset 493 ui/gfx/icon_util.cc SetSingleIconImageInformation(bitmaps[i], i, icon_dir, image, offset, offset 496 ui/gfx/icon_util.cc offset += icon_image_size; offset 507 ui/gfx/icon_util.cc entry->dwImageOffset = static_cast<DWORD>(offset); offset 508 ui/gfx/icon_util.cc memcpy(&buffer[offset], png_bytes->front(), png_bytes->size()); offset 509 ui/gfx/icon_util.cc offset += png_bytes->size(); offset 512 ui/gfx/icon_util.cc DCHECK_EQ(offset, buffer_size); offset 60 ui/gfx/ozone/dri/dri_skbitmap.cc map_request.offset); offset 313 ui/gfx/render_text.cc const SkScalar offset = SkScalarMulAdd(text_size, kStrikeThroughOffset, y); offset 314 ui/gfx/render_text.cc const SkRect r = SkRect::MakeLTRB(x, offset, x + width, offset + height); offset 337 ui/gfx/render_text.cc const SkScalar offset = SkScalarMul(text_size, kDiagonalStrikeMarginOffset); offset 340 ui/gfx/render_text.cc const int height = SkScalarCeilToInt(text_size - offset); offset 957 ui/gfx/render_text.cc Vector2d offset = display_rect().OffsetFromOrigin(); offset 960 ui/gfx/render_text.cc offset.Add(GetUpdatedDisplayOffset()); offset 962 ui/gfx/render_text.cc offset.Add(Vector2d(0, lines_[line_number].preceding_heights)); offset 963 ui/gfx/render_text.cc offset.Add(GetAlignmentOffset(line_number)); offset 964 ui/gfx/render_text.cc return offset; offset 1001 ui/gfx/render_text.cc const Vector2d offset = GetLineOffset(line); offset 1008 ui/gfx/render_text.cc rects.push_back(rect + offset); offset 1022 ui/gfx/render_text.cc Vector2d offset; offset 1030 ui/gfx/render_text.cc offset.set_x(display_rect().width() - width); offset 1032 ui/gfx/render_text.cc offset.set_x(offset.x() / 2); offset 1039 ui/gfx/render_text.cc offset.set_y((display_rect_.height() - text_height) / 2); offset 1041 ui/gfx/render_text.cc offset.set_y(GetBaseline() - GetLayoutTextBaseline()); offset 1044 ui/gfx/render_text.cc return offset; offset 1293 ui/gfx/render_text.cc const int offset = negate_rtl * display_offset_.x(); offset 1294 ui/gfx/render_text.cc if (display_width > (content_width + offset)) { offset 1295 ui/gfx/render_text.cc delta_x = negate_rtl * (display_width - (content_width + offset)); offset 273 ui/gfx/render_text_mac.cc run_origin.offset(run_width, 0); offset 337 ui/gfx/render_text_mac.cc run_origin.offset(run_width, 0); offset 129 ui/gfx/render_text_pango.cc const int start = LayoutIndexToTextIndex(item->offset); offset 130 ui/gfx/render_text_pango.cc const int end = LayoutIndexToTextIndex(item->offset + item->length); offset 163 ui/gfx/render_text_pango.cc if (caret < LayoutIndexToTextIndex(item->offset + item->length)) { offset 168 ui/gfx/render_text_pango.cc if (caret > LayoutIndexToTextIndex(item->offset)) { offset 252 ui/gfx/render_text_pango.cc ptrdiff_t offset = gfx::UTF16IndexToOffset(text(), 0, index); offset 254 ui/gfx/render_text_pango.cc offset = std::min<size_t>(offset, g_utf8_strlen(layout_text_, -1)); offset 255 ui/gfx/render_text_pango.cc const char* layout_pointer = g_utf8_offset_to_pointer(layout_text_, offset); offset 262 ui/gfx/render_text_pango.cc const long offset = g_utf8_pointer_to_offset(layout_text_, layout_pointer); offset 263 ui/gfx/render_text_pango.cc return gfx::UTF16OffsetToIndex(text(), 0, offset); offset 275 ui/gfx/render_text_pango.cc ptrdiff_t offset = gfx::UTF16IndexToOffset(text(), 0, position); offset 279 ui/gfx/render_text_pango.cc return (offset < num_log_attrs_ && log_attrs_[offset].is_cursor_position && offset 280 ui/gfx/render_text_pango.cc offset < g_utf8_strlen(layout_text_, -1)); offset 381 ui/gfx/render_text_pango.cc Vector2d offset(GetLineOffset(0) + Vector2d(0, GetLayoutTextBaseline())); offset 383 ui/gfx/render_text_pango.cc SkScalar x = SkIntToScalar(offset.x()); offset 384 ui/gfx/render_text_pango.cc SkScalar y = SkIntToScalar(offset.y()); offset 503 ui/gfx/render_text_pango.cc Range item_range(item->offset, item->offset + item->length); offset 514 ui/gfx/render_text_pango.cc LayoutIndexToTextIndex(item->offset), CURSOR_FORWARD); offset 521 ui/gfx/render_text_pango.cc LayoutIndexToTextIndex(item->offset + item->length), CURSOR_BACKWARD); offset 527 ui/gfx/render_text_pango.cc return LayoutIndexToTextIndex(run->item->offset + offset 1399 ui/gfx/render_text_unittest.cc Vector2d offset = render_text->GetLineOffset(0); offset 1400 ui/gfx/render_text_unittest.cc EXPECT_TRUE(offset.IsZero()); offset 1407 ui/gfx/render_text_unittest.cc offset = render_text->GetLineOffset(0); offset 1408 ui/gfx/render_text_unittest.cc EXPECT_EQ(0, offset.x()); offset 1412 ui/gfx/render_text_unittest.cc offset = render_text->GetLineOffset(0); offset 1413 ui/gfx/render_text_unittest.cc EXPECT_EQ(0, offset.x()); offset 1415 ui/gfx/render_text_unittest.cc offset = render_text->GetLineOffset(0); offset 1416 ui/gfx/render_text_unittest.cc EXPECT_EQ(kEnlargementX / 2, offset.x()); offset 1418 ui/gfx/render_text_unittest.cc offset = render_text->GetLineOffset(0); offset 1419 ui/gfx/render_text_unittest.cc EXPECT_EQ(kEnlargementX, offset.x()); offset 1428 ui/gfx/render_text_unittest.cc offset = render_text->GetLineOffset(0); offset 1429 ui/gfx/render_text_unittest.cc EXPECT_EQ(prev_offset.y() + kEnlargementY, offset.y()); offset 1447 ui/gfx/render_text_unittest.cc Vector2d offset = render_text->GetLineOffset(0); offset 1448 ui/gfx/render_text_unittest.cc EXPECT_EQ(kEnlargement, offset.x()); offset 20 ui/gfx/shadow_value.cc ShadowValue::ShadowValue(const gfx::Point& offset, offset 23 ui/gfx/shadow_value.cc : offset_(offset), offset 27 ui/gfx/shadow_value.h ShadowValue(const gfx::Point& offset, double blur, SkColor color); offset 32 ui/gfx/shadow_value.h const gfx::Point& offset() const { return offset_; } offset 35 ui/gfx/utf16_indexing.cc ptrdiff_t offset) { offset 42 ui/gfx/utf16_indexing.cc while (offset > 0 && pos < s.length()) offset 43 ui/gfx/utf16_indexing.cc offset -= IsValidCodePointIndex(s, pos++) ? 1 : 0; offset 44 ui/gfx/utf16_indexing.cc while (offset < 0 && pos > 0) offset 45 ui/gfx/utf16_indexing.cc offset += IsValidCodePointIndex(s, --pos) ? 1 : 0; offset 48 ui/gfx/utf16_indexing.cc DCHECK_EQ(offset, 0); offset 45 ui/gfx/utf16_indexing.h ptrdiff_t offset); offset 20 ui/gfx/utf16_indexing_unittest.cc ptrdiff_t offset = static_cast<ptrdiff_t>(j - i); offset 22 ui/gfx/utf16_indexing_unittest.cc --offset; offset 23 ui/gfx/utf16_indexing_unittest.cc EXPECT_EQ(offset, UTF16IndexToOffset(s, i, j)); offset 24 ui/gfx/utf16_indexing_unittest.cc EXPECT_EQ(-offset, UTF16IndexToOffset(s, j, i)); offset 26 ui/gfx/utf16_indexing_unittest.cc EXPECT_EQ(adjusted_j, UTF16OffsetToIndex(s, i, offset)); offset 28 ui/gfx/utf16_indexing_unittest.cc EXPECT_EQ(adjusted_i, UTF16OffsetToIndex(s, j, -offset)); offset 88 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, offset 90 ui/gl/gl_bindings_skia_in_process.cc glBufferSubData(target, offset, size, data); offset 80 ui/message_center/views/padded_button.cc gfx::Vector2d offset; offset 85 ui/message_center/views/padded_button.cc offset.set_x((bounds.width() - image.width()) / 2); // Center align. offset 87 ui/message_center/views/padded_button.cc offset.set_x(bounds.width() - image.width()); // Right align. offset 90 ui/message_center/views/padded_button.cc offset.set_y((bounds.height() - image.height()) / 2); // Middle align. offset 92 ui/message_center/views/padded_button.cc offset.set_y(bounds.height() - image.height()); // Bottom align. offset 94 ui/message_center/views/padded_button.cc return bounds.origin() + offset; offset 580 ui/native_theme/native_theme_base.cc shadowRect.offset(0, 1); offset 884 ui/views/accessibility/native_view_accessibility_win.cc STDMETHODIMP NativeViewAccessibilityWin::get_caretOffset(LONG* offset) { offset 888 ui/views/accessibility/native_view_accessibility_win.cc if (!offset) offset 893 ui/views/accessibility/native_view_accessibility_win.cc *offset = static_cast<LONG>(state.selection_end); offset 976 ui/views/accessibility/native_view_accessibility_win.cc LONG offset, offset 995 ui/views/accessibility/native_view_accessibility_win.cc text_str, boundary_type, offset, ui::BACKWARDS_DIRECTION); offset 997 ui/views/accessibility/native_view_accessibility_win.cc text_str, boundary_type, offset, ui::FORWARDS_DIRECTION); offset 1002 ui/views/accessibility/native_view_accessibility_win.cc LONG offset, offset 1021 ui/views/accessibility/native_view_accessibility_win.cc text_str, boundary_type, offset, ui::BACKWARDS_DIRECTION); offset 1022 ui/views/accessibility/native_view_accessibility_win.cc *end_offset = offset; offset 1027 ui/views/accessibility/native_view_accessibility_win.cc LONG offset, offset 1045 ui/views/accessibility/native_view_accessibility_win.cc *start_offset = offset; offset 1047 ui/views/accessibility/native_view_accessibility_win.cc text_str, boundary_type, offset, ui::FORWARDS_DIRECTION); offset 1052 ui/views/accessibility/native_view_accessibility_win.cc LONG x, LONG y, enum IA2CoordinateType coord_type, LONG* offset) { offset 1056 ui/views/accessibility/native_view_accessibility_win.cc if (!offset) offset 1061 ui/views/accessibility/native_view_accessibility_win.cc *offset = 0; offset 1355 ui/views/accessibility/native_view_accessibility_win.cc const base::string16& text, LONG* offset) { offset 1356 ui/views/accessibility/native_view_accessibility_win.cc if (*offset == IA2_TEXT_OFFSET_LENGTH) { offset 1357 ui/views/accessibility/native_view_accessibility_win.cc *offset = static_cast<LONG>(text.size()); offset 1358 ui/views/accessibility/native_view_accessibility_win.cc } else if (*offset == IA2_TEXT_OFFSET_CARET) { offset 1359 ui/views/accessibility/native_view_accessibility_win.cc get_caretOffset(offset); offset 215 ui/views/accessibility/native_view_accessibility_win.h STDMETHODIMP get_caretOffset(LONG* offset); offset 225 ui/views/accessibility/native_view_accessibility_win.h STDMETHODIMP get_textAtOffset(LONG offset, offset 230 ui/views/accessibility/native_view_accessibility_win.h STDMETHODIMP get_textBeforeOffset(LONG offset, offset 235 ui/views/accessibility/native_view_accessibility_win.h STDMETHODIMP get_textAfterOffset(LONG offset, offset 242 ui/views/accessibility/native_view_accessibility_win.h LONG* offset); offset 257 ui/views/accessibility/native_view_accessibility_win.h STDMETHODIMP get_attributes(LONG offset, offset 263 ui/views/accessibility/native_view_accessibility_win.h STDMETHODIMP get_characterExtents(LONG offset, offset 272 ui/views/accessibility/native_view_accessibility_win.h STDMETHODIMP setCaretOffset(LONG offset) { offset 381 ui/views/accessibility/native_view_accessibility_win.h void HandleSpecialTextOffset(const base::string16& text, LONG* offset); offset 305 ui/views/bubble/bubble_border.cc int offset = GetArrowOffset(bounds.size()); offset 311 ui/views/bubble/bubble_border.cc offset : bounds.width() - offset); offset 319 ui/views/bubble/bubble_border.cc offset : bounds.height() - offset); offset 144 ui/views/bubble/bubble_border.h void set_arrow_offset(int offset) { arrow_offset_ = offset; } offset 200 ui/views/controls/menu/menu_scroll_view_container.cc void MenuScrollViewContainer::SetBubbleArrowOffset(int offset) { offset 202 ui/views/controls/menu/menu_scroll_view_container.cc bubble_border_->set_arrow_offset(offset); offset 31 ui/views/controls/menu/menu_scroll_view_container.h void SetBubbleArrowOffset(int offset); offset 57 ui/views/controls/scrollbar/base_scroll_bar.cc int offset = contents_scroll_offset_; offset 60 ui/views/controls/scrollbar/base_scroll_bar.cc offset = GetMinPosition(); offset 63 ui/views/controls/scrollbar/base_scroll_bar.cc offset = GetMaxPosition(); offset 66 ui/views/controls/scrollbar/base_scroll_bar.cc offset -= GetScrollIncrement(false, false); offset 67 ui/views/controls/scrollbar/base_scroll_bar.cc offset = std::max(GetMinPosition(), offset); offset 70 ui/views/controls/scrollbar/base_scroll_bar.cc offset += GetScrollIncrement(false, true); offset 71 ui/views/controls/scrollbar/base_scroll_bar.cc offset = std::min(GetMaxPosition(), offset); offset 74 ui/views/controls/scrollbar/base_scroll_bar.cc offset -= GetScrollIncrement(true, false); offset 75 ui/views/controls/scrollbar/base_scroll_bar.cc offset = std::max(GetMinPosition(), offset); offset 78 ui/views/controls/scrollbar/base_scroll_bar.cc offset += GetScrollIncrement(true, true); offset 79 ui/views/controls/scrollbar/base_scroll_bar.cc offset = std::min(GetMaxPosition(), offset); offset 84 ui/views/controls/scrollbar/base_scroll_bar.cc contents_scroll_offset_ = offset; offset 410 ui/views/controls/table/table_view_unittest.cc int offset = 0; offset 412 ui/views/controls/table/table_view_unittest.cc for (; range_index < ranges_.size() && offset < model_index; ++range_index) offset 413 ui/views/controls/table/table_view_unittest.cc offset += ranges_[range_index]; offset 415 ui/views/controls/table/table_view_unittest.cc if (offset == model_index) { offset 419 ui/views/controls/table/table_view_unittest.cc range->start = offset - ranges_[range_index - 1]; offset 34 ui/views/round_rect_painter.cc skia_rect.offset(.5, .5); offset 1433 ui/views/view.cc gfx::Vector2d offset(GetMirroredX(), y()); offset 1436 ui/views/view.cc offset += parent_->CalculateOffsetToAncestorWithLayer(&parent_layer); offset 1438 ui/views/view.cc ReparentLayer(offset, parent_layer); offset 1473 ui/views/view.cc void View::UpdateChildLayerBounds(const gfx::Vector2d& offset) { offset 1475 ui/views/view.cc SetLayerBounds(GetLocalBounds() + offset); offset 1480 ui/views/view.cc offset + gfx::Vector2d(child->GetMirroredX(), child->y())); offset 2107 ui/views/view.cc void View::ReparentLayer(const gfx::Vector2d& offset, ui::Layer* parent_layer) { offset 2108 ui/views/view.cc layer()->SetBounds(GetLocalBounds() + offset); offset 1103 ui/views/view.h void UpdateChildLayerBounds(const gfx::Vector2d& offset); offset 1355 ui/views/view.h void ReparentLayer(const gfx::Vector2d& offset, ui::Layer* parent_layer); offset 218 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc gfx::Vector2dF offset) { offset 220 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc drag_offset_ = offset; offset 49 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h void SetDragImage(const gfx::ImageSkia& image, gfx::Vector2dF offset); offset 688 ui/views/widget/root_view.cc gfx::Vector2d offset(View::CalculateOffsetToAncestorWithLayer(layer_parent)); offset 691 ui/views/widget/root_view.cc return offset; offset 44 url/url_canon.h inline char at(int offset) const { offset 45 url/url_canon.h return buffer_[offset]; offset 50 url/url_canon.h inline void set(int offset, int ch) { offset 51 url/url_canon.h buffer_[offset] = ch; offset 107 url/url_canon_internal.h inline int IsDot(const CHAR* spec, int offset, int end) { offset 108 url/url_canon_internal.h if (spec[offset] == '.') { offset 110 url/url_canon_internal.h } else if (spec[offset] == '%' && offset + 3 <= end && offset 111 url/url_canon_internal.h spec[offset + 1] == '2' && offset 112 url/url_canon_internal.h (spec[offset + 2] == 'e' || spec[offset + 2] == 'E')) { offset 61 webkit/browser/appcache/appcache_disk_cache.cc virtual int Read(int index, int64 offset, net::IOBuffer* buf, int buf_len, offset 63 webkit/browser/appcache/appcache_disk_cache.cc if (offset < 0 || offset > kint32max) offset 68 webkit/browser/appcache/appcache_disk_cache.cc index, static_cast<int>(offset), buf, buf_len, callback); offset 71 webkit/browser/appcache/appcache_disk_cache.cc virtual int Write(int index, int64 offset, net::IOBuffer* buf, int buf_len, offset 73 webkit/browser/appcache/appcache_disk_cache.cc if (offset < 0 || offset > kint32max) offset 79 webkit/browser/appcache/appcache_disk_cache.cc index, static_cast<int>(offset), buf, buf_len, callback, kTruncate); offset 109 webkit/browser/appcache/appcache_response.cc void AppCacheResponseIO::ReadRaw(int index, int offset, offset 113 webkit/browser/appcache/appcache_response.cc index, offset, buf, buf_len, offset 120 webkit/browser/appcache/appcache_response.cc void AppCacheResponseIO::WriteRaw(int index, int offset, offset 124 webkit/browser/appcache/appcache_response.cc index, offset, buf, buf_len, offset 213 webkit/browser/appcache/appcache_response.cc void AppCacheResponseReader::SetReadRange(int offset, int length) { offset 215 webkit/browser/appcache/appcache_response.cc range_offset_ = offset; offset 76 webkit/browser/appcache/appcache_response.h virtual int Read(int index, int64 offset, net::IOBuffer* buf, int buf_len, offset 78 webkit/browser/appcache/appcache_response.h virtual int Write(int index, int64 offset, net::IOBuffer* buf, int buf_len, offset 113 webkit/browser/appcache/appcache_response.h void ReadRaw(int index, int offset, net::IOBuffer* buf, int buf_len); offset 114 webkit/browser/appcache/appcache_response.h void WriteRaw(int index, int offset, net::IOBuffer* buf, int buf_len); offset 169 webkit/browser/appcache/appcache_response.h void SetReadRange(int offset, int length); offset 318 webkit/browser/appcache/appcache_url_request_job.cc int offset = static_cast<int>(range_requested_.first_byte_position()); offset 323 webkit/browser/appcache/appcache_url_request_job.cc reader_->SetReadRange(offset, length); offset 149 webkit/browser/blob/blob_storage_context.cc DCHECK(!item.offset()); offset 157 webkit/browser/blob/blob_storage_context.cc item.offset(), offset 164 webkit/browser/blob/blob_storage_context.cc item.offset(), offset 173 webkit/browser/blob/blob_storage_context.cc item.offset(), offset 230 webkit/browser/blob/blob_storage_context.cc uint64 offset, uint64 length) { offset 236 webkit/browser/blob/blob_storage_context.cc if (offset) { offset 238 webkit/browser/blob/blob_storage_context.cc if (offset >= iter->length()) offset 239 webkit/browser/blob/blob_storage_context.cc offset -= iter->length(); offset 246 webkit/browser/blob/blob_storage_context.cc uint64 current_length = iter->length() - offset; offset 251 webkit/browser/blob/blob_storage_context.cc iter->bytes() + static_cast<size_t>(iter->offset() + offset), offset 258 webkit/browser/blob/blob_storage_context.cc iter->offset() + offset, offset 265 webkit/browser/blob/blob_storage_context.cc iter->offset() + offset, offset 270 webkit/browser/blob/blob_storage_context.cc offset = 0; offset 290 webkit/browser/blob/blob_storage_context.cc const base::FilePath& file_path, uint64 offset, uint64 length, offset 292 webkit/browser/blob/blob_storage_context.cc target_blob_data->AppendFile(file_path, offset, length, offset 304 webkit/browser/blob/blob_storage_context.cc const GURL& filesystem_url, uint64 offset, uint64 length, offset 306 webkit/browser/blob/blob_storage_context.cc target_blob_data->AppendFileSystemFile(filesystem_url, offset, length, offset 84 webkit/browser/blob/blob_storage_context.h uint64 offset, offset 90 webkit/browser/blob/blob_storage_context.h uint64 offset, uint64 length, offset 94 webkit/browser/blob/blob_storage_context.h const GURL& url, uint64 offset, uint64 length, offset 255 webkit/browser/blob/blob_url_request_job.cc uint64 item_offset = item.offset(); offset 281 webkit/browser/blob/blob_url_request_job.cc void BlobURLRequestJob::Seek(int64 offset) { offset 285 webkit/browser/blob/blob_url_request_job.cc offset >= item_length_list_[current_item_index_]; offset 287 webkit/browser/blob/blob_url_request_job.cc offset -= item_length_list_[current_item_index_]; offset 291 webkit/browser/blob/blob_url_request_job.cc current_item_offset_ = offset; offset 293 webkit/browser/blob/blob_url_request_job.cc if (offset == 0) offset 300 webkit/browser/blob/blob_url_request_job.cc CreateFileStreamReader(current_item_index_, offset); offset 368 webkit/browser/blob/blob_url_request_job.cc item.bytes() + item.offset() + current_item_offset_, offset 571 webkit/browser/blob/blob_url_request_job.cc item.offset() + additional_offset, offset 578 webkit/browser/blob/blob_url_request_job.cc item.offset() + additional_offset, offset 69 webkit/browser/blob/blob_url_request_job.h void Seek(int64 offset); offset 226 webkit/browser/blob/view_blob_internals_job.cc if (item.offset()) { offset 228 webkit/browser/blob/view_blob_internals_job.cc static_cast<int64>(item.offset()))), out); offset 105 webkit/browser/fileapi/file_system_backend.h int64 offset, offset 115 webkit/browser/fileapi/file_system_backend.h int64 offset, offset 396 webkit/browser/fileapi/file_system_context.cc int64 offset, offset 404 webkit/browser/fileapi/file_system_context.cc url, offset, expected_modification_time, this); offset 409 webkit/browser/fileapi/file_system_context.cc int64 offset) { offset 415 webkit/browser/fileapi/file_system_context.cc return backend->CreateFileStreamWriter(url, offset, this); offset 243 webkit/browser/fileapi/file_system_context.h int64 offset, offset 250 webkit/browser/fileapi/file_system_context.h int64 offset); offset 242 webkit/browser/fileapi/file_system_operation_runner.cc int64 offset, offset 256 webkit/browser/fileapi/file_system_operation_runner.cc file_system_context_->CreateFileStreamWriter(url, offset)); offset 115 webkit/browser/fileapi/file_system_operation_runner.h int64 offset, offset 112 webkit/browser/fileapi/isolated_file_system_backend.cc int64 offset, offset 118 webkit/browser/fileapi/isolated_file_system_backend.cc url.path(), offset, expected_modification_time)); offset 123 webkit/browser/fileapi/isolated_file_system_backend.cc int64 offset, offset 129 webkit/browser/fileapi/isolated_file_system_backend.cc offset, offset 37 webkit/browser/fileapi/isolated_file_system_backend.h int64 offset, offset 42 webkit/browser/fileapi/isolated_file_system_backend.h int64 offset, offset 82 webkit/browser/fileapi/local_file_stream_writer_unittest.cc int64 offset) { offset 83 webkit/browser/fileapi/local_file_stream_writer_unittest.cc return new LocalFileStreamWriter(file_task_runner(), path, offset, offset 189 webkit/browser/fileapi/plugin_private_file_system_backend.cc int64 offset, offset 198 webkit/browser/fileapi/plugin_private_file_system_backend.cc int64 offset, offset 78 webkit/browser/fileapi/plugin_private_file_system_backend.h int64 offset, offset 83 webkit/browser/fileapi/plugin_private_file_system_backend.h int64 offset, offset 16 webkit/browser/fileapi/quota/open_file_handle.cc void OpenFileHandle::UpdateMaxWrittenOffset(int64 offset) { offset 19 webkit/browser/fileapi/quota/open_file_handle.cc int64 growth = context_->UpdateMaxWrittenOffset(offset); offset 34 webkit/browser/fileapi/quota/open_file_handle.h void UpdateMaxWrittenOffset(int64 offset); offset 26 webkit/browser/fileapi/quota/open_file_handle_context.cc int64 OpenFileHandleContext::UpdateMaxWrittenOffset(int64 offset) { offset 28 webkit/browser/fileapi/quota/open_file_handle_context.cc if (offset <= maximum_written_offset_) offset 31 webkit/browser/fileapi/quota/open_file_handle_context.cc int64 growth = offset - maximum_written_offset_; offset 32 webkit/browser/fileapi/quota/open_file_handle_context.cc maximum_written_offset_ = offset; offset 33 webkit/browser/fileapi/quota/open_file_handle_context.h int64 UpdateMaxWrittenOffset(int64 offset); offset 22 webkit/browser/fileapi/sandbox_database_test_helper.cc ptrdiff_t offset, offset 53 webkit/browser/fileapi/sandbox_database_test_helper.cc if (offset < 0) offset 54 webkit/browser/fileapi/sandbox_database_test_helper.cc offset += file_info.size; offset 55 webkit/browser/fileapi/sandbox_database_test_helper.cc EXPECT_GE(offset, 0); offset 56 webkit/browser/fileapi/sandbox_database_test_helper.cc EXPECT_LE(offset, file_info.size); offset 58 webkit/browser/fileapi/sandbox_database_test_helper.cc size = std::min(size, static_cast<size_t>(file_info.size - offset)); offset 61 webkit/browser/fileapi/sandbox_database_test_helper.cc int read_size = file.Read(offset, vector_as_array(&buf), buf.size()); offset 69 webkit/browser/fileapi/sandbox_database_test_helper.cc int written_size = file.Write(offset, vector_as_array(&buf), buf.size()); offset 20 webkit/browser/fileapi/sandbox_database_test_helper.h ptrdiff_t offset, offset 129 webkit/browser/fileapi/sandbox_file_system_backend.cc int64 offset, offset 135 webkit/browser/fileapi/sandbox_file_system_backend.cc url, offset, expected_modification_time, context); offset 141 webkit/browser/fileapi/sandbox_file_system_backend.cc int64 offset, offset 145 webkit/browser/fileapi/sandbox_file_system_backend.cc return delegate_->CreateFileStreamWriter(url, offset, context, url.type()); offset 51 webkit/browser/fileapi/sandbox_file_system_backend.h int64 offset, offset 56 webkit/browser/fileapi/sandbox_file_system_backend.h int64 offset, offset 302 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc int64 offset, offset 309 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc context, url, offset, expected_modification_time)); offset 315 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc int64 offset, offset 323 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc new SandboxFileStreamWriter(context, url, offset, *observers)); offset 119 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h int64 offset, offset 124 webkit/browser/fileapi/sandbox_file_system_backend_delegate.h int64 offset, offset 160 webkit/child/multipart_response_delegate.cc int offset = PushOverLine(data_, boundary_end_pos); offset 161 webkit/child/multipart_response_delegate.cc data_ = data_.substr(boundary_end_pos + offset); offset 202 webkit/child/multipart_response_delegate.cc int offset = 0; offset 204 webkit/child/multipart_response_delegate.cc ++offset; offset 206 webkit/child/multipart_response_delegate.cc ++offset; offset 208 webkit/child/multipart_response_delegate.cc return offset; offset 28 webkit/common/blob/blob_data.cc uint64 offset, uint64 length, offset 32 webkit/common/blob/blob_data.cc items_.back().SetToFilePathRange(file_path, offset, length, offset 37 webkit/common/blob/blob_data.cc uint64 offset, uint64 length) { offset 40 webkit/common/blob/blob_data.cc items_.back().SetToBlobRange(uuid, offset, length); offset 44 webkit/common/blob/blob_data.cc const GURL& url, uint64 offset, offset 49 webkit/common/blob/blob_data.cc items_.back().SetToFileSystemUrlRange(url, offset, length, offset 37 webkit/common/blob/blob_data.h void AppendFile(const base::FilePath& file_path, uint64 offset, uint64 length, offset 39 webkit/common/blob/blob_data.h void AppendBlob(const std::string& uuid, uint64 offset, uint64 length); offset 40 webkit/common/blob/blob_data.h void AppendFileSystemFile(const GURL& url, uint64 offset, uint64 length, offset 20 webkit/common/data_element.cc uint64 offset, uint64 length, offset 24 webkit/common/data_element.cc offset_ = offset; offset 31 webkit/common/data_element.cc uint64 offset, uint64 length) { offset 34 webkit/common/data_element.cc offset_ = offset; offset 40 webkit/common/data_element.cc uint64 offset, uint64 length, offset 44 webkit/common/data_element.cc offset_ = offset; offset 40 webkit/common/data_element.h uint64 offset() const { return offset_; } offset 73 webkit/common/data_element.h uint64 offset, uint64 length, offset 78 webkit/common/data_element.h uint64 offset, uint64 length); offset 82 webkit/common/data_element.h uint64 offset, uint64 length, offset 100 webkit/common/data_element.h a.offset() != b.offset() || offset 366 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc WGC3Dintptr offset, offset 370 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc return gl_->MapBufferSubDataCHROMIUM(target, offset, size, access); offset 542 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc WGC3Dintptr offset) { offset 546 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc reinterpret_cast<void*>(static_cast<intptr_t>(offset))); offset 964 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc WGC3Dsizei stride, WGC3Dintptr offset) { offset 968 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc reinterpret_cast<void*>(static_cast<intptr_t>(offset))); offset 108 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h virtual void bufferSubData(WGC3Denum target, WGC3Dintptr offset, offset 165 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dintptr offset); offset 394 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dintptr offset); offset 429 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Denum target, WGC3Dintptr offset, offset 61 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc void WebFilterOperationsImpl::appendDropShadowFilter(blink::WebPoint offset, offset 65 webkit/renderer/compositor_bindings/web_filter_operations_impl.cc offset, std_deviation, color)); offset 31 webkit/renderer/compositor_bindings/web_filter_operations_impl.h virtual void appendDropShadowFilter(blink::WebPoint offset,