Home
last modified time | relevance | path

Searched refs:arr (Results 1 – 19 of 19) sorted by relevance

/system/bt/osi/test/fuzzers/array/
Dfuzz_array.cc32 array_t* arr = array_new(element_size); in LLVMFuzzerTestOneInput() local
35 if (arr != nullptr) { in LLVMFuzzerTestOneInput()
44 array_append_value(arr, new_val); in LLVMFuzzerTestOneInput()
49 dataProvider.ConsumeIntegralInRange<size_t>(0, array_length(arr) - 1); in LLVMFuzzerTestOneInput()
50 array_at(arr, get_index); in LLVMFuzzerTestOneInput()
53 array_ptr(arr); in LLVMFuzzerTestOneInput()
58 array_free(arr); in LLVMFuzzerTestOneInput()
/system/chre/platform/slpi/see/include/
Dsns_osa.h55 #define ARR_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) argument
/system/teeui/libteeui/prebuilt/localization/
DConfirmationUITranslations.cpp155 #define ARRAY_ELEMENTS(arr) \ argument
156 (sizeof(arr)/sizeof(arr[0]))
/system/teeui/libteeui/include/teeui/
Dstatic_vec.h48 template <size_t s> static_vec(T (&arr)[s]) : data_(&arr[0]), size_(s) {} in static_vec()
Dcbor.h148 template <typename... Elements> Array<Elements...> arr(const Elements&... elements) {
263 WriteState writeArrayHelper(WriteState wState, const Arr<Head, Tail...>& arr) {
264 wState = write(wState, arr.head_);
265 return writeArrayHelper(wState, arr.tail_);
274 template <typename... Elems> WriteState write(WriteState wState, const Array<Elems...>& arr) {
276 wState = writeHeader(wState, Type::ARRAY, arr.size());
277 return writeArrayHelper(wState, arr);
/system/connectivity/wificond/net/
Dnl80211_attribute.h127 std::array<uint8_t, N> arr; in GetValue() local
128 std::copy_n(data_.data() + NLA_HDRLEN, N, arr.begin()); in GetValue()
129 return arr; in GetValue()
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h117 template <typename T, size_t N> inline void copy_array(const T (&arr)[N], T* dest) { in copy_array()
119 dest[i] = arr[i]; in copy_array()
172 template <size_t N> explicit Eraser(uint8_t (&arr)[N]) : buf_(arr), size_(N) {} in Eraser()
Dandroid_keymaster_messages.h206 template <size_t N> void SetResults(const T (&arr)[N]) { SetResults(arr, N); } in SetResults()
208 void SetResults(const T* arr, size_t n) { in SetResults()
211 results = dup_array(arr, n); in SetResults()
/system/chre/apps/wifi_offload/test/
Dutility.cc39 void init(uint8_t *arr, size_t len, RandomGenerator &rand_gen) { in init() argument
41 arr[i] = rand_gen.get<uint8_t>(); in init()
/system/chre/apps/wifi_offload/test/include/
Dutility.h62 void init(uint8_t *arr, size_t len, RandomGenerator &rand_gen);
/system/core/trusty/utils/rpmb_dev/
Drpmb_dev.c292 #define countof(arr) (sizeof(arr) / sizeof(arr[0])) argument
/system/bt/stack/smp/
Dsmp_utils.cc1316 void smp_reverse_array(uint8_t* arr, uint8_t len) { in smp_reverse_array() argument
1322 tmp = arr[i]; in smp_reverse_array()
1323 arr[i] = arr[len - 1 - i]; in smp_reverse_array()
1324 arr[len - 1 - i] = tmp; in smp_reverse_array()
Dsmp_int.h457 extern void smp_reverse_array(uint8_t* arr, uint8_t len);
/system/memory/lmkd/
Dlmkd.cpp323 int64_t arr[ZI_ZONE_FIELD_COUNT]; member
352 int64_t arr[ZI_NODE_FIELD_COUNT]; member
444 int64_t arr[MI_FIELD_COUNT]; member
479 int64_t arr[VS_FIELD_COUNT]; member
1594 zone->fields.arr[field_idx] = val; in zoneinfo_parse_zone()
1632 node->fields.arr[field_idx] = val; in zoneinfo_parse_node()
1736 mi->arr[field_idx] = val / page_k; in meminfo_parse_line()
1791 vs->arr[field_idx] = val; in vmstat_parse_line()
1870 android_log_write_int32(ctx, (int32_t)min(mi->arr[field_idx] * page_k, INT32_MAX)); in killinfo_log()
/system/update_engine/common/
Dutils.h204 void HexDumpArray(const uint8_t* const arr, const size_t length);
Dutils.cc396 void HexDumpArray(const uint8_t* const arr, const size_t length) { in HexDumpArray() argument
409 uint8_t c = arr[i + j]; in HexDumpArray()
/system/security/keystore/
Dblob.cpp55 ArrayEraser(uint8_t* arr, size_t size) : mArr(arr), mSize(size) {} in ArrayEraser() argument
/system/bt/btif/src/
Dbtif_dm.cc1564 const auto& arr = p_data->disc_ble_res.service.To128BitBE(); in btif_dm_search_services_evt() local
1568 prop[0].val = (void*)arr.data(); in btif_dm_search_services_evt()
/system/libvintf/test/
DLibVintfTest.cpp715 std::vector<std::string> arr{"android.hardware.camera", "android.hardware.nfc"}; in TEST_F() local
718 EXPECT_EQ(hal.name, arr[i++]); in TEST_F()