| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/ |
| D | IntlPluralRulesTest.ets | 26 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/ |
| D | peephole_doc.md | 3 **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
|
| D | deoptimize_elimination_doc.md | 13 Visit `DeoptimizeIf` and `SaveStateDeoptimize` instructions in RPO order and check specific rules. 15 ### Rules subsection
|
| /arkcompiler/ets_frontend/ets2panda/lsp/src/formatting/ |
| D | rules.cpp | 16 #include "formatting/rules.h" 23 std::vector<RuleSpec> rules; in GetAllRules() local 25 return rules; in GetAllRules()
|
| /arkcompiler/runtime_core/static_core/scripts/ |
| D | shell_linters.sh | 23 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.json | 2 "rules": { object 9 "rules": { object
|
| /arkcompiler/runtime_core/libabckit/tests/stress/ |
| D | fail_list_node_js.json | 5 …"/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/ |
| D | package.json | 23 …"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/ |
| D | IntlPluralRules.cpp | 82 …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/ |
| D | README.md | 37 "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 …]
|
| D | README-cn.md | 32 "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/ |
| D | ConfigResolver-hsp.spec.ts | 52 …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/ |
| D | 1_introduction.rst | 49 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 … 178 …rules 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/ |
| D | RuleConfig.ts | 21 public rules: object; property in RuleConfig 40 this.rules = config.rules ?? {};
|
| /arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_increace_compile/bytecodehar/ |
| D | build-profile.json5 | 28 "./obfuscation-rules.txt" 32 "./consumer-rules.txt"
|
| /arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_test/source_har1/ |
| D | build-profile.json5 | 28 "./obfuscation-rules.txt" 32 "./consumer-rules.txt"
|
| /arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_out_project/out_har/ |
| D | build-profile.json5 | 28 "./obfuscation-rules.txt" 32 "./consumer-rules.txt"
|
| /arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_test/bytecode_har1/ |
| D | build-profile.json5 | 33 "./obfuscation-rules.txt" 37 "./consumer-rules.txt"
|
| /arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_test/bytecode_har/ |
| D | build-profile.json5 | 33 "./obfuscation-rules.txt" 37 "./consumer-rules.txt"
|
| /arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_test/source_har/ |
| D | build-profile.json5 | 29 "./obfuscation-rules.txt" 33 "./consumer-rules.txt"
|
| /arkcompiler/toolchain/ |
| D | OAT.xml | 30 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/ |
| D | build-profile.json5 | 36 "./obfuscation-rules.txt" 40 "./consumer-rules.txt"
|
| /arkcompiler/runtime_core/taihe/compiler/ |
| D | pyproject.toml | 82 # 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/ |
| D | deoptimize_elimination_doc.md | 13 Visit `DeoptimizeIf` and `SaveStateDeoptimize` instructions in RPO order and check specific rules. 15 ### Rules subsection
|
| /arkcompiler/ets_frontend/ets2panda/linter/homecheck/src/utils/common/ |
| D | FileRuleMapping.ts | 70 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);
|