Home | History | Annotate | Download | only in src

Lines Matching refs:format

82 // A control character is one that configures a format element.  For
95 void StringStream::Add(Vector<const char> format, Vector<FmtElm> elms) {
100 while (offset < format.length()) {
101 if (format[offset] != '%' || elm == elms.length()) {
102 Put(format[offset]);
110 // format element type
111 temp[format_length++] = format[offset++];
112 while (offset < format.length() && IsControlChar(format[offset]))
113 temp[format_length++] = format[offset++];
114 if (offset >= format.length())
116 char type = format[offset];
213 void StringStream::Add(const char* format) {
214 Add(CStrVector(format));
218 void StringStream::Add(Vector<const char> format) {
219 Add(format, Vector<FmtElm>::empty());
223 void StringStream::Add(const char* format, FmtElm arg0) {
226 Add(CStrVector(format), Vector<FmtElm>(argv, argc));
230 void StringStream::Add(const char* format, FmtElm arg0, FmtElm arg1) {
233 Add(CStrVector(format), Vector<FmtElm>(argv, argc));
237 void StringStream::Add(const char* format, FmtElm arg0, FmtElm arg1,
241 Add(CStrVector(format), Vector<FmtElm>(argv, argc));
245 void StringStream::Add(const char* format, FmtElm arg0, FmtElm arg1,
249 Add(CStrVector(format), Vector<FmtElm>(argv, argc));