Home
last modified time | relevance | path

Searched refs:parent_constraints_ (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/system/gd/packet/parser/
Dparent_def.cc55 parent_constraints_.insert(std::pair(field_name, value)); in AddParentConstraint()
254 if (parent_constraints_.find(field->GetName()) == parent_constraints_.end()) { in GetParamList()
494 if (parent_ != nullptr && parent_constraints_.size() > 0) { in GenInstanceOf()
504 const auto& constraint = parent_constraints_.find(field->GetName()); in GenInstanceOf()
505 if (constraint != parent_constraints_.end()) { in GenInstanceOf()
543 res.insert(parent_constraints_.begin(), parent_constraints_.end()); in GetAllConstraints()
545 res.insert(parent->parent_constraints_.begin(), parent->parent_constraints_.end()); in GetAllConstraints()
564 if (!child->parent_constraints_.empty()) { in FindConstraintField()
565 return child->parent_constraints_.begin()->first; in FindConstraintField()
578 auto constraint = child->parent_constraints_.find(constraint_name); in FindDescendantsWithConstraint()
[all …]
Dgen_cpp.cc239 auto op_constraint = packet->parent_constraints_.find("op_code"); in generate_cpp_headers_one_file()
240 if (op_constraint == packet->parent_constraints_.end()) { in generate_cpp_headers_one_file()
241 auto constraint = packet->parent_constraints_.find("command_op_code"); in generate_cpp_headers_one_file()
242 if (constraint == packet->parent_constraints_.end()) { in generate_cpp_headers_one_file()
Dstruct_def.cc273 const auto& constraint = parent_constraints_.find(field->GetName()); in GenDefaultConstructor()
274 if (constraint != parent_constraints_.end()) { in GenDefaultConstructor()
335 const auto& constraint = parent_constraints_.find(field->GetName()); in GenConstructor()
336 if (constraint != parent_constraints_.end()) { in GenConstructor()
Dpacket_dependency.cc115 for (auto pcons : child->parent_constraints_) { in FinalizeParseAndMatchFields()
137 for (auto pcons : child->parent_constraints_) { in FinalizeParseAndMatchFields()
Dpacket_def.cc321 if (parent_constraints_.size() > 0 && parent_ == nullptr) { in GenValidator()
325 for (const auto& constraint : parent_constraints_) { in GenValidator()
730 if (params.size() > 0 || parent_constraints_.size() > 0) { in GenBuilderConstructor()
750 const auto& constraint = parent_constraints_.find(field->GetName()); in GenBuilderConstructor()
751 if (constraint != parent_constraints_.end()) { in GenBuilderConstructor()
Dparent_def.h92 std::map<std::string, std::variant<int64_t, std::string>> parent_constraints_; variable