Home
last modified time | relevance | path

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

123

/system/core/libutils/include/utils/
DVector.h55 class Vector : private VectorImpl
64 Vector();
65 Vector(const Vector<TYPE>& rhs);
66 explicit Vector(const SortedVector<TYPE>& rhs);
67 virtual ~Vector();
70 const Vector<TYPE>& operator = (const Vector<TYPE>& rhs) const;
71 Vector<TYPE>& operator = (const Vector<TYPE>& rhs);
73 const Vector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const;
74 Vector<TYPE>& operator = (const SortedVector<TYPE>& rhs);
135 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()
DVector_fuzz.cpp22 android::Vector<uint8_t> vec = android::Vector<uint8_t>(); in runVectorFuzz()
24 android::Vector<uint32_t> vec32 = android::Vector<uint32_t>(); in runVectorFuzz()
44 android::Vector<uint8_t> vecCopy = android::Vector<uint8_t>(vec); in runVectorFuzz()
47 android::Vector<uint32_t> vec32Copy = android::Vector<uint32_t>(vec32); in runVectorFuzz()
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()
DVector_benchmark.cpp22 android::Vector<char> v; in BM_fill_android_vector()
38 android::Vector<char> v; in BM_prepend_android_vector()
/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()
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/chre/apps/wifi_offload/include/chre/apps/wifi_offload/generated/
Dflatbuffers_types_generated.h47 const flatbuffers::Vector<uint8_t> *ssid() const { in ssid()
48 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()
79 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> ssid = 0) {
164 const flatbuffers::Vector<uint8_t> *bssid() const { in bssid()
165 return GetPointer<const flatbuffers::Vector<uint8_t> *>(VT_BSSID); in bssid()
204 void add_bssid(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> bssid) { in add_bssid()
235 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> bssid = 0,
277 …const flatbuffers::Vector<flatbuffers::Offset<wifi_offload::fbs::ScanResult>> *scan_results() cons… in scan_results()
278 …return GetPointer<const flatbuffers::Vector<flatbuffers::Offset<wifi_offload::fbs::ScanResult>> *>… in scan_results()
[all …]
/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/libhwbinder/include/hwbinder/
DIPCThreadState.h139 Vector<BHwBinder*> mPendingStrongDerefs;
140 Vector<RefBase::weakref_type*> mPendingWeakDerefs;
141 Vector<RefBase*> mPostWriteStrongDerefs;
142 Vector<RefBase::weakref_type*> mPostWriteWeakDerefs;
DStatic.h33 extern Vector<int32_t> gTextBuffers;
/system/bt/gd/dumpsys/
Dreflection_schema.cc49 …const flatbuffers::Vector<flatbuffers::Offset<bluetooth::dumpsys::BundledSchemaMap>>* map = bundle… in FindInReflectionSchema()
65 …const flatbuffers::Vector<flatbuffers::Offset<bluetooth::dumpsys::BundledSchemaMap>>* map = bundle… in PrintReflectionSchema()
76 …const flatbuffers::Vector<flatbuffers::Offset<bluetooth::dumpsys::BundledSchemaMap>>* map = bundle… in VerifyReflectionSchema()
/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()
/system/chre/util/include/chre/util/flatbuffers/
Dhelpers.h50 flatbuffers::Offset<flatbuffers::Vector<T>> CreateVector(const T *v, in CreateVector()
65 flatbuffers::Offset<flatbuffers::Vector<T>> CreateVector( in CreateVector()
/system/chre/platform/shared/include/chre/platform/shared/generated/
Dhost_messages_generated.h332 …s::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset<void>> *values, const flatbuf…
375 const flatbuffers::Vector<uint8_t> *message() const {
376 return GetPointer<const flatbuffers::Vector<uint8_t> *>(VT_MESSAGE);
417 void add_message(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> message) {
444 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> message = 0,
526 const flatbuffers::Vector<int8_t> *name() const {
527 return GetPointer<const flatbuffers::Vector<int8_t> *>(VT_NAME);
529 const flatbuffers::Vector<int8_t> *vendor() const {
530 return GetPointer<const flatbuffers::Vector<int8_t> *>(VT_VENDOR);
532 const flatbuffers::Vector<int8_t> *toolchain() const {
[all …]
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h256 template<typename T> class Vector {
380 Vector();
387 Vector(const Vector &);
388 Vector &operator=(const Vector &);
424 Vector<Offset<T>> *VectorCast(Vector<Offset<U>> *ptr) {
426 return reinterpret_cast<Vector<Offset<T>> *>(ptr);
430 const Vector<Offset<T>> *VectorCast(const Vector<Offset<U>> *ptr) {
432 return reinterpret_cast<const Vector<Offset<T>> *>(ptr);
438 template<typename T> static inline size_t VectorLength(const Vector<T> *v) {
575 struct String : public Vector<char> {
[all …]
/system/chre/platform/shared/
Dhost_protocol_common.cc25 using flatbuffers::Vector;
42 Offset<Vector<int8_t>> HostProtocolCommon::addStringAsByteVector( in addStringAsByteVector()

123