Home
last modified time | relevance | path

Searched refs:data_ (Results 1 – 15 of 15) sorted by relevance

/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dconfirmationui_utils.h83 array() : data_{} {} in array()
84 array(const T (&data)[elements]) { std::copy(data, data + elements, data_); } in array()
87 T* data() { return data_; } in data()
88 const T* data() const { return data_; } in data()
91 T* begin() { return data_; } in begin()
92 T* end() { return data_ + elements; } in end()
93 const T* begin() const { return data_; } in begin()
94 const T* end() const { return data_ + elements; } in end()
98 data_[i] = v; in fill()
103 array_type data_;
[all …]
Dcbor.h82 const T* data_;
84 StringBuffer(const T* data, size_t size) : data_(data), size_(size) {
87 const T* data() const { return data_; }
199 WriteState() : data_(nullptr), size_(0), error_(Error::OK) {}
200 WriteState(uint8_t* buffer, size_t size) : data_(buffer), size_(size), error_(Error::OK) {}
202 : data_(buffer), size_(size), error_(error) {}
204 WriteState(uint8_t (&buffer)[size]) : data_(buffer), size_(size), error_(Error::OK) {}
208 ++data_;
219 data_ += offset;
226 uint8_t* data_;
[all …]
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dauthorization_set.h46 AuthorizationSet(const AuthorizationSet& other) : data_(other.data_) {} in AuthorizationSet()
49 AuthorizationSet(AuthorizationSet&& other) noexcept : data_(std::move(other.data_)) {} in AuthorizationSet()
56 data_ = other.data_;
62 data_ = std::move(other.data_);
68 data_.resize(other.size());
69 for (size_t i = 0; i < data_.size(); ++i) {
72 data_[i] = other[i];
88 size_t size() const { return data_.size(); } in size()
98 const KeyParameter* data() const { return data_.data(); } in data()
137 std::vector<KeyParameter>::const_iterator begin() const { return data_.begin(); } in begin()
[all …]
/hardware/interfaces/wifi/1.3/default/
Dringbuffer.cpp38 data_.push_back(input); in append()
41 size_ -= data_.front().size() * sizeof(data_.front()[0]); in append()
42 data_.pop_front(); in append()
47 return data_; in getData()
Dringbuffer.h42 std::list<std::vector<uint8_t>> data_;
/hardware/interfaces/keymaster/3.0/vts/functional/
Dauthorization_set.cpp94 std::sort(data_.begin(), data_.end(), keyParamLess); in Sort()
98 if (data_.empty()) return; in Deduplicate()
103 auto curr = data_.begin(); in Deduplicate()
105 for (; curr != data_.end(); ++prev, ++curr) { in Deduplicate()
114 std::swap(data_, result); in Deduplicate()
118 data_.insert(data_.end(), other.data_.begin(), other.data_.end()); in Union()
130 if (pos != -1 && keyParamEqual(*i, data_[pos])) { in Subtract()
131 data_.erase(data_.begin() + pos); in Subtract()
140 auto iter = data_.begin() + (1 + begin); in find()
142 while (iter != data_.end() && iter->tag != tag) in find()
[all …]
Dauthorization_set.h47 AuthorizationSet(const AuthorizationSet& other) : data_(other.data_) {} in AuthorizationSet()
50 AuthorizationSet(AuthorizationSet&& other) : data_(std::move(other.data_)) {} in AuthorizationSet()
57 data_ = other.data_;
63 data_ = std::move(other.data_);
69 data_.resize(other.size());
70 for (size_t i = 0; i < data_.size(); ++i) {
73 data_[i] = other[i];
89 size_t size() const { return data_.size(); } in size()
99 const KeyParameter* data() const { return data_.data(); } in data()
138 std::vector<KeyParameter>::const_iterator begin() const { return data_.begin(); } in begin()
[all …]
/hardware/interfaces/confirmationui/support/test/
Dandroid_cbor_test.cpp84 ASSERT_EQ(sizeof(testVector), size_t(state.data_ - buffer)); in TEST()
164 ASSERT_EQ(state.data_ - buffer, 1); in TEST()
168 ASSERT_EQ(state.data_ - buffer, 2); in TEST()
172 ASSERT_EQ(state.data_ - buffer, 2); in TEST()
176 ASSERT_EQ(state.data_ - buffer, 3); in TEST()
180 ASSERT_EQ(state.data_ - buffer, 3); in TEST()
184 ASSERT_EQ(state.data_ - buffer, 5); in TEST()
188 ASSERT_EQ(state.data_ - buffer, 5); in TEST()
192 ASSERT_EQ(state.data_ - buffer, 9); in TEST()
196 ASSERT_EQ(state.data_ - buffer, 9); in TEST()
/hardware/interfaces/keymaster/4.0/support/
Dauthorization_set.cpp87 std::sort(data_.begin(), data_.end(), keyParamLess); in Sort()
91 if (data_.empty()) return; in Deduplicate()
96 auto curr = data_.begin(); in Deduplicate()
98 for (; curr != data_.end(); ++prev, ++curr) { in Deduplicate()
107 std::swap(data_, result); in Deduplicate()
111 data_.insert(data_.end(), other.data_.begin(), other.data_.end()); in Union()
123 if (pos != -1 && keyParamEqual(*i, data_[pos])) { in Subtract()
124 data_.erase(data_.begin() + pos); in Subtract()
134 for (auto& param : data_) { in Filter()
139 std::swap(data_, result); in Filter()
[all …]
/hardware/libhardware/modules/camera/3_4/arc/
Dframe_buffer.cpp17 : data_(nullptr), in FrameBuffer()
39 data_ = buffer_.get(); in AllocatedFrameBuffer()
45 data_ = buffer_.get(); in AllocatedFrameBuffer()
54 data_ = buffer_.get(); in SetDataSize()
60 void AllocatedFrameBuffer::Reset() { memset(data_, 0, buffer_size_); } in Reset()
89 data_ = static_cast<uint8_t*>(addr); in Map()
96 if (is_mapped_ && munmap(data_, buffer_size_)) { in Unmap()
166 data_ = static_cast<uint8_t*>(addr); in Map()
Dframe_buffer.h30 uint8_t* GetData() const { return data_; } in GetData()
41 uint8_t* data_;
/hardware/interfaces/confirmationui/support/src/
Dcbor.cpp31 auto pos = state.data_; in writeBytes()
60 uint8_t& header = *wState.data_; in writeHeader()
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/1.0/generic/
DGenericOperation.h90 formattedMessageLength_ = state.data_ - formattedMessageBuffer_; in init()
/hardware/google/av/media/sfplugin/tests/
DMediaCodec_sanity_test.cpp67 constexpr FrameData(const uint8_t(&data_)[N]) : data(data_), size(N) { } in FrameData()
/hardware/google/av/codec2/include/
DC2Config.h717 size_t flexCount, C2Config::supplemental_info_t type, std::vector<uint8_t> data_) in C2SupplementalDataStruct()
719 memcpy(data, &data_[0], c2_min(data_.size(), flexCount)); in C2SupplementalDataStruct()