Home
last modified time | relevance | path

Searched refs:config (Results 1 – 25 of 475) sorted by relevance

12345678910>>...19

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DobjectSpreadRepeatedNullCheckPerf.ts50 function parseWithSpread(config: Record<string, number>): Props {
51config.a !== undefined && { a: config.a.toString() }, ...config.b !== undefined && { b: con…
54 ...config.a !== undefined && { a: config.a.toString() },
55 AssertType(config.a !== undefined && { a: config.a.toString() }, "union");
56 AssertType(config.a !== undefined, "boolean");
57 AssertType(config.a, "number");
59 AssertType({ a: config.a.toString() }, "{ a: string; }");
61 AssertType(config.a.toString(), "string");
62 AssertType(config.a.toString, "(?union) => string");
63 AssertType(config.a, "number");
[all …]
DcontrolFlowElementAccess2.ts21 declare const config: {
22 AssertType(config, "{ [string]: union; }");
30 if (typeof config['works'] !== 'boolean') {
31 config.works.prop = 'test'; // ok
32 AssertType(config.works.prop = 'test', "string");
33 AssertType(config.works.prop, "string");
34 AssertType(config.works, "{ prop: string; }");
37 config['works'].prop = 'test'; // error, config['works']: boolean | { 'prop': string
38 AssertType(config['works'].prop = 'test', "string");
40 AssertType(config['works'].prop, "string");
[all …]
DdeclarationEmitBindingPatternWithReservedWord.ts31 config?: LocaleConfig<T> | undefined;
37 AssertType(<T extends LocaleData>({ app, name, default: defaultLocalesConfig, config: u…
49 config: userLocalesConfig = {},
50 AssertType(config, "any");
/arkcompiler/ets_frontend/test/scripts/performance_test/
Dperformance_build.py33 self.config = None
43 self.config = config_input
51 os.chdir(self.config.project_path)
60 self.developing_test_mode = self.config.developing_test_mode
61 if self.config.ide == performance_config.IdeType.DevEco:
62 os.environ['path'] = self.config.node_js_path + ";" + os.environ['path']
63 os.chdir(self.config.project_path)
64 os.environ['path'] = os.path.join(self.config.jbr_path, "bin") + ";" + os.environ['path']
65 os.environ['JAVA_HOME'] = self.config.jbr_path
66 self.config.cmd_prefix = os.path.join(self.config.project_path, self.config.cmd_prefix)
[all …]
Dperformance_config.py109 config = Config()
110 res = config.application_configs.get(index)
115 setattr(config, k, res[k])
116 return config
/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/ets_frontend/ts2panda/
Dwebpack.config.js29 function initConfig(config, envArgs) { argument
31 Object.assign(config, {
75 const config = {}; constant
76 initConfig(config, env)
77 return config;
/arkcompiler/toolchain/build/config/ohos/
DBUILD.gn14 import("$build_root/config/compiler/compiler.gni")
15 import("$build_root/config/ohos/config.gni")
20 config("compiler") {
34 config("runtime_config") {
61 config("executable_config") {
/arkcompiler/toolchain/build/config/compiler/
DBUILD.gn14 import("$build_root/config/compiler/compiler.gni")
15 import("$build_root/config/sanitizers/sanitizers.gni")
18 import("$build_root/config/arm.gni")
25 config("rtti") {
29 config("no_rtti") {
35 config("exceptions") {
73 config("no_optimize") {
88 # Default "optimization on" config.
89 config("optimize") {
106 config("default_optimization") {
[all …]
/arkcompiler/toolchain/build/config/aosp/
DBUILD.gn14 import("$build_root/config/aosp/config.gni")
15 import("$build_root/config/clang/clang.gni")
16 import("$build_root/config/compiler/compiler.gni")
20 config("compiler") {
49 config("runtime_config") {
90 config("executable_config") {
/arkcompiler/toolchain/build/config/
Dsysroot.gni16 import("$build_root/config/ohos/config.gni")
19 import("$build_root/config/aosp/config.gni")
DBUILDCONFIG.gn145 "$build_root/config/compiler:default_warnings",
146 "$build_root/config/compiler:compiler",
147 "$build_root/config/compiler:default_include_dirs",
148 "$build_root/config/compiler:default_optimization",
149 "$build_root/config/compiler:runtime_config",
150 "$build_root/config:default_libs",
151 "$build_root/config/compiler:ark_code",
152 "$build_root/config/compiler:no_rtti",
159 default_compiler_configs + [ "$build_root/config:executable_config" ]
192 deps += [ "$build_root/config:${target}_deps" ]
DBUILD.gn14 config("executable_config") {
30 configs += [ "$build_root/config/ohos:executable_config" ]
32 configs += [ "$build_root/config/aosp:executable_config" ]
37 config("default_libs") {
/arkcompiler/ets_frontend/test262/
Dbabel-preprocessor.js17 const config = { variable
23 test.contents = babel.transform(test.contents, config).code;
/arkcompiler/runtime_core/gn/build/
DBUILD.gn14 config("compiler_defaults") {
23 config("executable_config") {
31 config("ldconfig") {
/arkcompiler/ets_frontend/test/scripts/sdk_test/
Dreadme_zh.md14 3. 修改配置文件config.yaml,配置Deveco和测试应用的相关参数。各项配置说明详见该文件。
15 4. 如需新增测试应用,可修改配置文件config.yaml,在haps字段中增加配置。可参考配置中的已有应用进行配置。
/arkcompiler/toolchain/build/
Dtest.gni14 import("$build_root/config/clang/clang.gni")
30 # copy fuzz config file
36 "--fuzz-config-file-path",
38 "--fuzz-config-file-output-path",
/arkcompiler/toolchain/build/prebuilts_download/
Dprebuilts_download.py74 def _config_parse(config, tool_repo): argument
75 unzip_dir = config.get('unzip_dir')
76 huaweicloud_url = ''.join([tool_repo, config.get('file_path')])
77 unzip_filename = config.get('unzip_filename')
114 def _hwcloud_download(args, config, bin_dir, code_dir): argument
122 for config_info in config:
151 def _file_handle(config, code_dir): argument
152 for config_info in config:
/arkcompiler/ets_frontend/ts2panda/scripts/
Dnpm-install.sh24 npm config set registry http://repo.huaweicloud.com/repository/npm/
26 npm config set strict-ssl false
/arkcompiler/toolchain/
DBUILD.gn16 config("ark_toolchain_common_config") {
88 config("ark_toolchain_public_config") {
113 # ecmascript unit testcase config
114 config("toolchain_test_config") {
/arkcompiler/runtime_core/tests/cts-generator/
DCMakeLists.txt60 set(VERIFIER_DEBUG_CONFIG "${PROJECT_SOURCE_DIR}/verifier.config")
159 --verifier-config "${PROJECT_BINARY_DIR}/verifier.config"
173 --verifier-config "${PROJECT_BINARY_DIR}/verifier.config"
186 --verifier-config "${PROJECT_BINARY_DIR}/verifier.config"
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dlowering_relate_gate_test.cpp66 CompilationConfig config(TARGET_X64); in HWTEST_F_L0() local
67 TypeMCRLowering typeMCRLowering(&circuit, &config, nullptr, false, "TypeCheckFramework"); in HWTEST_F_L0()
86 CompilationConfig config(TARGET_X64); in HWTEST_F_L0() local
87 TypeMCRLowering typeMCRLowering(&circuit, &config, nullptr, false, "TypeConvertFramework"); in HWTEST_F_L0()
/arkcompiler/toolchain/build/config/posix/
DBUILD.gn14 import("$build_root/config/sysroot.gni")
18 config("runtime_config") {
/arkcompiler/runtime_core/tests/fuzztest/
DBUILD.gn14 import("//build/config/ohos/config.gni")

12345678910>>...19