Home
last modified time | relevance | path

Searched refs:Vector (Results 1 – 25 of 65) sorted by relevance

123

/system/core/libutils/include/utils/
DVector.h57 class Vector : private VectorImpl
66 Vector();
67 Vector(const Vector<TYPE>& rhs);
68 explicit Vector(const SortedVector<TYPE>& rhs);
69 virtual ~Vector();
72 const Vector<TYPE>& operator = (const Vector<TYPE>& rhs) const;
73 Vector<TYPE>& operator = (const Vector<TYPE>& rhs);
75 const Vector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const;
76 Vector<TYPE>& operator = (const SortedVector<TYPE>& rhs);
137 ssize_t insertVectorAt(const Vector<TYPE>& vector, size_t index);
[all …]
/system/nvram/messages/include/nvram/messages/
Dvector.h36 template <typename ElementType> class Vector {
38 Vector() = default;
39 ~Vector() { in ~Vector()
51 Vector(const Vector<ElementType>& other) = delete;
52 Vector<ElementType>& operator=(const Vector<ElementType>& other) = delete;
53 Vector(Vector<ElementType>&& other) : Vector() { in Vector() function
56 Vector<ElementType>& operator=(Vector<ElementType>&& other) {
60 friend void swap(Vector<ElementType>& first, Vector<ElementType>& second) { in swap()
Dnvram_messages.h58 Vector<uint32_t> space_list;
66 Vector<nvram_control_t> controls;
79 Vector<nvram_control_t> controls;
/system/core/libutils/
DVector_test.cpp43 Vector<int> vector; in TEST_F()
44 Vector<int> other; in TEST_F()
78 Vector<int> vector; in TEST_F()
83 Vector<int> vector; in TEST_F()
96 Vector<int> vector; in TEST_F()
105 Vector<int> vector; in TEST_F()
113 Vector<int> vector; in TEST_F()
120 Vector<int> vector1; in TEST_F()
126 Vector<int> vector2 = vector1; in TEST_F()
Dmisc.cpp44 static Vector<sysprop_change_callback_info>* gSyspropList = nullptr;
51 gSyspropList = new Vector<sysprop_change_callback_info>(); in add_sysprop_change_callback()
105 Vector<sysprop_change_callback_info> listeners; in do_report_sysprop_change()
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dvector_serialization.h28 flatbuffers::Vector<flatbuffers::Offset<typename T::FbsType>>>
29 SerializeVector(const Vector<T> &native_vector, in SerializeVector()
31 wifi_offload::Vector<flatbuffers::Offset<typename T::FbsType>> offset_vector; in SerializeVector()
41 const flatbuffers::Vector<flatbuffers::Offset<typename T::FbsType>> in DeserializeVector()
43 Vector<T> *native_vector) { in DeserializeVector()
Dflatbuffers_types_generated.h49 const flatbuffers::Vector<uint8_t> *ssid() const { in ssid()
50 return GetPointer<const flatbuffers::Vector<uint8_t> *>(VT_SSID); in ssid()
62 void add_ssid(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> ssid) { in add_ssid()
78 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> ssid = 0) {
150 const flatbuffers::Vector<uint8_t> *bssid() const { in bssid()
151 return GetPointer<const flatbuffers::Vector<uint8_t> *>(VT_BSSID); in bssid()
182 void add_bssid(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> bssid) { in add_bssid()
212 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> bssid = 0,
239 const flatbuffers::Vector<flatbuffers::Offset<ScanResult>> *scan_results() in scan_results()
242 const flatbuffers::Vector<flatbuffers::Offset<ScanResult>> *>( in scan_results()
[all …]
Dscan_result_message.h38 void SetScanResults(const Vector<ScanResult> &results);
39 void GetScanResults(Vector<ScanResult> *results);
47 Vector<ScanResult> scan_results_;
Dscan_params.h49 Vector<Ssid> ssids_to_scan_;
50 Vector<uint32_t> frequencies_to_scan_mhz_;
Dwifi_offload.h38 using Vector = chre::DynamicVector<T>; variable
57 using Vector = std::vector<T>; variable
Dscan_stats.h59 Vector<ScanRecord> scan_records_;
60 Vector<RpcLogRecord> rpc_log_records_;
Dchannel_histogram.h54 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> Serialize(
57 bool Deserialize(const flatbuffers::Vector<uint8_t> &fbs_scan_count);
Dflatbuffers_serialization.h58 size_t Serialize(const wifi_offload::Vector<wifi_offload::ScanResult> &results,
76 wifi_offload::Vector<wifi_offload::ScanResult> *results);
/system/media/audio_utils/
Dpower.cpp160 template <typename Vector, typename Scalar>
163 static_assert(sizeof(Vector) % sizeof(Scalar) == 0, in energyMonoVector()
165 const size_t vectorLength = sizeof(Vector) / sizeof(Scalar); // typically 4 (a const) in energyMonoVector()
175 while ((uintptr_t)samplitudes % alignof(Vector) != 0 /* compiler optimized */ && size > 0) { in energyMonoVector()
182 const Vector *vamplitudes = reinterpret_cast<const Vector *>(samplitudes); in energyMonoVector()
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_messages_generated.h180 …s::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset<void>> *values, const flatbuf…
223 const flatbuffers::Vector<uint8_t> *message() const {
224 return GetPointer<const flatbuffers::Vector<uint8_t> *>(VT_MESSAGE);
249 void add_message(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> message) {
270 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> message = 0) {
340 const flatbuffers::Vector<int8_t> *name() const {
341 return GetPointer<const flatbuffers::Vector<int8_t> *>(VT_NAME);
343 const flatbuffers::Vector<int8_t> *vendor() const {
344 return GetPointer<const flatbuffers::Vector<int8_t> *>(VT_VENDOR);
346 const flatbuffers::Vector<int8_t> *toolchain() const {
[all …]
/system/libhwbinder/include/hwbinder/
DIPCThreadState.h165 Vector<BHwBinder*> mPendingStrongDerefs;
166 Vector<RefBase::weakref_type*> mPendingWeakDerefs;
167 Vector<RefBase*> mPostWriteStrongDerefs;
168 Vector<RefBase::weakref_type*> mPostWriteWeakDerefs;
DStatic.h29 extern Vector<int32_t> gTextBuffers;
/system/chre/apps/wifi_offload/
Dscan_result_message.cc22 void ScanResultMessage::SetScanResults(const Vector<ScanResult> &results) { in SetScanResults()
30 void ScanResultMessage::GetScanResults(Vector<ScanResult> *results) { in GetScanResults()
Dflatbuffers_serialization.cc45 size_t Serialize(const wifi_offload::Vector<wifi_offload::ScanResult> &results, in Serialize()
53 wifi_offload::Vector<wifi_offload::ScanResult> *results) { in Deserialize()
Dchannel_histogram.cc150 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> ChannelHistogram::Serialize( in Serialize()
160 const flatbuffers::Vector<uint8_t> &fbs_scan_count) { in Deserialize()
/system/chre/platform/shared/
Dhost_protocol_common.cc25 using flatbuffers::Vector;
40 Offset<Vector<int8_t>> HostProtocolCommon::addStringAsByteVector( in addStringAsByteVector()
Dhost_protocol_chre.cc27 using flatbuffers::Vector;
33 const char *getStringFromByteVector(const flatbuffers::Vector<int8_t> *vec) { in getStringFromByteVector()
61 const flatbuffers::Vector<uint8_t> *msgData = nanoappMsg->message(); in decodeMessageFromHost()
79 const flatbuffers::Vector<uint8_t> *appBinary = request->app_binary(); in decodeMessageFromHost()
/system/chre/host/common/include/chre_host/
Dhost_messages_generated.h294 …s::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset<void>> *values, const flatbuf…
363 const flatbuffers::Vector<uint8_t> *message() const {
364 return GetPointer<const flatbuffers::Vector<uint8_t> *>(VT_MESSAGE);
366 flatbuffers::Vector<uint8_t> *mutable_message() {
367 return GetPointer<flatbuffers::Vector<uint8_t> *>(VT_MESSAGE);
395 void add_message(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> message) {
416 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> message = 0) {
528 const flatbuffers::Vector<int8_t> *name() const {
529 return GetPointer<const flatbuffers::Vector<int8_t> *>(VT_NAME);
531 flatbuffers::Vector<int8_t> *mutable_name() {
[all …]
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h373 template<typename T> class Vector {
464 Vector();
500 template<typename T> static inline size_t VectorLength(const Vector<T> *v) {
505 struct String : public Vector<char> {
1112 template<typename T> Offset<Vector<T>> CreateVector(const T *v, size_t len) {
1117 return Offset<Vector<T>>(EndVector(len));
1127 template<typename T> Offset<Vector<T>> CreateVector(const std::vector<T> &v) {
1134 Offset<Vector<uint8_t>> CreateVector(const std::vector<bool> &v) {
1139 return Offset<Vector<uint8_t>>(EndVector(v.size()));
1145 template<typename T> Offset<Vector<T>> CreateVector(
[all …]
/system/chre/apps/wifi_offload/test/include/
Dutility.h76 void init(wifi_offload::Vector<T> &vec, RandomGenerator &rand_gen, in init()
87 void init(wifi_offload::Vector<T> &vec, RandomGenerator &rand_gen) { in init()

123