Home
last modified time | relevance | path

Searched refs:col (Results 1 - 25 of 119) sorted by relevance

12345

/foundation/arkui/ace_engine/test/unittest/bridge/common/sourcemap/
H A Dsource_map_test.cpp48 int32_t col = 0; in HWTEST_F() local
56 auto mappingInfo = revSourceMap.Find(row, col, isColPrecise); // 47line if 1、1、1 in HWTEST_F()
57 EXPECT_EQ(mappingInfo.col, 0); in HWTEST_F()
59 mappingInfo = revSourceMap.Find(row, col, isColPrecise); // 47line if 0、1、1 in HWTEST_F()
60 EXPECT_EQ(mappingInfo.col, 0); in HWTEST_F()
61 col = 1; in HWTEST_F()
62 mappingInfo = revSourceMap.Find(row, col, isColPrecise); // 47line if 0、0、1 in HWTEST_F()
63 EXPECT_EQ(mappingInfo.col, 0); in HWTEST_F()
66 mappingInfo = revSourceMap.Find(row, col, isColPrecise); // 47line if 0、0、0 57line if 1 in HWTEST_F()
67 EXPECT_EQ(mappingInfo.col, in HWTEST_F()
93 int32_t col = 0; HWTEST_F() local
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Dcache_cursor.cpp43 int32_t CacheCursor::GetColumnName(int32_t col, std::string &name) const in GetColumnName() argument
45 if (col < 0 || col >= maxCol_) { in GetColumnName()
48 name = colNames_[col]; in GetColumnName()
52 int32_t CacheCursor::GetColumnType(int32_t col) const in GetColumnType()
54 if (col < 0 || col >= maxCol_) { in GetColumnType()
57 return colTypes_[col]; in GetColumnType()
102 int32_t CacheCursor::Get(int32_t col, DistributedData::Value &value) in Get() argument
104 if (col < in Get()
110 Get(const std::string &col, DistributedData::Value &value) Get() argument
[all...]
H A Drdb_cursor.cpp40 int32_t RdbCursor::GetColumnName(int32_t col, std::string &name) const in GetColumnName() argument
42 return resultSet_->GetColumnName(col, name) == DBStatus::OK ? GeneralError::E_OK : GeneralError::E_ERROR; in GetColumnName()
45 int32_t RdbCursor::GetColumnType(int32_t col) const in GetColumnType()
48 auto status = resultSet_->GetColumnType(col, dbColumnType); in GetColumnType()
88 int32_t RdbCursor::Get(int32_t col, DistributedData::Value &value) in Get() argument
91 auto status = resultSet_->GetColumnName(col, name); in Get()
103 int32_t RdbCursor::Get(const std::string &col, DistributedData::Value &value) in Get() argument
106 auto ret = resultSet_->GetColumnIndex(col, index); in Get()
H A Drdb_cursor.h26 int32_t GetColumnName(int32_t col, std::string &name) const override;
27 int32_t GetColumnType(int32_t col) const override;
34 int32_t Get(int32_t col, DistributedData::Value &value) override;
35 int32_t Get(const std::string &col, DistributedData::Value &value) override;
H A Dcache_cursor.h26 int32_t GetColumnName(int32_t col, std::string &name) const override;
27 int32_t GetColumnType(int32_t col) const override;
34 int32_t Get(int32_t col, DistributedData::Value &value) override;
35 int32_t Get(const std::string &col, DistributedData::Value &value) override;
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/
H A Dcloud_cursor_impl.cpp90 int32_t CloudCursorImpl::GetColumnName(int32_t col, std::string &name) const in GetColumnName() argument
92 if (names_.size() <= static_cast<size_t>(col)) { in GetColumnName()
95 name = names_[col]; in GetColumnName()
99 int32_t CloudCursorImpl::GetColumnType(int32_t col) const in GetColumnType()
205 DBValue CloudCursorImpl::GetExtend(OhCloudExtValueBucket *vb, const std::string &col) in GetExtend() argument
209 auto keyStr = reinterpret_cast<const unsigned char *>(col.c_str()); in GetExtend()
210 OhCloudExtKeyName keyName = OhCloudExtKeyNameNew(keyStr, col.size()); in GetExtend()
218 if (col == OPERATION_KEY) { in GetExtend()
221 } else if (col == GID_KEY) { in GetExtend()
223 } else if (col in GetExtend()
240 Get(int32_t col, DBValue &value) Get() argument
251 Get(const std::string &col, DBValue &value) Get() argument
[all...]
H A Dcloud_cursor_impl.h35 int32_t GetColumnName(int32_t col, std::string &name) const override;
36 int32_t GetColumnType(int32_t col) const override;
43 int32_t Get(int32_t col, DBValue &value) override;
44 int32_t Get(const std::string &col, DBValue &value) override;
63 DBValue GetExtend(OhCloudExtValueBucket *vb, const std::string &col);
/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Dmatrix4.h68 void SetEntry(int32_t row, int32_t col, double value);
82 inline double Get(int32_t row, int32_t col) const in Get()
85 ACE_DCHECK((unsigned)col < DIMENSION); in Get()
86 return matrix4x4_[col][row]; in Get()
88 inline void Set(int32_t row, int32_t col, double value) in Set() argument
91 ACE_DCHECK((unsigned)col < DIMENSION); in Set()
92 matrix4x4_[col][row] = value; in Set()
107 double operator()(int32_t row, int32_t col) const;
130 bool SetEntry(int32_t row, int32_t col, double value);
155 // Make sure that the value of row is less than 4 and col i
[all...]
H A Dmatrix3.h35 void SetEntry(int32_t row, int32_t col, double value);
62 // Make sure that the value of row is less than 3 and col is less than 3.
63 inline double operator()(int32_t row, int32_t col) const in operator ()()
65 return matrix3X3_[row][col]; in operator ()()
103 bool SetEntry(int32_t row, int32_t col, double value);
128 // Make sure that the value of row is less than 3 and col is less than columns.
129 inline double operator()(int32_t row, int32_t col) const in operator ()()
131 return Matrix3n_[row][col]; in operator ()()
170 bool SetEntry(int32_t row, int32_t col, double value);
192 // Make sure that the value of row is less than rows and col i
[all...]
H A Dmatrix3.cpp19 void Matrix3::SetEntry(int32_t row, int32_t col, double value) in SetEntry() argument
21 if ((row < 0 || row >= DIMENSION) || (col < 0 || col >= DIMENSION)) { in SetEntry()
24 matrix3X3_[row][col] = value; in SetEntry()
128 bool Matrix3N::SetEntry(int32_t row, int32_t col, double value) in SetEntry() argument
130 if (row >= DIMENSION || col >= columns_) { in SetEntry()
133 Matrix3n_[row][col] = value; in SetEntry()
203 bool MatrixN3::SetEntry(int32_t row, int32_t col, double value) in SetEntry() argument
205 if (row >= rows_ || col >= DIMENSION) { in SetEntry()
208 Matrixn3_[row][col] in SetEntry()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/mock/
H A Dcursor_mock.cpp32 int32_t CursorMock::GetColumnName(int32_t col, std::string &name) const in GetColumnName() argument
37 if (index++ == col) { in GetColumnName()
46 int32_t CursorMock::GetColumnType(int32_t col) const in GetColumnType()
51 if (index++ == col) { in GetColumnType()
96 int32_t CursorMock::Get(int32_t col, DistributedData::Value &value) in Get() argument
101 if (i++ == col) { in Get()
110 int32_t CursorMock::Get(const std::string &col, DistributedData::Value &value) in Get() argument
114 if (k == col) { in Get()
H A Dcursor_mock.h31 int32_t GetColumnName(int32_t col, std::string &name) const override;
32 int32_t GetColumnType(int32_t col) const override;
39 int32_t Get(int32_t col, DistributedData::Value &value) override;
40 int32_t Get(const std::string &col, DistributedData::Value &value) override;
/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/
H A Dwater_flow_misc_test.cpp66 RefPtr<UINode> col; in HWTEST_F() local
69 col = ViewStackProcessor::GetInstance()->GetMainElementNode(); in HWTEST_F()
78 ASSERT_TRUE(col); in HWTEST_F()
111 RefPtr<UINode> col; in HWTEST_F() local
115 col = ViewStackProcessor::GetInstance()->GetMainElementNode(); in HWTEST_F()
123 ASSERT_TRUE(col); in HWTEST_F()
145 RefPtr<UINode> col; in HWTEST_F() local
149 col = ViewStackProcessor::GetInstance()->GetMainElementNode(); in HWTEST_F()
158 ASSERT_TRUE(col); in HWTEST_F()
177 RefPtr<UINode> col; in HWTEST_F() local
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/store/
H A Dcursor.h30 virtual int32_t GetColumnName(int32_t col, std::string &name) const = 0;
32 virtual int32_t GetColumnType(int32_t col) const = 0;
46 virtual int32_t Get(int32_t col, Value &value) = 0;
48 virtual int32_t Get(const std::string &col, Value &value) = 0;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dquery_utils.cpp19 void QueryUtils::FillQueryIn(const std::string &col, const std::vector<Type> &data, size_t valueType, in FillQueryIn() argument
28 query.In(col, pkList); in FillQueryIn()
36 query.In(col, pkList); in FillQueryIn()
44 query.In(col, pkList); in FillQueryIn()
52 query.In(col, pkList); in FillQueryIn()
64 for (const auto &[col, pkList] : syncPk) { in FillQueryInKeys()
65 switch (dataIndex[col]) { in FillQueryInKeys()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/
H A Dgrid_irregular_filler.cpp115 int32_t col = FitItem(it, size.columns); in FillOne() local
116 while (col == -1) { in FillOne()
119 col = FitItem(it, size.columns); in FillOne()
130 info_->gridMatrix_[row + r][col + c] = -idx; in FillOne()
134 info_->gridMatrix_[row][col] = idx; in FillOne()
137 posX_ = col; in FillOne()
151 for (const auto [col, item] : nextRow->second) { in FindNextItem()
154 posX_ = col; in FindNextItem()
198 const FillParameters& params, int32_t itemIdx, int32_t col, int32_t row, bool isCache) in MeasureItem()
208 crossLen += params.crossLens[i + col]; in MeasureItem()
197 MeasureItem( const FillParameters& params, int32_t itemIdx, int32_t col, int32_t row, bool isCache) MeasureItem() argument
357 SetItemInfo(int32_t idx, int32_t row, int32_t col, GridItemSize size) SetItemInfo() argument
[all...]
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
H A Dgraphic_math.h432 T* operator[](uint8_t col) in operator []() argument
434 return &data_[col * 3]; // 3: size of point in operator []()
707 T* operator[](uint8_t col) in operator []() argument
709 return &data_[col * 4]; // 4: size of point in operator []()
724 Matrix3<T> ConomialMatrix(int16_t row, int16_t col) const;
732 for (int16_t col = 0; col < ORDER_MATRIX_4; col++) { in Matrix4()
733 data_[row * ORDER_MATRIX_4 + col] = (row == col) in Matrix4()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_layout/
H A Dgrid_layout_algorithm.cpp34 const RefPtr<GridLayoutProperty>& layoutProperty, int32_t row, int32_t col, int32_t& rowSpan, int32_t& colSpan, in CreateChildConstraint()
41 rowLen += GetItemSize(row + i, col, true); in CreateChildConstraint()
47 colLen += GetItemSize(row, col + i, false); in CreateChildConstraint()
93 int32_t col = 0; in InitGridCeils() local
95 gridCells_[row][col] = SizeF(width, height); in InitGridCeils()
96 ++col; in InitGridCeils()
102 bool GridLayoutAlgorithm::CheckGridPlaced(int32_t index, int32_t row, int32_t col, int32_t& rowSpan, int32_t& colSpan) in CheckGridPlaced() argument
106 auto colIter = rowIter->second.find(col); in CheckGridPlaced()
112 colSpan = std::min(crossCount_ - col, colSpan); in CheckGridPlaced()
121 if (rowIter->second.find(cSpan + col) ! in CheckGridPlaced()
33 CreateChildConstraint(const SizeF& idealSize, const RefPtr<GridLayoutProperty>& layoutProperty, int32_t row, int32_t col, int32_t& rowSpan, int32_t& colSpan, const RefPtr<LayoutProperty>& childLayoutProperty) const CreateChildConstraint() argument
170 ComputeItemPosition(LayoutWrapper* layoutWrapper, int32_t row, int32_t col, int32_t& rowSpan, int32_t& colSpan, const RefPtr<LayoutWrapper>& childLayoutWrapper) const ComputeItemPosition() argument
214 GetItemSize(int32_t row, int32_t col, bool height) const GetItemSize() argument
[all...]
H A Dgrid_layout_algorithm.h43 bool CheckGridPlaced(int32_t index, int32_t row, int32_t col, int32_t& rowSpan, int32_t& colSpan);
45 OffsetF ComputeItemPosition(LayoutWrapper* layoutWrapper, int32_t row, int32_t col, int32_t& rowSpan,
48 int32_t row, int32_t col, int32_t& rowSpan, int32_t& colSpan,
50 float GetItemSize(int32_t row, int32_t col, bool height) const;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid_row/
H A Dgrid_row_model_ng.cpp23 auto col = Referenced::MakeRefPtr<V2::GridContainerSize>(); in Create() local
27 Create(col, gutter, breakpoints, direction); in Create()
30 void GridRowModelNG::Create(const RefPtr<V2::GridContainerSize>& col, const RefPtr<V2::Gutter>& gutter, in Create() argument
39 ACE_UPDATE_LAYOUT_PROPERTY(GridRowLayoutProperty, Columns, *col); in Create()
85 void GridRowModelNG::SetColumns(FrameNode* frameNode, const RefPtr<V2::GridContainerSize>& col) in SetColumns() argument
87 ACE_UPDATE_NODE_LAYOUT_PROPERTY(GridRowLayoutProperty, Columns, *col, frameNode); in SetColumns()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dcache_result_set.cpp284 int CacheResultSet::GetAsset(int32_t col, ValueObject::Asset &value) in GetAsset() argument
286 if (col < 0 || col >= maxCol_) { in GetAsset()
289 auto name = colNames_[col]; in GetAsset()
297 int CacheResultSet::GetAssets(int32_t col, ValueObject::Assets &value) in GetAssets() argument
299 if (col < 0 || col >= maxCol_) { in GetAssets()
302 auto name = colNames_[col]; in GetAssets()
315 int CacheResultSet::Get(int32_t col, ValueObject &value) in Get() argument
317 if (col < in Get()
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/
H A D3d_dm_target_packing_common.h88 vec4 GetPackColor(in vec4 col) in GetPackColor() argument
90 return col; in GetPackColor()
93 vec4 GetPackBaseColorWithAo(in vec3 col, in float ao) in GetPackBaseColorWithAo() argument
95 return vec4(col.xyz, ao); in GetPackBaseColorWithAo()
143 void GetUnpackBaseColorWithAo(in vec4 col, out vec3 color, out float ao) in GetUnpackBaseColorWithAo() argument
145 color.rgb = col.rgb; in GetUnpackBaseColorWithAo()
146 ao = col.a; in GetUnpackBaseColorWithAo()
/foundation/graphic/graphic_utils_lite/frameworks/
H A Dgraphic_math.cpp195 for (int16_t col = 0; col < ORDER_MATRIX_4; col++) { in IsIdentity()
196 bool flag = (row == col) ? FloatEqual(matrix[row][col], 1) : FloatEqual(matrix[row][col], 0); in IsIdentity()
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Dresult_set.h52 virtual int GetAsset(int32_t col, ValueObject::Asset &value) = 0;
53 virtual int GetAssets(int32_t col, ValueObject::Assets &value) = 0;
58 virtual int Get(int32_t col, ValueObject &value) = 0;
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/
H A Dcolor.h40 float col = srgb; in SRGBToLinearConv() local
42 col *= (1.f / 12.92f); in SRGBToLinearConv()
44 col = Math::pow((col + 0.055f) * (1.f / 1.055f), 2.4f); in SRGBToLinearConv()
46 return col; in SRGBToLinearConv()

Completed in 11 milliseconds

12345