/external/llvm-project/llvm/utils/ |
D | update_analyze_test_checks.py | 136 for input_line in input_lines: 138 if input_line == '': 140 if input_line.lstrip().startswith(';'): 141 m = common.CHECK_RE.match(input_line) 143 output_lines.append(input_line) 151 if common.should_add_line_to_output(input_line, prefix_set): 154 input_line = common.SCRUB_LEADING_WHITESPACE_RE.sub(r' ', input_line) 155 output_lines.append(input_line) 158 if input_line.strip() == '}': 163 if input_line.startswith(ADVERT): [all …]
|
D | update_mir_test_checks.py | 274 def should_add_line_to_output(input_line, prefix_set): argument 276 m = common.CHECK_RE.match(input_line) 338 for input_line in input_lines: 339 if input_line == autogenerated_note: 343 m = IR_FUNC_NAME_RE.match(input_line) 347 if input_line.rstrip('| \r\n') == '---': 349 output_lines.append(input_line) 351 m = MIR_FUNC_NAME_RE.match(input_line) 355 if input_line.strip() == '...': 358 if should_add_line_to_output(input_line, prefix_set): [all …]
|
D | update_test_checks.py | 153 input_line = input_line_info.line 156 if input_line == '': 158 if input_line.lstrip().startswith(';'): 159 m = common.CHECK_RE.match(input_line) 161 output_lines.append(input_line) 171 if common.should_add_line_to_output(input_line, prefix_set): 174 input_line = common.SCRUB_LEADING_WHITESPACE_RE.sub(r' ', input_line) 175 output_lines.append(input_line) 178 if input_line.strip() == '}': 183 output_lines.append(input_line) [all …]
|
D | update_llc_test_checks.py | 152 input_line = input_info.line 155 if input_line == '': 157 if input_line.lstrip().startswith(';'): 158 m = common.CHECK_RE.match(input_line) 160 output_lines.append(input_line) 168 if common.should_add_line_to_output(input_line, prefix_set): 170 output_lines.append(input_line) 173 if input_line.strip() == '}': 178 output_lines.append(input_line) 180 m = common.IR_FUNCTION_RE.match(input_line)
|
D | update_mca_test_checks.py | 441 for input_line in input_lines: 442 if input_line.startswith(ADVERT_PREFIX): 445 if input_line.startswith(COMMENT_CHAR): 446 m = common.CHECK_RE.match(input_line) 452 if '{}-NOT:'.format(prefix) in input_line: 456 output_lines.append(input_line) 459 if common.should_add_line_to_output(input_line, prefix_set): 462 input_line = common.SCRUB_LEADING_WHITESPACE_RE.sub(r' ', input_line) 465 if input_line or output_lines[-1]: 466 output_lines.append(input_line)
|
/external/llvm/utils/ |
D | update_llc_test_checks.py | 123 def should_add_line_to_output(input_line, prefix_set): argument 125 if input_line.strip() == ';': 131 m = CHECK_RE.match(input_line) 208 for input_line in input_lines: 210 if input_line == '': 212 if input_line.lstrip().startswith(';'): 213 m = CHECK_RE.match(input_line) 215 output_lines.append(input_line) 223 if should_add_line_to_output(input_line, prefix_set) == True: 225 output_lines.append(input_line) [all …]
|
D | update_test_checks.py | 255 def should_add_line_to_output(input_line, prefix_set): argument 257 if input_line.strip() == ';': 263 m = CHECK_RE.match(input_line) 346 for input_line in input_lines: 348 if input_line == '': 350 if input_line.lstrip().startswith(';'): 351 m = CHECK_RE.match(input_line) 353 output_lines.append(input_line) 361 if should_add_line_to_output(input_line, prefix_set) == True: 364 input_line = SCRUB_LEADING_WHITESPACE_RE.sub(r' ', input_line) [all …]
|
/external/llvm-project/mlir/utils/ |
D | generate-test-checks.py | 196 for input_line in input_lines: 197 if not input_line: 199 lstripped_input_line = input_line.lstrip() 205 input_line = input_line.rsplit('//', 1)[0].rstrip() 215 if input_line[-1] == '{': 229 input_line = preprocess_line(input_line) 232 ssa_split = input_line.split('%')
|
/external/XNNPACK/tools/ |
D | xngen.py | 73 for i, input_line in enumerate(input_lines): 74 if input_line == "": 78 input_indent = extract_leading_whitespace(input_line) 91 stripped_input_line = input_line.strip() 100 assert input_line.startswith(python_indent) 104 …python_lines.append(python_indent + "print(%s, file=OUT_STREAM)" % escape(input_line[len(python_in… 105 last_line = input_line
|
D | xngen | 73 for i, input_line in enumerate(input_lines): 74 if input_line == "": 78 input_indent = extract_leading_whitespace(input_line) 91 stripped_input_line = input_line.strip() 100 assert input_line.startswith(python_indent) 104 …python_lines.append(python_indent + "print(%s, file=OUT_STREAM)" % escape(input_line[len(python_in… 105 last_line = input_line
|
/external/llvm/utils/vim/ |
D | vimrc | 148 for l:input_line in l:input_lines 150 if l:input_line[:11] == 'COMPLETION: ' 151 let l:value = l:input_line[12:] 190 \ "info": l:input_line, 201 elseif l:input_line[:9] == "OVERLOAD: " 204 let l:value = l:input_line[10:] 208 \ "info": l:input_line,
|
/external/protobuf/objectivec/DevTools/ |
D | pddm.py | 235 def _ParseDefineLine(self, input_line): argument 236 assert input_line.startswith('PDDM-DEFINE') 237 line = input_line[12:].strip() 241 raise PDDMError('Failed to parse macro definition: "%s"' % input_line) 250 % input_line) 253 % (arg, input_line)) 256 ' definition: "%s"' % (arg, input_line))
|
/external/llvm-project/llvm/utils/vim/ |
D | vimrc | 148 for l:input_line in l:input_lines 150 if l:input_line[:11] == 'COMPLETION: ' 151 let l:value = l:input_line[12:] 190 \ "info": l:input_line, 201 elseif l:input_line[:9] == "OVERLOAD: " 204 let l:value = l:input_line[10:] 208 \ "info": l:input_line,
|
/external/llvm-project/llvm/utils/UpdateTestChecks/ |
D | common.py | 68 for line_num, input_line in enumerate(self.input_lines): 69 args, argv = check_for_command(input_line, self.parser, 71 yield InputLineInfo(input_line, line_num, args, argv) 76 input_line = line_info.line 78 if input_line.startswith(self.autogenerated_note_prefix): 83 output_lines.append(input_line) 115 def should_add_line_to_output(input_line, prefix_set): argument 117 if input_line.strip() == ';': 123 m = CHECK_RE.match(input_line)
|
/external/llvm-project/lldb/source/Interpreter/ |
D | Options.cpp | 973 std::string &input_line) { in ParseAlias() argument 1075 if (!input_line.empty()) { in ParseAlias() 1077 size_t pos = input_line.find(std::string(tmp_arg)); in ParseAlias() 1079 input_line.erase(pos, tmp_arg.size()); in ParseAlias() 1087 if (input_line.size() > 0) { in ParseAlias() 1089 size_t pos = input_line.find(std::string(tmp_arg)); in ParseAlias() 1091 input_line.erase(pos, tmp_arg.size()); in ParseAlias()
|
/external/llvm-project/lldb/include/lldb/Interpreter/ |
D | Options.h | 131 std::string &input_line);
|
/external/python/cpython3/Modules/ |
D | _pickle.c | 672 char *input_line; member 1461 char *input_line = PyMem_Realloc(self->input_line, len + 1); in _Unpickler_CopyLine() local 1462 if (input_line == NULL) { in _Unpickler_CopyLine() 1467 memcpy(input_line, line, len); in _Unpickler_CopyLine() 1468 input_line[len] = '\0'; in _Unpickler_CopyLine() 1469 self->input_line = input_line; in _Unpickler_CopyLine() 1470 *result = self->input_line; in _Unpickler_CopyLine() 1599 self->input_line = NULL; in _Unpickler_New() 7177 if (self->input_line != NULL) in _pickle_Unpickler___sizeof___impl() 7178 res += strlen(self->input_line) + 1; in _pickle_Unpickler___sizeof___impl() [all …]
|