Searched full:raise (Results 1 – 25 of 244) sorted by relevance
12345678910
| /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/plugins/ets/tests/debugger/src/arkdb/compiler_verification/ |
| D | ast.py | 52 raise RuntimeError() 64 raise RuntimeError() 105 raise RuntimeError() 136 raise AstComparisonError(error_message) 180 raise RuntimeError() 183 raise RuntimeError() 204 raise AstComparisonError("AST comparison failed:\n" + "\n".join(error_list)) 214 raise RuntimeError() 221 raise RuntimeError() 230 raise AstComparisonError(error_report) [all …]
|
| /arkcompiler/toolchain/test/autotest/aw/api/ |
| D | protocol_api.py | 36 … raise AssertionError("{} send ProtocolType inconsistent: Protocol {}, calling {}, should be {}" 46 … raise AssertionError("{} recv ProtocolType inconsistent: Protocol {}, calling {}, should be {}" 54 raise AssertionError("{} parse protocol name error: protocol_name {} is invalid" 58 … raise AssertionError("{} parse protocol name error: protocol_name {} has the wrong domain" 61 … raise AssertionError("{} parse protocol name error: protocol_name {} has not been defined"
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/ |
| D | runnable_module.py | 53 raise FileNotFoundError(source_file) 62 raise RuntimeError() 72 raise FileNotFoundError(self._disasm_file) 89 raise FileNotFoundError(self.source_file) 94 raise FileNotFoundError(self.source_file) 96 raise FileNotFoundError(self.panda_file)
|
| D | compiler.py | 123 raise CompileError(f"Stdout:\n{proc.stdout}\nStderr:\n{proc.stderr}") 172 raise FileNotFoundError(source_file) 174 raise FileNotFoundError(tmp_path) 191 raise e 198 raise e 255 raise FileNotFoundError(ets_file)
|
| /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) 442 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/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(
|
| /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/ets_frontend/ets2panda/public/headers_parser/ |
| D | arg_parser.py | 52 raise RuntimeError(f"Bad path to lib_gen_dir: '{args.lib_gen_dir}'\nSee --help for more.") 54 … raise RuntimeError(f"Bad path to es2panda_root: '{args.es2panda_root}'\nSee --help for more.") 57 raise RuntimeError(f"Bad path to header: '{header}'. See --help for more.")
|
| /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.') 60 raise VmbToolExecError(f'{self.name} failed: {src}', res)
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ets_templates/ |
| D | template.py | 70 raise InvalidMetaException("Invalid meta or meta does not exist") 80 raise InvalidFileFormatException(message=f"Template Syntax Error: {exc.message}", 83 raise UnknownTemplateException(filepath=self.test_path, exception=exc) from exc 109 … raise InvalidFileFormatException(message=f"Could not load YAML in test params: {str(exc)}",
|
| /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?
|
12345678910