Home
last modified time | relevance | path

Searched full:rules (Results 1 – 25 of 215) sorted by relevance

123456789

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/
DIntlPluralRulesTest.ets26 const rules = new Intl.PluralRules(locale, options)
27 const result = rules.select(value)
60 const rules = new Intl.PluralRules("en")
61 const result = rules.resolvedOptions()
70 const rules = new Intl.PluralRules("en", { type: "ordinal" } as Intl.PluralRulesOptions)
71 const result = rules.resolvedOptions()
75 … const rules = new Intl.PluralRules("en", { minimumFractionDigits: 2 } as Intl.PluralRulesOptions)
76 const result = rules.resolvedOptions()
80 … const rules = new Intl.PluralRules("en", { maximumFractionDigits: 4 } as Intl.PluralRulesOptions)
81 const result = rules.resolvedOptions()
[all …]
/arkcompiler/runtime_core/static_core/compiler/docs/
Dpeephole_doc.md3 **Peepholes** - optimizations which try to apply some small rules for instruction.
16 For instruction tried to apply some rules.
20 ### Rules subsection
21 This some of the rules:
28 * De Morgan rules for `and` and `or` instructions.
33 try to apply rules
Ddeoptimize_elimination_doc.md13 Visit `DeoptimizeIf` and `SaveStateDeoptimize` instructions in RPO order and check specific rules.
15 ### Rules subsection
/arkcompiler/ets_frontend/ets2panda/lsp/src/formatting/
Drules.cpp16 #include "formatting/rules.h"
23 std::vector<RuleSpec> rules; in GetAllRules() local
25 return rules; in GetAllRules()
/arkcompiler/runtime_core/static_core/scripts/
Dshell_linters.sh23 echo " For bashate, all rules are checked by default except E006 and E042"
24 echo " One can set BASHATE_IGNORE_RULES variable to skip oher rules."
25 echo " For shellcheck, a prefedined setof rules is checked (see comments in the script)."
26 echo " One can set SHELLCHECK_INCLLUDE_RULES variable to check custom set of rules"
31 # For shellcheck, we only enable certain rules
66 # For bashate, we enable all rules and only exclude several ones
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/
D.eslintrc.json2 "rules": { object
9 "rules": { object
/arkcompiler/runtime_core/libabckit/tests/stress/
Dfail_list_node_js.json5 …"/tmp/abckit_nodejs/tools/eslint/node_modules/eslint/lib/rules/newline-per-chained-call.js": "ASSE…
6 …"/tmp/abckit_nodejs/tools/eslint/node_modules/eslint/lib/rules/object-shorthand.js": "ASSERTION FA…
7 …"/tmp/abckit_nodejs/tools/eslint/node_modules/eslint/lib/rules/prefer-arrow-callback.js": "ASSERTI…
/arkcompiler/ets_frontend/ets2panda/linter/
Dpackage.json23 …"test_all": "npm run testrunner -- -d test/main,test/rules,test/regression,test/extended_features,…
29 "test_rules": "npm run testrunner -- -d test/rules",
32 …"test_all_sdk": "npm run testrunner -- -d test/main,test/rules,test/regression,test/extended_featu…
35 "test_rules_sdk": "npm run testrunner -- -d test/rules --sdk",
39 …"update-tests": "node scripts/update-test-results.mjs test/main test/rules test/regression test/ex…
47 …node coverage/build_instrument/testRunner/TestRunner.js -d test/main,test/rules,test/regression,te…
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/native/core/
DIntlPluralRules.cpp82 …auto rules = std::unique_ptr<icu::PluralRules>(icu::PluralRules::forLocale(locale, pluralType, sta… in GetPluralRules() local
87 return rules; in GetPluralRules()
133 auto rules = GetPluralRules(env, locale, type); in IcuPluralSelect() local
134 if (UNLIKELY(rules == nullptr)) { in IcuPluralSelect()
155 auto category = rules->select(formatted, status); in IcuPluralSelect()
157 ThrowRangeError(env, "Failed to select plural rules: ", u_errorName(status)); in IcuPluralSelect()
171 auto rules = GetPluralRules(env, locale, type); in IcuGetPluralCategories() local
172 if (UNLIKELY(rules == nullptr)) { in IcuGetPluralCategories()
177 auto enumCategories = std::unique_ptr<icu::StringEnumeration>(rules->getKeywords(status)); in IcuGetPluralCategories()
/arkcompiler/ets_frontend/arkguard/
DREADME.md37 "files": ["obfuscation-rules.txt"],
50 "files": ["obfuscation-rules.txt"],
52 "consumerFiles": ["consumer-rules.txt"]
67 When you are building HAP or HAR, the final obfucation rules are combination of self's `ruleOptions…
72 "[How Arkguard merges rules](#how-arkguard-merges-rules)".
74 ## Write rules
76 The files `obfuscation-rules.txt` and `consumer-rules.txt` are created by DevEco Studio automatical…
77 contain any rule by default. You can write rules in these files or include rules from other files, …
86 "files": ["obfuscation-rules.txt", "myrules.txt"],
88 "consumerFiles": ["consumer-rules.txt", "my-consumer-rules.txt"]
[all …]
DREADME-cn.md32 "files": ["obfuscation-rules.txt"],
45 "files": ["obfuscation-rules.txt"],
47 "consumerFiles": ["consumer-rules.txt"]
69 在创建工程或library的时候,DevEco Studio会自动生成`obfuscation-rules.txt`和`consumer-rules.txt`文件,
79 "files": ["obfuscation-rules.txt", "myrules.txt"],
81 "consumerFiles": ["consumer-rules.txt", "my-consumer-rules.txt"]
195 2. 编译HSP时,如果开启`-enable-export-obfuscation`选项,需要在模块中的混淆配置文件`obfuscation-rules.txt`中保留对外暴露的接口。
196 3. HAP/HSP/HAR依赖HSP场景下,编译时如果开启`-enable-export-obfuscation`选项,需要在模块中的混淆配置文件`obfuscation-rules.txt`中保…
203 // HSP以及依赖此HSP的模块中obfuscation-rules.txt文件配置:
/arkcompiler/ets_frontend/arkguard/test/ut/initialization/
DConfigResolver-hsp.spec.ts52 …apRulesFile = path.join(__dirname, '../../testData/obfuscation/Configs/Hap/obfuscation-rules.txt');
54 …esFile = path.join(__dirname, '../../testData/obfuscation/Configs/localHsp/obfuscation-rules.txt');
56 …RulesFile = path.join(__dirname, '../../testData/obfuscation/Configs/localHsp/consumer-rules.txt');
57 …sFile = path.join(__dirname, '../../testData/obfuscation/Configs/remoteHsp/obfuscation-rules.txt');
58 …ulesFile = path.join(__dirname, '../../testData/obfuscation/Configs/remoteHsp/consumer-rules.txt');
61 …esFile = path.join(__dirname, '../../testData/obfuscation/Configs/localHar/obfuscation-rules.txt');
62 …RulesFile = path.join(__dirname, '../../testData/obfuscation/Configs/localHar/consumer-rules.txt');
64 …sFile = path.join(__dirname, '../../testData/obfuscation/Configs/remoteHar/obfuscation-rules.txt');
65 …ulesFile = path.join(__dirname, '../../testData/obfuscation/Configs/remoteHar/consumer-rules.txt');
70 …le = path.join(__dirname, '../../testData/obfuscation/Configs/localMainHsp/obfuscation-rules.txt');
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/interop_js/
D1_introduction.rst49 We will elaborate interop rules in the upcoming chapters. Before that we emphasize that we basicall…
55 Interop via 'import' and import rules
58 Our interop can be made via `import`, like what we have done in TS. However, we do have some rules
178rules of the file type: ArkTS files should follow the type checking rules of ArkTS, TS files shoul…
184 .. _Principles for compilation type mapping rules:
186 Principles for compilation type mapping rules
188 …nto primitive types(e.g number -> number).(see :ref:`Typecheck conversion rules. Primitive values`)
190 …string} -> interface Y {x: X, s: string}) (see :ref:`Typecheck conversion rules. Reference values`)
192 Principles for runtime mapping rules
195 …e mapped into primitive types (except special cases, see :ref:`Conversion rules Primitive values`).
/arkcompiler/ets_frontend/ets2panda/linter/homecheck/src/model/
DRuleConfig.ts21 public rules: object; property in RuleConfig
40 this.rules = config.rules ?? {};
/arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_increace_compile/bytecodehar/
Dbuild-profile.json528 "./obfuscation-rules.txt"
32 "./consumer-rules.txt"
/arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_test/source_har1/
Dbuild-profile.json528 "./obfuscation-rules.txt"
32 "./consumer-rules.txt"
/arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_out_project/out_har/
Dbuild-profile.json528 "./obfuscation-rules.txt"
32 "./consumer-rules.txt"
/arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_test/bytecode_har1/
Dbuild-profile.json533 "./obfuscation-rules.txt"
37 "./consumer-rules.txt"
/arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_test/bytecode_har/
Dbuild-profile.json533 "./obfuscation-rules.txt"
37 "./consumer-rules.txt"
/arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_test/source_har/
Dbuild-profile.json529 "./obfuscation-rules.txt"
33 "./consumer-rules.txt"
/arkcompiler/toolchain/
DOAT.xml30 1. policy: All policyitems will be merged to default OAT.xml rules, the name of policy doesn't affe…
44 7. policyitem filefilter: Used to bind filefilter which define filter rules.
45 8. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is us…
47 Note:If the text contains special characters, please escape them according to the following rules:
/arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_increace_compile/library/
Dbuild-profile.json536 "./obfuscation-rules.txt"
40 "./consumer-rules.txt"
/arkcompiler/runtime_core/taihe/compiler/
Dpyproject.toml82 # See all rules at https://beta.ruff.rs/docs/rules/
97 "RUF", # Ruff-specific rules
125 # Automatically disable rules that are incompatible with Google docstring convention
/arkcompiler/runtime_core/compiler/docs/
Ddeoptimize_elimination_doc.md13 Visit `DeoptimizeIf` and `SaveStateDeoptimize` instructions in RPO order and check specific rules.
15 ### Rules subsection
/arkcompiler/ets_frontend/ets2panda/linter/homecheck/src/utils/common/
DFileRuleMapping.ts70 const rules: Rule[] = []; constant
75 rules.push(value);
77 return rules;
148 for (const [key, rules] of fileRulesMap) { constant
149 const filteredRules = rules.filter(rule => rule.alert !== 0);

123456789