/foundation/distributeddatamgr/kv_store/test/unittest/distributeddata/ |
H A D | SchemaJsTest.js | 101 schema : {}, 172 let schema = new ddm.Schema(); 173 schema.root.appendChild(english); 174 schema.indexes = ['$.english.first', '$.english.second']; 176 console.info("schema fail on exception: " + e); 205 let schema = new ddm.Schema(); 206 schema.root.appendChild(english); 207 schema.indexes = ['$.english.first', '$.english.second']; 209 options.schema = schema; [all...] |
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/ |
H A D | node_functions.cpp | 35 auto prim = std::make_unique<mindspore::schema::PrimitiveT>(); in GetAddPrimitive() 36 prim->value.type = mindspore::schema::PrimitiveType_AddFusion; in GetAddPrimitive() 37 auto attr = new (std::nothrow) mindspore::schema::AddFusionT; in GetAddPrimitive() 42 attr->activation_type = static_cast<mindspore::schema::ActivationType>(addAttr.activationType); in GetAddPrimitive() 56 auto prim = std::make_unique<mindspore::schema::PrimitiveT>(); in GetAvgPoolPrimitive() 57 prim->value.type = mindspore::schema::PrimitiveType_AvgPoolFusion; in GetAvgPoolPrimitive() 59 auto attr = new (std::nothrow) mindspore::schema::AvgPoolFusionT; in GetAvgPoolPrimitive() 67 attr->pad_mode = static_cast<mindspore::schema::PadMode>(avgPoolAttr.padMode); in GetAvgPoolPrimitive() 68 attr->round_mode = static_cast<mindspore::schema::RoundMode>(avgPoolAttr.roundMode); in GetAvgPoolPrimitive() 69 attr->format = static_cast<mindspore::schema in GetAvgPoolPrimitive() [all...] |
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/ |
H A D | node_functions.cpp | 35 auto prim = std::make_unique<mindspore::schema::PrimitiveT>(); in GetAddPrimitive() 36 prim->value.type = mindspore::schema::PrimitiveType_AddFusion; in GetAddPrimitive() 37 auto attr = new (std::nothrow) mindspore::schema::AddFusionT; in GetAddPrimitive() 42 attr->activation_type = static_cast<mindspore::schema::ActivationType>(addAttr.activationType); in GetAddPrimitive() 56 auto prim = std::make_unique<mindspore::schema::PrimitiveT>(); in GetAvgPoolPrimitive() 57 prim->value.type = mindspore::schema::PrimitiveType_AvgPoolFusion; in GetAvgPoolPrimitive() 59 auto attr = new (std::nothrow) mindspore::schema::AvgPoolFusionT; in GetAvgPoolPrimitive() 67 attr->pad_mode = static_cast<mindspore::schema::PadMode>(avgPoolAttr.padMode); in GetAvgPoolPrimitive() 68 attr->round_mode = static_cast<mindspore::schema::RoundMode>(avgPoolAttr.roundMode); in GetAvgPoolPrimitive() 69 attr->format = static_cast<mindspore::schema in GetAvgPoolPrimitive() [all...] |
H A D | nnrt_device_service.cpp | 287 std::shared_ptr<mindspore::schema::MetaGraphT> NnrtDeviceService::TransModelToGraph(const Model& model) const in TransModelToGraph() 289 auto metaGraph = std::make_shared<mindspore::schema::MetaGraphT>(); in TransModelToGraph() 293 std::unique_ptr<mindspore::schema::TensorT> transTensor {nullptr}; in TransModelToGraph() 306 std::unique_ptr<mindspore::schema::CNodeT> transNode {nullptr}; in TransModelToGraph() 324 std::unique_ptr<mindspore::schema::TensorT> NnrtDeviceService::TransTensor(const Tensor& tensor) const in TransTensor() 336 auto schemaTensor = std::make_unique<mindspore::schema::TensorT>(); in TransTensor() 339 schemaTensor->format = static_cast<mindspore::schema::Format>(tensor.format); in TransTensor() 342 auto quantParam = std::make_unique<mindspore::schema::QuantParamT>(); in TransTensor() 370 std::unique_ptr<mindspore::schema::CNodeT> NnrtDeviceService::TransNode(const Node& node) const in TransNode() 372 auto cnode = std::make_unique<mindspore::schema in TransNode() [all...] |
/foundation/distributeddatamgr/kv_store/test/unittest/distributedKVStore/ |
H A D | SchemaJsTest.js | 39 schema: {}, 95 let schema = new ddm.Schema(); 96 schema.root.appendChild(name); 97 schema.indexes = ['$.name']; 98 schema.mode = 1; // STRICT 99 schema.skip = 0; 101 options.schema = schema; 142 let schema = new ddm.Schema(); 143 schema [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/ |
H A D | js_schema.cpp | 69 JsSchema* schema = new (std::nothrow) JsSchema(env); in New() local 70 NAPI_ASSERT(env, schema !=nullptr, "no memory for schema"); in New() 74 auto* schema = reinterpret_cast<JsSchema*>(data); in New() 75 CHECK_RETURN_VOID(schema != nullptr, "schema is null!"); in New() 76 delete schema; in New() 78 ASSERT_CALL(env, napi_wrap(env, ctxt->self, schema, finalize, nullptr, nullptr), schema); in New() 106 auto schema in GetRootNode() local 150 auto schema = GetSchema(env, info, ctxt); GetMode() local 168 auto schema = reinterpret_cast<JsSchema*>(ctxt->native); SetMode() local 177 auto schema = GetSchema(env, info, ctxt); GetSkip() local 195 auto schema = reinterpret_cast<JsSchema*>(ctxt->native); SetSkip() local 204 auto schema = GetSchema(env, info, ctxt); GetIndexes() local 222 auto schema = reinterpret_cast<JsSchema*>(ctxt->native); SetIndexes() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/ |
H A D | js_schema.cpp | 71 JsSchema* schema = new (std::nothrow) JsSchema(env); in New() local 72 NAPI_ASSERT(env, schema !=nullptr, "no memory for schema"); in New() 76 auto* schema = reinterpret_cast<JsSchema*>(data); in New() 77 ASSERT_VOID(schema != nullptr, "schema is null!"); in New() 78 delete schema; in New() 80 ASSERT_CALL(env, napi_wrap(env, ctxt->self, schema, finalize, nullptr, nullptr), schema); in New() 108 auto schema in GetRootNode() local 152 auto schema = GetSchema(env, info, ctxt); GetMode() local 170 auto schema = reinterpret_cast<JsSchema*>(ctxt->native); SetMode() local 179 auto schema = GetSchema(env, info, ctxt); GetSkip() local 197 auto schema = reinterpret_cast<JsSchema*>(ctxt->native); SetSkip() local 206 auto schema = GetSchema(env, info, ctxt); GetIndexes() local 224 auto schema = reinterpret_cast<JsSchema*>(ctxt->native); SetIndexes() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_relational_tracker_table_test.cpp | 196 TrackerSchema schema = g_normalSchema1; in CheckDropTableAndReopenDb() local 197 EXPECT_EQ(g_delegate->SetTrackerTable(schema), OK); in CheckDropTableAndReopenDb() 215 * @tc.steps:step3. check tracker schema in CheckDropTableAndReopenDb() 275 void SetTrackerTableTest(const TrackerSchema &schema, DBStatus expect) in SetTrackerTableTest() argument 279 EXPECT_EQ(g_delegate->SetTrackerTable(schema), expect); in SetTrackerTableTest() 298 TrackerSchema schema; in HWTEST_F() local 299 EXPECT_EQ(g_delegate->SetTrackerTable(schema), INVALID_ARGS); in HWTEST_F() 305 schema.tableName = "xx"; in HWTEST_F() 306 EXPECT_EQ(g_delegate->SetTrackerTable(schema), NOT_FOUND); in HWTEST_F() 312 schema in HWTEST_F() 330 TrackerSchema schema; HWTEST_F() local 363 TrackerSchema schema; HWTEST_F() local 397 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 448 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 502 TrackerSchema schema = g_normalSchema3; HWTEST_F() local 549 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 611 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 638 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 679 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 737 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 791 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 831 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 881 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 918 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 953 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 1018 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 1058 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 1103 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 1178 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 1224 TrackerSchema schema; HWTEST_F() local 1410 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 1737 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 1776 TrackerSchema schema = g_normalSchema1; HWTEST_F() local 1861 TrackerSchema schema = g_normalSchema1; HWTEST_F() local [all...] |
H A D | distributeddb_interfaces_database_test.cpp | 117 * @tc.steps: step1. create a new db(non-memory, encrypt), with schema; in OpenOpenedKvstoreWithSchema() 127 GenerateValidSchemaString(option.schema); in OpenOpenedKvstoreWithSchema() 133 * @tc.steps: step2. open an opened db, with same schema; in OpenOpenedKvstoreWithSchema() 141 * @tc.steps: step3. open an opened db, with valid but different schema; in OpenOpenedKvstoreWithSchema() 144 GenerateValidSchemaString(option.schema, SCHEMA_TYPE2); in OpenOpenedKvstoreWithSchema() 150 * @tc.steps: step4. open an opened db, with invalid schema; in OpenOpenedKvstoreWithSchema() 153 GenerateInvalidSchemaString(option.schema); in OpenOpenedKvstoreWithSchema() 159 * @tc.steps: step5. open an opened db, with empty schema; in OpenOpenedKvstoreWithSchema() 163 option.schema = emptySchema; in OpenOpenedKvstoreWithSchema() 177 * @tc.steps: step1. create a new db(non-memory), with input schema; in OpenClosedSchemaKvStore() 1110 std::string schema; HWTEST_F() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_single_relational_storage_engine.cpp | 136 void SQLiteSingleRelationalStorageEngine::SetSchema(const RelationalSchemaObject &schema) in SetSchema() argument 139 schema_ = schema; in SetSchema() 153 int SaveSchemaToMetaTable(SQLiteSingleVerRelationalStorageExecutor *handle, const RelationalSchemaObject &schema) in SaveSchemaToMetaTable() argument 157 DBCommon::StringToVector(schema.ToSchemaString(), schemaVal); in SaveSchemaToMetaTable() 158 int errCode = handle->PutKvData(schemaKey, schemaVal); // save schema to meta_data in SaveSchemaToMetaTable() 160 LOGE("Save schema to meta table failed. %d", errCode); in SaveSchemaToMetaTable() 166 const RelationalSchemaObject &schema) in SaveTrackerSchemaToMetaTable() 171 DBCommon::StringToVector(schema.ToSchemaString(), schemaVal); in SaveTrackerSchemaToMetaTable() 172 int errCode = handle->PutKvData(schemaKey, schemaVal); // save schema to meta_data in SaveTrackerSchemaToMetaTable() 174 LOGE("Save schema t in SaveTrackerSchemaToMetaTable() 165 SaveTrackerSchemaToMetaTable(SQLiteSingleVerRelationalStorageExecutor *handle, const RelationalSchemaObject &schema) SaveTrackerSchemaToMetaTable() argument 205 RelationalSchemaObject schema = GetSchema(); CreateDistributedTable() local 239 CreateDistributedSharedTable(SQLiteSingleVerRelationalStorageExecutor *&handle, const std::string &tableName, const std::string &sharedTableName, TableSyncType tableSyncType, RelationalSchemaObject &schema) CreateDistributedSharedTable() argument 264 CreateDistributedTable(const std::string &tableName, bool isUpgraded, const std::string &identity, RelationalSchemaObject &schema, TableSyncType tableSyncType) CreateDistributedTable() argument 306 CreateDistributedTable(SQLiteSingleVerRelationalStorageExecutor *&handle, bool isUpgraded, const std::string &identity, TableInfo &table, RelationalSchemaObject &schema) CreateDistributedTable() argument 340 RelationalSchemaObject schema = GetSchema(); UpgradeDistributedTable() local 455 SetTrackerTable(const TrackerSchema &schema) SetTrackerTable() argument 506 CheckAndCacheTrackerSchema(const TrackerSchema &schema, TableInfo &tableInfo, bool &isFirstCreate) CheckAndCacheTrackerSchema() argument 616 CheckReference(const std::vector<TableReferenceProperty> &tableReferenceProperty, const RelationalSchemaObject &schema) CheckReference() argument 650 SetReference(const std::vector<TableReferenceProperty> &tableReferenceProperty, SQLiteSingleVerRelationalStorageExecutor *handle, std::set<std::string> &clearWaterMarkTables, RelationalSchemaObject &schema) SetReference() argument 721 RelationalSchemaObject schema = GetSchema(); UpgradeSharedTable() local 742 RelationalSchemaObject schema = GetSchema(); UpgradeSharedTableInner() local 773 DoDeleteSharedTable(SQLiteSingleVerRelationalStorageExecutor *&handle, const std::vector<std::string> &deleteTableNames, RelationalSchemaObject &schema) DoDeleteSharedTable() argument 831 DoAlterSharedTableName(SQLiteSingleVerRelationalStorageExecutor *&handle, const std::map<std::string, std::string> &alterTableNames, RelationalSchemaObject &schema) DoAlterSharedTableName() argument 871 DoCreateSharedTable(SQLiteSingleVerRelationalStorageExecutor *&handle, const DataBaseSchema &cloudSchema, const std::map<std::string, std::vector<Field>> &updateTableNames, const std::map<std::string, std::string> &alterTableNames, RelationalSchemaObject &schema) DoCreateSharedTable() argument 935 CheckIfExistUserTable(SQLiteSingleVerRelationalStorageExecutor *&handle, const DataBaseSchema &cloudSchema, const std::map<std::string, std::string> &alterTableNames, const RelationalSchemaObject &schema) CheckIfExistUserTable() argument 1003 TrackerSchema schema; CleanTrackerDeviceTable() local 1014 GenLogInfoForUpgrade(const std::string &tableName, RelationalSchemaObject &schema, bool schemaChanged) GenLogInfoForUpgrade() argument [all...] |
H A D | sqlite_single_relational_storage_engine.h | 34 void SetSchema(const RelationalSchemaObject &schema); 46 int SetTrackerTable(const TrackerSchema &schema); 47 int CheckAndCacheTrackerSchema(const TrackerSchema &schema, TableInfo &tableInfo, bool &isFirstCreate); 57 RelationalSchemaObject &schema); 77 const std::string &identity, TableInfo &table, RelationalSchemaObject &schema); 80 RelationalSchemaObject &schema, TableSyncType tableSyncType); 83 const std::string &sharedTableName, TableSyncType syncType, RelationalSchemaObject &schema); 90 int GenLogInfoForUpgrade(const std::string &tableName, RelationalSchemaObject &schema, bool schemaChanged); 105 const std::vector<std::string> &deleteTableNames, RelationalSchemaObject &schema); 112 const std::map<std::string, std::string> &alterTableNames, RelationalSchemaObject &schema); [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_storage_index_optimize_test.cpp | 60 void GenerateSchemaString(std::string &schema, const std::string &indexString) in GenerateSchemaString() argument 62 schema = BASE_SCHEMA_STRING + indexString + "}"; in GenerateSchemaString() 227 std::string schema; in HWTEST_F() local 228 GenerateSchemaString(schema, "[[\"name\", \"father.name\"]]"); in HWTEST_F() 231 * @tc.steps: step2. Create a kvStore with the schema string. in HWTEST_F() 234 option.schema = schema; in HWTEST_F() 251 std::string schema; in HWTEST_F() local 252 GenerateSchemaString(schema, "[\"name\", \"id\"]"); in HWTEST_F() 254 ASSERT_EQ(schemaObject1.ParseFromSchemaString(schema), E_O in HWTEST_F() 303 std::string schema; HWTEST_F() local [all...] |
H A D | distributeddb_relational_syncable_storage_test.cpp | 78 * @tc.desc: Test sync interface get schema 97 RelationalSchemaObject schema = syncAbleStorage->GetSchemaInfo(); in HWTEST_F() 98 (void)schema.ToSchemaString(); in HWTEST_F() 103 RelationalSchemaObject schema; in HWTEST_F() local 107 schema.AddRelationalTable(table); in HWTEST_F() 111 RelationalSchemaObject tmpSchema = schema; in HWTEST_F()
|
H A D | distributeddb_query_object_helper_test.cpp | 51 SchemaObject schema; in GetQuerySql() local 52 schema.ParseFromSchemaString(VALID_SCHEMA_FULL_DEFINE); in GetQuerySql() 53 queryObj.SetSchema(schema); in GetQuerySql() 172 SchemaObject schema; in HWTEST_F() local 173 schema.ParseFromSchemaString(VALID_SCHEMA_FULL_DEFINE); in HWTEST_F() 174 queryObj.SetSchema(schema); in HWTEST_F() 181 queryObj1.SetSchema(schema); in HWTEST_F() 187 queryObj2.SetSchema(schema); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_schema_object_test.cpp | 426 * @tc.steps: step1. Parse valid schema with full define in HWTEST_F() 434 * @tc.steps: step2. Parse valid schema with empty index in HWTEST_F() 442 * @tc.steps: step3. Parse valid schema with no index field in HWTEST_F() 450 * @tc.steps: step4. Parse valid schema with prefix of suffix blank in HWTEST_F() 468 * @tc.steps: step1. Parse invalid schema which is not valid json in HWTEST_F() 476 * @tc.steps: step2. Parse invalid schema with less field in depth 0 in HWTEST_F() 484 * @tc.steps: step3. Parse invalid schema with more field in depth 0 in HWTEST_F() 492 * @tc.steps: step4. Parse invalid schema with wrong version in HWTEST_F() 500 * @tc.steps: step5. Parse invalid schema with wrong mode in HWTEST_F() 518 * @tc.steps: step1. Parse invalid schema whic in HWTEST_F() 971 CheckValueLackField(const SchemaObject &schema, const std::string &oriValue, const std::string &lackField, int expectErrCode, ValueObject &externalValueObject) CheckValueLackField() argument 983 CheckValueLackField(const SchemaObject &schema, const std::string &oriValue, const std::string &lackField, int expectErrCode) CheckValueLackField() argument 1000 SchemaObject schema; HWTEST_F() local 1059 SchemaObject schema; HWTEST_F() local 1104 SchemaObject schema; HWTEST_F() local 1145 SchemaObject schema; HWTEST_F() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_nb_schema_test.cpp | 140 * @tc.desc: Verify that single-ver db can support create schema db if the schema is valid. 150 * @tc.steps: step1. create db with valid schema. in HWTEST_F() 164 option.schema = iter; in HWTEST_F() 174 * @tc.desc: Verify that single-ver db can't create schema db if the schema is invalid. 207 * @tc.steps: step1. create db with invalid schema without SCHEMA_INDEX. in HWTEST_F() 216 option.schema = iter; in HWTEST_F() 226 * @tc.steps: step2. create db with invalid schema with invalid SCHEMA_INDEX. in HWTEST_F() 231 option.schema in HWTEST_F() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/ |
H A D | distributeddb_data_generator.cpp | 423 // Get long schema define with long default x or fields' num 449 // splice different string to schema 453 std::string schema; in SpliceToSchema() local 464 schema = schema + "{" + "\"SCHEMA_VERSION\"" + ":" + "\"" + version + "\"" + "," + in SpliceToSchema() 467 return schema; in SpliceToSchema() 470 void GenerateLongValidSchema(Schema &validSchema, std::vector<std::string> &schema) in GenerateLongValidSchema() argument 481 schema.push_back(splicSchema); in GenerateLongValidSchema() 484 void GenerateLargeValidSchema(Schema &validSchema, std::vector<std::string> &schema) in GenerateLargeValidSchema() argument 502 schema in GenerateLargeValidSchema() 507 std::vector<std::string> schema; GetValidSchema() local 535 GetLongIndex(Schema &validSchema, std::vector<std::string> &schema) GetLongIndex() argument 556 std::vector<std::string> schema; GenarateOtherInvalidSchema() local 603 std::vector<std::string> schema; GetInvalidSchema() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | cloud_db_data_utils.cpp | 20 std::vector<VBucket> CloudDBDataUtils::GenerateRecords(int recordCounts, const TableSchema &schema) in GenerateRecords() argument 25 records.push_back(GenerateRecord(schema, i)); in GenerateRecords() 30 VBucket CloudDBDataUtils::GenerateRecord(const DistributedDB::TableSchema &schema, int32_t start) in GenerateRecord() argument 34 for (const auto &field: schema.fields) { in GenerateRecord()
|
H A D | cloud_db_data_utils.h | 25 static std::vector<VBucket> GenerateRecords(int recordCounts, const TableSchema &schema); 27 static VBucket GenerateRecord(const TableSchema &schema, int32_t start = 0);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/ |
H A D | tracker_table.cpp | 22 void TrackerTable::Init(const TrackerSchema &schema) in Init() argument 24 tableName_ = schema.tableName; in Init() 25 extendColName_ = schema.extendColName; in Init() 26 trackerColNames_ = schema.trackerColNames; in Init() 249 bool TrackerTable::IsChanging(const TrackerSchema &schema) in IsChanging() argument 251 if (tableName_ != schema.tableName || extendColName_ != schema.extendColName) { in IsChanging() 254 if (trackerColNames_.size() != schema.trackerColNames.size()) { in IsChanging() 258 if (schema.trackerColNames.find(col) == schema in IsChanging() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_single_ver_schema_database_upgrader.cpp | 49 SchemaObject schema; member 61 // kv to schema database, but in the case the original schema having index, the sqlite will gather all rowid of values 72 int errCode = valueObj.Parse(inValue.first, inValue.first + inValue.second, context.schema.GetSkipSize()); in CheckGetForJsonSchema() 79 errCode = context.schema.CheckValueAndAmendIfNeed(ValueSource::FROM_DBFILE, valueObj); in CheckGetForJsonSchema() 118 int errCode = context.schema.VerifyValue(ValueSource::FROM_DBFILE, inValue); in CheckGetForFlatBufferSchema() 136 if (context == nullptr || !context->schema.IsSchemaValid()) { // Unlikely in CheckValueOrGetAmendValue() 137 sqlite3_result_error(ctx, "[SqlSingleSchemaUp][CheckGet] No context or schema invalid.", USING_STR_LEN); in CheckValueOrGetAmendValue() 138 LOGE("[SqlSingleSchemaUp][CheckGet] No context or schema invalid."); in CheckValueOrGetAmendValue() 150 if (context->schema in CheckValueOrGetAmendValue() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/relationalstoredelegate_fuzzer/ |
H A D | relationalstoredelegate_fuzzer.cpp | 103 TrackerSchema schema; in MultiCombineTest() local 104 schema.tableName = tableName; in MultiCombineTest() 105 schema.extendColName = extendColName; in MultiCombineTest() 106 schema.trackerColNames = trackerColNames; in MultiCombineTest() 107 g_delegate->SetTrackerTable(schema); in MultiCombineTest()
|
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/include/ |
H A D | nnrt_device_service.h | 68 std::shared_ptr<mindspore::schema::MetaGraphT> TransModelToGraph(const Model& model) const; 69 std::unique_ptr<mindspore::schema::TensorT> TransTensor(const Tensor& tensor) const; 70 std::unique_ptr<mindspore::schema::CNodeT> TransNode(const Node& node) const; 71 std::unique_ptr<mindspore::schema::SubGraphT> TransSubGraph(const SubGraph& graph, const size_t numTensor) const;
|
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/include/ |
H A D | nnrt_device_service.h | 71 std::shared_ptr<mindspore::schema::MetaGraphT> TransModelToGraph(const Model& model, 73 std::unique_ptr<mindspore::schema::TensorT> TransTensor(const Tensor& tensor, NNRT_ReturnCode& returnCode) const; 74 std::unique_ptr<mindspore::schema::CNodeT> TransNode(const Node& node, NNRT_ReturnCode& returnCode) const; 75 std::unique_ptr<mindspore::schema::SubGraphT> TransSubGraph(const SubGraph& graph, const size_t numTensor) const;
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/metadata/ |
H A D | store_meta_data_local.cpp | 68 SetValue(node[GET_NAME(schema)], schema); in Marshal() 81 GetValue(node, GET_NAME(schema), schema); in Unmarshal()
|