/external/chromium/chrome/browser/history/ |
H A D | in_memory_url_index.h | 48 TermMatch(int term_num, size_t offset, size_t length) argument 50 offset(offset), 54 size_t offset; // The starting offset of the substring match. member in struct:history::TermMatch
|
H A D | snippet.cc | 25 // Combines all pairs after offset in match_positions that are contained 26 // or touch the pair at offset. 27 void CoalescePositionsFrom(size_t offset, argument 29 DCHECK(offset < match_positions->size()); 30 Snippet::MatchPosition& pair((*match_positions)[offset]); 31 ++offset; 32 while (offset < match_positions->size() && 33 pair.second >= (*match_positions)[offset].first) { 34 pair.second = std::max(pair.second, (*match_positions)[offset].second); 35 match_positions->erase(match_positions->begin() + offset); 105 AdvanceAndReturnUTF16Pos(const char* utf8_string, int32_t utf8_length, int32_t offset, int32_t* utf8_pos, size_t* utf16_pos) argument [all...] |
/external/chromium/chrome/browser/net/ |
H A D | passive_log_collector.cc | 296 int offset, uint32 source_id) { 297 DCHECK(offset == -1 || offset == 1) << "invalid offset: " << offset; 310 info.reference_count += offset; 321 if (info.reference_count == 1 && offset == 1) { 295 AdjustReferenceCountForSource( int offset, uint32 source_id) argument
|
H A D | url_fixer_upper.cc | 441 const int offset = -static_cast<int>(inserted_text.length()); local 442 OffsetComponent(offset, &parts->scheme); 443 OffsetComponent(offset, &parts->username); 444 OffsetComponent(offset, &parts->password); 445 OffsetComponent(offset, &parts->host); 446 OffsetComponent(offset, &parts->port); 447 OffsetComponent(offset, &parts->path); 448 OffsetComponent(offset, &parts->query); 449 OffsetComponent(offset, &parts->ref); 584 void URLFixerUpper::OffsetComponent(int offset, url_pars argument [all...] |
/external/chromium/chrome/browser/notifications/ |
H A D | balloon_collection_impl.cc | 57 new_balloon->set_offset(base_.balloons()[count - 1]->offset()); 116 gfx::Point offset; local 123 offset.set_y((source)->offset().y() - (*it)->offset().y() + 128 (*it)->add_offset(offset); 132 // Start listening for UI events so we cancel the offset when the mouse
|
/external/chromium/chrome/browser/safe_browsing/ |
H A D | prefix_set_unittest.cc | 84 // Helper function to read the int32 value at |offset|, increment it 87 static void IncrementIntAt(FILE* fp, long offset, int inc) { argument 90 ASSERT_NE(-1, fseek(fp, offset, SEEK_SET)); 95 ASSERT_NE(-1, fseek(fp, offset, SEEK_SET)); 128 // Open |filename| and increment the int32 at |offset| by |inc|. 130 void ModifyAndCleanChecksum(const FilePath& filename, long offset, int inc) { argument 135 IncrementIntAt(file.get(), offset, inc);
|
H A D | protocol_parser.cc | 61 int offset; local 72 offset = static_cast<int>(line.size()) + 1; 73 data += offset; 74 length -= offset; 84 offset = static_cast<int>(line.size()) + 1; 85 data += offset; 86 length -= offset;
|
/external/chromium/chrome/browser/sync/notifier/ |
H A D | registration_manager_unittest.cc | 122 base::TimeDelta offset = local 127 static_cast<int64>(expected_delay_seconds)) + offset;
|
/external/chromium/chrome/browser/ui/touch/tabs/ |
H A D | touch_tab.cc | 136 int offset = GetMirroredX() + background_offset_.x(); local 150 *tab_bg, offset, 0, tab_image->l_width, image_height); 157 offset + width() - tab_image->r_width, 0, 166 offset + tab_image->l_width,
|
/external/chromium/chrome/browser/ui/webui/ |
H A D | chrome_url_data_manager_backend.cc | 59 int offset = parsed.CountCharactersBefore(url_parse::Parsed::PATH, false) + 1; local 61 if (offset < static_cast<int>(spec.size())) 62 path->assign(spec.substr(offset)); 105 // The current offset into the data that we're handing off to our
|
/external/chromium/chrome/browser/ui/webui/options/chromeos/ |
H A D | system_settings_provider.cc | 248 // Instead of using the raw_offset, use the offset in effect now. 249 // For instance, US Pacific Time, the offset shown will be -7 in summer 256 int offset = raw_offset + dst_offset; local 257 // offset is in msec. 258 int minute_offset = std::abs(offset) / 60000; 261 // Some timezones have a non-integral hour offset. So, we need to 263 std::string offset_str = base::StringPrintf(offset >= 0 ?
|
/external/chromium/googleurl/src/ |
H A D | url_canon_internal.h | 125 inline int IsDot(const CHAR* spec, int offset, int end) { argument 126 if (spec[offset] == '.') { 128 } else if (spec[offset] == '%' && offset + 3 <= end && 129 spec[offset + 1] == '2' && 130 (spec[offset + 2] == 'e' || spec[offset + 2] == 'E')) {
|
/external/chromium/net/base/ |
H A D | escape.cc | 170 // Make offset adjustment. 386 void AdjustEncodingOffset::operator()(size_t& offset) { argument 387 // For each encoded character occurring before an offset subtract 2. 388 if (offset == string16::npos) 390 size_t adjusted_offset = offset; 394 if (offset <= location) { 395 offset = adjusted_offset; 398 if (offset <= (location + 2)) { 399 offset = string16::npos; 404 offset [all...] |
H A D | file_stream_posix.cc | 328 int64 FileStream::Seek(Whence whence, int64 offset) { argument 337 off_t res = lseek(file_, static_cast<off_t>(offset),
|
H A D | file_stream_unittest.cc | 494 int64 offset = stream.Seek(FROM_END, 0); local 495 EXPECT_EQ(offset, file_size); 500 offset = stream.Seek(FROM_BEGIN, 0); 501 EXPECT_EQ(0, offset); 598 int64 offset = stream.Seek(FROM_END, 0); local 599 EXPECT_EQ(offset, file_size); 618 offset = stream.Seek(FROM_BEGIN, 0); 619 EXPECT_EQ(0, offset); 748 int64 offset = stream.Seek(FROM_END, 0); local 749 EXPECT_EQ(offset, file_siz 850 int64 offset = stream.Seek(FROM_END, 0); local [all...] |
H A D | file_stream_win.cc | 23 static void SetOffset(OVERLAPPED* overlapped, const LARGE_INTEGER& offset) { argument 24 overlapped->Offset = offset.LowPart; 25 overlapped->OffsetHigh = offset.HighPart; 29 LARGE_INTEGER offset; local 30 offset.LowPart = overlapped->Offset; 31 offset.HighPart = overlapped->OffsetHigh; 32 offset.QuadPart += static_cast<LONGLONG>(count); 33 SetOffset(overlapped, offset); 183 int64 FileStream::Seek(Whence whence, int64 offset) { argument 189 distance.QuadPart = offset; [all...] |
H A D | upload_data.h | 80 uint64 offset, uint64 length, 84 file_range_offset_ = offset; 150 uint64 offset, uint64 length, 79 SetToFilePathRange(const FilePath& path, uint64 offset, uint64 length, const base::Time& expected_modification_time) argument
|
/external/chromium/net/disk_cache/ |
H A D | bitmap.cc | 174 int offset = begin & (kIntBits - 1); local 186 if (this_word >> offset) 188 offset = 0; 203 const uint32 mask = ((2 << (last_offset - offset)) - 1) << offset; 300 int offset = start % kIntBits; local 303 to_add = (~to_add) << offset;
|
H A D | disk_cache_test_base.cc | 148 int offset, net::IOBuffer* buf, int len) { 150 int rv = entry->ReadData(index, offset, buf, len, &cb); 156 int offset, net::IOBuffer* buf, int len, 159 int rv = entry->WriteData(index, offset, buf, len, &cb, truncate); 164 int64 offset, net::IOBuffer* buf, 167 int rv = entry->ReadSparseData(offset, buf, len, &cb); 172 int64 offset, 175 int rv = entry->WriteSparseData(offset, buf, len, &cb); 147 ReadData(disk_cache::Entry* entry, int index, int offset, net::IOBuffer* buf, int len) argument 155 WriteData(disk_cache::Entry* entry, int index, int offset, net::IOBuffer* buf, int len, bool truncate) argument 163 ReadSparseData(disk_cache::Entry* entry, int64 offset, net::IOBuffer* buf, int len) argument 171 WriteSparseData(disk_cache::Entry* entry, int64 offset, net::IOBuffer* buf, int len) argument
|
H A D | file_posix.cc | 27 size_t offset, disk_cache::FileIOCallback* callback, 30 buf_(buf), buf_len_(buf_len), offset_(offset) { 73 size_t offset, disk_cache::FileIOCallback* callback); 75 size_t offset, disk_cache::FileIOCallback* callback); 112 size_t offset, disk_cache::FileIOCallback *callback) { 114 new FileBackgroundIO(file, buf, buf_len, offset, callback, this)); 123 size_t buf_len, size_t offset, 126 new FileBackgroundIO(file, buf, buf_len, offset, callback, this)); 203 bool File::Read(void* buffer, size_t buffer_len, size_t offset) { argument 205 if (buffer_len > ULONG_MAX || offset > LONG_MA 26 FileBackgroundIO(disk_cache::File* file, const void* buf, size_t buf_len, size_t offset, disk_cache::FileIOCallback* callback, disk_cache::InFlightIO* controller) argument 111 PostRead(disk_cache::File *file, void* buf, size_t buf_len, size_t offset, disk_cache::FileIOCallback *callback) argument 122 PostWrite(disk_cache::File* file, const void* buf, size_t buf_len, size_t offset, disk_cache::FileIOCallback* callback) argument 212 Write(const void* buffer, size_t buffer_len, size_t offset) argument 224 Read(void* buffer, size_t buffer_len, size_t offset, FileIOCallback* callback, bool* completed) argument 242 Write(const void* buffer, size_t buffer_len, size_t offset, FileIOCallback* callback, bool* completed) argument 281 AsyncWrite(const void* buffer, size_t buffer_len, size_t offset, FileIOCallback* callback, bool* completed) argument [all...] |
H A D | in_flight_backend_io.cc | 127 void BackendIO::ReadData(EntryImpl* entry, int index, int offset, argument 132 offset_ = offset; 137 void BackendIO::WriteData(EntryImpl* entry, int index, int offset, argument 142 offset_ = offset; 148 void BackendIO::ReadSparseData(EntryImpl* entry, int64 offset, argument 152 offset64_ = offset; 157 void BackendIO::WriteSparseData(EntryImpl* entry, int64 offset, argument 161 offset64_ = offset; 166 void BackendIO::GetAvailableRange(EntryImpl* entry, int64 offset, int len, argument 170 offset64_ = offset; 385 ReadData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, int buf_len, CompletionCallback* callback) argument 393 WriteData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, int buf_len, bool truncate, CompletionCallback* callback) argument 402 ReadSparseData(EntryImpl* entry, int64 offset, net::IOBuffer* buf, int buf_len, CompletionCallback* callback) argument 410 WriteSparseData(EntryImpl* entry, int64 offset, net::IOBuffer* buf, int buf_len, CompletionCallback* callback) argument 418 GetAvailableRange(EntryImpl* entry, int64 offset, int len, int64* start, CompletionCallback* callback) argument [all...] |
/external/chromium/net/http/ |
H A D | partial_data.cc | 53 int GetAvailableRange(disk_cache::Entry* entry, int64 offset, int len, 90 int PartialData::Core::GetAvailableRange(disk_cache::Entry* entry, int64 offset, argument 92 int rv = entry->GetAvailableRange(offset, len, &start_, &callback_);
|
/external/chromium/net/url_request/ |
H A D | view_cache_helper.cc | 29 int offset = 0; local 33 base::StringAppendF(result, "%08x: ", offset); 34 offset += kMaxRows;
|
/external/chromium/webkit/glue/ |
H A D | multipart_response_delegate.cc | 160 int offset = PushOverLine(data_, boundary_end_pos); local 161 data_ = data_.substr(boundary_end_pos + offset); 202 int offset = 0; local 204 ++offset; 206 ++offset; 208 return offset;
|
/external/clang/lib/CodeGen/ |
H A D | CGCXXABI.cpp | 109 CharUnits offset) { 108 EmitMemberDataPointer(const MemberPointerType *MPT, CharUnits offset) argument
|