Lines Matching refs:data_

39   memcpy(data_.data() + NLA_HDRLEN, raw_buffer.data(), raw_buffer.size());  in BaseNL80211Attr()
44 data_.resize(NLA_HDRLEN + NLA_ALIGN(payload_length), 0); in InitHeaderAndResize()
45 nlattr* header = reinterpret_cast<nlattr*>(data_.data()); in InitHeaderAndResize()
51 const nlattr* header = reinterpret_cast<const nlattr*>(data_.data()); in GetAttributeId()
56 if (data_.size() < NLA_HDRLEN) { in IsValid()
59 const nlattr* header = reinterpret_cast<const nlattr*>(data_.data()); in IsValid()
60 return NLA_ALIGN(header->nla_len) == data_.size(); in IsValid()
64 return data_; in GetConstData()
104 auto our_header = reinterpret_cast<nlattr*>(data_.data()); in Merge()
115 data_.resize(our_len_without_padding); in Merge()
117 data_.insert( in Merge()
118 data_.end(), in Merge()
123 data_.resize(NLA_ALIGN(total_len_without_padding), 0); in Merge()
134 data_ = data; in NL80211Attr()
138 const nlattr* header = reinterpret_cast<const nlattr*>(data_.data()); in GetValue()
140 data_.data() + NLA_HDRLEN, in GetValue()
141 data_.data() + header->nla_len); in GetValue()
151 char* storage = reinterpret_cast<char*>(data_.data() + NLA_HDRLEN); in NL80211Attr()
156 data_ = data; in NL80211Attr()
160 const nlattr* header = reinterpret_cast<const nlattr*>(data_.data()); in GetValue()
164 *(data_.data() + NLA_HDRLEN + str_length - 1) == 0) { in GetValue()
167 return string(reinterpret_cast<const char*>(data_.data() + NLA_HDRLEN), in GetValue()
177 data_ = data; in NL80211NestedAttr()
183 data_.insert(data_.end(), append_data.begin(), append_data.end()); in AddAttribute()
184 nlattr* header = reinterpret_cast<nlattr*>(data_.data()); in AddAttribute()
193 data_.resize(data_.size() + NLA_HDRLEN, 0); in AddFlagAttribute()
195 reinterpret_cast<nlattr*>(data_.data() + data_.size() - NLA_HDRLEN); in AddFlagAttribute()
198 nlattr* nl_header = reinterpret_cast<nlattr*>(data_.data()); in AddFlagAttribute()
203 return BaseNL80211Attr::GetAttributeImpl(data_.data() + NLA_HDRLEN, in HasAttribute()
204 data_.size() - NLA_HDRLEN, in HasAttribute()
212 if (!BaseNL80211Attr::GetAttributeImpl(data_.data() + NLA_HDRLEN, in GetAttribute()
213 data_.size() - NLA_HDRLEN, in GetAttribute()
228 const uint8_t* ptr = data_.data() + NLA_HDRLEN; in GetListOfNestedAttributes()
229 const uint8_t* end_ptr = data_.data() + data_.size(); in GetListOfNestedAttributes()
251 const uint8_t* ptr = data_.data() + NLA_HDRLEN; in DebugLog()
252 const uint8_t* end_ptr = data_.data() + data_.size(); in DebugLog()