Home
last modified time | relevance | path

Searched refs:begin (Results 1 - 25 of 132) sorted by relevance

123456

/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/stack/
H A Dstack_lineargradient_test.cpp26 float begin = 0.0; in TestStackLinearGradient001() local
28 float stops[] = {begin, end}; in TestStackLinearGradient001()
48 ASSERT_EQ(((ArkUI_ColorStop *)(nodeAPI->getAttribute(stack, NODE_LINEAR_GRADIENT)->object))->stops[0], begin); in TestStackLinearGradient001()
60 float begin = 0.0; in TestStackLinearGradient002() local
62 float stops[] = {begin, end}; in TestStackLinearGradient002()
82 ASSERT_EQ(((ArkUI_ColorStop *)(nodeAPI->getAttribute(stack, NODE_LINEAR_GRADIENT)->object))->stops[0], begin); in TestStackLinearGradient002()
94 float begin = 0.0; in TestStackLinearGradient003() local
96 float stops[] = {begin, end}; in TestStackLinearGradient003()
116 ASSERT_EQ(((ArkUI_ColorStop *)(nodeAPI->getAttribute(stack, NODE_LINEAR_GRADIENT)->object))->stops[0], begin); in TestStackLinearGradient003()
128 float begin in TestStackLinearGradient004() local
162 float begin = 0.0; TestStackLinearGradient005() local
196 float begin = 0.0; TestStackLinearGradient006() local
230 float begin = 0.0; TestStackLinearGradient007() local
264 float begin = 0.0; TestStackLinearGradient008() local
298 float begin = 0.0; TestStackLinearGradient009() local
332 float begin = 0.0; TestStackLinearGradient010() local
[all...]
/test/ostest/wukong/component_event/src/
H A Dnormal_scene.cpp46 for (auto it = componentList.begin(); it != componentList.end(); it++) { in SetInputComponentList()
50 TRACK_LOG_STR("index0: %d", distance(componentList.begin(), it)); in SetInputComponentList()
54 for (auto it = componentList.begin(); it != componentList.end(); it++) { in SetInputComponentList()
60 TRACK_LOG_STR("index: %d", distance(componentList.begin(), it)); in SetInputComponentList()
124 for (auto it = componentList.begin(); it != componentList.end(); it++) { in SetInputComponentListForFocusInput()
132 TRACK_LOG_STR("index0: %d", distance(componentList.begin(), it)); in SetInputComponentListForFocusInput()
152 for (auto it = componentList.begin(); it != componentList.end(); it++) { in SubtractComponent()
/test/testfwk/arkxtest/uitest/record/
H A Dmatrix3.h38 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 Dleast_square_impl.cpp29 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 Dpointer_tracker.cpp76 for (auto it = fingerTrackers.begin(); it != fingerTrackers.end(); it++) { in HandleDownEvent()
171 for (auto it = fingerTrackers.begin(); it != fingerTrackers.end(); it++) { in ClearFingerTrackersValues()
338 for (auto it = fingerTrackers.begin(); it != fingerTrackers.end(); it++) { in BuildPointerInfo()
356 for (auto it = fingerTrackers.begin(); it != fingerTrackers.end(); it++) { in BuildPointerInfo()
H A Dkeyevent_tracker.cpp36 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()
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventcpptest/
H A DHiAppEventCPPTest.cpp79 getlogFile = accumulate(file.begin(), file.end(), getlogFile); in HWTEST_F()
115 getlogFile = accumulate(file.begin(), file.end(), getlogFile); in HWTEST_F()
150 getlogFile = accumulate(file.begin(), file.end(), getlogFile); in HWTEST_F()
185 getlogFile = accumulate(file.begin(), file.end(), getlogFile); in HWTEST_F()
222 getlogFile = accumulate(file.begin(), file.end(), getlogFile); in HWTEST_F()
257 getlogFile = accumulate(file.begin(), file.end(), getlogFile); in HWTEST_F()
292 getlogFile = accumulate(file.begin(), file.end(), getlogFile); in HWTEST_F()
327 getlogFile = accumulate(file.begin(), file.end(), getlogFile); in HWTEST_F()
362 getlogFile = accumulate(file.begin(), file.end(), getlogFile); in HWTEST_F()
397 getlogFile = accumulate(file.begin(), fil in HWTEST_F()
[all...]
/test/xts/hats/hdf/camera/cameraHdi/buffer_manager/
H A Dbuffer_manager_utest.cpp235 auto begin = std::chrono::system_clock::now(); in HWTEST_F() local
238 auto timeElapsed = std::chrono::duration_cast<std::chrono::microseconds>(end - begin); in HWTEST_F()
245 begin = std::chrono::system_clock::now(); in HWTEST_F()
248 timeElapsed = std::chrono::duration_cast<std::chrono::microseconds>(end - begin); in HWTEST_F()
256 begin = std::chrono::system_clock::now(); in HWTEST_F()
260 timeElapsed = std::chrono::duration_cast<std::chrono::microseconds>(end - begin); in HWTEST_F()
297 auto it = idleList.begin(); in HWTEST_F()
299 busyList.splice(busyList.begin(), idleList, it); in HWTEST_F()
323 auto it = inuseBufferList.begin(); in HWTEST_F()
325 auto retBufferIt = std::find(busyList.begin(), busyLis in HWTEST_F()
[all...]
/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/
H A DExecutorTest.cpp302 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
307 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F()
342 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
347 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F()
382 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
387 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F()
422 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
427 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F()
461 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
466 } else if (std::find(graphArgs.outputIndices.begin(), graphArg in HWTEST_F()
[all...]
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/
H A DExecutorTest.cpp407 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
412 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F()
447 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
452 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F()
487 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
492 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F()
527 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
532 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F()
566 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
571 } else if (std::find(graphArgs.outputIndices.begin(), graphArg in HWTEST_F()
[all...]
/test/xts/acts/ai/neural_network_runtime/v2_0/common/
H A Dnnrt_utils.cpp44 if (std::find(graphArgs.paramIndices[j].begin(), graphArgs.paramIndices[j].end(), opCnt) != in BuildMultiOpGraph()
94 if (std::find(graphArgs.paramIndices.begin(), graphArgs.paramIndices.end(), i) != in BuildSingleOpGraph()
229 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in ExecuteGraphMock()
238 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in ExecuteGraphMock()
272 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in ExecutorWithMemory()
284 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in ExecutorWithMemory()
/test/xts/acts/ai/neural_network_runtime/v1_0/common/
H A Dnnrt_utils.cpp44 if (std::find(graphArgs.paramIndices[j].begin(), graphArgs.paramIndices[j].end(), opCnt) != in BuildMultiOpGraph()
94 if (std::find(graphArgs.paramIndices.begin(), graphArgs.paramIndices.end(), i) != in BuildSingleOpGraph()
229 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in ExecuteGraphMock()
238 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in ExecuteGraphMock()
272 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in ExecutorWithMemory()
284 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in ExecutorWithMemory()
/test/ostest/wukong/common/src/
H A Dwukong_util.cpp230 auto it = find(bundleList.begin(), bundleList.end(), key); in FindElement()
232 return distance(bundleList.begin(), it); 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()
333 std::set<std::string> m(allowAbilityList_.begin(), allowAbilityList_.end()); in CheckAbilityNameList()
335 for (auto it = blockAbilityList_.begin(); it != blockAbilityList_.end(); it++) { in CheckAbilityNameList()
363 blockPageList_.insert(blockPageList_.end(), temp.begin(), temp.end()); in SetBlockPageList()
417 std::set<std::string> s(argumentlist.begin(), argumentlist.end()); in DelRepeatArguments()
418 argumentlist.assign(s.begin(), s.end()); in DelRepeatArguments()
H A Dapp_manager.cpp43 auto it = find(tempAllowList.begin(), tempAllowList.end(), bundleName); in AllowAbilityStart()
58 it = find(blocklist.begin(), blocklist.end(), bundleName); in AllowAbilityStart()
/test/testfwk/arkxtest/uitest/test/
H A Dui_action_test.cpp450 auto event1 = *events.begin(); in TEST_F()
451 auto event2 = *(events.begin() + 1); in TEST_F()
465 auto event1 = *events.begin(); in TEST_F()
466 auto event2 = *(events.begin() + 1); in TEST_F()
467 auto event3 = *(events.begin() + 2); in TEST_F()
468 auto event4 = *(events.begin() + 3); in TEST_F()
489 auto event1 = *events.begin(); in TEST_F()
490 auto event2 = *(events.begin() + 1); in TEST_F()
/test/testfwk/arkxtest/uitest/core/
H A Ddump_handler.cpp32 auto begin = str.find(startStr, index); in GetMiddleStr() local
33 if (begin != string::npos) { in GetMiddleStr()
34 index = begin + startStr.size(); in GetMiddleStr()
H A Drect_algorithm.cpp32 sort(px.begin(), px.end()); in ComputeIntersection()
33 sort(py.begin(), py.end()); in ComputeIntersection()
/test/ostest/wukong/report/include/
H A Dstatistics_event.h46 eventTypesIter = find(eventTypes_.begin(), eventTypes_.end(), eventType); in ElementTypesIndex()
48 index = (uint32_t)(eventTypesIter - eventTypes_.begin()); in ElementTypesIndex()
/test/xts/hats/hdf/display/composer/common/
H A Dhdi_test_device.cpp83 DISPLAY_TEST_CHK_RETURN((displays_.begin() == displays_.end()), nullptr, in GetFirstDisplay()
85 return displays_.begin()->second; in GetFirstDisplay()
/test/testfwk/developer_test/aw/python/distributed/distribute/
H A Ddistribute.py166 begin = device_info.find("dev_nodeid")
167 if begin == -1:
170 end = device_info.find(",", begin)
174 dev_nodeid_info = device_info[begin:end].replace('"', "")
/test/xts/acts/global_lite/i18n_lite/resource_parse_load/src/
H A Dhap_parser_test.cpp107 for (auto kp = keyParams.begin(); kp != keyParams.end(); kp++) { in HWTEST_F()
180 for (auto kp = keyParams.begin(); kp != keyParams.end(); kp++) { in HWTEST_F()
/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/
H A Dcamera_ability_test.cpp78 for (auto it = afAvailable.begin(); it != afAvailable.end(); it++) { in GetAfAvailable()
101 for (auto it = zoomRatioRange.begin(); it != zoomRatioRange.end(); it++) { in GetZoomRatioRange()
/test/ostest/wukong/test_flow/src/
H A Drandom_test_flow.cpp453 auto it = find(allowList.begin(), allowList.end(), curBundleName); in ProtectRightAbility()
468 auto bundleIndex = find(allowList.begin(), allowList.end(), curBundleName); in ProtectRightAbility()
469 auto abilityIndex = find(abilityList.begin(), abilityList.end(), curAbilityName); in ProtectRightAbility()
694 auto it = find(blockAbilityList.begin(), blockAbilityList.end(), currentAbility); in CheckBlockAbility()
/test/xts/dcts/distributedhardware/distributedscreentest/
H A Ddecoder_demo.cpp206 if (std::find(localCodecArray.begin(), localCodecArray.end(), in CheckCodecType()
210 } else if (std::find(localCodecArray.begin(), localCodecArray.end(), in CheckCodecType()
/test/testfwk/xdevice/src/xdevice/_core/
H A Dutils.py754 def calculate_elapsed_time(begin, end):
757 begin: int/datetime, begin time
764 if isinstance(begin, datetime) and isinstance(end, datetime):
765 total_seconds = (end - begin).total_seconds()
768 total_seconds = end - begin

Completed in 18 milliseconds

123456