/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_step_result_get_row_test.cpp | 107 RowEntity rowEntity; in HWTEST_F() local 108 iRet = resultSet->GetRow(rowEntity); in HWTEST_F() 111 int idValue = rowEntity.Get("id"); in HWTEST_F() 114 int idValueByIndex = rowEntity.Get(0); in HWTEST_F() 117 std::map<std::string, ValueObject> rowEntityTmp = rowEntity.Get(); in HWTEST_F() 123 std::map<std::string, ValueObject> rowEntityTmp2 = rowEntity.Steal(); in HWTEST_F() 128 rowEntityTmp = rowEntity.Get(); in HWTEST_F() 159 RowEntity rowEntity; in HWTEST_F() local 160 iRet = resultSet->GetRow(rowEntity); in HWTEST_F() 163 int idValue = rowEntity in HWTEST_F() 197 RowEntity rowEntity; HWTEST_F() local 256 RowEntity rowEntity; HWTEST_F() local 290 RowEntity rowEntity; HWTEST_F() local 323 RowEntity rowEntity; HWTEST_F() local [all...] |
H A D | rdb_trans_db_test.cpp | 166 RowEntity rowEntity; in HWTEST_F() local 167 errCode = resultSet->GetRow(rowEntity); in HWTEST_F() 169 ASSERT_TRUE(row.values_ == rowEntity.Get()); in HWTEST_F() 193 RowEntity rowEntity; in HWTEST_F() local 194 errCode = resultSet->GetRow(rowEntity); in HWTEST_F() 196 ASSERT_TRUE(row.values_ == rowEntity.Get()); in HWTEST_F() 217 RowEntity rowEntity; in HWTEST_F() local 218 errCode = resultSet->GetRow(rowEntity); in HWTEST_F() 223 ASSERT_TRUE(row.values_ == rowEntity.Get()); in HWTEST_F() 244 RowEntity rowEntity; in HWTEST_F() local 271 RowEntity rowEntity; HWTEST_F() local 298 RowEntity rowEntity; HWTEST_F() local 323 RowEntity rowEntity; HWTEST_F() local 366 RowEntity rowEntity; HWTEST_F() local 393 RowEntity rowEntity; HWTEST_F() local 422 RowEntity rowEntity; HWTEST_F() local 459 RowEntity rowEntity; HWTEST_F() local 497 RowEntity rowEntity; HWTEST_F() local 537 RowEntity rowEntity; HWTEST_F() local 582 RowEntity rowEntity; HWTEST_F() local 614 RowEntity rowEntity; HWTEST_F() local 658 RowEntity rowEntity; HWTEST_F() local 703 RowEntity rowEntity; HWTEST_F() local 808 RowEntity rowEntity; HWTEST_F() local 852 RowEntity rowEntity; HWTEST_F() local 891 RowEntity rowEntity; HWTEST_F() local 957 RowEntity rowEntity; HWTEST_F() local 988 RowEntity rowEntity; HWTEST_F() local 1017 RowEntity rowEntity; HWTEST_F() local 1156 RowEntity rowEntity; HWTEST_F() local 1186 RowEntity rowEntity; HWTEST_F() local [all...] |
H A D | rdb_sqlite_shared_result_set_test.cpp | 1090 RowEntity rowEntity;
in HWTEST_F() local 1091 iRet = resultSet->GetRow(rowEntity);
in HWTEST_F() 1094 int idValue = rowEntity.Get("id");
in HWTEST_F() 1095 std::string data1Value = rowEntity.Get("data1");
in HWTEST_F() 1096 int data2Value = rowEntity.Get("data2");
in HWTEST_F() 1097 double data3Value = rowEntity.Get("data3");
in HWTEST_F() 1098 std::vector<uint8_t> data4Value = rowEntity.Get("data4");
in HWTEST_F() 1105 int idValueByIndex = rowEntity.Get(0);
in HWTEST_F() 1106 std::string data1ValueByIndex = rowEntity.Get(1);
in HWTEST_F() 1107 int data2ValueByIndex = rowEntity in HWTEST_F() 1134 RowEntity rowEntity; HWTEST_F() local 1406 RowEntity rowEntity; HWTEST_F() local [all...] |
H A D | cache_result_set_test.cpp | 324 RowEntity rowEntity; in HWTEST_F() local 325 EXPECT_EQ(E_OK, cacheResultSet.GetRow(rowEntity)); in HWTEST_F() 327 auto value = rowEntity.Get(columnName); in HWTEST_F()
|
H A D | rdb_step_result_set_test.cpp | 1799 RowEntity rowEntity;
in HWTEST_F() local 1800 errCode = resultSet->GetRow(rowEntity);
in HWTEST_F()
|
/foundation/filemanagement/dfs_service/services/clouddisk_database/src/ |
H A D | clouddisk_rdb_utils.cpp | 99 static void FillFileInfo(const RowEntity &rowEntity, CloudDiskFileInfo &info)
in FillFileInfo() argument 101 rowEntity.Get(FileColumn::FILE_NAME).GetString(info.name);
in FillFileInfo() 102 rowEntity.Get(FileColumn::CLOUD_ID).GetString(info.cloudId);
in FillFileInfo() 103 rowEntity.Get(FileColumn::PARENT_CLOUD_ID).GetString(info.parentCloudId);
in FillFileInfo() 105 rowEntity.Get(FileColumn::POSITION).GetInt(int_variable);
in FillFileInfo() 108 rowEntity.Get(FileColumn::FILE_SIZE).GetLong(long_variable);
in FillFileInfo() 110 rowEntity.Get(FileColumn::FILE_TIME_ADDED).GetLong(long_variable);
in FillFileInfo() 112 rowEntity.Get(FileColumn::META_TIME_EDITED).GetLong(long_variable);
in FillFileInfo() 114 rowEntity.Get(FileColumn::FILE_TIME_EDITED).GetLong(long_variable);
in FillFileInfo() 116 rowEntity in FillFileInfo() 134 RowEntity rowEntity; ResultSetToFileInfo() local [all...] |
H A D | clouddisk_rdbstore.cpp | 1276 RowEntity rowEntity; in GetCurNode() local 1277 if (resultSet->GetRow(rowEntity) != E_OK) { in GetCurNode() 1283 rowEntity.Get(FileColumn::PARENT_CLOUD_ID).GetString(curNode.parentCloudId); in GetCurNode() 1284 rowEntity.Get(FileColumn::FILE_NAME).GetString(curNode.fileName); in GetCurNode() 1285 rowEntity.Get(FileColumn::IS_DIRECTORY).GetInt(isDirectory); in GetCurNode() 1310 RowEntity rowEntity; in GetParentNode() local 1311 if (resultSet->GetRow(rowEntity) != E_OK) { in GetParentNode() 1315 rowEntity.Get(FileColumn::PARENT_CLOUD_ID).GetString(nextCloudId); in GetParentNode() 1316 rowEntity.Get(FileColumn::FILE_NAME).GetString(fileName); in GetParentNode()
|
/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/mock/ |
H A D | clouddisk_rdb_utils_mock.cpp | 58 static void FillFileInfo(const RowEntity &rowEntity, CloudDiskFileInfo &info) in FillFileInfo() argument 60 rowEntity.Get(FileColumn::FILE_NAME).GetString(info.name); in FillFileInfo() 61 rowEntity.Get(FileColumn::CLOUD_ID).GetString(info.cloudId); in FillFileInfo() 62 rowEntity.Get(FileColumn::PARENT_CLOUD_ID).GetString(info.parentCloudId); in FillFileInfo() 64 rowEntity.Get(FileColumn::POSITION).GetInt(int_variable); in FillFileInfo() 67 rowEntity.Get(FileColumn::FILE_SIZE).GetLong(long_variable); in FillFileInfo() 69 rowEntity.Get(FileColumn::FILE_TIME_ADDED).GetLong(long_variable); in FillFileInfo() 71 rowEntity.Get(FileColumn::META_TIME_EDITED).GetLong(long_variable); in FillFileInfo() 73 rowEntity.Get(FileColumn::FILE_TIME_EDITED).GetLong(long_variable); in FillFileInfo() 75 rowEntity in FillFileInfo() [all...] |
/foundation/deviceprofile/device_info_manager/services/core/src/trustprofilemanager/ |
H A D | trust_profile_manager.cpp | 1444 RowEntity rowEntity; in ConvertToTrustDeviceProfile() local 1445 if (trustResultSet->GetRow(rowEntity) != DP_SUCCESS) { in ConvertToTrustDeviceProfile() 1449 std::string deviceId = rowEntity.Get(DEVICE_ID); in ConvertToTrustDeviceProfile() 1450 int32_t deviceIdType = rowEntity.Get(DEVICE_ID_TYPE); in ConvertToTrustDeviceProfile() 1451 std::string deviceIdHash = rowEntity.Get(DEVICE_ID_HASH); in ConvertToTrustDeviceProfile() 1452 int32_t status = rowEntity.Get(STATUS); in ConvertToTrustDeviceProfile() 1468 RowEntity rowEntity; in ConvertToAccesser() local 1469 if (accesserResultSet->GetRow(rowEntity) != DP_SUCCESS) { in ConvertToAccesser() 1473 int64_t accesserId = rowEntity.Get(ACCESSER_ID); in ConvertToAccesser() 1474 std::string accesserDeviceId = rowEntity in ConvertToAccesser() 1500 RowEntity rowEntity; ConvertToAccessee() local 1532 RowEntity rowEntity; ConvertToAccessControlProfile() local [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_rdb_sendable_utils.cpp | 49 napi_value Convert2Sendable(napi_env env, const RowEntity &rowEntity) in Convert2Sendable() argument 53 auto &values = rowEntity.Get(); in Convert2Sendable()
|
H A D | napi_result_set.cpp | 561 RowEntity rowEntity; in GetRow() local 562 int errCode = resultSetProxy->GetInstance()->GetRow(rowEntity); in GetRow() 564 return JSUtils::Convert2JSValue(env, rowEntity); in GetRow() 573 RowEntity rowEntity; in GetSendableRow() local 574 int errCode = resultSetProxy->GetInstance()->GetRow(rowEntity); in GetSendableRow() 576 return JSUtils::Convert2Sendable(env, rowEntity); in GetSendableRow()
|
H A D | napi_rdb_js_utils.cpp | 134 napi_value Convert2JSValue(napi_env env, const RowEntity &rowEntity) in Convert2JSValue() argument 138 auto &values = rowEntity.Get(); in Convert2JSValue()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/ |
H A D | napi_rdb_sendable_utils.h | 26 napi_value Convert2Sendable(napi_env env, const RowEntity &rowEntity);
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/ |
H A D | napi_rdb_js_utils.cpp | 62 napi_value Convert2JSValue(napi_env env, const RowEntity &rowEntity) in Convert2JSValue() argument 66 auto &values = rowEntity.Get(); in Convert2JSValue()
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
H A D | result_set.h | 62 virtual int GetRow(RowEntity &rowEntity) = 0;
|
H A D | abs_result_set.h | 165 API_EXPORT int GetRow(RowEntity &rowEntity) override;
|
H A D | cache_result_set.h | 177 API_EXPORT int GetRow(RowEntity &rowEntity) override;
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | cache_result_set.cpp | 136 int CacheResultSet::GetRow(RowEntity &rowEntity) in GetRow() argument 142 rowEntity.Clear(colNames_.size()); in GetRow() 149 rowEntity.Put(columnName, index, std::move(object)); in GetRow()
|
H A D | abs_result_set.cpp | 248 int AbsResultSet::GetRow(RowEntity &rowEntity)
in GetRow() argument 258 rowEntity.Clear(columnCount_);
in GetRow() 266 rowEntity.Put(name, index, std::move(value));
in GetRow()
|
/foundation/distributeddatamgr/relational_store/frameworks/cj/src/ |
H A D | relational_store_impl_resultsetproxy.cpp | 290 NativeRdb::RowEntity rowEntity; in GetRow() local 291 *rtnCode = resultSetValue->GetRow(rowEntity); in GetRow() 295 const std::map<std::string, NativeRdb::ValueObject> map = rowEntity.Get(); in GetRow()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_result_set_impl.h | 64 int GetRow(NativeRdb::RowEntity& rowEntity) override;
|
H A D | rdb_result_set_impl.cpp | 356 int RdbResultSetImpl::GetRow(NativeRdb::RowEntity& rowEntity) in GetRow() argument
|
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | rdb_adapter_test.cpp | 439 RowEntity rowEntity; in HWTEST_F() local 440 resultSet->GetRow(rowEntity); in HWTEST_F() 441 int32_t status = rowEntity.Get("status"); in HWTEST_F()
|