Lines Matching refs:N
66 template <uint32_t N>
70 using strsize_t = std::conditional_t<(N > 255), uint32_t, uint8_t>;
78 copyFrom<N>(other); in FixedString()
90 return copyFrom<N>(other);
132 static constexpr uint32_t capacity() { return N; } in capacity()
134 uint32_t remaining() const { return size_ >= N ? 0 : N - size_; } in remaining()
136 bool full() const { return size_ == N; } // when full, possible truncation risk. in full()
166 if (size_ < N) { in append()
183 uint32_t total = std::min(static_cast<size_t>(N - size_), s.size()); in appendStringView()
195 while (size_ < N && *s != '\0') { in appendString()
214 if constexpr (N == U && in copyFrom()
260 char buffer_[N + 1 /* allow zero termination */];
266 template <uint32_t N, typename ...Types>
267 FixedString<N>& operator<<(FixedString<N>& fs, Types&&... args) {