Home
last modified time | relevance | path

Searched refs:baseValue (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/ops/
H A Dexp_test.cpp57 float* baseValue = new (std::nothrow) float [1]{-1.0f}; in SaveBase() local
58 EXPECT_NE(nullptr, baseValue); in SaveBase()
59 baseTensor->SetBuffer(baseValue, sizeof(float)); in SaveBase()
195 int64_t* baseValue = new (std::nothrow) int64_t [1]{-1}; variable
196 EXPECT_NE(nullptr, baseValue);
197 baseTensor->SetBuffer(baseValue, sizeof(int64_t));
380 float baseValue = -1.0f; variable
389 EXPECT_EQ(returnBaseValue, baseValue);
/ohos5.0/docs/zh-cn/contribute/
H A DOpenHarmony-cpp-coding-style-guide.md2844 static int baseValue = 3;
2847 ++baseValue; // 修改会影响静态变量的值
2848 return baseValue + addend;
2858 static int baseValue = 3;
2860 return [addend, baseValue = baseValue]() mutable { // 使用C++14的捕获初始化拷贝一份变量
2861 ++baseValue; // 修改自己的拷贝,不会影响静态变量的值
2862 return baseValue + addend;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_node.h188 double ConvertDimensionToPx(const Dimension& value, double baseValue) const;
/ohos5.0/drivers/peripheral/camera/vdi_base/common/metadata_manager/src/
H A Dmetadata_controller.cpp434 std::string baseValue = std::to_string(*(baseEntry.data.f)); in IsChangeFloatMetadata() local
436 if (strcmp(baseValue.c_str(), newValue.c_str()) == 0) { in IsChangeFloatMetadata()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Drender_svg_base.h125 double ConvertDimensionToPx(const Dimension& value, double baseValue);
H A Drender_svg_base.cpp152 double RenderSvgBase::ConvertDimensionToPx(const Dimension& value, double baseValue) in ConvertDimensionToPx() argument
155 return value.Value() * baseValue; in ConvertDimensionToPx()
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dpac_map.cpp126 template<typename IClassName, typename baseValue>
130 baseValue val = 0; in GetBaseDataValue()
147 template<typename IClassName, typename ClassName, typename baseValue>
152 baseValue val = ClassName::Unbox(data); in GetBaseFloatDoubleDataValue()
153 json["data"] = RawTypeToString<baseValue>(val, precision); in GetBaseFloatDoubleDataValue()
/ohos5.0/docs/en/contribute/
H A DOpenHarmony-cpp-coding-style-guide.md2952 static int baseValue = 3;
2955 ++baseValue; // The modification will affect the value of the static variable.
2956 return baseValue + addend;
2967 static int baseValue = 3;
2969 …return [addend, baseValue = baseValue]() mutable { // Uses the C++14 capture initialization to co…
2970 …++baseValue; // Modifying the copy of a static variable does not affect the value of the static…
2971 return baseValue + addend;