| /arkcompiler/ets_runtime/test/aottest/loops/ |
| D | loops.ts | 27 if (i > 100) { 33 for (var i:number = 0; i < 100; i++) { 49 while (j < 100) { 58 while (k < 100) { 72 } while (i < 100); 78 if (j > 100) { 87 if (k < 100) { 91 } while (k < 100); 97 if (i > 100) { 103 while (i < 100) { [all …]
|
| D | expect_output.txt | 29 100 32 100 35 100
|
| /arkcompiler/ets_runtime/test/quickfix/multi_patch/ |
| D | expect_output.txt | 17 print patch:100 - 200 22 print base:100 - 100 25 print patch1:100 - 300 30 print base:100 - 100 33 print patch2: 100 - 400 38 print base:100 - 100
|
| D | module.js | 16 export var a = 100 18 var b = 100
|
| /arkcompiler/ets_runtime/test/aottest/stobjbyindex/ |
| D | stobjbyindex.ts | 19 var array = [100, "hello"]; 28 let phrase: { 1: string, "100": string | number, fullPhrase: any } = { 29 1 : "100", 30 "100" : "hello", 33 return `${this[1]} ${this["100"]}`; 37 [this[1], this["100"]] = value.split(" "); 41 print(phrase["100"]); 43 phrase["100"] = 1; 45 print(phrase["100"]);
|
| D | expect_output.txt | 14 100 18 100
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/ |
| D | heap_tracker_test.cpp | 52 static const int heapProfilerChunkSise = 100_KB; in GetSize() 117 int count = 100; in HWTEST_F_L0() 122 count = 100; in HWTEST_F_L0() 127 count = 100; in HWTEST_F_L0() 170 int count = 100; in HWTEST_F_L0() 175 count = 100; in HWTEST_F_L0() 180 count = 100; in HWTEST_F_L0() 233 int count = 100; in HWTEST_F_L0() 238 count = 100; in HWTEST_F_L0() 243 count = 100; in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_runtime/test/aottest/stobjbyvalue/ |
| D | stobjbyvalue.ts | 20 var hundred = "100"; 23 var array = [100, "hello"]; 32 let phrase: { 0: string, "100": string | number, fullPhrase: any } = { 33 0 : "100", 34 "100" : "hello",
|
| D | expect_output.txt | 14 100 18 100
|
| /arkcompiler/ets_runtime/ecmascript/snapshot/tests/ |
| D | snapshot_test.cpp | 113 for (int i = 0; i < 100; i++) { in HWTEST_F_L0() 117 for (int i = 0; i < 100; i++) { in HWTEST_F_L0() 119 constpool->SetObjectToCache(thread, i + 100, array.GetTaggedValue()); in HWTEST_F_L0() 121 for (int i = 0; i < 100; i++) { in HWTEST_F_L0() 125 for (int i = 0; i < 100; i++) { in HWTEST_F_L0() 143 EXPECT_TRUE(constpool1->GetObjectFromCache(100).IsTaggedArray()); in HWTEST_F_L0() 148 auto obj2 = constpool1->GetObjectFromCache(100).GetTaggedObject(); in HWTEST_F_L0() 162 for (int i = 0; i < 100; i++) { in HWTEST_F_L0() 167 for (int i = 0; i < 100; i++) { in HWTEST_F_L0() 169 constpool1->SetObjectToCache(thread, i + 100, array.GetTaggedValue()); in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | tagged_value_test.cpp | 148 JSTaggedValue intV(100); in HWTEST_F_L0() 150 EXPECT_EQ(result.GetInt(), 100); in HWTEST_F_L0() 179 EXPECT_TRUE(JSTaggedValue(100).ToBoolean()); in HWTEST_F_L0() 202 JSTaggedValue intV(100); in HWTEST_F_L0() 204 EXPECT_EQ(result.GetNumber(), 100); in HWTEST_F_L0() 266 JSHandle<JSTaggedValue> stringV9(thread->GetEcmaVM()->GetFactory()->NewFromASCII("100e307")); in HWTEST_F_L0() 373 JSTaggedValue intV(100); in HWTEST_F_L0() 375 EXPECT_EQ(result.GetNumber(), 100); in HWTEST_F_L0() 383 EXPECT_EQ(result.GetNumber(), (double)100); in HWTEST_F_L0() 410 JSTaggedValue intV(100); in HWTEST_F_L0() [all …]
|
| D | js_array_test.cpp | 96 …PropertyDescriptor desc(thread, JSHandle<JSTaggedValue>(thread, JSTaggedValue(100)), true, true, t… in HWTEST_F_L0() 104 EXPECT_EQ(v.GetInt(), 100); in HWTEST_F_L0() 106 EXPECT_EQ(v.GetInt(), 100); in HWTEST_F_L0() 109 EcmaString *string100 = *factory->NewFromASCII("100"); in HWTEST_F_L0() 111 JSHandle<JSTaggedValue> index100(thread, JSTaggedValue(100)); in HWTEST_F_L0() 114 EXPECT_EQ(JSArray::GetProperty(thread, obj, key100).GetValue()->GetInt(), 100); in HWTEST_F_L0() 115 EXPECT_EQ(JSArray::GetProperty(thread, obj, index100).GetValue()->GetInt(), 100); in HWTEST_F_L0() 123 EXPECT_EQ(JSArray::GetProperty(thread, obj, keyx).GetValue()->GetInt(), 100); in HWTEST_F_L0() 124 EXPECT_EQ(JSArray::GetProperty(thread, obj, indexx).GetValue()->GetInt(), 100); in HWTEST_F_L0()
|
| D | weak_vector_test.cpp | 61 uint32_t weakVectorCapacity = 100; in HWTEST_F_L0() 78 uint32_t weakVectorCapacity = 100; in HWTEST_F_L0() 113 uint32_t newWeakVectorCapacity = 100; in HWTEST_F_L0() 119 oldWeakVectorCapacity = 100; in HWTEST_F_L0() 142 uint32_t weakVectorCapacity = 100; in HWTEST_F_L0() 179 uint32_t weakVectorCapacity = 100; in HWTEST_F_L0()
|
| /arkcompiler/toolchain/tooling/test/ |
| D | pt_json_test.cpp | 65 std::string str = "100"; in HWTEST_F_L0() 68 EXPECT_EQ(json->GetInt(), 100); in HWTEST_F_L0() 142 arr->Push(100); in HWTEST_F_L0() 147 root->Add("b", 100); in HWTEST_F_L0() 163 EXPECT_EQ(i32, 100); in HWTEST_F_L0() 175 EXPECT_EQ(json->Get(0)->GetInt(), 100); in HWTEST_F_L0() 178 …"{\"a\":false,\"b\":100,\"c\":100.2,\"d\":200,\"e\":\"abc\",\"f\":{\"ch\":\"child_2\"},\"g\":[100]… in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/test/aottest/stownbyindex/ |
| D | stownbyindex.ts | 25 "100" : [4, 5], 29 print(b["100"][0]); 30 print(b["100"][1]);
|
| /arkcompiler/runtime_core/runtime/mem/gc/ |
| D | gc_trigger.cpp | 29 static constexpr size_t PERCENT_100 = 100; 59 …// If we have min_heap_size < 100, we get false positives in IsGcTriggered, since we divide by 100… in GCTriggerHeap() 60 ASSERT(min_heap_size >= 100); in GCTriggerHeap() 102 // Note: divide by 100 first to avoid overflow in ComputeTarget() 109 …// if heap was squeeze from 200mb to 100mb we want to set a target to 150mb, not just 100mb*percen… in ComputeTarget() 161 …// if heap was squeeze from 200mb to 100mb we want to set a target to 150mb, not just 100mb*percen… in ComputeTarget()
|
| /arkcompiler/ets_frontend/ts2panda/src/ |
| D | compilerStatistics.ts | 191 …+ Math.round(value.getSavedSizeIfRemoved(this) / totalSize * 100) + "%"); // multiplying 100 is to… 194 …izeIfRemoved(this) + "\t" + Math.round(value.getSavedSizeIfRemoved(this) / totalSize * 100) + "%"); 197 …izeIfRemoved(this) + "\t" + Math.round(value.getSavedSizeIfRemoved(this) / totalSize * 100) + "%"); 210 …t" + node + "\t\t\t\t\t\tnum: \t" + num + "\t\t" + Math.round(num / value.getCount() * 100) + "%"); 212 … \t" + node + "\t\t\t\t\tnum: \t" + num + "\t\t" + Math.round(num / value.getCount() * 100) + "%"); 214 …e: \t" + node + "\t\t\t\tnum: \t" + num + "\t\t" + Math.round(num / value.getCount() * 100) + "%"); 216 …ode: \t" + node + "\t\t\tnum: \t" + num + "\t\t" + Math.round(num / value.getCount() * 100) + "%");
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | liveness_analyzer_test.cpp | 122 BASIC_BLOCK(100, 6) {} in TEST_F() 184 … GetBlocksById(GetGraph(), {0, 100, 6, 2, 5, 4, 21, 17, 18, 24, 19, 36, 20, 14, 3, 43, 31, 7, 1})); in TEST_F() 234 life_inter.AppendRange({90, 100}); in TEST_F() 238 EXPECT_EQ(life_inter.GetRanges(), LIVE_RANGES_DEQUE({35, 50}, {80, 100})); in TEST_F() 242 EXPECT_EQ(life_inter.GetRanges(), LIVE_RANGES_DEQUE({30, 34}, {35, 50}, {80, 100})); in TEST_F() 246 EXPECT_EQ(life_inter.GetRanges(), LIVE_RANGES_DEQUE({10, 25}, {30, 34}, {35, 50}, {80, 100})); in TEST_F() 249 EXPECT_EQ(life_inter.GetRanges(), LIVE_RANGES_DEQUE({10, 79}, {80, 100})); in TEST_F() 252 EXPECT_EQ(life_inter.GetRanges(), LIVE_RANGES_DEQUE({10, 100})); in TEST_F() 680 // other: [21-25] [45-100] in TEST_F() 686 other_li.AppendRange({45, 100}); in TEST_F() [all …]
|
| D | life_intervals_test.cpp | 111 auto interval = Create({{0, 100}}); in TEST_F() 120 CheckRanges(split1, {{75, 100}}); in TEST_F() 125 auto interval = Create({{0, 20}, {22, 40}, {42, 100}}); in TEST_F() 140 auto interval = Create({{0, 20}, {22, 40}, {42, 100}}); in TEST_F() 238 auto interval = Create({{10, 100}}); in TEST_F() 240 ASSERT_EQ(INVALID_LIFE_NUMBER, interval->GetLastUsageBefore(100)); in TEST_F() 248 ASSERT_EQ(60, interval->GetLastUsageBefore(100)); in TEST_F()
|
| /arkcompiler/ets_runtime/test/moduletest/array/ |
| D | array.js | 22 var arr = new Array(100); 23 var a = arr.slice(90, 100); 30 var arr2 = new Array(100);
|
| /arkcompiler/ets_runtime/test/quickfix/import_export/ |
| D | expect_output.txt | 17 print patch: 100 23 print base: 100
|
| /arkcompiler/ets_runtime/test/quickfix/global_var/ |
| D | expect_output.txt | 17 patch old global var :100 23 base global var :100
|
| /arkcompiler/runtime_core/tests/regression/ |
| D | bitops-bitwise-and.pa | 15 # set 100 for fast run 16 movi v0, 100
|
| /arkcompiler/runtime_core/tests/cts-assembly/ |
| D | math-29.pa | 14 # assert(100 >> 2 == 25) operation --> shr2.64 16 ldai.64 100
|
| D | math-30.pa | 14 # assert(25 << 2 == 100) operation --> shl2.64 19 movi.64 v0, 100
|