Home
last modified time | relevance | path

Searched full:config (Results 1 – 25 of 1297) sorted by relevance

12345678910>>...52

/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/
Dets_test_suite.py28 from runner.options.config import Config
42 …def __init__(self, config: Config, work_dir: WorkDir, suite_name: str, default_list_root: str) -> … argument
46 self._list_root = config.general.list_root
48 self.config = config
51 self._jit: JitOptions = config.ark.jit
52 self._is_jit = config.ark.jit.enable and config.ark.jit.num_repeats > 0
107 def __init__(self, config: Config, work_dir: WorkDir, default_list_root: str): argument
108 super().__init__(config, work_dir, EtsSuites.RUNTIME.value, default_list_root)
109 …self.__default_test_dir = RuntimeDefaultEtsTestDir(config.general.static_core_root, config.general…
120 config=self.config
[all …]
Drunner_ets.py26 from runner.options.config import Config
41 def __init__(self, config: Config): argument
42 self.__ets_suite_name = self.get_ets_suite_name(config.test_suites)
43 RunnerFileBased.__init__(self, config, self.__ets_suite_name)
54 f"--opt-level={self.config.es2panda.opt_level}"
56 self.test_env.es2panda_args.extend(self.config.es2panda.es2panda_args)
66 test_suite = test_suite_class(self.config, self.work_dir, self.default_list_root)
67 test_suite.process(self.config.general.generate_only or self.config.ets.force_generate)
70 self.explicit_list = correct_path(self.list_root, config.test_lists.explicit_list) \
71 if config.test_lists.explicit_list is not None and self.list_root is not None \
[all …]
/arkcompiler/runtime_core/static_core/verification/config/
DConfig.cmake15 ${VERIFICATION_SOURCES_DIR}/config/config_load.cpp
16 ${VERIFICATION_SOURCES_DIR}/config/context/context.cpp
17 ${VERIFICATION_SOURCES_DIR}/config/debug_breakpoint/breakpoint.cpp
18 ${VERIFICATION_SOURCES_DIR}/config/debug_breakpoint/config_handler_breakpoints.cpp
19 ${VERIFICATION_SOURCES_DIR}/config/default/default_config.cpp
20 ${VERIFICATION_SOURCES_DIR}/config/handlers/config_handler_whitelist.cpp
21 ${VERIFICATION_SOURCES_DIR}/config/handlers/config_handler_options.cpp
22 ${VERIFICATION_SOURCES_DIR}/config/handlers/config_handler_method_options.cpp
23 ${VERIFICATION_SOURCES_DIR}/config/handlers/config_handler_method_groups.cpp
24 ${VERIFICATION_SOURCES_DIR}/config/options/method_options.cpp
[all …]
Dconfig_load.cpp22 #include "verification/config/default/default_config.h"
23 #include "verification/config/parse/config_parse.h"
24 #include "verification/config/process/config_process.h"
25 #include "verification/config/context/context.h"
26 #include "verification/config/handlers/config_handlers.h"
36 bool ProcessConfigFile(ark::verifier::Config *cfg, const char *text) in ProcessConfigFile()
44 ark::verifier::config::Section section; in ProcessConfigFile()
47 …ark::verifier::config::ParseConfig(text, section) && ark::verifier::config::ProcessConfig(cfg, sec… in ProcessConfigFile()
58 namespace ark::verifier::config { namespace
60 bool LoadConfig(Config *cfg, std::string_view filename) in LoadConfig()
[all …]
/arkcompiler/ets_frontend/test/scripts/performance_test/
Dperformance_build.py32 self.config = None
41 self.config = config_input
50 os.chdir(self.config.project_path)
59 if self.config.ide == performance_config.IdeType.DevEco:
60 os.environ['path'] = self.config.node_js_path + ";" + os.environ['path']
61 os.chdir(self.config.project_path)
62 os.environ['path'] = os.path.join(self.config.jbr_path, "bin") + ";" + os.environ['path']
63 os.environ['JAVA_HOME'] = self.config.jbr_path
64 self.config.cmd_prefix = os.path.join(self.config.project_path, self.config.cmd_prefix)
65 …self.config.debug_package_path = os.path.join(self.config.project_path, self.config.debug_package_…
[all …]
/arkcompiler/runtime_core/static_core/verification/
Dpublic.h30 using Config = struct Config; // NOLINT(bugprone-forward-declaration-namespace)
32 Config *NewConfig();
33 bool LoadConfigFile(Config *config, std::string_view configFileName);
34 void DestroyConfig(Config *config);
36 bool IsEnabled(Config const *config);
37 bool IsOnlyVerify(Config const *config);
41 Service *CreateService(Config const *config, ark::mem::InternalAllocatorPtr allocator, ClassLinker …
45 Config const *GetServiceConfig(Service const *service);
Dpublic.cpp19 #include "verification/config/config_load.h"
20 #include "verification/config/context/context.h"
27 Config *NewConfig() in NewConfig()
29 auto result = new Config; in NewConfig()
34 bool LoadConfigFile(Config *config, std::string_view configFileName) in LoadConfigFile() argument
36 return ark::verifier::config::LoadConfig(config, configFileName); in LoadConfigFile()
39 void DestroyConfig(Config *config) in DestroyConfig() argument
41 config->opts.Destroy(); in DestroyConfig()
42 delete config; in DestroyConfig()
45 bool IsEnabled(Config const *config) in IsEnabled() argument
[all …]
Dverification.gni37 "$ark_root/verification/config/config_load.cpp",
38 "$ark_root/verification/config/context/context.cpp",
39 "$ark_root/verification/config/debug_breakpoint/breakpoint.cpp",
40 "$ark_root/verification/config/debug_breakpoint/config_handler_breakpoints.cpp",
41 "$ark_root/verification/config/default/default_config.cpp",
42 "$ark_root/verification/config/handlers/config_handler_method_groups.cpp",
43 "$ark_root/verification/config/handlers/config_handler_method_options.cpp",
44 "$ark_root/verification/config/handlers/config_handler_options.cpp",
45 "$ark_root/verification/config/handlers/config_handler_whitelist.cpp",
46 "$ark_root/verification/config/options/method_options.cpp",
[all …]
/arkcompiler/toolchain/test/autotest/scenario_test/
Dconftest.py38 config = {'connect_server_port': 15678,
43 pid = Application.launch_application(config['bundle_name'], config['hap_path'], start_mode='-D')
45 config['pid'] = pid
48 Fport.fport_connect_server(config['connect_server_port'], config['pid'], config['bundle_name'])
50 config['websocket'] = WebSocket(config['connect_server_port'], config['debugger_server_port'])
52 config['taskpool'] = TaskPool()
54 return config
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/
Dmain.py27 from runner.options.config import Config
38 config = Config(args)
39 logger = Log.setup(config.general.verbose, config.general.work_dir)
40 Log.summary(logger, f"Loaded configuration: {config}")
41 config.generate_config()
44 config.custom.validate()
47 if config.general.processes == 1:
52 for test_suite in config.test_suites:
56 runners.append(runner_class(config))
62 if not config.general.generate_only:
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
Drunner_file_based.py35 from runner.options.config import Config
69 …def __init__(self, runner_name: str, build_dir: str, config: Config, conf_kind: ConfigurationKind)… argument
71 self.config = config
77 if self.config.es2panda.custom_path is not None:
78 es2panda = self.__get_binary_path(self.config.es2panda.custom_path)
91 if not self.config.verifier.enable:
115 …def __init__(self, config: Config, name: str, panda_binaries: Type[PandaBinaries] = PandaBinaries)… argument
116 Runner.__init__(self, config, name)
122 self.binaries = panda_binaries(name, self.build_dir, self.config, self.conf_kind)
125 self.cmd_prefix = self._set_cmd_prefix(config)
[all …]
Drunner_base.py39 from runner.options.config import Config
94 def __init__(self, config: Config, name: str) -> None: argument
97 config.general.build,
102 config.general.build,
110 self.test_root = config.general.test_root
116 …self.default_list_root = Path(config.general.static_core_root) / 'tests' / 'tests-u-runner' / 'tes…
117 self.list_root = config.general.list_root
124 self.build_dir = config.general.build
125 self.arktsconfig = config.es2panda.arktsconfig \
126 if config.es2panda.arktsconfig is not None \
[all …]
/arkcompiler/runtime_core/static_core/runtime/mem/
Dinternal_allocator-inl.h29 template <InternalAllocatorConfig CONFIG>
31 T *InternalAllocator<CONFIG>::AllocArray(size_t size) in AllocArray()
36 template <InternalAllocatorConfig CONFIG>
38 T *InternalAllocator<CONFIG>::AllocArrayLocal(size_t size) in AllocArrayLocal()
43 template <InternalAllocatorConfig CONFIG>
45 std::enable_if_t<!std::is_array_v<T>, T *> InternalAllocator<CONFIG>::New(Args &&...args) in New()
55 template <InternalAllocatorConfig CONFIG>
57 std::enable_if_t<is_unbounded_array_v<T>, std::remove_extent_t<T> *> InternalAllocator<CONFIG>::New… in New()
71 template <InternalAllocatorConfig CONFIG>
73 void InternalAllocator<CONFIG>::Delete(T *ptr) in Delete()
[all …]
Dinternal_allocator.cpp41 template <InternalAllocatorConfig CONFIG>
42 Allocator *InternalAllocator<CONFIG>::allocatorFromRuntime_ = nullptr;
44 template <InternalAllocatorConfig CONFIG>
45 InternalAllocator<CONFIG>::InternalAllocator(MemStatsType *memStats) in InternalAllocator()
48 if constexpr (CONFIG == InternalAllocatorConfig::PANDA_ALLOCATORS) { in InternalAllocator()
63 template <InternalAllocatorConfig CONFIG>
65 [[nodiscard]] void *InternalAllocator<CONFIG>::Alloc(size_t size, Alignment align) in Alloc()
77 if constexpr (CONFIG == InternalAllocatorConfig::PANDA_ALLOCATORS) { in Alloc()
92 template <InternalAllocatorConfig CONFIG>
93 void InternalAllocator<CONFIG>::Free(void *ptr) in Free()
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dthrow.yaml72 runner-options: ['verifier-failure', 'verifier-config']
153 runner-options: ['verifier-failure', 'verifier-config']
546 runner-options: ['verifier-failure', 'verifier-config']
549 runner-options: ['verifier-failure', 'verifier-config']
552 runner-options: ['verifier-failure', 'verifier-config']
555 runner-options: ['verifier-failure', 'verifier-config']
558 runner-options: ['verifier-only', 'verifier-config']
561 runner-options: ['verifier-only', 'verifier-config']
567 runner-options: ['verifier-only', 'verifier-config']
597 runner-options: ['verifier-failure', 'verifier-config']
[all …]
/arkcompiler/runtime_core/static_core/verification/config/process/
Dconfig_process.h19 #include "verification/config/config.h"
20 #include "verification/config/context/context.h"
28 namespace ark::verifier::config {
29 bool ProcessConfig(Config *cfg, const Section &section);
31 void RegisterConfigHandler(Config *cfg, const PandaString &path, callable<bool(Config *, const Sect…
32 } // namespace ark::verifier::config
Dconfig_process.cpp19 #include "verification/config/context/context.h"
27 using ark::verifier::Config;
28 using ark::verifier::config::Section;
30 bool ProcessConfigSection(Config *cfg, const Section &section, const ark::PandaString &path = "") in ProcessConfigSection()
46 namespace ark::verifier::config { namespace
48 void RegisterConfigHandler(Config *cfg, const PandaString &path, callable<bool(Config *, const Sect… in RegisterConfigHandler() argument
54 bool ProcessConfig(Config *cfg, const Section &section) in ProcessConfig()
59 } // namespace ark::verifier::config
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/
DXTools.js30 static CONFIG = null; field in XTools
33 xhr.open('GET', 'config.json');
38 XTools.CONFIG = JSON.parse(xhr.responseText);
39 for (let k in XTools.CONFIG.NodeColor) {
40 XTools.CONFIG.NodeColor[k] = parseInt(XTools.CONFIG.NodeColor[k], 16);
42 for (let k in XTools.CONFIG.LineColor) {
43 XTools.CONFIG.LineColor[k] = parseInt(XTools.CONFIG.LineColor[k], 16);
46 alert('Config file error');
49 alert('Failed to load config file');
/arkcompiler/runtime_core/static_core/verification/config/handlers/
Dconfig_handler_whitelist.cpp17 #include "verification/config/context/context.h"
18 #include "verification/config/process/config_process.h"
34 using ark::verifier::config::Section;
60 static bool RegisterConfigHandlerWhitelistSectionHandler(Config *config, const struct Section &s) in RegisterConfigHandlerWhitelistSectionHandler() argument
83 … LOG(DEBUG, VERIFIER) << "Added to whitelist config '" << s.name << "' methods from class " << c; in RegisterConfigHandlerWhitelistSectionHandler()
85 … LOG(DEBUG, VERIFIER) << "Added to whitelist config '" << s.name << "' methods named " << c; in RegisterConfigHandlerWhitelistSectionHandler()
87 config->debugCfg.AddWhitelistMethodConfig(kind, c); in RegisterConfigHandlerWhitelistSectionHandler()
93 void RegisterConfigHandlerWhitelist(Config *dcfg) in RegisterConfigHandlerWhitelist()
95 static const auto CONFIG_DEBUG_WHITELIST_VERIFIER = [](Config *config, const Section &section) { in RegisterConfigHandlerWhitelist() argument
97 if (!RegisterConfigHandlerWhitelistSectionHandler(config, s)) { in RegisterConfigHandlerWhitelist()
[all …]
Dconfig_handlers.h22 void RegisterConfigHandlerBreakpoints(Config *dcfg);
23 void RegisterConfigHandlerWhitelist(Config *dcfg);
24 void RegisterConfigHandlerOptions(Config *dcfg);
25 void RegisterConfigHandlerMethodOptions(Config *dcfg);
26 void SetDefaultMethodOptions(Config *dcfg);
27 void RegisterConfigHandlerMethodGroups(Config *dcfg);
/arkcompiler/toolchain/build/config/mac/
DBUILD.gn14 import("$build_root/config/mac/mac_sdk.gni")
15 import("$build_root/config/mac/symbols.gni")
16 import("$build_root/config/sysroot.gni")
18 # This is included by reference in the //build/config/compiler config that
20 config("compiler") {
70 # This is included by reference in the //build/config/compiler:runtime_library
71 # config that is applied to all targets. It is here to separate out the logic
74 config("runtime_config") {
94 config("mac_dynamic_flags") {
111 # Remove this config if a target wishes to change the arguments passed to the
[all …]
/arkcompiler/ets_frontend/arkguard/test/grammar/interface_validation/
Dinterface_optional_attributes.ts23 function createSquare(config: SquareConfig): { color: string; area: number } {
25 if (config.color) {
26 newSquare.color = config.color;
28 if (config.width) {
29 newSquare.area = config.width * config.width;
Dinterface_index_signature.ts25 function createSquare(config: SquareConfig): { color: string; area: number } {
27 if (config.colr) {
28 newSquare.color = config.colr;
30 if (config.width) {
31 newSquare.area = config.width * config.width;
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/
Doptions_verifier.py34 "config": self.config,
48 @value(yaml_path="verifier.config", cli_name="verifier_config", cast_to_type=_to_path)
49 def config(self) -> Optional[str]: member in VerifierOptions
56 f'--verifier-config="{self.config}"' if self.config is not None else ''
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/test/multiple_config_test/
Dmultiple_config_test.py48 [os.path.join(self.current_folder, "config-1.yaml")]
79 os.path.join(self.current_folder, "config-1.yaml"),
80 os.path.join(self.current_folder, "config-2.yaml")
116 os.path.join(self.current_folder, "config-1.yaml"),
117 os.path.join(self.current_folder, "config-3.yaml")
144 self.assertTrue(warning.find("config-3.yaml' replaces value") > 0)
151 os.path.join(self.current_folder, "config-3.yaml"),
152 os.path.join(self.current_folder, "config-1.yaml"),
179 self.assertTrue(warning.find("config-1.yaml' replaces value") > 0)
186 os.path.join(self.current_folder, "config-1.yaml"),
[all …]

12345678910>>...52