/ark/runtime_core/tests/cts-assembly/ |
D | arrays-06.pa | 37 # int sum = 0; 39 # return sum; 43 # sum += arr[i]; 45 # return sum + foo4(n - 1); 49 # int sum = 0; 53 # sum += arr[i]; 56 # sum += foo4(n); 57 # return sum; 61 # int sum = 0; 65 # sum += arr[i]; [all …]
|
/ark/runtime_core/verification/cflow/tests/ |
D | jumps_map_test.cpp | 44 uintptr_t sum = 0; in TEST_F() local 45 map.EnumerateAllTargets<const char *>([&sum, &code](const char *tgt) { in TEST_F() 47 sum += val; in TEST_F() 51 EXPECT_EQ(sum, 5 + 128 + 145); in TEST_F() 53 sum = 0; in TEST_F() 55 map.EnumerateAllJumpsToTarget<const char *>(&code[5], [&sum, &code](const char *tgt) { in TEST_F() 57 sum += val; in TEST_F() 61 EXPECT_EQ(sum, 5 + 11 + 12 + 13); in TEST_F()
|
/ark/runtime_core/verification/util/tests/ |
D | lazy_test.cpp | 50 int sum = 0; in TEST() local 51 ForEach(ConstLazyFetch(test_data), [&sum](int val) { sum += val; }); in TEST() 52 EXPECT_EQ(sum, 5); in TEST()
|
/ark/runtime_core/libpandabase/tests/ |
D | base_mem_stats_test.cpp | 43 size_t sum = 0; in TEST_F() local 45 sum += i; in TEST_F() 49 ASSERT_EQ(sum, stats.GetAllocated(SpaceType::SPACE_TYPE_CODE)); in TEST_F() 51 ASSERT_EQ(sum - N, stats.GetFootprint(SpaceType::SPACE_TYPE_CODE)); in TEST_F()
|
/ark/js_runtime/ecmascript/tooling/test/js/ |
D | ArrowFunc.js | 16 var sum = (num1, num2) => { function 23 print(sum(1,2));
|
/ark/runtime_core/assembler/utils/ |
D | number-utils.h | 195 size_t sum = 0; in ToNumber() local 199 sum = sum * DEC_BASE + static_cast<size_t>(i - '0'); in ToNumber() 205 return sum; in ToNumber()
|
/ark/js_runtime/ecmascript/mem/ |
D | mem_controller.cpp | 161 BytesAndDuration sum = buffer.Sum( in CalculateAverageSpeed() local 169 uint64_t bytes = sum.first; in CalculateAverageSpeed() 170 double durations = sum.second; in CalculateAverageSpeed()
|
/ark/runtime_core/verification/util/ |
D | set_operations.h | 98 Arg sum = SetUnion(args...); in SetDifference() local 99 Arg intersection = SetIntersection(arg, sum); in SetDifference()
|
/ark/ts2abc/testTs/expect/expressions/binaryOperators/additionOperator/ |
D | additionOperatorWithConstrainedTypeParameter.txt | 1 {'lb': [{'t': 2, 'v': 3}, {'t': 2, 'v': 0}, {'t': 2, 'v': 0}, {'t': 5, 'v': 'sum'}, {'t': 2, 'v': 3…
|
/ark/runtime_core/runtime/ |
D | class_linker_extension.cpp | 220 size_t sum = boot_context_.NumLoadedClasses(); in NumLoadedClasses() local 224 sum += ctx->NumLoadedClasses(); in NumLoadedClasses() 227 return sum; in NumLoadedClasses()
|
D | class_linker.cpp | 1314 size_t sum = 0; in NumLoadedClasses() local 1321 sum += ext->NumLoadedClasses(); in NumLoadedClasses() 1324 return sum; in NumLoadedClasses()
|
/ark/runtime_core/tests/benchmarks/ |
D | bitops-bits-in-byte.pa | 23 movi v3, 0 #sum
|
D | bitops-3bit-bits-in-byte.pa | 23 movi v3, 0 #sum
|
D | access-nsieve.pa | 33 movi v2, 0 #sum
|
D | bitops-nsieve-bits.pa | 25 movi.64 v4, 0 #sum
|
/ark/js_runtime/ecmascript/tests/ |
D | js_serializer_test.cpp | 200 int sum = 0; in JSSetTest() local 204 sum += a; in JSSetTest() 206 EXPECT_EQ(sum, 16); // 16 : test case in JSSetTest() 228 int sum = 0; in JSArrayTest() local 232 sum += a; in JSArrayTest() 234 EXPECT_EQ(sum, 226); // 226 : test case in JSArrayTest()
|
D | js_object_test.cpp | 434 int sum = 0; in HWTEST_F_L0() local 437 … sum += JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(obj), key).GetValue()->GetInt(); in HWTEST_F_L0() 439 EXPECT_EQ(sum, 10); in HWTEST_F_L0()
|
/ark/js_runtime/ecmascript/compiler/ |
D | circuit_ir_specification.md | 334 * **ADD**: returns the sum of its two integer operands. 360 * **FADD**: returns the sum of its two floating-point operands.
|