/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_data_compression_test.cpp | 90 * @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 D | zlib_compression.h | 27 int Compress(const std::vector<uint8_t> &srcData, std::vector<uint8_t> &destData) const override;
|
H A D | data_compression.h | 31 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 D | zlib_compression.cpp | 33 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 D | dh_utils_tool.h | 64 std::string Compress(const std::string& data);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/ |
H A D | generic_single_ver_kv_entry.h | 78 static int Compress(const std::vector<SingleVerKvEntry *> &kvEntries, std::vector<uint8_t> &destData,
|
H A D | generic_single_ver_kv_entry.cpp | 370 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 D | zip_n_exporter.h | 59 static napi_value Compress(napi_env env, napi_callback_info info);
|
H A D | zip_n_exporter.cpp | 206 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 D | dh_utils_tool.cpp | 226 std::string Compress(const std::string& data) in Compress() function
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/transport/ |
H A D | dh_transport.cpp | 419 std::string compressedPayLoad = Compress(payload); in Send()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/ |
H A D | single_ver_data_sync.cpp | 330 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 D | distributeddb_single_ver_p2p_query_sync_test.cpp | 623 ASSERT_TRUE(GenericSingleVerKvEntry::Compress(syncData.entries, syncData.compressedEntries, in HWTEST_F()
|