Home
last modified time | relevance | path

Searched refs:parent_ (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/spirv-tools/source/fuzz/
Dequivalence_relation.h99 parent_[representative1] = representative2; in MakeEquivalent()
119 parent_[pointer_to_value] = pointer_to_value; in Register()
129 if (parent_[value.get()] == value.get()) { in GetEquivalenceClassRepresentatives()
189 assert(parent_[known_value] && "Every known value should have a parent."); in Find()
194 while (parent_[result] != result) { in Find()
195 result = parent_[result]; in Find()
204 while (parent_[current] != result) { in Find()
205 const T* next = parent_[current]; in Find()
206 parent_[current] = result; in Find()
226 mutable std::unordered_map<const T*, const T*> parent_;
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dequivalence_relation.h99 parent_[representative1] = representative2; in MakeEquivalent()
119 parent_[pointer_to_value] = pointer_to_value; in Register()
129 if (parent_[value.get()] == value.get()) { in GetEquivalenceClassRepresentatives()
189 assert(parent_[known_value] && "Every known value should have a parent."); in Find()
194 while (parent_[result] != result) { in Find()
195 result = parent_[result]; in Find()
204 while (parent_[current] != result) { in Find()
205 const T* next = parent_[current]; in Find()
206 parent_[current] = result; in Find()
226 mutable std::unordered_map<const T*, const T*> parent_;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dequivalence_relation.h99 parent_[representative1] = representative2; in MakeEquivalent()
119 parent_[pointer_to_value] = pointer_to_value; in Register()
129 if (parent_[value.get()] == value.get()) { in GetEquivalenceClassRepresentatives()
189 assert(parent_[known_value] && "Every known value should have a parent."); in Find()
194 while (parent_[result] != result) { in Find()
195 result = parent_[result]; in Find()
204 while (parent_[current] != result) { in Find()
205 const T* next = parent_[current]; in Find()
206 parent_[current] = result; in Find()
226 mutable std::unordered_map<const T*, const T*> parent_;
/third_party/protobuf/src/google/protobuf/util/internal/
Dstructured_objectwriter.h72 : parent_(parent), level_(parent == NULL ? 0 : parent->level() + 1) {} in BaseElement()
78 return down_cast<ElementType*>(parent_.release()); in pop()
82 bool is_root() const { return parent_ == nullptr; } in is_root()
89 virtual BaseElement* parent() const { return parent_.get(); } in parent()
93 std::unique_ptr<BaseElement> parent_;
Dprotostream_objectwriter.cc203 : parent_(parent), in AnyWriter()
226 parent_->InvalidValue("Any", in StartObject()
268 parent_->InvalidValue("Any", in StartList()
303 parent_->InvalidValue("Any", in RenderDataPiece()
311 parent_->InvalidValue("Any", "Expect a JSON object."); in RenderDataPiece()
333 parent_->InvalidValue("String", s.status().message()); in StartAny()
341 parent_->typeinfo()->ResolveTypeUrl(type_url_); in StartAny()
343 parent_->InvalidValue("Any", resolved_type.status().message()); in StartAny()
360 ow_.reset(new ProtoStreamObjectWriter(parent_->typeinfo(), *type, &output_, in StartAny()
361 parent_->listener(), in StartAny()
[all …]
/third_party/spirv-tools/source/opt/
Dremove_unused_interface_variables_pass.cpp21 RemoveUnusedInterfaceVariablesPass& parent_; member in spvtools::opt::RemoveUnusedInterfaceVariablesContext
33 auto* var = parent_.get_def_use_mgr()->GetDef(*id); in processFunction()
37 (parent_.get_module()->version() >= in processFunction()
49 : parent_(parent), entry_(entry) {} in RemoveUnusedInterfaceVariablesContext()
54 parent_.context()->ProcessCallTreeFromRoots(pfn_, &roots); in CollectUsedVariables()
Dloop_descriptor.h56 parent_(nullptr), in Loop()
175 inline Loop* GetParent() { return parent_; } in GetParent()
176 inline const Loop* GetParent() const { return parent_; } in GetParent()
178 inline bool HasParent() const { return parent_; } in HasParent()
181 inline bool IsNested() const { return parent_ != nullptr; } in IsNested()
208 for (Loop* loop = this; loop != nullptr; loop = loop->parent_) { in AddBasicBlock()
217 for (Loop* loop = this; loop != nullptr; loop = loop->parent_) { in RemoveBasicBlock()
297 inline void SetParent(Loop* parent) { parent_ = parent; } in SetParent()
375 Loop* parent_; variable
Ddominator_tree.cpp258 if (node->parent_ == nullptr) { in ImmediateDominator()
262 return node->parent_->bb_; in ImmediateDominator()
342 first->parent_ = second; in InitializeTree()
374 if (node->parent_) { in DumpTreeAsDot()
375 out_stream << node->parent_->bb_->id() << " -> " << node->bb_->id() in DumpTreeAsDot()
Dloop_unswitch_pass.cpp217 loop_merge_dtn->parent_ = if_merge_block_dtn->parent_; in PerformUnswitch()
219 loop_merge_dtn->parent_->children_.push_back(loop_merge_dtn); in PerformUnswitch()
220 if_merge_block_dtn->parent_->children_.erase(std::find( in PerformUnswitch()
221 if_merge_block_dtn->parent_->children_.begin(), in PerformUnswitch()
222 if_merge_block_dtn->parent_->children_.end(), if_merge_block_dtn)); in PerformUnswitch()
270 loop_pre_header_dtn->parent_ = if_block_dtn; in PerformUnswitch()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dremove_unused_interface_variables_pass.cpp21 RemoveUnusedInterfaceVariablesPass& parent_; member in spvtools::opt::RemoveUnusedInterfaceVariablesContext
33 auto* var = parent_.get_def_use_mgr()->GetDef(*id); in processFunction()
37 (parent_.get_module()->version() >= in processFunction()
49 : parent_(parent), entry_(entry) {} in RemoveUnusedInterfaceVariablesContext()
54 parent_.context()->ProcessCallTreeFromRoots(pfn_, &roots); in CollectUsedVariables()
Dloop_descriptor.h56 parent_(nullptr), in Loop()
175 inline Loop* GetParent() { return parent_; } in GetParent()
176 inline const Loop* GetParent() const { return parent_; } in GetParent()
178 inline bool HasParent() const { return parent_; } in HasParent()
181 inline bool IsNested() const { return parent_ != nullptr; } in IsNested()
208 for (Loop* loop = this; loop != nullptr; loop = loop->parent_) { in AddBasicBlock()
217 for (Loop* loop = this; loop != nullptr; loop = loop->parent_) { in RemoveBasicBlock()
297 inline void SetParent(Loop* parent) { parent_ = parent; } in SetParent()
375 Loop* parent_; variable
Ddominator_tree.cpp270 if (node->parent_ == nullptr) { in ImmediateDominator()
274 return node->parent_->bb_; in ImmediateDominator()
354 first->parent_ = second; in InitializeTree()
386 if (node->parent_) { in DumpTreeAsDot()
387 out_stream << node->parent_->bb_->id() << " -> " << node->bb_->id() in DumpTreeAsDot()
Dloop_unswitch_pass.cpp217 loop_merge_dtn->parent_ = if_merge_block_dtn->parent_; in PerformUnswitch()
219 loop_merge_dtn->parent_->children_.push_back(loop_merge_dtn); in PerformUnswitch()
220 if_merge_block_dtn->parent_->children_.erase(std::find( in PerformUnswitch()
221 if_merge_block_dtn->parent_->children_.begin(), in PerformUnswitch()
222 if_merge_block_dtn->parent_->children_.end(), if_merge_block_dtn)); in PerformUnswitch()
270 loop_pre_header_dtn->parent_ = if_block_dtn; in PerformUnswitch()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dremove_unused_interface_variables_pass.cpp21 RemoveUnusedInterfaceVariablesPass& parent_; member in spvtools::opt::RemoveUnusedInterfaceVariablesContext
33 auto* var = parent_.get_def_use_mgr()->GetDef(*id); in processFunction()
37 (parent_.get_module()->version() >= in processFunction()
49 : parent_(parent), entry_(entry) {} in RemoveUnusedInterfaceVariablesContext()
54 parent_.context()->ProcessCallTreeFromRoots(pfn_, &roots); in CollectUsedVariables()
Dloop_descriptor.h56 parent_(nullptr), in Loop()
175 inline Loop* GetParent() { return parent_; } in GetParent()
176 inline const Loop* GetParent() const { return parent_; } in GetParent()
178 inline bool HasParent() const { return parent_; } in HasParent()
181 inline bool IsNested() const { return parent_ != nullptr; } in IsNested()
208 for (Loop* loop = this; loop != nullptr; loop = loop->parent_) { in AddBasicBlock()
217 for (Loop* loop = this; loop != nullptr; loop = loop->parent_) { in RemoveBasicBlock()
297 inline void SetParent(Loop* parent) { parent_ = parent; } in SetParent()
375 Loop* parent_; variable
Ddominator_tree.cpp270 if (node->parent_ == nullptr) { in ImmediateDominator()
274 return node->parent_->bb_; in ImmediateDominator()
354 first->parent_ = second; in InitializeTree()
386 if (node->parent_) { in DumpTreeAsDot()
387 out_stream << node->parent_->bb_->id() << " -> " << node->bb_->id() in DumpTreeAsDot()
/third_party/ninja/src/
Deval_env.cc25 if (parent_) in LookupVariable()
26 return parent_->LookupVariable(var); in LookupVariable()
50 if (parent_) in LookupRule()
51 return parent_->LookupRule(rule_name); in LookupRule()
95 if (parent_) in LookupWithFallback()
96 return parent_->LookupVariable(var); in LookupWithFallback()
Deval_env.h82 BindingEnv() : parent_(NULL) {} in BindingEnv()
83 explicit BindingEnv(BindingEnv* parent) : parent_(parent) {} in BindingEnv()
106 BindingEnv* parent_; member
/third_party/skia/third_party/externals/tint/src/sem/
Dstatement.h81 const CompoundStatement* Parent() const { return parent_; }
119 const CompoundStatement* const parent_;
148 const auto* curr = parent_;
163 const auto* curr = parent_;
174 const auto* curr = parent_;
/third_party/node/deps/v8/src/heap/cppgc/
Dmarking-verifier.cc29 parent_ ? parent_->GetName().value : "Stack", in VerifyMarked()
30 parent_ ? parent_->ObjectStart() : nullptr, in VerifyMarked()
Dmarking-verifier.h23 void SetCurrentParent(const HeapObjectHeader* header) { parent_ = header; } in SetCurrentParent()
26 bool IsParentOnStack() const { return !parent_; } in IsParentOnStack()
29 const HeapObjectHeader* parent_ = nullptr;
/third_party/node/deps/v8/src/heap/cppgc-js/
Dcpp-snapshot.cc576 explicit ParentScope(StateBase& parent) : parent_(parent) {} in ParentScope()
579 return static_cast<RootState&>(parent_); in ParentAsRootState()
581 State& ParentAsRegularState() const { return static_cast<State&>(parent_); } in ParentAsRegularState()
584 StateBase& parent_; member in v8::internal::ParentScope
727 : parent_(parent), current_(current) {} in WorkstackItemBase()
733 State* parent_; member in v8::internal::CppGraphBuilderImpl::WorkstackItemBase
753 CHECK(parent_); in Process()
754 parent_->MarkDependentVisibility(&current_); in Process()
765 if (parent_) { in Process()
769 new VisitationDoneItem(parent_, current_)}); in Process()
[all …]
/third_party/node/deps/v8/src/compiler/
Dloop-analysis.h46 Loop* parent() const { return parent_; } in parent()
59 : parent_(nullptr), in Loop()
66 Loop* parent_; variable
85 for (Loop* c = ContainingLoop(node); c != nullptr; c = c->parent_) { in Contains()
160 child->parent_ = parent; in SetParent()
/third_party/node/deps/v8/src/parsing/
Dpreparse-data.h107 PreparseDataBuilder* parent() const { return parent_; } in parent()
199 if (parent_ == nullptr) return false; in ThisOrParentBailedOut()
200 return parent_->ThisOrParentBailedOut(); in ThisOrParentBailedOut()
227 PreparseDataBuilder* parent_; variable
Dexpression-scope.h254 ExpressionScope* parent() const { return parent_; } in parent()
262 parent_(parser->expression_scope_), in ExpressionScope()
266 (parent_ && parent_->has_possible_parameter_in_scope_chain_)), in ExpressionScope()
269 (parent_ && in ExpressionScope()
270 parent_->has_possible_arrow_parameter_in_scope_chain_)) { in ExpressionScope()
276 parser_->expression_scope_ == parent_); in ~ExpressionScope()
277 parser_->expression_scope_ = parent_; in ~ExpressionScope()
344 ExpressionScope<Types>* parent_; variable

1234