Home
last modified time | relevance | path

Searched refs:ValueType (Results 1 – 9 of 9) sorted by relevance

/base/security/access_token/services/common/database/src/
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()
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/
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/hiviewdfx/hilog_lite/frameworks/js/builtin/src/
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/security/access_token/services/common/database/include/
Dvariant_value.h25 enum class ValueType { enum
41 ValueType GetType() const;
49 ValueType type_;
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/
Dhisysevent_value.h52 Json::ValueType Type() const;
/base/hiviewdfx/hiview/base/event_store/include/
Dsys_event_query.h64 enum ValueType { NONE = 0, INTEGER = 1, FLOAT = 2, DOUBLE = 3, STRING = 4 }; enum
81 ValueType valueType_;
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
Dhisysevent_record.cpp404 Json::ValueType HiSysEventValue::Type() const in ParseJsonStr()
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_util.cpp555 if (jsonValue.isInt64() && jsonValue.type() != Json::ValueType::uintValue) { in CreateParamItemTypeValue()
559 if (jsonValue.isUInt64() && jsonValue.type() != Json::ValueType::intValue) { in CreateParamItemTypeValue()