Home
last modified time | relevance | path

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

/hardware/interfaces/wifi/aidl/default/
Dringbuffer.cpp36 data_.push_back(input); in append()
39 if (data_.front().size() <= 0 || data_.front().size() > maxSize_) { in append()
41 << data_.front().size(); in append()
44 size_ -= data_.front().size() * sizeof(data_.front()[0]); in append()
45 data_.pop_front(); in append()
51 return data_; in getData()
55 data_.clear(); in clear()
Dringbuffer.h50 std::list<std::vector<uint8_t>> data_;
/hardware/interfaces/security/keymint/support/
Dauthorization_set.cpp28 std::sort(data_.begin(), data_.end()); in Sort()
32 if (data_.empty()) return; in Deduplicate()
37 auto curr = data_.begin(); in Deduplicate()
39 for (; curr != data_.end(); ++prev, ++curr) { in Deduplicate()
48 std::swap(data_, result); in Deduplicate()
52 data_.insert(data_.end(), other.data_.begin(), other.data_.end()); in Union()
64 if (pos != -1 && (*i == data_[pos])) { in Subtract()
65 data_.erase(data_.begin() + pos); in Subtract()
74 return data_[at]; in operator []()
78 return data_[at]; in operator []()
[all …]
/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/security/keymint/support/include/keymint_support/
Dauthorization_set.h48 AuthorizationSet(const AuthorizationSet& other) : data_(other.data_) {} in AuthorizationSet()
51 AuthorizationSet(AuthorizationSet&& other) noexcept : data_(std::move(other.data_)) {} in AuthorizationSet()
58 data_ = other.data_;
64 data_ = std::move(other.data_);
70 data_.resize(other.size());
71 for (size_t i = 0; i < data_.size(); ++i) {
74 data_[i] = other[i];
90 size_t size() const { return data_.size(); } in size()
100 const KeyParameter* data() const { return data_.data(); } in data()
139 auto begin() { return data_.begin(); } in begin()
[all …]
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dauthorization_set.h47 AuthorizationSet(const AuthorizationSet& other) : data_(other.data_) {} in AuthorizationSet()
50 AuthorizationSet(AuthorizationSet&& other) noexcept : 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/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/bluetooth/audio/aidl/default/
DA2dpBits.h23 uint8_t* data_; variable
27 : cdata_(vector.data()), data_(nullptr) {} in A2dpBits()
30 : cdata_(vector.data()), data_(vector.data()) {} in A2dpBits()
53 data_[bit >> 3] |= m;
55 data_[bit >> 3] &= ~m;
/hardware/interfaces/gnss/common/utils/default/
DDeviceFileReader.cpp94 data_[CMD_GET_LOCATION] = inputStr; in getDataFromDeviceFile()
97 data_[CMD_GET_RAWMEASUREMENT] = inputStr; in getDataFromDeviceFile()
105 return data_[CMD_GET_LOCATION]; in getLocationData()
111 return data_[CMD_GET_RAWMEASUREMENT]; in getGnssRawMeasurementData()
/hardware/interfaces/confirmationui/support/src/
Dcbor.cpp31 auto pos = state.data_; in writeBytes()
60 uint8_t& header = *wState.data_; in writeHeader()
/hardware/google/gfxstream/guest/mesa/src/util/
Dbuild_id.c56 build_id_find_nhdr_callback(struct dl_phdr_info *info, size_t size, void *data_) in build_id_find_nhdr_callback() argument
58 struct callback_data *data = data_; in build_id_find_nhdr_callback()
/hardware/interfaces/gnss/common/utils/default/include/
DDeviceFileReader.h44 std::unordered_map<std::string, std::string> data_; variable
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/1.0/generic/
DGenericOperation.h90 formattedMessageLength_ = state.data_ - formattedMessageBuffer_; in init()
/hardware/google/gfxstream/guest/mesa/include/CL/
Dcl.hpp708 T data_[N]; member in cl::vector
748 new (&data_[size_]) T(x); in push_back()
763 data_[size_].~T(); in pop_back()
836 operator T* () { return data_; } in operator T*()
839 operator const T* () const { return data_; } in operator const T*()
870 new (&data_[size_]) T(fill); in resize()
876 data_[size_].~T(); in resize()
889 return data_[index]; in operator []()
901 return data_[index]; in operator []()
1040 return data_[0]; in front()
[all …]
Dopencl.hpp656 size_type data_[N]; member in cl::compatibility::size_t
663 data_[i] = 0; in size_t()
670 data_[i] = rhs[i]; in size_t()
676 return data_[index]; in operator []()
681 return data_[index]; in operator []()
685 operator size_type* () { return data_; } in operator size_type*()
688 operator const size_type* () const { return data_; } in operator const size_type*()
695 ret[i] = data_[i]; in operator array<size_type,N>()
/hardware/google/gfxstream/common/vulkan/include/vulkan/
Dvulkansc_funcs.hpp5539 …LKAN_HPP_NAMESPACE::Bool32,std::vector<VULKAN_HPP_NAMESPACE::FaultData, FaultDataAllocator>> data_; in getFaultData() local
5540 VULKAN_HPP_NAMESPACE::Bool32 & unrecordedFaults = data_.first; in getFaultData()
5541 std::vector<VULKAN_HPP_NAMESPACE::FaultData, FaultDataAllocator> & faults = data_.second; in getFaultData()
5555 return createResultValueType( static_cast<VULKAN_HPP_NAMESPACE::Result>( result ), data_ ); in getFaultData()
5564 …:Bool32,std::vector<VULKAN_HPP_NAMESPACE::FaultData, FaultDataAllocator>> data_( std::piecewise_co… in getFaultData() local
5565 VULKAN_HPP_NAMESPACE::Bool32 & unrecordedFaults = data_.first; in getFaultData()
5566 std::vector<VULKAN_HPP_NAMESPACE::FaultData, FaultDataAllocator> & faults = data_.second; in getFaultData()
5580 return createResultValueType( static_cast<VULKAN_HPP_NAMESPACE::Result>( result ), data_ ); in getFaultData()
6983 …HPP_NAMESPACE::PerformanceCounterDescriptionKHR, PerformanceCounterDescriptionKHRAllocator>> data_; in enumerateQueueFamilyPerformanceQueryCountersKHR() local
6984 …KAN_HPP_NAMESPACE::PerformanceCounterKHR, PerformanceCounterKHRAllocator> & counters = data_.first; in enumerateQueueFamilyPerformanceQueryCountersKHR()
[all …]
Dvulkansc_raii.hpp8394 std::pair<VULKAN_HPP_NAMESPACE::Bool32,std::vector<VULKAN_HPP_NAMESPACE::FaultData>> data_; in getFaultData() local
8395 VULKAN_HPP_NAMESPACE::Bool32 & unrecordedFaults = data_.first; in getFaultData()
8396 std::vector<VULKAN_HPP_NAMESPACE::FaultData> & faults = data_.second; in getFaultData()
8410 return data_; in getFaultData()
8964 …PerformanceCounterKHR>, std::vector<VULKAN_HPP_NAMESPACE::PerformanceCounterDescriptionKHR>> data_; in enumerateQueueFamilyPerformanceQueryCountersKHR() local
8965 std::vector<VULKAN_HPP_NAMESPACE::PerformanceCounterKHR> & counters = data_.first; in enumerateQueueFamilyPerformanceQueryCountersKHR()
8966 …ector<VULKAN_HPP_NAMESPACE::PerformanceCounterDescriptionKHR> & counterDescriptions = data_.second; in enumerateQueueFamilyPerformanceQueryCountersKHR()
8986 return data_; in enumerateQueueFamilyPerformanceQueryCountersKHR()
9434 …std::pair<std::vector<uint64_t>,uint64_t> data_( std::piecewise_construct, std::forward_as_tuple( … in getCalibratedTimestampsEXT() local
9435 std::vector<uint64_t> & timestamps = data_.first; in getCalibratedTimestampsEXT()
[all …]
Dvulkan_raii.hpp15107 …PerformanceCounterKHR>, std::vector<VULKAN_HPP_NAMESPACE::PerformanceCounterDescriptionKHR>> data_; in enumerateQueueFamilyPerformanceQueryCountersKHR() local
15108 std::vector<VULKAN_HPP_NAMESPACE::PerformanceCounterKHR> & counters = data_.first; in enumerateQueueFamilyPerformanceQueryCountersKHR()
15109 …ector<VULKAN_HPP_NAMESPACE::PerformanceCounterDescriptionKHR> & counterDescriptions = data_.second; in enumerateQueueFamilyPerformanceQueryCountersKHR()
15129 return data_; in enumerateQueueFamilyPerformanceQueryCountersKHR()
16531 …std::pair<std::vector<uint64_t>,uint64_t> data_( std::piecewise_construct, std::forward_as_tuple( … in getCalibratedTimestampsEXT() local
16532 std::vector<uint64_t> & timestamps = data_.first; in getCalibratedTimestampsEXT()
16533 uint64_t & maxDeviation = data_.second; in getCalibratedTimestampsEXT()
16537 return data_; in getCalibratedTimestampsEXT()
16546 std::pair<uint64_t,uint64_t> data_; in getCalibratedTimestampEXT() local
16547 uint64_t & timestamp = data_.first; in getCalibratedTimestampEXT()
[all …]