Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/cj/src/
H A Drelational_store_impl_resultsetproxy.cpp151 return *rtnCode == RelationalStoreJsKit::OK; in GoToRow()
157 return *rtnCode == RelationalStoreJsKit::OK; in GoToPreviousRow()
162 *rtnCode = resultSetValue->GoToLastRow(); in GoToLastRow()
163 return *rtnCode == RelationalStoreJsKit::OK; in GoToLastRow()
170 if (*rtnCode != RelationalStoreJsKit::OK) { in GetColumnName()
187 if (*rtnCode != RelationalStoreJsKit::OK) { in GetAsset()
223 *rtnCode = resultSetValue->GoToFirstRow(); in GoToFirstRow()
224 return *rtnCode == RelationalStoreJsKit::OK; in GoToFirstRow()
236 *rtnCode = resultSetValue->GoToNextRow(); in GoToNextRow()
259 *rtnCode = resultSetValue->GoTo(offset); in GoTo()
[all …]
H A Drelational_store_ffi.cpp650 *rtnCode = -1; in FfiOHOSRelationalStoreGetDouble()
660 *rtnCode = -1; in FfiOHOSRelationalStoreGoToRow()
670 *rtnCode = -1; in FfiOHOSRelationalStoreGoToPreviousRow()
680 *rtnCode = -1; in FfiOHOSRelationalStoreGoToLastRow()
690 *rtnCode = -1; in FfiOHOSRelationalStoreGetColumnName()
700 *rtnCode = -1; in FfiOHOSRelationalStoreIsColumnNull()
710 *rtnCode = -1; in FfiOHOSRelationalStoreGetAsset()
729 *rtnCode = -1; in FfiOHOSRelationalStoreGetColumnIndex()
739 *rtnCode = -1; in FfiOHOSRelationalStoreGetString()
749 *rtnCode = -1; in FfiOHOSRelationalStoreGoToFirstRow()
[all …]
H A Drelational_store_impl_rdbstore.cpp207 int32_t rtnCode = rdbStore_->CleanDirtyData(tableName, cursor); in CleanDirtyData() local
208 return rtnCode; in CleanDirtyData()
223 int32_t rtnCode = rdbStore_->BatchInsert(insertNum, tableNameStr, valuesVector); in BatchInsert() local
224 return rtnCode; in BatchInsert()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/cj/include/
H A Drelational_store_impl_resultsetproxy.h55 double GetDouble(int32_t columnIndex, int32_t* rtnCode);
57 bool GoToRow(int32_t position, int32_t* rtnCode);
59 bool GoToPreviousRow(int32_t* rtnCode);
61 bool GoToLastRow(int32_t* rtnCode);
67 Asset GetAsset(int32_t columnIndex, int32_t* rtnCode);
73 char* GetString(int32_t columnIndex, int32_t* rtnCode);
75 bool GoToFirstRow(int32_t* rtnCode);
77 int64_t GetLong(int32_t columnIndex, int32_t* rtnCode);
79 bool GoToNextRow(int32_t* rtnCode);
83 bool GoTo(int32_t offset, int32_t* rtnCode);
[all …]
H A Drelational_store_ffi.h175 …I_EXPORT double FfiOHOSRelationalStoreGetDouble(int64_t id, int32_t columnIndex, int32_t* rtnCode);
177 FFI_EXPORT bool FfiOHOSRelationalStoreGoToRow(int64_t id, int32_t position, int32_t* rtnCode);
179 FFI_EXPORT bool FfiOHOSRelationalStoreGoToPreviousRow(int64_t id, int32_t* rtnCode);
181 FFI_EXPORT bool FfiOHOSRelationalStoreGoToLastRow(int64_t id, int32_t* rtnCode);
187 …FFI_EXPORT Asset FfiOHOSRelationalStoreGetAsset(int64_t id, int32_t columnIndex, int32_t* rtnCode);
193 …FI_EXPORT char* FfiOHOSRelationalStoreGetString(int64_t id, int32_t columnIndex, int32_t* rtnCode);
195 FFI_EXPORT bool FfiOHOSRelationalStoreGoToFirstRow(int64_t id, int32_t* rtnCode);
197 …FI_EXPORT int64_t FfiOHOSRelationalStoreGetLong(int64_t id, int32_t columnIndex, int32_t* rtnCode);
199 FFI_EXPORT bool FfiOHOSRelationalStoreGoToNextRow(int64_t id, int32_t* rtnCode);
201 …FI_EXPORT CArrUI8 FfiOHOSRelationalStoreGetBlob(int64_t id, int32_t columnIndex, int32_t* rtnCode);
[all …]