/foundation/distributeddatamgr/relational_store/test/ndk/unittest/ |
H A D | rdb_cursor_test.cpp | 183 * @tc.desc: Normal testCase of cursor for GetColumnType. 191 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); in HWTEST_F() local 192 EXPECT_NE(cursor, NULL); in HWTEST_F() 193 cursor->goToNextRow(cursor); in HWTEST_F() 196 errCode = cursor->getColumnType(cursor, 0, &type); in HWTEST_F() 199 errCode = cursor->getColumnType(cursor, 1, &type); in HWTEST_F() 202 errCode = cursor in HWTEST_F() 235 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 275 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 316 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, columnNames, len); HWTEST_F() local 381 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, columnNames, len); HWTEST_F() local 428 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, columnNames, len); HWTEST_F() local 475 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 503 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 565 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 687 OH_Cursor *cursor = OH_Rdb_Query(cursorTestRdbStore_, predicates, NULL, 0); HWTEST_F() local [all...] |
H A D | rdb_predicates_test.cpp | 133 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); in HWTEST_F() local 134 EXPECT_NE(cursor, NULL); in HWTEST_F() 136 errCode = cursor->getRowCount(cursor, &rowCount); in HWTEST_F() 141 cursor->destroy(cursor); in HWTEST_F() 159 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); in HWTEST_F() local 160 EXPECT_NE(cursor, NULL); in HWTEST_F() 162 errCode = cursor->getRowCount(cursor, in HWTEST_F() 184 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 245 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 270 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 295 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 317 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 338 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 367 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 393 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 418 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 451 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 477 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 505 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 529 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 557 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 582 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local 611 OH_Cursor *cursor = OH_Rdb_Query(predicatesTestRdbStore_, predicates, NULL, 0); HWTEST_F() local [all...] |
H A D | rdb_store_test.cpp | 121 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); in SetUp() local 124 cursor->getRowCount(cursor, &rowCount); in SetUp() 126 cursor->destroy(cursor); in SetUp() 179 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates, NULL, 0); in HWTEST_F() local 180 EXPECT_NE(cursor, NULL); in HWTEST_F() 183 cursor->getRowCount(cursor, &rowCount); in HWTEST_F() 186 errCode = cursor in HWTEST_F() 245 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); HWTEST_F() local 305 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); HWTEST_F() local 337 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); HWTEST_F() local 384 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); HWTEST_F() local 424 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); HWTEST_F() local 471 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); HWTEST_F() local 549 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); HWTEST_F() local 589 OH_Cursor *cursor = OH_Rdb_Query(storeTestRdbStore_, predicates2, NULL, 0); HWTEST_F() local 635 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(storeTestRdbStore_, querySql); HWTEST_F() local 797 OH_Cursor *cursor; HWTEST_F() local 841 OH_Cursor *cursor = OH_Rdb_FindModifyTime(nullptr, "rdbstoreimpltest_integer", "data_key", values); HWTEST_F() local 1047 OH_Cursor *cursor = OH_Rdb_QueryLockedRow(storeTestRdbStore_, predicates, NULL, 0); HWTEST_F() local [all...] |
H A D | rdb_store_configv2_test.cpp | 113 OH_Cursor *cursor = OH_Rdb_ExecuteQuery(store, querySql); in VdbTest002() local 114 EXPECT_NE(cursor, nullptr); in VdbTest002() 116 cursor->getRowCount(cursor, &rowCount); in VdbTest002() 118 EXPECT_EQ(OH_Rdb_ErrCode::RDB_OK, cursor->goToNextRow(cursor)); in VdbTest002() 120 cursor->getInt64(cursor, 0, &intVal); in VdbTest002() 122 cursor->destroy(cursor); in VdbTest002() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | cache_cursor_test.cpp | 21 #include "store/cursor.h"
80 auto cursor = CacheCursorTest::GetCursor();
in HWTEST_F() local 81 EXPECT_NE(cursor, nullptr);
in HWTEST_F() 84 auto result = cursor->GetColumnNames(names);
in HWTEST_F() 89 auto err = cursor->GetColumnName(4, colName);
in HWTEST_F() 91 err = cursor->GetColumnName(-1, colName);
in HWTEST_F() 93 err = cursor->GetColumnName(1, colName);
in HWTEST_F() 96 int type = cursor->GetColumnType(0);
in HWTEST_F() 98 type = cursor->GetColumnType(4);
in HWTEST_F() 100 type = cursor in HWTEST_F() 130 auto cursor = CacheCursorTest::GetCursor(); HWTEST_F() local 163 auto cursor = CacheCursorTest::GetCursor(); HWTEST_F() local 213 auto cursor = CacheCursorTest::GetCursor(); HWTEST_F() local [all...] |
H A D | rdb_result_set_impl_test.cpp | 20 #include "store/cursor.h" 43 std::shared_ptr<CursorMock::ResultSet> cursor; member in OHOS::Test::DistributedRDBTest::RdbResultSetImplTest 54 cursor = std::make_shared<CursorMock::ResultSet>(SIZE); in SetUp() 56 (*cursor)[i] = makeEntry(i); in SetUp() 58 auto cursorMock = std::make_shared<CursorMock>(cursor); in SetUp() 185 auto var = (*cursor)[index][Names[i].first]; in HWTEST_F() 263 auto cursorMock = std::make_shared<CursorMock>(cursor); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/ |
H A D | tlv_util.cpp | 29 std::string TLVUtil::ReadString(std::vector<uint8_t>& buff, int32_t& cursor) in ReadString() argument 31 if (ReadUint8(buff, cursor) != TLV_STRING_TAG) { in ReadString() 34 int32_t strLen = ReadInt32(buff, cursor); in ReadString() 40 uint8_t chVal = ReadUint8(buff, cursor); in ReadString() 58 double TLVUtil::ReadDouble(std::vector<uint8_t>& buff, int32_t& cursor) in ReadDouble() argument 60 if (ReadUint8(buff, cursor) != TLV_DOUBLE_TAG) { in ReadDouble() 63 auto start = buff.begin() + cursor; in ReadDouble() 67 cursor += sizeof(double); in ReadDouble() 80 Color TLVUtil::ReadColor(std::vector<uint8_t>& buff, int32_t& cursor) in ReadColor() argument 82 if (ReadUint8(buff, cursor) ! in ReadColor() 99 ReadDimension(std::vector<uint8_t>& buff, int32_t& cursor) ReadDimension() argument 118 ReadFontFamily(std::vector<uint8_t>& buff, int32_t& cursor) ReadFontFamily() argument 144 ReadTextShadow(std::vector<uint8_t>& buff, int32_t& cursor) ReadTextShadow() argument 172 ReadTextShadows(std::vector<uint8_t>& buff, int32_t& cursor) ReadTextShadows() argument 195 ReadFontFeature(std::vector<uint8_t>& buff, int32_t& cursor) ReadFontFeature() argument 220 ReadBorderRadiusProperty(std::vector<uint8_t>& buff, int32_t& cursor) ReadBorderRadiusProperty() argument 259 ReadPixelMap(std::vector<uint8_t>& buff, int32_t& cursor) ReadPixelMap() argument 280 ReadCalcDimension(std::vector<uint8_t>& buff, int32_t& cursor) ReadCalcDimension() argument 297 ReadCalcLength(std::vector<uint8_t>& buff, int32_t& cursor) ReadCalcLength() argument 324 ReadImageSpanSize(std::vector<uint8_t>& buff, int32_t& cursor) ReadImageSpanSize() argument 370 ReadPaddingProperty(std::vector<uint8_t>& buff, int32_t& cursor) ReadPaddingProperty() argument 432 ReadImageSpanAttribute(std::vector<uint8_t>& buff, int32_t& cursor) ReadImageSpanAttribute() argument 485 ReadLeadingMargin(std::vector<uint8_t>& buff, int32_t& cursor) ReadLeadingMargin() argument [all...] |
H A D | tlv_util.h | 147 static type Read##type(std::vector<uint8_t>& buff, int32_t& cursor) \ 149 if (ReadUint8(buff, cursor) != (tag)) { \ 152 auto val = ReadInt32(buff, cursor); \ 163 static uint8_t ReadUint8(std::vector<uint8_t>& buff, int32_t& cursor) in ReadUint8() argument 165 if (static_cast<size_t>(cursor + 1) > buff.size()) { in ReadUint8() 168 return buff[cursor++]; in ReadUint8() 180 static int32_t ReadInt32(std::vector<uint8_t>& buff, int32_t& cursor) in ReadInt32() argument 186 if (static_cast<size_t>(cursor + 1) > buff.size()) { in ReadInt32() 189 item = int32_t(buff[cursor++]); in ReadInt32() 212 static std::string ReadString(std::vector<uint8_t>& buff, int32_t& cursor); [all...] |
/foundation/distributeddatamgr/relational_store/interfaces/ndk/include/ |
H A D | oh_cursor.h | 103 * @param cursor Represents a pointer to an {@link OH_Cursor} instance. 109 int (*getColumnCount)(OH_Cursor *cursor, int *count); 114 * @param cursor Represents a pointer to an {@link OH_Cursor} instance. 121 int (*getColumnType)(OH_Cursor *cursor, int32_t columnIndex, OH_ColumnType *columnType); 126 * @param cursor Represents a pointer to an {@link OH_Cursor} instance. 134 int (*getColumnIndex)(OH_Cursor *cursor, const char *name, int *columnIndex); 139 * @param cursor Represents a pointer to an {@link OH_Cursor} instance. 148 int (*getColumnName)(OH_Cursor *cursor, int32_t columnIndex, char *name, int length); 153 * @param cursor Represents a pointer to an {@link OH_Cursor} instance. 160 int (*getRowCount)(OH_Cursor *cursor, in [all...] |
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/ |
H A D | relational_cursor.h | 52 static int GetColumnCount(OH_Cursor *cursor, int *count); 53 static int GetColumnType(OH_Cursor *cursor, int32_t columnIndex, OH_ColumnType *columnType); 54 static int GetColumnIndex(OH_Cursor *cursor, const char *name, int *columnIndex); 55 static int GetColumnName(OH_Cursor *cursor, int32_t columnIndex, char *name, int length); 56 static int GetRowCount(OH_Cursor *cursor, int *count); 57 static int GoToNextRow(OH_Cursor *cursor); 58 static int GetSize(OH_Cursor *cursor, int32_t columnIndex, size_t *size); 59 static int GetText(OH_Cursor *cursor, int32_t columnIndex, char *value, int length); 60 static int GetInt64(OH_Cursor *cursor, int32_t columnIndex, int64_t *value); 61 static int GetReal(OH_Cursor *cursor, int32_ [all...] |
H A D | relational_cursor.cpp | 30 int RelationalCursor::GetColumnCount(OH_Cursor *cursor, int *count) in GetColumnCount() argument 32 auto self = GetSelf(cursor); in GetColumnCount() 39 int RelationalCursor::GetColumnType(OH_Cursor *cursor, int32_t columnIndex, OH_ColumnType *columnType) in GetColumnType() argument 41 auto self = GetSelf(cursor); in GetColumnType() 48 int RelationalCursor::GetColumnIndex(OH_Cursor *cursor, const char *name, int *columnIndex) in GetColumnIndex() argument 50 auto self = GetSelf(cursor); in GetColumnIndex() 57 int RelationalCursor::GetColumnName(OH_Cursor *cursor, int32_t columnIndex, char *name, int length) in GetColumnName() argument 59 auto self = GetSelf(cursor); in GetColumnName() 66 int RelationalCursor::GetRowCount(OH_Cursor *cursor, int *count) in GetRowCount() argument 68 auto self = GetSelf(cursor); in GetRowCount() 75 GoToNextRow(OH_Cursor *cursor) GoToNextRow() argument 84 GetSize(OH_Cursor *cursor, int32_t columnIndex, size_t *size) GetSize() argument 93 GetText(OH_Cursor *cursor, int32_t columnIndex, char *value, int length) GetText() argument 102 GetInt64(OH_Cursor *cursor, int32_t columnIndex, int64_t *value) GetInt64() argument 111 GetReal(OH_Cursor *cursor, int32_t columnIndex, double *value) GetReal() argument 120 GetBlob(OH_Cursor *cursor, int32_t columnIndex, unsigned char *value, int length) GetBlob() argument 129 GetAsset(OH_Cursor *cursor, int32_t columnIndex, Data_Asset *value) GetAsset() argument 138 GetAssets(OH_Cursor *cursor, int32_t columnIndex, Data_Asset **value, uint32_t *length) GetAssets() argument 147 IsNull(OH_Cursor *cursor, int32_t columnIndex, bool *isNull) IsNull() argument 157 GetAssetsCount(OH_Cursor *cursor, int32_t columnIndex, uint32_t *count) GetAssetsCount() argument 166 Destroy(OH_Cursor *cursor) Destroy() argument 203 GetSelf(OH_Cursor *cursor) GetSelf() argument [all...] |
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/src/ |
H A D | rtsp_sdp.cpp | 186 uint32_t cursor = 0; in GetVideoSize() local 193 GetU(1, buf, cursor); in GetVideoSize() 195 GetU(2, buf, cursor); // 2:fixed size in GetVideoSize() 196 int32_t nalUnitType = GetU(5, buf, cursor); // 5:fixed size in GetVideoSize() 201 int32_t profileIdc = GetU(8, buf, cursor); // 8:fixed size in GetVideoSize() 203 GetU(1, buf, cursor); in GetVideoSize() 205 GetU(1, buf, cursor); in GetVideoSize() 207 GetU(1, buf, cursor); in GetVideoSize() 209 GetU(1, buf, cursor); in GetVideoSize() 211 GetU(1, buf, cursor); in GetVideoSize() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_children_main_size.h | 69 int32_t cursor = 0; in ChangeData() local 73 for (; cursor < replaceCount; cursor++) { in ChangeData() 74 childrenSize_[start + cursor] = newChildrenSize[cursor]; in ChangeData() 77 auto deleteStartPos = childrenSize_.begin() + start + cursor; in ChangeData() 85 auto insertStartPos = childrenSize_.begin() + start + cursor; in ChangeData() 86 childrenSize_.insert(insertStartPos, newChildrenSize.begin() + cursor, newChildrenSize.end()); in ChangeData()
|
/foundation/communication/ipc/ipc/native/test/fuzztest/core/bufferobject_fuzzer/ |
H A D | bufferobject_fuzzer.cpp | 92 ssize_t cursor = *(reinterpret_cast<const ssize_t*>(data)); in SetReceiveBufferWriteCursorTest() local 94 object.SetReceiveBufferWriteCursor(cursor); in SetReceiveBufferWriteCursorTest() 117 ssize_t cursor = *(reinterpret_cast<const ssize_t*>(data)); in SetReceiveBufferReadCursorTest() local 118 object.SetReceiveBufferReadCursor(cursor); in SetReceiveBufferReadCursorTest() 141 ssize_t cursor = *(reinterpret_cast<const ssize_t*>(data)); in SetSendBufferWriteCursorTest() local 142 object.SetSendBufferWriteCursor(cursor); in SetSendBufferWriteCursorTest() 165 ssize_t cursor = *(reinterpret_cast<const ssize_t*>(data)); in SetSendBufferReadCursorTest() local 166 object.SetSendBufferReadCursor(cursor); in SetSendBufferReadCursorTest()
|
/foundation/ability/ability_runtime/cj_environment/frameworks/cj_environment/src/ |
H A D | dynamic_loader_ohos.cpp | 109 int32_t cursor = 0; in InitSharedLibsSonames() local 111 if (sprintf_s(g_sharedLibsSonames + cursor, sharedLibsSonamesLength - cursor, "%s:", allowList[i]) == -1) { in InitSharedLibsSonames() 116 cursor += strlen(allowList[i]) + 1; in InitSharedLibsSonames() 118 g_sharedLibsSonames[cursor] = '\0'; in InitSharedLibsSonames()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | result_entries_window.cpp | 157 int cursor = begin; in LoadData() local 159 for (; cursor < target; cursor++) { in LoadData() 167 for (; cursor < totalCount_ && bufferSize < windowSize_; cursor++) { in LoadData()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_cloud.cpp | 78 std::shared_ptr<Cursor> cursor = nullptr; in Query() local 82 cursor = cloudDB_->Query(query, ValueProxy::Convert(std::move(extend))); in Query() 84 cursor = cloudDB_->Query(tableName, ValueProxy::Convert(std::move(extend))); in Query() 86 if (cursor == nullptr) { in Query() 87 ZLOGE("cursor is null, table:%{public}s, extend:%{public}zu", in Query() 91 int32_t count = cursor->GetCount(); in Query() 93 auto err = cursor->MoveToFirst(); in Query() 96 err = cursor->GetEntry(entry); in Query() 101 err = cursor->MoveToNext(); in Query() 105 cursor in Query() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | span_string_test_ng.cpp | 1509 int32_t cursor = 0; in HWTEST_F() local 1510 std::vector<std::string> readFontFamily = TLVUtil::ReadFontFamily(buffer, cursor); in HWTEST_F() 1514 cursor = 0; in HWTEST_F() 1515 readFontFamily = TLVUtil::ReadFontFamily(buffer, cursor); in HWTEST_F() 1537 int32_t cursor = 0; in HWTEST_F() local 1538 Shadow readShadow = TLVUtil::ReadTextShadow(buffer, cursor); in HWTEST_F() 1541 Shadow errShadow = TLVUtil::ReadTextShadow(buffer, cursor); in HWTEST_F() 1551 cursor = 0; in HWTEST_F() 1552 std::vector<Shadow> readShadows = TLVUtil::ReadTextShadows(buffer, cursor); in HWTEST_F() 1555 cursor in HWTEST_F() 1573 int32_t cursor = 0; HWTEST_F() local 1599 int32_t cursor = 0; HWTEST_F() local 1621 int32_t cursor = 0; HWTEST_F() local 1644 int32_t cursor = 0; HWTEST_F() local 1666 int32_t cursor = 0; HWTEST_F() local 1689 int32_t cursor = 0; HWTEST_F() local 1718 int32_t cursor = 0; HWTEST_F() local 1759 int32_t cursor = 0; HWTEST_F() local 1783 int32_t cursor = 0; HWTEST_F() local [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/ |
H A D | cloud_db_impl.cpp | 124 std::string cursor; in Query() local 127 cursor = std::get<std::string>(it->second); in Query() 132 .cursor = reinterpret_cast<const unsigned char *>(cursor.c_str()), in Query() 133 .cursorLen = cursor.size() in Query()
|
H A D | cloud_cursor_impl.cpp | 60 unsigned char *cursor = nullptr; in CloudCursorImpl() local 63 cloudData_, &cursor, reinterpret_cast<unsigned int *>(&cursorLen)); in CloudCursorImpl() 64 if (status == ERRNO_SUCCESS && cursor != nullptr) { in CloudCursorImpl() 65 cursor_ = std::string(reinterpret_cast<char *>(cursor), cursorLen); in CloudCursorImpl()
|
/foundation/distributeddatamgr/relational_store/rdbmock/frameworks/native/rdb/ |
H A D | mock.cpp | 104 uint64_t cursor) in DropLogicDeletedData() 108 (void)cursor; in DropLogicDeletedData() 103 DropLogicDeletedData(sqlite3 *db, const std::string &tableName, uint64_t cursor) DropLogicDeletedData() argument
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | span_node.cpp | 625 sameSpan->group->func(TLVUtil::Read##type(buff, cursor)); \ 683 RefPtr<SpanItem> SpanItem::DecodeTlv(std::vector<uint8_t>& buff, int32_t& cursor) in DecodeTlv() argument 686 if (TLVUtil::ReadUint8(buff, cursor) != TLV_SPANITEM_TAG) { in DecodeTlv() 690 int32_t start = TLVUtil::ReadInt32(buff, cursor); in DecodeTlv() 691 int32_t end = TLVUtil::ReadInt32(buff, cursor); in DecodeTlv() 693 sameSpan->content = TLVUtil::ReadString(buff, cursor); in DecodeTlv() 695 for (uint8_t tag = TLVUtil::ReadUint8(buff, cursor); in DecodeTlv() 696 tag != TLV_SPANITEM_END_TAG; tag = TLVUtil::ReadUint8(buff, cursor)) { in DecodeTlv() 734 sameSpan->backgroundStyle->backgroundColor = TLVUtil::ReadColor(buff, cursor); in DecodeTlv() 738 sameSpan->backgroundStyle->backgroundRadius = TLVUtil::ReadBorderRadiusProperty(buff, cursor); in DecodeTlv() 814 DecodeTlv(std::vector<uint8_t>& buff, int32_t& cursor) DecodeTlv() argument [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/ |
H A D | object_asset_machine.cpp | 204 auto [errCode, cursor] = store->Query(assetBindInfo.tableName, sql, std::move(args)); in GetMigratedData() 205 if (errCode != E_OK || cursor == nullptr) { in GetMigratedData() 208 int32_t count = cursor->GetCount(); in GetMigratedData() 213 auto err = cursor->MoveToFirst(); in GetMigratedData() 216 err = cursor->GetRow(entry); in GetMigratedData() 222 err = cursor->MoveToNext(); in GetMigratedData()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | virtual_cloud_db.cpp | 287 std::string cursor = std::get<std::string>(extend[g_cursorField]); in Query() local 288 bool isIncreCursor = (cursor.substr(0, increPrefix_.size()) == increPrefix_); in Query() 289 LOGD("extend size: %zu type: %zu expect: %zu, cursor: %s", extend.size(), extend[g_cursorField].index(), in Query() 290 TYPE_INDEX<std::string>, cursor.c_str()); in Query() 292 GetCloudData(cursor, isIncreCursor, incrementCloudData_[tableName], data, extend); in Query() 294 cursor = cursor.empty() ? "0" : cursor; in Query() 295 GetCloudData(cursor, isIncreCursor, cloudData_[tableName], data, extend); in Query() 307 void VirtualCloudDb::GetCloudData(const std::string &cursor, boo argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | window.h | 170 void SetCursor(MouseFormat cursor) in SetCursor() argument 172 cursor_ = cursor; in SetCursor()
|