Home
last modified time | relevance | path

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

1234567891011

/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/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/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/plugins/ets/tests/ets_func_tests/koala-related-benchmarks/
Darkts-mockup.sts19 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/toolchain/build/prebuilts_download/
Dutil.py59 def write_json_file(output_file, content, check_changes=False): argument
67 changed = __check_changes(output_file, content)
72 json.dump(content, output_f, sort_keys=True, indent=2)
75 def __check_changes(output_file, content): argument
77 # file content md5 val
81 # new content md5 val
83 sha256_obj_new.update(str(content).encode())
91 def write_file(output_file, content): argument
99 output_f.write(content)
/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/ets_frontend/arkguard/test/ut/arkobfuscator/
DArkObfuscator.spec.ts41 constructor(public title: string, public content: string, public mark: number) {
43 this.content = content
54 constructor(public title: string, public content: string, public mark: number) {
56 this.content = content
65 constructor(public title: string, public content: string, public mark: number) {
67 this.content = content
93 constructor(public title: string, public content: string, public mark: number) {
95 this.content = content;
132 constructor(public title: string, public content: string, public mark: number) {
134 this.content = content;
[all …]
/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/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/src/utils/
DTypeUtils.ts35 * Create .d.ets, .d.ts, .ts ast from .d.ets, .d.ts, .ts content.
36 * Create .ts ast from .ets, .js content
38 * @param {string} content - The content in sourceFilePath
40 public static createObfSourceFile(sourceFilePath: string, content: string): SourceFile {
48 return createSourceFile(sourceFilePath, content, ScriptTarget.ES2015, true);
DSourceMapMergingUtil.ts50 readonly content: string | null; property in Source
54 constructor(filename: string, content: string | null) {
56 this.content = content;
116 // If the length of the segment is 5, it will have name content.
136 const content = traced.source.content; constant
144 sourcesContent[sourceIndex] = content;
145 } else if (sourcesContent[sourceIndex] == null) { // Update text when content is empty.
146 sourcesContent[sourceIndex] = content;
147 } else if (content != null && sourcesContent[sourceIndex] !== content) {
/arkcompiler/ets_frontend/arkguard/test/ut/utils/
DTypeUtils.spec.ts32 constructor(public title: string, public content: string, public mark: number) {
34 this.content = content
42 constructor(public title: string, public content: string, public mark: number) {
44 this.content = content
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/generic/ets_to_ts/
Dgeneric.sts94 public content: T;
96 constructor(content: T) {
97 this.content = content;
101 return this.content;
/arkcompiler/runtime_core/static_core/tools/ark_js_napi_cli/utils/
Dutils.cpp24 void GetAsset(const std::string &uri, std::vector<uint8_t> &content, std::string &ami) in GetAsset() argument
46 content.reserve(size); in GetAsset()
48content.insert(content.begin(), std::istream_iterator<uint8_t>(fs), std::istream_iterator<uint8_t>… in GetAsset()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/16.Support_for_GUI_Programming/trailing_lambdas/
Dtrailing_nested_08.sts45 static instantiate(factory: () => B, content: () => void): B {
49 content()
58 static instantiate(factory: () => C, content: () => void): C {
62 content()
Dtrailing_nested_09.sts45 static instantiate(factory: () => B, content: () => void): B {
49 content()
55 static instantiate(factory: () => C, content: () => void): C {
59 content()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/generic/ts_to_ets/
Dgeneric.ts97 public content: T; property in GClass
99 constructor(content: T) {
100 this.content = content;
104 return this.content;
Dgeneric.js71 constructor(content) { argument
72 this.content = content;
75 return this.content;
/arkcompiler/runtime_core/static_core/scripts/cmake-checker/
Dcmake_checker.py109 content = file.read()
114 content = content.replace(function[1], function[0])
115 content = f"{content}{function[0]}\n"
118 file.write(content)
/arkcompiler/ets_runtime/tools/ap_file_viewer/src/ap/component/
DApWelcome.js27 justify-content: center;
28 align-content: center;
32 content: url('img/pic.png');

1234567891011