Home
last modified time | relevance | path

Searched full:option (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/arkcompiler/ets_runtime/test/resource/js_runtime/
Dohos_test.xml18 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
23 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
28 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
33 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
38 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
43 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
48 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
53 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
58 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
63 <option name="push" value="test/test/libark_jsruntime_test.so -> /data/test" src="out"/>
[all …]
/arkcompiler/toolchain/test/resource/tooling/
Dohos_test.xml18 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/sample.abc -> /data/test" src="o…
19 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/exception.abc -> /data/test" src…
20 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/arrow_func.abc -> /data/test" sr…
21 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/async_func.abc -> /data/test" sr…
22 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/range_error.abc -> /data/test" s…
23 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/syntax_exception.abc -> /data/te…
24 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/throw_exception.abc -> /data/tes…
25 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/step.abc -> /data/test" src="out…
26 <option name="push" value="test/test/libjsdebugtest.so -> /data/test" src="out"/>
27 <option name="push" value="test/test/libdebugger_entry.so -> /data/test" src="out"/>
[all …]
/arkcompiler/runtime_core/templates/
Dcommon.rb27 class Option < SimpleDelegator class
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…
169 def create_sub_options(option, options) argument
170 return unless option.has_sub_options
171 raise "Only boolean option can have sub options: #{option.name}" unless option.type == 'bool'
173 option.sub_options.each_with_object(sub_options) do |sub_option, sub_options|
174 sub_option[:parent] = option
175 sub_options << Option.new(sub_option)
178 option[:sub_options] = sub_options
[all …]
Dmerge.rb25 puts "Missing option: --#{key}"
59 data["options"].each do |option|
60 name = option["name"]
62 options_hash[name] = option
67 … raise "Option '#{name}' conflicts for key '#{key}'" unless options_hash[name][key] == option[key]
71 options_hash[name][key] = (Set.new(options_hash[name][key]) + Set.new(option[key])).to_a
77 if !option["possible_values"].nil?
81 if !option["lang"].nil?
85 if !option["default"].nil?
86 if option["type"] == "arg_list_t"
/arkcompiler/runtime_core/compiler/tools/paoc/
Dpaoc_clusters.h33 * Implements `--paoc-clusters` option.
83 // Add option-value pair: in InitClusters()
89 … << "Can't find option's value (cluster `" << clusters_json->GetKeyByIndex(idx) << "`, option `" in InitClusters()
93 auto *option = pa_parser->GetPandArg(option_name); in InitClusters() local
94 if (option == nullptr) { in InitClusters()
95 LOG_PAOC_CLUSTERS(FATAL) << "Unknown option: `" << option_name << "`"; in InitClusters()
97 auto value = OptionsCluster::ParseOptionValue(*option_value, option, pa_parser); in InitClusters()
98 clusters_.back().GetVector().emplace_back(option, std::move(value)); in InitClusters()
146 * (i.e. vector of "option:alternative_value" pairs)
169 … static ValueVariant ParseOptionValue(const std::string_view &value_string, PandArgBase *option, in ParseOptionValue() argument
[all …]
/arkcompiler/ets_runtime/test/fuzztest/containersvectorcommon_fuzzer/
Dcontainersvectorcommon_fuzzer.h112 RuntimeOption option; in ContainersVectorAddFuzzTest() local
113 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ContainersVectorAddFuzzTest()
114 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorAddFuzzTest()
133 RuntimeOption option; in ContainersVectorGetFirstElementFuzzTest() local
134 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ContainersVectorGetFirstElementFuzzTest()
135 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorGetFirstElementFuzzTest()
160 RuntimeOption option; in ContainersVectorGetIndexOfFuzzTest() local
161 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ContainersVectorGetIndexOfFuzzTest()
162 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersVectorGetIndexOfFuzzTest()
188 RuntimeOption option; in ContainersVectorGetLastElementFuzzTest() local
[all …]
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/prof_dump/
Dmain.cpp27 class Option { class
61 const struct option longOptions[] = { in ParseCommand()
92 LOG_NO_TAG(ERROR) << "Invalid option"; in ParseCommand()
134 Option option; in Main() local
135 if (!option.ParseCommand(argc, argv)) { in Main()
136 LOG_NO_TAG(ERROR) << option.GetHelper(); in Main()
139 switch (option.GetMode()) { in Main()
140 case Option::Mode::VERSION_QUERY: in Main()
143 case Option::Mode::TO_TEXT: { in Main()
144 if (PGOProfilerManager::GetInstance()->BinaryToText(option.GetProfInPath(), in Main()
[all …]
/arkcompiler/ets_runtime/test/fuzztest/containerslinkedlistcommon_fuzzer/
Dcontainerslinkedlistcommon_fuzzer.h108 RuntimeOption option; in ContainersLinkedListAddFuzzTest() local
109 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ContainersLinkedListAddFuzzTest()
110 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListAddFuzzTest()
130 RuntimeOption option; in ContainersLinkedListGetFirstFuzzTest() local
131 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ContainersLinkedListGetFirstFuzzTest()
132 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListGetFirstFuzzTest()
157 RuntimeOption option; in ContainersLinkedListGetLastFuzzTest() local
158 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ContainersLinkedListGetLastFuzzTest()
159 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersLinkedListGetLastFuzzTest()
184 RuntimeOption option; in ContainersLinkedListAddFirstFuzzTest() local
[all …]
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/
Dpgo_profiler_test.cpp51 RuntimeOption option; in HWTEST_F_L0() local
52 option.SetEnableProfile(true); in HWTEST_F_L0()
53 option.SetProfileDir("ark-profiler/"); in HWTEST_F_L0()
54 vm_ = JSNApi::CreateJSVM(option); in HWTEST_F_L0()
83 RuntimeOption option; in HWTEST_F_L0() local
84 option.SetEnableProfile(true); in HWTEST_F_L0()
85 option.SetProfileDir("ark-profiler1/"); in HWTEST_F_L0()
86 vm_ = JSNApi::CreateJSVM(option); in HWTEST_F_L0()
132 RuntimeOption option; in HWTEST_F_L0() local
133 option.SetEnableProfile(true); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/test/fuzztest/arraylist_fuzzer/
Darraylist_fuzzer.cpp128 RuntimeOption option; in ArrayListForEachFuzzTest() local
129 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ArrayListForEachFuzzTest()
130 EcmaVM *vm = JSNApi::CreateJSVM(option); in ArrayListForEachFuzzTest()
163 RuntimeOption option; in ArrayListAddFuzzTest() local
164 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ArrayListAddFuzzTest()
165 EcmaVM *vm = JSNApi::CreateJSVM(option); in ArrayListAddFuzzTest()
195 RuntimeOption option; in ArrayListClearFuzzTest() local
196 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ArrayListClearFuzzTest()
197 EcmaVM *vm = JSNApi::CreateJSVM(option); in ArrayListClearFuzzTest()
228 RuntimeOption option; in ArrayListCloneFuzzTest() local
[all …]
/arkcompiler/ets_runtime/test/fuzztest/containersdequecommon_fuzzer/
Dcontainersdequecommon_fuzzer.h86 RuntimeOption option; in ContainersDequeInsertFrontFuzzTest() local
87 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ContainersDequeInsertFrontFuzzTest()
88 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersDequeInsertFrontFuzzTest()
137 RuntimeOption option; in ContainersDequeForEachFuzzTest() local
138 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ContainersDequeForEachFuzzTest()
139 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersDequeForEachFuzzTest()
168 RuntimeOption option; in ContainersDequeGetFirstFuzzTest() local
169 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ContainersDequeGetFirstFuzzTest()
170 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersDequeGetFirstFuzzTest()
204 RuntimeOption option; in ContainersDequeGetLastFuzzTest() local
[all …]
/arkcompiler/ets_runtime/test/fuzztest/containersplainarray_fuzzer/
Dcontainersplainarray_fuzzer.cpp86 RuntimeOption option; in ContainersPlainArray_Constructor_FuzzTest() local
87 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ContainersPlainArray_Constructor_FuzzTest()
88 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersPlainArray_Constructor_FuzzTest()
114 RuntimeOption option; in ContainersPlainArray_Add_Has_FuzzTest() local
115 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ContainersPlainArray_Add_Has_FuzzTest()
116 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersPlainArray_Add_Has_FuzzTest()
158 RuntimeOption option; in ContainersPlainArray_Clone_FuzzTest() local
159 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ContainersPlainArray_Clone_FuzzTest()
160 EcmaVM *vm = JSNApi::CreateJSVM(option); in ContainersPlainArray_Clone_FuzzTest()
196 RuntimeOption option; in ContainersPlainArray_Clear_FuzzTest() local
[all …]
/arkcompiler/runtime_core/cmake/
DDefinitions.cmake178 option(PANDA_WITH_TESTS "Enable test targets" true)
179 option(PANDA_WITH_BYTECODE_OPTIMIZER "Enable bytecode optimizer" true)
180 option(PANDA_WITH_JAVA "Enable java plugin" ON)
181 option(PANDA_WITH_ECMASCRIPT "Enable ecmascript plugin" ON)
182 option(PANDA_WITH_ACCORD "Enable accord plugin" ON)
183 option(PANDA_WITH_CANGJIE "Enable cangjie plugin" ON)
184 option(PANDA_COMPILER_CFI "Support CFI information")
185 option(PANDA_ENABLE_RELAYOUT_PROFILE "Enable relayout profile" OFF)
215 option(PANDA_PRODUCT_BUILD "Build which will be delivered to customers" false)
219 option(PANDA_RELEASE_BUILD "Build for benchmarking. Must be run with CMAKE_BUILD_TYPE=Release" fals…
[all …]
/arkcompiler/ets_runtime/ecmascript/
Djs_runtime_options.cpp43 "--compiler-log: log Option For aot compiler and stub compiler,\n"
115 const struct option longOptions[] = { in ParseCommand()
174 int option = 0; in ParseCommand() local
186 option = getopt_long_only(argc, const_cast<char **>(argv), "", longOptions, &index); in ParseCommand()
187 LOG_ECMA(INFO) << "option: " << option << ", optopt: " << optopt << ", optind: " << optind; in ParseCommand()
193 if (option == -1) { in ParseCommand()
197 // unknown option or required_argument option has no argument in ParseCommand()
198 if (option == '?') { in ParseCommand()
207 WasSet(option); in ParseCommand()
208 switch (option) { in ParseCommand()
[all …]
/arkcompiler/runtime_core/runtime/include/
Druntime_options.h137 auto option = GetInternalAllocatorType(); in UseMallocForInternalAllocations() local
138 if (option == "default") { in UseMallocForInternalAllocations()
144 } else if (option == "malloc") { in UseMallocForInternalAllocations()
146 } else if (option == "panda_allocators") { in UseMallocForInternalAllocations()
157 auto option = GetG1TrackFreedObjects(); in IsG1TrackFreedObjects() local
158 if (option == "default") { in IsG1TrackFreedObjects()
164 } else if (option == "true") { in IsG1TrackFreedObjects()
166 } else if (option == "false") { in IsG1TrackFreedObjects()
/arkcompiler/ets_runtime/test/fuzztest/execute_fuzzer/
Dexecute_fuzzer.cpp26 RuntimeOption option; in ExecuteFuzzTest() local
27 option.SetGcType(RuntimeOption::GC_TYPE::GEN_GC); in ExecuteFuzzTest()
28 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ExecuteFuzzTest()
29 auto vm = JSNApi::CreateJSVM(option); in ExecuteFuzzTest()
/arkcompiler/toolchain/test/fuzztest/initializedebugger_fuzzer/
Dinitializedebugger_fuzzer.cpp27 RuntimeOption option; in InitializeDebuggerFuzzTest() local
28 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in InitializeDebuggerFuzzTest()
29 option.SetEnableAsmInterpreter(false); in InitializeDebuggerFuzzTest()
30 auto vm = JSNApi::CreateJSVM(option); in InitializeDebuggerFuzzTest()
/arkcompiler/runtime_core/tests/cts-generator/generator/
Dtest_base.rb45 content.puts "## runner-option: #{s}"
47 content.puts "## runner-option: ignore" if ignore
48 content.puts "## runner-option: bugid: #{bugids.join ', '}" if bugids.length > 0
50 content.puts "## runner-option: tags: #{tags.join ', '}" if tags.length > 0
56 content.puts "## runner-option: main-exitcode-wrapper"
/arkcompiler/runtime_core/tests/cts-generator/
DREADME.md50 --verify-tests Run verifier against positive tests (option for test checking)
53 …-a, --run-all Run all tests, ignore "runner-option: ignore" tag in test definit…
54 …--run-ignored Run ignored tests, which have "runner-option: ignore" tag in test def…
59 -o, --panda-options OPTION Panda options
83 To run only tests with `ignore` runner option, add `--run-ignored` options.
131 ### How to run test with specified bug id runner-option?
143 …ns (`--run-all`) is defined, otherwise tests will be excluded, if they have `ignore` runner option.
/arkcompiler/runtime_core/compiler/docs/
Dpaoc.md16 This is a mandatory option.
20 - A boolean option that allows to continue the compilation if some of the methods are failed to com…
75 `paoc` has an option to apply clusters of special compiler options (different from default and pass…
84 # and "compiler_options", which defines clusters themselves (`option:argument` pairs).
100 # Values are objects with `"option": argument` elements.
/arkcompiler/ets_runtime/test/fuzztest/buildnativeandJsstacktrace_fuzzer/
DbuildnativeandJsstacktrace_fuzzer.cpp28 RuntimeOption option; in BuildNativeAndJsStackTraceFuzzTest() local
29 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in BuildNativeAndJsStackTraceFuzzTest()
30 EcmaVM *vm = JSNApi::CreateJSVM(option); in BuildNativeAndJsStackTraceFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/startcpuprofilerforfile_fuzzer/
Dstartcpuprofilerforfile_fuzzer.cpp27 RuntimeOption option; in StartCpuProfilerForFileFuzzTest() local
28 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in StartCpuProfilerForFileFuzzTest()
29 EcmaVM *vm = JSNApi::CreateJSVM(option); in StartCpuProfilerForFileFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/nativepointernew1_fuzzer/
Dnativepointernew1_fuzzer.cpp26 RuntimeOption option; in NativePointerNew1FuzzTest() local
27 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in NativePointerNew1FuzzTest()
28 EcmaVM *vm = JSNApi::CreateJSVM(option); in NativePointerNew1FuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/nativepointernew2_fuzzer/
Dnativepointernew2_fuzzer.cpp26 RuntimeOption option; in NativePointerNew2FuzzTest() local
27 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in NativePointerNew2FuzzTest()
28 EcmaVM *vm = JSNApi::CreateJSVM(option); in NativePointerNew2FuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/arraybufferrefnew_fuzzer/
Darraybufferrefnew_fuzzer.cpp27 RuntimeOption option; in ArrayBufferRefNewFuzzTest() local
28 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ArrayBufferRefNewFuzzTest()
29 EcmaVM *vm = JSNApi::CreateJSVM(option); in ArrayBufferRefNewFuzzTest()

12345678910>>...12