Home
last modified time | relevance | path

Searched refs:array (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/system/tools/aidl/tests/golden_output/aidl-test-fixedsizearray-cpp-source/gen/include/android/aidl/fixedsizearray/
DFixedSizeArrayExample.h76 …d::binder::Status RepeatBytes(const std::array<uint8_t, 3>& input, std::array<uint8_t, 3>* repeate…
77 …id::binder::Status RepeatInts(const std::array<int32_t, 3>& input, std::array<int32_t, 3>* repeate…
78 …ers(const std::array<::android::sp<::android::IBinder>, 3>& input, std::array<::android::sp<::andr…
79array<::android::aidl::fixedsizearray::FixedSizeArrayExample::IntParcelable, 3>& input, std::array
80 …at2dBytes(const std::array<std::array<uint8_t, 3>, 2>& input, std::array<std::array<uint8_t, 3>, 2…
81 …eat2dInts(const std::array<std::array<int32_t, 3>, 2>& input, std::array<std::array<int32_t, 3>, 2…
82array<std::array<::android::sp<::android::IBinder>, 3>, 2>& input, std::array<std::array<::android…
83array<std::array<::android::aidl::fixedsizearray::FixedSizeArrayExample::IntParcelable, 3>, 2>& in…
91 …inder::Status RepeatBytes(const std::array<uint8_t, 3>& /*input*/, std::array<uint8_t, 3>* /*repea… in RepeatBytes()
94 …binder::Status RepeatInts(const std::array<int32_t, 3>& /*input*/, std::array<int32_t, 3>* /*repea… in RepeatInts()
[all …]
/system/tools/aidl/tests/golden_output/frozen/aidl-test-fixedsizearray-cpp-source/gen/include/android/aidl/fixedsizearray/
DFixedSizeArrayExample.h76 …d::binder::Status RepeatBytes(const std::array<uint8_t, 3>& input, std::array<uint8_t, 3>* repeate…
77 …id::binder::Status RepeatInts(const std::array<int32_t, 3>& input, std::array<int32_t, 3>* repeate…
78 …ers(const std::array<::android::sp<::android::IBinder>, 3>& input, std::array<::android::sp<::andr…
79array<::android::aidl::fixedsizearray::FixedSizeArrayExample::IntParcelable, 3>& input, std::array
80 …at2dBytes(const std::array<std::array<uint8_t, 3>, 2>& input, std::array<std::array<uint8_t, 3>, 2…
81 …eat2dInts(const std::array<std::array<int32_t, 3>, 2>& input, std::array<std::array<int32_t, 3>, 2…
82array<std::array<::android::sp<::android::IBinder>, 3>, 2>& input, std::array<std::array<::android…
83array<std::array<::android::aidl::fixedsizearray::FixedSizeArrayExample::IntParcelable, 3>, 2>& in…
91 …inder::Status RepeatBytes(const std::array<uint8_t, 3>& /*input*/, std::array<uint8_t, 3>* /*repea… in RepeatBytes()
94 …binder::Status RepeatInts(const std::array<int32_t, 3>& /*input*/, std::array<int32_t, 3>* /*repea… in RepeatInts()
[all …]
/system/tools/aidl/tests/golden_output/frozen/aidl-test-fixedsizearray-ndk-source/gen/include/aidl/android/aidl/fixedsizearray/
DFixedSizeArrayExample.h97 …:ScopedAStatus RepeatBytes(const std::array<uint8_t, 3>& in_input, std::array<uint8_t, 3>* out_rep…
98 …::ScopedAStatus RepeatInts(const std::array<int32_t, 3>& in_input, std::array<int32_t, 3>* out_rep…
99 …us RepeatBinders(const std::array<::ndk::SpAIBinder, 3>& in_input, std::array<::ndk::SpAIBinder, 3…
100array<::aidl::android::aidl::fixedsizearray::FixedSizeArrayExample::IntParcelable, 3>& in_input, s…
101 …Bytes(const std::array<std::array<uint8_t, 3>, 2>& in_input, std::array<std::array<uint8_t, 3>, 2>…
102 …dInts(const std::array<std::array<int32_t, 3>, 2>& in_input, std::array<std::array<int32_t, 3>, 2>…
103 …t std::array<std::array<::ndk::SpAIBinder, 3>, 2>& in_input, std::array<std::array<::ndk::SpAIBind…
104array<std::array<::aidl::android::aidl::fixedsizearray::FixedSizeArrayExample::IntParcelable, 3>, …
110 …:ScopedAStatus RepeatBytes(const std::array<uint8_t, 3>& in_input, std::array<uint8_t, 3>* out_rep…
111 …::ScopedAStatus RepeatInts(const std::array<int32_t, 3>& in_input, std::array<int32_t, 3>* out_rep…
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-fixedsizearray-ndk-source/gen/include/aidl/android/aidl/fixedsizearray/
DFixedSizeArrayExample.h97 …:ScopedAStatus RepeatBytes(const std::array<uint8_t, 3>& in_input, std::array<uint8_t, 3>* out_rep…
98 …::ScopedAStatus RepeatInts(const std::array<int32_t, 3>& in_input, std::array<int32_t, 3>* out_rep…
99 …us RepeatBinders(const std::array<::ndk::SpAIBinder, 3>& in_input, std::array<::ndk::SpAIBinder, 3…
100array<::aidl::android::aidl::fixedsizearray::FixedSizeArrayExample::IntParcelable, 3>& in_input, s…
101 …Bytes(const std::array<std::array<uint8_t, 3>, 2>& in_input, std::array<std::array<uint8_t, 3>, 2>…
102 …dInts(const std::array<std::array<int32_t, 3>, 2>& in_input, std::array<std::array<int32_t, 3>, 2>…
103 …t std::array<std::array<::ndk::SpAIBinder, 3>, 2>& in_input, std::array<std::array<::ndk::SpAIBind…
104array<std::array<::aidl::android::aidl::fixedsizearray::FixedSizeArrayExample::IntParcelable, 3>, …
110 …:ScopedAStatus RepeatBytes(const std::array<uint8_t, 3>& in_input, std::array<uint8_t, 3>* out_rep…
111 …::ScopedAStatus RepeatInts(const std::array<int32_t, 3>& in_input, std::array<int32_t, 3>* out_rep…
[all …]
/system/security/identity/
DCredentialData.cpp89 cppbor::Array array; in saveToDisk() local
90 array.add(sacp.id); in saveToDisk()
91 array.add(sacp.readerCertificate.encodedCertificate); in saveToDisk()
92 array.add(sacp.userAuthenticationRequired); in saveToDisk()
93 array.add(sacp.timeoutMillis); in saveToDisk()
94 array.add(sacp.secureUserId); in saveToDisk()
96 array.add(mac); in saveToDisk()
97 sacpArray.add(std::move(array)); in saveToDisk()
124 cppbor::Array array; in saveToDisk() local
126 array.add(data.certificate); in saveToDisk()
[all …]
/system/media/audio_utils/
DMelProcessor.cpp53 constexpr std::array<std::array<float, kBiquadNumCoefs>, MelProcessor::kCascadeBiquadNumber>
57 constexpr std::array<std::array<float, kBiquadNumCoefs>, MelProcessor::kCascadeBiquadNumber>
61 constexpr std::array<std::array<float, kBiquadNumCoefs>, MelProcessor::kCascadeBiquadNumber>
65 constexpr std::array<std::array<float, kBiquadNumCoefs>, MelProcessor::kCascadeBiquadNumber>
69 constexpr std::array<std::array<float, kBiquadNumCoefs>, MelProcessor::kCascadeBiquadNumber>
73 constexpr std::array<std::array<float, kBiquadNumCoefs>, MelProcessor::kCascadeBiquadNumber>
77 constexpr std::array<std::array<float, kBiquadNumCoefs>, MelProcessor::kCascadeBiquadNumber>
81 constexpr std::array<std::array<float, kBiquadNumCoefs>, MelProcessor::kCascadeBiquadNumber>
85 constexpr std::array<std::array<float, kBiquadNumCoefs>, MelProcessor::kCascadeBiquadNumber>
89 constexpr std::array<std::array<float, kBiquadNumCoefs>, MelProcessor::kCascadeBiquadNumber>
[all …]
/system/tools/aidl/tests/
Daidl_test_client_file_descriptors.cpp87 std::vector<unique_fd> array; in TEST_F() local
88 array.resize(2); in TEST_F()
89 DoPipe(&array[0], &array[1]); in TEST_F()
97 repeated = std::vector<unique_fd>(array.size()); in TEST_F()
101 auto status = cpp_java_tests->ReverseFileDescriptorArray(array, &repeated, &reversed); in TEST_F()
104 WriteStringToFd("First", array[1]); in TEST_F()
129 std::vector<unique_fd> array; in TEST_F() local
130 array.resize(2); in TEST_F()
131 DoPipe(&array[0], &array[1]); in TEST_F()
134 for (auto& fd : array) { in TEST_F()
[all …]
Daidl_test_client_ndk_parcelables.cpp220 p.boolNullableArray = std::array<bool, 2>{true, false}; in TEST_F()
221 p.byteNullableArray = std::array<uint8_t, 2>{42, 0}; in TEST_F()
222 p.stringNullableArray = std::array<std::optional<std::string>, 2>{"hello", "world"}; in TEST_F()
225 p.boolNullableMatrix->at(0) = std::array<bool, 2>{true, false}; in TEST_F()
227 p.byteNullableMatrix->at(0) = std::array<uint8_t, 2>{42, 0}; in TEST_F()
229 p.stringNullableMatrix->at(0) = std::array<std::optional<std::string>, 2>{"hello", "world"}; in TEST_F()
245 std::array<std::array<uint8_t, 3>, 2> byte_array; in TEST_F()
273 std::array<std::array<T, 3>, 2> Make2dArray(std::initializer_list<T> values) { in Make2dArray()
274 std::array<std::array<T, 3>, 2> arr = {}; in Make2dArray()
288 CheckRepeat(service, &IRepeatFixedSizeArray::RepeatBytes, (std::array<uint8_t, 3>{1, 2, 3})); in TEST_F()
[all …]
Daidl_test_service.cpp961 Status RepeatBytes(const std::array<uint8_t, 3>& in_input, std::array<uint8_t, 3>* out_repeated, in RepeatBytes()
962 std::array<uint8_t, 3>* _aidl_return) override { in RepeatBytes()
967 Status RepeatInts(const std::array<int32_t, 3>& in_input, std::array<int32_t, 3>* out_repeated, in RepeatInts()
968 std::array<int32_t, 3>* _aidl_return) override { in RepeatInts()
973 Status RepeatBinders(const std::array<sp<IBinder>, 3>& in_input, in RepeatBinders()
974 std::array<sp<IBinder>, 3>* out_repeated, in RepeatBinders()
975 std::array<sp<IBinder>, 3>* _aidl_return) override { in RepeatBinders()
981 const std::array<FixedSizeArrayExample::IntParcelable, 3>& in_input, in RepeatParcelables()
982 std::array<FixedSizeArrayExample::IntParcelable, 3>* out_repeated, in RepeatParcelables()
983 std::array<FixedSizeArrayExample::IntParcelable, 3>* _aidl_return) override { in RepeatParcelables()
[all …]
/system/chre/util/tests/
Dheap_test.cc44 std::array<int, MaxSize> array; in TEST() local
45 std::array<int, MaxSize> array_sorted; in TEST()
48 array[i] = std::rand(); in TEST()
49 array_sorted[i] = array[i]; in TEST()
55 v.push_back(array[i]); in TEST()
85 std::array<int, MaxSize> array; in TEST() local
86 std::array<int, MaxSize> array_sorted; in TEST()
89 array[i] = std::rand(); in TEST()
90 array_sorted[i] = array[i]; in TEST()
95 v.push_back(array[i]); in TEST()
/system/tools/aidl/tests/golden_output/aidl-test-fixedsizearray-ndk-source/gen/android/aidl/fixedsizearray/
DFixedSizeArrayExample.cpp609 std::array<uint8_t, 3> in_input; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
610 std::array<uint8_t, 3> out_repeated; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
611 std::array<uint8_t, 3> _aidl_return; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
631 std::array<int32_t, 3> in_input; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
632 std::array<int32_t, 3> out_repeated; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
633 std::array<int32_t, 3> _aidl_return; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
653 std::array<::ndk::SpAIBinder, 3> in_input; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
654 std::array<::ndk::SpAIBinder, 3> out_repeated; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
655 std::array<::ndk::SpAIBinder, 3> _aidl_return; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
675 …std::array<::aidl::android::aidl::fixedsizearray::FixedSizeArrayExample::IntParcelable, 3> in_inpu… in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
[all …]
/system/tools/aidl/tests/golden_output/frozen/aidl-test-fixedsizearray-ndk-source/gen/android/aidl/fixedsizearray/
DFixedSizeArrayExample.cpp609 std::array<uint8_t, 3> in_input; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
610 std::array<uint8_t, 3> out_repeated; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
611 std::array<uint8_t, 3> _aidl_return; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
631 std::array<int32_t, 3> in_input; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
632 std::array<int32_t, 3> out_repeated; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
633 std::array<int32_t, 3> _aidl_return; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
653 std::array<::ndk::SpAIBinder, 3> in_input; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
654 std::array<::ndk::SpAIBinder, 3> out_repeated; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
655 std::array<::ndk::SpAIBinder, 3> _aidl_return; in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
675 …std::array<::aidl::android::aidl::fixedsizearray::FixedSizeArrayExample::IntParcelable, 3> in_inpu… in _aidl_android_aidl_fixedsizearray_FixedSizeArrayExample_IRepeatFixedSizeArray_onTransact()
[all …]
/system/connectivity/wificond/net/
Dmlme_event.h37 const std::array<uint8_t, ETH_ALEN>& GetBSSID() const { return bssid_; } in GetBSSID()
49 std::array<uint8_t, ETH_ALEN> bssid_;
61 const std::array<uint8_t, ETH_ALEN>& GetBSSID() const { return bssid_; } in GetBSSID()
73 std::array<uint8_t, ETH_ALEN> bssid_;
85 const std::array<uint8_t, ETH_ALEN>& GetBSSID() const { return bssid_; } in GetBSSID()
92 std::array<uint8_t, ETH_ALEN> bssid_;
107 std::array<uint8_t, ETH_ALEN> bssid_;
121 std::array<uint8_t, ETH_ALEN> bssid_;
/system/core/libutils/binder/
DVectorImpl.cpp124 ssize_t VectorImpl::insertArrayAt(const void* array, size_t index, size_t length) in insertArrayAt() argument
130 _do_copy(where, array, length); in insertArrayAt()
135 ssize_t VectorImpl::appendArray(const void* array, size_t length) in appendArray() argument
137 return insertArrayAt(array, size(), length); in appendArray()
177 void* array = const_cast<void*>(arrayImpl()); in sort() local
181 void* item = reinterpret_cast<char*>(array) + mItemSize*(i); in sort()
182 void* curr = reinterpret_cast<char*>(array) + mItemSize*(i-1); in sort()
187 array = editArrayImpl(); in sort()
188 if (!array) return NO_MEMORY; in sort()
191 item = reinterpret_cast<char*>(array) + mItemSize*(i); in sort()
[all …]
/system/tools/aidl/tests/golden_output/frozen/aidl-test-fixedsizearray-cpp-source/gen/android/aidl/fixedsizearray/
DFixedSizeArrayExample.cpp722 …atFixedSizeArray::RepeatBytes(const std::array<uint8_t, 3>& input, std::array<uint8_t, 3>* repeate… in RepeatBytes()
764 …eatFixedSizeArray::RepeatInts(const std::array<int32_t, 3>& input, std::array<int32_t, 3>* repeate… in RepeatInts()
806 …ers(const std::array<::android::sp<::android::IBinder>, 3>& input, std::array<::android::sp<::andr… in RepeatBinders()
848array<::android::aidl::fixedsizearray::FixedSizeArrayExample::IntParcelable, 3>& input, std::array in RepeatParcelables()
890 …at2dBytes(const std::array<std::array<uint8_t, 3>, 2>& input, std::array<std::array<uint8_t, 3>, 2… in Repeat2dBytes()
932 …eat2dInts(const std::array<std::array<int32_t, 3>, 2>& input, std::array<std::array<int32_t, 3>, 2… in Repeat2dInts()
974array<std::array<::android::sp<::android::IBinder>, 3>, 2>& input, std::array<std::array<::android… in Repeat2dBinders()
1016array<std::array<::android::aidl::fixedsizearray::FixedSizeArrayExample::IntParcelable, 3>, 2>& in… in Repeat2dParcelables()
1079 std::array<uint8_t, 3> in_input; in onTransact()
1080 std::array<uint8_t, 3> out_repeated; in onTransact()
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-fixedsizearray-cpp-source/gen/android/aidl/fixedsizearray/
DFixedSizeArrayExample.cpp722 …atFixedSizeArray::RepeatBytes(const std::array<uint8_t, 3>& input, std::array<uint8_t, 3>* repeate… in RepeatBytes()
764 …eatFixedSizeArray::RepeatInts(const std::array<int32_t, 3>& input, std::array<int32_t, 3>* repeate… in RepeatInts()
806 …ers(const std::array<::android::sp<::android::IBinder>, 3>& input, std::array<::android::sp<::andr… in RepeatBinders()
848array<::android::aidl::fixedsizearray::FixedSizeArrayExample::IntParcelable, 3>& input, std::array in RepeatParcelables()
890 …at2dBytes(const std::array<std::array<uint8_t, 3>, 2>& input, std::array<std::array<uint8_t, 3>, 2… in Repeat2dBytes()
932 …eat2dInts(const std::array<std::array<int32_t, 3>, 2>& input, std::array<std::array<int32_t, 3>, 2… in Repeat2dInts()
974array<std::array<::android::sp<::android::IBinder>, 3>, 2>& input, std::array<std::array<::android… in Repeat2dBinders()
1016array<std::array<::android::aidl::fixedsizearray::FixedSizeArrayExample::IntParcelable, 3>, 2>& in… in Repeat2dParcelables()
1079 std::array<uint8_t, 3> in_input; in onTransact()
1080 std::array<uint8_t, 3> out_repeated; in onTransact()
[all …]
/system/extras/module_ndk_libs/libnativehelper/include_jni/
Djni.h851 jsize GetArrayLength(jarray array) in GetArrayLength()
852 { return functions->GetArrayLength(this, array); } in GetArrayLength()
859 jobject GetObjectArrayElement(jobjectArray array, jsize index) in GetObjectArrayElement()
860 { return functions->GetObjectArrayElement(this, array, index); } in GetObjectArrayElement()
862 void SetObjectArrayElement(jobjectArray array, jsize index, jobject value) in SetObjectArrayElement()
863 { functions->SetObjectArrayElement(this, array, index, value); } in SetObjectArrayElement()
882 jboolean* GetBooleanArrayElements(jbooleanArray array, jboolean* isCopy) in GetBooleanArrayElements()
883 { return functions->GetBooleanArrayElements(this, array, isCopy); } in GetBooleanArrayElements()
884 jbyte* GetByteArrayElements(jbyteArray array, jboolean* isCopy) in GetByteArrayElements()
885 { return functions->GetByteArrayElements(this, array, isCopy); } in GetByteArrayElements()
[all …]
/system/tools/aidl/tests/java/src/android/aidl/tests/
DJavaOnlyImmutableAnnotationTests.java48 Bar[] array = new Bar[3]; in testReadWriteJavaOnlyImmutableParcelable() local
49 array[0] = new Bar("zero"); in testReadWriteJavaOnlyImmutableParcelable()
50 array[1] = new Bar("one"); in testReadWriteJavaOnlyImmutableParcelable()
51 array[2] = new Bar("two"); in testReadWriteJavaOnlyImmutableParcelable()
53 Foo foo = new Foo(7, new Bar("my"), list, map, array, Union.num(42)); in testReadWriteJavaOnlyImmutableParcelable()
113 Bar[] array = new Bar[3]; in testBuilder() local
114 array[0] = new Bar("zero"); in testBuilder()
115 array[1] = new Bar("one"); in testBuilder()
116 array[2] = new Bar("two"); in testBuilder()
118 Foo foo = new Foo(7, b, list, map, array, Union.num(42)); in testBuilder()
[all …]
/system/authgraph/core/src/
Dkey.rs518 let mut array = match value { in from_cbor_value() localVariable
525 let cert_chain = match array.remove(1) { in from_cbor_value()
531 let version: i32 = match array.remove(0) { in from_cbor_value()
541 let mut array = Vec::<Value>::new(); in to_cbor_value() localVariable
542 array.try_push(Value::Integer(self.version.into())).map_err(|_| CoseError::EncodeFailed)?; in to_cbor_value()
543 array in to_cbor_value()
547 Ok(Value::Array(array)) in to_cbor_value()
739 let mut array = match value { in from_cbor_value() localVariable
745 let dice_chain_entries_optional = if array.len() > 2 { in from_cbor_value()
748 dice_chain_entries.try_reserve(array.len() - 2).map_err(|_| CoseError::EncodeFailed)?; in from_cbor_value()
[all …]
/system/libhidl/
Dtest_main.cpp217 int32_t array[] = {5, 6, 7}; in TEST_F() local
218 vector<int32_t> v(array, array + 3); in TEST_F()
224 EXPECT_ARRAYEQ(hv1, array, 3); in TEST_F()
234 EXPECT_ARRAYEQ(v3, array, v3.size()); in TEST_F()
256 int32_t array[] = {5, 6, 7}; in TEST_F() local
257 android::hardware::hidl_vec<int32_t> hv1 = std::vector<int32_t>(array, array + 3); in TEST_F()
294 int32_t array[] = {5, 6, 7}; in TEST_F() local
295 hidl_vec<int32_t> hv1 = std::vector<int32_t>(array, array + 3); in TEST_F()
431 int32_t array[] = {5, 6, 7}; in TEST_F() local
433 hidl_array<int32_t, 3> ha(array); in TEST_F()
[all …]
/system/chre/apps/test/chqts/src/shared/
Dnano_string_test.cc152 char array[kAsciiLen + 1]; in testHexAscii() local
153 array[kAsciiLen] = kUnsetValue; in testHexAscii()
154 uint32ToHexAscii(array, sizeof(array), value); in testHexAscii()
155 EXPECT_EQ(kUnsetValue, array[kAsciiLen]); in testHexAscii()
156 array[kAsciiLen] = '\0'; in testHexAscii()
157 EXPECT_STREQ(str, array); in testHexAscii()
/system/chre/apps/nearby/third_party/contexthub/chre/util/include/chre/util/
Dmacros.h28 #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) argument
32 #define ARRAY_END(array) (array + ARRAY_SIZE(array)) argument
/system/chre/util/include/chre/util/
Dmacros.h28 #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) argument
32 #define ARRAY_END(array) (array + ARRAY_SIZE(array)) argument
/system/core/libutils/include/utils/
DVector.h103 inline const TYPE* array() const;
139 ssize_t insertArrayAt(const TYPE* array, size_t index, size_t length);
142 ssize_t appendArray(const TYPE* array, size_t length);
199 inline const_iterator begin() const { return array(); } in begin()
200 inline const_iterator end() const { return array() + size(); } in end()
206 ssize_t index = removeItemsAt(static_cast<size_t>(pos-array())); in erase()
264 const TYPE* Vector<TYPE>::array() const { in array() function
279 return *(array() + index);
289 return *(array() + size() - 1); in top()
313 ssize_t Vector<TYPE>::insertArrayAt(const TYPE* array, size_t index, size_t length) { in insertArrayAt() argument
[all …]
/system/core/libutils/binder/include/utils/
DVector.h103 inline const TYPE* array() const;
139 ssize_t insertArrayAt(const TYPE* array, size_t index, size_t length);
142 ssize_t appendArray(const TYPE* array, size_t length);
199 inline const_iterator begin() const { return array(); } in begin()
200 inline const_iterator end() const { return array() + size(); } in end()
206 ssize_t index = removeItemsAt(static_cast<size_t>(pos-array())); in erase()
264 const TYPE* Vector<TYPE>::array() const { in array() function
279 return *(array() + index);
289 return *(array() + size() - 1); in top()
313 ssize_t Vector<TYPE>::insertArrayAt(const TYPE* array, size_t index, size_t length) { in insertArrayAt() argument
[all …]

12345678910>>...13