Searched refs:commentsBefore_ (Results 1 – 4 of 4) sorted by relevance
/external/jsoncpp/src/lib_json/ |
D | json_reader.cpp | 81 lastValue_(), commentsBefore_(), features_(Features::all()), in Reader() 86 lastValue_(), commentsBefore_(), features_(features), collectComments_() { in Reader() 124 commentsBefore_ = ""; in parse() 133 if (collectComments_ && !commentsBefore_.empty()) in parse() 134 root.setComment(commentsBefore_, commentAfter); in parse() 156 if (collectComments_ && !commentsBefore_.empty()) { in readValue() 158 size_t lastNonNewline = commentsBefore_.find_last_not_of("\r\n"); in readValue() 160 commentsBefore_.erase(lastNonNewline + 1); in readValue() 162 commentsBefore_.clear(); in readValue() 165 currentValue().setComment(commentsBefore_, commentBefore); in readValue() [all …]
|
/external/protobuf/conformance/third_party/jsoncpp/ |
D | jsoncpp.cpp | 276 lastValue_(), commentsBefore_(), features_(Features::all()), in Reader() 281 lastValue_(), commentsBefore_(), features_(features), collectComments_() { in Reader() 319 commentsBefore_ = ""; in parse() 329 if (collectComments_ && !commentsBefore_.empty()) in parse() 330 root.setComment(commentsBefore_, commentAfter); in parse() 359 if (collectComments_ && !commentsBefore_.empty()) { in readValue() 360 currentValue().setComment(commentsBefore_, commentBefore); in readValue() 361 commentsBefore_ = ""; in readValue() 583 commentsBefore_ += normalized; in addComment() 1213 std::string commentsBefore_; member in Json::OurReader [all …]
|
D | json.h | 1488 std::string commentsBefore_; variable
|
/external/jsoncpp/include/json/ |
D | reader.h | 239 std::string commentsBefore_; variable
|