Home
last modified time | relevance | path

Searched refs:algorithm (Results 1 – 25 of 61) sorted by relevance

123

/foundation/multimedia/camera_framework/services/camera_service/src/smooth_zoom/
Dsmooth_zoom.cpp23 std::shared_ptr<IZoomAlgorithm> algorithm; in GetZoomAlgorithm() local
26 algorithm = std::make_shared<CubicBezier>(); in GetZoomAlgorithm()
29 algorithm = std::make_shared<CubicBezier>(); in GetZoomAlgorithm()
32 return algorithm; in GetZoomAlgorithm()
/foundation/communication/netstack/frameworks/native/tls_socket/src/
Dtls_key.cpp29 TLSKey::TLSKey(const std::string &fileName, KeyAlgorithm algorithm, const SecureData &passPhrase, in TLSKey() argument
33 DecodeDer(type, algorithm, fileName, passPhrase); in TLSKey()
35 DecodePem(type, algorithm, fileName, passPhrase); in TLSKey()
39 TLSKey::TLSKey(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhrase) in TLSKey() argument
44 DecodeData(data, algorithm, passPhrase); in TLSKey()
79 void TLSKey::DecodeData(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhras… in DecodeData() argument
85 keyAlgorithm_ = algorithm; in DecodeData()
99 void TLSKey::DecodeDer(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const Sec… in DecodeDer() argument
106 keyAlgorithm_ = algorithm; in DecodeDer()
140 void TLSKey::SwitchAlgorithm(KeyType type, KeyAlgorithm algorithm, BIO *bio) in SwitchAlgorithm() argument
[all …]
/foundation/communication/netstack/frameworks/native/tls_socket/include/
Dtls_key.h41 TLSKey(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhrase);
42 TLSKey(const std::string &fileName, KeyAlgorithm algorithm, const SecureData &passPhrase,
54 void DecodeData(const SecureData &data, KeyAlgorithm algorithm, const SecureData &passPhrase);
55 …void DecodeDer(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const SecureData…
56 …void DecodePem(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const SecureData…
58 void SwitchAlgorithm(KeyType type, KeyAlgorithm algorithm, BIO *bio);
/foundation/arkui/ace_engine/test/unittest/core/pattern/navrouter/
Dnavrouter_test_ng.cpp308 auto algorithm = AceType::MakeRefPtr<NavDestinationLayoutAlgorithm>(); variable
339 algorithm->Measure(layoutWrapper);
343 algorithm->Measure(layoutWrapper);
348 algorithm->Measure(layoutWrapper);
362 auto algorithm = AceType::MakeRefPtr<NavDestinationLayoutAlgorithm>(); variable
395 algorithm->Layout(layoutWrapper);
399 algorithm->Layout(layoutWrapper);
404 algorithm->Layout(layoutWrapper);
1016 auto algorithm = AceType::MakeRefPtr<BarItemLayoutAlgorithm>(); variable
1025 algorithm->Layout(AceType::RawPtr(layoutWrapper));
[all …]
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/
Dgrid_layout_test_ng.cpp1702 auto algorithm = AceType::MakeRefPtr<GridIrregularLayoutAlgorithm>(info); variable
1703 algorithm->wrapper_ = AceType::RawPtr(frameNode_);
1704 algorithm->crossLens_ = { 50.0f, 50.0f, 100.0f };
1705 algorithm->crossGap_ = 5.0f;
1706 algorithm->mainGap_ = 1.0f;
1707 algorithm->LayoutChildren(0.0f);
1766 auto algorithm = AceType::MakeRefPtr<GridIrregularLayoutAlgorithm>(GridLayoutInfo {}); variable
1767 algorithm->gridLayoutInfo_.currentOffset_ = 0.0f;
1768 algorithm->Measure(AceType::RawPtr(frameNode_));
1772 EXPECT_EQ(algorithm->crossLens_, cmp);
[all …]
/foundation/communication/netstack/test/unittest/tlssocket/client/
DTlsKeyTest.cpp77 KeyAlgorithm algorithm = tlsKey.Algorithm(); variable
78 EXPECT_EQ(algorithm, ALGORITHM_RSA);
104 KeyAlgorithm algorithm = tlsKeyCopy.Algorithm(); variable
105 EXPECT_EQ(algorithm, ALGORITHM_RSA);
115 KeyAlgorithm algorithm = key.Algorithm(); variable
116 EXPECT_EQ(algorithm, ALGORITHM_RSA);
/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/
Dnavigation_test_ng.cpp1186 auto algorithm = AceType::MakeRefPtr<LayoutAlgorithm>(); variable
1187 auto layoutAlgorithmWrapper = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(algorithm);
1239 auto algorithm = AceType::MakeRefPtr<NavigationLayoutAlgorithm>(); variable
1246 algorithm->Layout(AceType::RawPtr(layoutWrapper));
1256 algorithm->Layout(AceType::RawPtr(layoutWrapper));
1261 algorithm->Layout(AceType::RawPtr(layoutWrapper));
1275 algorithm->Layout(AceType::RawPtr(layoutWrapper));
1289 algorithm->Layout(AceType::RawPtr(layoutWrapper));
1294 algorithm->Layout(AceType::RawPtr(layoutWrapper));
1314 algorithm->Measure(AceType::RawPtr(layoutWrapper));
[all …]
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid_container/
Dgrid_container_test_ng.cpp42 auto algorithm = container->GetLayoutAlgorithm(); in MeasureLayout() local
43 algorithm->Measure(AceType::RawPtr(container)); in MeasureLayout()
44 algorithm->Layout(AceType::RawPtr(container)); in MeasureLayout()
/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/
Dlayout_algorithm.h151 void SetLayoutAlgorithm(RefPtr<LayoutAlgorithm> algorithm) in SetLayoutAlgorithm() argument
153 layoutAlgorithm_ = std::move(algorithm); in SetLayoutAlgorithm()
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/include/
Dclient_trans_proxy_file_manager.h128 int32_t algorithm; member
145 int32_t algorithm; member
/foundation/arkui/ui_lite/interfaces/kits/components/
Dui_image_view.h209 void SetTransformAlgorithm(TransformAlgorithm algorithm) in SetTransformAlgorithm() argument
211 algorithm_ = algorithm; in SetTransformAlgorithm()
/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/
Dmenu_test_ng.cpp504 auto algorithm = AceType::MakeRefPtr<MenuItemGroupLayoutAlgorithm>(-1, -1, 0); variable
505 ASSERT_TRUE(algorithm);
4204 auto algorithm = AceType::MakeRefPtr<MultiMenuLayoutAlgorithm>(); variable
4219 algorithm->Layout(wrapper);
4683 …auto algorithm = AceType::DynamicCast<SubMenuLayoutAlgorithm>(menuPattern->CreateLayoutAlgorithm()… variable
4684 ASSERT_TRUE(algorithm);
4693 algorithm->wrapperSize_ = SizeF(FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT);
4694 algorithm->wrapperRect_ = Rect(0, 0, FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT);
4697 algorithm->position_ = OffsetF(MENU_OFFSET_X + MENU_ITEM_SIZE_WIDTH, MENU_OFFSET_Y);
4698 algorithm->Layout(wrapper);
[all …]
/foundation/ai/intelligent_voice_framework/
DREADME.md19 - Sound trigger: Digital Signal Processor (DSP) model loading, DSP algorithm enabling/disabling, an…
23 - Engine algorithm: intelligent voice algorithm engine and event reporting
25 - Device driver: DSP model loading/unloading, DSP algorithm enabling/disabling, event reporting, an…
173 … needApAlgEngine: true, // Specify whether the framework needs to provide the AP algorithm engine.
/foundation/arkui/ui_lite/interfaces/innerkits/engines/gfx/
Dgfx_engine_manager.h48 TransformAlgorithm algorithm; member
74 TransformAlgorithm algorithm; member
/foundation/communication/dsoftbus/sdk/transmission/session/include/
Dclient_trans_session_manager.h64 int32_t algorithm; member
144 int32_t ClientGetFileConfigInfoById(int32_t sessionId, int32_t *fileEncrypt, int32_t *algorithm, in…
/foundation/arkui/ui_lite/test/unittest/components/
Dui_image_unit_test.cpp491 TransformAlgorithm algorithm = NEAREST_NEIGHBOR; variable
492 imageView_->SetTransformAlgorithm(algorithm);
493 EXPECT_EQ(imageView_->GetTransformAlgorithm(), algorithm);
/foundation/ai/ai_engine/
DREADME.md12algorithm plug-ins. The framework consists of the plug-in management, module management, and commu…
35 │ │ └── keyword_spotting # ASR algorithm plug-in reference: keyword spotting
37 │ │ └── image_classification # CV algorithm plug-in reference: image classification
107algorithm in use, you only need to implement the **SyncProcess** or **AsyncProcess** API. Use …
141 Directory: //foundation/ai/ai_engine/services/client/algorithm\_sdk/asr/keyword\_spotting
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/
Dnetwork_security_config_test.cpp40 … {"digest-algorithm": "sha256", "digest": "Q9TCQAWqP4t+eq41xnKaUgJdrPWqyG5L+Ni2YzMhqdY="},
41 … {"digest-algorithm": "sha256", "digest": "Q6TCQAWqP4t+eq41xnKaUgJdrPWqyG5L+Ni2YzMhqdY="}
/foundation/communication/dsoftbus/core/transmission/common/include/
Dsoftbus_app_info.h110 int32_t algorithm; member
/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
Dswiper_test_ng.h81 void InitLayoutWrapper(const RefPtr<FrameNode>& frameNode, RefPtr<LayoutAlgorithm>& algorithm,
Dswiper_test_ng.cpp82 …erTestNg::InitLayoutWrapper(const RefPtr<FrameNode>& frameNode, RefPtr<LayoutAlgorithm>& algorithm, in InitLayoutWrapper() argument
92 algorithm = indicatorPattern->CreateLayoutAlgorithm(); in InitLayoutWrapper()
1511 auto algorithm = indicatorPattern->CreateLayoutAlgorithm(); variable
1521 algorithm->Measure(&layoutWrapper);
1540 auto algorithm = indicatorPattern->CreateLayoutAlgorithm(); variable
1550 algorithm->Measure(&layoutWrapper);
1568 auto algorithm = indicatorPattern->CreateLayoutAlgorithm(); variable
1584 algorithm->Layout(&layoutWrapper);
1605 auto algorithm = indicatorPattern->CreateLayoutAlgorithm(); variable
1621 algorithm->Layout(&layoutWrapper);
[all …]
/foundation/communication/dsoftbus/core/common/include/
Dsoftbus_def.h158 int32_t algorithm; member
/foundation/arkui/ui_lite/frameworks/dock/
Dscreen_device.h42 TransformAlgorithm algorithm; member
/foundation/communication/dsoftbus/tests/sdk/transmission/session/
Dclient_trans_session_manager_test.cpp122 session->algorithm = TRANS_TEST_ALGORITHM; in GenerateSession()
831 int32_t algorithm = 0; variable
833 … int32_t ret = ClientGetFileConfigInfoById(TRANS_TEST_SESSION_ID, &fileEncrypt, &algorithm, &crc);
849 ret = ClientGetFileConfigInfoById(sessionId, &fileEncrypt, &algorithm, &crc);
852 EXPECT_EQ(TRANS_TEST_ALGORITHM, algorithm);
1214 int32_t algorithm = 0; variable
1216 …t ret = ClientGetFileConfigInfoById(TRANS_TEST_INVALID_SESSION_ID, &fileEncrypt, &algorithm, &crc);
1218 ret = ClientGetFileConfigInfoById(TRANS_TEST_SESSION_ID, NULL, &algorithm, &crc);
1222 ret = ClientGetFileConfigInfoById(TRANS_TEST_SESSION_ID, &fileEncrypt, &algorithm, NULL);
1224 ret = ClientGetFileConfigInfoById(TRANS_TEST_SESSION_ID, &fileEncrypt, &algorithm, &crc);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/
Dwater_flow_pattern.cpp160 auto algorithm = AceType::MakeRefPtr<WaterFlowLayoutAlgorithm>(layoutInfo_); in CreateLayoutAlgorithm() local
161 algorithm->SetCanOverScroll(CanOverScroll(GetScrollSource())); in CreateLayoutAlgorithm()
162 return algorithm; in CreateLayoutAlgorithm()

123