Home
last modified time | relevance | path

Searched refs:DefaultStringBufferSize (Results 1 – 2 of 2) sorted by relevance

/external/pigweed/pw_string/
Dstring_builder_test.cc566 constexpr size_t DefaultStringBufferSize(Args&&...) { in DefaultStringBufferSize() function
567 return string_internal::DefaultStringBufferSize<Args...>(); in DefaultStringBufferSize()
571 static_assert(DefaultStringBufferSize("") == 24);
572 static_assert(DefaultStringBufferSize("123") == 24);
573 static_assert(DefaultStringBufferSize("123", "456", "78901234567890") == 24);
574 static_assert(DefaultStringBufferSize("1234567890", "1234567890", "123") == 24);
575 static_assert(DefaultStringBufferSize(1234, 5678, 9012) == 24);
578 static_assert(DefaultStringBufferSize("1234567890", "1234567890", "1234") ==
580 static_assert(DefaultStringBufferSize("1234567890", "1234567890", "12345") ==
582 static_assert(DefaultStringBufferSize("1234567890", "1234567890", "12345678") ==
[all …]
/external/pigweed/pw_string/public/pw_string/
Dstring_builder.h372 constexpr size_t DefaultStringBufferSize() { in DefaultStringBufferSize() function
411 kBufferSize == 0u ? string_internal::DefaultStringBufferSize<Args...>() in MakeString()