Home
last modified time | relevance | path

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

/external/v8/src/strings/
Dstring-stream.h89 class FmtElm final {
91 FmtElm(int value) : FmtElm(INT) { // NOLINT in FmtElm() function
94 explicit FmtElm(double value) : FmtElm(DOUBLE) { // NOLINT in FmtElm() function
97 FmtElm(const char* value) : FmtElm(C_STR) { // NOLINT in FmtElm() function
100 FmtElm(const Vector<const uc16>& value) : FmtElm(LC_STR) { // NOLINT in FmtElm() function
103 FmtElm(Object value) : FmtElm(OBJ) { // NOLINT in FmtElm() function
106 FmtElm(Handle<Object> value) : FmtElm(HANDLE) { // NOLINT in FmtElm() function
109 FmtElm(void* value) : FmtElm(POINTER) { // NOLINT in FmtElm() function
119 explicit FmtElm(Type type) : type_(type) {} in FmtElm() function
121 explicit FmtElm(Type) {} in FmtElm() function
[all …]
Dstring-stream.cc88 void StringStream::Add(Vector<const char> format, Vector<FmtElm> elms) { in Add()
112 FmtElm current = elms[elm++]; in Add()
115 DCHECK_EQ(FmtElm::C_STR, current.type_); in Add()
121 DCHECK_EQ(FmtElm::LC_STR, current.type_); in Add()
128 DCHECK_EQ(FmtElm::OBJ, current.type_); in Add()
134 DCHECK_EQ(FmtElm::INT, current.type_); in Add()
322 Add("<unboxed double> %.16g\n", FmtElm(value)); in PrintUsingMap()