Home
last modified time | relevance | path

Searched refs:rows (Results 1 - 5 of 5) sorted by relevance

/base/location/frameworks/location_common/common/source/
H A Dlocation_data_rdb_helper.cpp112 auto rows = dataShareHelper->Query(uri, predicates, columns); in GetValue() local
113 if (rows == nullptr) { in GetValue()
114 LBSLOGE(LOCATOR_STANDARD, "%{public}s can not get rows", __func__); in GetValue()
118 rows->GoToFirstRow(); in GetValue()
120 rows->GetColumnIndex(LOCATION_DATA_COLUMN_VALUE, columnIndex); in GetValue()
122 int32_t ret = rows->GetString(columnIndex, valueStr); in GetValue()
125 rows->Close(); in GetValue()
129 rows->Close(); in GetValue()
/base/sensors/sensor/vibration_convert/core/utils/src/
H A Dutils.cpp74 std::vector<double> TransposeMatrix(size_t rows, const std::vector<double> &values) in TransposeMatrix() argument
79 if ((rows == 0) || (valuesSize == 0) || (valuesSize > MAX_SIZE)) { in TransposeMatrix()
84 size_t cols = valuesSize / rows; in TransposeMatrix()
86 if ((((cols - 1) * rows) + (rows - 1)) >= valuesSize) { in TransposeMatrix()
90 for (size_t i = 0; i < rows; i++) { in TransposeMatrix()
92 dst[j * rows + i] = values[index++]; in TransposeMatrix()
/base/sensors/sensor/vibration_convert/core/algorithm/onset/src/
H A Donset.cpp230 size_t rows = dbEnvelopeDiff.size() / cols; in CheckOnset() local
234 oneFrmValues.assign(dbEnvelopeDiff.begin() + i * rows, dbEnvelopeDiff.begin() + ((i + 1) * rows)); in CheckOnset()
246 oneFrmValues.assign(dbEnvelopeDiff.begin() + i * rows, dbEnvelopeDiff.begin() + ((i + 1) * rows)); in CheckOnset()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
H A Ddata_share_dao.cpp71 int rows = 0; in SaveSubscriberInfo() local
79 if (int ret = dbStore->Update(rows, eventTable_, values, whereClause, whereArgs); ret != NativeRdb::E_OK) { in SaveSubscriberInfo()
/base/sensors/sensor/vibration_convert/core/utils/include/
H A Dutils.h71 * @param rows Number of rows
76 std::vector<double> TransposeMatrix(size_t rows, const std::vector<double> &values);

Completed in 3 milliseconds