• Home
  • Raw
  • Download

Lines Matching refs:builder_

112   IncrementalStringBuilder builder_;  member in v8::internal::BASE_EMBEDDED
199 : isolate_(isolate), builder_(isolate), gap_(nullptr), indent_(0) { in JsonStringifier()
213 if (result == SUCCESS) return builder_.Finish(); in Stringify()
285 builder_.ChangeEncoding(); in InitializeGap()
429 builder_.AppendCString("false"); in Serialize_()
433 builder_.AppendCString("true"); in Serialize_()
437 builder_.AppendCString("null"); in Serialize_()
489 builder_.AppendCString(raw->IsTrue(isolate_) ? "true" : "false"); in SerializeJSValue()
501 builder_.AppendCString(IntToCString(object->value(), buffer)); in SerializeSmi()
507 builder_.AppendCString("null"); in SerializeDouble()
513 builder_.AppendCString(DoubleToCString(number, buffer)); in SerializeDouble()
525 builder_.AppendCharacter('['); in SerializeJSArray()
579 builder_.AppendCString("null"); in SerializeJSArray()
600 builder_.AppendCharacter(']'); in SerializeJSArray()
623 if (builder_.HasOverflowed()) return EXCEPTION; in SerializeArrayLikeSlow()
624 builder_.AppendCString("null"); in SerializeArrayLikeSlow()
648 builder_.AppendCharacter('{'); in SerializeJSObject()
675 builder_.AppendCharacter('}'); in SerializeJSObject()
695 builder_.AppendCharacter('{'); in SerializeJSReceiverSlow()
710 builder_.AppendCharacter('}'); in SerializeJSReceiverSlow()
736 builder_.AppendCharacter('['); in SerializeJSProxy()
742 builder_.AppendCharacter(']'); in SerializeJSProxy()
772 builder_.Append<uint8_t, DestChar>('"'); in SerializeString_()
775 if (int worst_case_length = builder_.EscapedLengthIfCurrentPartFits(length)) { in SerializeString_()
779 &builder_, worst_case_length); in SerializeString_()
786 builder_.Append<SrcChar, DestChar>(c); in SerializeString_()
788 builder_.AppendCString(&JsonEscapeTable[c * kJsonEscapeTableEntrySize]); in SerializeString_()
792 builder_.Append<uint8_t, DestChar>('"'); in SerializeString_()
807 builder_.AppendCharacter('\n'); in NewLine()
808 for (int i = 0; i < indent_; i++) builder_.AppendCString(gap_); in NewLine()
812 if (!first) builder_.AppendCharacter(','); in Separator()
820 builder_.AppendCharacter(':'); in SerializeDeferredKey()
821 if (gap_ != nullptr) builder_.AppendCharacter(' '); in SerializeDeferredKey()
826 if (builder_.CurrentEncoding() == String::ONE_BYTE_ENCODING) { in SerializeString()
830 builder_.ChangeEncoding(); in SerializeString()