Searched refs:arrayLength (Results 1 – 5 of 5) sorted by relevance
37 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()
40 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()
31 constexpr size_t arrayLength(T (&)[N]) { return N; } in arrayLength() function
138 for (uint32_t i = 0; i < arrayLength(mPtrs); i++) { in setUp()
143 for (uint32_t i = 0; i < arrayLength(mData); i++) { in setUp()