/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | complexndk.cpp | 748 double end;
in Cacos() local 751 end = creal(resultValue);
in Cacos() 752 sprintf(buffer, "%.2f", end);
in Cacos() 755 end = cimag(resultValue);
in Cacos() 756 sprintf(buffer, "%.2f", end);
in Cacos() 774 double end;
in Cacosl() local 777 end = creal(resultValue);
in Cacosl() 778 sprintf(buffer, "%.2f", end);
in Cacosl() 781 end = cimag(resultValue);
in Cacosl() 782 sprintf(buffer, "%.2f", end);
in Cacosl() 800 double end; Cacosf() local 826 double end; Cacosh() local 852 double end; Cacoshf() local 878 double end; Cacoshl() local 961 double end; Casin() local 987 double end; Casinl() local 1013 double end; Casinf() local 1039 double end; Casinh() local 1065 double end; Casinhf() local 1091 double end; Casinhl() local 1117 double end; Catan() local 1143 double end; Catanl() local 1169 double end; Catanf() local 1195 double end; Catanh() local 1221 double end; Catanhf() local 1247 double end; Catanhl() local 1273 double end; Ccos() local 1299 double end; Ccosl() local 1325 double end; Ccosf() local 1351 double end; Ccosh() local 1377 double end; Ccoshf() local 1403 double end; Ccoshl() local 1429 double end; Cexp() local 1455 double end; Cexpl() local 1481 double end; Cexpf() local 1507 double end; Clog() local 1533 double end; Clogf() local 1559 double end; Clogl() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/stack/ |
H A D | stack_lineargradient_test.cpp | 27 float end = 1.0; in TestStackLinearGradient001() local 28 float stops[] = {begin, end}; in TestStackLinearGradient001() 49 ASSERT_EQ(((ArkUI_ColorStop *)(nodeAPI->getAttribute(stack, NODE_LINEAR_GRADIENT)->object))->stops[1], end); in TestStackLinearGradient001() 61 float end = 1.0; in TestStackLinearGradient002() local 62 float stops[] = {begin, end}; in TestStackLinearGradient002() 83 ASSERT_EQ(((ArkUI_ColorStop *)(nodeAPI->getAttribute(stack, NODE_LINEAR_GRADIENT)->object))->stops[1], end); in TestStackLinearGradient002() 95 float end = 1.0; in TestStackLinearGradient003() local 96 float stops[] = {begin, end}; in TestStackLinearGradient003() 117 ASSERT_EQ(((ArkUI_ColorStop *)(nodeAPI->getAttribute(stack, NODE_LINEAR_GRADIENT)->object))->stops[1], end); in TestStackLinearGradient003() 129 float end in TestStackLinearGradient004() local 163 float end = 1.0; TestStackLinearGradient005() local 197 float end = 1.0; TestStackLinearGradient006() local 231 float end = 1.0; TestStackLinearGradient007() local 265 float end = 1.0; TestStackLinearGradient008() local 299 float end = 1.0; TestStackLinearGradient009() local 333 float end = 1.0; TestStackLinearGradient010() local [all...] |
/test/xts/acts/multimedia/media/media_js_standard/ |
H A D | AVPlayerTestBase.js | 765 // end: release 814 // end: release 944 let end; 952 end = Date.now(); 953 console.info(`createTimeCallback end time is : ${end}`) 954 execution = parseInt(end - createStart) 985 let end = Date.now() 986 let execution = parseInt(end - start) 1010 let end; [all...] |
H A D | AVRecorderTestBase.js | 2234 let end = Date.now() 2235 let execution = parseInt(end - start) 2258 let end; 2263 end = Date.now() 2264 console.info(`prepareTimeWithoutCallback end time is : ${end}`) 2269 let execution = parseInt(end - start) 2288 let end; 2300 end = Date.now() 2301 console.info(`getInputSurfaceTimeTestCallback end tim [all...] |
/test/testfwk/arkxtest/uitest/test/ |
H A D | mock_element_node_iterator.h | 64 if (obj.find("accessibilityId") != obj.end()) { in WrapperJsonToElement() 67 if (obj.find("inspectorKey") != obj.end()) { in WrapperJsonToElement() 70 if (obj.find("content") != obj.end()) { in WrapperJsonToElement() 73 if (obj.find("componentType") != obj.end()) { in WrapperJsonToElement() 76 if (obj.find("bundleName") != obj.end()) { in WrapperJsonToElement() 79 if (obj.find("hierarchy") != obj.end()) { in WrapperJsonToElement() 82 if (obj.find("enabled") != obj.end()) { in WrapperJsonToElement() 85 if (obj.find("focused") != obj.end()) { in WrapperJsonToElement() 88 if (obj.find("selected") != obj.end()) { in WrapperJsonToElement() 91 if (obj.find("checkable") != obj.end()) { in WrapperJsonToElement() [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/image/ |
H A D | image_sweepgradient_test.cpp | 41 float end = DEFAULT_END_VALUE; in TestImageSweepGradient001() local 46 {.f32 = end}, {.f32 = rotation}, {.i32 = repeating}}; in TestImageSweepGradient001() 54 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_SWEEP_GRADIENT)->value[PARAM_3].f32, end); in TestImageSweepGradient001() 68 float end = END_VALUE; in TestImageSweepGradient002() local 73 {.f32 = end}, {.f32 = rotation}, {.i32 = repeating}}; in TestImageSweepGradient002() 81 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_SWEEP_GRADIENT)->value[PARAM_3].f32, end); in TestImageSweepGradient002() 95 float end = DEFAULT_END_VALUE; in TestImageSweepGradient003() local 100 {.f32 = end}, {.f32 = rotation}, {.i32 = repeating}}; in TestImageSweepGradient003() 108 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_SWEEP_GRADIENT)->value[PARAM_3].f32, end); in TestImageSweepGradient003() 122 float end in TestImageSweepGradient004() local [all...] |
/test/xts/acts/ai/neural_network_runtime/v2_0/common/ |
H A D | nnrt_utils.cpp | 44 if (std::find(graphArgs.paramIndices[j].begin(), graphArgs.paramIndices[j].end(), opCnt) != in BuildMultiOpGraph() 45 graphArgs.paramIndices[j].end()) { in BuildMultiOpGraph() 94 if (std::find(graphArgs.paramIndices.begin(), graphArgs.paramIndices.end(), i) != in BuildSingleOpGraph() 95 graphArgs.paramIndices.end()) { in BuildSingleOpGraph() 229 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in ExecuteGraphMock() 230 graphArgs.inputIndices.end()) { in ExecuteGraphMock() 238 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in ExecuteGraphMock() 239 graphArgs.outputIndices.end()) { in ExecuteGraphMock() 272 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in ExecutorWithMemory() 273 graphArgs.inputIndices.end()) { in ExecutorWithMemory() 379 char end = str1[str1.size() - 1]; ConcatPath() local [all...] |
/test/xts/acts/ai/neural_network_runtime/v1_0/common/ |
H A D | nnrt_utils.cpp | 44 if (std::find(graphArgs.paramIndices[j].begin(), graphArgs.paramIndices[j].end(), opCnt) != in BuildMultiOpGraph() 45 graphArgs.paramIndices[j].end()) { in BuildMultiOpGraph() 94 if (std::find(graphArgs.paramIndices.begin(), graphArgs.paramIndices.end(), i) != in BuildSingleOpGraph() 95 graphArgs.paramIndices.end()) { in BuildSingleOpGraph() 229 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in ExecuteGraphMock() 230 graphArgs.inputIndices.end()) { in ExecuteGraphMock() 238 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in ExecuteGraphMock() 239 graphArgs.outputIndices.end()) { in ExecuteGraphMock() 272 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in ExecutorWithMemory() 273 graphArgs.inputIndices.end()) { in ExecutorWithMemory() 379 char end = str1[str1.size() - 1]; ConcatPath() local [all...] |
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/entry/src/ohosTest/js/test/ |
H A D | RelationalStoreCustomDir.test.js | 44 console.info(TAG + "*************Unit Test end*************");
68 console.info(TAG + "************* CustomDirTest0100 end*************");
98 console.info(TAG + "************* CustomDirTest0200 end *************");
133 console.log(TAG + "************* insert end *************");
158 console.info(TAG + "************* query end*************");
176 console.info(TAG + "*************update end*************");
201 console.info(TAG + "************* query end*************");
212 console.info(TAG + "************* delete end*************")
221 console.info(TAG + "************* query end*************")
231 console.info(TAG + "************* CustomDirTest0300 end *************");
[all...] |
/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/ |
H A D | ExecutorTest.cpp | 302 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F() 303 graphArgs.inputIndices.end()) { in HWTEST_F() 307 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F() 308 graphArgs.outputIndices.end()) { in HWTEST_F() 342 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F() 343 graphArgs.inputIndices.end()) { in HWTEST_F() 347 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F() 348 graphArgs.outputIndices.end()) { in HWTEST_F() 382 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F() 383 graphArgs.inputIndices.end()) { in HWTEST_F() [all...] |
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/ |
H A D | ExecutorTest.cpp | 407 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F() 408 graphArgs.inputIndices.end()) { in HWTEST_F() 412 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F() 413 graphArgs.outputIndices.end()) { in HWTEST_F() 447 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F() 448 graphArgs.inputIndices.end()) { in HWTEST_F() 452 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F() 453 graphArgs.outputIndices.end()) { in HWTEST_F() 487 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F() 488 graphArgs.inputIndices.end()) { in HWTEST_F() [all...] |
/test/testfwk/arkxtest/uitest/record/ |
H A D | matrix3.h | 38 std::for_each(vector.begin(), vector.end(), [num](auto& item) { item = item * num; }); in operator *() 75 std::for_each(vector.begin(), vector.end(), in ToString() 101 std::for_each(vector.begin(), vector.end(), [num](auto& item) { item = item * num; }); in operator *() 139 std::for_each(vector.begin(), vector.end(), in ToString() 166 std::for_each(vector.begin(), vector.end(), [num](auto& item) { item = item * num; }); in operator *() 198 std::for_each(vector.begin(), vector.end(), in ToString()
|
H A D | least_square_impl.cpp | 29 params.assign(params_.begin(), params_.end());
in GetLSMParams() 32 auto countNum = std::min(countNum_, static_cast<int32_t>(std::distance(tVals_.begin(), tVals_.end())));
in GetLSMParams() 71 params_.assign(params.begin(), params.end());
in GetLSMParams()
|
H A D | keyevent_tracker.cpp | 36 if (std::find(infos_.begin(), infos_.end(), info) != infos_.end()) { in AddDownKeyEvent() 63 auto infoIt = std::find_if(infos_.begin(), infos_.end(), [keyCode](const KeyEventInfo& info) { in KeyCodeDone() 66 if (infoIt != infos_.end()) { in KeyCodeDone()
|
/test/xts/acts/graphic/acts_drawing_native/ |
H A D | DrawingNativeShaderEffectTest.cpp | 126 OH_Drawing_Point2D end = {100.f, 0}; in HWTEST_F() local 140 OH_Drawing_ShaderEffectCreateLinearGradientWithLocalMatrix(&start, &end, colors, pos, 3, mode, matrix); in HWTEST_F() 146 &start, &end, colors, nullptr, 3, OH_Drawing_TileMode::CLAMP, matrix); in HWTEST_F() 149 &start, &end, colors, pos, 3, OH_Drawing_TileMode::CLAMP, nullptr); in HWTEST_F() 167 OH_Drawing_Point2D end = {100.f, 0}; in HWTEST_F() local 180 OH_Drawing_ShaderEffectCreateLinearGradientWithLocalMatrix(nullptr, &end, colors, pos, 3, modes[0], matrix); in HWTEST_F() 190 OH_Drawing_ShaderEffectCreateLinearGradientWithLocalMatrix(&start, &end, nullptr, pos, 3, modes[0], matrix); in HWTEST_F() 209 OH_Drawing_Point2D end = {100.f, 0}; in HWTEST_F() local 222 OH_Drawing_ShaderEffectCreateLinearGradientWithLocalMatrix(&start, &end, colors, pos, 3, modes[0], matrix); in HWTEST_F() 225 end in HWTEST_F() 255 OH_Drawing_Point2D end = {100.f, 0}; HWTEST_F() local 302 OH_Drawing_Point2D end = {100.f, 0}; HWTEST_F() local [all...] |
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventcpptest/ |
H A D | HiAppEventCPPTest.cpp | 79 getlogFile = accumulate(file.begin(), file.end(), getlogFile); in HWTEST_F() 91 GTEST_LOG_(INFO) << "DFX_DFT_HiviewKit_HiAppEvent_Native_0100 end" << endl; in HWTEST_F() 115 getlogFile = accumulate(file.begin(), file.end(), getlogFile); in HWTEST_F() 127 GTEST_LOG_(INFO) << "DFX_DFT_HiviewKit_HiAppEvent_Native_0200 end" << endl; in HWTEST_F() 150 getlogFile = accumulate(file.begin(), file.end(), getlogFile); in HWTEST_F() 162 GTEST_LOG_(INFO) << "DFX_DFT_HiviewKit_HiAppEvent_Native_0300 end" << endl; in HWTEST_F() 185 getlogFile = accumulate(file.begin(), file.end(), getlogFile); in HWTEST_F() 197 GTEST_LOG_(INFO) << "DFX_DFT_HiviewKit_HiAppEvent_Native_0400 end" << endl; in HWTEST_F() 222 getlogFile = accumulate(file.begin(), file.end(), getlogFile); in HWTEST_F() 234 GTEST_LOG_(INFO) << "DFX_DFT_HiviewKit_HiAppEvent_Native_0500 end" << end in HWTEST_F() [all...] |
/test/xts/hats/hdf/camera/cameraHdi/buffer_manager/ |
H A D | buffer_manager_utest.cpp | 237 auto end = std::chrono::system_clock::now(); in HWTEST_F() local 238 auto timeElapsed = std::chrono::duration_cast<std::chrono::microseconds>(end - begin); in HWTEST_F() 247 end = std::chrono::system_clock::now(); in HWTEST_F() 248 timeElapsed = std::chrono::duration_cast<std::chrono::microseconds>(end - begin); in HWTEST_F() 258 end = std::chrono::system_clock::now(); in HWTEST_F() 260 timeElapsed = std::chrono::duration_cast<std::chrono::microseconds>(end - begin); in HWTEST_F() 325 auto retBufferIt = std::find(busyList.begin(), busyList.end(), *it); in HWTEST_F() 326 if (retBufferIt != busyList.end()) { in HWTEST_F() 327 idleList.splice(idleList.end(), busyList, retBufferIt); in HWTEST_F() 383 for (auto it = graph.begin(); it != graph.end(); i in HWTEST_F() [all...] |
/test/xts/acts/kernel_lite/time_posix/src/ |
H A D | ClockTimeTest.cpp | 50 LOG("test end at %ld", (long)time1.tv_sec);
in TearDownTestCase() 227 struct tms end = {0};
in HWTEST_F() local 235 clock_t endTime = times(&end);
in HWTEST_F() 238 end.tms_utime, end.tms_stime, end.tms_cutime, end.tms_cstime);
in HWTEST_F() 241 (long)(end.tms_utime - start.tms_utime),
in HWTEST_F() 242 (long)(end.tms_stime - start.tms_stime));
in HWTEST_F() 247 if (!CheckValueClose(end in HWTEST_F() [all...] |
/test/ostest/wukong/common/src/ |
H A D | app_manager.cpp | 43 auto it = find(tempAllowList.begin(), tempAllowList.end(), bundleName); in AllowAbilityStart() 46 if (it != tempAllowList.end()) { in AllowAbilityStart() 58 it = find(blocklist.begin(), blocklist.end(), bundleName); in AllowAbilityStart() 59 if (it == blocklist.end()) { in AllowAbilityStart()
|
H A D | wukong_util.cpp | 230 auto it = find(bundleList.begin(), bundleList.end(), key); in FindElement() 231 if (it != bundleList.end()) { in FindElement() 244 std::set<std::string> m(allowList_.begin(), allowList_.end()); in CheckBundleNameList() 246 for (auto it = blockList_.begin(); it != blockList_.end(); it++) { in CheckBundleNameList() 247 if (m.find(*it) != m.end()) { in CheckBundleNameList() 333 std::set<std::string> m(allowAbilityList_.begin(), allowAbilityList_.end()); in CheckAbilityNameList() 335 for (auto it = blockAbilityList_.begin(); it != blockAbilityList_.end(); it++) { in CheckAbilityNameList() 336 if (m.find(*it) != m.end()) { in CheckAbilityNameList() 363 blockPageList_.insert(blockPageList_.end(), temp.begin(), temp.end()); in SetBlockPageList() [all...] |
/test/testfwk/arkxtest/uitest/core/ |
H A D | frontend_api_handler.cpp | 45 if (find != refCountMap_.end()) { in IncRef() 55 if (find != refCountMap_.end()) { in DecAndGetRef() 77 if (find == callBackInfos_.end()) { 101 if (find != callBackInfos_.end()) { in AddCallbackInfo() 137 DCHECK(find(DATA_TYPE_SCOPE.begin(), DATA_TYPE_SCOPE.end(), token) != DATA_TYPE_SCOPE.end()); in ParseMethodSignature() 142 // add return value type to the end of types. in ParseMethodSignature() 145 break; // end parsing in ParseMethodSignature() 197 if (result == apiMap.end()) { in CheckAndDoApiMapping() 201 if (specialMapItem != apiMap.end()) { in CheckAndDoApiMapping() [all...] |
H A D | dump_handler.cpp | 35 auto end = str.find(endStr, index); in GetMiddleStr() local 36 if (end != string::npos) { in GetMiddleStr() 37 string_view result = str.substr(index, end - index); in GetMiddleStr() 38 index = end; in GetMiddleStr() 96 auto elementTree = (find != elementTrees.end()) ? find->second : ""; in AddExtraAttrs()
|
/test/ostest/wukong/test_flow/src/ |
H A D | random_test_flow.cpp | 239 if (it == OPTION_INPUT_PERCENT.end()) { in SetInputPercent() 453 auto it = find(allowList.begin(), allowList.end(), curBundleName); in ProtectRightAbility() 454 if (it == allowList.end()) { in ProtectRightAbility() 468 auto bundleIndex = find(allowList.begin(), allowList.end(), curBundleName); in ProtectRightAbility() 469 auto abilityIndex = find(abilityList.begin(), abilityList.end(), curAbilityName); in ProtectRightAbility() 470 if (bundleIndex == allowList.end() || abilityIndex == abilityList.end()) { in ProtectRightAbility() 694 auto it = find(blockAbilityList.begin(), blockAbilityList.end(), currentAbility); in CheckBlockAbility() 695 if (it != blockAbilityList.end()) { in CheckBlockAbility()
|
/test/xts/tools/lite/reliability/ |
H A D | JSPressTest.js | 56 let end = start + this.timeout * 1000; 58 while(this.times > 0 || start < end) { 67 while(this.times > 0 || start < end) {
|
/test/ostest/wukong/component_event/src/ |
H A D | normal_scene.cpp | 46 for (auto it = componentList.begin(); it != componentList.end(); it++) { in SetInputComponentList() 54 for (auto it = componentList.begin(); it != componentList.end(); it++) { in SetInputComponentList() 124 for (auto it = componentList.begin(); it != componentList.end(); it++) { in SetInputComponentListForFocusInput() 152 for (auto it = componentList.begin(); it != componentList.end(); it++) { in SubtractComponent()
|