Searched refs:FmtElm (Results 1 – 4 of 4) sorted by relevance
/external/v8/src/ |
D | string-stream.h | 73 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 128 void Add(Vector<const char> format, Vector<FmtElm> elms); 131 void Add(const char* format, FmtElm arg0); [all …]
|
D | string-stream.cc | 95 void StringStream::Add(Vector<const char> format, Vector<FmtElm> elms) { in Add() 120 FmtElm current = elms[elm++]; in Add() 123 ASSERT_EQ(FmtElm::C_STR, current.type_); in Add() 129 ASSERT_EQ(FmtElm::LC_STR, current.type_); in Add() 136 ASSERT_EQ(FmtElm::OBJ, current.type_); in Add() 142 ASSERT_EQ(FmtElm::INT, current.type_); in Add() 219 Add(format, Vector<FmtElm>::empty()); in Add() 223 void StringStream::Add(const char* format, FmtElm arg0) { in Add() 225 FmtElm argv[argc] = { arg0 }; in Add() 226 Add(CStrVector(format), Vector<FmtElm>(argv, argc)); in Add() [all …]
|
D | log-utils.cc | 201 stream.Add("%.0f", FmtElm(time)); in Initialize()
|
D | flags.cc | 207 buffer.Add("%f", FmtElm(*flag->float_variable())); in ToString()
|