Home
last modified time | relevance | path

Searched refs:content (Results 1 – 25 of 411) sorted by relevance

12345678910>>...17

/llvm-project/libc/newhdrgen/
H A Dheader.py
/llvm-project/llvm/utils/filecheck_lint/
H A Dfilecheck_lint.py89 content: str
94 self, content: str, start_byte: int, end_byte: int
101 self.content = content
112 content_before_span = self.content[: self.start_byte]
158 content: str,
175 for match in re.finditer(directive_pattern, content):
177 yield (FileRange(content, span[0], span[1]), potential_directive)
182 content: str,
194 r"-check-prefix(?:es)?(?:\s+|=)({})".format(param_re), content
204 content: str,
[all …]
H A Dfilecheck_lint_test.py15 def run(content, expected_prefixes): argument
16 prefixes = set(fcl.parse_custom_prefixes(content))
20 for content, expected_prefixes in [
36 run(content, expected_prefixes)
47 content = "\n".join(lines)
49 results = list(fcl.find_potential_directives(content))
/llvm-project/clang/tools/scan-build-py/tests/unit/
H A Dtest_report.py14 def run_bug_parse(content): argument
18 handle.writelines(content)
23 def run_crash_parse(content, preproc): argument
27 handle.writelines(content)
33 content = [
46 result = run_bug_parse(content)
55 content = []
56 result = run_bug_parse(content)
62 content = [
68 result = run_crash_parse(content, "fil
[all...]
/llvm-project/lldb/utils/lui/
H A Dcui.py253 self.content = ""
262 if (len(prompt) + len(self.content)) / w + self.starty >= h - 1:
272 remain = self.content
284 self.content = ""
299 self.enterCallback(self.content)
301 self.tabCompleteCallback(self.content)
303 self.content = (
304 self.content[: self.index] + chr(key) + self.content[self.index :]
310 self.content = (
311 self.content[: self.index] + self.content[self.index + 1 :]
[all …]
H A Dsourcewin.py84 if self.viewline < len(self.content) - self.height + 1:
122 self.content = self.getContent(path)
139 if self.content:
140 self.formatContent(self.content, self.pc_line, bps)
143 content = []
145 content = self.sources[path]
149 content = x.readlines()
150 self.sources[path] = content
151 return content
153 def formatContent(self, content, pc_line, breakpoints): argument
[all …]
H A Dcommandwin.py65 def enterCallback(content): argument
66 self.handleCommand(content)
68 def tabCompleteCallback(content): argument
69 self.data = content
76 self.el.content += matches.GetStringAtIndex(0)
77 self.el.index = len(self.el.content)
120 if event == curses.ascii.EOT and self.el.content == "":
/llvm-project/llvm/test/Other/ChangePrinters/DotCfg/
H A Dprint-changed-dot-cfg.ll125 …ont-size: 15px;} .active, .collapsible:hover { background-color: #555;} .content { padding: 0 18px…
127 ; CHECK-DOT-CFG-SIMPLE-NEXT: <div class="content">
141 …"active"); var content = this.nextElementSibling; if (content.style.display === "block"){ content.…
143 …ont-size: 15px;} .active, .collapsible:hover { background-color: #555;} .content { padding: 0 18px…
145 ; CHECK-DOT-CFG-FUNC-FILTER-NEXT: <div class="content">
157 …"active"); var content = this.nextElementSibling; if (content.style.display === "block"){ content.…
159 …ont-size: 15px;} .active, .collapsible:hover { background-color: #555;} .content { padding: 0 18px…
161 ; CHECK-DOT-CFG-PRINT-MOD-SCOPE-NEXT: <div class="content">
175 …"active"); var content = this.nextElementSibling; if (content.style.display === "block"){ content.…
177 …ont-size: 15px;} .active, .collapsible:hover { background-color: #555;} .content { padding: 0 18px…
[all …]
/llvm-project/clang/test/PCH/
H A Dvalidate-file-content.m4 // RUN: %clang -x objective-c-header -fsyntax-only -fpch-validate-input-files-content %s -### 2>&1 …
5 // CHECK-CC1: -fvalidate-ast-input-files-content
7 // PCH only: Test that a mtime mismatch without content change is fine
12 …ang_cc1 -emit-pch -o %t/a.pch -I %t -x objective-c-header %t/a.h -fvalidate-ast-input-files-content
14 … %clang_cc1 -fsyntax-only -I %t -include-pch %t/a.pch %s -verify -fvalidate-ast-input-files-content
16 // PCH only: Test that a mtime mismatch with content change
21 …ang_cc1 -emit-pch -o %t/a.pch -I %t -x objective-c-header %t/a.h -fvalidate-ast-input-files-content
24 …ng_cc1 -fsyntax-only -I %t -include-pch %t/a.pch %s -fvalidate-ast-input-files-content 2> %t/stderr
27 …]]' has been modified since the precompiled header '[[A_PCH:.*/a\.pch]]' was built: content changed
/llvm-project/mlir/utils/spirv/
H A Dgen_spirv_dialect.py51 spec = response.content
87 spec = response.content
97 spec_ext = response_ext.content
216 # TODO: delete this once ODS can support dialect-specific content
224 # TODO: delete this once ODS can support dialect-specific content
239 # TODO: delete this once ODS can support dialect-specific content
264 # TODO: delete this once ODS can support dialect-specific content
463 content = f.read()
465 content = content
[all...]
/llvm-project/clang/test/Modules/
H A Dvalidate-file-content.m4 // RUN: %clang -fmodules -fsyntax-only -fmodules-validate-input-files-content %s -### 2>&1 | FileCh…
5 // CHECK-CC1: -fvalidate-ast-input-files-content
7 // PCH+Modules: Test that a mtime mismatch without content change is fine
13 …licit-module-maps -o %t/a.pch -I %t -x objective-c-header %t/a.h -fvalidate-ast-input-files-content
15 …es -fimplicit-module-maps -I %t -include-pch %t/a.pch %s -verify -fvalidate-ast-input-files-content
17 // PCH+Modules: Test that a mtime mismatch with content change
23 …licit-module-maps -o %t/a.pch -I %t -x objective-c-header %t/a.h -fvalidate-ast-input-files-content
26 …implicit-module-maps -I %t -include-pch %t/a.pch %s -fvalidate-ast-input-files-content 2> %t/stderr
29 …]]' has been modified since the precompiled header '[[A_PCH:.*/a\.pch]]' was built: content changed
/llvm-project/lldb/test/API/python_api/process/
H A DTestProcessAPI.py60 content = process.ReadMemory(val.AddressOf().GetValueAsUnsigned(), 1, error)
64 print("memory content:", content)
67 content,
177 content = process.ReadMemory(location, 1, error)
181 print("memory content:", content)
184 content,
295 content = process.ReadMemory(location, byteSize, error)
302 content = bytearray(content, "ascii")
303 content.reverse()
305 new_value = bytearray_to_int(content, byteSize)
[all …]
/llvm-project/mlir/utils/jupyter/mlir_opt_kernel/
H A Dkernel.py168 content = {"ename": "", "evalue": str(exitcode), "traceback": []}
170 self.send_response(self.iopub_socket, "error", content)
173 content["execution_count"] = self.execution_count
174 content["status"] = "error"
175 return content
180 content = {
185 self.send_response(self.iopub_socket, "execute_result", content)
/llvm-project/lldb/test/API/commands/session/save/
H A DTestSessionSave.py71 content = file.read()
75 self.assertIn(line, content)
92 content = file.read()
96 self.assertIn(line, content)
159 content = file.read()
163 self.assertIn(line, content)
/llvm-project/polly/www/
H A Dcontent.css13 [id=content] { selector
90 content: "\00a0 ";
93 content: "\00a0 ";
118 content: "\00a0\00a0\00a0";
121 content: "\00a0\00a0\00a0";
125 content: "\00a0\00a0\00a0";
128 content: "\00a0\00a0\00a0";
/llvm-project/flang/lib/Parser/
H A Dsource.cpp30 const char *source{content().data()}; in RecordLineStarts()
47 llvm::StringRef content{buf_->getBufferStart(), buf_->getBufferSize()}; in IdentifyPayload() local
49 if (content.starts_with(UTF8_BOM)) { in IdentifyPayload()
162 if (content().size() == 0 || content().back() != '\n') { in ReadFile()
164 if (content().size() >= buf_->getBufferSize()) { in ReadFile()
166 content().size() + 1)}; in ReadFile()
167 llvm::copy(content(), tmp_buf->getBufferStart()); in ReadFile()
/llvm-project/llvm/test/tools/llvm-readtapi/
H A Dstubify-ehtypes.test83content: 554889E55350488D3D4B13000031C0E84C0000004883C4085B5DC34889C383FA0175294889DFE83B0…
96 content: FF25E6220000FF25E8220000FF25EA220000FF25EC220000
109content: 4C8D1D052300004153FF25D5120000906800000000E9E6FFFFFF6816000000E9DCFFFFFF682C00000…
122 content: FF9B190110060E1B01141700002B0E4400391B000001000084120000
135content: 4E534F626A65637400437573746F6D0074727920626C6F636B00657863657074696F6E00763136403…
148 content: 74657374436C61737300
161content: 010000001C00000001000000200000000100000024000000020000000100015108300000C01C00004…
174 content: 1C00000000000000017A504C5200017810079BF501000010100C070890010000
199 content: '204000000000000000000000000000000000000000000000'
212content: 0000000000000000C807000000000000901D00000000000009000000000000000000000000000000C…
[all …]
/llvm-project/llvm/test/tools/llvm-objcopy/MachO/
H A Dupdate-section.test8 # CHECK: content: '41414142'
11 # SMALLER: content: '414141'
27 # FULL-SECNAME: content: '41414142'
58 content: '41414141'
95 content: 'AABBCCDD'
107 content: ''
/llvm-project/clang-tools-extra/unittests/clang-doc/
H A DHTMLGeneratorTest.cpp74 <div id="main-content" class="col-xs-12 col-sm-9 col-md-8 main-content"> in TEST()
191 <div id="main-content" class="col-xs-12 col-sm-9 col-md-8 main-content"> in TEST()
314 <div id="main-content" class="col-xs-12 col-sm-9 col-md-8 main-content"> in TEST()
362 <div id="main-content" class="col-xs-12 col-sm-9 col-md-8 main-content"> in TEST()
457 <div id="main-content" class="col-xs-12 col-sm-9 col-md-8 main-content">
[all...]
/llvm-project/llvm/test/tools/llvm-ar/
H A Dbig-archive-xcoff-align.test21 ## Test that the content of an XCOFF object file, which has an auxiliary header,
22 ## is aligned in a big archive based on the content of auxiliary header.
24 ## The content of t32_nomaxdata_text, t64_nomaxdata_text.o aligned at 2.
27 ## The content of t32_maxdata_text.o, t64_maxdata_text.o aligned at 2^8.
30 ## The content of t32_noloader.o, t64_noloader.o aligned at 2.
33 ## The content of t32_excess.o aligned at word.
35 ## The content of t64_excess.o aligned at 2^12.
38 ## Test that the content of an XCOFF object file, which does not have an auxiliary
/llvm-project/openmp/libompd/gdb-plugin/ompd/
H A Dompd_callbacks.py103 content = line.split()
106 if content[0].startswith("*"):
107 thread_id = content[3]
109 thread_id = content[2]
/llvm-project/llvm/utils/
H A Dadd_argument_names.py77 content = f.read()
80 content = process_file(content)
83 f.write(content)
/llvm-project/mlir/lib/Query/Matcher/
H A DDiagnostics.cpp116 void Diagnostics::printErrorContent(const Diagnostics::ErrorContent &content, in printErrorContent() argument
118 if (content.messages.size() == 1) { in printErrorContent()
119 printMessage(content.messages[0], "", os); in printErrorContent()
121 for (size_t i = 0, e = content.messages.size(); i != e; ++i) { in printErrorContent()
124 printMessage(content.messages[i], in printErrorContent()
/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/
H A Dsection_sizes_macho.test62 content: 554889E531C0C745FC000000005DC3
128content: 485341480100000001000000010000000C000000000000000100000001000600000000006A7F9A7C2…
141 content: 485341480100000001000000000000000C000000000000000100000001000600FFFFFFFF
154 content: 485341480100000001000000000000000C000000000000000100000001000600FFFFFFFF
167content: 48534148010000000100000001000000140000000000000003000000010006000300050004000B000…
180 content: 00000000000000000F0000000000000100000000000000000000000000000000
202content: 1400000000000000017A520001781001100C070890010000240000001C000000A0FDFFFFFFFFFFFF0…
/llvm-project/libcxx/test/std/algorithms/algorithms.results/
H A Din_in_out_result.pass.cpp65 constexpr ConvertibleFrom(T c) : content{c} {} in ConvertibleFrom()
66 T content; member
77 assert(res2.in1.content == 10); in test()
78 assert(res2.in2.content == 0.); in test()
79 assert(res2.out.content == 1.f); in test()

12345678910>>...17