Home
last modified time | relevance | path

Searched refs:elements_ (Results 1 – 9 of 9) sorted by relevance

/external/protobuf/src/google/protobuf/
Drepeated_field.cc48 void** old_elements = elements_; in Reserve()
51 elements_ = new void*[total_size_]; in Reserve()
53 memcpy(elements_, old_elements, allocated_size_ * sizeof(elements_[0])); in Reserve()
60 void** swap_elements = elements_; in Swap()
65 elements_ = other->elements_; in Swap()
70 other->elements_ = swap_elements; in Swap()
Drepeated_field.h201 Element* elements_; variable
296 elements_[i - num] = elements_[i]; in CloseGap()
342 void** elements_; variable
581 : elements_(NULL), in RepeatedField()
588 : elements_(NULL), in RepeatedField()
597 : elements_(NULL), in RepeatedField()
615 delete [] elements_; in ~RepeatedField()
644 elements_[current_size_++] = value; in AddAlreadyReserved()
650 return &elements_[current_size_++]; in AddAlreadyReserved()
658 std::fill(&elements_[current_size_], &elements_[new_size], value); in Resize()
[all …]
/external/v8/src/heap/
Dgc-tracer.h20 const_iterator() : index_(0), elements_(NULL) {} in const_iterator()
23 : index_(index), elements_(elements) {} in const_iterator()
26 return elements_ == rhs.elements_ && index_ == rhs.index_;
30 return elements_ != rhs.elements_ || index_ != rhs.index_;
33 operator const T*() const { return elements_ + index_; }
35 const T* operator->() const { return elements_ + index_; }
37 const T& operator*() const { return elements_[index_]; }
51 const T* elements_; variable
60 const_iterator begin() const { return const_iterator(begin_, elements_); } in begin()
61 const_iterator end() const { return const_iterator(end_, elements_); } in end()
[all …]
/external/openfst/src/include/fst/
Dpartition.h62 for (size_t i = 0; i < elements_.size(); ++i) in ~Partition()
63 delete elements_[i]; in ~Partition() local
72 for (size_t i = 0; i < elements_.size(); ++i) in Initialize()
73 delete elements_[i]; in Initialize() local
74 elements_.clear(); in Initialize()
78 elements_.resize(num_states); in Initialize()
82 elements_[i] = new Element(i); in Initialize()
108 Element* element = elements_[element_id]; in Add()
125 Element* element = elements_[element_id]; in Move()
149 if (class_split_[class_id] == elements_[element_id]) in SplitOn()
[all …]
Ddeterminize.h202 subsets_(table_size_, new SubsetKey(), new SubsetEqual(&elements_)) { } in table_size_()
206 subsets_(table_size_, new SubsetKey(), new SubsetEqual(&elements_)) { } in DefaultDeterminizeStateTable()
239 : elements_(elements) {} in SubsetEqual()
258 while (elements_->size() <= element1.state_id) in operator()
259 elements_->push_back(0); in operator()
260 (*elements_)[element1.state_id] = &element1; in operator()
268 while (elements_->size() <= element2.state_id) in operator()
269 elements_->push_back(0); in operator()
270 Element *element1 = (*elements_)[element2.state_id]; in operator()
276 (*elements_)[iter1->state_id] = 0; in operator()
[all …]
Dfactor-weight.h232 const Element &e = elements_[s]; in Final()
287 unfactored_[e.state] = elements_.size(); in FindState()
288 elements_.push_back(e); in FindState()
296 StateId s = elements_.size(); in FindState()
297 elements_.push_back(e); in FindState()
307 Element e = elements_[s]; in Expand()
374 vector<Element> elements_; // mapping Fst state to Elements variable
Dsynchronize.h130 const Element &e = elements_[s]; in Final()
229 StateId s = elements_.size(); in FindState()
230 elements_.push_back(e); in FindState()
240 Element e = elements_[s]; in Expand()
325 vector<Element> elements_; // mapping Fst state to Elements variable
/external/v8/src/
Dhydrogen-bch.cc85 Element* at(int index) const { return &(elements_.at(index)); } in at()
122 for (int i = 0; i < elements_.length(); i++) { in CheckHoistability()
179 elements_(graph->blocks()->length(), graph->zone()) { in InductionVariableBlocksTable()
183 elements_.Add(element, graph->zone()); in InductionVariableBlocksTable()
367 ZoneList<Element> elements_; member in v8::internal::BASE_EMBEDDED
Dast.h2777 explicit RegExpText(Zone* zone) : elements_(2, zone), length_(0) {} in RegExpText()
2788 elements_.Add(elm, zone); in AddElement()
2791 ZoneList<TextElement>* elements() { return &elements_; } in elements()
2793 ZoneList<TextElement> elements_;