Home
last modified time | relevance | path

Searched refs:Compress (Results 1 - 13 of 13) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_data_compression_test.cpp90 * @tc.expected: step1. Compress successfully. Compressed data length is less than srcLen. in HWTEST_F()
97 EXPECT_EQ(DataCompression::GetInstance(CompressAlgorithm::ZLIB)->Compress(srcData, compressedData), E_OK); in HWTEST_F()
122 * @tc.expected: step1. Compress successfully. Compressed data length is less than srcLen. in HWTEST_F()
129 EXPECT_EQ(DataCompression::GetInstance(CompressAlgorithm::ZLIB)->Compress(srcData, compressedData), E_OK); in HWTEST_F()
159 * @tc.expected: step1. Compress successfully. Compressed data length is less than srcLen. in HWTEST_F()
165 EXPECT_EQ(DataCompression::GetInstance(CompressAlgorithm::ZLIB)->Compress(srcData, compressedData), E_OK); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dzlib_compression.h27 int Compress(const std::vector<uint8_t> &srcData, std::vector<uint8_t> &destData) const override;
H A Ddata_compression.h31 virtual int Compress(const std::vector<uint8_t> &srcData, std::vector<uint8_t> &destData) const = 0;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dzlib_compression.cpp33 int ZlibCompression::Compress(const std::vector<uint8_t> &srcData, std::vector<uint8_t> &destData) const in Compress() function in DistributedDB::ZlibCompression
45 // Compress. in Compress()
48 LOGE("Compress parcel failed, errCode = %d", errCode); in Compress()
/foundation/distributedhardware/distributed_hardware_fwk/utils/include/
H A Ddh_utils_tool.h64 std::string Compress(const std::string& data);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/
H A Dgeneric_single_ver_kv_entry.h78 static int Compress(const std::vector<SingleVerKvEntry *> &kvEntries, std::vector<uint8_t> &destData,
H A Dgeneric_single_ver_kv_entry.cpp370 int GenericSingleVerKvEntry::Compress(const std::vector<SingleVerKvEntry *> &kvEntries, std::vector<uint8_t> &destData, in Compress() function in DistributedDB::GenericSingleVerKvEntry
388 // Compress data. in Compress()
393 return inst->Compress(srcData, destData); in Compress()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/class_zip/
H A Dzip_n_exporter.h59 static napi_value Compress(napi_env env, napi_callback_info info);
H A Dzip_n_exporter.cpp206 NapiValue::DeclareNapiFunction("compress", Compress), in Export()
1274 napi_value ZipNExporter::Compress(napi_env env, napi_callback_info info) in Compress() function in OHOS::AppExecFwk::LIBZIP::ZipNExporter
/foundation/distributedhardware/distributed_hardware_fwk/utils/src/
H A Ddh_utils_tool.cpp226 std::string Compress(const std::string& data) in Compress() function
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/transport/
H A Ddh_transport.cpp419 std::string compressedPayLoad = Compress(payload); in Send()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/
H A Dsingle_ver_data_sync.cpp330 int compressCode = GenericSingleVerKvEntry::Compress(syncOutData.entries, syncOutData.compressedEntries, in GetMatchData()
1677 int compressCode = GenericSingleVerKvEntry::Compress(syncData.entries, syncData.compressedEntries, in GetReSendData()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_single_ver_p2p_query_sync_test.cpp623 ASSERT_TRUE(GenericSingleVerKvEntry::Compress(syncData.entries, syncData.compressedEntries, in HWTEST_F()

Completed in 17 milliseconds