Home
last modified time | relevance | path

Searched refs:externalBytes_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/
H A Dserial_buffer.cpp31 externalBytes_ = nullptr; in ~SerialBuffer()
70 if (bytes_ != nullptr || externalBytes_ != nullptr) { in AllocBufferByTotalLength()
92 if (bytes_ != nullptr || externalBytes_ != nullptr) { in SetExternalBuff()
104 externalBytes_ = buff; in SetExternalBuff()
140 twinBuffer->externalBytes_ = externalBytes_; in Clone()
156 if (externalBytes_ == nullptr) { in ConvertForCrossThread()
172 externalBytes_ = nullptr; in ConvertForCrossThread()
181 if (bytes_ == nullptr && externalBytes_ == nullptr) { in GetSize()
232 return std::make_pair(externalBytes_, totalLen_); in GetReadOnlyBytesForEntireBuffer()
243 return std::make_pair(externalBytes_, totalLen_ - paddingLen_); in GetReadOnlyBytesForEntireFrame()
[all …]
H A Dserial_buffer.h68 const uint8_t *externalBytes_ = nullptr; variable