Home
last modified time | relevance | path

Searched refs:container_ (Results 1 – 22 of 22) sorted by relevance

/third_party/boost/libs/iostreams/example/
Dcontainer_device.hpp32 : container_(container), pos_(0) in container_source()
38 static_cast<std::streamsize>(container_.size() - pos_); in read()
41 std::copy( container_.begin() + pos_, in read()
42 container_.begin() + pos_ + result, in read()
50 Container& container() { return container_; } in container()
54 Container& container_; member in boost::iostreams::example::container_source
66 container_sink(Container& container) : container_(container) { } in container_sink()
69 container_.insert(container_.end(), s, s + n); in write()
72 Container& container() { return container_; } in container()
75 Container& container_; member in boost::iostreams::example::container_sink
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Diterator.h56 : container_(container), iterator_(it) {} in UptrVectorIterator()
103 UptrVector* container_; // The container we are manipulating.
171 return container_ == that.container_ && iterator_ == that.iterator_;
183 assert(container_ == that.container_);
190 assert(container_ == that.container_);
199 auto index = iterator_ - container_->begin(); in InsertBefore()
200 container_->insert(iterator_, std::move(value)); in InsertBefore()
201 return UptrVectorIterator(container_, container_->begin() + index); in InsertBefore()
209 const auto pos = iterator_ - container_->begin(); in InsertBefore()
210 const auto origsz = container_->size(); in InsertBefore()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Diterator.h53 : container_(container), iterator_(it) {} in UptrVectorIterator()
104 return UptrVectorIterator(container_, container_->end()); in End()
108 UptrVector* container_; // The container we are manipulating.
290 return container_ == that.container_ && iterator_ == that.iterator_;
302 assert(container_ == that.container_);
309 assert(container_ == that.container_);
318 auto index = iterator_ - container_->begin(); in InsertBefore()
319 container_->insert(iterator_, std::move(value)); in InsertBefore()
320 return UptrVectorIterator(container_, container_->begin() + index); in InsertBefore()
328 const auto pos = iterator_ - container_->begin(); in InsertBefore()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Diterator.h53 : container_(container), iterator_(it) {} in UptrVectorIterator()
104 return UptrVectorIterator(container_, container_->end()); in End()
108 UptrVector* container_; // The container we are manipulating.
290 return container_ == that.container_ && iterator_ == that.iterator_;
302 assert(container_ == that.container_);
309 assert(container_ == that.container_);
318 auto index = iterator_ - container_->begin(); in InsertBefore()
319 container_->insert(iterator_, std::move(value)); in InsertBefore()
320 return UptrVectorIterator(container_, container_->begin() + index); in InsertBefore()
328 const auto pos = iterator_ - container_->begin(); in InsertBefore()
[all …]
/third_party/spirv-tools/source/opt/
Diterator.h53 : container_(container), iterator_(it) {} in UptrVectorIterator()
104 return UptrVectorIterator(container_, container_->end()); in End()
108 UptrVector* container_; // The container we are manipulating.
290 return container_ == that.container_ && iterator_ == that.iterator_;
302 assert(container_ == that.container_);
309 assert(container_ == that.container_);
318 auto index = iterator_ - container_->begin(); in InsertBefore()
319 container_->insert(iterator_, std::move(value)); in InsertBefore()
320 return UptrVectorIterator(container_, container_->begin() + index); in InsertBefore()
328 const auto pos = iterator_ - container_->begin(); in InsertBefore()
[all …]
/third_party/boost/boost/statechart/
Dfifo_scheduler.hpp53 container_.template create_processor< Processor >( result, *this ); in create_processor()
62 work_item item = container_.template create_processor< Processor >( in create_processor()
72 work_item item = container_.template create_processor< Processor >( in create_processor()
82 work_item item = container_.template create_processor< Processor >( in create_processor()
95 work_item item = container_.template create_processor< Processor >( in create_processor()
108 work_item item = container_.template create_processor< Processor >( in create_processor()
121 work_item item = container_.template create_processor< Processor >( in create_processor()
129 work_item item = container_.destroy_processor( processor ); in destroy_processor()
135 work_item item = container_.initiate_processor( processor ); in initiate_processor()
141 work_item item = container_.terminate_processor( processor ); in terminate_processor()
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/port/
Djava_iterator.h43 explicit PODIterator(Container* container) : container_(container) {} in PODIterator()
46 return static_cast<ContainerBase*>(container_); in container_base()
59 Container* container() { return container_; } in container()
62 Container* container_; // Dumb pointer is used to avoid circular ref-counting
70 explicit RefIterator(Container* container) : container_(container) {} in RefIterator()
73 return static_cast<ContainerBase*>(container_); in container_base()
86 Container* container() { return container_; } in container()
89 Container* container_; // Dumb pointer is used to avoid circular ref-counting
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/
Djava_iterator.h43 explicit PODIterator(Container* container) : container_(container) {} in PODIterator()
46 return static_cast<ContainerBase*>(container_); in container_base()
59 Container* container() { return container_; } in container()
62 Container* container_; // Dumb pointer is used to avoid circular ref-counting
70 explicit RefIterator(Container* container) : container_(container) {} in RefIterator()
73 return static_cast<ContainerBase*>(container_); in container_base()
86 Container* container() { return container_; } in container()
89 Container* container_; // Dumb pointer is used to avoid circular ref-counting
/third_party/boost/libs/spirit/example/karma/
Dcustomize_use_as_container.cpp30 : container_(container), current_(current) in iterator()
33 use_as_container const* container_; member
130 if (it.current_ == &it.container_->value1_) in call()
131 it.current_ = &it.container_->value2_; in call()
132 else if (it.current_ == &it.container_->value2_) in call()
133 it.current_ = &it.container_->value3_; in call()
146 it1.container_ == it2.container_; in call()
/third_party/boost/libs/move/test/
Dconversion_test.cpp157 : container_(c.container_) in recursive_container()
161 : container_(::boost::move(c.container_)) in recursive_container()
166 container_= c.container_; in operator =()
172 container_= ::boost::move(c.container_); in operator =()
176 container<recursive_container> container_; member in recursive_container
408 c.container_.insert(c.container_.begin(), recursive_container()); in main()
409 c.container_.insert(c.container_.begin(), internal); in main()
410 c.container_.insert(c.container_.begin(), c.container_.begin()); in main()
/third_party/skia/third_party/externals/dawn/src/common/
DStackContainer.h146 StackContainer() : allocator_(&stack_data_), container_(allocator_) { in StackContainer()
149 container_.reserve(stack_capacity); in StackContainer()
159 return container_; in container()
162 return container_; in container()
169 return &container_;
172 return &container_;
184 ContainerType container_; variable
/third_party/abseil-cpp/absl/algorithm/
Dalgorithm_test.cc151 LinearSearchTest() : container_{1, 2, 3} {} in LinearSearchTest()
156 std::vector<int> container_; member in __anon4932e8920111::LinearSearchTest
160 EXPECT_TRUE(absl::linear_search(container_.begin(), container_.end(), 3)); in TEST_F()
161 EXPECT_FALSE(absl::linear_search(container_.begin(), container_.end(), 4)); in TEST_F()
165 const std::vector<int> *const const_container = &container_; in TEST_F()
Dcontainer_test.cc53 std::unordered_set<int> container_ = {1, 2, 3}; member in __anon078ddf2e0111::NonMutatingTest
70 EXPECT_EQ(container_.size(), absl::c_distance(container_)); in TEST_F()
92 AccumulateCalls c = absl::c_for_each(container_, AccumulateCalls()); in TEST_F()
99 absl::c_for_each(std::unordered_set<int>(container_), AccumulateCalls()); in TEST_F()
105 auto it = absl::c_find(container_, 3); in TEST_F()
110 TEST_F(NonMutatingTest, FindIf) { absl::c_find_if(container_, Predicate); } in TEST_F()
113 absl::c_find_if_not(container_, Predicate); in TEST_F()
127 absl::c_find_first_of(container_, sequence_); in TEST_F()
128 absl::c_find_first_of(sequence_, container_); in TEST_F()
132 absl::c_find_first_of(container_, sequence_, BinPredicate); in TEST_F()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/algorithm/
Dalgorithm_test.cc151 LinearSearchTest() : container_{1, 2, 3} {} in LinearSearchTest()
156 std::vector<int> container_; member in __anon67473e070111::LinearSearchTest
160 EXPECT_TRUE(absl::linear_search(container_.begin(), container_.end(), 3)); in TEST_F()
161 EXPECT_FALSE(absl::linear_search(container_.begin(), container_.end(), 4)); in TEST_F()
165 const std::vector<int> *const const_container = &container_; in TEST_F()
Dcontainer_test.cc53 std::unordered_set<int> container_ = {1, 2, 3}; member in __anon25a234a30111::NonMutatingTest
70 EXPECT_EQ(container_.size(), absl::c_distance(container_)); in TEST_F()
92 AccumulateCalls c = absl::c_for_each(container_, AccumulateCalls()); in TEST_F()
99 absl::c_for_each(std::unordered_set<int>(container_), AccumulateCalls()); in TEST_F()
105 auto it = absl::c_find(container_, 3); in TEST_F()
110 TEST_F(NonMutatingTest, FindIf) { absl::c_find_if(container_, Predicate); } in TEST_F()
113 absl::c_find_if_not(container_, Predicate); in TEST_F()
127 absl::c_find_first_of(container_, sequence_); in TEST_F()
128 absl::c_find_first_of(sequence_, container_); in TEST_F()
132 absl::c_find_first_of(container_, sequence_, BinPredicate); in TEST_F()
[all …]
/third_party/mesa3d/src/gtest/include/gtest/internal/
Dgtest-param-util.h294 : container_(begin, end) {} in ValuesInIteratorRangeGenerator()
298 return new Iterator(this, container_.begin()); in Begin()
301 return new Iterator(this, container_.end()); in End()
366 const ContainerType container_; variable
/third_party/googletest/googletest/include/gtest/internal/
Dgtest-param-util.h296 : container_(begin, end) {} in ValuesInIteratorRangeGenerator()
300 return new Iterator(this, container_.begin()); in Begin()
303 return new Iterator(this, container_.end()); in End()
368 const ContainerType container_; variable
/third_party/node/tools/inspector_protocol/encoding/
Dencoding.cc1195 explicit State(Container container) : container_(container) {} in State()
1198 Container container() const { return container_; } in container()
1203 assert(container_ != Container::NONE || size_ == 0); in StartElementTmpl()
1205 char delim = (!(size_ & 1) || container_ == Container::ARRAY) ? ',' : ':'; in StartElementTmpl()
1211 Container container_ = Container::NONE; member in v8_inspector_protocol_encoding::json::__anon2f180eff0611::State
/third_party/flutter/skia/third_party/externals/sfntly/doc/
DSfntlyCPlusPlusNotes.md132 2. **`WritableDataPtr new_data = container_->getNewData(size)`**
/third_party/skia/third_party/externals/sfntly/doc/
DSfntlyCPlusPlusNotes.md132 2. **`WritableDataPtr new_data = container_->getNewData(size)`**
/third_party/node/tools/inspector_protocol/lib/
Dencoding_cpp.template1203 explicit State(Container container) : container_(container) {}
1206 Container container() const { return container_; }
1211 assert(container_ != Container::NONE || size_ == 0);
1213 char delim = (!(size_ & 1) || container_ == Container::ARRAY) ? ',' : ':';
1219 Container container_ = Container::NONE;
/third_party/cef/tools/distrib/gtest/
Dgtest.h8233 : container_(begin, end) {}
8237 return new Iterator(this, container_.begin());
8240 return new Iterator(this, container_.end());
8305 const ContainerType container_;