Home
last modified time | relevance | path

Searched refs:first_line (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/openmp/runtime/tools/lib/
H A DUname.pm290 my $first_line = $1;
291 $values{ operating_system_description } = $first_line;
292 … $first_line =~ m{\A(.*?)\s+release\s+(.*?)(?:\s+\((.*?)(?:\s+Update\s+(.*?))?\))?\s*$}
293 or runtime_error( "$release:1: Cannot parse line:", $first_line );
304 my $first_line = $1;
305 $values{ operating_system_description } = $first_line;
306 $first_line =~ m{^(.*?)\s*(\d+)\s*\(.*?\)\s*$}
307 or runtime_error( "$release:1: Cannot parse line:", $first_line );
/llvm-project-15.0.7/clang/test/AST/
H A Dgen_ast_dump_json_test.py106 first_line = srcf.readline()
126 if "RUN: %clang_cc1 " not in first_line:
128 clang_start = first_line.find("%clang_cc1") + len("%clang_cc1")
129 file_check_idx = first_line.rfind("| FileCheck")
131 dump_cmd = first_line[clang_start:file_check_idx]
133 dump_cmd = first_line[clang_start:]
/llvm-project-15.0.7/llvm/utils/
H A Dupdate_mir_test_checks.py239 first_line = func_body[0]
240 indent = len(first_line) - len(first_line.lstrip(' '))
303 first_line = input_lines[0] if input_lines else ""
304 if 'autogenerated' in first_line and script_name not in first_line:
310 if not first_line or 'autogenerated' not in first_line:
H A Drevert_checker.py67 first_line = commit_message.splitlines()[0]
68 initial_revert = re.match(r'Revert ([a-f0-9]{6,}) "', first_line)
/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/launch/
H A DTestVSCode_launch.py338 first_line = line_number(source, '// breakpoint 1')
340 lines = [first_line, second_line]
381 first_line = line_number(source, '// breakpoint 1')
389 'breakpoint s -f main.c -l %d' % first_line,
/llvm-project-15.0.7/third-party/benchmark/test/
H A Doutput_test_helper.cc97 std::string first_line; in CheckCase() local
104 first_line = line; in CheckCase()
112 << "\n started matching near: " << first_line; in CheckCase()
119 << "\n started matching near: " << first_line; in CheckCase()
125 << "\n started matching near: " << first_line; in CheckCase()
/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/breakpoint/
H A DTestVSCode_setBreakpoints.py119 first_line = line_number('main.cpp', 'break 12')
122 lines = [first_line, third_line, second_line]
/llvm-project-15.0.7/third-party/benchmark/tools/gbench/
H A Dreport.py346 …first_line = "{:<{}s}Time CPU Time Old Time New CPU Old CPU New"…
348 output_strs = [first_line, '-' * len(first_line)]
/llvm-project-15.0.7/llvm/utils/UpdateTestChecks/
H A Dcommon.py231 first_line = input_lines[0] if input_lines else ""
232 if UTC_ADVERT in first_line:
233 if script_name not in first_line and not args.force_update:
236 args, argv = check_for_command(first_line, parser, args, argv, argparse_callback)
238 assert UTC_ADVERT not in first_line
/llvm-project-15.0.7/lldb/source/Expression/
H A DREPL.cpp142 const char *first_line = lines.GetStringAtIndex(0); in IOHandlerIsInputComplete() local
143 if (first_line[0] == ':') in IOHandlerIsInputComplete()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.cpp981 if (auto first_line = lines->getNext()) { in ParseVariableForPDBData() local
982 uint32_t src_file_id = first_line->getSourceFileId(); in ParseVariableForPDBData()
987 decl.SetColumn(first_line->getColumnNumber()); in ParseVariableForPDBData()
988 decl.SetLine(first_line->getLineNumber()); in ParseVariableForPDBData()
1896 if (auto first_line = lines->getNext()) in GetCompileUnitContainsAddress() local
1897 return ParseCompileUnitForUID(first_line->getCompilandId()); in GetCompileUnitContainsAddress()