Home
last modified time | relevance | path

Searched refs:ValueType (Results 1 - 25 of 298) sorted by relevance

12345678910>>...12

/foundation/window/window_manager/window_scene/session_manager/src/
H A Dwindow_scene_config.cpp29 const std::map<std::string, WindowSceneConfig::ValueType> WindowSceneConfig::configItemTypeMap_ = {
30 { "maxAppWindowNumber", WindowSceneConfig::ValueType::INTS },
31 { "modeChangeHotZones", WindowSceneConfig::ValueType::INTS },
32 { "duration", WindowSceneConfig::ValueType::INTS },
33 { "defaultWindowMode", WindowSceneConfig::ValueType::INTS },
34 { "dragFrameGravity", WindowSceneConfig::ValueType::INTS },
35 { "floatingBottomPosY", WindowSceneConfig::ValueType::INTS },
36 { "defaultFloatingWindow", WindowSceneConfig::ValueType::INTS },
37 { "maxMainFloatingWindowNumber", WindowSceneConfig::ValueType::INTS },
38 { "maxFloatingWindowSize", WindowSceneConfig::ValueType
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_base_xml_config.h28 enum class ValueType { class in OHOS::Rosen::RSBaseXmlConfig
40 ValueType type = ValueType::UNDIFINED;
65 case ValueType::MAP: in ClearValue()
69 case ValueType::STRING: in ClearValue()
72 case ValueType::INTS: in ClearValue()
76 case ValueType::FLOATS: in ClearValue()
80 case ValueType::STRINGS: in ClearValue()
96 case ValueType::MAP: in operator =()
99 case ValueType in operator =()
[all...]
H A Drs_graphic_config.cpp23 const std::map<std::string, RSGraphicConfig::ValueType> RSGraphicConfig::configItemTypeMap_ = {
24 { "blurEffect", RSGraphicConfig::ValueType::MAP },
25 { "blurSwitchOpen", RSGraphicConfig::ValueType::UNDIFINED },
124 case ValueType::INTS: { in ReadConfig()
129 case ValueType::FLOATS: { in ReadConfig()
134 case ValueType::POSITIVE_FLOATS: { in ReadConfig()
139 case ValueType::STRING: { in ReadConfig()
144 case ValueType::STRINGS: { in ReadConfig()
149 case ValueType::MAP: { in ReadConfig()
279 case ValueType in DumpConfig()
[all...]
/foundation/window/window_manager/utils/include/
H A Dxml_config_base.h28 enum class ValueType { class in OHOS::Rosen::XmlConfigBase
40 ValueType type_ = ValueType::UNDIFINED;
65 case ValueType::MAP: in ClearValue()
69 case ValueType::STRING: in ClearValue()
72 case ValueType::INTS: in ClearValue()
76 case ValueType::FLOATS: in ClearValue()
80 case ValueType::STRINGS: in ClearValue()
96 case ValueType::MAP: in operator =()
99 case ValueType in operator =()
[all...]
/foundation/window/window_manager/wmserver/src/
H A Dwindow_manager_config.cpp28 const std::map<std::string, WindowManagerConfig::ValueType> WindowManagerConfig::configItemTypeMap_ = {
29 { "maxAppWindowNumber", WindowManagerConfig::ValueType::INTS },
30 { "modeChangeHotZones", WindowManagerConfig::ValueType::INTS },
31 { "duration", WindowManagerConfig::ValueType::INTS },
32 { "durationIn", WindowManagerConfig::ValueType::INTS },
33 { "durationOut", WindowManagerConfig::ValueType::INTS },
34 { "defaultWindowMode", WindowManagerConfig::ValueType::INTS },
35 { "dragFrameGravity", WindowManagerConfig::ValueType::INTS },
36 { "floatingBottomPosY", WindowManagerConfig::ValueType::INTS },
37 { "defaultFloatingWindow", WindowManagerConfig::ValueType
[all...]
/foundation/multimedia/media_foundation/engine/include/plugin/common/
H A Dany.h113 * constructor from right reference value with type of ValueType.
115 * @tparam Type ValueType is not the same as Any itself. The decay type of ValueType must be copy constructible.
118 template <typename ValueType, enable_if_t<!std::is_same<decay_t<ValueType>, Any>::value &&
119 std::is_copy_constructible<decay_t<ValueType>>::value,
121 Any(ValueType&& value) // NOLINT: explicit in Any()
123 DoEmplace<decay_t<ValueType>>(std::forward<ValueType>(value)); in Any()
142 * @tparam ValueType Typ
[all...]
H A Dplugin_attr_desc.h26 const ValueType g_emptyString = std::string();
27 const ValueType g_u8Def = (uint8_t)0;
28 const ValueType g_u32Def = (uint32_t)0;
29 const ValueType g_d32Def = (int32_t)0;
30 const ValueType g_d64Def = (int64_t)0;
31 const ValueType g_u64Def = (uint64_t)0;
32 const ValueType g_doubleDef = (double)0.0;
33 const ValueType g_seekableDef = Seekable::INVALID;
34 const ValueType g_srcInputTypedef = SrcInputType::UNKNOWN;
35 const ValueType g_unknow
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dintf_metadata.h131 template<typename ValueType>
132 Property<ValueType> GetPropertyByName(BASE_NS::string_view name) in GetPropertyByName()
136 template<typename ValueType>
137 Property<const ValueType> GetPropertyByName(BASE_NS::string_view name) const in GetPropertyByName()
141 template<typename ValueType>
142 ArrayProperty<ValueType> GetArrayPropertyByName(BASE_NS::string_view name) in GetArrayPropertyByName()
146 template<typename ValueType>
147 ArrayProperty<const ValueType> GetArrayPropertyByName(BASE_NS::string_view name) const in GetArrayPropertyByName()
153 template<typename ValueType>
154 constexpr auto GetValue(const META_NS::IMetadata* meta, BASE_NS::string_view name, ValueType defaultValu
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/cj/include/
H A Drelational_store_impl_rdbpredicatesproxy.h79 void LessThanOrEqualTo(const char* field, ValueType value);
81 void EqualTo(const char* field, ValueType value);
83 void GreaterThanOrEqualTo(const char* field, ValueType value);
85 void GreaterThan(const char* field, ValueType value);
87 void NotBetween(const char* field, ValueType lowValue, ValueType highValue);
89 void LessThan(const char* field, ValueType value);
91 void Between(const char* field, ValueType lowValue, ValueType highValue);
93 void In(const char* field, ValueType* value
[all...]
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/
H A Dinterface_info.cpp28 { InterfaceInfoKey::DYNAMIC_MAC, Serializable::ValueType::STRING },
29 { InterfaceInfoKey::INTERFACE_NAME, Serializable::ValueType::STRING },
30 { InterfaceInfoKey::CAPABILITY, Serializable::ValueType::INT },
31 { InterfaceInfoKey::WIFI_DIRECT_ROLE, Serializable::ValueType::INT },
32 { InterfaceInfoKey::BASE_MAC, Serializable::ValueType::STRING },
33 { InterfaceInfoKey::PHYSICAL_RATE, Serializable::ValueType::INT },
34 { InterfaceInfoKey::SUPPORT_BAND, Serializable::ValueType::BYTE },
35 { InterfaceInfoKey::CHANNEL_AND_BANDWIDTH, Serializable::ValueType::BYTE_ARRAY},
36 { InterfaceInfoKey::COEXIST_CHANNEL_LIST, Serializable::ValueType::INT_ARRAY },
37 { InterfaceInfoKey::HML_LINK_COUNT, Serializable::ValueType
[all...]
H A Dnegotiate_message.cpp55 { NegotiateMessageKey::MSG_TYPE, Serializable::ValueType::INT },
56 { NegotiateMessageKey::SESSION_ID, Serializable::ValueType::UINT },
57 { NegotiateMessageKey::WIFI_CFG_TYPE, Serializable::ValueType::INT },
58 { NegotiateMessageKey::WIFI_CFG_INFO, Serializable::ValueType::BYTE_ARRAY },
59 { NegotiateMessageKey::IPV4_INFO_ARRAY, Serializable::ValueType::IPV4_INFO_ARRAY },
60 { NegotiateMessageKey::PREFER_LINK_MODE, Serializable::ValueType::INT },
61 { NegotiateMessageKey::IS_MODE_STRICT, Serializable::ValueType::BOOL },
62 { NegotiateMessageKey::PREFER_LINK_BANDWIDTH, Serializable::ValueType::INT },
63 { NegotiateMessageKey::IS_BRIDGE_SUPPORTED, Serializable::ValueType::BOOL },
64 { NegotiateMessageKey::LINK_INFO, Serializable::ValueType
[all...]
H A Dlink_info.cpp24 { LinkInfoKey::LOCAL_INTERFACE, Serializable::ValueType::STRING },
25 { LinkInfoKey::REMOTE_INTERFACE, Serializable::ValueType::STRING },
26 { LinkInfoKey::LOCAL_LINK_MODE, Serializable::ValueType::INT },
27 { LinkInfoKey::REMOTE_LINK_MODE, Serializable::ValueType::INT },
28 { LinkInfoKey::CENTER_20M, Serializable::ValueType::INT },
29 { LinkInfoKey::CENTER_FREQUENCY1, Serializable::ValueType::INT },
30 { LinkInfoKey::CENTER_FREQUENCY2, Serializable::ValueType::INT },
31 { LinkInfoKey::BANDWIDTH, Serializable::ValueType::INT },
32 { LinkInfoKey::SSID, Serializable::ValueType::STRING },
33 { LinkInfoKey::BSSID, Serializable::ValueType
[all...]
/foundation/multimedia/media_foundation/interface/inner_api/meta/
H A Dany.h199 * constructor from right reference value with type of ValueType.
201 * @tparam Type ValueType is not the same as Any itself. The decay type of ValueType must be copy constructible.
204 template <typename ValueType, enable_if_t<!std::is_same<decay_t<ValueType>, Any>::value &&
205 std::is_copy_constructible<decay_t<ValueType>>::value,
207 Any(ValueType&& value) // NOLINT: explicit in Any()
209 DoEmplace<decay_t<ValueType>>(std::forward<ValueType>(value)); in Any()
228 * @tparam ValueType Typ
[all...]
/foundation/distributeddatamgr/udmf/interfaces/innerkits/data/
H A Dunified_record.h32 UnifiedRecord(UDType type, ValueType value);
41 ValueType GetValue();
42 void SetValue(const ValueType &value);
43 ValueType GetOriginValue() const;
50 void AddEntry(const std::string &utdId, ValueType &&value);
51 ValueType GetEntry(const std::string &utdId);
52 std::shared_ptr<std::map<std::string, ValueType>> GetEntries() const;
66 ValueType value_;
71 std::shared_ptr<std::map<std::string, ValueType>> entries_ = std::make_shared<std::map<std::string, ValueType>>();
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/property/
H A Darray_property_changes_recognizer.h26 template<typename ValueType>
28 ValueType value;
47 template<typename ValueType>
50 BASE_NS::vector<AddedValue<ValueType>> valuesAdded;
54 template<typename ValueType>
59 void SetValue(const META_NS::ArrayProperty<ValueType>& arrayProperty) in SetValue()
69 ArrayChanges<ValueType> OnArrayPropertyChanged(const META_NS::ArrayProperty<ValueType>& arrayProperty) in OnArrayPropertyChanged()
72 auto changes = ArrayChanges<ValueType>(); in OnArrayPropertyChanged()
75 BASE_NS::unordered_map<ValueType, size_ in OnArrayPropertyChanged()
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/kits/js/napi/include/
H A Djs_napi_utils.h81 using ValueType = std::remove_cv_t<std::remove_reference_t<T>>; in CreateJsValue()
83 if constexpr (std::is_same_v<ValueType, bool>) { in CreateJsValue()
86 } else if constexpr (std::is_arithmetic_v<ValueType>) { in CreateJsValue()
88 } else if constexpr (std::is_same_v<ValueType, std::string>) { in CreateJsValue()
91 } else if constexpr (std::is_enum_v<ValueType>) { in CreateJsValue()
92 return CreateJsNumber(env, static_cast<std::make_signed_t<ValueType>>(value)); in CreateJsValue()
93 } else if constexpr (std::is_same_v<ValueType, const char*>) { in CreateJsValue()
131 using ValueType = std::remove_cv_t<std::remove_reference_t<T>>; in ConvertFromJsValue()
132 if constexpr (std::is_same_v<ValueType, bool>) { in ConvertFromJsValue()
135 } else if constexpr (std::is_arithmetic_v<ValueType>) { in ConvertFromJsValue()
[all...]
/foundation/multimedia/media_foundation/src/common/
H A Dplugin_attr_desc.h26 const ValueType g_emptyString = std::string();
27 const ValueType g_u8Def = (uint8_t)0;
28 const ValueType g_u32Def = (uint32_t)0;
29 const ValueType g_d32Def = (int32_t)0;
30 const ValueType g_d64Def = (int64_t)0;
31 const ValueType g_u64Def = (uint64_t)0;
32 const ValueType g_doubleDef = (double)0.0;
33 const ValueType g_seekableDef = Seekable::INVALID;
34 const ValueType g_srcInputTypedef = SrcInputType::UNKNOWN;
35 const ValueType g_unknow
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/
H A Dkv_store_nb_conflict_data_impl.cpp33 DBStatus KvStoreNbConflictDataImpl::GetValue(ValueType type, Value &value) const in GetValue()
39 if (type == ValueType::OLD_VALUE) { in GetValue()
48 bool KvStoreNbConflictDataImpl::IsDeleted(ValueType type) const in IsDeleted()
50 if (type == ValueType::OLD_VALUE) { in IsDeleted()
56 bool KvStoreNbConflictDataImpl::IsNative(ValueType type) const in IsNative()
58 if (type == ValueType::OLD_VALUE) { in IsNative()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/detail/
H A Darray_property.h105 using ValueType = BASE_NS::remove_const_t<Type>;
111 ValueType GetValueAt(IndexType index) const in GetValueAt()
113 Any<ValueType> any; in GetValueAt()
121 BASE_NS::vector<ValueType> vec; in SetValueAt()
125 return this->SetValueAny(ArrayAny<ValueType>(BASE_NS::move(vec))); in SetValueAt()
136 BASE_NS::vector<ValueType> vec; in InsertValueAt()
140 return this->SetValueAny(ArrayAny<ValueType>(BASE_NS::move(vec))); in InsertValueAt()
144 BASE_NS::vector<ValueType> GetDefaultValue() const in GetDefaultValue()
146 BASE_NS::vector<ValueType> v; in GetDefaultValue()
151 AnyReturnValue SetDefaultValue(BASE_NS::array_view<const ValueType> valu
[all...]
/foundation/distributeddatamgr/udmf/interfaces/cj/src/
H A Dunified_record_impl.cpp65 CJValueType CUnifiedRecord::ValueType2CJValueType(ValueType value) in ValueType2CJValueType()
98 ValueType CUnifiedRecord::CJValueType2ValueType(CJValueType cjvalue) in CJValueType2ValueType()
100 ValueType value; in CJValueType2ValueType()
165 ValueType value = CJValueType2ValueType(cjvalue); in CUnifiedRecord()
169 std::map<UDType, std::function<std::shared_ptr<UnifiedRecord>(UDType, ValueType)>> constructors = { in CUnifiedRecord()
170 {TEXT, [](UDType type, ValueType value) { return std::make_shared<Text>(type, value); }}, in CUnifiedRecord()
171 {PLAIN_TEXT, [](UDType type, ValueType value) { return std::make_shared<PlainText>(type, value); }}, in CUnifiedRecord()
172 {HTML, [](UDType type, ValueType value) { return std::make_shared<Html>(type, value); }}, in CUnifiedRecord()
173 {HYPERLINK, [](UDType type, ValueType value) { return std::make_shared<Link>(type, value); }}, in CUnifiedRecord()
174 {FILE, [](UDType type, ValueType valu in CUnifiedRecord()
[all...]
/foundation/multimedia/media_foundation/engine/pipeline/core/
H A Dcompatible_check.cpp48 bool CapabilityValueCheck(CapabilityID key, std::pair<const Plugin::ValueType&, const Plugin::ValueType&> inVals,
49 uint8_t flags, std::function<int(T,T)> cmpFunc, Plugin::ValueType& outValue);
52 bool FixInvalDiscCapValCheck(CapabilityID key, const Plugin::ValueType& val1, const Plugin::ValueType& val2, in FixInvalDiscCapValCheck()
53 Plugin::ValueType& outValue) in FixInvalDiscCapValCheck()
62 bool FixDiscCapValCheck(CapabilityID key, const Plugin::ValueType& val1, const Plugin::ValueType& val2, in FixDiscCapValCheck()
63 Plugin::ValueType& outValue) in FixDiscCapValCheck()
86 bool ExtractFixedCap(const Plugin::ValueType
[all...]
/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/video_surface_sink/
H A Dsurface_sink_plugin.h60 Status GetParameter(Tag tag, ValueType &value) override;
62 Status SetParameter(Tag tag, const ValueType &value) override;
83 void SetVideoWidth(const ValueType& value);
84 void SetVideoHeight(const ValueType& value);
85 void SetVideoPixelFormat(const ValueType& value);
86 void SetMaxSurfaceNum(const ValueType& value);
87 void SetVideoScaleType(const ValueType& value);
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/
H A Dunified_record.cpp34 UnifiedRecord::UnifiedRecord(UDType type, ValueType value) in UnifiedRecord()
70 ValueType UnifiedRecord::GetValue() in GetValue()
75 void UnifiedRecord::SetValue(const ValueType &value) in SetValue()
80 ValueType UnifiedRecord::GetOriginValue() const in GetOriginValue()
93 void UnifiedRecord::AddEntry(const std::string &utdId, ValueType &&value) in AddEntry()
109 ValueType UnifiedRecord::GetEntry(const std::string &utdId) in GetEntry()
121 AddEntry(utdId, ValueType(value)); in GetEntry()
127 std::shared_ptr<std::map<std::string, ValueType>> UnifiedRecord::GetEntries() const in GetEntries()
129 auto res = std::make_shared<std::map<std::string, ValueType>>(*entries_); in GetEntries()
187 AddEntry(utdId, ValueType()); in SetEntryGetter()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/
H A Drs_graphic_config_unit_test.cpp71 void SetConfigMap(std::map<std::string, RSGraphicConfig::ValueType>* nonConstConfigMap) in SetConfigMap()
74 { "testMap", RSGraphicConfig::ValueType::MAP }, in SetConfigMap()
75 { "testBooL", RSGraphicConfig::ValueType::UNDIFINED }, in SetConfigMap()
76 { "testString", RSGraphicConfig::ValueType::STRING }, in SetConfigMap()
77 { "testStrings", RSGraphicConfig::ValueType::STRINGS }, in SetConfigMap()
78 { "testInts", RSGraphicConfig::ValueType::INTS }, in SetConfigMap()
79 { "testFloats", RSGraphicConfig::ValueType::FLOATS }, in SetConfigMap()
80 { "testPositiveFloats", RSGraphicConfig::ValueType::POSITIVE_FLOATS }, in SetConfigMap()
81 { "testInvalidPositiveFloats", RSGraphicConfig::ValueType::POSITIVE_FLOATS }, in SetConfigMap()
82 { "testUndifined", RSGraphicConfig::ValueType in SetConfigMap()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_graphic_config_test.cpp71 void SetConfigMap(std::map<std::string, RSGraphicConfig::ValueType>* nonConstConfigMap) in SetConfigMap()
74 { "testMap", RSGraphicConfig::ValueType::MAP }, in SetConfigMap()
75 { "testBooL", RSGraphicConfig::ValueType::UNDIFINED }, in SetConfigMap()
76 { "testString", RSGraphicConfig::ValueType::STRING }, in SetConfigMap()
77 { "testStrings", RSGraphicConfig::ValueType::STRINGS }, in SetConfigMap()
78 { "testInts", RSGraphicConfig::ValueType::INTS }, in SetConfigMap()
79 { "testFloats", RSGraphicConfig::ValueType::FLOATS }, in SetConfigMap()
80 { "testPositiveFloats", RSGraphicConfig::ValueType::POSITIVE_FLOATS }, in SetConfigMap()
81 { "testInvalidPositiveFloats", RSGraphicConfig::ValueType::POSITIVE_FLOATS }, in SetConfigMap()
82 { "testUndifined", RSGraphicConfig::ValueType in SetConfigMap()
[all...]

Completed in 12 milliseconds

12345678910>>...12