Searched refs:index_ (Results 1 - 25 of 86) sorted by relevance

1234

/external/chromium/chrome/browser/safe_browsing/
H A Dprefix_set.cc47 index_.push_back(std::make_pair(prev_prefix, deltas_.size()));
72 index_.push_back(std::make_pair(sorted_prefixes[i], deltas_.size()));
89 const size_t bits_used = index_.size() * sizeof(index_[0]) * CHAR_BIT +
91 const size_t unique_prefixes = index_.size() + deltas_.size();
102 index_.swap(*index);
109 if (index_.empty())
112 // Find the first position after |prefix| in |index_|.
114 iter = std::upper_bound(index_.begin(), index_
[all...]
H A Dprefix_set.h12 // A pair {20, 0} in |index_|.
14 // A pair {150000, 3} in |index_|.
16 // |index_.size()| will be 2, |deltas_.size()| will be 4.
43 // 4 byte |index_.size()|
45 // n * 8 byte |&index_[0]..&index_[n]|
86 // |index_| array.
93 // Check whether |index_| and |deltas_| still match the CRC
112 std::vector<std::pair<SBPrefix,size_t> > index_; member in class:safe_browsing::PrefixSet
114 // Deltas which are added to the prefix in |index_| t
[all...]
/external/chromium/chrome/browser/sessions/
H A Dsession_types.cc17 index_(-1) {
32 index_(index) {
42 index_(tab.index_) {
55 index_ = tab.index_;
H A Dsession_types.h82 void set_index(int index) { index_ = index; }
83 int index() const { return index_; }
95 int index_; member in class:TabNavigation
/external/chromium/chrome/browser/chromeos/
H A Dwm_overview_snapshot.h28 int index() const { return index_; }
49 int index_; member in class:chromeos::WmOverviewSnapshot
H A Dwm_overview_snapshot.cc28 index_(-1),
54 index_ = index;
/external/v8/src/
H A Ddateparser.h75 : index_(0),
81 int position() { return index_; }
85 ch_ = (index_ < buffer_.length()) ? buffer_[index_] : 0;
86 index_++;
154 int index_; member in class:v8::internal::DateParser::BASE_EMBEDDED
334 TimeComposer() : index_(0), hour_offset_(kNone) {}
335 bool IsEmpty() const { return index_ == 0; }
337 return (index_ == 1 && IsMinute(n)) ||
338 (index_
[all...]
H A Dutils-inl.h42 index_ = 0;
H A Ddateparser.cc36 if (index_ < 1) return false;
38 while (index_ < kSize) {
39 comp_[index_++] = 1;
47 if (is_iso_date_ || (index_ == 3 && !IsDay(comp_[0]))) {
56 if (index_ == 3) year = comp_[2];
60 if (index_ == 1) {
90 while (index_ < kSize) {
91 comp_[index_++] = 0;
H A Dvariables.h154 int index() const { return index_; }
162 index_ = index;
173 int index_; member in class:v8::internal::Variable
/external/chromium/chrome/browser/ui/views/extensions/
H A Dbrowser_action_drag_data.cc16 : profile_id_(0), index_(-1) {
21 : profile_id_(0), id_(id), index_(index) {
71 pickle->WriteSize(index_);
85 if (!pickle->ReadSize(&data_iterator, &index_))
H A Dbrowser_action_drag_data.h29 size_t index() const { return index_; }
55 size_t index_; member in class:BrowserActionDragData
/external/chromium/chrome/browser/history/
H A Din_memory_history_backend.cc34 if (index_.get())
35 index_->ShutDown();
48 index_.reset(new InMemoryURLIndex(history_dir));
50 index_->Init(db, languages);
136 if (index_.get())
137 index_->UpdateURL(id, *i);
150 if (index_.get())
151 index_->ReloadFromHistory(db_.get(), true);
163 if (index_.get())
164 index_
[all...]
H A Din_memory_history_backend.h74 history::InMemoryURLIndex* InMemoryIndex() const { return index_.get(); }
100 scoped_ptr<history::InMemoryURLIndex> index_; member in class:history::InMemoryHistoryBackend
/external/openfst/src/include/fst/
H A Dstate-reachable.h58 index_(state2index->empty() ? 1 : -1),
74 if (index_ < 0) { // Use state2index_ map to set index
89 intervals->push_back(Interval(index_, index_ + 1));
90 (*state2index_)[s] = index_++;
113 if (index_ >= 0 && fst_.Final(s) != Weight::Zero()) {
115 (*intervals)[0].end = index_; // Update tree interval end
130 I index_; member in class:fst::IntervalReachVisitor
/external/chromium/base/
H A Dobserver_list.h83 index_(0),
99 while (index_ < max_index && !observers[index_])
100 ++index_;
101 return index_ < max_index ? observers[index_++] : NULL;
106 size_t index_; member in class:ObserverListBase::Iterator
/external/regex-re2/util/
H A Dsparse_array.h66 // For indices present in the array, dense_[sparse_to_dense_[i]].index_ == i.
74 // dense_[sparse_to_dense_[i]].index_ == i.
244 IndexValue(int index, const Value& value) : second(value), index_(index) {}
246 int index() const { return index_; }
254 int index_; member in class:re2::SparseArray::IndexValue
301 dense_[sparse_to_dense_[i]].index_ == i;
324 if (has_index(new_value.index_)) {
325 p = make_pair(dense_.begin() + sparse_to_dense_[new_value.index_], false);
327 p = make_pair(set_new(new_value.index_, new_value.second), true);
402 sparse_to_dense_[dense_[di].index_]
[all...]
/external/chromium/base/win/
H A Dregistry.h121 int Index() const { return index_; }
131 int index_; member in class:base::win::RegistryValueIterator
158 int Index() const { return index_; }
168 int index_; member in class:base::win::RegistryKeyIterator
/external/chromium/chrome/browser/
H A Djumplist_win.h43 ShellLinkItem() : index_(0), favicon_(false) {
49 int index() const { return index_; }
62 index_ = index;
79 int index_; member in class:ShellLinkItem
/external/chromium/chrome/browser/bookmarks/
H A Dbookmark_index.cc161 Index::const_iterator i = index_.lower_bound(term);
162 if (i == index_.end())
180 while (i != index_.end() &&
192 while (i != index_.end() &&
252 if (std::find(index_[term].begin(), index_[term].end(), node) !=
253 index_[term].end()) {
257 index_[term].insert(node);
262 Index::iterator i = index_.find(term);
263 if (i == index_
[all...]
H A Dbookmark_folder_editor_controller.cc38 index_(index),
67 model_->AddFolder(node_, index_, WideToUTF16Hack(text));
H A Dbookmark_storage.h43 BookmarkIndex* index() { return index_.get(); }
44 BookmarkIndex* release_index() { return index_.release(); }
69 scoped_ptr<BookmarkIndex> index_; member in class:BookmarkLoadDetails
H A Dbookmark_folder_editor_controller.h61 int index_; member in class:BookmarkFolderEditorController
/external/chromium/chrome/browser/instant/
H A Dinstant_unload_handler.cc24 index_(index) {
39 int index() const { return index_; }
79 const int index_; member in class:InstantUnloadHandler::TabContentsDelegateImpl
/external/chromium/webkit/glue/
H A Dwebmenurunner_mac.h32 int index_; variable

Completed in 5056 milliseconds

1234