Home
last modified time | relevance | path

Searched refs:tailSize (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Daudio_ring_cache.cpp208 size_t tailSize = tempWriteIndex - (baseIndex_ + cacheTotalSize_); in Enqueue() local
212 … memcpy_s(tailPtr, tailSize, static_cast<void *>(buffer.dataPtr + headSize), tailSize) == EOK) { in Enqueue()
250 size_t tailSize = tempReadIndex - (baseIndex_ + cacheTotalSize_); in HandleCrossDequeue() local
254 … memcpy_s(static_cast<void *>(buffer.dataPtr + headSize), tailSize, tailPtr, tailSize) != EOK) { in HandleCrossDequeue()
263 if (memset_s(tailPtr, tailSize, 0, tailSize) != EOK) { in HandleCrossDequeue()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dpacket.h50 BTSTACK_API Packet *PacketMalloc(uint16_t headSize, uint16_t tailSize, uint32_t payloadSize);
74 BTSTACK_API Packet *PacketInheritMalloc(const Packet *pkt, uint16_t headSize, uint16_t tailSize);
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/
H A Dpacket.c68 Packet *PacketMalloc(uint16_t headSize, uint16_t tailSize, uint32_t payloadSize) in PacketMalloc() argument
75 packet->tail = PayloadNew(tailSize); in PacketMalloc()
120 Packet *PacketInheritMalloc(const Packet *pkt, uint16_t headSize, uint16_t tailSize) in PacketInheritMalloc() argument
132 inheritPacket->tail = PayloadNew(tailSize); in PacketInheritMalloc()