| /arkcompiler/runtime_core/static_core/tests/cts-generator/generator/ |
| D | test_base.rb | 26 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' 36 … content.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 …]
|
| D | single_test.rb | 35 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
|
| D | test_case.rb | 58 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/ |
| D | test_base.rb | 26 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' 36 … content.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 …]
|
| D | single_test.rb | 35 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
|
| D | test_case.rb | 58 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/ |
| D | index_template.html | 18 .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/test/ast/parser/ets/readonly-parameter-test/ |
| D | readonly-parameter-and-Readonly-test2.sts | 38 /* @@? 30:1 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 39 /* @@? 31:1 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 40 /* @@? 34:1 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 41 /* @@? 36:1 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 42 /* @@? 17:5 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 43 /* @@? 18:5 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 44 /* @@? 19:5 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 45 /* @@? 23:5 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 46 /* @@? 24:5 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete… 47 /* @@? 25:5 Error TypeError: Cannot modify an array or tuple content that has the readonly paramete…
|
| /arkcompiler/ets_frontend/arkguard/test/ut/utils/ |
| D | KeepParameterUtils.spec.ts | 29 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/runtime_core/static_core/plugins/ets/tests/ets_func_tests/koala-related-benchmarks/ |
| D | arkts-mockup.sts | 19 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/test/scripts/utils/send_email/ |
| D | send_email.py | 26 def add_content(content, file_name, test_part): argument 28 …content += f'<p style="text-align:center;color:red;font-size:25px"> {test_part} not complete yet <… 29 return content 31 … content += 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/toolchain/build/prebuilts_download/ |
| D | util.py | 59 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/runtime_core/tests/cts-generator/runner/reporters/ |
| D | string_logger.rb | 19 @content = StringIO.new 23 if @content.closed_write? 28 @content.puts(args) if level <= $VERBOSITY 32 @content.string 36 @content.close
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/runner/reporters/ |
| D | string_logger.rb | 19 @content = StringIO.new 23 if @content.closed_write? 28 @content.puts(args) if level <= $VERBOSITY 32 @content.string 36 @content.close
|
| /arkcompiler/ets_runtime/tools/ap_file_viewer/src/ap/ |
| D | ApApplicationPublicFunc.js | 22 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/panda_guard/util/ |
| D | file_util.cpp | 32 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()
|
| D | json_util.h | 29 * Obtain the content of a JSON object with a field type of object 36 * Obtain the content of a JSON object with a field type of string 46 * Obtain the content of a JSON object with a field type of double 56 * Obtain the content of a JSON object with a field type of bool 65 * Obtain the content of a JSON object with a field type of string array 72 * Obtain the content of a JSON object with a field type of string map
|
| /arkcompiler/ets_frontend/arkguard/test/ut/arkobfuscator/ |
| D | ArkObfuscator.spec.ts | 43 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/runtime_core/static_core/tests/tests-u-runner/runner/generators/ets_func_tests/ |
| D | ets_func_test_template_generator.py | 95 content = template.render(**params) 96 content = content.strip() 97 content_list = self.__split_tests(content) 121 def __split_tests(self, content : str) -> typing.List[str]: 122 content = content.rstrip(self._TEST_SEPARATOR) 123 content_list = content.split("---")
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/generic/ets_to_ts/ |
| D | generic.sts | 94 public content: T; 96 constructor(content: T) { 97 this.content = content; 101 return this.content;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/16.Support_for_GUI_Programming/trailing_lambdas/ |
| D | trailing_nested_08.sts | 45 static instantiate(factory: () => B, content: () => void): B { 49 content() 58 static instantiate(factory: () => C, content: () => void): C { 62 content()
|
| D | trailing_nested_09.sts | 45 static instantiate(factory: () => B, content: () => void): B { 49 content() 55 static instantiate(factory: () => C, content: () => void): C { 59 content()
|
| /arkcompiler/runtime_core/static_core/tools/ark_js_napi_cli/utils/ |
| D | utils.cpp | 24 void GetAsset(const std::string &uri, std::vector<uint8_t> &content, std::string &ami) in GetAsset() argument 46 content.reserve(size); in GetAsset() 48 …content.insert(content.begin(), std::istream_iterator<uint8_t>(fs), std::istream_iterator<uint8_t>… in GetAsset()
|
| /arkcompiler/ets_frontend/arkguard/src/utils/ |
| D | SourceMapMergingUtil.ts | 50 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/runtime_core/static_core/plugins/ets/tests/interop_js/tests/generic/ts_to_ets/ |
| D | generic.ts | 97 public content: T; property in GClass 99 constructor(content: T) { 100 this.content = content; 104 return this.content;
|