Home
last modified time | relevance | path

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

/external/v8/src/
Dstring-stream.h58 class FmtElm final {
60 FmtElm(int value) : FmtElm(INT) { // NOLINT in FmtElm() function
63 explicit FmtElm(double value) : FmtElm(DOUBLE) { // NOLINT in FmtElm() function
66 FmtElm(const char* value) : FmtElm(C_STR) { // NOLINT in FmtElm() function
69 FmtElm(const Vector<const uc16>& value) : FmtElm(LC_STR) { // NOLINT in FmtElm() function
72 FmtElm(Object* value) : FmtElm(OBJ) { // NOLINT in FmtElm() function
75 FmtElm(Handle<Object> value) : FmtElm(HANDLE) { // NOLINT in FmtElm() function
78 FmtElm(void* value) : FmtElm(POINTER) { // NOLINT in FmtElm() function
88 explicit FmtElm(Type type) : type_(type) {} in FmtElm() function
90 explicit FmtElm(Type) {} in FmtElm() function
[all …]
Dstring-stream.cc82 void StringStream::Add(Vector<const char> format, Vector<FmtElm> elms) { in Add()
107 FmtElm current = elms[elm++]; in Add()
110 DCHECK_EQ(FmtElm::C_STR, current.type_); in Add()
116 DCHECK_EQ(FmtElm::LC_STR, current.type_); in Add()
123 DCHECK_EQ(FmtElm::OBJ, current.type_); in Add()
129 DCHECK_EQ(FmtElm::INT, current.type_); in Add()
322 Add("<unboxed double> %.16g\n", FmtElm(value)); in PrintUsingMap()