Home
last modified time | relevance | path

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

12345678910>>...26

/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/runtime/mem/gc/
Dgc_settings.cpp23 GCSettings::GCSettings(const RuntimeOptions &options, panda_file::SourceLang lang) in GCSettings() argument
26 is_dump_heap_ = options.IsGcDumpHeap(runtime_lang); in GCSettings()
27 is_concurrency_enabled_ = options.IsConcurrentGcEnabled(runtime_lang); in GCSettings()
28 is_gc_enable_tracing_ = options.IsGcEnableTracing(runtime_lang); in GCSettings()
29 run_gc_in_place_ = options.IsRunGcInPlace(runtime_lang); in GCSettings()
30 …native_gc_trigger_type_ = NativeGcTriggerTypeFromString(options.GetNativeGcTriggerType(runtime_lan… in GCSettings()
31 enable_fast_heap_verifier_ = options.IsEnableFastHeapVerifier(runtime_lang); in GCSettings()
32 pre_gc_heap_verification_ = options.IsPreGcHeapVerifyEnabled(runtime_lang); in GCSettings()
33 into_gc_heap_verification_ = options.IsIntoGcHeapVerifyEnabled(runtime_lang); in GCSettings()
34 post_gc_heap_verification_ = options.IsPostGcHeapVerifyEnabled(runtime_lang); 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/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/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/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/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 …]
Drun.py64 def node_modules(options): argument
65 src_dir = options.src_dir
66 dist_dir = options.dist_dir
72 if options.node_modules:
73 run_command(['cp', '-rf', options.node_modules,
79 def per_platform_config(options, inp_dir): argument
80 dist_dir = options.dist_dir
89 (js2abc_dir, _) = os.path.split(options.js2abc)
97 run_command(['cp', '-f', options.js2abc, bin_dir])
101 run_command(['cp', '-f', options.js2abc, obj_bin_dir])
[all …]
/arkcompiler/runtime_core/templates/
Dcommon.rb38 def fix_references(options) argument
42 target = options.find {|x| x.name == p }
169 def create_sub_options(option, options) argument
171 raise "Only boolean option can have sub options: #{option.name}" unless option.type == 'bool'
177 options.concat sub_options
181 def options method
182 @options ||= @data.options.each_with_object([]) do |option, options|
191 options << Option.new(OpenStruct.new(lang_spec_option))
192 create_sub_options(options[-1], options)
196 options << Option.new(OpenStruct.new(main_option))
[all …]
Dmerge.rb22 def check_option(optparser, options, key) argument
23 return if options[key]
37 options = OpenStruct.new
40 opts.banner = 'Usage: merge.rb [options]'
50 optparser.parse!(into: options)
52 check_option(optparser, options, :data)
56 options.data.each do |options_yaml|
59 data["options"].each do |option|
96 data = YAML.load_file(File.expand_path(options.data[0]))
98 data["options"] = options_hash.values
[all …]
/arkcompiler/ets_frontend/es2panda/
Des2panda.cpp58 panda::pandasm::Program *Compiler::Compile(const SourceFile &input, const CompilerOptions &options, in Compile() argument
69 auto *hotfixHelper = InitHotfixHelper(input, options, symbolTable); in Compile()
79 if (options.dumpAst) { in Compile()
83 if (ast.Extension() == ScriptExtension::TS && options.enableTypeCheck) { in Compile()
94 if (options.parseOnly) { in Compile()
98 std::string debugInfoSourceFile = options.debugInfoSourceFile.empty() ? in Compile()
99 sourcefile : options.debugInfoSourceFile; in Compile()
100 auto *prog = compiler_->Compile(&ast, options, debugInfoSourceFile, pkgName); in Compile()
112 util::Hotfix *Compiler::InitHotfixHelper(const SourceFile &input, const CompilerOptions &options, in InitHotfixHelper() argument
115 bool needDumpSymbolFile = !options.hotfixOptions.dumpSymbolTable.empty(); in InitHotfixHelper()
[all …]
/arkcompiler/runtime_core/runtime/templates/
Dgen_intrinsics_data.rb33 def check_option(optparser, options, key) argument
34 return if options[key]
41 options = OpenStruct.new
44 opts.banner = 'Usage: gen.rb [options]'
55 optparser.parse!(into: options)
57 check_option(optparser, options, :datafiles)
58 check_option(optparser, options, :template)
59 check_option(optparser, options, :output)
61 template_file = File.read(File.expand_path(options.template))
62 output_file = File.open(File.expand_path(options.output), 'w')
[all …]
/arkcompiler/runtime_core/verification/config/handlers/
Dconfig_handler_method_options.cpp20 #include "verification/config/options/msg_set_parser.h"
41 …ocessSectionMsg(MethodOption::MsgClass msg_class, const PandaString &items, MethodOptions *options) in ProcessSectionMsg() argument
53 options->SetMsgClass(VerifierMessageIsValid, msg_num, msg_class); in ProcessSectionMsg()
59 bool ProcessSectionShow(const Literals &literals, MethodOptions *options) in ProcessSectionShow() argument
63 options->SetShow(MethodOption::InfoType::CONTEXT); in ProcessSectionShow()
65 options->SetShow(MethodOption::InfoType::REG_CHANGES); in ProcessSectionShow()
67 options->SetShow(MethodOption::InfoType::CFLOW); in ProcessSectionShow()
69 options->SetShow(MethodOption::InfoType::JOBFILL); in ProcessSectionShow()
80 MethodOptions *options) in ProcessSectionUplevel() argument
84 LOG(ERROR, VERIFIER) << "Cannot find uplevel options: '" << uplevel << "'"; in ProcessSectionUplevel()
[all …]
Dconfig_handler_method_groups.cpp17 #include "verification/config/options/method_group_parser.h"
52 PandaString options; in RegisterConfigHandlerMethodGroups() member
63 const auto OPTIONS_HANDLER = [](Context &c, PandaString &&options) { in RegisterConfigHandlerMethodGroups() argument
64 c.options = std::move(options); in RegisterConfigHandlerMethodGroups()
81 … if (!verif_options.Debug.GetMethodOptions().AddOptionsForGroup(ctx.group, ctx.options)) { in RegisterConfigHandlerMethodGroups()
82 …LOG(DEBUG, VERIFIER) << " Error: cannot set options for method group '" << ctx.group << "', optio… in RegisterConfigHandlerMethodGroups()
83 << ctx.options << "'"; in RegisterConfigHandlerMethodGroups()
87 …LOG(DEBUG, VERIFIER) << " Set options for method group '" << ctx.group << "' : '" << ctx.options in RegisterConfigHandlerMethodGroups()
93 config::RegisterConfigHandler("config.debug.method_groups.verifier.options", in RegisterConfigHandlerMethodGroups()
/arkcompiler/runtime_core/runtime/tests/
Dcompiler_queue_test.cpp34 RuntimeOptions options; in CompilerQueueTest() local
35 options.SetShouldLoadBootPandaFiles(false); in CompilerQueueTest()
36 options.SetShouldInitializeIntrinsics(false); in CompilerQueueTest()
37 Runtime::Create(options); in CompilerQueueTest()
128 RuntimeOptions options; in TEST_F() local
130options.GetCompilerQueueMaxLength(), options.GetCompilerTaskLifeSpan()); in TEST_F()
158 RuntimeOptions options; in TEST_F() local
160options.GetCompilerQueueMaxLength(), options.GetCompilerTaskLifeSpan()); in TEST_F()
184 RuntimeOptions options; in TEST_F() local
187 options.GetCompilerQueueMaxLength(), CompilerTaskLifeSpan1); in TEST_F()
[all …]
/arkcompiler/runtime_core/tests/checked/verify_aot_tests/
Dverify_aot_test.pa25 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch…
26 #! RUN options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc", entry: "Ver…
31 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch…
32 #! RUN options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc", entry: "Ver…
37 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch…
38 #! RUN options: "--panda-files=../../verify_aot_tests_file2.checked/test.abc", entry: "Ver…
43 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch…
44 #! RUN options: "--panda-files=../../verify_aot_tests_file2.checked/test.abc", entry: "Ver…
49 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch…
50 #! RUN options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc", entry: "Ver…
[all …]
/arkcompiler/runtime_core/irtoc/lang/
Dirtoc.rb16 require_relative 'options'
17 # Parse options in advance, since it may be required during scripts loading
18 Options.parse
31 // THIS FILE WAS GENERATED FOR #{Options.arch.upcase}
109 File.delete(name) unless Options.keep_artifacts
126 return "" if Options.plugins.empty?
128 Options.plugins[filename].each do |full_filename|
168 abort "YAML description file is not specified" unless Options.instructions_yaml
169 abort "ISA YAML file is not specified" unless Options.isa
170 abort "ISAPI file is not specified" unless Options.isapi
[all …]
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dthrow.yaml56 runner-options: ['compile-failure']
75 runner-options: ['compile-only']
86 runner-options: ['verifier-failure', 'verifier-config']
109 runner-options: ['compile-failure']
129 runner-options: ['run-failure']
171 runner-options: ['use-pa']
207 runner-options: ['verifier-failure', 'verifier-config']
260 runner-options: ['verifier-failure', 'verifier-config', 'use-pa']
396 runner-options: ['use-pa']
515 runner-options: ['use-pa']
[all …]
/arkcompiler/ets_frontend/test262/
Dintl_tests.txt2 intl402/BigInt/prototype/toLocaleString/default-options-object-prototype.js
14 intl402/Collator/default-options-object-prototype.js
24 intl402/Collator/constructor-options-throwing-getters.js
80 intl402/Date/prototype/toLocaleString/default-options-object-prototype.js
84 intl402/DateTimeFormat/default-options-object-prototype.js
88 intl402/DateTimeFormat/constructor-options-fractionalSecondDigits-invalid.js
89 intl402/DateTimeFormat/constructor-options-order-dayPeriod.js
92 intl402/DateTimeFormat/casing-numbering-system-calendar-options.js
94 intl402/DateTimeFormat/constructor-options-timeStyle-invalid.js
97 intl402/DateTimeFormat/constructor-options-dateStyle-invalid.js
[all …]
/arkcompiler/runtime_core/libpandabase/utils/
Dlogger.cpp36 void Logger::Initialize(const base_options::Options &options) in Initialize() argument
46 if (options.WasSetLogFatal()) { in Initialize()
47 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
48 load_components(options.GetLogFatal()); in Initialize()
50 } else if (options.WasSetLogError()) { in Initialize()
51 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
52 load_components(options.GetLogError()); in Initialize()
54 } else if (options.WasSetLogWarning()) { in Initialize()
55 ASSERT_PRINT(level == Level::LAST, "There are conflicting logger options"); in Initialize()
56 load_components(options.GetLogWarning()); in Initialize()
[all …]
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_date_time_format_test.cpp40 JSRuntimeOptions options; in SetUp() local
43 options.SetIcuDataPath(ICU_PATH); in SetUp()
45 options.SetEnableForceGC(true); in SetUp()
46 instance = JSNApi::CreateEcmaVM(options); in SetUp()
69 // Date options keys. in SetDateOptionsTest()
74 // Date options values. in SetDateOptionsTest()
79 // Set date options. in SetDateOptionsTest()
92 // Time options keys. in SetTimeOptionsTest()
98 // Time options values. in SetTimeOptionsTest()
105 // Set time options. in SetTimeOptionsTest()
[all …]
/arkcompiler/runtime_core/libpandabase/templates/
Dlogger_gen.rb21 options = OpenStruct.new
23 opts.banner = 'Usage: gen_ruby.rb [options]'
34 optparser.parse!(into: options)
36 exit unless options.data
37 exit unless options.plugins
39 data = YAML.load_file(File.expand_path(options.data))
40 plugins_data = YAML.load_file(File.expand_path(options.plugins))
50 output = options.output ? File.open(File.expand_path(options.output), 'w') : $stdout

12345678910>>...26