Home
last modified time | relevance | path

Searched refs:step (Results 1 - 25 of 172) sorted by relevance

1234567

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dperformance_analysis.cpp63 bool PerformanceAnalysis::IsStepValid(uint32_t step) const in IsStepValid()
65 return (stepNum_ < MAX_TIMERECORD_STEP_NUM && step < stepNum_); in IsStepValid()
83 bool PerformanceAnalysis::InsertTimeRecord(const TimePair &timePair, uint32_t step) in InsertTimeRecord() argument
85 if (!IsStepValid(step)) { // LCOV_EXCL_BR_LINE in InsertTimeRecord()
88 timeRecordData_.timeInfo[step] = timePair; in InsertTimeRecord()
92 bool PerformanceAnalysis::GetTimeRecord(uint32_t step, TimePair &timePair) const in GetTimeRecord() argument
94 if (!IsStepValid(step)) { // LCOV_EXCL_BR_LINE in GetTimeRecord()
97 timePair = timeRecordData_.timeInfo[step]; in GetTimeRecord()
117 void PerformanceAnalysis::StepTimeRecordStart(uint32_t step) in StepTimeRecordStart() argument
122 if (!IsStepValid(step)) { // LCOV_EXCL_BR_LIN in StepTimeRecordStart()
137 StepTimeRecordEnd(uint32_t step) StepTimeRecordEnd() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp_hci_event.c243 SMP_StepFunc GetPairTable(uint16_t step) in GetPairTable() argument
245 if (step >= SMP_LEGACY_PAIR_MASTER_STEP_1 && step <= SMP_LEGACY_PAIR_MASTER_STEP_18) { in GetPairTable()
246 return g_masLegacy[step - SMP_LEGACY_PAIR_MASTER_STEP_1]; in GetPairTable()
247 } else if (step >= SMP_LEGACY_PAIR_SLAVE_STEP_1 && step <= SMP_LEGACY_PAIR_SLAVE_STEP_20) { in GetPairTable()
248 return g_slaLegacy[step - SMP_LEGACY_PAIR_SLAVE_STEP_1]; in GetPairTable()
249 } else if (step >= SMP_SC_PAIR_JUSTWORKORNUMERIC_MASTER_STEP_1 && in GetPairTable()
250 step <= SMP_SC_PAIR_JUSTWORKORNUMERIC_MASTER_STEP_14) { in GetPairTable()
251 return g_masScjw[step in GetPairTable()
276 SMP_ExecuteStepFunc(uint16_t step, const SMP_StepParam *param) SMP_ExecuteStepFunc() argument
622 SMP_OnReadLocalPubKeyCompStepDistribution(uint16_t step, const SMP_StepParam *param) SMP_OnReadLocalPubKeyCompStepDistribution() argument
691 SMP_OnGenDhKeyCompStepDistribution(uint16_t step, const SMP_StepParam *param) SMP_OnGenDhKeyCompStepDistribution() argument
[all...]
H A Dsmp_receive.c60 static void SMP_RecvPairCfmStepDistribution(uint16_t step, const SMP_StepParam *param);
61 static void SMP_RecvPairRandStepDistribution(uint16_t step, const SMP_StepParam *param);
62 static void SMP_RecvPairPubKeyStepDistribution(uint16_t step, const SMP_StepParam *param);
216 SMP_GetPairMng()->step = SMP_LEGACY_PAIR_SLAVE_STEP_1; in SMP_ReceivePairingRequest()
298 if (SMP_GetPairMng()->step != SMP_LEGACY_PAIR_MASTER_STEP_1) { in SMP_RecvPairRspJudgeException()
333 SMP_RecvPairCfmStepDistribution(SMP_GetPairMng()->step, &param); in SMP_ReceivePairingConfirm()
336 static void SMP_RecvPairCfmStepDistribution(uint16_t step, const SMP_StepParam *param) in SMP_RecvPairCfmStepDistribution() argument
338 switch (step) { in SMP_RecvPairCfmStepDistribution()
365 LOG_ERROR("It's invalid step:%hu.", step); in SMP_RecvPairCfmStepDistribution()
388 SMP_RecvPairRandStepDistribution(uint16_t step, const SMP_StepParam *param) SMP_RecvPairRandStepDistribution() argument
577 SMP_RecvPairPubKeyStepDistribution(uint16_t step, const SMP_StepParam *param) SMP_RecvPairPubKeyStepDistribution() argument
[all...]
H A Dsmp_send.c164 int SMP_SendHciLeRandCmd(uint16_t step) in SMP_SendHciLeRandCmd() argument
166 if (step) { in SMP_SendHciLeRandCmd()
167 SMP_GetPairMng()->step = step; in SMP_SendHciLeRandCmd()
180 const HciLeEncryptParam *pEncryptParam, uint16_t step, const SMP_EncCmd *pEncCmdData, bool isUsingHw) in SMP_SendLeEncryptCmd()
189 if (step) { in SMP_SendLeEncryptCmd()
190 if ((step >= SMP_PAIR_STEP_START) && (step <= SMP_PAIR_STEP_END)) { in SMP_SendLeEncryptCmd()
191 SMP_GetPairMng()->step = step; in SMP_SendLeEncryptCmd()
179 SMP_SendLeEncryptCmd( const HciLeEncryptParam *pEncryptParam, uint16_t step, const SMP_EncCmd *pEncCmdData, bool isUsingHw) SMP_SendLeEncryptCmd() argument
[all...]
H A Dsmp_hci_event.h35 SMP_StepFunc GetPairTable(uint16_t step);
36 void SMP_ExecuteStepFunc(uint16_t step, const SMP_StepParam *param);
H A Dsmp_send.h30 int SMP_SendHciLeRandCmd(uint16_t step);
32 const HciLeEncryptParam *pEncryptParam, uint16_t step, const SMP_EncCmd *pEncCmdData, bool isUsingHw);
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/modifiers/
H A Dreverse.cpp30 bool Reverse::ProcessOnStep(StepData& step) const in ProcessOnStep()
32 step.progress = 1.f - step.progress; in ProcessOnStep()
33 step.reverse = !step.reverse; in ProcessOnStep()
H A Dspeed.cpp37 bool SpeedImpl::ProcessOnStep(StepData& step) const in ProcessOnStep()
41 step.progress = 1.f - step.progress; in ProcessOnStep()
42 step.reverse = !step.reverse; in ProcessOnStep()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dperformance_analysis.h81 void StepTimeRecordStart(uint32_t step);
83 void StepTimeRecordEnd(uint32_t step);
94 explicit PerformanceAnalysis(uint32_t step);
98 bool IsStepValid(uint32_t step) const;
102 bool InsertTimeRecord(const TimePair &timePair, uint32_t step);
104 bool GetTimeRecord(uint32_t step, TimePair &timePair) const;
/foundation/arkui/ui_lite/frameworks/render/
H A Drender_pixfmt_rgba_blend.cpp39 int16_t step = NEON_STEP_8 * PIX_STEP; in CopyHLine() local
44 pixelPtr = pixelPtr->colors + step; in CopyHLine()
62 int16_t step = NEON_STEP_8 * PIX_STEP; in BlendHLine() local
65 pixelPtr = pixelPtr->colors + step; in BlendHLine()
101 int16_t step = NEON_STEP_8 * PIX_STEP; in BlendSolidHSpan() local
104 pixelPtr = pixelPtr->colors + step; in BlendSolidHSpan()
146 int16_t step = NEON_STEP_8 * PIX_STEP; in CopyColorHSpan() local
156 pixelPtr = pixelPtr->colors + step; in CopyColorHSpan()
185 int16_t step = NEON_STEP_8 * PIX_STEP; in BlendColorHSpan() local
196 pixelPtr = pixelPtr->colors + step; in BlendColorHSpan()
208 int16_t step = NEON_STEP_8 * PIX_STEP; BlendColorHSpan() local
[all...]
/foundation/arkui/ace_engine/frameworks/component_test/core/
H A Daction.cpp77 for (uint32_t step = 0; step < events.GetSteps(); step++) { in DispatchPointerEvent()
83 PointerEventAction& pointerEventAction = events.GetEventAction(finger, step); in DispatchPointerEvent()
152 for (uint16_t step = 1; step < steps_; step++) { in Decompose()
153 float pointX = from_.GetX() + (distanceX * step) / steps_; in Decompose()
154 float pointY = from_.GetY() + (distanceY * step) / steps_; in Decompose()
193 for (uint16_t step in Decompose()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/agent/
H A Dagent.cpp65 SHARING_LOGW("check run step return, agentId: %{public}u.", GetId()); in HandleEvent()
417 void Agent::SetRunningStatus(AgentRunStep step, AgentRunningStatus status) in SetRunningStatus() argument
419 SHARING_LOGD("agentId: %{public}u, set agent running step: %{public}s, status: %{public}s.", GetId(), in SetRunningStatus()
420 std::string(magic_enum::enum_name(step)).c_str(), std::string(magic_enum::enum_name(status)).c_str()); in SetRunningStatus()
421 runStep_ = step; in SetRunningStatus()
659 AgentRunStep step = AGENT_STEP_IDLE; in GetRunStep() local
662 step = AGENT_STEP_START; in GetRunStep()
665 step = AGENT_STEP_APPENDSURFACE; in GetRunStep()
668 step = AGENT_STEP_REMOVESURFACE; in GetRunStep()
671 step in GetRunStep()
723 AgentRunStep step = GetRunStep(event.eventMsg->type); CheckRunStep() local
782 PopNextStep(AgentRunStep step, AgentRunningStatus status) PopNextStep() argument
[all...]
/foundation/ability/idl_tool/idl_tool_2/util/
H A Dstring_pool.cpp78 size_t step = dataCapacity_ * 3; in Grow() local
79 newSize = step > newSize ? step : step + newSize; in Grow()
/foundation/ability/idl_tool/util/
H A Dstring_pool.cpp78 size_t step = dataCapacity_ * 3; in Grow() local
79 newSize = step > newSize ? step : step + newSize; in Grow()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtabs_pattern.cpp395 FocusStep step, const WeakPtr<FocusHub>& currFocusNode, WeakPtr<FocusHub>& nextFocusNode) { in GetScopeFocusAlgorithm()
398 nextFocusNode = tabs->GetNextFocusNode(step, currFocusNode); in GetScopeFocusAlgorithm()
403 WeakPtr<FocusHub> TabsPattern::GetNextFocusNode(FocusStep step, const WeakPtr<FocusHub>& currentFocusNode) in GetNextFocusNode() argument
431 ((tabBarPosition == BarPosition::START && axis == Axis::HORIZONTAL && step == FocusStep::DOWN) || in GetNextFocusNode()
433 (isRTL_ ? step == FocusStep::LEFT : step == FocusStep::RIGHT)) || in GetNextFocusNode()
434 (tabBarPosition == BarPosition::END && axis == Axis::HORIZONTAL && step == FocusStep::UP) || in GetNextFocusNode()
436 (isRTL_ ? step == FocusStep::RIGHT : step == FocusStep::LEFT)))) { in GetNextFocusNode()
440 if ((tabBarPosition == BarPosition::START && axis == Axis::HORIZONTAL && step in GetNextFocusNode()
[all...]
/foundation/multimodalinput/input/intention/cooperate/plugin/src/
H A Di_cooperate_state.cpp35 void ICooperateState::Switch(std::shared_ptr<ICooperateStep> step) in Switch() argument
37 if (step != nullptr) { in Switch()
38 current_ = step; in Switch()
66 void ICooperateState::ICooperateStep::Switch(std::shared_ptr<ICooperateStep> step) in Switch() argument
68 parent_.Switch(step); in Switch()
/foundation/arkui/ui_lite/test/autotest/src/
H A Dui_auto_test.cpp178 void UIAutoTest::OnTestOneStep(TestSteps step, std::string className, size_t stepIndex) in OnTestOneStep() argument
180 if (step.eventID == TestEventID::TEST_CLICK_EVENT) { in OnTestOneStep()
181 ClickViewById(step.viewID.c_str()); in OnTestOneStep()
182 } else if (step.eventID == TestEventID::TEST_MOVE_EVENT) { in OnTestOneStep()
183 if (step.eventValue.size() < EVENT_VALUE_SIZE_TWO) { in OnTestOneStep()
187 int16_t x = static_cast<int16_t>(step.eventValue[0]); in OnTestOneStep()
188 int16_t y = static_cast<int16_t>(step.eventValue[1]); in OnTestOneStep()
189 DrageToView(step.viewID.c_str(), x, y); in OnTestOneStep()
192 if (step.saveCheckPoint) { in OnTestOneStep()
193 OnSaveFile(className, step in OnTestOneStep()
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/
H A Dintf_animation_internal.h65 IAnimationModifier::StepData step; member
73 params.step = IAnimationModifier::StepData(progress);
80 params.step = IAnimationModifier::StepData(progress);
H A Dstaggered_animation_state.cpp186 params.step.progress = MapTo01Range(parentProgress, segment.startProgress_, segment.endProgress_, reverse);
190 if (params.step.progress < 0.f) {
192 } else if (params.step.progress >= 1.f) {
200 params.step.progress = 1.f - params.step.progress;
202 params.step.reverse = reverse;
249 const auto step = ApplyStepModifiers(containerProgress); in Evaluate() local
252 if (internal->Move(TransformChild(segment, containerProgress, GetAnimationTargetState(), step.reverse))) { in Evaluate()
324 const auto step = ApplyStepModifiers(containerProgress); in Evaluate() local
327 auto active = GetActiveAnimation(containerProgress, step in Evaluate()
[all...]
H A Danimation_state.cpp127 const auto& step = move.step; variable
130 // Figure out target state based on step data automatically
131 const float progress = step.progress;
132 const bool reverse = step.reverse;
150 const auto& step = move.step; in Move() local
151 float progress = step.progress; in Move()
335 IAnimationModifier::StepData step(progress); in ApplyStepModifiers()
337 mod->ProcessOnStep(step); in ApplyStepModifiers()
432 auto step = ApplyStepModifiers(data.progress); EvaluateValue() local
[all...]
/foundation/ability/ability_runtime/interfaces/inner_api/dataobs_manager/include/
H A Ddataobs_utils.h110 bool ReadVariant(uint32_t step, uint32_t index, const _OutTp &output, MessageParcel &data);
112 bool ReadVariant(uint32_t step, uint32_t index, const _OutTp &output, MessageParcel &data);
115 bool WriteVariant(uint32_t step, const _InTp &input, MessageParcel &data);
117 bool WriteVariant(uint32_t step, const _InTp &input, MessageParcel &data);
152 bool DataObsUtils::ReadVariant(uint32_t step, uint32_t index, const _OutTp &output, MessageParcel &data) in ReadVariant() argument
158 bool DataObsUtils::ReadVariant(uint32_t step, uint32_t index, const _OutTp &output, MessageParcel &data) in ReadVariant() argument
160 if (step == index) { in ReadVariant()
166 return DataObsUtils::ReadVariant<_OutTp, _Rest...>(step + 1, index, output, data); in ReadVariant()
170 bool DataObsUtils::WriteVariant(uint32_t step, const _InTp &input, MessageParcel &data) in WriteVariant() argument
176 bool DataObsUtils::WriteVariant(uint32_t step, cons argument
[all...]
/foundation/multimedia/image_framework/plugins/manager/src/framework/
H A Dplugin.cpp342 VersionParseStep step = VersionParseStep::STEP_MAJOR; in AnalyzeVersion() local
348 auto ret = ExecuteVersionAnalysis(tmp, step, versionArray); in AnalyzeVersion()
355 if (step == VersionParseStep::STEP_NANO) { in AnalyzeVersion()
359 step = VersionParseStep::STEP_FINISHED; in AnalyzeVersion()
362 if (step != VersionParseStep::STEP_FINISHED) { in AnalyzeVersion()
363 IMAGE_LOGE("analysis version failed, step = %{public}d.", step); in AnalyzeVersion()
378 uint32_t Plugin::ExecuteVersionAnalysis(const string &input, VersionParseStep &step, in ExecuteVersionAnalysis() argument
381 switch (step) { in ExecuteVersionAnalysis()
388 step in ExecuteVersionAnalysis()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/serializable/
H A Dserializable.h110 static bool ReadVariant(const json &node, const std::string &name, uint32_t step, uint32_t index, _OutTp &output);
113 static bool ReadVariant(const json &node, const std::string &name, uint32_t step, uint32_t index, _OutTp &output);
116 static bool WriteVariant(json &node, uint32_t step, const _InTp &input);
119 static bool WriteVariant(json &node, uint32_t step, const _InTp &input);
231 bool Serializable::WriteVariant(json &node, uint32_t step, const _InTp &input) in WriteVariant() argument
237 bool Serializable::ReadVariant(const json &node, const std::string &name, uint32_t step, uint32_t index, _OutTp &output) in ReadVariant() argument
239 if (step == index) { in ReadVariant()
247 return Serializable::ReadVariant<_OutTp, _Rest...>(node, name, step + 1, index, output); in ReadVariant()
251 bool Serializable::WriteVariant(json &node, uint32_t step, const _InTp &input) in WriteVariant() argument
253 if (step in WriteVariant()
260 ReadVariant(const json &node, const std::string &name, uint32_t step, uint32_t index, _OutTp &output) ReadVariant() argument
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/scrollable/
H A Dscrollable_utils_test.cpp59 OffsetF step = { 0, 0 }; in FillChildren() local
61 step.SetX(size.Width()); in FillChildren()
62 step.SetY(0); in FillChildren()
64 step.SetX(0); in FillChildren()
65 step.SetY(size.Height()); in FillChildren()
76 offset += step; in FillChildren()
/foundation/distributeddatamgr/udmf/framework/common/
H A Dtlv_util.h295 template <typename _InTp> size_t CountVariant(TLVObject &data, uint32_t step, const _InTp &intput) in CountVariant() argument
301 size_t CountVariant(TLVObject &data, uint32_t step, const _InTp &input) in CountVariant() argument
303 if (step == input.index()) { in CountVariant()
306 return CountVariant<_InTp, _Rest...>(data, step + 1, input); in CountVariant()
318 template <typename _InTp> bool WriteVariant(TLVObject &data, uint32_t step, const _InTp &input, TAG tag) in WriteVariant() argument
324 bool WriteVariant(TLVObject &data, uint32_t step, const _InTp &input, TAG tag) in WriteVariant() argument
326 if (step == input.index()) { in WriteVariant()
330 return WriteVariant<_InTp, _Rest...>(data, step + 1, input, tag); in WriteVariant()
348 template <typename _OutTp> bool ReadVariant(TLVObject &data, uint32_t step, uint32_t index, _OutTp &value, TLVHead head) in ReadVariant() argument
354 bool ReadVariant(TLVObject &data, uint32_t step, uint32_ argument
[all...]

Completed in 13 milliseconds

1234567