/third_party/cef/libcef/browser/ |
D | menu_model_impl.cc | 262 items_.clear(); in Clear() 270 return static_cast<int>(items_.size()); in GetCount() 383 if (index >= 0 && index < static_cast<int>(items_.size())) { in RemoveAt() 384 items_.erase(items_.begin() + index); in RemoveAt() 394 for (ItemVector::iterator i = items_.begin(); i != items_.end(); ++i) { in GetIndexOf() 396 return static_cast<int>(std::distance(items_.begin(), i)); in GetIndexOf() 406 if (index >= 0 && index < static_cast<int>(items_.size())) in GetCommandIdAt() 407 return items_[index].command_id_; in GetCommandIdAt() 415 if (index >= 0 && index < static_cast<int>(items_.size())) { in SetCommandIdAt() 416 items_[index].command_id_ = command_id; in SetCommandIdAt() [all …]
|
D | menu_model_impl.h | 222 ItemVector items_; variable
|
/third_party/boost/boost/format/ |
D | format_implementation.hpp | 69 : items_(x.items_), bound_(x.bound_), style_(x.style_), in basic_format() 92 items_.swap(x.items_); in swap() 117 if(items_.size() == 0) in make_or_reuse_data() 118 items_.assign( nbitems, format_item_t(fill) ); in make_or_reuse_data() 120 if(nbitems>items_.size()) in make_or_reuse_data() 121 items_.resize(nbitems, format_item_t(fill)); in make_or_reuse_data() 124 items_[i].reset(fill); // strings are resized, instead of reallocated in make_or_reuse_data() 137 for(unsigned long i=0; i<items_.size(); ++i) { in clear() 139 if( bound_.size()==0 || items_[i].argN_<0 || !bound_[ items_[i].argN_ ] ) in clear() 140 items_[i].res_.resize(0); in clear() [all …]
|
D | free_funcs.hpp | 44 if(f.items_.size()==0) in operator <<() 56 for(unsigned long i=0; i<f.items_.size(); ++i) { in operator <<() 57 const typename format_t::format_item_t& item = f.items_[i]; in operator <<()
|
D | parsing.hpp | 494 string_type & piece = (cur_item==0) ? prefix_ : items_[cur_item-1].appendix_; in parse() 500 BOOST_ASSERT( static_cast<unsigned int>(cur_item) < items_.size() || cur_item==0); in parse() 509 it, buf.end(), &items_[cur_item], fac, i1, exceptions()); in parse() 514 items_[cur_item].compute_states(); // process complex options, like zeropad, into params in parse() 516 int argN=items_[cur_item].argN_; in parse() 530 string_type & piece = (cur_item==0) ? prefix_ : items_[cur_item-1].appendix_; in parse() 544 if(items_[i].argN_ == format_item_t::argN_no_posit) { in parse() 545 items_[i].argN_ = non_ordered_items; in parse() 552 items_.resize(num_items, format_item_t(io::detail::const_or_not(fac).widen( ' ')) ); in parse()
|
D | feed_args.hpp | 289 for(unsigned long i=0; i < self.items_.size(); ++i) { in distribute() 290 if(self.items_[i].argN_ == self.cur_arg_) { in distribute() 291 put<Ch, Tr, Alloc, T> (x, self.items_[i], self.items_[i].res_, in distribute()
|
D | format_class.hpp | 164 std::vector<format_item_t> items_; // each '%..' directive leads to a format_item member in boost::basic_format
|
/third_party/boost/libs/contract/example/mitchell02/ |
D | simple_queue.cpp | 45 items_.reserve(a_capacity); 61 return items_; in items() 68 return items_.capacity(); in capacity() 83 return result = items_.size(); in count() 99 return *(result = items_.at(0)); in head() 112 return result = (items_.size() == 0); in is_empty() 125 return result = (items_.size() == items_.capacity()); in is_full() 150 items_.erase(items_.begin()); in remove() 175 items_.push_back(item); in put() 195 std::vector<T> items_; member in simple_queue
|
D | dictionary.cpp | 45 return items_.size(); in count() 58 return result = (items_.find(key) != items_.end()); in has() 70 return items_.find(key)->second; in value_for() 90 items_.insert(std::make_pair(key, value)); in put() 106 items_.erase(key); in remove() 110 std::map<K, T> items_; member in dictionary
|
D | stack.cpp | 45 return items_.size(); in count() 57 return items_[index - 1]; in item_at() 103 items_.push_back(new_item); in put() 118 items_.pop_back(); in remove() 122 std::vector<T> items_; member in stack
|
/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | parser.h | 200 items_ = other.items_; 201 size_t text_size = items_.empty() ? 0 : items_.back().text_end; 211 items_ = std::move(other.items_); 213 other.items_.clear(); 221 for (const auto& item : items_) { in ProcessFormat() 253 std::vector<ConversionItem> items_; variable
|
D | parser.cc | 273 if (!parsed->items_.empty() && !parsed->items_.back().is_conversion) { in Append() 275 parsed->items_.back().text_end = text_end; in Append() 278 parsed->items_.push_back({false, text_end, {}}); in Append() 285 parsed->items_.push_back({true, text_end, conv}); in ConvertOne() 318 for (const ConversionItem &item : items_) { in MatchesConversions()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
D | parser.h | 222 items_ = other.items_; 223 size_t text_size = items_.empty() ? 0 : items_.back().text_end; 233 items_ = std::move(other.items_); 235 other.items_.clear(); 243 for (const auto& item : items_) { in ProcessFormat() 275 std::vector<ConversionItem> items_; variable
|
D | parser.cc | 276 if (!parsed->items_.empty() && !parsed->items_.back().is_conversion) { in Append() 278 parsed->items_.back().text_end = text_end; in Append() 281 parsed->items_.push_back({false, text_end, {}}); in Append() 288 parsed->items_.push_back({true, text_end, conv}); in ConvertOne() 321 for (const ConversionItem &item : items_) { in MatchesConversions()
|
/third_party/grpc/test/core/iomgr/ |
D | mpmcqueue_test.cc | 44 items_ = nullptr; in ProducerThread() 51 GPR_ASSERT(items_[i]->done); in ~ProducerThread() 52 delete items_[i]; in ~ProducerThread() 54 gpr_free(items_); in ~ProducerThread() 62 items_ = in Run() 65 items_[i] = new WorkItem(start_index_ + i); in Run() 66 queue_->Put(items_[i]); in Run() 74 WorkItem** items_; member in ProducerThread
|
/third_party/gn/src/gn/ |
D | function_get_target_outputs_unittest.cc | 17 GetTargetOutputsTest() { setup_.scope()->set_item_collector(&items_); } in GetTargetOutputsTest() 55 Scope::ItemVector items_; member in __anon5dae2d020111::GetTargetOutputsTest 68 items_.push_back(std::move(action)); in TEST_F() 83 items_.push_back(std::move(action)); in TEST_F() 100 items_.push_back(std::move(action)); in TEST_F()
|
D | action_target_generator_unittest.cc | 15 Scope::ItemVector items_; in TEST_F() local 16 setup.scope()->set_item_collector(&items_); in TEST_F()
|
D | test_with_scope.cc | 36 scope_.set_item_collector(&items_); in TestWithScope() 56 size_t first_item = items_.size(); in ExecuteSnippet() 61 for (size_t i = first_item; i < items_.size(); ++i) { in ExecuteSnippet() 62 CHECK(items_[i]->AsTarget() != nullptr) in ExecuteSnippet() 64 items_[i]->AsTarget()->SetToolchain(&toolchain_); in ExecuteSnippet() 65 if (!items_[i]->OnResolved(err)) in ExecuteSnippet()
|
D | test_with_scope.h | 39 const Scope::ItemVector& items() { return items_; } in items() 78 Scope::ItemVector items_; variable
|
D | string_atom.cc | 166 std::string* result = &items_[index].str; in init() 172 StringStorage items_[kStringsPerSlab]; member in __anon15dd187c0111::StringAtomSet::Slab
|
D | loader_unittest.cc | 37 std::vector<std::unique_ptr<Item>> items_; member in __anon8ad1280b0111::MockBuilder 41 items_.push_back(std::move(item)); in OnItemDefined() 46 for (const auto& item : items_) { in GetAllItems()
|
/third_party/boost/libs/beast/example/advanced/server/ |
D | advanced_server.cpp | 346 std::vector<std::unique_ptr<work>> items_; member in http_session::queue 354 items_.reserve(limit); in queue() 361 return items_.size() >= limit; in is_full() 369 BOOST_ASSERT(! items_.empty()); in on_write() 371 items_.erase(items_.begin()); in on_write() 372 if(! items_.empty()) in on_write() 373 (*items_.front())(); in on_write() 410 items_.push_back( in operator ()() 414 if(items_.size() == 1) in operator ()() 415 (*items_.front())(); in operator ()()
|
/third_party/boost/libs/beast/example/advanced/server-flex/ |
D | advanced_server_flex.cpp | 472 std::vector<std::unique_ptr<work>> items_; member in http_session::queue 480 items_.reserve(limit); in queue() 487 return items_.size() >= limit; in is_full() 495 BOOST_ASSERT(! items_.empty()); in on_write() 497 items_.erase(items_.begin()); in on_write() 498 if(! items_.empty()) in on_write() 499 (*items_.front())(); in on_write() 536 items_.push_back( in operator ()() 540 if(items_.size() == 1) in operator ()() 541 (*items_.front())(); in operator ()()
|
/third_party/cef/libcef/browser/native/ |
D | native_menu_win.cc | 516 items_.clear(); in Rebuild() 534 for (it = items_.begin(); it != items_.end(); ++it, ++model_index) { in UpdateStates() 672 items_.insert(items_.begin() + model_index, std::move(item_data)); in AddMenuItemAt() 685 items_.insert(items_.begin() + model_index, std::make_unique<ItemData>()); in AddSeparatorItemAt() 740 items_[model_index]->label = formatted; in UpdateMenuItemInfoForString() 744 mii->dwTypeData = const_cast<wchar_t*>(items_[model_index]->label.c_str()); in UpdateMenuItemInfoForString()
|
D | native_menu_win.h | 125 ItemDataList items_; variable
|