Home
last modified time | relevance | path

Searched refs:Vector (Results 1 – 25 of 73) 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()
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);
/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.h139 Vector<BHwBinder*> mPendingStrongDerefs;
140 Vector<RefBase::weakref_type*> mPendingWeakDerefs;
141 Vector<RefBase*> mPostWriteStrongDerefs;
142 Vector<RefBase::weakref_type*> mPostWriteWeakDerefs;
DStatic.h29 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/platform/shared/
Dhost_protocol_common.cc25 using flatbuffers::Vector;
40 Offset<Vector<int8_t>> HostProtocolCommon::addStringAsByteVector( in addStringAsByteVector()
/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