Lines Matching refs:comment

2983     for (int comment = 0; comment < numberOfCommentPlacement; ++comment) {  in Value()  local
2984 const CommentInfo& otherComment = other.comments_[comment]; in Value()
2986 comments_[comment].setComment( in Value()
3922 void Value::setComment(const char* comment, size_t len, CommentPlacement placement) { in setComment() argument
3925 if ((len > 0) && (comment[len-1] == '\n')) { in setComment()
3929 comments_[placement].setComment(comment, len); in setComment()
3932 void Value::setComment(const char* comment, CommentPlacement placement) { in setComment() argument
3933 setComment(comment, strlen(comment), placement); in setComment()
3936 void Value::setComment(const JSONCPP_STRING& comment, CommentPlacement placement) { in setComment() argument
3937 setComment(comment.c_str(), comment.length(), placement); in setComment()
4774 const JSONCPP_STRING& comment = root.getComment(commentBefore); in writeCommentBeforeValue() local
4775 JSONCPP_STRING::const_iterator iter = comment.begin(); in writeCommentBeforeValue()
4776 while (iter != comment.end()) { in writeCommentBeforeValue()
4779 ((iter+1) != comment.end() && *(iter + 1) == '/')) in writeCommentBeforeValue()
4990 const JSONCPP_STRING& comment = root.getComment(commentBefore); in writeCommentBeforeValue() local
4991 JSONCPP_STRING::const_iterator iter = comment.begin(); in writeCommentBeforeValue()
4992 while (iter != comment.end()) { in writeCommentBeforeValue()
4995 ((iter+1) != comment.end() && *(iter + 1) == '/')) in writeCommentBeforeValue()
5278 const JSONCPP_STRING& comment = root.getComment(commentBefore); in writeCommentBeforeValue() local
5279 JSONCPP_STRING::const_iterator iter = comment.begin(); in writeCommentBeforeValue()
5280 while (iter != comment.end()) { in writeCommentBeforeValue()
5283 ((iter+1) != comment.end() && *(iter + 1) == '/')) in writeCommentBeforeValue()