/test/xts/acts/kernel_lite/math_posix/src/ |
D | ComplexTest.c | 41 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/ |
D | CombinationState3.ets | 26 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/ |
D | demo.cpp | 41 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/ |
D | hello.cpp | 37 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/ |
D | hello.cpp | 37 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/ |
D | hello.cpp | 37 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/ |
D | devattest_core_network_fuzz.c | 47 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/ |
D | ohos_common.cpp | 134 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/ |
D | hdi_vibrator_parse_test.cpp | 106 int32_t sum {0}; variable 110 EXPECT_EQ(duration, sum);
|
/test/xts/acts/kernel_lite/fs_posix/src/ |
D | FsDirentTest.cpp | 141 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/ |
D | NavigationMode08Jsunit.test.ets | 45 …sc : When the sum of minNavBarWidth and minContentWidth is less than the navigation width, change…
|
D | NavigationMode09Jsunit.test.ets | 45 …c : When the sum of minNavBarWidth and minContentWidth is greater than the navigation width, chan…
|
D | NavigationMode07Jsunit.test.ets | 45 …* @tc.desc : When the sum of minNavBarWidth and minContentWidth is less than the navigation width…
|
D | NavigationMode10Jsunit.test.ets | 45 …* @tc.desc : When the sum of minNavBarWidth and minContentWidth is greater than the navigation wi…
|
D | NavigationMode06Jsunit.test.ets | 46 …* @tc.desc : When the sum of minNavBarWidth and minContentWidth is greater than the navigation wi…
|
D | NavigationMode11Jsunit.test.ets | 45 …* @tc.desc : When the sum of minNavBarWidth and minContentWidth is less than the navigation width…
|
/test/xts/acts/kernel_lite/mem_posix/src/ |
D | MprotectApiTest.cpp | 45 volatile int sum = 0; variable 58 sum = mem[0] + mem[1]; 59 LOG("child: sum = %d (0x%04x)", sum, sum);
|
D | MemApiTest.cpp | 230 int i, sum = 0; variable 239 sum += mem[k]; 241 EXPECT_TRUE(sum == 0) << "sum != 0, sum = " << sum;
|
D | MmapApiTest.cpp | 46 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/ |
D | HilogJsTest.js | 704 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/ |
D | AVRecorderFuncTest.test.js | 316 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/ |
D | TaskPool.test.js | 1760 let sum = value1 + value2 1761 return sum;
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
D | drivers.py | 597 if len(label_list[0]) > 0 and sum(label_list[0]) != 0:
|
/test/xts/acts/ability/ability_runtime/actsstartabilityforresulttest/entry/src/main/ets/test/ |
D | StartAbilityForResultTest.test.ets | 448 …* and bundleName are the correct values,and the flag is the sum of the two correct…
|