Searched refs:comment_position (Results 1 – 10 of 10) sorted by relevance
80 unsigned comment_position=0; in mbl_parse_block() local96 comment_position = 0; in mbl_parse_block()99 comment_position = 0; in mbl_parse_block()100 else if (newline && comment_position < comment_length in mbl_parse_block()101 && c==comment[comment_position]) in mbl_parse_block()103 if (++comment_position == 2) in mbl_parse_block()109 comment_position = 0; in mbl_parse_block()115 comment_position = 0; in mbl_parse_block()
100 comment_position = stripped_line.find('#')101 if comment_position > 0 and stripped_line[:comment_position]:102 yield stripped_line[:comment_position]103 elif comment_position < 0 and stripped_line:
160 from = comment_position - UNFOLD_CONTEXT_SIZE184 to = comment_position + UNFOLD_CONTEXT_SIZE227 line.old_pos > comment_position && line.type == 'match'232 def comment_position method in Gitlab.Diff.LinesUnfolder
18 comment_position = line.find('#')19 if comment_position < 0:21 return line[:comment_position].strip()
93 comment_position = line.find("#")95 if comment_position != -1:96 line = line[:comment_position]
755 comment_position = line.find('//')756 if comment_position != -1 and not is_cpp_string(line[:comment_position]):757 line = line[:comment_position]1509 comment_position = line.find('//')1510 if comment_position != -1:1513 …if (line.count('"', 0, comment_position) - line.count('\\"', 0, comment_position)) % 2 == 0: # n…1516 and ((comment_position >= 11517 and line[comment_position-1] not in string.whitespace)1518 or (comment_position >= 21519 and line[comment_position-2] not in string.whitespace))):[all …]
14 from .comment_position import CommentPosition
13 from .comment_position import CommentPosition
652 comment_position = line.find('//')653 if comment_position != -1 and not is_cpp_string(line[:comment_position]):654 line = line[:comment_position]
6826 const auto comment_position = line.find("//"); in parse_config_line() local6828 if (comment_position != line.npos) in parse_config_line()