Searched refs:fragLength (Results 1 - 4 of 4) sorted by relevance
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/ |
H A D | packet.c | 446 uint32_t PacketFragment(Packet *uplayer, const Packet *downlayer, uint32_t fragLength) in PacketFragment() argument 450 if (fragLength == 0) { in PacketFragment() 456 while (first != NULL && fragLength > 0) { in PacketFragment() 458 if (fragLength >= buffSize) { in PacketFragment() 462 fragLength -= buffSize; in PacketFragment() 473 dFirst->next->buf = BufferSliceMalloc(first->buf, 0, fragLength); in PacketFragment() 475 first->buf = BufferResize(first->buf, fragLength, buffSize - fragLength); in PacketFragment() 476 fragLength = 0; in PacketFragment()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/ |
H A D | frame_combiner.cpp | 137 uint32_t fragLength = oriWork.status.GetThisFragmentLength(inPacketInfo.GetFragNo()); in ContinueExistCombineWork() local 138 int errCode = ProtocolProto::CombinePacketIntoFrame(oriWork.buffer, bytes, length, fragOffset, fragLength); in ContinueExistCombineWork() 179 uint32_t fragLength = work.status.GetThisFragmentLength(inPacketInfo.GetFragNo()); in CreateNewCombineWork() local 180 errCode = ProtocolProto::CombinePacketIntoFrame(work.buffer, bytes, length, fragOffset, fragLength); in CreateNewCombineWork()
|
H A D | protocol_proto.h | 76 // inFrame is the destination, pktBytes and pktLength are the source, fragOffset and fragLength give the boundary 78 uint32_t fragOffset, uint32_t fragLength);
|
H A D | protocol_proto.cpp | 359 uint32_t fragOffset, uint32_t fragLength) in CombinePacketIntoFrame() 361 // inFrame is the destination, pktBytes and pktLength are the source, fragOffset and fragLength give the boundary in CombinePacketIntoFrame() 363 if (sizeof(CommPhyHeader) + sizeof(CommPhyOptHeader) + fragLength > pktLength) { in CombinePacketIntoFrame() 368 if (sizeof(CommPhyHeader) + fragOffset + fragLength > frameByteLen.second) { in CombinePacketIntoFrame() 375 errno_t errCode = memcpy_s(dstByteHead, dstLeftLen, srcByteHead, fragLength); in CombinePacketIntoFrame() 358 CombinePacketIntoFrame(SerialBuffer *inFrame, const uint8_t *pktBytes, uint32_t pktLength, uint32_t fragOffset, uint32_t fragLength) CombinePacketIntoFrame() argument
|
Completed in 4 milliseconds