Home
last modified time | relevance | path

Searched refs:PutData (Results 1 – 25 of 50) sorted by relevance

12

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_multi_ver_p2p_sync_test.cpp255 … ASSERT_EQ(g_deviceB->PutData(DistributedDBUnitTest::KEY_1, DistributedDBUnitTest::VALUE_1), E_OK);
256 … ASSERT_EQ(g_deviceB->PutData(DistributedDBUnitTest::KEY_2, DistributedDBUnitTest::VALUE_2), E_OK);
269 … ASSERT_EQ(g_deviceC->PutData(DistributedDBUnitTest::KEY_3, DistributedDBUnitTest::VALUE_3), E_OK);
1235 ASSERT_EQ(g_deviceB->PutData(DistributedDBUnitTest::KEY_1, value1), E_OK);
1242 ASSERT_EQ(g_deviceC->PutData(DistributedDBUnitTest::KEY_2, value2), E_OK);
1284 ASSERT_EQ(g_deviceB->PutData(key1, value1), E_OK);
1293 ASSERT_EQ(g_deviceC->PutData(key2, value2), E_OK);
1339 ASSERT_EQ(g_deviceB->PutData(DistributedDBUnitTest::KEY_1, value2), E_OK);
1364 ASSERT_EQ(g_deviceC->PutData(DistributedDBUnitTest::KEY_4, value5), E_OK);
1432 ASSERT_EQ(g_deviceB->PutData(DistributedDBUnitTest::KEY_1, value2), E_OK);
[all …]
H A Dkv_virtual_device.cpp35 int KvVirtualDevice::PutData(const Key &key, const Value &value, const Timestamp &time, int flag) in PutData() function in DistributedDB::KvVirtualDevice
39 return syncAble->PutData(key, value, time, flag); in PutData()
73 int KvVirtualDevice::PutData(const Key &key, const Value &value) in PutData() function in DistributedDB::KvVirtualDevice
76 return syncInterface->PutData(key, value); in PutData()
H A Ddistributeddb_single_ver_p2p_complex_sync_test.cpp83 g_deviceB->PutData(key, value, 0, 0); in PullSyncTest()
84 g_deviceB->PutData(key2, value, 1, 0); in PullSyncTest()
628 g_deviceB->PutData({'k'}, {'v'}, currentTime, 0);
774 g_deviceB->PutData(key1, value1, 0, 0);
786 g_deviceC->PutData(key2, value2, 0, 0);
790 g_deviceC->PutData(key3, value3, 0, 1);
794 g_deviceC->PutData(key4, value4, 0, 0);
1665 g_deviceB->PutData(key1, value, 1, 0);
1666 g_deviceB->PutData(key2, value, 2, 0);
2048 g_deviceB->PutData(key, value, 1u, 0); // 1 is timestamp
[all …]
H A Ddistributeddb_single_ver_p2p_simple_sync_test.cpp369 g_deviceB->PutData(key, value, 0, 0);
376 g_deviceC->PutData(key2, value2, 0, 0);
435 g_deviceB->PutData(key1, value3,
443 g_deviceC->PutData(key2, value4,
497 g_deviceB->PutData(hashKey1, value1,
505 g_deviceC->PutData(hashKey2, value1,
562 g_deviceB->PutData(key2, value2, 0, 0);
641 g_deviceB->PutData(key1, value3,
648 g_deviceC->PutData(key2, value4,
719 g_deviceB->PutData(hashKey1, value1,
[all …]
H A Drelational_virtual_device.h31 int PutData(const std::string &tableName, const std::vector<VirtualRowData> &dataList);
46 this->PutData(tableName, dataList); in PutDeviceData()
H A Dkv_virtual_device.h30 int PutData(const Key &key, const Value &value, const Timestamp &time, int flag);
31 int PutData(const Key &key, const Value &value);
H A Ddistributeddb_single_ver_p2p_permission_sync_test.cpp248 g_deviceB->PutData(key, value, 0, 0);
255 g_deviceC->PutData(key2, value2, 0, 0);
324 g_deviceB->PutData(key2, value2, 0, 0);
331 g_deviceC->PutData(key3, value3, 0, 0);
469 g_deviceB->PutData(key, value, 0, 0);
476 g_deviceC->PutData(key2, value2, 0, 0);
663 g_deviceB->PutData(key, value, 0, 0);
670 g_deviceC->PutData(key2, value2, 0, 0);
H A Drelational_virtual_device.cpp27 int RelationalVirtualDevice::PutData(const std::string &tableName, const std::vector<VirtualRowData… in PutData() function in DistributedDB::RelationalVirtualDevice
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
H A Dhap_byte_buffer_test.cpp108 testBuffer.PutData(0, &testChar, sizeof(testChar));
130 testBuffer2.PutData(sizeof(char), testUInt16, sizeof(testUInt16));
137 … testBuffer2.PutData(TEST_HAPBYTEBUFFER_LENGTH - sizeof(testInt64), testInt64, sizeof(testInt64));
201 buffer1.PutData(0, testChar, TEST_HAPBYTEBUFFER_LENGTH);
/ohos5.0/foundation/multimedia/av_session/services/session/server/remote/
H A Dremote_session_syncer_impl.cpp79 int32_t RemoteSessionSyncerImpl::PutData(const std::string &key, std::vector<uint8_t> &data) in PutData() function in OHOS::AVSession::RemoteSessionSyncerImpl
100 …CHECK_AND_RETURN_RET_LOG(PutData(METADATA_KEY, dataVector) == AVSESSION_SUCCESS, AVSESSION_ERROR, … in PutAVMetaData()
132 …CHECK_AND_RETURN_RET_LOG(PutData(PLAYBACK_STATE_KEY, dataVector) == AVSESSION_SUCCESS, AVSESSION_E… in PutAVPlaybackState()
166 …CHECK_AND_RETURN_RET_LOG(PutData(CONTROL_COMMAND_KEY, dataVector) == AVSESSION_SUCCESS, AVSESSION_… in PutControlCommand()
203 …CHECK_AND_RETURN_RET_LOG(PutData(COMMON_COMMAND_KEY, dataVector) == AVSESSION_SUCCESS, AVSESSION_E… in PutCommonCommand()
247 CHECK_AND_RETURN_RET_LOG(PutData(SESSION_EVENT_KEY, dataVector) == AVSESSION_SUCCESS, in PutSessionEvent()
295 CHECK_AND_RETURN_RET_LOG(PutData(QUEUE_ITEMS_KEY, dataVector) == AVSESSION_SUCCESS, in PutAVQueueItems()
343 CHECK_AND_RETURN_RET_LOG(PutData(QUEUE_TITLE_KEY, dataVector) == AVSESSION_SUCCESS, in PutAVQueueTitle()
378 CHECK_AND_RETURN_RET_LOG(PutData(EXTRAS_KEY, dataVector) == AVSESSION_SUCCESS, in PutExtras()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/dbadapter/src/
H A Ddb_adapter_test.cpp352 EXPECT_EQ(ERR_DH_FWK_RESOURCE_KV_STORAGE_POINTER_NULL, g_dbAdapterPtr->PutData(key, value));
429 EXPECT_EQ(ERR_DH_FWK_PARA_INVALID, g_dbAdapterPtr->PutData(key, value));
447 EXPECT_EQ(ERR_DH_FWK_PARA_INVALID, g_dbAdapterPtr->PutData(key, value));
463 EXPECT_EQ(ERR_DH_FWK_PARA_INVALID, g_dbAdapterPtr->PutData(key, value));
481 EXPECT_EQ(ERR_DH_FWK_PARA_INVALID, g_dbAdapterPtr->PutData(key, value));
498 EXPECT_EQ(ERR_DH_FWK_RESOURCE_KV_STORAGE_POINTER_NULL, g_dbAdapterPtr->PutData(key, value));
/ohos5.0/base/security/code_signature/utils/src/
H A Dcert_utils.cpp100 if (!buffer.PutData(0, CastToUint8Ptr(&certsCount), sizeof(uint32_t))) { in FormattedCertChain()
105 if (!buffer.PutData(pos, CastToUint8Ptr(&certChain->certs[i].size), sizeof(uint32_t))) { in FormattedCertChain()
109 if (!buffer.PutData(pos, certChain->certs[i].data, certChain->certs[i].size)) { in FormattedCertChain()
/ohos5.0/base/security/code_signature/test/unittest/
H A Dcert_chain_verifier_test.cpp164 if (!buffer.PutData(0, CastToUint8Ptr(&certsCount), sizeof(uint32_t))) { in FormattedCertChain()
170 if (!buffer.PutData(pos, CastToUint8Ptr(&size), sizeof(uint32_t))) { in FormattedCertChain()
174 if (!buffer.PutData(pos, certChain[i].GetBuffer(), certChain[i].GetSize())) { in FormattedCertChain()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/interface/src/
H A Dcollection.cpp132 return executor_->PutData(name_, key, valSet); in UpsertDocument()
152 return executor_->PutData(name_, keyId, valSet); in UpdateDocument()
/ohos5.0/base/security/access_token/frameworks/test/unittest/
H A Daccesstoken_parcel_test.cpp400 static void PutData(Parcel& out, uint32_t deviceSize, uint32_t statusSize, uint32_t flagSize) in PutData() function
427 PutData(out, MAX_DEVICE_ID_SIZE, MAX_DEVICE_ID_SIZE, MAX_DEVICE_ID_SIZE + 1);
432 PutData(out1, MAX_DEVICE_ID_SIZE, MAX_DEVICE_ID_SIZE + 1, MAX_DEVICE_ID_SIZE + 1);
437 PutData(out2, MAX_DEVICE_ID_SIZE + 1, MAX_DEVICE_ID_SIZE + 1, MAX_DEVICE_ID_SIZE + 1);
442 PutData(out3, MAX_DEVICE_ID_SIZE, MAX_DEVICE_ID_SIZE, MAX_DEVICE_ID_SIZE);
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/common/
H A Drandom_access_file.cpp173 buffer.PutData(0, mmapInfo.mapAddr + mmapInfo.readMoreLen, bufCapacity); in ReadFileFullyFromOffset()
238 buffer.PutData(0, buf, bytesRead); in ReadFileFullyFromOffsetV2()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_kvdata_storage.cpp80 static int PutData(IKvDBConnection *kvDBConnection, const Key &key, const Value &value) in PutData() function
205 errCode = PutData(kvDBConnection, key, value); in PutSlice()
392 return PutData(metaStorageConnection_, key, value); in PutMetaData()
514 int SliceTransaction::PutData(const Key &key, const Value &value, bool isAddCount) in PutData() function in DistributedDB::SliceTransaction
H A Dmulti_ver_kvdata_storage.h32 int PutData(const Key &key, const Value &value, bool isAddCount);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/src/
H A Dsqlite_store_executor_impl.cpp89 return PutData("grd_meta", dbConfigKey, dbConfigVal, false); // dont need to add Key type; in SetDBConfig()
107 int SqliteStoreExecutorImpl::PutData(const std::string &collName, Key &key, const Value &value, boo… in PutData() function in DocumentDB::SqliteStoreExecutorImpl
403 return PutData("grd_meta", collOptKey, collOptVal, false); // dont need to add key type; in SetCollectionOption()
H A Dsqlite_store_executor_impl.h40 …int PutData(const std::string &collName, Key &key, const Value &value, bool isNeedAddKeyType = tru…
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/include/
H A Dkv_store_executor.h32 …virtual int PutData(const std::string &collName, Key &key, const Value &value, bool isNeedAddKeyTy…
/ohos5.0/foundation/multimedia/av_session/services/session/adapter/
H A Ddistributed_object_adapter.h36 int32_t PutData(const std::string& key, std::vector<uint8_t>& data);
H A Ddistributed_object_adapter.cpp75 int32_t DistributedObjectAdapter::PutData(const std::string &key, std::vector<uint8_t> &data) in PutData() function in OHOS::AVSession::DistributedObjectAdapter
/ohos5.0/base/security/code_signature/interfaces/innerkits/common/include/
H A Dbyte_buffer.h68 bool PutData(uint32_t pos, const uint8_t *srcData, uint32_t srcSize) in PutData() function
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/include/common/
H A Dhap_byte_buffer.h51 DLL_EXPORT void PutData(int32_t offset, const char data[], int32_t len);

12