Home
last modified time | relevance | path

Searched refs:arrayLength (Results 1 – 5 of 5) sorted by relevance

/system/chre/apps/chqts/src/shared/
Dnano_endian_test.cc37 static_assert(arrayLength(bytes) == arrayLength(postSwap), in swapByteTest()
40 static_assert((kByteCount > 0) && (kByteCount <= arrayLength(bytes)), in swapByteTest()
44 postSwap + (arrayLength(postSwap) - kByteCount); in swapByteTest()
48 if (arrayLength(bytes) < kByteCount) { in swapByteTest()
Dnano_string_test.cc40 uint8_t actual[arrayLength(expected)]; in testMemset()
42 static_assert(kLenToSet <= arrayLength(expected), "Bad test invocation"); in testMemset()
72 uint8_t expected[arrayLength(kMemcpySrc)]; in testMemcpy()
73 uint8_t actual[arrayLength(expected)]; in testMemcpy()
75 static_assert(kLenToCopy <= arrayLength(kMemcpySrc), "Bad test invocation"); in testMemcpy()
116 char actual[arrayLength(expected)]; in testStrncpy()
Darray_length.h31 constexpr size_t arrayLength(T (&)[N]) { return N; } in arrayLength() function
/system/chre/apps/chqts/src/general_test/
Dsimple_heap_alloc_test.cc138 for (uint32_t i = 0; i < arrayLength(mPtrs); i++) { in setUp()
Dsend_event_test.cc143 for (uint32_t i = 0; i < arrayLength(mData); i++) { in setUp()