Home
last modified time | relevance | path

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

12

/external/chromium_org/ui/compositor/
Dlayer_animation_sequence.cc48 if (elements_.empty()) in Start()
51 elements_[0]->set_requested_start_time(start_time_); in Start()
52 elements_[0]->Start(delegate, animation_group_id_); in Start()
60 if (elements_.empty()) in Progress()
66 size_t current_index = last_element_ % elements_.size(); in Progress()
68 while (is_cyclic_ || last_element_ < elements_.size()) { in Progress()
69 elements_[current_index]->set_requested_start_time(last_start_); in Progress()
70 if (!elements_[current_index]->IsFinished(now, &element_duration)) in Progress()
74 if (elements_[current_index]->ProgressToEnd(delegate)) in Progress()
79 elements_[current_index]->last_progressed_fraction(); in Progress()
[all …]
/external/protobuf/src/google/protobuf/
Drepeated_field.cc45 void** old_elements = elements_; in Reserve()
47 elements_ = new void*[total_size_]; in Reserve()
48 memcpy(elements_, old_elements, allocated_size_ * sizeof(elements_[0])); in Reserve()
55 void** swap_elements = elements_; in Swap()
64 elements_ = other->elements_; in Swap()
70 other->elements_ = swap_elements; in Swap()
76 if (elements_ == other->initial_space_) { in Swap()
77 elements_ = initial_space_; in Swap()
79 if (other->elements_ == initial_space_) { in Swap()
80 other->elements_ = other->initial_space_; in Swap()
Drepeated_field.h134 Element* elements_; variable
250 void** elements_; variable
422 : elements_(initial_space_), in RepeatedField()
429 if (elements_ != initial_space_) { in ~RepeatedField()
430 delete [] elements_; in ~RepeatedField()
447 elements_[current_size_++] = value; in AddAlreadyReserved()
453 return &elements_[current_size_++]; in AddAlreadyReserved()
459 return elements_[index]; in Get()
465 return elements_ + index; in Mutable()
471 elements_[index] = value; in Set()
[all …]
/external/chromium_org/ui/gfx/animation/
Danimation_container.cc24 DCHECK(elements_.empty()); in ~AnimationContainer()
28 DCHECK(elements_.count(element) == 0); // Start should only be invoked if the in Start()
31 if (elements_.empty()) { in Start()
39 elements_.insert(element); in Start()
43 DCHECK(elements_.count(element) > 0); // The element must be running. in Stop()
45 elements_.erase(element); in Stop()
47 if (elements_.empty()) { in Stop()
71 Elements elements = elements_; in Run()
76 if (elements_.find(*i) != elements_.end()) in Run()
93 DCHECK(!elements_.empty()); in GetMinInterval()
[all …]
Danimation_container.h52 bool is_running() const { return !elements_.empty(); } in is_running()
77 Elements elements_; variable
/external/chromium_org/third_party/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.h174 Element* elements_; variable
268 elements_[i - num] = elements_[i]; in CloseGap()
316 void** elements_; variable
552 : elements_(NULL), in RepeatedField()
559 : elements_(NULL), in RepeatedField()
568 : elements_(NULL), in RepeatedField()
578 delete [] elements_; in ~RepeatedField()
602 elements_[current_size_++] = value; in AddAlreadyReserved()
608 return &elements_[current_size_++]; in AddAlreadyReserved()
614 return elements_[index]; in Get()
[all …]
/external/chromium_org/content/common/
Dresource_request_body.cc15 elements_.push_back(Element()); in AppendBytes()
16 elements_.back().SetToBytes(bytes, bytes_len); in AppendBytes()
24 elements_.push_back(Element()); in AppendFileRange()
25 elements_.back().SetToFilePathRange(file_path, offset, length, in AppendFileRange()
30 elements_.push_back(Element()); in AppendBlob()
31 elements_.back().SetToBlob(uuid); in AppendBlob()
37 elements_.push_back(Element()); in AppendFileSystemFileRange()
38 elements_.back().SetToFileSystemUrlRange(url, offset, length, in AppendFileSystemFileRange()
Dresource_request_body.h41 const std::vector<Element>* elements() const { return &elements_; } in elements()
42 std::vector<Element>* elements_mutable() { return &elements_; } in elements_mutable()
44 elements_.swap(*elements); in swap_elements()
57 std::vector<Element> elements_; variable
/external/chromium_org/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/chromium_org/ppapi/shared_impl/
Darray_var.cc37 if (index >= elements_.size()) in Get()
40 const PP_Var& element = elements_[index].get(); in Get()
51 if (index >= elements_.size()) { in Set()
54 elements_.resize(index + 1); in Set()
57 elements_[index] = value; in Set()
62 if (elements_.size() > std::numeric_limits<uint32_t>::max()) { in GetLength()
67 return static_cast<uint32_t>(elements_.size()); in GetLength()
73 elements_.resize(length); in SetLength()
Darray_var.h40 const ElementVector& elements() const { return elements_; } in elements()
42 ElementVector& elements() { return elements_; } in elements()
48 ElementVector elements_;
/external/protobuf/gtest/src/
Dgtest-internal-inl.h255 Vector() : elements_(NULL), capacity_(0), size_(0) {} in Vector()
262 if (elements_ != NULL) { in Clear()
264 delete elements_[i]; in Clear() local
267 free(elements_); in Clear()
268 elements_ = NULL; in Clear()
306 elements_[index] = new E(element); in Insert()
317 delete elements_[index]; in Erase() local
329 if (predicate(*(elements_[i]))) { in CountIf()
344 functor(*(elements_[i])); in ForEach()
355 if (predicate(*elements_[i])) { in FindIf()
[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
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dpartition.h57 for (size_t i = 0; i < elements_.size(); ++i) in ~Partition()
58 delete elements_[i]; in ~Partition() local
67 for (size_t i = 0; i < elements_.size(); ++i) in Initialize()
68 delete elements_[i]; in Initialize() local
69 elements_.clear(); in Initialize()
73 elements_.resize(num_states); in Initialize()
77 elements_[i] = new Element(i); in Initialize()
103 Element* element = elements_[element_id]; in Add()
120 Element* element = elements_[element_id]; in Move()
144 if (class_split_[class_id] == elements_[element_id]) in SplitOn()
[all …]
Ddeterminize.h226 subset_hash_(0, SubsetKey(), SubsetEqual(&elements_)) { in DeterminizeFsaImpl()
338 while ((StateId)elements_.size() <= dest_element.state_id) in AddArc()
339 elements_.push_back(0); in AddArc()
340 Element *matching_element = elements_[dest_element.state_id]; in AddArc()
349 elements_[dest_element.state_id] = &dest_element; in AddArc()
365 elements_[dest_element.state_id] = 0; in AddArc()
380 : elements_(elements) {} in SubsetEqual()
397 (*elements_)[element1.state_id] = &element1; in operator()
405 Element *element1 = (*elements_)[element2.state_id]; in operator()
411 (*elements_)[iter1->state_id] = 0; in operator()
[all …]
Dfactor-weight.h188 const Element &e = elements_[s]; in Final()
234 unfactored_[e.state] = elements_.size(); in FindState()
235 elements_.push_back(e); in FindState()
243 StateId s = elements_.size(); in FindState()
244 elements_.push_back(e); in FindState()
254 Element e = elements_[s]; in Expand()
316 vector<Element> elements_; // mapping Fst state to Elements variable
Dsynchronize.h108 const Element &e = elements_[s]; in Final()
198 StateId s = elements_.size(); in FindState()
199 elements_.push_back(e); in FindState()
209 Element e = elements_[s]; in Expand()
294 vector<Element> elements_; // mapping Fst state to Elements variable
/external/chromium_org/chrome/browser/profile_resetter/
Dbrandcode_config_fetcher.cc71 std::vector<std::string> elements_; member in __anon84c090fa0111::XmlConfigParser
114 context->elements_.push_back(node_name); in StartElementImpl()
121 context->elements_.pop_back(); in EndElementImpl()
134 return elements_.size() == arraysize(data_path) && in IsParsingData()
135 std::equal(elements_.begin(), elements_.end(), data_path); in IsParsingData()
/external/chromium_org/components/search_engines/
Dtemplate_url_parser.cc166 std::vector<ElementType> elements_; member in TemplateURLParsingContext
225 context->elements_.push_back( in StartElementImpl()
286 context->elements_.pop_back(); in EndElementImpl()
476 if (elements_.size() == 2 && elements_[0] == OPEN_SEARCH_DESCRIPTION) in GetKnownType()
477 return elements_[1]; in GetKnownType()
479 return (elements_.size() == 3 && elements_[0] == OPEN_SEARCH_DESCRIPTION && in GetKnownType()
480 elements_[1] == URL && elements_[2] == PARAM) ? PARAM : UNKNOWN; in GetKnownType()
/external/chromium_org/content/shell/renderer/test_runner/
Daccessibility_controller.cc144 elements_.Clear(); in Reset()
181 v8::Handle<v8::Object> element_handle = elements_.GetOrCreate(target); in NotificationReceived()
232 return elements_.GetOrCreate(focused_element_); in FocusedElement()
238 return elements_.CreateRoot(root_element_); in RootElement()
264 return elements_.GetOrCreate(obj); in FindAccessibleElementByIdRecursive()
/external/chromium_org/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
/external/chromium_org/courgette/
Densemble.h76 const std::vector<Element*>& elements() const { return elements_; } in elements()
84 std::vector<Element*> elements_; // Embedded elements discovered. variable

12