Lines Matching defs:builder
25 #include "src/strings/string-builder-inl.h"
244 IncrementalStringBuilder* builder) {
263 builder->AppendCStringLiteral("<error>");
266 builder->AppendCStringLiteral("<error: ");
267 builder->AppendString(err_str.ToHandleChecked());
268 builder->AppendCharacter('>');
271 builder->AppendString(err_str.ToHandleChecked());
366 IncrementalStringBuilder builder(isolate);
368 RETURN_ON_EXCEPTION(isolate, AppendErrorString(isolate, error, &builder),
372 builder.AppendCStringLiteral("\n at ");
375 SerializeCallSiteInfo(isolate, frame, &builder);
392 builder.AppendCStringLiteral("<error>");
395 builder.AppendCStringLiteral("<error: ");
396 builder.AppendString(exception_string.ToHandleChecked());
397 builder.AppendCStringLiteral("<error>");
402 return builder.Finish();
462 IncrementalStringBuilder builder(isolate);
471 builder.AppendCharacter('%');
475 builder.AppendString(arg);
478 builder.AppendCharacter(*c);
482 return builder.Finish();
656 IncrementalStringBuilder builder(isolate);
657 builder.AppendString(name);
658 builder.AppendCStringLiteral(": ");
659 builder.AppendString(msg);
662 ASSIGN_RETURN_ON_EXCEPTION(isolate, result, builder.Finish(), String);
741 IncrementalStringBuilder builder(isolate);
743 builder.AppendString(Object::TypeOf(isolate, object));
745 builder.AppendCStringLiteral(" \"");
748 // the {builder}'s result can never exceed that limit.
751 builder.AppendString(string);
755 builder.AppendString(string);
756 builder.AppendCStringLiteral("<...>");
758 builder.AppendCStringLiteral("\"");
760 builder.AppendCStringLiteral(" null");
762 builder.AppendCStringLiteral(" true");
764 builder.AppendCStringLiteral(" false");
766 builder.AppendCharacter(' ');
767 builder.AppendString(isolate->factory()->NumberToString(object));
770 return builder.Finish().ToHandleChecked();