Home
last modified time | relevance | path

Searched full:options (Results 1 – 25 of 1346) sorted by relevance

12345678910>>...54

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Doption.cpp28 bool Options::dumpBefore = false;
29 bool Options::dumpAfter = false;
30 std::string Options::dumpPhase = "";
31 std::string Options::dumpFunc = "*";
32 std::string Options::skipPhase;
33 std::string Options::skipFrom;
34 std::string Options::skipAfter;
35 bool Options::quiet = false;
36 bool Options::regNativeFunc = false;
37 bool Options::nativeWrapper = true; // Enabled by default
[all …]
/arkcompiler/ets_frontend/ts2panda/src/
DcmdOptions.ts66 private static options: commandLineArgs.CommandLineOptions; property in CmdOptions
69 if (!this.options) {
72 return this.options["display-typeinfo"];
76 if (!this.options) {
79 return this.options["debug-log"];
83 if (!this.options) {
86 return this.options["dump-assembly"];
90 if (!this.options) {
93 return this.options["debug"];
97 this.options["debug-add-watch"] = watchArgs;
[all …]
/arkcompiler/runtime_core/tests/cts-generator/
Dtest-runner.rb33 def check_option(optparser, options, key) argument
34 return if options[key]
41 def check_option_limit(optparser, options, key, min, max) argument
42 return unless options[key]
43 return if options[key] >= min && options[key] <= max
50 def check_option_enum(optparser, options, key, enum) argument
51 return unless options[key]
52 return if enum.include?(options[key])
63 options = OpenStruct.new
64 options[:exclude_tag] = []
[all …]
Dgenerate-cts.rb26 def check_option(optparser, options, key) argument
27 return if options[key]
50 options = OpenStruct.new
51 options[:chunk] = 0
52 options[:chunks] = 1
55 opts.banner = 'Usage: generate-cts.rb [options]'
70 optparser.parse!(into: options)
71 check_option(optparser, options, 'template')
72 check_option(optparser, options, 'schema')
73 check_option(optparser, options, 'output')
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-generator/
Dtest-runner.rb33 def check_option(optparser, options, key) argument
34 return if options[key]
41 def check_option_limit(optparser, options, key, min, max) argument
42 return unless options[key]
43 return if options[key] >= min && options[key] <= max
50 def check_option_enum(optparser, options, key, enum) argument
51 return unless options[key]
52 return if enum.include?(options[key])
63 options = OpenStruct.new
64 options[:exclude_tag] = []
[all …]
Dgenerate-cts.rb26 def check_option(optparser, options, key) argument
27 return if options[key]
50 options = OpenStruct.new
51 options[:chunk] = 0
52 options[:chunks] = 1
55 opts.banner = 'Usage: generate-cts.rb [options]'
70 optparser.parse!(into: options)
71 check_option(optparser, options, 'template')
72 check_option(optparser, options, 'schema')
73 check_option(optparser, options, 'output')
[all …]
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dgc_settings.cpp23 GCSettings::GCSettings(const RuntimeOptions &options, panda_file::SourceLang lang) in GCSettings() argument
26 isDumpHeap_ = options.IsGcDumpHeap(runtimeLang); in GCSettings()
27 isConcurrencyEnabled_ = options.IsConcurrentGcEnabled(runtimeLang); in GCSettings()
28 isGcEnableTracing_ = options.IsGcEnableTracing(runtimeLang); in GCSettings()
29 isExplicitConcurrentGcEnabled_ = options.IsExplicitConcurrentGcEnabled(); in GCSettings()
30 runGcInPlace_ = options.IsRunGcInPlace(runtimeLang); in GCSettings()
31 fullGcBombingFrequency_ = options.GetFullGcBombingFrequency(runtimeLang); in GCSettings()
32 … nativeGcTriggerType_ = NativeGcTriggerTypeFromString(options.GetNativeGcTriggerType(runtimeLang)); in GCSettings()
33 enableFastHeapVerifier_ = options.IsEnableFastHeapVerifier(runtimeLang); in GCSettings()
34 auto hvParams = options.GetHeapVerifier(runtimeLang); in GCSettings()
[all …]
/arkcompiler/runtime_core/tests/cts-coverage-tool/bin/
Dspectrac.rb40 options = OpenStruct.new
42 opts.banner = 'Usage: spectrac.rb [options]'
61 optparser.parse!(into: options)
64 missing = %i[spec testdir testglob].select { |param| options[param].nil? }
68 check_files(options.spec)
69 check_dir(options.testdir)
70 check_file(options.non_testable) if options.non_testable
77 spec = options.spec.map { |f| YAML.load_file(File.expand_path(f)) }
80 fullspec.load_non_testable(YAML.load_file(File.expand_path(options.non_testable))) if options.non_t…
81 fullspec.load_tests(options.testdir, options.testglob)
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/bin/
Dspectrac.rb40 options = OpenStruct.new
42 opts.banner = 'Usage: spectrac.rb [options]'
61 optparser.parse!(into: options)
64 missing = %i[spec testdir testglob].select { |param| options[param].nil? }
68 check_files(options.spec)
69 check_dir(options.testdir)
70 check_file(options.non_testable) if options.non_testable
77 spec = options.spec.map { |f| YAML.load_file(File.expand_path(f)) }
80 fullspec.load_non_testable(YAML.load_file(File.expand_path(options.non_testable))) if options.non_t…
81 fullspec.load_tests(options.testdir, options.testglob)
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/src/ts-compiler/
DFormTscOptions.ts21 let options: ts.CreateProgramOptions = {
23 options: cmdOptions.parsedConfigFile.options,
28 options.options = Object.assign(options.options, extraOptions);
30 return options;
32 let options: ts.CreateProgramOptions = {
34 options: {
42 options.options = Object.assign(options.options, extraOptions);
44 return options;
/arkcompiler/ets_frontend/ets2panda/linter-4.2/src/
DCompilerWrapper.ts22 export function compile(options: LintOptions, extraOptions?: any): ts.Program {
23 const createProgramOptions = formTscOptions(options.cmdOptions, extraOptions);
26 if (options.cmdOptions.logTscErrors) {
44 let options: ts.CreateProgramOptions = {
46 options: cmdOptions.parsedConfigFile.options,
52 options.options = Object.assign(options.options, extraOptions);
55 return options;
58 let options: ts.CreateProgramOptions = {
60 options: {
69 options.options = Object.assign(options.options, extraOptions);
[all …]
/arkcompiler/runtime_core/tests/checked/
Dchecker.rb21 options = OpenStruct.new
23 opts.banner = 'Usage: checker.rb [options] TEST_FILE'
26 options.run_prefix = v
30 options.test_file = v
34 options.paoc = v
36 opts.on('--panda-options=OPTIONS', 'Default options for panda run') do |v|
37 options.panda_options = v
39 opts.on('--paoc-options=OPTIONS', 'Default options for paoc run') do |v|
40 options.paoc_options = v
43 options.command_token = v
[all …]
/arkcompiler/ets_frontend/ts2panda/ts2abc/
Dmain.cpp23 int Preprocess(const panda::ts2abc::Options &options, const panda::PandArgParser &argParser, std::s… in Preprocess() argument
27 if (!options.GetCompileByPipeArg()) { in Preprocess()
28 input = options.GetTailArg1(); in Preprocess()
29 output = options.GetTailArg2(); in Preprocess()
42 output = options.GetTailArg1(); in Preprocess()
52 bool HandleNpmEntries(const panda::ts2abc::Options &options, const panda::PandArgParser &argParser, in HandleNpmEntries() argument
55 std::string input = options.GetTailArg1(); in HandleNpmEntries()
56 std::string output = options.GetTailArg2(); in HandleNpmEntries()
57 if (options.GetCompileByPipeArg() || input.empty() || output.empty()) { in HandleNpmEntries()
58 if (options.GetCompileByPipeArg()) { in HandleNpmEntries()
[all …]
/arkcompiler/runtime_core/static_core/tests/checked/
Dchecker.rb21 options = OpenStruct.new
23 opts.banner = 'Usage: checker.rb [options] TEST_FILE'
26 options.run_prefix = v
30 options.test_file = v
34 options.paoc = v
36 opts.on('--panda-options=OPTIONS', 'Default options for panda run') do |v|
37 options.panda_options = v
39 opts.on('--paoc-options=OPTIONS', 'Default options for paoc run') do |v|
40 options.paoc_options = v
43 options.command_token = v
[all …]
/arkcompiler/ets_frontend/ets2panda/aot/
Dmain.cpp24 #include "util/options.h"
54 …ompileFromSource(es2panda::Compiler &compiler, es2panda::SourceFile &input, util::Options *options) in CompileFromSource() argument
56 …auto program = std::unique_ptr<pandasm::Program> {compiler.Compile(input, options->CompilerOptions… in CompileFromSource()
66 …std::cout << " [" << (err.File().empty() ? util::BaseName(options->SourceFile()) : util::BaseName(… in CompileFromSource()
72 …return util::GenerateProgram(program.get(), options, [](std::string const &str) { std::cerr << str… in CompileFromSource()
75 static int CompileFromConfig(es2panda::Compiler &compiler, util::Options *options) in CompileFromConfig() argument
77 auto compilationList = FindProjectSources(options->CompilerOptions().arktsConfig); in CompileFromConfig()
95 es2panda::SourceFile input(src, parserInput, options->ParseModule()); in CompileFromConfig()
96 options->SetCompilerOutput(dst); in CompileFromConfig()
98options->ListFiles() && std::cout << "> es2panda: compiling from '" << src << "' to '" << dst << "… in CompileFromConfig()
[all …]
/arkcompiler/runtime_core/static_core/tests/irtoc-interpreter-tests/irtoc-tag/
Dgenerate-tag.rb20 def check_option(optparser, options, key) argument
21 return if options[key]
28 options = OpenStruct.new
30 opts.banner = 'Usage: generate-tag.rb [options]'
42 optparser.parse!(into: options)
43 check_option(optparser, options, 'template')
44 check_option(optparser, options, 'yaml')
45 check_option(optparser, options, 'isapi')
46 check_option(optparser, options, 'output')
47 check_option(optparser, options, 'isa')
[all …]
/arkcompiler/ets_frontend/es2panda/aot/
Dmain.cpp22 #include <options.h>
85 …const std::unique_ptr<panda::es2panda::aot::Options> &options, std::map<std::string, size_t> *stat… in GenerateProgramsByWorkers() argument
87 auto queue = new panda::es2panda::aot::EmitFileQueue(options, statp, programsInfo); in GenerateProgramsByWorkers()
106 const std::unique_ptr<panda::es2panda::aot::Options> &options) in DumpProgramInfos() argument
108 const es2panda::CompilerOptions &compilerOptions = options->CompilerOptions(); in DumpProgramInfos()
123 const std::unique_ptr<panda::es2panda::aot::Options> &options) in GenerateProgram() argument
125 DumpProgramInfos(programsInfo, options); in GenerateProgram()
129 if (options->OutputFiles().empty() && options->CompilerOutput().empty()) { in GenerateProgram()
134 if (options->compilerProtoOutput().size() > 0) { in GenerateProgram()
135 … panda::proto::ProtobufSnapshotGenerator::GenerateSnapshot(*prog, options->compilerProtoOutput()); in GenerateProgram()
[all …]
/arkcompiler/runtime_core/static_core/disassembler/
Ddisasm.cpp24 struct Options { struct
43 explicit Options(panda::PandArgParser &paParser) in Options() function
63 std::cerr << "ark_disasm [options] input_file output_file" << std::endl << std::endl; in PrintHelp()
64 std::cerr << "Supported options:" << std::endl << std::endl; in PrintHelp()
68 void Disassemble(const Options &options) in Disassemble() argument
70 auto inputFile = options.inputFile.GetValue(); in Disassemble()
74 disasm.Disassemble(inputFile, options.quiet.GetValue(), options.skipStrings.GetValue()); in Disassemble()
75 auto verbose = options.verbose.GetValue(); in Disassemble()
77 auto profile = options.profile.GetValue(); in Disassemble()
87 resPa.open(options.outputFile.GetValue(), std::ios::trunc | std::ios::out); in Disassemble()
[all …]
/arkcompiler/ets_frontend/ets2panda/scripts/
Dtest_runner.py50 options = parse_options()
52 if not os.path.exists(options.arkdir):
53 print("The following ark directory does not exist: {0}".format(options.arkdir))
56 if not os.path.exists(options.builddir):
57 print("The following build directory does not exist: {0}".format(options.builddir))
60 testrunner = os.path.join(options.arkdir, 'tests', 'tests-u-runner', 'main.py')
65 general_cmd = ['python', testrunner, '--build-dir', options.builddir, '--force-generate',
66 '--show-progress', '--processes', 'all', '--timeout', str(options.timeout)]
68 if options.all:
69options.regression = options.runtime = options.cts = options.functional = options.test262 = True
[all …]
/arkcompiler/ets_frontend/ts2panda/scripts/
Dgen_diagnostic.rb31 def check_option(optparser, options, key) argument
32 return if options[key]
39 options = OpenStruct.new
42 opts.banner = 'Usage: gen.rb [options]'
54 optparser.parse!(into: options)
56 check_option(optparser, options, :datafile)
57 check_option(optparser, options, :template)
58 check_option(optparser, options, :output)
60 template_file = File.read(options.template)
61 output_file = File.open(options.output, 'w')
[all …]
/arkcompiler/runtime_core/isa/
Dgen.rb47 def check_option(optparser, options, key) argument
48 return if options[key]
62 options = OpenStruct.new
65 opts.banner = 'Usage: gen.rb [options]'
78 optparser.parse!(into: options)
80 check_option(optparser, options, :data)
81 data = YAML.load_file(File.expand_path(options.data))
84 options&.require&.each { |r| require File.expand_path(r) } if options.require
87 if options.assert
88 require options.assert
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dthrow.yaml43 runner-options: ['compile-failure']
61 runner-options: ['compile-only']
72 runner-options: ['verifier-failure', 'verifier-config']
93 runner-options: ['compile-failure']
111 runner-options: ['run-failure']
153 runner-options: ['verifier-failure', 'verifier-config']
505 runner-options: ['run-failure']
546 runner-options: ['verifier-failure', 'verifier-config']
549 runner-options: ['verifier-failure', 'verifier-config']
552 runner-options: ['verifier-failure', 'verifier-config']
[all …]
/arkcompiler/runtime_core/static_core/isa/
Dgen.rb47 def check_option(optparser, options, key) argument
48 return if options[key]
75 options = OpenStruct.new
78 opts.banner = 'Usage: gen.rb [options]'
91 optparser.parse!(into: options)
93 check_option(optparser, options, :data)
94 data = YAML.load_file(File.expand_path(options.data))
97 options&.require&.each { |r| require File.expand_path(r) } if options.require
100 if options.assert
101 require options.assert
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/
Dconfig.py17 # This file does only contain a selection of the most common options. For a
27 from runner.options.cli_args_wrapper import CliArgsWrapper
28 from runner.options.decorator_value import value, _to_test_suites, _to_str
29 from runner.options.options_ark import ArkOptions
30 from runner.options.options_ark_aot import ArkAotOptions
31 from runner.options.options_es2panda import Es2PandaOptions
32 from runner.options.options_ets import ETSOptions
33 from runner.options.options_general import GeneralOptions
34 from runner.options.options_quick import QuickOptions
35 from runner.options.options_test_lists import TestListsOptions
[all …]
/arkcompiler/ets_frontend/es2panda/
Des2panda.cpp59 panda::pandasm::Program *Compiler::Compile(const SourceFile &input, const CompilerOptions &options, in Compile() argument
70 auto *patchFixHelper = InitPatchFixHelper(input, options, symbolTable); in Compile()
77 auto ast = parser_->Parse(fname, src, rname, options, kind); in Compile()
80 if (options.dumpAst) { in Compile()
84 if (ast.Extension() == ScriptExtension::TS && options.enableTypeCheck) { in Compile()
93 if (options.dumpTransformedAst) { in Compile()
96 if (options.checkTransformedAstStructure) { in Compile()
101 if (options.parseOnly) { in Compile()
105 std::string debugInfoSourceFile = options.debugInfoSourceFile.empty() ? in Compile()
106 sourcefile : options.debugInfoSourceFile; in Compile()
[all …]

12345678910>>...54