| /arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
| D | tupleTypeInference.ts | 28 when<T>(t?: T): IPromise<T>; 36 let a = $q.all([$q.when<string>(), $q.when<number>()]); 38 AssertType($q.all([$q.when<string>(), $q.when<number>()]), "IPromise<[string, number]>"); 40 AssertType([$q.when<string>(), $q.when<number>()], "[IPromise<string>, IPromise<number>]"); 41 AssertType($q.when<string>(), "IPromise<string>"); 42 AssertType($q.when, "<T>(?T) => IPromise<T>"); 43 AssertType($q.when<number>(), "IPromise<number>"); 44 AssertType($q.when, "<T>(?T) => IPromise<T>"); 47 let b = $q.all<string, number>([$q.when<string>(), $q.when<number>()]); 49 AssertType($q.all<string, number>([$q.when<string>(), $q.when<number>()]), "IPromise<[string, numbe… [all …]
|
| D | conditionalTypeContextualTypeSimplificationsSuceeds.ts | 23 when: (value: string) => boolean; 33 bad({ when: value => false }); 34 AssertType(bad({ when: value => false }), "void"); 36 AssertType({ when: value => false }, "{ when: (string) => false; }"); 37 AssertType(when, "(string) => false"); 42 good1({ when: value => false }); 43 AssertType(good1({ when: value => false }), "void"); 45 AssertType({ when: value => false }, "{ when: (string) => false; }"); 46 AssertType(when, "(string) => false"); 51 good2({ when: value => false }); [all …]
|
| D | typeGuardOfFormExpr1AndExpr2.ts | 50 // - when true, narrows the type of x by expr1 when true and then by expr2 when true, or 51 // - when false, narrows the type of x to T1 | T2, where T1 is the type of x narrowed by expr1 whe… 52 // false, and T2 is the type of x narrowed by expr1 when true and then by expr2 when false.
|
| D | typeGuardOfFormExpr1OrExpr2.ts | 50 // - when true, narrows the type of x to T1 | T2, where T1 is the type of x narrowed by expr1 when… 51 // and T2 is the type of x narrowed by expr1 when false and then by expr2 when true, or 52 // - when false, narrows the type of x by expr1 when false and then by expr2 when false.
|
| D | typeGuardOfFormTypeOfBoolean.ts | 58 // - when true, narrows the type of x to the given primitive type, or 59 // - when false, removes the primitive type from the type of x. 124 // - when true, narrows the type of x by typeof x === s when false, or 125 // - when false, narrows the type of x by typeof x === s when true.
|
| D | typeGuardOfFormTypeOfString.ts | 58 // - when true, narrows the type of x to the given primitive type, or 59 // - when false, removes the primitive type from the type of x. 123 // - when true, narrows the type of x by typeof x === s when false, or 124 // - when false, narrows the type of x by typeof x === s when true.
|
| D | typeGuardOfFormTypeOfNumber.ts | 58 // - when true, narrows the type of x to the given primitive type, or 59 // - when false, removes the primitive type from the type of x. 122 // - when true, narrows the type of x by typeof x === s when false, or 123 // - when false, narrows the type of x by typeof x === s when true.
|
| D | typeGuardOfFormNotExpr.ts | 40 // - when true, narrows the type of x by expr when false, or 41 // - when false, narrows the type of x by expr when true.
|
| D | bigintMissingESNext.ts | 33 // no error when bigint is used even when ES2020 lib is not present
|
| D | bigintMissingES2020.ts | 33 // no error when bigint is used even when ES2020 lib is not present
|
| D | bigintMissingES2019.ts | 33 // no error when bigint is used even when ES2020 lib is not present
|
| /arkcompiler/runtime_core/docs/ |
| D | runtime-debug-api.md | 11 …Debugger functionality is provided via shared library, that runtime loads when works in debugger m… 17 …llers) they are work in the same process. Debugger is loaded as shared library when it's necessary. 23 The loaded agent starts a debug session when necessary (see `Runtime::StartDebugSession()`). When s… 26 * `LoadModule` - occurs when panda file is loaded by the runtime 27 * `BytecodePcChanged` - occurs when bytecode pc is changed during interpretation (only if runtime w…
|
| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | js_debugger_interface.h | 50 * \brief called by the ecmavm when the next statement being executed is debugger statement. 59 … * \brief called by the ecmavm when breakpoint hits. Thread where breakpoint hits is stopped until 68 * \brief called by the ecmavm when panda file is loaded 74 * \brief called by the ecmavm when virtual machine start initialization 79 * \brief called by the ecmavm when virtual machine death
|
| /arkcompiler/ets_frontend/arkguard/ |
| D | README.md | 21 When you create a new project, the following config will be generated in `build-profile.json5`. 32 When you create a new library, additional property `consumerFiles` will be added. 49 The files in the property `ruleOptions.files` will be applied when you build HAP or HAR. 51 The files in the property `consumerFiles` will be applied when you build the project or library whi… 54 When you are building HAP or HAR, the final obfucation rules are combination of self's `ruleOptions… 132 names when you do not want to obfuscate them. 167 Keep options are useful only when you use `enable-property-obfuscation` or `enable-toplevel-obfusca… 201 console.log(obj['t']); // t and 't' can be safely obfuscated when `-enable-string-property-o… 204 console.log(obj['v']); // 'v' can be safely obfuscated when `-enable-string-property-obfusca… 267 When building your main project, all these rules will be merged by the following strategy (in pseud…
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/ |
| D | IR-instructions.md.erb | 30 when 'NullCheck' 32 when 'ZeroCheck' 34 when 'BoundsCheck' 36 when 'NegativeCheck'
|
| /arkcompiler/runtime_core/tests/checked/ |
| D | checker.rb | 220 when :options 222 when :boot 224 when :env 226 when :inputs 228 when :abort 230 when :output 365 when SearchState::NONE 369 when SearchState::SEARCH_BODY 374 when SearchState::SEARCH_END 395 when SearchState::NONE [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/runner/ |
| D | single_test_runner.rb | 144 when 0 151 when 1 171 when 0 178 when 255 198 when @expected_passed_exit_code 205 when @expected_failed_exit_code, 1 # '1' for the case when Exception is not caught in test
|
| /arkcompiler/runtime_core/bytecode_optimizer/ |
| D | bytecode_optimizer_isapi.rb | 267 when 32 269 when 64 271 when 'ref' 288 when 32 290 when 64 292 when 'ref'
|
| /arkcompiler/runtime_core/compiler/docs/ |
| D | aot_cha.md | 9 situations when several same classes were passed and only the first is considered by VM. To identif… 56 The boot class path now is a part of class context string. When boot image would be implemented the… 61 is performed during Runtime initialization when only boot panda files are loaded. The verification … 62 files for boot panda files is needed when the options `--enable-an` is used.
|
| D | reg_alloc_graph_coloring_doc.md | 32 … the same clique, or start another one. This way we don’t have situations when different cliques a… 37 … Pereira algorithm) is trying to coalesce after coloring, that makes work when major decisions alr… 38 - Biasing, is a way when in front of coloring nodes are “hinted” with preferred colors. And on stag… 42 …tions of underlying nodes. That value will be later to prevent situation, when first bias’s colore… 61 Meantime information about call-site convention-registers is not passed to allocator. When it is av…
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | constructor_test.cpp | 55 // TODO! Enable when will supported in ~ConstructorTest() 92 // TODO! Enable when will supported in TEST_F() 129 // TODO! Enable when will supported in TEST_F() 173 // TODO! Enable when will supported in TEST_F() 214 // TODO! Enable when will supported in TEST_F()
|
| /arkcompiler/runtime_core/docs/diagrams/ |
| D | g1gc-gc-activity.puactivity | 22 - last time when this region participated in GC or when it was created
|
| /arkcompiler/ets_frontend/test/scripts/performance_test/ |
| D | readme.md | 98 **When you test the incremental building, the code will be add into this file** 101 **add this code when incremental building test** 107 **when the code need to revert, this can help to find where the code you add**
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | ldobj.64.yaml | 211 …description: Check that verifier reports an error when the 1st operand is not a ref to an object (… 248 …description: Check that verifier reports an error when the 1st operand is not a ref to an object (… 282 …Check that verifier reports an error when the field doesn't resolve to a non-static valid object f… 337 …Check that verifier reports an error when the field doesn't resolve to a non-static valid object f… 393 …description: Check that verifier reports an error when the field resolves to a field with size or … 435 …description: Check that verifier reports an error when the field resolves to a field with size or … 473 …description: Check that verifier does not report any error when the field has size or type that is… 497 description: Check that compiler reports an error when the register number is incorrect
|
| D | ldobj.v.64.yaml | 209 …description: Check that verifier reports an error when the 2nd operand is not a ref to an object (… 247 …description: Check that verifier reports an error when the 2nd operand is not a ref to an object (… 282 …Check that verifier reports an error when the field doesn't resolve to a non-static valid object f… 337 …Check that verifier reports an error when the field doesn't resolve to a non-static valid object f… 393 …description: Check that verifier reports an error when the field resolves to a field with size or … 435 …description: Check that verifier reports an error when the field resolves to a field with size or … 473 …description: Check that verifier does not report any error when the field has size or type that is… 497 description: Check that compiler reports an error when the register number is incorrect
|