Home
last modified time | relevance | path

Searched refs:outAttr (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dschema_utils.cpp138 outAttr.defaultValue.boolValue = true; in TransToBool()
141 outAttr.defaultValue.boolValue = false; in TransToBool()
176 outAttr.defaultValue.integerValue = transRes; in TransToInteger()
198 outAttr.defaultValue.longValue = transRes; in TransToLong()
239 outAttr.defaultValue.doubleValue = transRes; in TransToDouble()
253 outAttr.hasDefaultValue = false; in TransformDefaultValue()
258 switch (outAttr.type) { in TransformDefaultValue()
333 outAttr.type = FieldType::LEAF_FIELD_NULL; in ParseSchemaAttribute()
334 outAttr.customFieldType = attrContext[0]; in ParseSchemaAttribute()
341 outAttr.hasDefaultValue = false; in ParseSchemaAttribute()
[all …]
H A Dschema_object.cpp582 FieldType inType, SchemaAttribute &outAttr) const in CheckSchemaDefineItemDecideAttribute()
600 errCode = SchemaUtils::ParseAndCheckSchemaAttribute(subFieldValue.stringValue, outAttr); in CheckSchemaDefineItemDecideAttribute()
606 outAttr.isIndexable = true; in CheckSchemaDefineItemDecideAttribute()
618 outAttr = SchemaAttribute{inType, false, false, false, FieldValue()}; in CheckSchemaDefineItemDecideAttribute()
620 outAttr = SchemaAttribute{inType, false, false, false, FieldValue()}; in CheckSchemaDefineItemDecideAttribute()
622outAttr = SchemaAttribute{inType, false, false, false, FieldValue()}; // hasNotNull set false is O… in CheckSchemaDefineItemDecideAttribute()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dschema_utils.h30 … static int ParseAndCheckSchemaAttribute(const std::string &inAttrString, SchemaAttribute &outAttr,
64 …static int ParseSchemaAttribute(std::vector<std::string> &attrContext, SchemaAttribute &outAttr, b…
66 static int TransformDefaultValue(std::string &defaultContent, SchemaAttribute &outAttr);
68 static int TransToDouble(const std::string &defaultContent, SchemaAttribute &outAttr);
70 static int TransToInteger(const std::string &defaultContent, SchemaAttribute &outAttr);
72 static int TransToLong(const std::string &defaultContent, SchemaAttribute &outAttr);
74 static int TransToString(const std::string &defaultContent, SchemaAttribute &outAttr);
76 static int TransToBool(const std::string &defaultContent, SchemaAttribute &outAttr);
H A Dschema_object.h123 SchemaAttribute &outAttr) const;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/parseckeck_fuzzer/
H A Dparseckeck_fuzzer.cpp82 SchemaAttribute outAttr; in CheckSchemaAttribute() local
83 SchemaUtils::ParseAndCheckSchemaAttribute(schemaAttrString, outAttr); in CheckSchemaAttribute()
84 SchemaUtils::ParseAndCheckSchemaAttribute(schemaAttrString, outAttr); in CheckSchemaAttribute()