Home
last modified time | relevance | path

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

/external/v8/src/
Dstring-stream.h60 class FmtElm final {
62 FmtElm(int value) : type_(INT) { // NOLINT in FmtElm() function
65 explicit FmtElm(double value) : type_(DOUBLE) { in FmtElm() function
68 FmtElm(const char* value) : type_(C_STR) { // NOLINT in FmtElm() function
71 FmtElm(const Vector<const uc16>& value) : type_(LC_STR) { // NOLINT in FmtElm() function
74 FmtElm(Object* value) : type_(OBJ) { // NOLINT in FmtElm() function
77 FmtElm(Handle<Object> value) : type_(HANDLE) { // NOLINT in FmtElm() function
80 FmtElm(void* value) : type_(POINTER) { // NOLINT in FmtElm() function
116 void Add(Vector<const char> format, Vector<FmtElm> elms);
119 void Add(const char* format, FmtElm arg0);
[all …]
Dstring-stream.cc79 void StringStream::Add(Vector<const char> format, Vector<FmtElm> elms) { in Add()
104 FmtElm current = elms[elm++]; in Add()
107 DCHECK_EQ(FmtElm::C_STR, current.type_); in Add()
113 DCHECK_EQ(FmtElm::LC_STR, current.type_); in Add()
120 DCHECK_EQ(FmtElm::OBJ, current.type_); in Add()
126 DCHECK_EQ(FmtElm::INT, current.type_); in Add()
213 Add(format, Vector<FmtElm>::empty()); in Add()
217 void StringStream::Add(const char* format, FmtElm arg0) { in Add()
219 FmtElm argv[argc] = { arg0 }; in Add()
220 Add(CStrVector(format), Vector<FmtElm>(argv, argc)); in Add()
[all …]