Home
last modified time | relevance | path

Searched refs:compressedLength (Results 1 - 4 of 4) sorted by relevance

/base/security/access_token/services/tokensyncmanager/test/mock/src/
H A Dsoft_bus_socket_mock.cpp81 void CompressMock(const std::string &json, const unsigned char *compressedBytes, int &compressedLength) in CompressMock() argument
85 if (compressedLength > 0 && (int) len > compressedLength) { in CompressMock()
88 compressedLength); in CompressMock()
98 ACCESSTOKEN_LOG_DEBUG(LABEL, "compress complete. compress %{public}d bytes to %{public}d", compressedLength, in CompressMock()
100 compressedLength = len; in CompressMock()
/base/security/access_token/services/tokensyncmanager/src/remote/
H A Dsoft_bus_channel.cpp272 int SoftBusChannel::Compress(const std::string &json, const unsigned char *compressedBytes, int &compressedLength) in Compress() argument
276 if (compressedLength > 0 && static_cast<int32_t>(len) > compressedLength) { in Compress()
279 static_cast<int32_t>(len), compressedLength); in Compress()
289 ACCESSTOKEN_LOG_DEBUG(LABEL, "Compress complete. compress %{public}d bytes to %{public}d", compressedLength, in Compress()
291 compressedLength = static_cast<int32_t>(len); in Compress()
/base/security/access_token/services/tokensyncmanager/test/mock/include/
H A Dsocket.h479 void CompressMock(const std::string &json, const unsigned char *compressedBytes, int &compressedLength);
/base/security/access_token/services/tokensyncmanager/include/remote/
H A Dsoft_bus_channel.h120 * @param compressedLength compressed data length
125 int Compress(const std::string &json, const unsigned char *compressedBytes, int &compressedLength);

Completed in 3 milliseconds