Searched full:raise (Results 1 – 25 of 170) sorted by relevance
1234567
| /arkcompiler/runtime_core/tests/cts-generator/runner/reporters/ |
| D | base_test_reporter.rb | 18 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 …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/runner/reporters/ |
| D | base_test_reporter.rb | 18 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 …]
|
| /arkcompiler/runtime_core/static_core/irtoc/lang/ |
| D | regmask.rb | 46 raise "RegMask is initialized with symbol, but Regmap wasn't specified" unless @regmap 47 raise "Regmap doesn't contain value for #{value}" unless @regmap.data.keys.include? value 50 raise "RegMask is initialized with wrong type: #{value.class}" unless value.is_a?(Integer) 68 raise "RegMask is initialized with wrong type: #{value.class}" unless value.is_a?(Integer) 74 raise "Wrong `position` type" unless position.is_a? Integer 84 raise "Wrong `position` type" unless position.is_a? Integer 97 raise "Symbol argument is only allowed if Regmap was specified" unless @regmap 99 raise "Register '#{other}' is not found in regmap" unless value 102 raise "Unsupported type: #{other.class}" 115 raise "Symbol argument is only allowed if Regmap was specified" unless @regmap [all …]
|
| D | regmap.rb | 24 raise "Regmap doesn't contain data for required arch" unless @data 43 raise "Unsupported type: #{other.class}" 53 raise "Unsupported type: #{other.class}"
|
| D | options.rb | 69 raise "Irtoc plugin doesn't specifiy its name: #{full_plugin_path}" unless line_matches 91 raise "Wrong arch: #{arch_str}" unless possible_arch.include?(self.arch.to_s) 95 raise "Compiler config doesn't contain `arch_info`" unless arch_info 97 raise "Arch info not found for #{self.arch}" unless arch_info 100 …raise 'Supported IR APIs: ir-constructor, ir-builder, ir-inline' unless self.ir_api =~ /^ir-(const…
|
| D | validation.rb | 32 …raise "[Validation] `spills_count_max` failed for method `#{self.name}`: expected(#{value}) > real… 39 …raise "[Validation] `code_size_max` failed for method `#{self.name}`: expected(#{value}) > real(#{… 79 raise "Method not found: #{method_name}" unless method
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/hooks/ |
| D | gclog.py | 56 raise RuntimeError(f'GC: no device path for "{bu.name}"') 58 raise RuntimeError('Remote shell has not been set!') 61 raise RuntimeError(f'GC: log missed "{gclog}"') 63 raise RuntimeError(f'GC: stdout is empty for "{bu.name}"') 65 raise RuntimeError('GC: gc_parcer not set for platform') 71 raise RuntimeError(f'GC: parser failure for "{bu.name}"')
|
| /arkcompiler/runtime_core/static_core/isa/ |
| D | isapi.rb | 43 raise "Unexpected accumulator signature: #{sig}" 61 raise "Unexpected operand signature: #{sig}" 84 raise "Method '#{name}' has been already defined" if frozen?(name) 283 raise "Incorrect format name #{name}" if bits % 8 != 0 294 encoding.default_proc = proc { |_, k| raise KeyError, "#{k} not found" } 308 raise "Format #{name} has no profile" unless profiled? 311 raise "Profile info not found in format #{name}" if prof.size != 1 332 raise "Incorrect operand #{name}" 337 raise "Incorrect type #{type}" unless types.include?(type.sub('[]', '').to_sym) 438 raise 'Cannot consume instruction without opcode' unless item.opcode_idx [all …]
|
| /arkcompiler/ets_runtime/test/jsperftest/ |
| D | prerun_proc.py | 71 raise RuntimeError("More then on script to preprocess") 78 raise RuntimeError(f"{arg} is wrong argument, please look at help") 81 raise RuntimeError("There is no script to preprocess") 84 raise RuntimeError("No vars to replace")
|
| /arkcompiler/runtime_core/static_core/scripts/intrusive-testing/ |
| D | intrusive_instrumentator.py | 72 # raise: FatalError 79 raise FatalError(err_msg) 82 # raise: FatalError 89 raise FatalError(err_msg) 92 # raise: FatalError 99 raise FatalError(err_msg) 120 # raise: OSError 130 # raise: OSError 149 # raise: OSError 156 # raise: OSError [all …]
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/utils/ |
| D | test_parameters.py | 42 …raise InvalidFileFormatException(message="Lists of parameters must start with 'list.'", filepath=f… 46 … raise InvalidFileFormatException(message="Parameters list must be YAML array", filepath=filepath) 59 raise InvalidFileFormatException(
|
| D | metainformation.py | 56 raise InvalidMetaException("Invalid meta or meta doesn't exist") 65 raise InvalidMetaException("Invalid meta") 91 raise InvalidMetaException(str(common_exp)) from common_exp
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
| D | shell.py | 117 raise NotImplementedError 120 raise NotImplementedError 125 raise NotImplementedError 130 raise NotImplementedError 165 raise NotImplementedError 170 raise NotImplementedError 276 raise NotImplementedError 281 raise NotImplementedError 286 raise RuntimeError('Device connection failed!\n'
|
| D | tool.py | 126 raise RuntimeError( 135 raise RuntimeError(f'File "{f}" not found! {err}') 142 raise RuntimeError(f'Dir "{d}" not found! {err}') 168 raise e 170 raise VmbToolExecError(f'{self.name} failed', res)
|
| D | doclet.py | 54 raise IndexError('No lines left') 127 raise ValueError(f'Multiple @{d} doclets in same comment') 134 raise ValueError( 140 raise ValueError('Empty value!') 160 raise ValueError('No state found!') 170 raise ValueError(f'Unknown arg to @Benchmark: {unknown}') 178 raise ValueError('Bench class declaration not found!') 194 raise ValueError('Bench func declaration not found!') 210 raise ValueError('Param declaration not found!') 218 raise ValueError('Setup func declaration not found!')
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/tools/ |
| D | es2abc.py | 36 raise RuntimeError('OHOS_SDK not found.') 40 raise RuntimeError('es2abc not found.') 56 raise VmbToolExecError(f'{self.name} failed: {ts}', res)
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ets_templates/ |
| D | template.py | 66 raise InvalidFileFormatException(message=f"Template Syntax Error: {exc.message}", 69 raise UnknownTemplateException(filepath=self.test_path, exception=exc) from exc 89 raise InvalidMetaException("Invalid meta or meta does not exist") 109 … raise InvalidFileFormatException(message=f"Could not load YAML in test params: {str(exc)}",
|
| /arkcompiler/runtime_core/static_core/templates/ |
| D | common.rb | 31 raise "Compound option should not have `type` field, it is always bool" if respond_to?(:type) 32 …raise "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'
|
| /arkcompiler/runtime_core/templates/ |
| D | common.rb | 31 raise "Compound option should not have `type` field, it is always bool" if respond_to?(:type) 32 …raise "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'
|
| /arkcompiler/toolchain/build/toolchain/mac/ |
| D | linker_driver.py | 65 raise RuntimeError("Usage: linker_driver.py [linker-invocation]") 104 raise 123 raise ValueError('%s is not a linker driver argument' % (arg,)) 133 raise ValueError('Unknown linker driver argument: %s' % (arg,)) 149 raise ValueError('Unspecified dSYM output file') 174 raise ValueError('Unspecified unstripped output file')
|
| /arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/bin/ |
| D | spectrac.rb | 25 …raise 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? 37 …raise OptionParser::InvalidOption, "Directory #{dir} not found." unless File.directory? File.expan… 65 raise OptionParser::MissingArgument, missing.join(', ') unless missing.empty?
|
| /arkcompiler/runtime_core/tests/cts-coverage-tool/bin/ |
| D | spectrac.rb | 25 …raise 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? 37 …raise OptionParser::InvalidOption, "Directory #{dir} not found." unless File.directory? File.expan… 65 raise OptionParser::MissingArgument, missing.join(', ') unless missing.empty?
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/tools/generate-es-checked/ |
| D | main.rb | 173 raise 231 raise "unknown action #{s["action"].strip}" 242 …raise "parameter must be either String (ruby expr) or array of String (plain values)" if !p.all? {… 245 raise "invalid parameter" 263 raise if pars.ts.size < 1 290 raise 299 raise "invalid status #{status}\ncommand: #{args.join(' ')}\n\n#{stdout_str}" 334 …raise "ts-node failed too many times for #{k}\n#{errors.map.with_index { |x, i| "=== retry #{i} ==… 360 raise $!.class, "ruby: failed #{k}"
|
| /arkcompiler/runtime_core/isa/ |
| D | isapi.rb | 43 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) 465 raise 'Cannot consume instruction without opcode' unless item.opcode_idx 529 hash.default_proc = proc { |_, k| raise KeyError, "#{k} not found" } 589 hash.default_proc = proc { |_, k| raise KeyError, "#{k} not found" } [all …]
|
| /arkcompiler/toolchain/build/misc/mac/ |
| D | find_sdk.py | 73 raise Exception('Error %d running xcode-select' % job.returncode) 80 raise SdkError('Install Xcode, launch it, accept the license ' + 90 raise Exception('No %s+ SDK found' % min_sdk_version) 121 raise Exception("This script only runs on Mac")
|
1234567