Searched refs:PW_ARRAY_SIZE (Results 1 – 6 of 6) sorted by relevance
26 static_assert(PW_ARRAY_SIZE(hello_there) == 123); in TEST()29 static_assert(PW_ARRAY_SIZE(characters) == 500); in TEST()30 static_assert(PW_ARRAY_SIZE("2345") == 5); in TEST()38 static_assert(PW_ARRAY_SIZE(objects) == 9); in TEST()39 static_assert(PW_ARRAY_SIZE(Object::array) == 7); in TEST()40 static_assert(PW_ARRAY_SIZE(objects[1].array) == 7); in TEST()
277 * ``PW_ARRAY_SIZE(array)`` -- calculates the size of a C array
191 for (size_t i = 0; i < PW_ARRAY_SIZE(item_array); ++i) { in TEST()199 for (size_t i = 0; i < PW_ARRAY_SIZE(item_array) / 2; ++i) { in TEST()221 EXPECT_EQ(i, PW_ARRAY_SIZE(item_array) + 1); in TEST()234 for (size_t i = 0; i < PW_ARRAY_SIZE(item_array); ++i) { in TEST()264 for (size_t i = 0; i < PW_ARRAY_SIZE(item_array); ++i) { in TEST()378 for (size_t i = 0; i < PW_ARRAY_SIZE(item_array); ++i) { in TEST()
19 #define PW_ARRAY_SIZE(array) (sizeof(array) / sizeof(*array)) macro
34 static_assert(PW_ARRAY_SIZE(kHashTests) > 10,
551 (num) % PW_ARRAY_SIZE(kTestData)564 (result->data_size == (num) % PW_ARRAY_SIZE(kTestData))