Home
last modified time | relevance | path

Searched refs:output (Results 1 - 25 of 127) sorted by relevance

123456

/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/reporters/
H A Djtr_reporter.rb33 @output = ''
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(/^$/) }
63 @output = lines.join("\n")
64 @logger.log 1, "----------messages:(#{lines.length}/#{@output.length + 1})----------"
65 @logger.log 1, @output
92 @output << "\nRu
[all...]
H A Dallure_reporter.rb31 'message' => message, 'trace' => @output
50 @output = ''
101 @output << "\ncommand = #{cmd}"
104 def log_failed_compilation(output)
105 @output << "\n" << output
109 def log_negative_passed_compilation(output)
110 @output << "\n" << output
114 def log_failed_negative_compilation(output)
[all...]
H A Dtest_reporter.rb36 output = @logger.string
37 unless output.empty?
39 puts output
73 def log_failed_compilation(output)
76 @logger.log 1, output unless output.empty?
79 def log_failed_quickening(output)
82 @logger.log 1, output unless output.empty?
85 def log_negative_passed_compilation(output)
[all...]
H A Dbase_test_reporter.rb53 def log_failed_compilation(output)
57 def log_negative_passed_compilation(output)
61 def log_failed_negative_compilation(output)
65 def log_compilation_passed(output)
69 def log_run_negative_failure(output, status)
73 def log_verifier_negative_failure(output, status)
77 def log_run_failure(output, status, core)
81 def log_verifier_failure(output, status, core)
85 def log_passed(output, status)
/arkcompiler/runtime_core/tests/cts-generator/runner/reporters/
H A Djtr_reporter.rb33 @output = ''
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(/^$/) }
63 @output = lines.join("\n")
64 @logger.log 1, "----------messages:(#{lines.length}/#{@output.length + 1})----------"
65 @logger.log 1, @output
92 @output << "\nRu
[all...]
H A Dallure_reporter.rb31 'message' => message, 'trace' => @output
50 @output = ''
101 @output << "\ncommand = #{cmd}"
104 def log_failed_compilation(output)
105 @output << "\n" << output
109 def log_negative_passed_compilation(output)
110 @output << "\n" << output
114 def log_failed_negative_compilation(output)
[all...]
H A Dtest_reporter.rb36 output = @logger.string
37 unless output.empty?
39 puts output
73 def log_failed_compilation(output)
76 @logger.log 1, output unless output.empty?
79 def log_failed_quickening(output)
82 @logger.log 1, output unless output.empty?
85 def log_negative_passed_compilation(output)
[all...]
H A Dbase_test_reporter.rb53 def log_failed_compilation(output)
57 def log_negative_passed_compilation(output)
61 def log_failed_negative_compilation(output)
65 def log_compilation_passed(output)
69 def log_run_negative_failure(output, status)
73 def log_verifier_negative_failure(output, status)
77 def log_run_failure(output, status, core)
81 def log_verifier_failure(output, status, core)
85 def log_passed(output, status)
/arkcompiler/ets_runtime/ecmascript/base/
H A Djson_helper.cpp59 void JsonHelper::AppendValueToQuotedString(const CString& str, CString& output) in AppendValueToQuotedString() argument
61 output += "\""; in AppendValueToQuotedString()
64 output += str; in AppendValueToQuotedString()
65 output += "\""; in AppendValueToQuotedString()
72 output += "\\\""; in AppendValueToQuotedString()
75 output += "\\\\"; in AppendValueToQuotedString()
78 output += "\\b"; in AppendValueToQuotedString()
81 output += "\\f"; in AppendValueToQuotedString()
84 output += "\\n"; in AppendValueToQuotedString()
87 output in AppendValueToQuotedString()
104 AppendUnicodeEscape(static_cast<int>(unicodeRes.first), output); AppendValueToQuotedString() local
111 AppendUnicodeEscape(static_cast<int>(ch), output); AppendValueToQuotedString() local
[all...]
H A Djson_helper.h65 static inline void AppendUnicodeEscape(int ch, CString& output) in AppendUnicodeEscape() argument
68 output += "\\u"; in AppendUnicodeEscape()
69 output += HEX_DIGIT[(ch >> HEX_SHIFT_THREE) & HEX_DIGIT_MASK]; in AppendUnicodeEscape()
70 output += HEX_DIGIT[(ch >> HEX_SHIFT_TWO) & HEX_DIGIT_MASK]; in AppendUnicodeEscape()
71 output += HEX_DIGIT[(ch >> HEX_SHIFT_ONE) & HEX_DIGIT_MASK]; in AppendUnicodeEscape()
72 output += HEX_DIGIT[ch & HEX_DIGIT_MASK]; in AppendUnicodeEscape()
76 static void AppendValueToQuotedString(const CString& str, CString& output);
/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/
H A Dresult.rb29 def update_failed_compilation(output, file)
34 @reporter.log_failed_compilation output
37 def update_failed_quickening(output, file)
42 @reporter.log_failed_quickening output
45 def update_negative_passed_compilation(output, file)
50 @reporter.log_negative_passed_compilation output
53 def update_failed_negative_compilation(output, file)
58 @reporter.log_failed_negative_compilation output
61 def update_compilation_passed(output, file)
66 @reporter.log_compilation_passed output
[all...]
H A Dsingle_test_runner.rb135 output, status, _core = run_pandasm
139 @result.update_negative_passed_compilation output, @pa_file
142 @result.update_compilation_passed output, @pa_file
146 @result.update_failed_negative_compilation output, @pa_file
148 @result.update_failed_compilation output, @pa_file
152 @result.update_failed_compilation output, @pa_file
162 output, status, core = run_verifier
166 @result.update_verifier_negative_failure output, status, @pa_file
169 @result.update_passed output, status, @pa_file
173 @result.update_passed output, statu
[all...]
H A Drunner.rb82 def dump_output(t, output_err, output)
88 output << output_err.read_nonblock(2048)
93 output << "\nUnexpected exception when reading from pipe: #{e.class.name}, #{e.message}"
107 output = ''
108 finished = dump_output t, output_err, output
114 output << "\nProcess hangs for #{$TIMEOUT}s '#{@command}'" \
122 return output.strip, ERROR_TIMEOUT, false
128 output << t.value.inspect
131 output << t.value.inspect
135 [output
[all...]
/arkcompiler/runtime_core/tests/cts-generator/runner/
H A Dresult.rb29 def update_failed_compilation(output, file)
34 @reporter.log_failed_compilation output
37 def update_failed_quickening(output, file)
42 @reporter.log_failed_quickening output
45 def update_negative_passed_compilation(output, file)
50 @reporter.log_negative_passed_compilation output
53 def update_failed_negative_compilation(output, file)
58 @reporter.log_failed_negative_compilation output
61 def update_compilation_passed(output, file)
66 @reporter.log_compilation_passed output
[all...]
H A Dsingle_test_runner.rb142 output, status, _core = run_pandasm
146 @result.update_negative_passed_compilation output, @pa_file
149 @result.update_compilation_passed output, @pa_file
153 @result.update_failed_negative_compilation output, @pa_file
155 @result.update_failed_compilation output, @pa_file
159 @result.update_failed_compilation output, @pa_file
169 output, status, core = run_verifier
173 @result.update_verifier_negative_failure output, status, @pa_file
176 @result.update_passed output, status, @pa_file
180 @result.update_passed output, statu
[all...]
H A Drunner.rb82 def dump_output(t, output_err, output)
88 output << output_err.read_nonblock(2048)
93 output << "\nUnexpected exception when reading from pipe: #{e.class.name}, #{e.message}"
107 output = ''
108 finished = dump_output t, output_err, output
114 output << "\nProcess hangs for #{$TIMEOUT}s '#{@command}'" \
122 return output.strip, ERROR_TIMEOUT, false
128 output << t.value.inspect
131 output << t.value.inspect
135 [output
[all...]
/arkcompiler/runtime_core/static_core/cross_values/
H A Dcross_values_generator.rb33 output = ""
34 output += HEADER
37 output += "static constexpr ptrdiff_t #{define[0]}_VAL = #{define[1]};\n"
39 output += "} // namespace ark::cross_values::#{ARGV[2]}\n\n"
40 output += "#endif // CROSS_VALUES_GENERATED_VALUES_#{ARGV[2]}_VALUES_GEN_H\n"
43 file.write output
47 abort "Failed: input file, output file and arch-name required!" if ARGV.size < 3
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/evaluation/
H A Dbase64.h45 static bool Decode(uint8_t *output, Span<const uint8_t> input) in Decode() argument
47 ASSERT(output); in Decode()
64 DecodeSextetsGroup(decodingBuffer, Span(output, DECODED_GROUP_BYTES)); in Decode()
66 output += DECODED_GROUP_BYTES; in Decode()
77 *output++ = decodedRemainder[idx]; in Decode()
102 /// @brief Converts 4 sextets into 3 output bytes.
103 static void DecodeSextetsGroup(const std::array<uint8_t, ENCODED_GROUP_BYTES> &decodingBuffer, Span<uint8_t> output) in DecodeSextetsGroup() argument
113 ASSERT(output.size() == DECODED_GROUP_BYTES); in DecodeSextetsGroup()
115 output[0UL] = in DecodeSextetsGroup()
117 output[ in DecodeSextetsGroup()
[all...]
/arkcompiler/runtime_core/static_core/tests/cts-generator/generator/
H A Dparser.rb18 def initialize(data, output, src_dir, skip_header)
20 @output = output
83 FileUtils.rm_rf @output if File.exist? @output
84 FileUtils.mkdir_p @output unless File.exist? @output
97 test = Test.new raw_test, @predefined, options[:command_has_only_key], @output, @skip_header
103 test = Test.new raw_test, @predefined, options[:command_has_only_key], @output, @skip_header
/arkcompiler/runtime_core/tests/cts-generator/generator/
H A Dparser.rb18 def initialize(data, output, src_dir, skip_header)
20 @output = output
83 FileUtils.rm_rf @output if File.exist? @output
84 FileUtils.mkdir_p @output unless File.exist? @output
97 test = Test.new raw_test, @predefined, options[:command_has_only_key], @output, @skip_header
103 test = Test.new raw_test, @predefined, options[:command_has_only_key], @output, @skip_header
/arkcompiler/runtime_core/gn/build/
H A Dcmake_configure_file.py26 parser.add_argument("output", help="name of the configured file")
74 output = ''.join(out_lines)
80 if not os.path.exists(args.output) or read(args.output) != output:
81 with open(args.output, 'w') as file:
82 file.write(output)
83 os.chmod(args.output, os.stat(args.input).st_mode & 0o777)
/arkcompiler/runtime_core/static_core/gn/build/
H A Dcmake_configure_file.py27 parser.add_argument("output", help="name of the configured file")
75 output = ''.join(out_lines)
81 if not os.path.exists(args.output) or read(args.output) != output:
84 with os.fdopen(os.open(args.output, flags, mode), 'w') as file:
85 file.write(output)
86 os.chmod(args.output, os.stat(args.input).st_mode & 0o777)
/arkcompiler/runtime_core/static_core/plugins/ets/arkts_header/
H A Darkts_header.cpp36 ark::PandArg<std::string> &output, const ark::PandArg<bool> &help) in ProcessArgs()
43 if (output.GetValue().empty()) { in ProcessArgs()
45 output.SetValue(outputFilename); in ProcessArgs()
58 ark::PandArg<std::string> output("OUTPUT", "", "Output header file"); in main()
64 paParser.PushBackTail(&output); in main()
72 if (!ProcessArgs(paParser, input, output, help)) { in main()
82 ark::ets::header_writer::HeaderWriter writer(std::move(inputFile), output.GetValue()); in main()
35 ProcessArgs(ark::PandArgParser &paParser, const ark::PandArg<std::string> &input, ark::PandArg<std::string> &output, const ark::PandArg<bool> &help) ProcessArgs() argument
/arkcompiler/runtime_core/static_core/quickener/
H A Dquick.cpp43 const ark::PandArg<std::string> &output, const ark::PandArg<bool> &help) in ProcessArgs()
45 if (input.GetValue().empty() || output.GetValue().empty() || help.GetValue()) { in ProcessArgs()
61 ark::PandArg<std::string> output("OUTPUT", "", "Path to the output binary file"); in main()
67 pa_parser.PushBackTail(&output); in main()
74 if (!ProcessArgs(pa_parser, input, output, help)) { in main()
95 auto writer = ark::panda_file::FileWriter(output.GetValue()); in main()
97 PLOG(ERROR, QUICKENER) << "Cannot create file writer with path '" << output.GetValue() << "'"; in main()
102 PLOG(ERROR, QUICKENER) << "Cannot write panda file '" << output.GetValue() << "'"; in main()
42 ProcessArgs(ark::PandArgParser &pa_parser, const ark::PandArg<std::string> &input, const ark::PandArg<std::string> &output, const ark::PandArg<bool> &help) ProcessArgs() argument
/arkcompiler/ets_frontend/merge_abc/src/
H A DprotobufSnapshotGenerator.cpp28 std::fstream output = panda::es2panda::util::Helpers::FileStream<std::fstream>( in GenerateSnapshot() local
31 if (!output) { in GenerateSnapshot()
35 protoProgram.SerializeToOstream(&output); in GenerateSnapshot()
36 output.close(); in GenerateSnapshot()
90 std::fstream output = panda::es2panda::util::Helpers::FileStream<std::fstream>( in UpdateCacheFile() local
93 if (!output) { in UpdateCacheFile()
97 protoCache.SerializeToOstream(&output); in UpdateCacheFile()
98 output.close(); in UpdateCacheFile()

Completed in 28 milliseconds

123456