Home
last modified time | relevance | path

Searched refs:dense_ (Results 1 – 2 of 2) sorted by relevance

/external/regex-re2/util/
Dsparse_set.h57 … : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(NULL), valgrind_(RunningOnValgrind()) {} in SparseSet()
62 dense_ = new int[max_size]; in SparseSet()
68 dense_[i] = 0xababababU; in SparseSet()
77 delete[] dense_; in ~SparseSet()
84 iterator begin() { return dense_; } in begin()
85 iterator end() { return dense_ + size_; } in end()
86 const_iterator begin() const { return dense_; } in begin()
87 const_iterator end() const { return dense_ + size_; } in end()
107 if (dense_) { in resize()
108 memmove(a, dense_, size_*sizeof a[0]); in resize()
[all …]
Dsparse_array.h122 return dense_.begin(); in begin()
125 return dense_.begin() + size_; in end()
129 return dense_.begin(); in begin()
132 return dense_.begin() + size_; in end()
226 vector<IndexValue> dense_; variable
234 : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(), valgrind_(RunningOnValgrind()) {} in SparseArray()
263 return dense_[i]; in iv()
284 dense_.resize(new_max_size); in resize()
302 dense_[sparse_to_dense_[i]].index_ == i; in has_index()
326 p = make_pair(dense_.begin() + sparse_to_dense_[new_value.index_], false); in insert()
[all …]