/system/bt/osi/test/fuzzers/array/ |
D | fuzz_array.cc | 32 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/ |
D | sns_osa.h | 55 #define ARR_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) argument
|
/system/teeui/libteeui/prebuilt/localization/ |
D | ConfirmationUITranslations.cpp | 155 #define ARRAY_ELEMENTS(arr) \ argument 156 (sizeof(arr)/sizeof(arr[0]))
|
/system/teeui/libteeui/include/teeui/ |
D | static_vec.h | 48 template <size_t s> static_vec(T (&arr)[s]) : data_(&arr[0]), size_(s) {} in static_vec()
|
D | cbor.h | 148 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/ |
D | nl80211_attribute.h | 127 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/ |
D | android_keymaster_utils.h | 117 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()
|
D | android_keymaster_messages.h | 206 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/ |
D | utility.cc | 39 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/ |
D | utility.h | 62 void init(uint8_t *arr, size_t len, RandomGenerator &rand_gen);
|
/system/core/trusty/utils/rpmb_dev/ |
D | rpmb_dev.c | 292 #define countof(arr) (sizeof(arr) / sizeof(arr[0])) argument
|
/system/bt/stack/smp/ |
D | smp_utils.cc | 1316 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()
|
D | smp_int.h | 457 extern void smp_reverse_array(uint8_t* arr, uint8_t len);
|
/system/memory/lmkd/ |
D | lmkd.cpp | 323 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/ |
D | utils.h | 204 void HexDumpArray(const uint8_t* const arr, const size_t length);
|
D | utils.cc | 396 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/ |
D | blob.cpp | 55 ArrayEraser(uint8_t* arr, size_t size) : mArr(arr), mSize(size) {} in ArrayEraser() argument
|
/system/bt/btif/src/ |
D | btif_dm.cc | 1564 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/ |
D | LibVintfTest.cpp | 715 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()
|