| /arkcompiler/ets_frontend/ets2panda/linter/src/lib/utils/consts/ |
| D | StandardLibraries.ts | 17 'lib.es5.d.ts', 18 'lib.es2015.iterable.d.ts', 19 'lib.es2015.generator.d.ts', 20 'lib.es2015.proxy.d.ts', 21 'lib.es2015.promise.d.ts', 22 'lib.es2015.symbol.wellknown.d.ts', 23 'lib.es2015.symbol.d.ts', 24 'lib.es2015.reflect.d.ts', 25 'lib.es2015.collection.d.ts', 26 'lib.es2015.core.d.ts', [all …]
|
| /arkcompiler/runtime_core/taihe/compiler/taihe/semantics/ |
| D | format.py | 73 def with_attr(self, d: "Decl", s: str) -> str: 74 if not d.attrs: 77 self.as_attr(f"@{item}") for item in self.get_format_attr(d) 81 def get_type_ref_decl(self, d: "TypeRefDecl"): 82 type_ref_repr = self.handle_decl(d) 83 if not d.is_resolved or not self.show_resolved: 86 d.maybe_resolved_ty.signature if d.maybe_resolved_ty else "<error type>" 92 def visit_long_type_ref_decl(self, d: "LongTypeRefDecl") -> str: 93 return self.with_attr(d, f"{d.pkname}.{d.symbol}") 96 def visit_short_type_ref_decl(self, d: "ShortTypeRefDecl") -> str: [all …]
|
| D | visitor.py | 185 - Call `handle_decl(d)` to start visiting a declaration. 191 def handle_decl(self, d: "DeclProtocol") -> T: 194 self.visiting = d 196 return d._accept(self) # type: ignore 205 def visit_decl(self, d: "Decl") -> T: 209 def visit_param_decl(self, d: "ParamDecl") -> T: 210 return self.visit_decl(d) 214 def visit_type_ref_decl(self, d: "TypeRefDecl") -> T: 215 return self.visit_decl(d) 217 def visit_short_type_ref_decl(self, d: "ShortTypeRefDecl") -> T: [all …]
|
| D | analysis.py | 97 for d in p.declarations: 98 name = p.name + "." + d.name 100 diag.emit(SymbolConflictWithNamespaceError(d, name, packages)) 136 def visit_package_ref_decl(self, d: PackageRefDecl) -> None: 137 if d.is_resolved: 139 d.is_resolved = True 141 pkg = self.pkg_group.lookup(d.symbol) 144 self.diag.emit(PackageNotExistError(d.symbol, loc=d.loc)) 147 d.maybe_resolved_pkg = pkg 150 def visit_declaration_ref_decl(self, d: DeclarationRefDecl) -> None: [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/scripts/ |
| D | bundle-ts-lib-declarations.mjs | 21 'lib.d.ts', 22 'lib.dom.iterable.d.ts', 23 'lib.dom.d.ts', 24 'lib.es2015.symbol.wellknown.d.ts', 25 'lib.es2015.symbol.d.ts', 26 'lib.es2015.reflect.d.ts', 27 'lib.es2015.proxy.d.ts', 28 'lib.es2015.promise.d.ts', 29 'lib.es2015.iterable.d.ts', 30 'lib.es2015.generator.d.ts', [all …]
|
| /arkcompiler/runtime_core/static_core/scripts/sdk/test/ |
| D | test_file_expected_list_ts_linter.txt | 6 build-sdk/sdk/tslinter/dist/lib.dom.d.ts 7 build-sdk/sdk/tslinter/dist/lib.dom.iterable.d.ts 8 build-sdk/sdk/tslinter/dist/lib.d.ts 9 build-sdk/sdk/tslinter/dist/lib.es5.d.ts 10 build-sdk/sdk/tslinter/dist/lib.es6.d.ts 11 build-sdk/sdk/tslinter/dist/lib.es2015.collection.d.ts 12 build-sdk/sdk/tslinter/dist/lib.es2015.core.d.ts 13 build-sdk/sdk/tslinter/dist/lib.es2015.d.ts 14 build-sdk/sdk/tslinter/dist/lib.es2015.generator.d.ts 15 build-sdk/sdk/tslinter/dist/lib.es2015.iterable.d.ts [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/serialization/ |
| D | list.std_serialization_json_static.yaml | 20 method_signature: {d: byte}, 22 method_signature_desc: {d: byte}, 23 method_test_index_data: {test1: {d: 1}, 24 test2: {d: -1}, 25 test3: {d: 0}, 26 test4: {d: Byte.MAX_VALUE as byte}, 27 test5: {d: Byte.MIN_VALUE as byte}, 42 method_signature: {d: short}, 44 method_signature_desc: {d: short}, 45 method_test_index_data: {test1: {d: 1}, [all …]
|
| /arkcompiler/runtime_core/static_core/cmake/third_party/typescript/ |
| D | CMakeLists.txt | 30 ${TYPESCRIPT_ROOT}/lib/lib.d.ts 31 ${TYPESCRIPT_ROOT}/lib/lib.dom.d.ts 32 ${TYPESCRIPT_ROOT}/lib/lib.dom.iterable.d.ts 33 ${TYPESCRIPT_ROOT}/lib/lib.es2015.collection.d.ts 34 ${TYPESCRIPT_ROOT}/lib/lib.es2015.core.d.ts 35 ${TYPESCRIPT_ROOT}/lib/lib.es2015.d.ts 36 ${TYPESCRIPT_ROOT}/lib/lib.es2015.generator.d.ts 37 ${TYPESCRIPT_ROOT}/lib/lib.es2015.iterable.d.ts 38 ${TYPESCRIPT_ROOT}/lib/lib.es2015.promise.d.ts 39 ${TYPESCRIPT_ROOT}/lib/lib.es2015.proxy.d.ts [all …]
|
| /arkcompiler/toolchain/test/autotest/ |
| D | preload.py | 41 d = UiExplorer(device) 43 out_message1 = d.hdc("shell ls /sys_prod/app/MSPES") 44 out_message2 = d.hdc("shell param get persist.sys.hilog.binary.on") 48 d.Storage.remount("/sys_prod") 49 d.hdc("shell rm /sys_prod/app/MSPES/MSPES.hap") 53 d.hdc("shell param set persist.sys.hilog.binary.on false") 57 d.System.reboot() 58 d.System.wait_for_boot_complete() 59 d.shell("power-shell setmode 602") 60 d.Screen.wake_up() [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top+export/08_enum/ |
| D | 01_enum_01_expected.txt | 15 import d from 'assert'; 20 d(A1.prop1 === 1); 21 d(A1.prop2 === 2); 29 d(f === 1); 30 d(e.up === 1); 31 d(e.down === 2); 32 d(e.left === 3); 33 d(e.right === 4); 34 d(e[1] === 'up'); 35 d(e[3] === 'left'); [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/top+export/08_enum/ |
| D | 01_enum_01_expected.txt | 15 import d from 'assert'; 20 d(A1.prop1 === 1); 21 d(A1.prop2 === 2); 29 d(f === 1); 30 d(e.up === 1); 31 d(e.down === 2); 32 d(e.left === 3); 33 d(e.right === 4); 34 d(e[1] === 'up'); 35 d(e[3] === 'left'); [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top/08_enum/ |
| D | 01_enum_01_expected.txt | 15 import d from 'assert'; 20 d(A1.prop1 === 1); 21 d(A1.prop2 === 2); 29 d(f === 1); 30 d(e.up === 1); 31 d(e.down === 2); 32 d(e.left === 3); 33 d(e.right === 4); 34 d(e[1] === 'up'); 35 d(e[3] === 'left'); [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/top/08_enum/ |
| D | 01_enum_01_expected.txt | 15 import d from 'assert'; 20 d(A1.prop1 === 1); 21 d(A1.prop2 === 2); 29 d(f === 1); 30 d(e.up === 1); 31 d(e.down === 2); 32 d(e.left === 3); 33 d(e.right === 4); 34 d(e[1] === 'up'); 35 d(e[3] === 'left'); [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/re_export/diamond/ |
| D | D-expected.txt | 13 "program": "D.ets" 18 "program": "D.ets" 33 "program": "D.ets" 38 "program": "D.ets" 46 "program": "D.ets" 51 "program": "D.ets" 60 "program": "D.ets" 65 "program": "D.ets" 78 "program": "D.ets" 83 "program": "D.ets" [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/ |
| D | typeinference_function_generic.ets | 16 function fn1<T extends D, D>(x: T, y: D) {} 19 function fn2<T extends D, D>(x: D, y: T) {} 22 function fn3<T, D extends T>(x: T, y: D) {} 25 function fn4<T, D extends T>(x: D, y: T) {} 28 function fn5<T extends D ,D>(x: D, y:T) {} 32 function fn6<T, F extends T, D extends F>(x:T,y:D,z:F){} 35 function fn7<T extends D, D extends /* @@ label */T>(x:T, y:D){} 38 /* @@@ label Error TypeError: Type parameter 'D' has circular constraint dependency. */
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/24.relational_expressions/05.enumeration_relational_operators/ |
| D | enum_union.ets | 24 enum Size { S = "a", M = "b", L = "c", XL = "d" } 30 {% for d in operands %} 31 assertTrue({{c.op[0]}}({{d[0]}} < {{d[1]}})) 32 assertTrue({{c.op[1]}}({{d[0]}} < {{d[2]}})) 33 assertTrue({{c.op[2]}}({{d[1]}} < {{d[2]}})) 34 assertTrue({{c.op[3]}}({{d[0]}} <= {{d[1]}})) 35 assertTrue({{c.op[4]}}({{d[0]}} <= {{d[2]}})) 36 assertTrue({{c.op[5]}}({{d[1]}} <= {{d[2]}})) 37 assertTrue({{c.op[6]}}({{d[0]}} > {{d[1]}})) 38 assertTrue({{c.op[7]}}({{d[0]}} > {{d[2]}})) [all …]
|
| D | enum_tup.ets | 30 {% for d in operands %} 31 assertTrue({{c.op[0]}}({{d[0]}} < {{d[1]}})) 32 assertTrue({{c.op[1]}}({{d[0]}} < {{d[2]}})) 33 assertTrue({{c.op[2]}}({{d[1]}} < {{d[2]}})) 34 assertTrue({{c.op[3]}}({{d[0]}} <= {{d[1]}})) 35 assertTrue({{c.op[4]}}({{d[0]}} <= {{d[2]}})) 36 assertTrue({{c.op[5]}}({{d[1]}} <= {{d[2]}})) 37 assertTrue({{c.op[6]}}({{d[0]}} > {{d[1]}})) 38 assertTrue({{c.op[7]}}({{d[0]}} > {{d[2]}})) 39 assertTrue({{c.op[8]}}({{d[1]}} > {{d[2]}})) [all …]
|
| D | enum_cond.ets | 27 {% for d in operands %} 28 assertTrue({{c.op[0]}}({{d[0]}} < {{d[1]}})) 29 assertTrue({{c.op[1]}}({{d[0]}} < {{d[2]}})) 30 assertTrue({{c.op[2]}}({{d[1]}} < {{d[2]}})) 31 assertTrue({{c.op[3]}}({{d[0]}} <= {{d[1]}})) 32 assertTrue({{c.op[4]}}({{d[0]}} <= {{d[2]}})) 33 assertTrue({{c.op[5]}}({{d[1]}} <= {{d[2]}})) 34 assertTrue({{c.op[6]}}({{d[0]}} > {{d[1]}})) 35 assertTrue({{c.op[7]}}({{d[0]}} > {{d[2]}})) 36 assertTrue({{c.op[8]}}({{d[1]}} > {{d[2]}})) [all …]
|
| D | enum_var.ets | 27 {% for d in operands %} 28 assertTrue({{c.op[0]}}({{d[0]}} < {{d[1]}})) 29 assertTrue({{c.op[1]}}({{d[0]}} < {{d[2]}})) 30 assertTrue({{c.op[2]}}({{d[1]}} < {{d[2]}})) 31 assertTrue({{c.op[3]}}({{d[0]}} <= {{d[1]}})) 32 assertTrue({{c.op[4]}}({{d[0]}} <= {{d[2]}})) 33 assertTrue({{c.op[5]}}({{d[1]}} <= {{d[2]}})) 34 assertTrue({{c.op[6]}}({{d[0]}} > {{d[1]}})) 35 assertTrue({{c.op[7]}}({{d[0]}} > {{d[2]}})) 36 assertTrue({{c.op[8]}}({{d[1]}} > {{d[2]}})) [all …]
|
| D | enum_arr.ets | 30 {% for d in operands %} 31 assertTrue({{c.op[0]}}({{d[0]}} < {{d[1]}})) 32 assertTrue({{c.op[1]}}({{d[0]}} < {{d[2]}})) 33 assertTrue({{c.op[2]}}({{d[1]}} < {{d[2]}})) 34 assertTrue({{c.op[3]}}({{d[0]}} <= {{d[1]}})) 35 assertTrue({{c.op[4]}}({{d[0]}} <= {{d[2]}})) 36 assertTrue({{c.op[5]}}({{d[1]}} <= {{d[2]}})) 37 assertTrue({{c.op[6]}}({{d[0]}} > {{d[1]}})) 38 assertTrue({{c.op[7]}}({{d[0]}} > {{d[2]}})) 39 assertTrue({{c.op[8]}}({{d[1]}} > {{d[2]}})) [all …]
|
| D | enum_fun.ets | 37 {% for d in operands %} 38 assertTrue({{c.op[0]}}({{d[0]}} < {{d[1]}})) 39 assertTrue({{c.op[1]}}({{d[0]}} < {{d[2]}})) 40 assertTrue({{c.op[2]}}({{d[1]}} < {{d[2]}})) 41 assertTrue({{c.op[3]}}({{d[0]}} <= {{d[1]}})) 42 assertTrue({{c.op[4]}}({{d[0]}} <= {{d[2]}})) 43 assertTrue({{c.op[5]}}({{d[1]}} <= {{d[2]}})) 44 assertTrue({{c.op[6]}}({{d[0]}} > {{d[1]}})) 45 assertTrue({{c.op[7]}}({{d[0]}} > {{d[2]}})) 46 assertTrue({{c.op[8]}}({{d[1]}} > {{d[2]}})) [all …]
|
| D | enum_fld.ets | 40 {% for d in operands %} 41 assertTrue({{c.op[0]}}({{d[0]}} < {{d[1]}})) 42 assertTrue({{c.op[1]}}({{d[0]}} < {{d[2]}})) 43 assertTrue({{c.op[2]}}({{d[1]}} < {{d[2]}})) 44 assertTrue({{c.op[3]}}({{d[0]}} <= {{d[1]}})) 45 assertTrue({{c.op[4]}}({{d[0]}} <= {{d[2]}})) 46 assertTrue({{c.op[5]}}({{d[1]}} <= {{d[2]}})) 47 assertTrue({{c.op[6]}}({{d[0]}} > {{d[1]}})) 48 assertTrue({{c.op[7]}}({{d[0]}} > {{d[2]}})) 49 assertTrue({{c.op[8]}}({{d[1]}} > {{d[2]}})) [all …]
|
| /arkcompiler/toolchain/tooling/dynamic/test/testcases/js/ |
| D | dropframe.js | 19 var d = 0; 22 d = 1; 26 d = 2; 38 var d = 1; 43 d = d * 2; 46 d = d + 1; 53 var d = 1; 58 d = d * c + b * a; 65 var d = 1; 70 d = d * (b - a); [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/lambda_with_receiver/ |
| D | lambda_with_receiver_trailing_in_function_return_this_rotate.ets | 25 class D extends B { 34 d:D; 37 this.d = new D(); 42 this.d.setX(1).f().setY(2); 43 assertEQ(this.d.X, 1); 44 assertEQ(this.d.Y, 2); 48 f(this.d.setX(1)).setY(2); 49 assertEQ(this.d.X, 1); 50 assertEQ(this.d.Y, 2); 54 let d = new D(); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/object_ops/ |
| D | object_call_method_by_name_double_test.cpp | 48 args[0U].d = VAL1; in TEST_F() 49 args[1U].d = VAL2; in TEST_F() 52 …ASSERT_EQ(env_->Object_CallMethodByName_Double_A(object, "doubleMethod", "DD:D", &sum, args), ANI_… in TEST_F() 62 args[0U].d = VAL1; in TEST_F() 63 args[1U].d = VAL2; in TEST_F() 76 args[0U].d = VAL1; in TEST_F() 77 args[1U].d = VAL2; in TEST_F() 79 …ASSERT_EQ(env_->Object_CallMethodByName_Double_A(object, "xxxxxxx", "DD:D", &sum, args), ANI_NOT_F… in TEST_F() 86 args[0U].d = VAL1; in TEST_F() 87 args[1U].d = VAL2; in TEST_F() [all …]
|