Home
last modified time | relevance | path

Searched refs:target_index (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/browser/safe_browsing/
Dprefix_set.cc280 size_t PrefixSet::IndexBinFor(size_t target_index) const { in IndexBinFor()
294 if (target_index < i + index_[i].second) { in IndexBinFor()
309 bool PrefixSet::IsDeltaAt(size_t target_index) const { in IsDeltaAt()
310 CHECK_LT(target_index, GetSize()); in IsDeltaAt()
312 const size_t i = IndexBinFor(target_index); in IsDeltaAt()
313 return target_index > i + index_[i].second; in IsDeltaAt()
316 uint16 PrefixSet::DeltaAt(size_t target_index) const { in DeltaAt()
317 CHECK_LT(target_index, GetSize()); in DeltaAt()
320 const size_t i = IndexBinFor(target_index); in DeltaAt()
323 CHECK_GT(target_index, i + index_[i].second); in DeltaAt()
[all …]
Dprefix_set.h80 size_t IndexBinFor(size_t target_index) const;
87 bool IsDeltaAt(size_t target_index) const;
91 uint16 DeltaAt(size_t target_index) const;
/external/chromium/chrome/browser/tabs/
Dtab_strip_model.cc1281 int target_index = index + count_before_index; in MoveSelectedTabsToImpl() local
1286 target_index - 1, false); in MoveSelectedTabsToImpl()
1293 if (selection_model_.selected_indices()[tab_index] != target_index) { in MoveSelectedTabsToImpl()
1295 target_index, false); in MoveSelectedTabsToImpl()
1298 target_index++; in MoveSelectedTabsToImpl()
Dtab_strip_model_unittest.cc2111 const int target_index; in TEST_F() member
2156 strip.MoveSelectedTabsTo(test_data[i].target_index); in TEST_F()