Home
last modified time | relevance | path

Searched +full:- +full:- +full:output (Results 1 – 25 of 873) sorted by relevance

12345678910>>...35

/arkcompiler/runtime_core/tests/cts-generator/runner/reporters/
Djtr_reporter.rb1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
33 @output = ''
44 @logger.log 1, '#-----testdescription-----'
48 @logger.log 1, '#-----testresult-----'
57 # add output section in case of failure
58 if !(@status =~ /Passed\.|Not run\./) and !@output.empty?
59 @logger.log 1, 'sections=output'
61 @logger.log 1, '#section:output'
62 lines = @output.split("\n").map(&:strip).reject { |l| l.match(/^$/) }
[all …]
Dallure_reporter.rb1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
31 'message' => message, 'trace' => @output
44 pa_file.gsub('/', '_').gsub(/.pa$/, '-result.json')
50 @output = ''
101 @output << "\ncommand = #{cmd}"
104 def log_failed_compilation(output) argument
105 @output << "\n" << output
109 def log_negative_passed_compilation(output) argument
110 @output << "\n" << output
[all …]
Dtest_reporter.rb1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
30 @logger.log 2, '----------------------------------------'
36 output = @logger.string
37 unless output.empty?
39 puts output
73 def log_failed_compilation(output) argument
76 @logger.log 1, output unless output.empty?
79 def log_failed_quickening(output) argument
82 @logger.log 1, output unless output.empty?
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/reporters/
Djtr_reporter.rb1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
33 @output = ''
44 @logger.log 1, '#-----testdescription-----'
48 @logger.log 1, '#-----testresult-----'
57 # add output section in case of failure
58 if !(@status =~ /Passed\.|Not run\./) and !@output.empty?
59 @logger.log 1, 'sections=output'
61 @logger.log 1, '#section:output'
62 lines = @output.split("\n").map(&:strip).reject { |l| l.match(/^$/) }
[all …]
Dtest_reporter.rb1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
30 @logger.log 2, '----------------------------------------'
36 output = @logger.string
37 unless output.empty?
39 puts output
73 def log_failed_compilation(output) argument
76 @logger.log 1, output unless output.empty?
79 def log_failed_quickening(output) argument
82 @logger.log 1, output unless output.empty?
[all …]
Dallure_reporter.rb1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
31 'message' => message, 'trace' => @output
44 pa_file.gsub('/', '_').gsub(/.pa$/, '-result.json')
50 @output = ''
101 @output << "\ncommand = #{cmd}"
104 def log_failed_compilation(output) argument
105 @output << "\n" << output
109 def log_negative_passed_compilation(output) argument
110 @output << "\n" << output
[all …]
/arkcompiler/runtime_core/static_core/irtoc/lang/
Dir_generator.rb3 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
8 # http://www.apache.org/licenses/LICENSE-2.0
16 require_relative 'output'
28 Output.scoped_puts "inline bool #{func.name}(Inst* source_inst) {" do
29 Output << "Graph* graph = source_inst->GetBasicBlock()->GetGraph();"
30 Output << "[[maybe_unused]] auto pc = source_inst->GetPc();"
31 Output << "[[maybe_unused]] auto save_state = source_inst->GetSaveState();"
32 Output << "[[maybe_unused]] auto current_inst = source_inst;" if @func.simple_control_flow?
34 Output << "Inst* p_#{index} = source_inst->GetInput(#{index}).GetInst();"
36 Output << "[[maybe_unused]] auto *runtime = graph->GetRuntime();"
[all …]
Dfunction.rb3 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
8 # http://www.apache.org/licenses/LICENSE-2.0
18 require_relative 'output'
153 … raise "Wrong place of `WhilePhi` instruction" unless @cf_stack[-1].kind == CfBlock::Kind::While
154 raise "Invalid `While` block" if @cf_stack[-1].head_bb.nil?
155 block = @cf_stack[-1].head_bb
207 @inst_index - 1
222 Output.printlni("COMPILE(#{@name}#{suffix}) {")
224Output.println("if(GetGraph()->GetArch() != #{Options.cpp_arch}) LOG(FATAL, IRTOC) << \"Arch doesn…
226 Output.println("GetGraph()->SetIrtocPrologEpilogOptimized();")
[all …]
Dirtoc.rb3 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
8 # http://www.apache.org/licenses/LICENSE-2.0
23 require_relative 'output'
41 #include "runtime/mem/gc/g1/g1-allocator.h"
48 // NOLINTBEGIN(readability-identifier-naming)
53 // NOLINTEND(readability-identifier-naming)
101 raise "Macro can't start with capital letter" if name.to_s.start_with? /[A-Z]/
107 raise "Macro can't start with capital letter" if name.to_s.start_with? /[A-Z]/
112 …if args.size != block.arity && block.arity >= 0 || args.size < -(block.arity + 1) && block.arity <…
144 output = ""
[all …]
Dinstruction.rb3 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
8 # http://www.apache.org/licenses/LICENSE-2.0
18 require_relative 'output'
32 !@dscr.signature.empty? && @dscr.signature[0].split('-').include?('d')
93 @dscr.signature&.any? { |operand| operand.end_with?('-dyn') }
146 Output << "// #{self.to_s}"
147 Output << "// #{self.annotation}"
151 Output.println "PARAMETER(#{@index}, #{@fields[:ArgIndex]}).#{@type}();"
180 Output.println ss
209 :ref_uint => :'GetIntTypeForReference(GetGraph()->GetArch())'
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/callgraph/common/
DStatistics.ts2 * Copyright (c) 2024-2025 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
82 this.TotalTime = (this.endTime - this.startTime) / 1000;
83 this.rssUsed = Number(this.endMemUsage.rss - this.startMemUsage.rss) / Number(1024 * 1024);
84 …this.heapUsed = Number(this.endMemUsage.heapTotal - this.startMemUsage.heapTotal) / Number(1024 * …
149 let output: string; variable
150 output = '==== Pointer analysis Statictics: ====\n';
151 output = output + `Processed address\t${this.numProcessedAddr}\n`;
152 output = output + `Processed copy\t\t${this.numProcessedCopy}\n`;
153 output = output + `Processed load\t\t${this.numProcessedLoad}\n`;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/models/
Dcode.test.ts2 * Copyright (c) 2024-2025 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
23 compile: { output: 'compile output', error: 'compile error', exit_code: 1 },
24 …disassembly: { output: 'disasm output', code: 'disasm code', error: 'disasm error', exit_code: 2 },
25 verifier: { output: 'verifier output', error: 'verifier error', exit_code: 2 },
31 compile: { output: 'compile output', error: 'compile error', exit_code: 1 },
32 …disassembly: { output: 'disasm output', code: 'disasm code', error: 'disasm error', exit_code: 2 },
33 verifier: { output: 'verifier output', error: 'verifier error', exit_code: 2 },
42 compile: { output: '', error: '', exit_code: undefined },
43 disassembly: { output: '', code: '', error: '', exit_code: undefined },
[all …]
Dcode.ts2 * Copyright (c) 2024-2025 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
34 output: string,
39 output: string,
45 output: string,
52 output: string,
57 output: string,
63 output: string,
68 output: string,
86 compile: codeModel.fillDefaults(data.compile || {}, { output: '', error: '' }),
[all …]
/arkcompiler/ets_frontend/legacy_bin/
DBUILD.gn1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 # for js-loader
19 output = "js_linux/${source}"
26 output = "js_win/${source}"
33 output = "js_mac/${source}"
40 output = "js_linux/${source}"
47 output = "js_win/${source}"
54 output = "js_mac/${source}"
61 output = "js_linux/${source}"
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/playground/backend/tests/fixtures/
Doverrides.py2 # -*- coding: utf-8 -*-
4 # Copyright (c) 2024-2025 Huawei Device Co., Ltd.
9 # http://www.apache.org/licenses/LICENSE-2.0
19 def parse_compile_options(options: dict) -> list:
29 "output": f"testing output: {code}, {options}",
34 "output": f"testing output: {code}",
43 "output": f"testing output: {code}",
50 "output": f"Verifier testing output: {code}",
60 "output": f"testing output: {code}, {options}",
69 "output": f"testing output: {code}",
[all …]
/arkcompiler/ets_runtime/test/moduletest/container/
Dcontainer_buffer.js7 * http://www.apache.org/licenses/LICENSE-2.0
18 let encodeArr = ['utf8', 'utf-8', 'ucs2', 'ucs-2', 'ascii', 'latin1', 'binary',
19 'utf16le', 'utf-16le', 'base64', 'base64url', 'hex'];
21 const UINT32_MAX = 2 ** 32 - 1; // 表示2^32-1,是uint32能表达的最大值
25 if (enc === 'ucs2' || enc === 'ucs-2' || enc === 'utf-16le') {
28 if (enc === 'utf-8') {
41 …map.set("buffer.fill() failed, expect: 46311846474631184647, output: " + str, str === "46311846474…
46 …map.set("buffer.fill() failed, expect: 17514617514617514617, output: " + str, str === "17514617514…
51 …map.set("buffer.fill() failed, expect: 46311846474631184647, output: " + str, str === "46311846474…
56 …map.set("buffer.fill() failed, expect: 46311846474631184647, output: " + str, str === "46311846474…
[all …]
/arkcompiler/runtime_core/libabckit/tests/ut/isa/isa_dynamic/async/
Dasync_dynamic.cpp7 * http://www.apache.org/licenses/LICENSE-2.0
26 // NOLINTBEGIN(readability-magic-numbers)
37 // Test: test-kind=api, api=IsaApiDynamicImpl::iCreateAsyncfunctionenter, abc-kind=JS, category=pos…
40 …auto output = helpers::ExecuteDynamicAbc(ABCKIT_ABC_DIR "ut/isa/isa_dynamic/async/enter_resolve_re… in TEST_F() local
42 EXPECT_TRUE(helpers::Match(output, "42\n")); in TEST_F()
49 helpers::ReplaceInst(asyncEnterInst, g_dynG->iCreateAsyncfunctionenter(graph)); in TEST_F()
53 output = in TEST_F()
56 EXPECT_TRUE(helpers::Match(output, "42\n")); in TEST_F()
59 // Test: test-kind=api, api=IsaApiDynamicImpl::iCreateAsyncfunctionresolve, abc-kind=JS, category=p…
62 …auto output = helpers::ExecuteDynamicAbc(ABCKIT_ABC_DIR "ut/isa/isa_dynamic/async/enter_resolve_re… in TEST_F() local
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/cfg/workflows/arkjs/
Dwf_hzjsvm_device_aot.yaml1 # Copyright (c) 2024-2025 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
14 runner-api-level: 0.0.0.1
16 test-suites:
17 - customScheme
22 dev-tmp: ${DEV_TMP}
23 hdc-path: ${HDC_PATH}
24 hdc-options: ${HDC_OPTIONS}
25 host-original: "${general.work-dir}/gen/${test-id}"
26 host-output: "${general.work-dir}/intermediate/${test-id}.abc"
[all …]
/arkcompiler/runtime_core/tests/cts-generator/runner/
Dresult.rb1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
17 # Class-level mutex and test execution statistics
29 def update_failed_compilation(output, file) argument
34 @reporter.log_failed_compilation output
37 def update_failed_quickening(output, file) argument
42 @reporter.log_failed_quickening output
45 def update_negative_passed_compilation(output, file) argument
50 @reporter.log_negative_passed_compilation output
53 def update_failed_negative_compilation(output, file) argument
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/
Dresult.rb1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
17 # Class-level mutex and test execution statistics
29 def update_failed_compilation(output, file) argument
34 @reporter.log_failed_compilation output
37 def update_failed_quickening(output, file) argument
42 @reporter.log_failed_quickening output
45 def update_negative_passed_compilation(output, file) argument
50 @reporter.log_negative_passed_compilation output
53 def update_failed_negative_compilation(output, file) argument
[all …]
Dsingle_test_runner.rb1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
29 .grep(/^\s*##\s*runner-option\s*:\s*[\S*\s*]*\s*$/)
46 @verifier_options = $verbose_verifier ? '--log-components=verifier --log-level=debug ' : ''
48 …@verifier_config_args = if (@runner_options.key?('verifier-config') || verifier_forced?) && !$veri…
49 "--config-file=#{$verifier_config} "
54 if @runner_options.include? 'main-exitcode-wrapper'
57 # this value is used to determine false-positive cases
70 if match = line.match(/^## panda-options: (.+)\s*$/)
104 (@runner_options.include? 'compile-failure' or
[all …]
/arkcompiler/ets_runtime/ecmascript/base/
Djson_helper.cpp2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
33 "(\0 )\0 *\0 +\0 ,\0 -\0 .\0 /\0 "
108 …r::AppendQuotedValueToC16String(const Span<const uint16_t> &sp, uint32_t &index, C16String &output) in AppendQuotedValueToC16String() argument
112 // utf-16 to quoted string in AppendQuotedValueToC16String()
115 AppendChar(output, ch); in AppendQuotedValueToC16String()
116 AppendChar(output, sp[index + 1]); in AppendQuotedValueToC16String()
119 AppendUnicodeEscape(static_cast<uint32_t>(ch), output); in AppendQuotedValueToC16String()
122 AppendUnicodeEscape(static_cast<uint32_t>(ch), output); in AppendQuotedValueToC16String()
126 AppendString(output, &JSON_ESCAPE_TABLE[ch * K_JSON_ESCAPE_TABLE_ENTRY_SIZE]); in AppendQuotedValueToC16String()
[all …]
/arkcompiler/runtime_core/gn/build/toolchain/
DBUILD.gn1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
53 depfile = "{{output}}.d"
54 …command = "$cc -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} ${extra_cppf…
56 description = "CC {{output}}"
62 depfile = "{{output}}.d"
63 …command = "$cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}} ${extra_cp…
65 description = "CXX {{output}}"
71 depfile = "{{output}}.d"
72 …command = "$asm -MMD -MF $depfile {{defines}} {{include_dirs}} {{asmflags}} ${extra_asmflags} -c {…
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/store/selectors/
Dlogs.test.ts2 * Copyright (c) 2024-2025 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
35 compileOut: [{ message: 'compile output log', isRead: true }],
37 runOut: [{ message: 'run output log', isRead: true }],
39 disasmOut: [{ message: 'disassembly output log', isRead: true }],
41 verifierOut: [{ message: 'verifier output log', isRead: true }],
43 out: [{ message: 'general output log', isRead: true }],
49 it('should select compile output logs', () => {
51 .toEqual([{ message: 'compile output log', isRead: true }]);
59 it('should select run output logs', () => {
[all …]
/arkcompiler/runtime_core/static_core/gn/build/toolchain/
DBUILD.gn1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
59 depfile = "{{output}}.d"
60 …command = "$cc -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} ${extra_cppf…
63 description = "CC {{output}}"
68 depfile = "{{output}}.d"
69 …command = "$cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}} ${extra_cp…
72 description = "CXX {{output}}"
77 depfile = "{{output}}.d"
78 …command = "$asm -MMD -MF $depfile {{defines}} {{include_dirs}} {{asmflags}} ${extra_asmflags} -c {…
[all …]

12345678910>>...35