Home
last modified time | relevance | path

Searched refs:modeValue (Results 1 - 12 of 12) sorted by relevance

/foundation/ai/neural_network_runtime/test/unittest/ops/
H A Deltwise_test.cpp52 int8_t* modeValue = new (std::nothrow) int8_t(0); in SetEltwiseMode() local
53 EXPECT_NE(nullptr, modeValue); in SetEltwiseMode()
54 tensor->SetBuffer(modeValue, sizeof(int8_t)); in SetEltwiseMode()
172 int32_t* modeValue = new (std::nothrow) int32_t(0); in HWTEST_F() local
173 EXPECT_NE(nullptr, modeValue); in HWTEST_F()
175 tensor->SetBuffer(modeValue, sizeof(int32_t)); in HWTEST_F()
195 int8_t* modeValue = new (std::nothrow) int8_t[2]{0, 0}; in HWTEST_F() local
196 EXPECT_NE(nullptr, modeValue); in HWTEST_F()
198 tensor->SetBuffer(modeValue, 2 * sizeof(int8_t)); in HWTEST_F()
216 int8_t* modeValue in HWTEST_F() local
237 int8_t* modeValue = new (std::nothrow) int8_t(0); HWTEST_F() local
[all...]
H A Ddepth_to_space_test.cpp66 int32_t* modeValue = new (std::nothrow) int32_t[1] {0}; in SaveMode() local
67 EXPECT_NE(nullptr, modeValue); in SaveMode()
68 modeTensor->SetBuffer(modeValue, sizeof(int32_t)); in SaveMode()
203 float* modeValue = new (std::nothrow) float[1] {0.0f}; in HWTEST_F() local
204 EXPECT_NE(nullptr, modeValue); in HWTEST_F()
205 modeTensor->SetBuffer(modeValue, sizeof(modeValue)); in HWTEST_F()
295 std::string modeValue = "DCR"; in HWTEST_F() local
305 EXPECT_EQ(returnModeValue, modeValue); in HWTEST_F()
H A Dresize_bilinear_builder_test.cpp99 int8_t *modeValue = new (std::nothrow) int8_t(1); in SaveModeTensor() local
100 EXPECT_NE(nullptr, modeValue); in SaveModeTensor()
101 modeTensor->SetBuffer(modeValue, sizeof(int8_t)); in SaveModeTensor()
648 int8_t modeValue = 1; in HWTEST_F() local
658 EXPECT_EQ(modeReturn, modeValue); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_swiper_ffi.cpp136 void FfiOHOSAceFrameworkSwiperSetDisplayMode(int32_t modeValue) in FfiOHOSAceFrameworkSwiperSetDisplayMode() argument
138 if (!Utils::CheckParamsValid(modeValue, SWIPER_DISPLAY_MODES.size())) { in FfiOHOSAceFrameworkSwiperSetDisplayMode()
142 SwiperModel::GetInstance()->SetDisplayMode(SWIPER_DISPLAY_MODES[modeValue]); in FfiOHOSAceFrameworkSwiperSetDisplayMode()
145 void FfiOHOSAceFrameworkSwiperSetEffectMode(int32_t modeValue) in FfiOHOSAceFrameworkSwiperSetEffectMode() argument
147 if (!Utils::CheckParamsValid(modeValue, EDGE_EFFECTS.size())) { in FfiOHOSAceFrameworkSwiperSetEffectMode()
151 SwiperModel::GetInstance()->SetEdgeEffect(EDGE_EFFECTS[modeValue]); in FfiOHOSAceFrameworkSwiperSetEffectMode()
/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/
H A Dtabs_attr_test_ng.cpp1414 std::string modeValue = ""; in HWTEST_F() local
1416 tabBarSymbol.onApply = [&onApplyCalled, &modeValue](WeakPtr<NG::FrameNode> node, std::string mode) { in HWTEST_F()
1418 modeValue = mode; in HWTEST_F()
1443 EXPECT_EQ(modeValue, "selected"); in HWTEST_F()
1459 std::string modeValue = ""; in HWTEST_F() local
1462 tabBarSymbol.onApply = [&onApplyCalled, &modeValue](WeakPtr<NG::FrameNode> node, std::string mode) { in HWTEST_F()
1464 modeValue = mode; in HWTEST_F()
1478 EXPECT_EQ(modeValue, "normal"); in HWTEST_F()
1527 std::string modeValue = ""; in HWTEST_F() local
1529 tabBarSymbol.onApply = [&onApplyCalled, &modeValue](WeakPt in HWTEST_F()
[all...]
H A Dtab_bar_test_ng.cpp1595 std::string modeValue = ""; in HWTEST_F() local
1597 tabBarSymbol.onApply = [&onApplyCalled, &modeValue](WeakPtr<NG::FrameNode> node, std::string mode) { in HWTEST_F()
1599 modeValue = mode; in HWTEST_F()
1637 EXPECT_EQ(modeValue, "selected"); in HWTEST_F()
/foundation/filemanagement/app_file_service/interfaces/kits/js/file_share/
H A Dgrant_permissions.cpp104 napi_value modeValue; in GetUriPoliciesArg() local
110 status = napi_get_named_property(env, object, "operationMode", &modeValue); in GetUriPoliciesArg()
116 auto [succMode, mode] = NVal(env, modeValue).ToUint32(); in GetUriPoliciesArg()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_web.h178 static bool CheckNestedScrollMode(const int32_t& modeValue);
H A Djs_web.cpp5078 bool JSWeb::CheckNestedScrollMode(const int32_t& modeValue) in CheckNestedScrollMode() argument
5080 return modeValue >= static_cast<int32_t>(NestedScrollMode::SELF_ONLY) && in CheckNestedScrollMode()
5081 modeValue <= static_cast<int32_t>(NestedScrollMode::PARALLEL); in CheckNestedScrollMode()
H A Djs_view_abstract.cpp292 void ParseDragPreviewMode(NG::DragPreviewOption& previewOption, int32_t modeValue, bool& isAuto) in ParseDragPreviewMode() argument
294 if (modeValue == static_cast<int32_t>(NG::DragPreviewMode::AUTO)) { in ParseDragPreviewMode()
298 } else if (modeValue == static_cast<int32_t>(NG::DragPreviewMode::DISABLE_SCALE)) { in ParseDragPreviewMode()
300 } else if (modeValue == static_cast<int32_t>(NG::DragPreviewMode::ENABLE_DEFAULT_SHADOW)) { in ParseDragPreviewMode()
302 } else if (modeValue == static_cast<int32_t>(NG::DragPreviewMode::ENABLE_DEFAULT_RADIUS)) { in ParseDragPreviewMode()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dschema_object.cpp516 FieldValue modeValue; in ParseCheckSchemaVersionMode() local
517 errCode = inJsonObject.GetFieldValueByFieldPath(FieldPath{SchemaConstant::KEYWORD_SCHEMA_MODE}, modeValue); in ParseCheckSchemaVersionMode()
521 std::string modeStripped = SchemaUtils::Strip(modeValue.stringValue); in ParseCheckSchemaVersionMode()
524 LOGE("[Schema][ParseVerMode] Unexpected SCHEMA_MODE=%s.", modeValue.stringValue.c_str()); in ParseCheckSchemaVersionMode()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_common_modifier.cpp3578 void ParseDragPreviewMode(NG::DragPreviewOption& previewOption, int32_t modeValue, bool& isAuto) in ParseDragPreviewMode() argument
3580 if (modeValue == static_cast<int32_t>(NG::DragPreviewMode::AUTO)) { in ParseDragPreviewMode()
3584 } else if (modeValue == static_cast<int32_t>(NG::DragPreviewMode::DISABLE_SCALE)) { in ParseDragPreviewMode()
3586 } else if (modeValue == static_cast<int32_t>(NG::DragPreviewMode::ENABLE_DEFAULT_SHADOW)) { in ParseDragPreviewMode()
3588 } else if (modeValue == static_cast<int32_t>(NG::DragPreviewMode::ENABLE_DEFAULT_RADIUS)) { in ParseDragPreviewMode()

Completed in 58 milliseconds