Home
last modified time | relevance | path

Searched full:content (Results 1 – 25 of 425) sorted by relevance

12345678910>>...17

/arkcompiler/runtime_core/static_core/tests/cts-generator/generator/
Dtest_base.rb26 def write_test_initial_block(content) argument
33 content.puts '# Huawei Technologies Co.,Ltd.'
34 content.puts '#'
35 content.puts '# The following comment until the empty line must be a valid YAML document'
36content.puts "# containing exact copies of ISA specification assertions relevant to this test.\n"
37 content.puts [isa].to_yaml.split("\n").map { |line| '#%s' % line }.join("\n")
38 content.puts "\n"
42 …def write_runner_options(content, run_options, ignore, bugids, tags, description, test_panda_optio… argument
45 content.puts "## runner-option: #{s}"
47 content.puts "## runner-option: ignore" if ignore
[all …]
Dsingle_test.rb35 StringIO.open do |content|
36 write_test_initial_block content
47 … write_runner_options content, run_options, ignore, bugids, tags, description, test_panda_options
49 write_test_main_block content
51 content.puts @command[Generator::TEST_CODE_TEMPLATE]
55 content.puts @predefined.definition case_check_type
57 write_test_main_wrapper_block content, run_options
59 content.string
Dtest_case.rb58 StringIO.open do |content|
59 write_test_initial_block content
77 …write_runner_options content, run_options, ignore_case, bugids + bugids_test + bugids_case, tags_t…
80 write_test_main_block content
133 content.puts updated
136 content.puts template
143 content.puts @predefined.definition case_check_type
145 write_test_main_wrapper_block content, run_options
147 content.string
/arkcompiler/runtime_core/tests/cts-generator/generator/
Dtest_base.rb26 def write_test_initial_block(content) argument
33 content.puts '# Huawei Technologies Co.,Ltd.'
34 content.puts '#'
35 content.puts '# The following comment until the empty line must be a valid YAML document'
36content.puts "# containing exact copies of ISA specification assertions relevant to this test.\n"
37 content.puts [isa].to_yaml.split("\n").map { |line| '#%s' % line }.join("\n")
38 content.puts "\n"
42 …def write_runner_options(content, run_options, ignore, bugids, tags, description, test_panda_optio… argument
45 content.puts "## runner-option: #{s}"
47 content.puts "## runner-option: ignore" if ignore
[all …]
Dsingle_test.rb35 StringIO.open do |content|
36 write_test_initial_block content
47 … write_runner_options content, run_options, ignore, bugids, tags, description, test_panda_options
49 write_test_main_block content
51 content.puts @command[Generator::TEST_CODE_TEMPLATE]
55 content.puts @predefined.definition case_check_type
57 write_test_main_wrapper_block content, run_options
59 content.string
Dtest_case.rb58 StringIO.open do |content|
59 write_test_initial_block content
77 …write_runner_options content, run_options, ignore_case, bugids + bugids_test + bugids_case, tags_t…
80 write_test_main_block content
133 content.puts updated
136 content.puts template
143 content.puts @predefined.definition case_check_type
145 write_test_main_wrapper_block content, run_options
147 content.string
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/reports/
Dindex_template.html18 .item-content {
23 .item-content--passed {
27 .item-content--failed {
31 .item-content--other {
65 <td class="item-content">${Total}</td>
69 <td class="item-content item-content--passed">${Passed}</td>
73 <td class="item-content item-content--failed">${Failed}</td>
77 <td class="item-content item-content--other">${Ignored}</td>
81 <td class="item-content item-content--other">${ExcludedThroughLists}</td>
85 <td class="item-content item-content--other">${ExcludedByOtherReasons}</td>
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/reports/
Dindex_template.html18 .item-content {
23 .item-content--passed {
27 .item-content--failed {
31 .item-content--other {
65 <td class="item-content">${Total}</td>
69 <td class="item-content item-content--passed">${Passed}</td>
73 <td class="item-content item-content--failed">${Failed}</td>
77 <td class="item-content item-content--other">${Ignored}</td>
81 <td class="item-content item-content--other">${ExcludedThroughLists}</td>
85 <td class="item-content item-content--other">${ExcludedByOtherReasons}</td>
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/utils/
Dcrypto_utils.ts19 public static sha256(content: string): string {
20 return this.hash(content, 'sha256');
23 public static hash(content: string, algorithm: string): string {
24 return crypto.createHash(algorithm).update(content).digest('base64url');
27 public static hashcode(content: string): number {
29 for (let i = 0; i < content.length; i++) {
30 h = (Math.imul(31, h) + content.charCodeAt(i)) | 0;
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/readonly-parameter-test/
Dreadonly-parameter-and-Readonly-test2.ets38 /* @@@ label6 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
39 /* @@@ label7 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
40 /* @@@ label8 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
41 /* @@@ label9 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
42 /* @@@ label Error TypeError: Cannot modify an array or tuple content that has the readonly paramet…
43 /* @@@ label1 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
44 /* @@@ label2 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
45 /* @@@ label3 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
46 /* @@@ label4 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
47 /* @@@ label5 Error TypeError: Cannot modify an array or tuple content that has the readonly parame…
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/core/base/
DDecorator.ts21 content: string = ''; property in Decorator
29 public setContent(content: string): void {
30 this.content = content;
33 return this.content;
42 return `@${this.content}`;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/koala-related-benchmarks/
Darkts-mockup.ets19 static _invoke<T extends StructCommon>(factory: () => T, content: () => void): T {
23 content()
46 static $_instantiate(factory: () => Column, content: () => void): Column {
50 content()
64 static $_instantiate(factory: () => Button, content: () => void): Button {
68 content()
83 console.println("Column content")
87 console.println("Button content")
/arkcompiler/ets_frontend/arkguard/test/ut/utils/
DKeepParameterUtils.spec.ts29 let content = 'export declare let a: number'; variable
30 const ast = ts.createSourceFile(path, content, ts.ScriptTarget.ES2015, true);
47 let content = 'export declare let a: number'; variable
48 const ast = ts.createSourceFile(path, content, ts.ScriptTarget.ES2015, true);
65 let content = 'export declare let a: number'; variable
66 const ast = ts.createSourceFile(path, content, ts.ScriptTarget.ES2015, true);
99 let content = 'export declare let a: number'; variable
100 const ast = ts.createSourceFile(path, content, ts.ScriptTarget.ES2015, true);
109 let content = 'export declare let a: number'; variable
110 const ast = ts.createSourceFile(path, content, ts.ScriptTarget.ES2015, true);
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/sdkwhite/
Dquoted_hyphen_props_deprecated_sdk2.ets28 'content-encoding',
29 'content-range',
30 'content-type',
65 'content-range': 'json', // Error
87 return basicHeaders?.["content-range"]; // Error
92 'content-encoding': 'UTF-8', // Error
93 'content-range': 'gzip, deflate', // Error
98 'content-type':'application/json' // Error
107 'content-encoding': 'application/json', // Error
/arkcompiler/ets_frontend/test/scripts/utils/send_email/
Dsend_email.py26 def add_content(content, file_name, test_part): argument
28content += f'<p style="text-align:center;color:red;font-size:25px"> {test_part} not complete yet <…
29 return content
31content += f'<p style="text-align:center;color:red;font-size:25px"> {test_part} run failed </p>'
32 return content
34 content += f.read()
35 return content
43 … attachment['Content-Disposition'] = f'attachment; filename="{os.path.basename(file)}"'
52 img.add_header('Content-ID', img_dic[path])
/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/reporters/
Dstring_logger.rb19 @content = StringIO.new
23 if @content.closed_write?
28 @content.puts(args) if level <= $VERBOSITY
32 @content.string
36 @content.close
/arkcompiler/runtime_core/tests/cts-generator/runner/reporters/
Dstring_logger.rb19 @content = StringIO.new
23 if @content.closed_write?
28 @content.puts(args) if level <= $VERBOSITY
32 @content.string
36 @content.close
/arkcompiler/ets_frontend/arkguard/tools/memory-line-viewer/assets/
Dindex-D-uIG2GH.css1content:oklch(21% .006 285.885);--color-primary:oklch(45% .24 277.023);--color-primary-content:okl…
/arkcompiler/ets_runtime/tools/ap_file_viewer/src/ap/
DApApplicationPublicFunc.js22 grid-template-rows: min-content 1fr;
23 grid-template-columns: min-content 1fr;
30 content: 'Drop the trace file to open it';
72 justify-content: center;
81 justify-content: center;
109 .content{
128 align-content: center;
129 justify-content: center;
155 .content-center-option {
156 justify-content: center;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/10.interfaces/07.interface_inheritance/Interface_inheritance_class_implementation/multi_inheritance_interface_abstract_method/
Dmulti_inheritance_interface_abstract_method_05.ets25 write(content: string, file: string): string;
34 return `Reading content from ${file}`;
37 write(content: string, file: string) {
38 return`Writing ${content} to ${file}`;
51 assertEQ(result, "Reading content from test.txt");
Dmulti_inheritance_interface_abstract_method_04.ets25 write(content: string, file: string): string;
34 return `Reading content from ${file}`;
37 write(content: string, file: string) {
38 return `Writing ${content} to ${file}`;
51 assertEQ(result, "Reading content from test.txt");
/arkcompiler/runtime_core/panda_guard/util/
Dfile_util.cpp32 std::string content; in GetFileContent() local
36 return content; in GetFileContent()
42 return content; in GetFileContent()
47 content = ss.str(); in GetFileContent()
49 return content; in GetFileContent()
75 void panda::guard::FileUtil::WriteFile(const std::string &filePath, const std::string &content) in WriteFile() argument
81 ofs << content; in WriteFile()
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/save/
DViewTreePrinter.ts62 private escapeDotLabel(content: string[]): string {
65 let label = content.join('|');
111 let content: string[] = [];
113 content.push(value.getName());
118 content
128 let content: string[] = [];
131 content.push(key);
134 if (content.length > 0) {
137 content
147 let content = [item.signature.toString()];
[all …]
/arkcompiler/ets_frontend/arkguard/test/ut/arkobfuscator/
DArkObfuscator.spec.ts43 constructor(public title: string, public content: string, public mark: number) {
45 this.content = content
56 constructor(public title: string, public content: string, public mark: number) {
58 this.content = content
67 constructor(public title: string, public content: string, public mark: number) {
69 this.content = content
95 constructor(public title: string, public content: string, public mark: number) {
97 this.content = content;
133 constructor(public title: string, public content: string, public mark: number) {
135 this.content = content;
[all …]
/arkcompiler/ets_frontend/ets2panda/test/unit/lsp/
Dget_name_or_dotted_name_span_test.cpp56 auto content = fileContents[0]; in TEST_F() local
59 EXPECT_EQ(ExtractSpanText(content, span), "myMethod"); in TEST_F()
79 auto content = fileContents[0]; in TEST_F() local
82 EXPECT_EQ(ExtractSpanText(content, span), "A.myMethod"); in TEST_F()
104 auto content = fileContents[0]; in TEST_F() local
107 EXPECT_EQ(ExtractSpanText(content, span), "A.B.foo"); in TEST_F()
125 auto content = fileContents[0]; in TEST_F() local
147 auto content = fileContents[0]; in TEST_F() local
150 EXPECT_EQ(ExtractSpanText(content, span), "Outer.Inner.greet"); in TEST_F()

12345678910>>...17