(self, line)
| 121 | self.file_list = file_list |
| 122 | |
| 123 | def __check_rt_errorcode(self, line): |
| 124 | pattern = re.compile(r'return\s+(RT_ERROR|RT_ETIMEOUT|RT_EFULL|RT_EEMPTY|RT_ENOMEM|RT_ENOSYS|RT_EBUSY|RT_EIO|RT_EINTR|RT_EINVAL|RT_ENOENT|RT_ENOSPC|RT_EPERM|RT_ETRAP|RT_EFAULT)') |
| 125 | match = pattern.search(line) |
| 126 | if match: |
| 127 | return False |
| 128 | else: |
| 129 | return True |
| 130 | |
| 131 | def __check_file(self, file_lines, file_path): |
| 132 | line_num = 0 |