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()
122 * ``PW_ARRAY_SIZE(array)`` -- calculates the size of a C array
19 #define PW_ARRAY_SIZE(array) (sizeof(array) / sizeof(*array)) macro
190 for (size_t i = 0; i < PW_ARRAY_SIZE(item_array); ++i) { in TEST()198 for (size_t i = 0; i < PW_ARRAY_SIZE(item_array) / 2; ++i) { in TEST()220 EXPECT_EQ(i, PW_ARRAY_SIZE(item_array) + 1); in TEST()230 for (size_t i = 0; i < PW_ARRAY_SIZE(item_array); ++i) { in TEST()344 for (size_t i = 0; i < PW_ARRAY_SIZE(item_array); ++i) { in TEST()
34 static_assert(PW_ARRAY_SIZE(kHashTests) > 10,
552 (num) % PW_ARRAY_SIZE(kTestData)565 (result->data_size == (num) % PW_ARRAY_SIZE(kTestData))