/hardware/libhardware/tests/input/evdev/ |
D | BitUtils_test.cpp | 25 uint8_t arr[2] = { 0xff, 0xff }; in TEST() local 26 EXPECT_FALSE(testBitInRange(arr, 0, 0)); in TEST() 27 EXPECT_FALSE(testBitInRange(arr, 1, 0)); in TEST() 31 uint8_t arr[1]; in TEST() local 32 arr[0] = 0; in TEST() 33 EXPECT_FALSE(testBitInRange(arr, 0, 8)); in TEST() 37 uint8_t arr[1]; in TEST() local 39 arr[0] = 1 << i; in TEST() 40 EXPECT_TRUE(testBitInRange(arr, 0, 8)); in TEST() 45 uint8_t arr[1] = { 0x10 }; in TEST() local [all …]
|
/hardware/qcom/sm7250/gps/utils/ |
D | loc_misc_utils.h | 250 static string loc_prim_arr_to_string(T* arr, uint32_t size, bool decIfTrue = true) { 253 ss << (decIfTrue ? to_string(arr[i]) : to_string_hex(arr[i]));
|
/hardware/qcom/sm8150/gps/utils/ |
D | loc_misc_utils.h | 250 static string loc_prim_arr_to_string(T* arr, uint32_t size, bool decIfTrue = true) { 253 ss << (decIfTrue ? to_string(arr[i]) : to_string_hex(arr[i]));
|
/hardware/interfaces/confirmationui/support/src/ |
D | ConfirmationUITranslations.c | 152 #define ARRAY_ELEMENTS(arr) \ argument 153 (sizeof(arr)/sizeof(arr[0]))
|
/hardware/libhardware/modules/input/evdev/ |
D | BitUtils.cpp | 38 bool testBitInRange(const uint8_t arr[], size_t start, size_t end) { in testBitInRange() argument 53 uint8_t bits = arr[i]; in testBitInRange()
|
D | BitUtils.h | 25 bool testBitInRange(const uint8_t arr[], size_t start, size_t end);
|
D | InputHub.cpp | 53 static constexpr bool testBit(int bit, const uint8_t arr[]) { in testBit() argument 54 return arr[bit / 8] & (1 << (bit % 8)); in testBit()
|
/hardware/google/graphics/common/libscaler/ |
D | libscaler-common.h | 68 #define ARRSIZE(arr) (sizeof(arr)/sizeof(arr[0])) argument
|
/hardware/google/graphics/common/libacryl/ |
D | acrylic_internal.h | 42 #define ARRSIZE(arr) (sizeof(arr) / sizeof(arr[0])) argument
|
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/ |
D | cbor.h | 165 Array<Elements...> arr(const Elements&... elements) { 298 WriteState writeArrayHelper(WriteState wState, const Arr<Head, Tail...>& arr) { 299 wState = write(wState, arr.head_); 300 return writeArrayHelper(wState, arr.tail_); 311 WriteState write(WriteState wState, const Array<Elems...>& arr) { 313 wState = writeHeader(wState, Type::ARRAY, arr.size()); 314 return writeArrayHelper(wState, arr);
|
/hardware/ti/am57x/libhwcomposer/ |
D | hwc.cpp | 48 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) argument
|
/hardware/interfaces/confirmationui/support/test/ |
D | android_cbor_test.cpp | 77 arr(text("♨⚖ⶖ"), bytes(fourHundredAs))); in writeTest()
|
/hardware/interfaces/identity/support/tests/ |
D | cppbor_test.cpp | 372 Array arr; in TEST() local 373 arr.add(Map() // in TEST() 380 m.add("Outer1", std::move(arr)); // Moving is necessary; Map and Array cannot be copied. in TEST() 934 const Array& arr = *(item->asArray()); in TEST() local 935 ASSERT_EQ(arr[0]->type(), TSTR); in TEST() 936 EXPECT_EQ(arr[0]->asTstr()->value(), "hello"); in TEST()
|