Home
last modified time | relevance | path

Searched refs:InlineBasicString (Results 1 – 15 of 15) sorted by relevance

/aosp_15_r20/external/pigweed/pw_string/public/pw_string/
H A Dstring.h63 class InlineBasicString final
64 : public InlineBasicString<T, string_impl::kGeneric> {
66 using typename InlineBasicString<T, string_impl::kGeneric>::value_type;
67 using typename InlineBasicString<T, string_impl::kGeneric>::size_type;
68 using typename InlineBasicString<T, string_impl::kGeneric>::difference_type;
69 using typename InlineBasicString<T, string_impl::kGeneric>::reference;
70 using typename InlineBasicString<T, string_impl::kGeneric>::const_reference;
71 using typename InlineBasicString<T, string_impl::kGeneric>::pointer;
72 using typename InlineBasicString<T, string_impl::kGeneric>::const_pointer;
73 using typename InlineBasicString<T, string_impl::kGeneric>::iterator;
[all …]
/aosp_15_r20/external/pigweed/pw_string/public/pw_string/internal/
H A Dstring_common_functions.inc15 // This file contains the definitions of most pw::InlineBasicString functions.
16 // The file is included inline in the fixed-capacity pw::InlineBasicString<T,
17 // kCapacity> and generic-capacity pw::InlineBasicString<T> specialization
20 // These functions cannot simply be defined in the pw::InlineBasicString<T> base
27 // class is an InlineBasicString<T, 0>. The functions must be defined in
38 constexpr InlineBasicString& assign(size_t count, T ch) {
39 return static_cast<InlineBasicString&>(Fill(data(), ch, count));
44 constexpr InlineBasicString& assign(
45 const InlineBasicString<T, kOtherCapacity>& other) {
49 return static_cast<InlineBasicString&>(
[all …]
/aosp_15_r20/external/pigweed/pw_string/
H A Ddesign.rst19 :cpp:type:`pw::InlineString` / :cpp:class:`pw::InlineBasicString` are designed
49 :cpp:type:`InlineBasicString` has a template parameter for the capacity, but the
51 :cpp:type:`InlineBasicString` template inherits from a
52 :cpp:type:`InlineBasicString` specialization with capacity of the reserved value
55 through a ``InlineString<>`` or ``InlineBasicString<T>`` reference.
H A Dstring_test.cc89 InlineBasicString string_10("1234567890"); in TEST()
92 InlineBasicString string_3 = "abc"; in TEST()
97 string_10.append(string_3).append(InlineBasicString("?")).c_str(), in TEST()
103 InlineBasicString string_3 = kCharArray; in TEST()
104 static_assert(std::is_same_v<decltype(string_3), InlineBasicString<char, 3>>); in TEST()
106 EXPECT_EQ(string_3, InlineBasicString(kCharArray)); in TEST()
197 constexpr const InlineBasicString<T>& Generic(const InlineBasicString<T>& str) { in Generic()
202 constexpr InlineBasicString<T>& Generic(InlineBasicString<T>& str) { in Generic()
438 static_assert(std::is_trivially_copyable<InlineBasicString<char, 10>>(), in TEST()
2060 constexpr InlineBasicString<type, capacity> string; \ in TEST()
[all …]
H A Dguide.rst282 :cpp:type:`pw::InlineBasicString` supports class template argument deduction
290 pw::InlineBasicString inline_string = "12345";
H A Dapi.rst49 .. doxygenclass:: pw::InlineBasicString
/aosp_15_r20/external/pigweed/pw_log_tokenized/
H A Dlog_tokenized_test.cc62 InlineBasicString result_1 = PrefixedBase64Encode(as_bytes(span(kBinary))); in TEST()
66 InlineBasicString result_2 = PrefixedBase64Encode(kBinary, sizeof(kBinary)); in TEST()
69 InlineBasicString result_3 = PrefixedBase64Encode( in TEST()
H A Dbase64_over_hdlc.cc41 const pw::InlineBasicString base64_string = in pw_log_tokenized_HandleLog()
/aosp_15_r20/external/pigweed/pw_log_zephyr/
H A Dpw_log_zephyr_tokenized_handler.cc42 const InlineBasicString base64_string = in pw_log_tokenized_HandleLog()
/aosp_15_r20/external/pigweed/pw_base64/public/pw_base64/
H A Dbase64.h186 inline void DecodeInPlace(InlineBasicString<T>& buffer) { in DecodeInPlace()
/aosp_15_r20/external/pigweed/pw_tokenizer/public/pw_tokenizer/
H A Dbase64.h158 inline void PrefixedBase64DecodeInPlace(InlineBasicString<CharT>& string) { in PrefixedBase64DecodeInPlace()
/aosp_15_r20/external/pigweed/pw_fuzzer/public/pw_fuzzer/
H A Dfuzztest.h932 return ContainerOf<InlineBasicString<typename Inner::value_type, kCapacity>>(
940 struct ArbitraryImpl<InlineBasicString<T, kCapacity>> {
/aosp_15_r20/external/pigweed/pw_base64/
H A Dbase64_test.cc291 InlineBasicString buf = "VGhpcyBpcyBhIHNlY3JldCBtZXNzYWdl"; in TEST()
/aosp_15_r20/external/pigweed/pw_tokenizer/
H A Dtokenization.rst472 pw::InlineBasicString base64 = pw::tokenizer::PrefixedBase64Encode(
/aosp_15_r20/external/pigweed/docs/
H A Dchangelog.rst8873 ``pw::InlineByteString`` is a new alias of ``pw::InlineBasicString<std::byte>``
8878 * `Support InlineBasicString<std::byte>; InlineByteString alias