Home | History | Annotate | Download | only in src

Lines Matching refs:FmtElm

97 void StringStream::Add(Vector<const char> format, Vector<FmtElm> elms) {
122 FmtElm current = elms[elm++];
125 ASSERT_EQ(FmtElm::C_STR, current.type_);
131 ASSERT_EQ(FmtElm::LC_STR, current.type_);
138 ASSERT_EQ(FmtElm::OBJ, current.type_);
144 ASSERT_EQ(FmtElm::INT, current.type_);
221 Add(format, Vector<FmtElm>::empty());
225 void StringStream::Add(const char* format, FmtElm arg0) {
227 FmtElm argv[argc] = { arg0 };
228 Add(CStrVector(format), Vector<FmtElm>(argv, argc));
232 void StringStream::Add(const char* format, FmtElm arg0, FmtElm arg1) {
234 FmtElm argv[argc] = { arg0, arg1 };
235 Add(CStrVector(format), Vector<FmtElm>(argv, argc));
239 void StringStream::Add(const char* format, FmtElm arg0, FmtElm arg1,
240 FmtElm arg2) {
242 FmtElm argv[argc] = { arg0, arg1, arg2 };
243 Add(CStrVector(format), Vector<FmtElm>(argv, argc));
247 void StringStream::Add(const char* format, FmtElm arg0, FmtElm arg1,
248 FmtElm arg2, FmtElm arg3) {
250 FmtElm argv[argc] = { arg0, arg1, arg2, arg3 };
251 Add(CStrVector(format), Vector<FmtElm>(argv, argc));