| /llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/breakpoint/ |
| H A D | TestVSCode_setBreakpoints.py | 122 lines = [first_line, third_line, second_line] 135 self.assertEquals(len(breakpoints), len(lines), 139 self.assertTrue(line, lines[index]) 153 lines.remove(second_line) 163 self.assertTrue(line, lines[index]) 193 lines = [] 209 lines = [second_line] 242 lines = [line_number('main.cpp', 'break 12'), 255 self.assertEquals(len(breakpoints), len(lines), 259 self.assertTrue(line, lines[index]) [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/ |
| H A D | amdgpu-elf-headers.test | 2 …eCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=0 -D… 5 …eCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=1 -D… 8 …eCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=2 -D… 11 …eCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=0 -D… 14 …eCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=1 -D… 17 …eCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=2 -D… 20 …eCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=0 -D… 23 …eCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=1 -D… 26 …eCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=2 -D… 29 …eCheck %s --check-prefixes=ALL,KNOWN-ABI-VERSION,SINGLE-FLAG --match-full-lines -DABI_VERSION=0 -D… [all …]
|
| H A D | file-header-os-abi.test | 5 # RUN: llvm-readobj --file-headers %t.osabi.none | FileCheck %s --match-full-lines --check-prefix=O… 6 # RUN: llvm-readelf --file-headers %t.osabi.none | FileCheck %s --match-full-lines --check-prefix=O… 21 # RUN: llvm-readobj --file-headers %t.osabi.hpux | FileCheck %s --match-full-lines --check-prefix=O… 22 # RUN: llvm-readelf --file-headers %t.osabi.hpux | FileCheck %s --match-full-lines --check-prefix=O… 38 # RUN: llvm-readelf --file-headers %t.osabi.linux | FileCheck %s --match-full-lines --check-prefix=… 45 # RUN: llvm-readobj --file-headers %t.osabi.hurd | FileCheck %s --match-full-lines --check-prefix=O… 46 # RUN: llvm-readelf --file-headers %t.osabi.hurd | FileCheck %s --match-full-lines --check-prefix=O… 61 # RUN: llvm-readobj --file-headers %t.osabi.aix | FileCheck %s --match-full-lines --check-prefix=OS… 62 # RUN: llvm-readelf --file-headers %t.osabi.aix | FileCheck %s --match-full-lines --check-prefix=OS… 70 # RUN: llvm-readelf --file-headers %t.osabi.irix | FileCheck %s --match-full-lines --check-prefix=O… [all …]
|
| H A D | file-types.test | 4 # RUN: llvm-readobj -h %t1 | FileCheck %s --match-full-lines --check-prefix LLVM-NONE 5 # RUN: llvm-readelf -h %t1 | FileCheck %s --match-full-lines --check-prefix GNU-NONE 20 # RUN: llvm-readobj -h %t2 | FileCheck %s --match-full-lines --check-prefix LLVM-REL 21 # RUN: llvm-readelf -h %t2 | FileCheck %s --match-full-lines --check-prefix GNU-REL 30 # RUN: llvm-readobj -h %t3 | FileCheck %s --match-full-lines --check-prefix LLVM-EXEC 31 # RUN: llvm-readelf -h %t3 | FileCheck %s --match-full-lines --check-prefix GNU-EXEC 40 # RUN: llvm-readobj -h %t4 | FileCheck %s --match-full-lines --check-prefix LLVM-DYN 41 # RUN: llvm-readelf -h %t4 | FileCheck %s --match-full-lines --check-prefix GNU-DYN 50 # RUN: llvm-readobj -h %t5 | FileCheck %s --match-full-lines --check-prefix LLVM-CORE 51 # RUN: llvm-readelf -h %t5 | FileCheck %s --match-full-lines --check-prefix GNU-CORE [all …]
|
| /llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/launch/ |
| H A D | TestVSCode_launch.py | 33 lines = output.splitlines() 99 lines = output.splitlines() 101 for line in lines: 127 lines = output.splitlines() 130 for line in lines: 155 for line in lines: 200 for line in lines: 226 for line in lines: 252 lines.pop(0) 278 while len(lines) and lines[0].startswith("arg["): [all …]
|
| /llvm-project-15.0.7/llvm/test/FileCheck/dump-input/ |
| H A D | enable.txt | 55 ; RUN: | FileCheck %s -match-full-lines -allow-empty \ 83 ; RUN: -match-full-lines -v 2>&1 \ 84 ; RUN: | FileCheck %s -match-full-lines -allow-empty \ 90 ; RUN: -match-full-lines -v 2>&1 \ 91 ; RUN: | FileCheck %s -match-full-lines \ 104 ; RUN: | FileCheck %s -match-full-lines -allow-empty \ 117 ; RUN: | FileCheck %s -match-full-lines -allow-empty \ 124 ; RUN: | FileCheck %s -match-full-lines \ 141 ; RUN: | FileCheck %s -match-full-lines \ 164 ; RUN: | FileCheck %s -match-full-lines \ [all …]
|
| /llvm-project-15.0.7/llvm/utils/lint/ |
| H A D | common_lint.py | 8 def VerifyLineLength(filename, lines, max_length): argument 23 for line in lines: 31 def VerifyTabs(filename, lines): argument 45 for line in lines: 52 def VerifyTrailingWhitespace(filename, lines): argument 66 for line in lines: 74 def RunOnFile(filename, lines): argument 95 lines = file.readlines() 96 lint.extend(linter.RunOnFile(filename, lines))
|
| H A D | cpp_lint.py | 14 def VerifyIncludes(filename, lines): argument 35 for line in lines: 77 def RunOnFile(self, filename, lines): argument 79 lint.extend(VerifyIncludes(filename, lines)) 80 lint.extend(common_lint.VerifyLineLength(filename, lines, 82 lint.extend(common_lint.VerifyTabs(filename, lines)) 83 lint.extend(common_lint.VerifyTrailingWhitespace(filename, lines))
|
| /llvm-project-15.0.7/clang/tools/clang-format/ |
| H A D | clang-format.py | 78 lines = ['-lines', vim.eval('l:lines')] 83 lines = [] 86 lines += ['-lines', '%s:%s' % (op[3] + 1, op[4])] 87 if lines == []: 90 lines = ['-lines', '%s:%s' % (vim.current.range.start + 1, 113 if lines != ['-lines', 'all']: 114 command += lines 141 lines = content.decode(encoding).split('\n')[:-1] 142 sequence = difflib.SequenceMatcher(None, buf, lines) 145 vim.current.buffer[op[1]:op[2]] = lines[op[3]:op[4]]
|
| /llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/variables/ |
| H A D | TestVSCode_variables.py | 94 lines = [breakpoint1_line] 96 breakpoint_ids = self.set_source_breakpoints(source, lines) 97 self.assertEqual(len(breakpoint_ids), len(lines), 238 lines = [breakpoint2_line] 239 breakpoint_ids = self.set_source_breakpoints(source, lines) 240 self.assertEqual(len(breakpoint_ids), len(lines), 277 lines = [breakpoint3_line] 279 self.assertEqual(len(breakpoint_ids), len(lines), 304 lines = [breakpoint1_line] 406 lines = [breakpoint3_line] [all …]
|
| /llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/command/ |
| H A D | ParseCommand.py | 204 err.src = lines[point.line].rstrip() 353 lines = fp.readlines() 404 def _find_all_commands_in_lines(self, lines): argument 414 def _find_all_mock_values_in_lines(self, lines): argument 428 lines = [ 443 lines = [ 458 lines = [] 464 lines = [ 475 lines = [ 498 lines = [ [all …]
|
| /llvm-project-15.0.7/lldb/test/API/commands/memory/read/ |
| H A D | TestMemoryRead.py | 66 lines = self.res.GetOutput().splitlines() 71 argc, int(lines[i].split(':')[1].strip(' {}'), 0)) 72 addr = int(lines[i].split(':')[0], 0) 127 lines = self.res.GetOutput().splitlines() 129 for l in lines: 149 lines = f.readlines() 150 lines = [s.strip() for s in lines] 152 self.assertEqual(lines, expected)
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ |
| H A D | tool-help-message.test | 1 # RUN: llvm-objcopy -h | FileCheck --check-prefix=OBJCOPY-USAGE %s --match-full-lines 2 # RUN: llvm-objcopy --help | FileCheck --check-prefix=OBJCOPY-USAGE %s --match-full-lines 3 # RUN: not llvm-objcopy 2>&1 | FileCheck --check-prefix=OBJCOPY-USAGE %s --match-full-lines 4 # RUN: not llvm-objcopy -- 2>&1 | FileCheck --check-prefix=OBJCOPY-USAGE %s --match-full-lines 9 # RUN: llvm-strip -h | FileCheck --check-prefix=STRIP-USAGE %s --match-full-lines 10 # RUN: llvm-strip --help | FileCheck --check-prefix=STRIP-USAGE %s --match-full-lines 11 # RUN: not llvm-strip 2>&1 | FileCheck --check-prefix=STRIP-USAGE %s --match-full-lines 12 # RUN: not llvm-strip -- 2>&1 | FileCheck --check-prefix=STRIP-USAGE %s --match-full-lines 25 # RUN: llvm-bitcode-strip -h | FileCheck --check-prefix=BITCODE-STRIP-USAGE %s --match-full-lines 26 …RUN: llvm-bitcode-strip --help | FileCheck --check-prefix=BITCODE-STRIP-USAGE %s --match-full-lines [all …]
|
| /llvm-project-15.0.7/llvm/test/Other/ |
| H A D | new-pm-print-pipeline.ll | 9 …t<5>(function(mem2reg)),invalidate<all>' < %s | FileCheck %s --match-full-lines --check-prefixes=C… 13 …eline-passes -passes='function(mem2reg)' < %s | FileCheck %s --match-full-lines --check-prefixes=C… 16 …s -passes='function(loop-mssa(indvars))' < %s | FileCheck %s --match-full-lines --check-prefixes=C… 22 …nstrument<>,ee-instrument<post-inline>)' < %s | FileCheck %s --match-full-lines --check-prefixes=C… 40 …function(early-cse<>,early-cse<memssa>)' < %s | FileCheck %s --match-full-lines --check-prefixes=C… 46 …module(hwasan<>,hwasan<kernel;recover>)' < %s | FileCheck %s --match-full-lines --check-prefixes=C… 49 …le(loop-extract<>,loop-extract<single>)' < %s | FileCheck %s --match-full-lines --check-prefixes=C… 61 …pper,inliner-wrapper-no-mandatory-first' < %s | FileCheck %s --match-full-lines --check-prefixes=C… 64 …e-passes -passes='scc-oz-module-inliner' < %s | FileCheck %s --match-full-lines --check-prefixes=C… 75 …'debugify,no-op-function,check-debugify' < %s | FileCheck %s --match-full-lines --check-prefixes=C… [all …]
|
| /llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/optimized/ |
| H A D | TestVSCode_optimized.py | 26 lines = [breakpoint_line] 27 breakpoint_ids = self.set_source_breakpoints(source, lines) 28 self.assertEqual(len(breakpoint_ids), len(lines), 45 lines = [breakpoint_line] 47 breakpoint_ids = self.set_source_breakpoints(source, lines) 48 self.assertEqual(len(breakpoint_ids), len(lines),
|
| /llvm-project-15.0.7/openmp/runtime/test/affinity/format/ |
| H A D | check.py | 12 self.lines = [] 17 self.lines = [l.rstrip('\r\n') for l in sys.stdin.readlines()] 38 if len(self.lines) == 0: 50 for idx, line in enumerate(self.lines): 58 del self.lines[index] 59 if len(self.lines) != 0: 60 raise Checks.CheckError('{}: Extra output: {}'.format(self.prefix, self.lines))
|
| /llvm-project-15.0.7/lldb/unittests/Editline/ |
| H A D | EditlineTest.cpp | 74 bool SendLines(const std::vector<std::string> &lines); 78 bool GetLines(lldb_private::StringList &lines, bool &interrupted, 85 lldb_private::StringList &lines); 125 auto input_complete_cb = [this](Editline *editline, StringList &lines) { in EditlineAdapter() argument 126 return this->IsInputComplete(editline, lines); in EditlineAdapter() 156 bool EditlineAdapter::SendLines(const std::vector<std::string> &lines) { in SendLines() argument 157 for (auto &line : lines) { in SendLines() 178 bool EditlineAdapter::GetLines(lldb_private::StringList &lines, in GetLines() argument 184 _editline_sp->GetLines(1, lines, interrupted); in GetLines() 189 lldb_private::StringList &lines) { in IsInputComplete() argument [all …]
|
| /llvm-project-15.0.7/clang/test/SemaOpenCL/ |
| H A D | features.cl | 2 // RUN: | FileCheck -match-full-lines %s --check-prefix=NO-FEATURES 4 // RUN: | FileCheck -match-full-lines %s --check-prefix=FEATURES 6 // RUN: | FileCheck -match-full-lines %s --check-prefix=NO-FEATURES 8 // RUN: | FileCheck -match-full-lines %s --check-prefix=FEATURES 10 // RUN: | FileCheck -match-full-lines %s --check-prefix=NO-FEATURES 12 // RUN: | FileCheck -match-full-lines %s --check-prefix=FEATURES 14 // RUN: | FileCheck -match-full-lines %s --check-prefix=NO-FEATURES 16 // RUN: | FileCheck -match-full-lines %s --check-prefix=FEATURES 21 // RUN: | FileCheck -match-full-lines %s --check-prefix=NO-FEATURES 23 // RUN: | FileCheck -match-full-lines %s --check-prefix=NO-FEATURES [all …]
|
| /llvm-project-15.0.7/polly/test/ |
| H A D | update_check.py | 27 while len(lines) and emptyline.fullmatch(lines[0]): 28 del lines[0] 34 while len(lines) and emptyline.fullmatch(lines[-1]): 35 del lines[-1] 38 def trim_emptylines(lines): argument 39 ltrim_emptylines(lines) 59 def common_indent(lines): argument 70 def classyfier1(lines): argument 71 i = iter(lines) 190 def classyfier2(lines): argument [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/ |
| H A D | LinuxProcMaps.cpp | 124 llvm::StringRef lines(linux_map); in ParseLinuxMapRegions() local 126 while (!lines.empty()) { in ParseLinuxMapRegions() 127 std::tie(line, lines) = lines.split('\n'); in ParseLinuxMapRegions() 147 llvm::StringRef lines(linux_smap); in ParseLinuxSMapRegions() local 151 while (lines.size()) { in ParseLinuxSMapRegions() 152 std::tie(line, lines) = lines.split('\n'); in ParseLinuxSMapRegions()
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | IOHandler.cpp | 274 [this](Editline *editline, StringList &lines) { in IOHandlerEditline() argument 275 return this->IsInputCompleteCallback(editline, lines); in IOHandlerEditline() 450 return m_delegate.IOHandlerIsInputComplete(*this, lines); in IsInputCompleteCallback() 522 m_current_lines_ptr = &lines; in GetLines() 544 m_curr_line_idx = lines.GetSize(); in GetLines() 548 lines.AppendString(line); in GetLines() 549 done = m_delegate.IOHandlerIsInputComplete(*this, lines); in GetLines() 554 success = lines.GetSize() > 0; in GetLines() 568 StringList lines; in Run() local 569 if (GetLines(lines, interrupted)) { in Run() [all …]
|
| /llvm-project-15.0.7/lldb/test/API/commands/thread/backtrace/ |
| H A D | TestThreadBacktraceRepeat.py | 58 lines = result.GetOutput().splitlines() 59 self.assertEqual(len(lines), 11, "Got the right number of lines") 61 self.assertNotEqual(lines[1].find("stop_here"), -1, "Found Stop Here") 62 for line in lines[2:10]: 65 self.assertNotEqual(lines[10].find("count=43"), -1, "First show ends at 43") 71 lines = result.GetOutput().splitlines() 72 self.assertEqual(len(lines), 11, "Repeat got 11 lines") 74 for line in lines[1:10]: 76 self.assertNotEqual(lines[10].find("count=33"), -1, "Last one is now 33")
|
| /llvm-project-15.0.7/llvm/test/YAMLParser/ |
| H A D | spec-09-24.test | 24 lines 39 lines 54 lines 69 lines 84 lines 99 lines
|
| /llvm-project-15.0.7/llvm/utils/ |
| H A D | sort_includes.py | 25 lines = f.readlines() 35 for (i, l) in enumerate(lines): 78 lines = lines[:headers_begin] + header_lines + lines[headers_end + 1:] 82 f.writelines(lines)
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-profdata/Inputs/ |
| H A D | profile-symbol-list.expected | 1 Function: main: 368038, 0, 7 sampled lines 12 10: inlined callee: inline1: 2000, 0, 1 sampled lines 17 10: inlined callee: inline2: 4000, 0, 1 sampled lines 23 Function: _Z3bari: 40602, 2874, 1 sampled lines 28 Function: _Z3fooi: 15422, 1220, 1 sampled lines
|