Home
last modified time | relevance | path

Searched refs:FmtElm (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/
Dstring-stream.h73 class FmtElm {
75 FmtElm(int value) : type_(INT) { // NOLINT in FmtElm() function
78 explicit FmtElm(double value) : type_(DOUBLE) { in FmtElm() function
81 FmtElm(const char* value) : type_(C_STR) { // NOLINT in FmtElm() function
84 FmtElm(const Vector<const uc16>& value) : type_(LC_STR) { // NOLINT in FmtElm() function
87 FmtElm(Object* value) : type_(OBJ) { // NOLINT in FmtElm() function
90 FmtElm(Handle<Object> value) : type_(HANDLE) { // NOLINT in FmtElm() function
93 FmtElm(void* value) : type_(POINTER) { // NOLINT in FmtElm() function
129 void Add(Vector<const char> format, Vector<FmtElm> elms);
132 void Add(const char* format, FmtElm arg0);
[all …]
Dstring-stream.cc97 void StringStream::Add(Vector<const char> format, Vector<FmtElm> elms) { in Add()
122 FmtElm current = elms[elm++]; in Add()
125 ASSERT_EQ(FmtElm::C_STR, current.type_); in Add()
131 ASSERT_EQ(FmtElm::LC_STR, current.type_); in Add()
138 ASSERT_EQ(FmtElm::OBJ, current.type_); in Add()
144 ASSERT_EQ(FmtElm::INT, current.type_); in Add()
221 Add(format, Vector<FmtElm>::empty()); in Add()
225 void StringStream::Add(const char* format, FmtElm arg0) { in Add()
227 FmtElm argv[argc] = { arg0 }; in Add()
228 Add(CStrVector(format), Vector<FmtElm>(argv, argc)); in Add()
[all …]
Dlog-utils.cc111 stream.Add("%.0f", FmtElm(time)); in Initialize()
Dflags.cc207 buffer.Add("%f", FmtElm(*flag->float_variable())); in ToString()