Home
last modified time | relevance | path

Searched refs:e_ (Results 1 – 3 of 3) sorted by relevance

/system/bt/gd/packet/parser/
Denum_gen.cc23 EnumGen::EnumGen(EnumDef e) : e_(std::move(e)) {} in EnumGen()
27 stream << e_.name_; in GenDefinition()
28 stream << " : " << util::GetTypeForSize(e_.size_); in GenDefinition()
30 for (const auto& pair : e_.constants_) { in GenDefinition()
37 stream << "py::enum_<" << e_.name_ << ">(m, \"" << e_.name_ << "\")"; in GenDefinitionPybind11()
38 for (const auto& pair : e_.constants_) { in GenDefinitionPybind11()
39 stream << ".value(\"" << pair.second << "\", " << e_.name_ << "::" << pair.second << ")"; in GenDefinitionPybind11()
46 stream << "inline std::string " << e_.name_ << "Text(const " << e_.name_ << "& param) {"; in GenLogging()
48 for (const auto& pair : e_.constants_) { in GenLogging()
49 stream << "case " << e_.name_ << "::" << pair.second << ":"; in GenLogging()
[all …]
Denum_gen.h36 EnumDef e_; variable
/system/security/keystore2/src/crypto/include/
Dcertificate_utils.h60 Error e_;
63 constexpr CertUtilsError(Error e) : e_(e) {} in CertUtilsError()
64 explicit constexpr operator bool() const { return e_ != Ok; }