/system/update_engine/lz4diff/ |
D | lz4patch.h | 40 const google::protobuf::RepeatedPtrField<T>& arr) { 41 if (arr.empty()) { 46 auto begin = arr.begin(); 49 for (; begin != arr.end(); ++begin) {
|
/system/chre/platform/slpi/see/include/ |
D | sns_osa.h | 55 #define ARR_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) argument
|
/system/tools/hidl/hidl2aidl/ |
D | AidlType.cpp | 55 const ArrayType& arr = static_cast<const ArrayType&>(type); in getAidlType() local 56 auto sizes = arr.getConstantExpressions(); in getAidlType() 57 CHECK(sizes.size() > 0) << "Failed to get array dimensions for " << arr.definedName(); in getAidlType() 58 std::string typeStr = getAidlType(*arr.getElementType(), relativeTo); in getAidlType()
|
/system/teeui/libteeui/prebuilt/localization/ |
D | ConfirmationUITranslations.cpp | 155 #define ARRAY_ELEMENTS(arr) \ argument 156 (sizeof(arr)/sizeof(arr[0]))
|
/system/keymaster/include/keymaster/ |
D | mem.h | 73 template <typename T, size_t N> inline void copy_array(const T (&arr)[N], T* dest) { in copy_array() 75 dest[i] = arr[i]; in copy_array() 127 template <size_t N> explicit Eraser(uint8_t (&arr)[N]) : buf_(arr), size_(N) {} in Eraser()
|
D | android_keymaster_messages.h | 285 template <size_t N> void SetResults(const T (&arr)[N]) { SetResults(arr, N); } in SetResults() 287 void SetResults(const T* arr, size_t n) { in SetResults() 290 results = dup_array(arr, n); in SetResults()
|
/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/core/trusty/confirmationui/fuzz/ |
D | msg_fuzzer.cpp | 33 #define countof(arr) (sizeof(arr) / sizeof(arr[0])) argument
|
/system/core/trusty/confirmationui/ |
D | TrustyApp.cpp | 25 #define countof(arr) (sizeof(arr) / sizeof(arr[0])) argument
|
/system/update_engine/liburing_cpp/tests/ |
D | BasicTests.cpp | 137 std::array<unsigned char, kBlockSize> arr{}; in GetArbitraryPageData() local 139 for (auto& a : arr) { in GetArbitraryPageData() 142 return arr; in GetArbitraryPageData()
|
/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/tools/aidl/tests/ |
D | aidl_test_client_ndk_parcelables.cpp | 183 std::array<std::array<T, 3>, 2> arr = {}; in Make2dArray() local 185 for (auto& row : arr) { in Make2dArray() 191 return arr; in Make2dArray()
|
D | aidl_test_client_parcelables.cpp | 668 std::array<std::array<T, 3>, 2> arr = {}; in Make2dArray() local 670 for (auto& row : arr) { in Make2dArray() 676 return arr; in Make2dArray()
|
/system/keymint/wire/src/ |
D | lib.rs | 364 let mut arr = match value { in from_cbor_value() localVariable 368 match arr.len() { in from_cbor_value() 370 1 => Ok(Some(<T>::from_cbor_value(arr.remove(0))?)), in from_cbor_value() 390 let arr = match value { in from_cbor_value() localVariable 394 let results: Result<Vec<_>, _> = arr.into_iter().map(<T>::from_cbor_value).collect(); in from_cbor_value()
|
/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/security/keystore2/src/crypto/ |
D | crypto.cpp | 52 ArrayEraser(uint8_t* arr, size_t size) : mArr(arr), mSize(size) {} in ArrayEraser() argument
|
/system/core/trusty/utils/rpmb_dev/ |
D | rpmb_dev.c | 285 #define countof(arr) (sizeof(arr) / sizeof(arr[0])) argument
|
/system/memory/lmkd/ |
D | lmkd.cpp | 336 int64_t arr[ZI_ZONE_FIELD_COUNT]; member 362 int64_t arr[ZI_NODE_FIELD_COUNT]; member 455 int64_t arr[MI_FIELD_COUNT]; member 493 int64_t arr[VS_FIELD_COUNT]; member 1694 zone->fields.arr[field_idx] = val; in zoneinfo_parse_zone() 1732 node->fields.arr[field_idx] = val; in zoneinfo_parse_node() 1835 mi->arr[field_idx] = val / page_k; in meminfo_parse_line() 1915 vs->arr[field_idx] = val; in vmstat_parse_line() 2049 mi ? std::min(mi->arr[field_idx] * page_k, (int64_t)INT32_MAX) : 0); in killinfo_log()
|
/system/tools/aidl/tests/rust/ |
D | test_client.rs | 312 got.as_ref().map(|arr| arr in test_binder_nullable_array_exchange() 330 got.as_ref().map(|arr| arr in test_interface_list_exchange()
|
/system/libcppbor/tests/ |
D | cppbor_test.cpp | 430 Array arr; in TEST() local 431 arr.add(Map() // in TEST() 438 m.add("Outer1", std::move(arr)); // Moving is necessary; Map and Array cannot be copied. in TEST() 1640 const Array& arr = *(item->asArray()); in TEST() local 1641 ASSERT_EQ(arr[0]->type(), TSTR); in TEST() 1642 EXPECT_EQ(arr[0]->asTstr()->value(), "hello"); in TEST()
|
/system/update_engine/common/ |
D | utils.cc | 460 void HexDumpArray(const uint8_t* const arr, const size_t length) { in HexDumpArray() argument 473 uint8_t c = arr[i + j]; in HexDumpArray()
|
D | utils.h | 251 void HexDumpArray(const uint8_t* const arr, const size_t length);
|
/system/security/keystore2/src/ |
D | database.rs | 312 let mut arr = [0u8; 16]; in column_result() localVariable 313 arr.copy_from_slice(&blob); in column_result() 314 Ok(Self(arr)) in column_result()
|