Home
last modified time | relevance | path

Searched refs:PW_ARRAY_SIZE (Results 1 – 6 of 6) sorted by relevance

/external/pigweed/pw_preprocessor/
Dutil_test.cc26 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()
Ddocs.rst277 * ``PW_ARRAY_SIZE(array)`` -- calculates the size of a C array
/external/pigweed/pw_containers/
Dintrusive_list_test.cc191 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()
/external/pigweed/pw_preprocessor/public/pw_preprocessor/
Dutil.h19 #define PW_ARRAY_SIZE(array) (sizeof(array) / sizeof(*array)) macro
/external/pigweed/pw_tokenizer/
Dhash_test.cc34 static_assert(PW_ARRAY_SIZE(kHashTests) > 10,
/external/pigweed/pw_trace_tokenized/
Dtrace_test.cc551 (num) % PW_ARRAY_SIZE(kTestData)
564 (result->data_size == (num) % PW_ARRAY_SIZE(kTestData))