Home
last modified time | relevance | path

Searched full:nn (Results 1 – 25 of 34) sorted by relevance

12

/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/declgen_ets2ts/namespace/
Dlib.ets109 export namespace NN {
118 export let b: N.NN.NNA
119 export let c: N.NN.NNN.NNNA
121 export function foo2(arg: N.NN.NNA) {}
122 export function foo3(arg: N.NN.NNN.NNNA):N.NN.NNN.NNNA {
123 return new N.NN.NNN.NNNA;
Dlib.expected19 export declare let b: N.NN.NNA;
20 export declare let c: N.NN.NNN.NNNA;
22 export declare function foo2(arg: N.NN.NNA): void;
23 export declare function foo3(arg: N.NN.NNN.NNNA): N.NN.NNN.NNNA;
75 namespace NN {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/arkui/
Ddollar_dollar_01.ets31 let nn = 5
32 increment(nn)
33 assertEQ(nn, 5)
/arkcompiler/ets_frontend/ets2panda/test/compiler/ets/
DfunctionTypeToObject.ets17 function nn(x: int, y: int) {}
21 let nnp: (a: int, b: int) => void = nn
DfunctionTypeToObject-expected.txt243 "name": "nn",
269 "name": "nn",
740 "name": "nn",
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/
Dutil.cpp86 std::function<void(ir::AstNode *)> doNode = [&](ir::AstNode *nn) { in ClearTypesVariablesAndScopes() argument
87 if (nn->IsScopeBearer()) { in ClearTypesVariablesAndScopes()
88 nn->ClearScope(); in ClearTypesVariablesAndScopes()
90 if (nn->IsTyped() && !(nn->IsExpression() && nn->AsExpression()->IsTypeNode())) { in ClearTypesVariablesAndScopes()
91 nn->AsTyped()->SetTsType(nullptr); in ClearTypesVariablesAndScopes()
93 if (nn->IsIdentifier()) { in ClearTypesVariablesAndScopes()
94 nn->AsIdentifier()->SetVariable(nullptr); in ClearTypesVariablesAndScopes()
96 if (!nn->IsETSTypeReference()) { in ClearTypesVariablesAndScopes()
97 nn->Iterate([&](ir::AstNode *child) { doNode(child); }); in ClearTypesVariablesAndScopes()
/arkcompiler/runtime_core/docs/
Daot.md60 -NN-24: PLT InitClass Resolver
61 -NN-16: PLT Class Resolver
62 -NN-08: PLT VirtualCall Resolver
64 -NN: address of handler 0, NN = N * 8
82 -NN: address of handler 0, NN = N * 8
/arkcompiler/runtime_core/static_core/docs/
Daot.md60 -NN-24: PLT InitClass Resolver
61 -NN-16: PLT Class Resolver
62 -NN-08: PLT VirtualCall Resolver
64 -NN: address of handler 0, NN = N * 8
82 -NN: address of handler 0, NN = N * 8
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-common-tests/package_static_block_test/
Dpackage_test01.ets20 import {nn, NS, ME, bb, cc, ss} from "./package_with_static_block/package01"
24 assertEQ(nn, 6)
/arkcompiler/runtime_core/libabckit/tests/helpers/
Dhelpers.cpp672 static void FindNamespaceInNamespaces(AbckitCoreNamespace *n, NamespaceAndName *nn) in FindNamespaceInNamespaces() argument
674 g_implI->namespaceEnumerateNamespaces(n, nn, [](AbckitCoreNamespace *n, void *data) { in FindNamespaceInNamespaces()
675 auto nn = static_cast<NamespaceAndName *>(data); in FindNamespaceInNamespaces() local
678 if (currNamespaceNameStr == nn->namespaceName) { in FindNamespaceInNamespaces()
679 nn->foundNamespace = n; in FindNamespaceInNamespaces()
681 FindNamespaceInNamespaces(n, nn); in FindNamespaceInNamespaces()
690 auto nn = static_cast<NamespaceAndName *>(data); in FindNamespaceByNameImpl() local
691 FindNamespaceInNamespaces(n, nn); in FindNamespaceByNameImpl()
696 auto nn = static_cast<NamespaceAndName *>(data); in FindNamespaceByNameImpl() local
699 if (currNamespaceNameStr == nn->namespaceName) { in FindNamespaceByNameImpl()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-common-tests/package_static_block_test/package_with_static_block/
Dpackage01.ets51 export let nn: number = 1;
69 nn = 6
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/package_invalid_initializer/P3/
DP3.ets26 export let nn: number = new A().data
32 nn = foo();
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/11.function_call_expression/step_1_selection_of_function/
Dstep1.params.yaml22 return "NN"
36 return "NN"
50 return "NN"
65 return "NN"
73 assertEQ( foo(new Number()), "NN" )
88 return "NN"
336 return "NN"
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/class_operations/
Dclass_operations.ets53 native static $nn(top: JSValue, qname: String, a0: double, a1: double) : JSValue;
78 let resObj = jsnew.$nn(jsvars.m, ".ExampleClass", 42, 42);
90 let resObj = jsnew.$nn(jsvars.m, ".ExampleClass", 42, 42);
118 let resObj = jsnew.$nn(jsvars.m, ".ExampleClass", 42, 42);
130 let resObj = jsnew.$nn(jsvars.m, ".ExampleClass", 42, 42);
/arkcompiler/runtime_core/static_core/compiler/docs/
Dplt.md41 -NN: address of handler 0, NN = N * 8 |
78 -NN: address of handler 0, NN = N * 8 |
130 -NN: address of handler 0, NN = N * 8 |
/arkcompiler/runtime_core/compiler/docs/
Dplt.md41 -NN: address of handler 0, NN = N * 8 |
78 -NN: address of handler 0, NN = N * 8 |
130 -NN: address of handler 0, NN = N * 8 |
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/package_invalid_initializer/
Dmain_test.ets16 import {nn, nn1, nn2} from "./P3"
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/06.type_declarations/01.type_alias_declaration/
Dalias.params.yaml170 type NN = number|null|undefined
172 type TT = [NN, SN]|null|undefined
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/19.union_types/01.union_types_normalization/
Dnorm.params.yaml31 type NN = number | null
36 type UT = NU | NN | N | NU2 | NN2 | N2 // => Number|null|undefined
/arkcompiler/ets_frontend/ets2panda/checker/ets/
Dfunction.cpp210 std::function<void(ir::AstNode *)> doNode = [&](ir::AstNode *nn) { in RemoveInvalidTypeMarkers() argument
211 if (nn->IsTyped() && !(nn->IsExpression() && nn->AsExpression()->IsTypeNode()) && in RemoveInvalidTypeMarkers()
212 nn->AsTyped()->TsType() != nullptr && nn->AsTyped()->TsType()->IsTypeError()) { in RemoveInvalidTypeMarkers()
213 nn->AsTyped()->SetTsType(nullptr); in RemoveInvalidTypeMarkers()
215 if (nn->IsIdentifier() && nn->AsIdentifier()->TsType() != nullptr && in RemoveInvalidTypeMarkers()
216 nn->AsIdentifier()->TsType()->IsTypeError()) { in RemoveInvalidTypeMarkers()
217 nn->AsIdentifier()->SetVariable(nullptr); in RemoveInvalidTypeMarkers()
219 if (!nn->IsETSTypeReference()) { in RemoveInvalidTypeMarkers()
220 nn->Iterate([&](ir::AstNode *child) { doNode(child); }); in RemoveInvalidTypeMarkers()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/
Dtest_breaks_props.py141 const nn = [n1, n2];
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/TreeSet/
DTreeSetGetLowerValueGetHigherValueTest.ets109 treeSet.add("nn");
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/TreeMap/
DTreeMapGetLowerKeyGetHigherKeyTest.ets114 treeMap.set("nn", "666");
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_intrins/
Dtest_intrins.ets39 native static num$nn(top: JSValue, qname: String, a0: double, a1: double): double;
109 return jscall.num$nn(jsvars.m, ".sum", a, b);
/arkcompiler/ets_runtime/test/moduletest/stubbuilder/
Dstubbuilder.js587 var obj2={"mm":2,"nn":3}; property
595 "nn": 3 property
643 p1.name = "nn";

12