Home
last modified time | relevance | path

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

12

/base/accesscontrol/sandbox_manager/services/common/database/src/
H A Dvariant_value.cpp21 VariantValue::VariantValue() : type_(ValueType::TYPE_NULL) in VariantValue()
27 VariantValue::VariantValue(int32_t value) : type_(ValueType::TYPE_INT) in VariantValue()
32 VariantValue::VariantValue(int64_t value) : type_(ValueType::TYPE_INT64) in VariantValue()
37 VariantValue::VariantValue(const std::string &value) : type_(ValueType::TYPE_STRING) in VariantValue()
42 ValueType VariantValue::GetType() const in GetType()
49 if (type_ != ValueType::TYPE_INT) { in GetInt()
58 if (type_ != ValueType::TYPE_INT64) { in GetInt64()
67 if (type_ != ValueType::TYPE_STRING) { in GetString()
H A Dstatement.cpp120 if (value.GetType() == ValueType::TYPE_STRING) { in Bind()
122 } else if (value.GetType() == ValueType::TYPE_INT) { in Bind()
124 } else if (value.GetType() == ValueType::TYPE_INT64) { in Bind()
/base/security/access_token/services/common/database/src/
H A Dvariant_value.cpp21 VariantValue::VariantValue() : type_(ValueType::TYPE_NULL) in VariantValue()
27 VariantValue::VariantValue(int32_t value) : type_(ValueType::TYPE_INT) in VariantValue()
32 VariantValue::VariantValue(int64_t value) : type_(ValueType::TYPE_INT64) in VariantValue()
37 VariantValue::VariantValue(const std::string& value) : type_(ValueType::TYPE_STRING) in VariantValue()
42 ValueType VariantValue::GetType() const in GetType()
49 if (type_ != ValueType::TYPE_INT) { in GetInt()
58 if (type_ != ValueType::TYPE_INT64) { in GetInt64()
67 if (type_ != ValueType::TYPE_STRING) { in GetString()
H A Dstatement.cpp106 if (value.GetType() == ValueType::TYPE_STRING) { in Bind()
108 } else if (value.GetType() == ValueType::TYPE_INT) { in Bind()
110 } else if (value.GetType() == ValueType::TYPE_INT64) { in Bind()
/base/hiviewdfx/hilog_lite/frameworks/js/builtin/include/
H A Dhilog_vector.h21 enum ValueType { enum
35 static ValueType GetType(const HilogVector *vector, size_t pos);
36 static void Push(HilogVector *vector, const char *element, ValueType type);
42 ValueType *type;
/base/accesscontrol/sandbox_manager/services/common/database/include/
H A Dvariant_value.h25 enum class ValueType { class
41 ValueType GetType() const;
49 ValueType type_;
/base/security/access_token/services/common/database/include/
H A Dvariant_value.h25 enum class ValueType { class
41 ValueType GetType() const;
49 ValueType type_;
/base/hiviewdfx/hilog_lite/frameworks/js/builtin/src/
H A Dhilog_vector.cpp62 ValueType HilogVector::GetType(const HilogVector *vector, size_t pos) in GetType()
70 void HilogVector::Push(HilogVector *vector, const char *element, ValueType type) in Push()
79 ValueType *tempType = static_cast<ValueType*>( in Push()
81 vector->type, sizeof(ValueType) * vector->maxSize, sizeof(ValueType) * vector->size)); in Push()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
H A Dhisysevent_record.cpp368 if (!hasInitialized_ || (jsonVal_.type() != Json::ValueType::nullValue &&
369 jsonVal_.type() != Json::ValueType::objectValue)) {
450 (jsonVal_.type() != Json::ValueType::nullValue &&
451 jsonVal_.type() != Json::ValueType::arrayValue)) {
452 return Json::Value(Json::ValueType::nullValue);
459 (jsonVal_.type() != Json::ValueType::nullValue &&
460 jsonVal_.type() != Json::ValueType::objectValue)) {
461 return Json::Value(Json::ValueType::nullValue);
478 (jsonVal_.type() == Json::ValueType::uintValue && !jsonVal_.isInt64()) ||
479 (jsonVal_.type() == Json::ValueType
[all...]
/base/hiviewdfx/hiview/base/event_raw/decoded/
H A Ddecoded_event.cpp366 .valueType = static_cast<uint8_t>(ValueType::UNKNOWN), in ParseCustomizedParam()
374 switch (ValueType(valueType.valueType)) { in ParseCustomizedParam()
375 case ValueType::STRING: { in ParseCustomizedParam()
379 case ValueType::FLOAT: in ParseCustomizedParam()
380 case ValueType::DOUBLE: { in ParseCustomizedParam()
384 case ValueType::UINT8: in ParseCustomizedParam()
385 case ValueType::UINT16: in ParseCustomizedParam()
386 case ValueType::UINT32: in ParseCustomizedParam()
387 case ValueType::UINT64: { in ParseCustomizedParam()
391 case ValueType in ParseCustomizedParam()
[all...]
/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/src/utils/
H A Dmap_string_serializer.cpp43 if (root[member].type() != Json::ValueType::stringValue && root[member].type() != Json::ValueType::intValue && in Deserialize()
44 root[member].type() != Json::ValueType::uintValue && root[member].type() != Json::ValueType::booleanValue) { in Deserialize()
/base/hiviewdfx/hiview/base/event_raw/include/encoded/
H A Dencoded_param.h76 return RawDataEncoder::ValueTypeEncoded(rawData_, false, ValueType::UINT64, 0);
124 return RawDataEncoder::ValueTypeEncoded(rawData_, true, ValueType::UINT64, 0);
166 return RawDataEncoder::ValueTypeEncoded(rawData_, false, ValueType::INT64, 0);
215 return RawDataEncoder::ValueTypeEncoded(rawData_, true, ValueType::INT64, 0);
255 auto valueType = ValueType::UNKNOWN;
257 valueType = ValueType::FLOAT;
260 valueType = ValueType::DOUBLE;
309 auto valueType = ValueType::UNKNOWN;
311 valueType = ValueType::FLOAT;
314 valueType = ValueType
[all...]
H A Draw_data_encoder.h33 static bool ValueTypeEncoded(RawData& data, bool isArray, ValueType valueType,
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include/
H A Dencoded_param.h70 return RawDataEncoder::ValueTypeEncoded(*rawData_, false, ValueType::UINT64, 0);
107 return RawDataEncoder::ValueTypeEncoded(*rawData_, true, ValueType::UINT64, 0);
142 return RawDataEncoder::ValueTypeEncoded(*rawData_, false, ValueType::INT64, 0);
180 return RawDataEncoder::ValueTypeEncoded(*rawData_, true, ValueType::INT64, 0);
213 auto valueType = ValueType::UNKNOWN;
215 valueType = ValueType::FLOAT;
218 valueType = ValueType::DOUBLE;
256 auto valueType = ValueType::UNKNOWN;
258 valueType = ValueType::FLOAT;
261 valueType = ValueType
[all...]
H A Draw_data_base_def.h102 enum ValueType: uint8_t {
H A Draw_data_encoder.h44 static bool ValueTypeEncoded(RawData& data, bool isArray, ValueType valueType,
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/
H A Draw_data_encoder.cpp49 bool RawDataEncoder::ValueTypeEncoded(RawData& data, bool isArray, ValueType type, uint8_t count) in ValueTypeEncoded()
/base/hiviewdfx/hiview/base/event_raw/encoded/
H A Draw_data_encoder.cpp42 bool RawDataEncoder::ValueTypeEncoded(RawData& data, bool isArray, ValueType type, uint8_t count) in ValueTypeEncoded()
/base/update/updateservice/services/core/ability/sqlite/core/include/
H A Ditable.h66 template <typename ValueType>
67 void GetColumnValue(ResultSet *resultSet, const std::string &columnName, ValueType &value) in GetColumnValue()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/
H A Dhisysevent_value.h52 Json::ValueType Type() const;
/base/accesscontrol/sandbox_manager/services/sandbox_manager/main/cpp/src/database/
H A Dsandbox_manager_rdb_utils.cpp63 if (value.Get(column).GetType() == ValueType::TYPE_INT) { in ToRdbValueBucket()
87 if (variantvalue.GetType() == ValueType::TYPE_INT) { in HandleValueToInt()
/base/hiviewdfx/hiview/base/event_store/dao/
H A Dsys_event_query.cpp85 FieldValue::ValueType FieldValue::Index() const in Index()
87 return FieldValue::ValueType(val_.index()); in Index()
301 FieldNumber::ValueType FieldNumber::Index() const in Index()
303 return FieldNumber::ValueType(val_.index()); in Index()
/base/hiviewdfx/hiview/base/event_store/include/
H A Dsys_event_query.h76 enum ValueType { DOUBLE = 0, UINT = 1, INT = 2 }; enum in OHOS::HiviewDFX::final
126 ValueType Index() const;
134 enum ValueType { STRING = 0, NUMBER = 1 }; enum in OHOS::HiviewDFX::FieldValue
178 ValueType Index() const;
/base/hiviewdfx/hiview/base/event_raw/include/base/
H A Draw_data_base_def.h141 enum ValueType: uint8_t {
/base/security/access_token/services/common/database/test/unittest/
H A Ddatabase_test.cpp135 EXPECT_EQ(ValueType::TYPE_NULL, Test.GetType()); in HWTEST_F()

Completed in 10 milliseconds

12