Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/can/1.0/default/libnl++/include/libnl++/
DAttributes.h58 bool contains(nlattrtype_t attrtype) const;
95 T get(nlattrtype_t attrtype) const { in get() argument
96 const auto buffer = getBuffer(attrtype); in get()
98 LOG(WARNING) << "Netlink attribute is missing: " << attrtype; in get()
114 std::optional<Buffer<nlattr>> getBuffer(nlattrtype_t attrtype) const { in getBuffer() argument
116 const auto it = ind.find(attrtype); in getBuffer()
134 const T& getStruct(nlattrtype_t attrtype) const { in getStruct() argument
136 const auto it = ind.find(attrtype); in getStruct()
138 LOG(WARNING) << "Netlink attribute is missing: " << attrtype; in getStruct()
/hardware/interfaces/automotive/can/1.0/default/libnl++/
Dprinter.cpp103 const auto attrtype = attrMap[attr->nla_type]; in toStream() local
105 ss << attrtype.name; in toStream()
107 if (attrtype.dataType == DataType::Flag && attr.data<uint8_t>().getRaw().len() == 0) return; in toStream()
110 if (attrtype.flags == Flags::Verbose) { in toStream()
118 switch (attrtype.dataType) { in toStream()
129 toStream(ss, childattr, std::get<protocols::AttributeMap>(attrtype.ops)); in toStream()
138 if (attrtype.dataType == DataType::StringNul && len > 0 && str.ptr()[len - 1] == '\0') { in toStream()
150 std::get<protocols::AttributeDefinition::ToStream>(attrtype.ops); in toStream()
DAttributes.cpp38 bool Attributes::contains(nlattrtype_t attrtype) const { in contains()
39 return index().count(attrtype) > 0; in contains()