Home
last modified time | relevance | path

Searched refs:u1 (Results 1 – 25 of 78) sorted by relevance

1234

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DdivergentAccessorsTypes3.ts76 declare const u1: One|Two; constant
77 AssertType(u1, "union");
79 u1.prop1 = 42;
80 AssertType(u1.prop1 = 42, "int");
81 AssertType(u1.prop1, "union");
84 u1.prop1 = "hello";
85 AssertType(u1.prop1 = "hello", "string");
86 AssertType(u1.prop1, "union");
89 u1.prop2 = 42;
90 AssertType(u1.prop2 = 42, "int");
[all …]
DreadonlyInDeclarationFile.ts82 private static get u1() { method in C
87 private static set u1(value) { } method in C
/arkcompiler/runtime_core/disassembler/tests/sources/
Dmeta.pa19 .function u1 A.BBB(u1 a0) <ctor> {}
20 .function u1 A.CCC(u1 a0) <cctor> {}
22 .function u1 DDD(u1 a0) <external>
24 .function u1 A.EEE(A a0, u1 a1) {
30 .function u1 FFF() <noimpl>
32 .function u1 GGG() <native>
Doverloading.pa16 .function void f(u1 a0) {}
18 .function void f(u1 a0, i8 a1) {}
22 call f:(u1), v1
23 call f:(u1, i8), v1, v1
Dcalls.pa22 .function u8 B.Bhandler_short(B a0, u1 a1) {
26 .function u8 B.Bhandler_short2(B a0, u1[] a1, i64 a2) {
52 .function u8 handler_short(u1 a0) {
56 .function u8 handler_short2(u1 a0, i64 a1) {
76 .function u8 handler_short_ext(u1 a0) <external>
78 .function u8 handler_short2_ext(u1 a0, i64 a1) <external>
86 .function u1 g(u1 a0) {
Dnewarrs.pa16 .function u1 g(u1 a0) {
17 newarr v0, a0, u1[]
Dlabels1.pa14 .function u1 g() {
21 .function u1 gg() {
/arkcompiler/runtime_core/disassembler/tests/
Dmetadata_test.cpp.in36 EXPECT_TRUE(prog.find(".function u1 GGG() <native, static>") != std::string::npos);
37 EXPECT_TRUE(prog.find(".function u1 FFF() <noimpl, static>") != std::string::npos);
38 … EXPECT_TRUE(prog.find(".function u1 A._cctor_(u1 a0) <cctor, static> {\n}") != std::string::npos);
39 EXPECT_TRUE(prog.find(".function u1 A.EEE(A a0, u1 a1) {\n") != std::string::npos);
40 EXPECT_TRUE(prog.find("\tcall.short DDD:(u1), v0") != std::string::npos);
41 EXPECT_TRUE(prog.find(".function u1 A._ctor_(u1 a0) <ctor, static> {\n}") != std::string::npos);
42 EXPECT_TRUE(prog.find(".function u1 DDD(u1 a0) <external, static>") != std::string::npos);
43 EXPECT_TRUE(prog.find("initobj.short A._ctor_:(u1), v0") != std::string::npos);
44 EXPECT_TRUE(prog.find("initobj.short A._cctor_:(u1), v1") != std::string::npos);
Dfunctions_test.cpp.in46 ASSERT_NE(ss.str().find(".function void f(u1 a0, i8 a1) <static> {\n}"), std::string::npos);
47 ASSERT_NE(ss.str().find(".function void f(u1 a0) <static> {\n}"), std::string::npos);
49 "call.short f:(u1), v1\n\t"
50 "call.short f:(u1,i8), v1, v1"),
Dlabels_test.cpp.in34 size_t beg_g = ss.str().find("u1 g() <static> {\n");
36 size_t beg_gg = ss.str().find("u1 gg() <static> {\n");
43 …ss.str().substr(beg_g + strlen("u1 g() <static> {\n"), end_g - (beg_g + strlen("u1 g() <static> {\…
45 …ss.str().substr(beg_gg + strlen("u1 gg() <static> {\n"), end_gg - (beg_gg + strlen("u1 gg() <stati…
Dinstructions_test.cpp.in225 size_t beg_g = ss.str().find("g(u1 a0) <static> {");
231 …ss.str().substr(beg_g + strlen("g(u1 a0) <static> {"), end_g - (beg_g + strlen("g(u1 a0) <static> …
234 …EXPECT_TRUE(body_g.find("\tcall.virt.short B.Bhandler_short:(B,u1), v4, v1") != std::string::npos);
235 …EXPECT_TRUE(body_g.find("\tcall.virt B.Bhandler_short2:(B,u1[],i64), v4, v1, v2") != std::string::…
240 EXPECT_TRUE(body_g.find("\tcall.short handler_short:(u1), v1") != std::string::npos);
241 EXPECT_TRUE(body_g.find("\tcall.short handler_short2:(u1,i64), v1, v2") != std::string::npos);
247 EXPECT_TRUE(body_g.find("\tinitobj.short B.Bhandler_short:(B,u1), v1") != std::string::npos);
248 …EXPECT_TRUE(body_g.find("\tinitobj.short B.Bhandler_short2:(B,u1[],i64), v1, v2") != std::string::…
253 EXPECT_TRUE(body_g.find("\tcall.acc.short handler_short:(u1), v0, 0x0") != std::string::npos);
254 …EXPECT_TRUE(body_g.find("\tcall.acc.short handler_short2:(u1,i64), a0, 0x1") != std::string::npos);
[all …]
/arkcompiler/runtime_core/tests/checked/
Dcast_bool.pa18 .function u1 main_all() {
79 .function u1 __noinline__cast_u32(u32 a0) {
85 .function u1 __noinline__cast_i32(i32 a0) {
91 .function u1 __noinline__cast_u64(u64 a0) {
97 .function u1 __noinline__cast_i64(i64 a0) {
Dparameter_test.pa49 .function u1 foo_u1(u1 a0) {
100 .function u1 main() {
Dcompare_lenarray_with_zero.pa34 .function u1 main1() {
59 .function u1 main2() {
Dzero_const_in_save_state.pa29 .function u1 main0() {
56 .function u1 main1() {
/arkcompiler/runtime_core/tests/benchmarks/
Daccess-nsieve.pa14 .function u1 main(){
22 .function u1 test(i32 a0, i32 a1, i32 a2){
43 newarr v5, v4, u1[] #flags
56 .function i32 nsieve(i32 a0, u1[] a1){
90 .function void init(u1[] a0){
D3d-morph.pa18 .function u1 main(){
26 .function u1 test(i32 a0, i32 a1, i32 a2){
75 .function u1 morph(f64[] a0, f64 a1, i32 a2, i32 a3){
/arkcompiler/runtime_core/tests/verifier-tests/
Dcflow_err_beyond_end_of_function.pa14 .function u1 error() {
19 .function u1 good() {
Dcflow_jump_out_of_body.pa14 .function u1 error () {
21 .function u1 good () {
Dcflow_execution_may_go_beyond_the_end.pa14 .function u1 error () {
22 .function u1 good () {
Dcflow_jump_on_exc_handler_from_body.pa14 .function u1 error () {
27 .function u1 good () {
Dcflow_fallthrough_to_exc_handler_from_body.pa14 .function u1 error () {
26 .function u1 good () {
Dcflow_fallthrough_from_exc_handler_to_exc_handler.pa16 .function u1 error () {
34 .function u1 good () {
Dcflow_jump_from_exc_handler_to_exc_handler.pa16 .function u1 error () {
34 .function u1 good () {
/arkcompiler/ets_frontend/ts2panda/tests/types/union/
Dunion_multi_same_primi.ts17 let u1: number | boolean = 3; variable

1234