Lines Matching refs:String

94 String valueToString(LargestInt value) {  in valueToString()
110 String valueToString(LargestUInt value) { in valueToString()
120 String valueToString(Int value) { return valueToString(LargestInt(value)); } in valueToString()
122 String valueToString(UInt value) { return valueToString(LargestUInt(value)); } in valueToString()
127 String valueToString(double value, bool useSpecialFloats, in valueToString()
139 String buffer(size_t(36), '\0'); in valueToString()
173 String valueToString(double value, unsigned int precision, in valueToString()
178 String valueToString(bool value) { return value ? "true" : "false"; } in valueToString()
256 static String toHex16Bit(unsigned int x) { in toHex16Bit()
259 String result(4, ' '); in toHex16Bit()
267 static void appendRaw(String& result, unsigned ch) { in appendRaw()
271 static void appendHex(String& result, unsigned ch) { in appendHex()
275 static String valueToQuotedStringN(const char* value, unsigned length, in valueToQuotedStringN()
281 return String("\"") + value + "\""; in valueToQuotedStringN()
285 String::size_type maxsize = length * 2 + 3; // allescaped+quotes+NULL in valueToQuotedStringN()
286 String result; in valueToQuotedStringN()
352 String valueToQuotedString(const char* value) { in valueToQuotedString()
373 String FastWriter::write(const Value& root) { in write()
422 const String& name = *it; in writeValue()
440 String StyledWriter::write(const Value& root) { in write()
491 const String& name = *it; in writeValue()
581 void StyledWriter::pushValue(const String& value) { in pushValue()
599 void StyledWriter::writeWithIndent(const String& value) { in writeWithIndent()
604 void StyledWriter::indent() { indentString_ += String(indentSize_, ' '); } in indent()
617 const String& comment = root.getComment(commentBefore); in writeCommentBeforeValue()
618 String::const_iterator iter = comment.begin(); in writeCommentBeforeValue()
650 StyledStreamWriter::StyledStreamWriter(String indentation) in StyledStreamWriter()
709 const String& name = *it; in writeValue()
802 void StyledStreamWriter::pushValue(const String& value) { in pushValue()
817 void StyledStreamWriter::writeWithIndent(const String& value) { in writeWithIndent()
837 const String& comment = root.getComment(commentBefore); in writeCommentBeforeValue()
838 String::const_iterator iter = comment.begin(); in writeCommentBeforeValue()
880 BuiltStyledStreamWriter(String indentation, CommentStyle::Enum cs,
881 String colonSymbol, String nullSymbol,
882 String endingLineFeedSymbol, bool useSpecialFloats,
891 void pushValue(String const& value);
893 void writeWithIndent(String const& value);
900 using ChildValues = std::vector<String>;
903 String indentString_;
905 String indentation_;
907 String colonSymbol_;
908 String nullSymbol_;
909 String endingLineFeedSymbol_;
918 String indentation, CommentStyle::Enum cs, String colonSymbol, in BuiltStyledStreamWriter()
919 String nullSymbol, String endingLineFeedSymbol, bool useSpecialFloats, in BuiltStyledStreamWriter()
984 String const& name = *it; in writeValue()
1082 void BuiltStyledStreamWriter::pushValue(String const& value) { in pushValue()
1101 void BuiltStyledStreamWriter::writeWithIndent(String const& value) { in writeWithIndent()
1123 const String& comment = root.getComment(commentBefore); in writeCommentBeforeValue()
1124 String::const_iterator iter = comment.begin(); in writeCommentBeforeValue()
1164 const String indentation = settings_["indentation"].asString(); in newStreamWriter()
1165 const String cs_str = settings_["commentStyle"].asString(); in newStreamWriter()
1166 const String pt_str = settings_["precisionType"].asString(); in newStreamWriter()
1188 String colonSymbol = " : "; in newStreamWriter()
1194 String nullSymbol = "null"; in newStreamWriter()
1200 String endingLineFeedSymbol; in newStreamWriter()
1207 static const auto& valid_keys = *new std::set<String>{ in validate()
1229 Value& StreamWriterBuilder::operator[](const String& key) { in operator []()
1246 String writeString(StreamWriter::Factory const& factory, Value const& root) { in writeString()