Home
last modified time | relevance | path

Searched refs:line_num (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/runtime_core/static_core/scripts/code_style/
H A Ddoxygen_style_check.py68 def check_keywords(src_path: str, splitted_lines: list, line_num: int) -> bool:
75 err_msg = "%s:%s" % (src_path, line_num)
79 line_num += 1
90 line_num = text[:text.find(string)].count('\n') + 1
95 err_msg = "%s:%s" % (src_path, line_num)
101 err_msg = "%s:%s" % (src_path, line_num)
105 found_wrong_keyword_sign |= not check_keywords(src_path, string.splitlines(), line_num)
124 line_num = text[:str_index].count('\n') + 1
125 pattern_to_check = re.search(r' */// [^ ]+?[^\n]*', lines[line_num - 1])
126 if not pattern_to_check or pattern_to_check.group(0) != lines[line_num
[all...]
/arkcompiler/runtime_core/libpandafile/
H A Dfile_items.h713 void SetLineNumber(size_t line_num) in SetLineNumber() argument
715 line_num_ = line_num; in SetLineNumber()

Completed in 11 milliseconds