Home | History | Annotate | Download | only in src

Lines Matching refs:FmtElm

98 void StringStream::Add(Vector<const char> format, Vector<FmtElm> elms) {
123 FmtElm current = elms[elm++];
126 ASSERT_EQ(FmtElm::C_STR, current.type_);
132 ASSERT_EQ(FmtElm::LC_STR, current.type_);
139 ASSERT_EQ(FmtElm::OBJ, current.type_);
145 ASSERT_EQ(FmtElm::INT, current.type_);
220 Add(format, Vector<FmtElm>::empty());
224 void StringStream::Add(const char* format, FmtElm arg0) {
226 FmtElm argv[argc] = { arg0 };
227 Add(CStrVector(format), Vector<FmtElm>(argv, argc));
231 void StringStream::Add(const char* format, FmtElm arg0, FmtElm arg1) {
233 FmtElm argv[argc] = { arg0, arg1 };
234 Add(CStrVector(format), Vector<FmtElm>(argv, argc));
238 void StringStream::Add(const char* format, FmtElm arg0, FmtElm arg1,
239 FmtElm arg2) {
241 FmtElm argv[argc] = { arg0, arg1, arg2 };
242 Add(CStrVector(format), Vector<FmtElm>(argv, argc));
246 void StringStream::Add(const char* format, FmtElm arg0, FmtElm arg1,
247 FmtElm arg2, FmtElm arg3) {
249 FmtElm argv[argc] = { arg0, arg1, arg2, arg3 };
250 Add(CStrVector(format), Vector<FmtElm>(argv, argc));