Lines Matching defs:const
51 FixedStringAllocator(const FixedStringAllocator&) = delete;
52 FixedStringAllocator& operator=(const FixedStringAllocator&) = delete;
99 FmtElm(const char* value) : FmtElm(C_STR) { // NOLINT
102 FmtElm(const base::Vector<const base::uc16>& value) // NOLINT
130 const char* u_c_str_;
131 const base::Vector<const base::uc16>* u_lc_str_;
153 void Add(const char* format) { Add(base::CStrVector(format)); }
154 void Add(base::Vector<const char> format) {
159 void Add(const char* format, Args... args) {
164 void Add(base::Vector<const char> format, Args... args) {
174 std::unique_ptr<char[]> ToCString() const;
175 int length() const { return length_; }
200 static const int kInitialCapacity = 16;
203 void Add(base::Vector<const char> format, base::Vector<FmtElm> elms);
212 bool full() const { return (capacity_ - length_) == 1; }
213 int space() const { return capacity_ - length_; }