Home
last modified time | relevance | path

Searched refs:contents_ (Results 1 – 25 of 30) sorted by relevance

12

/third_party/cef/libcef_dll/wrapper/
Dcef_zip_archive.cc101 it = contents_.find(name); in Load()
102 if (it != contents_.end()) { in Load()
104 contents_.erase(it); in Load()
126 contents_.insert(std::make_pair(name, contents.get())); in Load()
134 contents_.clear(); in Clear()
139 return contents_.size(); in GetFileCount()
144 FileMap::const_iterator it = contents_.find(ToLower(fileName)); in HasFile()
145 return (it != contents_.end()); in HasFile()
151 FileMap::const_iterator it = contents_.find(ToLower(fileName)); in GetFile()
152 if (it != contents_.end()) in GetFile()
[all …]
/third_party/mindspore/mindspore/core/utils/
Dsymbolic.h110 explicit EnvInstance(const EnvInstanceContentsMap &contents = {}) : contents_(contents) {} in contents_() function
118 EnvInstance(const EnvInstance &v) : Value(v), contents_(v.contents_) {} in EnvInstance()
122 contents_ = src.contents_;
129 auto iterator = contents_.find(key); in Get()
130 if (iterator != contents_.end()) { in Get()
138 EnvInstance rval(contents_); in Set()
139 rval.contents_[key] = value; in Set()
145 EnvInstance rval(contents_); in Add()
146 for (auto iter_other : other.contents_) { in Add()
147 auto item_self = contents_.find(iter_other.first); in Add()
[all …]
Dsymbolic.cc27 for (auto &iter : objPtr->contents_) { in operator <<()
38 bool equal = std::all_of(contents_.begin(), contents_.end(), in operator ==()
40 return other.contents_.find(item.first) != other.contents_.end(); in operator ==()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord.cc581 : contents_(InlineData::kDefaultInit) { in Cord()
584 contents_.set_data(src.data(), n, true); in Cord()
587 contents_.EmplaceTree(rep, method); in Cord()
592 Cord::Cord(T&& src) : contents_(InlineData::kDefaultInit) { in Cord()
594 contents_.set_data(src.data(), src.size(), true); in Cord()
597 contents_.EmplaceTree(rep, CordzUpdateTracker::kConstructorString); in Cord()
606 assert(contents_.is_tree()); in DestroyCordSlow()
607 CordzInfo::MaybeUntrackCord(contents_.cordz_info()); in DestroyCordSlow()
608 CordRep::Unref(VerifyTree(contents_.as_tree())); in DestroyCordSlow()
615 if (CordRep* tree = contents_.clear()) { in Clear()
[all …]
Dcord.h168 if (contents_.is_tree()) DestroyCordSlow(); in ~Cord()
844 InlineRep contents_; variable
994 cord.contents_.EmplaceTree(rep, in MakeCordFromExternal()
1144 : contents_(strings_internal::StringConstant<T>::value.size() <= in Cord()
1153 contents_ = x.contents_;
1166 inline Cord::Cord(const Cord& src) : contents_(src.contents_) {} in Cord()
1168 inline Cord::Cord(Cord&& src) noexcept : contents_(std::move(src.contents_)) {} in Cord()
1171 contents_.Swap(&other.contents_); in swap()
1175 contents_ = std::move(x.contents_);
1183 return contents_.size(); in size()
[all …]
Dcordz_test_helpers.h38 if (!cord.contents_.is_tree()) return nullptr; in GetCordzInfoForTesting()
39 return cord.contents_.cordz_info(); in GetCordzInfoForTesting()
/third_party/abseil-cpp/absl/strings/
Dcord.h158 if (contents_.is_tree()) DestroyCordSlow(); in ~Cord()
732 InlineRep contents_; variable
876 cord.contents_.set_tree(::absl::cord_internal::NewExternalRep( in MakeCordFromExternal()
988 contents_ = x.contents_;
992 inline Cord::Cord(Cord&& src) noexcept : contents_(std::move(src.contents_)) {} in Cord()
995 contents_.Swap(&other.contents_); in swap()
999 contents_ = std::move(x.contents_);
1008 return contents_.size(); in size()
1011 inline bool Cord::empty() const { return contents_.empty(); } in empty()
1015 if (const absl::cord_internal::CordRep* rep = contents_.tree()) { in EstimatedMemoryUsage()
[all …]
Dcord.cc640 Cord::Cord(const Cord& src) : contents_(src.contents_) { in Cord()
641 Ref(contents_.tree()); // Does nothing if contents_ has embedded data in Cord()
647 contents_.set_data(src.data(), n, false); in Cord()
649 contents_.set_tree(NewTree(src.data(), n, 0)); in Cord()
662 contents_.set_data(src.data(), src.size(), false); in Cord()
664 contents_.set_tree(NewTree(src.data(), src.size(), 0)); in Cord()
678 contents_.set_tree(rep); in Cord()
687 Unref(VerifyTree(contents_.tree())); in DestroyCordSlow()
694 Unref(contents_.clear()); in Clear()
701 CordRep* tree = contents_.tree(); in operator =()
[all …]
/third_party/cef/tests/cefclient/browser/
Dimage_cache.cc81 : type_(type), scale_factor_(scale_factor), contents_(contents) {} in RepContent()
85 std::string contents_; member
88 RepContentSet contents_; member
213 content->contents_.push_back( in LoadImageContents()
278 if (content.contents_.empty()) in CreateImage()
283 ImageContent::RepContentSet::const_iterator it = content.contents_.begin(); in CreateImage()
284 for (; it != content.contents_.end(); ++it) { in CreateImage()
287 if (!image->AddPNG(rep.scale_factor_, rep.contents_.c_str(), in CreateImage()
288 rep.contents_.size())) { in CreateImage()
294 if (!image->AddJPEG(rep.scale_factor_, rep.contents_.c_str(), in CreateImage()
[all …]
/third_party/gn/src/gn/
Dmetadata.h40 const Contents& contents() const { return contents_; } in contents()
41 Contents& contents() { return contents_; } in contents()
42 void set_contents(Contents&& contents) { contents_ = std::move(contents); } in set_contents()
64 Contents contents_; variable
Dmetadata.cc156 if (contents_.empty()) { in WalkStep()
163 auto iter = contents_.find(key); in WalkStep()
164 if (iter == contents_.end()) in WalkStep()
187 auto iter = contents_.find(key); in WalkStep()
188 if (iter != contents_.end()) { in WalkStep()
Dinput_file.cc16 contents_ = c; in SetContents()
20 if (base::ReadFileToString(system_path, &contents_)) { in Load()
Dinput_file.h41 return contents_; in contents()
59 std::string contents_; variable
Dparse_tree.cc864 results.reserve(contents_.size()); in Execute()
866 for (const auto& cur : contents_) { in Execute()
893 for (const auto& cur : contents_) { in GetJSONNode()
909 ret->contents_.push_back(ParseNode::BuildFromJSON(elem)); in NewFromJSON()
929 const ParseNode* node = contents_[i].get(); in SortList()
942 int start_line = contents_[sr.begin]->GetRange().begin().line_number(); in SortList()
943 const ParseNode* original_first = contents_[sr.begin].get(); in SortList()
944 std::sort(contents_.begin() + sr.begin, contents_.begin() + sr.end, in SortList()
953 contents_[sr.begin].get() != original_first) { in SortList()
955 const_cast<ParseNode*>(contents_[sr.begin].get()) in SortList()
[all …]
Dtarget.h188 Value contents_; // Value::NONE if metadata collection should occur. member
197 const Value& contents() const { return generated_file().contents_; } in contents()
198 void set_contents(const Value& value) { generated_file().contents_ = value; } in set_contents()
Dparse_tree.h461 contents_.push_back(std::move(s)); in append_item()
464 return contents_; in contents()
489 std::vector<std::unique_ptr<const ParseNode>> contents_; variable
/third_party/node/test/cctest/
Dtest_inspector_socket_server.cc103 contents_.clear(); in Connect()
125 contents_.clear(); in ExpectFailureToConnect()
145 SPIN_WHILE(contents_.size() < expects.length()); in Expect()
147 std::string(contents_.data(), expects.length()).c_str()); in Expect()
148 contents_.erase(contents_.begin(), contents_.begin() + expects.length()); in Expect()
217 wrapper->contents_.insert(wrapper->contents_.end(), buf->base, in ReadCallback()
240 std::vector<char> contents_; member in __anonc5369da30111::SocketWrapper
/third_party/boost/tools/quickbook/src/
Dboostbook_chunker.hpp20 xml_tree contents_; member
28 : contents_(std::move(contents)), inline_(false) in chunk()
Dxml_parse.hpp40 std::string contents_; member
52 n->contents_.assign(x.begin(), x.end()); in text_node()
59 n->contents_.assign(x.begin(), x.end()); in html_node()
Dboostbook_chunker.cpp81 if (c->contents_.root()->name_ == "section" && depth > 1) { in inline_sections()
88 for (; it && it->contents_.root()->name_ == "section"; in inline_sections()
Dbb2html.cpp279 gather_chunk_ids(c_state, x->contents_.root()); in gather_chunk_ids()
445 number_callouts(gen, x->contents_.root()); in generate_chunk_body()
450 generate_tree_html(gen, x->contents_.root()); in generate_chunk_body()
455 if (x->children() && x->contents_.root()->name_ != "section") { in generate_toc_html()
475 if (it->contents_.root()->name_ != "section") { in generate_toc_subtree()
502 it->contents_.root()->name_ == "section" && in generate_toc_subtree()
599 gen.printer.html += x->contents_; in generate_tree_html()
603 gen.printer.html += x->contents_; in generate_tree_html()
849 get_id_paths_impl2(ids, c, c->contents_.root()); in get_id_paths_impl()
1426 if (pos->contents_.find_first_not_of("\t\n ") != in NODE_RULE()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderPassUtil.cpp280 VkSubpassContents contents_) in SubpassBeginInfo1() argument
281 : contents (contents_) in SubpassBeginInfo1()
289 VkSubpassContents contents_) in SubpassBeginInfo2() argument
293 contents = contents_; in SubpassBeginInfo2()
/third_party/boost/libs/serialization/src/
Dbasic_xml_grammar.ipp141 append_string(String & contents_)
142 : contents(contents_)
152 append_char(String & contents_)
153 : contents(contents_)
165 append_lit(String & contents_)
166 : contents(contents_)
/third_party/cef/include/wrapper/
Dcef_zip_archive.h138 FileMap contents_; variable
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTestsUtil.cpp282 VkSubpassContents contents_) in SubpassBeginInfo1() argument
283 : contents (contents_) in SubpassBeginInfo1()
291 VkSubpassContents contents_) in SubpassBeginInfo2() argument
295 contents = contents_; in SubpassBeginInfo2()

12