Home
last modified time | relevance | path

Searched full:raise (Results 1 – 25 of 43) sorted by relevance

12

/arkcompiler/runtime_core/tests/cts-generator/runner/reporters/
Dbase_test_reporter.rb18 raise NotImplementedError, "#{self.class} does not implement prologue()."
22 raise NotImplementedError, "#{self.class} does not implement epilogue()."
26 raise NotImplementedError, "#{self.class} does not implement log_exclusion()."
30 raise NotImplementedError, "#{self.class} does not implement log_skip_include()."
34 raise NotImplementedError, "#{self.class} does not implement log_skip_bugid()."
38 raise NotImplementedError, "#{self.class} does not implement log_skip_ignore()."
42 raise NotImplementedError, "#{self.class} does not implement log_skip_only_ignore()."
46 raise NotImplementedError, "#{self.class} does not implement log_ignore_ignored()."
50 raise NotImplementedError, "#{self.class} does not implement log_start_command()."
54 raise NotImplementedError, "#{self.class} does not implement log_failed_compilation()."
[all …]
Dstring_logger.rb24 raise IOError,
/arkcompiler/runtime_core/templates/
Dcommon.rb31 raise "Compound option should not have `type` field, it is always bool" if respond_to?(:type)
32raise "Compound option should not have `default` field, it is always `false``" if respond_to?(:def…
40 raise "Wrong reference syntax: #{possible_values}" if possible_values[0] != '$'
43 raise "Invalid reference #{possible_values}" if target.nil?
171 raise "Only boolean option can have sub options: #{option.name}" unless option.type == 'bool'
Dmessages.rb41 raise "Message template '#{msg}' has a '${' not followed by a '}'"
61 raise "Message name '#{string}' is not in UpperCamelCase"
Dmerge.rb35 raise "Update your ruby version, #{RUBY_VERSION} is not supported" unless check_version
67raise "Option '#{name}' conflicts for key '#{key}'" unless options_hash[name][key] == option[key]
/arkcompiler/runtime_core/isa/
Disapi.rb43 raise "Unexpected accumulator signature: #{sig}"
61 raise "Unexpected operand signature: #{sig}"
84 raise "Method '#{name}' has been already defined" if frozen?(name)
304 raise "Incorrect format name #{name}" if bits % 8 != 0
315 encoding.default_proc = proc { |_, k| raise KeyError, "#{k} not found" }
339 raise "Incorrect operand #{name}"
344 raise "Incorrect type #{type}" unless types.include?(type.sub('[]', '').to_sym)
453 raise 'Cannot consume instruction without opcode' unless item.opcode_idx
517 hash.default_proc = proc { |_, k| raise KeyError, "#{k} not found" }
577 hash.default_proc = proc { |_, k| raise KeyError, "#{k} not found" }
[all …]
Dcombine.rb47raise 'Plugged in instructions must be prefixed' unless instructions.reject { |i| i['prefix'] }.em…
50 raise "Uknown data property: #{attr}" unless data.key?(attr)
/arkcompiler/runtime_core/tests/cts-coverage-tool/bin/
Dspectrac.rb25raise OptionParser::InvalidOption, "File #{file} not found" unless File.exist? File.expand_path(fi…
29 raise OptionParser::InvalidOption, 'No ISA spec files found' if arr.length.zero?
37raise OptionParser::InvalidOption, "Directory #{dir} not found." unless File.directory? File.expan…
65 raise OptionParser::MissingArgument, missing.join(', ') unless missing.empty?
/arkcompiler/ets_runtime/script/
Drun_ark_executable.py130 raise RuntimeError('Run [', cmd, '] timeout, timeout_limit = ', timeout_limit, 's')
141 raise RuntimeError("Run [" + cmd + "] failed!")
149 raise RuntimeError("Run [" + cmd + "] failed!")
161 raise RuntimeError("Run [" + cmd + "] failed!")
163 raise RuntimeError("Run [" + cmd + "] with no expect !")
/arkcompiler/toolchain/build/prebuilts_download/
Dutil.py34 raise
37 raise
54 raise
/arkcompiler/runtime_core/bytecode_optimizer/
Dbytecode_optimizer_isapi.rb19 raise "There is no src acc for #{mnemonic}" unless op
25 raise "There is no dst acc for #{mnemonic}" unless op
42 raise "Unexpected operand type #{op.type} in data_kind_helper"
48 @instruction_hash = Hash.new { |_, key| raise "No instruction with '#{key}' mnemonic" }
/arkcompiler/runtime_core/tests/cts-generator/
Dgenerate-cts.rb37 raise "Chunk arguments are not valid: #{chunk} of #{chunks}"
104 raise 'Schema validation error, please update template to match schema to generate tests'
/arkcompiler/runtime_core/tests/cts-generator/generator/
Dparser.rb35raise "'#{Generator::DEFINITIONS}' is not found in main yaml" unless @data.key? Generator::DEFINIT…
51raise "Schema validation error, please update template '#{file_name}' to match schema to generate …
Ddefinitions.rb32 raise "Definition of '#{item_name}' is not found"
/arkcompiler/runtime_core/scripts/
Dmemusage.py151 raise Exception('Invalid file format')
155 raise Exception('Invalid file format')
159 raise Exception('Invalid file format')
Dgc_pause_stats.py76 raise ValueError("Could not detect time format")
95 raise ValueError("Unsupported gc cause")
/arkcompiler/runtime_core/tests/checked/
Dchecker.rb62 raise msg
308 raise SkipException if condition
381 raise "Method not found: #{match_str(match)}" if start_index.nil?
408 raise "Can not find asm instruction: #{match}" if start_index.nil?
506 raise "Checker with name '#{name}'' already exists" if checks.any? { |x| x.name == name }
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dinst_builder_gen.cpp.erb43 raise "Invalid operand" unless op.reg?
85 # raise "Unknown type #{type}" if @type_map[type].nil?
133 raise "Template not found or multiple match: #{mn}" unless res.size == 1
139 raise "Template '#{name}' not found in templates file" unless @inst_yaml['templates'].key? name
152 raise 'get_cc: wrong opcode #{inst.opcode}'
Dinstructions.rb129 raise "No cpp token for type #{t}" unless CPP_IR_TYPES.include?(t.to_s)
146 raise "Destination can be only first operand" if inputs.any? { |x| x.is_dst? }
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DwebworkerIterable.ts27 // This should not raise a compiler error
/arkcompiler/ets_frontend/ts2panda/scripts/
Drun_tests.py118 raise RuntimeError("Run [{}] failed !".format(" ".join(cmd)))
147 raise RuntimeError("Run [{}] failed !".format(" ".join(cmd)))
/arkcompiler/runtime_core/tests/cts-coverage-tool/
Dspectrac.gemspec35 # raise 'RubyGems 2.0 or newer is required to protect against ' \
/arkcompiler/ets_frontend/es2panda/test/
Dtest262util.py60 raise Exception('Downloading test262 repository failed.')
70 raise Exception(
/arkcompiler/runtime_core/tests/gtest_launcher/
Dmain.cpp46 raise(SIGSTOP); // wait for child's gdb invocation to pick us up in HandleTimeout()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_templates.yaml18 % raise "Wrong binop instruction" unless opc
106 % raise "Unsupported instruction type" unless inst.acc_and_operands[1].reg?
149 % raise "Unsupported instruction type" unless inst.acc_and_operands[1].reg?

12