Searched refs:ValueSource (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_schema_object_test.cpp | 794 int stepOne = schemaStrict.CheckValueAndAmendIfNeed(ValueSource::FROM_LOCAL, value1); 804 int stepTwo = schemaStrict.CheckValueAndAmendIfNeed(ValueSource::FROM_LOCAL, value2); 814 int stepThree = schemaStrict.CheckValueAndAmendIfNeed(ValueSource::FROM_LOCAL, value3); 824 int stepFour = schemaStrict.CheckValueAndAmendIfNeed(ValueSource::FROM_LOCAL, value4); 834 int stepFive = schemaStrict.CheckValueAndAmendIfNeed(ValueSource::FROM_LOCAL, value5); 850 int stepSix = schemaCompatible.CheckValueAndAmendIfNeed(ValueSource::FROM_LOCAL, value6); 879 int stepOne = schemaStrict.CheckValueAndAmendIfNeed(ValueSource::FROM_LOCAL, value1); 979 errCode = schema.CheckValueAndAmendIfNeed(ValueSource::FROM_LOCAL, externalValueObject); in CheckValueLackField() 1150 ret = schema.CheckValueAndAmendIfNeed(ValueSource::FROM_LOCAL, inValue); 1154 ret = schema.VerifyValue(ValueSource::FROM_LOCAL, val); [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | schema_object.h | 98 int CheckValueAndAmendIfNeed(ValueSource sourceType, ValueObject &inValue) const; 102 int VerifyValue(ValueSource sourceType, const Value &inValue) const; 103 int VerifyValue(ValueSource sourceType, const RawValue &inValue) const; 108 …int ExtractValue(ValueSource sourceType, RawString inPath, const RawValue &inValue, TypeValue &out…
|
H A D | db_types.h | 116 enum class ValueSource { enum
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_single_ver_schema_database_upgrader.cpp | 79 errCode = context.schema.CheckValueAndAmendIfNeed(ValueSource::FROM_DBFILE, valueObj); in CheckGetForJsonSchema() 118 int errCode = context.schema.VerifyValue(ValueSource::FROM_DBFILE, inValue); in CheckGetForFlatBufferSchema()
|
H A D | sqlite_single_ver_natural_store_extend.cpp | 246 …int errCode = CheckValueAndAmendIfNeed(ValueSource::FROM_SYNC, eachItem.value, eachItem.value, use… in CheckAmendValueContentForSyncProcedure() 374 …return this->CheckValueAndAmendIfNeed(ValueSource::FROM_LOCAL, newValue, amendValue, useAmendValue… in InterceptData()
|
H A D | sqlite_single_ver_natural_store.h | 156 int CheckValueAndAmendIfNeed(ValueSource sourceType, const Value &oriValue, Value &amendValue,
|
H A D | sqlite_utils.cpp | 1987 … int errCode = schema.ExtractValue(ValueSource::FROM_DBFILE, inPath, inValue, outExtract, nullptr); in FlatBufferExtractInnerFunc() 2019 … int errCode = schema.ExtractValue(ValueSource::FROM_DBFILE, inPath, inValue, outExtract, cached); in FlatBufferExtractInnerFunc()
|
H A D | sqlite_single_ver_natural_store_connection.cpp | 1750 …return naturalStore->CheckValueAndAmendIfNeed(ValueSource::FROM_LOCAL, oriValue, amendValue, useAm… in CheckAmendValueContentForLocalProcedure()
|
H A D | sqlite_single_ver_natural_store.cpp | 297 int SQLiteSingleVerNaturalStore::CheckValueAndAmendIfNeed(ValueSource sourceType, const Value &oriV… in CheckValueAndAmendIfNeed()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | schema_object.cpp | 293 int SchemaObject::CheckValueAndAmendIfNeed(ValueSource sourceType, ValueObject &inValue) const in CheckValueAndAmendIfNeed() 314 int SchemaObject::VerifyValue(ValueSource sourceType, const Value &inValue) const in VerifyValue() 319 int SchemaObject::VerifyValue(ValueSource sourceType, const RawValue &inValue) const in VerifyValue() 350 int SchemaObject::ExtractValue(ValueSource sourceType, RawString inPath, const RawValue &inValue, in ExtractValue()
|