| /arkcompiler/ets_runtime/test/resource/js_runtime/ |
| D | ohos_test.xml | 18 <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/ |
| D | ohos_test.xml | 18 …<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/ |
| D | common.rb | 27 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 …]
|
| D | merge.rb | 25 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/ |
| D | paoc_clusters.h | 33 * 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/ |
| D | containersvectorcommon_fuzzer.h | 112 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/ |
| D | main.cpp | 27 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/ |
| D | containerslinkedlistcommon_fuzzer.h | 108 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/ |
| D | pgo_profiler_test.cpp | 51 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/ |
| D | arraylist_fuzzer.cpp | 128 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/ |
| D | containersdequecommon_fuzzer.h | 86 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/ |
| D | containersplainarray_fuzzer.cpp | 86 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/ |
| D | Definitions.cmake | 178 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/ |
| D | js_runtime_options.cpp | 43 "--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/ |
| D | runtime_options.h | 137 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/ |
| D | execute_fuzzer.cpp | 26 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/ |
| D | initializedebugger_fuzzer.cpp | 27 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/ |
| D | test_base.rb | 45 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/ |
| D | README.md | 50 --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/ |
| D | paoc.md | 16 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/ |
| D | buildnativeandJsstacktrace_fuzzer.cpp | 28 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/ |
| D | startcpuprofilerforfile_fuzzer.cpp | 27 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/ |
| D | nativepointernew1_fuzzer.cpp | 26 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/ |
| D | nativepointernew2_fuzzer.cpp | 26 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/ |
| D | arraybufferrefnew_fuzzer.cpp | 27 RuntimeOption option; in ArrayBufferRefNewFuzzTest() local 28 option.SetLogLevel(RuntimeOption::LOG_LEVEL::ERROR); in ArrayBufferRefNewFuzzTest() 29 EcmaVM *vm = JSNApi::CreateJSVM(option); in ArrayBufferRefNewFuzzTest()
|