Home
last modified time | relevance | path

Searched refs:sum (Results 1 – 24 of 24) sorted by relevance

/test/xts/acts/kernel_lite/math_posix/src/
DComplexTest.c41 int sum = 0; in TestCabs() local
47 sum++; in TestCabs()
50 return sum; in TestCabs()
62 int sum = 0; in TestCabsf() local
68 sum++; in TestCabsf()
71 return sum; in TestCabsf()
83 int sum = 0; in TestCabsl() local
89 sum++; in TestCabsl()
92 return sum; in TestCabsl()
109 int sum = 0; in TestCacos() local
[all …]
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/State/
DCombinationState3.ets26 public sum: SubClass4;
27 constructor(value: number, sum: SubClass4) {
29 this.sum = sum;
42 Text(`子组件ChildPropState2: ${this.counterVal.sum.value}`).fontSize(18).margin(2)
57 Text(`子组件ChildProvide2: ${this.counterVal.sum.value}`).fontSize(18).margin(2)
72 Text(`子组件ChildLink2: ${this.counterVal.sum.value}`).fontSize(18).margin(5)
87 Text(`子组件ChildProp2: ${this.counterVal.sum.value}`).fontSize(18).margin(5)
/test/xts/acts/sample_lite/hcpptest_posix/src/
Ddemo.cpp41 int sum = 0; in Sum() local
43 sum += i; in Sum()
45 return sum; in Sum()
/test/xts/acts/arkcompiler/esmodule/esmodule_ohostest/entry/src/ohosTest/cpp/
Dhello.cpp37 napi_value sum; in Add() local
38 napi_create_double(env, value0 + value1, &sum); in Add()
40 return sum; in Add()
/test/xts/acts/arkcompiler/esmodule/esmodule_entry/entry/src/main/cpp/
Dhello.cpp37 napi_value sum; in Add() local
38 napi_create_double(env, value0 + value1, &sum); in Add()
40 return sum; in Add()
/test/xts/acts/arkcompiler/esmodule/esmodule_ohostestlib/entry/src/main/cpp/
Dhello.cpp37 napi_value sum; in Add() local
38 napi_create_double(env, value0 + value1, &sum); in Add()
40 return sum; in Add()
/test/xts/device_attest/test/fuzztest/devattestcorenetwork_fuzzer/
Ddevattest_core_network_fuzz.c47 int sum = 0; in StringToInt32() local
50 sum = (sum * base) + (value[i] - '0'); in StringToInt32()
52 *intPara = (int32_t)sum; in StringToInt32()
/test/xts/acts/ai/mindspore/mindsporectest/src/
Dohos_common.cpp134 float sum = 0.0f; in allclose() local
145 sum = sum + fabs(a[i] - b[i]) / (atol + rtol * fabs(b[i])); in allclose()
175 printf("\n avg : %f\n", sum / count); in allclose()
223 float sum = 0.0f; in allclose_int8() local
235 sum = sum + fabs(a[i] - b[i]) / (atol + rtol * fabs(b[i])); in allclose_int8()
266 printf("\n avg : %f\n", sum / count); in allclose_int8()
/test/xts/hats/hdf/vibrator/hdi_adapter/hdi_parse/
Dhdi_vibrator_parse_test.cpp106 int32_t sum {0}; variable
110 EXPECT_EQ(duration, sum);
/test/xts/acts/kernel_lite/fs_posix/src/
DFsDirentTest.cpp141 int sum = 0; variable
147 sum = scandir(scanDir, &fileList, nullptr, alphasort);
148 EXPECT_NE(sum, -1) << "> scandir errno = " << errno;
149 for (int i = 0; i < sum; i++) {
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/test/Navigation/
DNavigationMode08Jsunit.test.ets45 …sc : When the sum of minNavBarWidth and minContentWidth is less than the navigation width, change…
DNavigationMode09Jsunit.test.ets45 …c : When the sum of minNavBarWidth and minContentWidth is greater than the navigation width, chan…
DNavigationMode07Jsunit.test.ets45 …* @tc.desc : When the sum of minNavBarWidth and minContentWidth is less than the navigation width…
DNavigationMode10Jsunit.test.ets45 …* @tc.desc : When the sum of minNavBarWidth and minContentWidth is greater than the navigation wi…
DNavigationMode06Jsunit.test.ets46 …* @tc.desc : When the sum of minNavBarWidth and minContentWidth is greater than the navigation wi…
DNavigationMode11Jsunit.test.ets45 …* @tc.desc : When the sum of minNavBarWidth and minContentWidth is less than the navigation width…
/test/xts/acts/kernel_lite/mem_posix/src/
DMprotectApiTest.cpp45 volatile int sum = 0; variable
58 sum = mem[0] + mem[1];
59 LOG("child: sum = %d (0x%04x)", sum, sum);
DMemApiTest.cpp230 int i, sum = 0; variable
239 sum += mem[k];
241 EXPECT_TRUE(sum == 0) << "sum != 0, sum = " << sum;
DMmapApiTest.cpp46 int sum = 0; variable
55 sum += mem[i];
57 ASSERT_TRUE(sum == 0) << "sum != 0, sum = " << sum;
/test/xts/acts/hiviewdfx/hilogtest/hilogjstest/src/main/js/test/
DHilogJsTest.js704 let sum = hilogndk.add(2,3)
705 expect(sum).assertEqual(6);
728 let sum = hilogndk.add(2,3)
/test/xts/acts/multimedia/media/media_js_standard/avRecorder/src/main/js/test/
DAVRecorderFuncTest.test.js316 let sum = execTimes.reduce(function (prev, curr) { return prev + curr; }, 0);
317 let avg = sum / length;
/test/xts/acts/commonlibrary/ets_utils/taskpool_lib_standard/entry/src/main/ets/test/
DTaskPool.test.js1760 let sum = value1 + value2
1761 return sum;
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
Ddrivers.py597 if len(label_list[0]) > 0 and sum(label_list[0]) != 0:
/test/xts/acts/ability/ability_runtime/actsstartabilityforresulttest/entry/src/main/ets/test/
DStartAbilityForResultTest.test.ets448 …* and bundleName are the correct values,and the flag is the sum of the two correct…