Searched refs:cellUnit (Results 1 - 6 of 6) sorted by relevance
/foundation/distributeddatamgr/data_share/frameworks/native/common/src/ |
H A D | datashare_result_set.cpp | 130 AppDataFwk::SharedBlock::CellUnit *cellUnit =
in GetDataType() local 132 if (!cellUnit) {
in GetDataType() 135 dataType = (DataType)cellUnit->type;
in GetDataType() 192 AppDataFwk::SharedBlock::CellUnit *cellUnit = block->GetCellUnit(rowPos_ - startRowPos_, columnIndex);
in GetBlob() local 193 if (!cellUnit) {
in GetBlob() 198 int type = cellUnit->type;
in GetBlob() 202 const auto *blob = static_cast<const uint8_t *>(block->GetCellUnitValueBlob(cellUnit, &size));
in GetBlob() 229 AppDataFwk::SharedBlock::CellUnit *cellUnit = block->GetCellUnit(rowPos_ - startRowPos_, columnIndex);
in GetString() local 230 if (!cellUnit) {
in GetString() 233 int type = cellUnit in GetString() 266 AppDataFwk::SharedBlock::CellUnit *cellUnit = block->GetCellUnit(rowPos_ - startRowPos_, columnIndex); GetInt() local 281 AppDataFwk::SharedBlock::CellUnit *cellUnit = block->GetCellUnit(rowPos_ - startRowPos_, columnIndex); GetLong() local 322 AppDataFwk::SharedBlock::CellUnit *cellUnit = block->GetCellUnit(rowPos_ - startRowPos_, columnIndex); GetDouble() local 362 AppDataFwk::SharedBlock::CellUnit *cellUnit = block->GetCellUnit(rowPos_ - startRowPos_, columnIndex); IsColumnNull() local [all...] |
H A D | shared_block.cpp | 337 CellUnit *cellUnit = static_cast<CellUnit *>(OffsetToPtr(*rowOffset));
in GetCellUnit() local 338 if (!cellUnit) {
in GetCellUnit() 339 LOG_ERROR("Failed to find cellUnit for rowOffset %{public}" PRIu32 ".", *rowOffset);
in GetCellUnit() 343 return &cellUnit[column];
in GetCellUnit() 362 CellUnit *cellUnit = GetCellUnit(row, column);
in PutBlobOrString() local 363 if (!cellUnit) {
in PutBlobOrString() 384 cellUnit->type = type;
in PutBlobOrString() 385 cellUnit->cell.stringOrBlobValue.offset = offset;
in PutBlobOrString() 386 cellUnit->cell.stringOrBlobValue.size = size;
in PutBlobOrString() 396 CellUnit *cellUnit in PutLong() local 412 CellUnit *cellUnit = GetCellUnit(row, column); PutDouble() local 428 CellUnit *cellUnit = GetCellUnit(row, column); PutNull() local [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | abs_shared_result_set.cpp | 85 SharedBlock::CellUnit* cellUnit = block->GetCellUnit(block->GetBlockPos(), (uint32_t)columnIndex);
in GetColumnType() local 86 if (!cellUnit) {
in GetColumnType() 87 LOG_ERROR("AbsSharedResultSet::GetColumnType cellUnit is null!");
in GetColumnType() 90 columnType = (ColumnType)cellUnit->type;
in GetColumnType() 151 auto *cellUnit = block->GetCellUnit(block->GetBlockPos(), col);
in Get() local 152 if (cellUnit == nullptr) {
in Get() 153 LOG_ERROR("cellUnit is null, col is %{public}d!", col);
in Get() 156 switch (cellUnit->type) {
in Get() 160 value = cellUnit->cell.longValue;
in Get() 163 value = cellUnit in Get() 186 auto *cellUnit = block->GetCellUnit(GetBlock()->GetBlockPos(), columnIndex); GetSize() local 256 auto *cellUnit = block->GetCellUnit(block->GetBlockPos(), index); GetCustomerValue() local [all...] |
/foundation/distributeddatamgr/data_share/frameworks/native/common/include/ |
H A D | shared_block.h | 141 const char *GetCellUnitValueString(CellUnit *cellUnit, size_t *outSizeIncludingNull)
in GetCellUnitValueString() argument 143 *outSizeIncludingNull = cellUnit->cell.stringOrBlobValue.size;
in GetCellUnitValueString() 145 OffsetToPtr(cellUnit->cell.stringOrBlobValue.offset, cellUnit->cell.stringOrBlobValue.size));
in GetCellUnitValueString() 151 const void *GetCellUnitValueBlob(CellUnit *cellUnit, size_t *outSize)
in GetCellUnitValueBlob() argument 153 *outSize = cellUnit->cell.stringOrBlobValue.size;
in GetCellUnitValueBlob() 154 return OffsetToPtr(cellUnit->cell.stringOrBlobValue.offset, cellUnit->cell.stringOrBlobValue.size);
in GetCellUnitValueBlob()
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/appdatafwk/include/ |
H A D | shared_block.h | 193 API_EXPORT const char *GetCellUnitValueString(CellUnit *cellUnit, size_t *outSizeIncludingNull)
in GetCellUnitValueString() argument 195 *outSizeIncludingNull = cellUnit->cell.stringOrBlobValue.size;
in GetCellUnitValueString() 197 OffsetToPtr(cellUnit->cell.stringOrBlobValue.offset, cellUnit->cell.stringOrBlobValue.size));
in GetCellUnitValueString() 203 API_EXPORT const void *GetCellUnitValueBlob(CellUnit *cellUnit, size_t *outSize)
in GetCellUnitValueBlob() argument 205 *outSize = cellUnit->cell.stringOrBlobValue.size;
in GetCellUnitValueBlob() 206 return OffsetToPtr(cellUnit->cell.stringOrBlobValue.offset, cellUnit->cell.stringOrBlobValue.size);
in GetCellUnitValueBlob()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/appdatafwk/src/ |
H A D | shared_block.cpp | 315 CellUnit *cellUnit = reinterpret_cast<CellUnit *>(mData + group->rowOffsets[rowPos]) + column;
in PutBlobOrString() local 330 cellUnit->type = type;
in PutBlobOrString() 331 cellUnit->cell.stringOrBlobValue.offset = offset;
in PutBlobOrString() 332 cellUnit->cell.stringOrBlobValue.size = size;
in PutBlobOrString() 348 CellUnit *cellUnit = reinterpret_cast<CellUnit *>(mData + group->rowOffsets[rowPos]) + column;
in PutLong() local 349 cellUnit->type = CELL_UNIT_TYPE_INTEGER;
in PutLong() 350 cellUnit->cell.longValue = value;
in PutLong() 366 CellUnit *cellUnit = reinterpret_cast<CellUnit *>(mData + group->rowOffsets[rowPos]) + column;
in PutDouble() local 367 cellUnit->type = CELL_UNIT_TYPE_FLOAT;
in PutDouble() 368 cellUnit in PutDouble() 384 CellUnit *cellUnit = reinterpret_cast<CellUnit *>(mData + group->rowOffsets[rowPos]) + column; PutNull() local [all...] |
Completed in 4 milliseconds