Lines Matching refs:String

203 Exception::Exception(String msg) : msg_(std::move(msg)) {}  in Exception()
206 RuntimeError::RuntimeError(String const& msg) : Exception(msg) {} in RuntimeError()
207 LogicError::LogicError(String const& msg) : Exception(msg) {} in LogicError()
208 JSONCPP_NORETURN void throwRuntimeError(String const& msg) { in throwRuntimeError()
211 JSONCPP_NORETURN void throwLogicError(String const& msg) { in throwLogicError()
215 JSONCPP_NORETURN void throwRuntimeError(String const& msg) {
219 JSONCPP_NORETURN void throwLogicError(String const& msg) {
415 Value::Value(const String& value) { in Value()
628 String Value::asString() const { in asString()
639 return String(this_str, this_len); in asString()
1106 Value const& Value::operator[](const String& key) const { in operator []()
1117 Value& Value::operator[](const String& key) { in operator []()
1162 Value Value::get(String const& key, Value const& defaultValue) const { in get()
1183 bool Value::removeMember(String const& key, Value* removed) { in removeMember()
1195 void Value::removeMember(const String& key) { removeMember(key.c_str()); } in removeMember()
1228 bool Value::isMember(String const& key) const { in isMember()
1243 members.push_back(String((*it).first.data(), (*it).first.length())); in getMemberNames()
1393 String Value::Comments::get(CommentPlacement slot) const { in get()
1399 void Value::Comments::set(CommentPlacement slot, String comment) { in set()
1409 void Value::setComment(String comment, CommentPlacement placement) { in setComment()
1425 String Value::getComment(CommentPlacement placement) const { in getComment()
1437 String Value::toStyledString() const { in toStyledString()
1440 String out = this->hasComment(commentBefore) ? "\n" : ""; in toStyledString()
1509 PathArgument::PathArgument(String key) : key_(std::move(key)), kind_(kindKey) {} in PathArgument()
1514 Path::Path(const String& path, const PathArgument& a1, const PathArgument& a2, in Path()
1527 void Path::makePath(const String& path, const InArgs& in) { in makePath()
1553 args_.push_back(String(beginName, current)); in makePath()
1558 void Path::addPathInArg(const String& /*path*/, const InArgs& in, in addPathInArg() argument
1570 void Path::invalidPath(const String& /*path*/, int /*location*/) { in invalidPath() argument