Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 668) sorted by relevance

12345678910>>...27

/foundation/graphic/graphic_2d/frameworks/surface/src/
Dnative_buffer.cpp26 static OH_NativeBuffer* OH_NativeBufferFromSurfaceBuffer(SurfaceBuffer* buffer) in OH_NativeBufferFromSurfaceBuffer()
31 static SurfaceBuffer* OH_NativeBufferToSurfaceBuffer(OH_NativeBuffer *buffer) in OH_NativeBufferToSurfaceBuffer()
36 static const SurfaceBuffer* OH_NativeBufferToSurfaceBuffer(const OH_NativeBuffer *buffer) in OH_NativeBufferToSurfaceBuffer()
63 OH_NativeBuffer* buffer = OH_NativeBufferFromSurfaceBuffer(bufferImpl); in OH_NativeBuffer_Alloc() local
72 int32_t OH_NativeBuffer_Reference(OH_NativeBuffer *buffer) in OH_NativeBuffer_Reference()
83 int32_t OH_NativeBuffer_Unreference(OH_NativeBuffer *buffer) in OH_NativeBuffer_Unreference()
94 void OH_NativeBuffer_GetConfig(OH_NativeBuffer *buffer, OH_NativeBuffer_Config* config) in OH_NativeBuffer_GetConfig()
107 int32_t OH_NativeBuffer_Map(OH_NativeBuffer *buffer, void **virAddr) in OH_NativeBuffer_Map()
121 int32_t OH_NativeBuffer_Unmap(OH_NativeBuffer *buffer) in OH_NativeBuffer_Unmap()
131 uint32_t OH_NativeBuffer_GetSeqNum(OH_NativeBuffer *buffer) in OH_NativeBuffer_GetSeqNum()
[all …]
Dbuffer_manager.cpp34 #define CHECK_BUFFER(buffer) \ argument
91 GSError BufferManager::Alloc(const BufferRequestConfig &config, sptr<SurfaceBuffer> &buffer) in Alloc()
116 GSError BufferManager::Map(sptr<SurfaceBuffer> &buffer) in Map()
133 GSError BufferManager::Unmap(sptr<SurfaceBuffer> &buffer) in Unmap()
174 GSError BufferManager::FlushCache(sptr<SurfaceBuffer> &buffer) in FlushCache()
192 GSError BufferManager::InvalidateCache(sptr<SurfaceBuffer> &buffer) in InvalidateCache()
210 GSError BufferManager::Free(sptr<SurfaceBuffer> &buffer) in Free()
/foundation/distributeddatamgr/pasteboard/framework/tlv/
Dtlv_object.cpp19 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, bool value) in Write()
23 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int8_t value) in Write()
27 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int16_t value) in Write()
31 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int32_t value) in Write()
35 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int64_t value) in Write()
39 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, uint32_t value) in Write()
43 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, const std::string &value) in Write()
62 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, const RawMem &value) in Write()
82 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, in Write()
100 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, TLVObject &value) in Write()
[all …]
/foundation/communication/bluetooth/services/bluetooth/stack/src/smp/
Dsmp_receive.c90 Buffer *buffer = NULL; in SMP_RecvDataTask() local
141 static void SMP_RecvDataCmdDistribution(uint16_t handle, uint8_t code, const Buffer *buffer) in SMP_RecvDataCmdDistribution()
188 static void SMP_ReceivePairingRequest(uint16_t handle, const Buffer *buffer) in SMP_ReceivePairingRequest()
256 static void SMP_ReceivePairingResponse(uint16_t handle, const Buffer *buffer) in SMP_ReceivePairingResponse()
321 static void SMP_ReceivePairingConfirm(uint16_t handle, const Buffer *buffer) in SMP_ReceivePairingConfirm()
372 static void SMP_ReceivePairingRandom(uint16_t handle, const Buffer *buffer) in SMP_ReceivePairingRandom()
423 static void SMP_ReceiveEncryptionInformation(uint16_t handle, const Buffer *buffer) in SMP_ReceiveEncryptionInformation()
443 static void SMP_ReceiveMasterIdentification(uint16_t handle, const Buffer *buffer) in SMP_ReceiveMasterIdentification()
463 static void SMP_ReceiveIdentityInformation(uint16_t handle, const Buffer *buffer) in SMP_ReceiveIdentityInformation()
483 static void SMP_ReceiveIdentityAddressInformation(uint16_t handle, const Buffer *buffer) in SMP_ReceiveIdentityAddressInformation()
[all …]
/foundation/communication/dsoftbus/tests/core/common/log/fuzztest/softbuslog_fuzzer/
Dsoftbuslog_fuzzer.cpp26 static void NstackxLogTest(const char *buffer) in NstackxLogTest()
31 static void AnonymizesTest(const char *buffer) in AnonymizesTest()
36 static void AnonyPacketPrintoutTest(const char *buffer, size_t size) in AnonyPacketPrintoutTest()
41 static void AnonyDevIdTest(const char *buffer) in AnonyDevIdTest()
55 char buffer[OHOS::MAX_BUFFER_LEN] = { 0 }; in LLVMFuzzerTestOneInput() local
/foundation/communication/bluetooth/services/bluetooth/service/src/avrcp_ct/
Davrcp_ct_notification.cpp64 auto buffer = BufferMalloc(bufferSize); in AssembleParameters() local
88 bool AvrcCtNotifyPacket::DisassembleParameters(uint8_t *buffer) in DisassembleParameters()
143 bool AvrcCtNotifyPacket::DisassemblePlaybackStatus(uint8_t *buffer) in DisassemblePlaybackStatus()
160 bool AvrcCtNotifyPacket::DisassembleTrackChanged(uint8_t *buffer) in DisassembleTrackChanged()
177 bool AvrcCtNotifyPacket::DisassemblePlaybackPosChanged(uint8_t *buffer) in DisassemblePlaybackPosChanged()
194 bool AvrcCtNotifyPacket::DisassemblePlayerApplicationSettingChanged(uint8_t *buffer) in DisassemblePlayerApplicationSettingChanged()
223 bool AvrcCtNotifyPacket::DisassembleAddressedPlayerChanged(uint8_t *buffer) in DisassembleAddressedPlayerChanged()
245 bool AvrcCtNotifyPacket::DisassembleUidsChanged(uint8_t *buffer) in DisassembleUidsChanged()
262 bool AvrcCtNotifyPacket::DisassembleVolumeChanged(uint8_t *buffer) in DisassembleVolumeChanged()
Davrcp_ct_vendor.cpp58 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt))); in DisassemblePacket() local
101 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt_))); in AssembleFixedOperands() local
134 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt))); in IsValidParameterLength() local
189 auto buffer = BufferMalloc(AVRC_CT_VENDOR_PARAMETER_LENGTH_SIZE + AVRC_CT_GC_PARAMETER_LENGTH); in AssembleParameters() local
213 bool AvrcCtGcPacket::DisassembleParameters(uint8_t *buffer) in DisassembleParameters()
288 auto buffer = BufferMalloc(AVRC_CT_LPASA_PARAMETER_LENGTH_SIZE); in AssembleParameters() local
309 bool AvrcCtLpasaPacket::DisassembleParameters(uint8_t *buffer) in DisassembleParameters()
375 auto buffer = BufferMalloc(bufferSize); in AssembleParameters() local
398 bool AvrcCtLpasvPacket::DisassembleParameters(uint8_t *buffer) in DisassembleParameters()
498 auto buffer = BufferMalloc(bufferSize); in AssembleParameters() local
[all …]
Davrcp_ct_browse.cpp91 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt_))); in AssemblePacket() local
113 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt))); in DisassemblePacket() local
157 void AvrcCtSbpPacket::DisassemblePacketName(uint8_t *buffer, uint16_t offset) in DisassemblePacketName()
222 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt_))); in AssemblePacket() local
250 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt))); in DisassemblePacket() local
323 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt_))); in AssemblePacket() local
365 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt))); in DisassemblePacket() local
416 uint16_t AvrcCtGfiPacket::DisassembleMpParameter(uint8_t *buffer) in DisassembleMpParameter()
472 uint16_t AvrcCtGfiPacket::DisassembleMpParameterName(uint8_t *buffer, uint16_t offset, std::string … in DisassembleMpParameterName()
500 uint16_t AvrcCtGfiPacket::DisassembleMeParameter(uint8_t *buffer) in DisassembleMeParameter()
[all …]
/foundation/ability/dmsfwk_lite/moduletest/dtbschedmgr_lite/source/
Dtlv_parse_test.cpp32 static void RunTest(const uint8_t *buffer, uint16_t bufferLen, in RunTest()
55 uint8_t buffer[] = { variable
85 uint8_t buffer[] = { variable
132 uint8_t buffer[] = { variable
154 uint8_t buffer[] = { }; variable
170 uint8_t buffer[] = { variable
188 uint8_t buffer[] = { variable
206 uint8_t buffer[] = { variable
227 uint8_t buffer[] = { variable
250 uint8_t buffer[] = { variable
[all …]
/foundation/multimedia/audio_lite/test/unittest/
Daudiolite_test.cpp69 uint8_t *buffer; variable
98 uint8_t *buffer; variable
128 uint8_t *buffer; variable
158 uint8_t *buffer; variable
188 uint8_t *buffer; variable
218 uint8_t *buffer; in HWTEST_F() local
248 uint8_t *buffer; in HWTEST_F() local
278 uint8_t *buffer; in HWTEST_F() local
308 uint8_t *buffer; in HWTEST_F() local
338 uint8_t *buffer; in HWTEST_F() local
[all …]
/foundation/communication/ipc/ipc/native/test/unittest/common/
Dbuffer_object_unittest.cpp159 char * buffer = object.GetSendBufferAndLock(SOCKET_BUFF_SIZE_USER_HUGE + 1); variable
173 char * buffer = object.GetSendBufferAndLock(SOCKET_BUFF_SIZE_USER_S); variable
188 char * buffer = object.GetSendBufferAndLock(SOCKET_BUFF_SIZE_USER_S); variable
203 char * buffer = object.GetReceiveBufferAndLock(SOCKET_BUFF_SIZE_USER_HUGE + 1); variable
217 char * buffer = object.GetReceiveBufferAndLock(SOCKET_BUFF_SIZE_USER_S); variable
232 char * buffer = object.GetReceiveBufferAndLock(SOCKET_BUFF_SIZE_USER_S); variable
/foundation/multimedia/player_framework/services/engine/gstreamer/plugins/codec/hdi_plugins/
Dhdi_out_buffer_mgr.cpp50 GstBufferWrap buffer = mBuffers.front(); in Start() local
62 int32_t HdiOutBufferMgr::PushBuffer(GstBuffer *buffer) in PushBuffer()
85 int32_t HdiOutBufferMgr::PullBuffer(GstBuffer **buffer) in PullBuffer()
119 …std::for_each(mBuffers.begin(), mBuffers.end(), [&](GstBufferWrap buffer) { gst_buffer_unref(buffe… in FreeBuffers()
124 int32_t HdiOutBufferMgr::CodecBufferAvailable(const OmxCodecBuffer *buffer) in CodecBufferAvailable()
/foundation/communication/bluetooth/services/bluetooth/service/src/avrcp_tg/
Davrcp_tg_notification.cpp105 …auto buffer = BufferMalloc(AVRC_TG_VENDOR_PACKET_TYPE_SIZE + AVRC_TG_VENDOR_PARAMETER_LENGTH_SIZE + in AssemblePlaybackStatusChanged() local
139 …auto buffer = BufferMalloc(AVRC_TG_VENDOR_PACKET_TYPE_SIZE + AVRC_TG_VENDOR_PARAMETER_LENGTH_SIZE + in AssembleTrackChanged() local
173 …auto buffer = BufferMalloc(AVRC_TG_VENDOR_PACKET_TYPE_SIZE + AVRC_TG_VENDOR_PARAMETER_LENGTH_SIZE + in AssemblePlaybackPosChanged() local
217 auto buffer = BufferMalloc(bufferSize); in AssemblePlayerApplicationSettingChanged() local
265 auto buffer = BufferMalloc(bufferSize); in AssembleAddressedPlayerChanged() local
299 …auto buffer = BufferMalloc(AVRC_TG_VENDOR_PACKET_TYPE_SIZE + AVRC_TG_VENDOR_PARAMETER_LENGTH_SIZE + in AssembleUidsChanged() local
333 …auto buffer = BufferMalloc(AVRC_TG_VENDOR_PACKET_TYPE_SIZE + AVRC_TG_VENDOR_PARAMETER_LENGTH_SIZE + in AssembleVolumeChanged() local
367 …auto buffer = BufferMalloc(AVRC_TG_VENDOR_PACKET_TYPE_SIZE + AVRC_TG_VENDOR_PARAMETER_LENGTH_SIZE + in AssembleCommonChanged() local
390 bool AvrcTgNotifyPacket::DisassembleParameters(uint8_t *buffer) in DisassembleParameters()
/foundation/multimedia/player_framework/services/engine/gstreamer/plugins/common/
Dbuffer_type_meta.c18 static gboolean gst_buffer_type_meta_init(GstMeta *meta, gpointer params, GstBuffer *buffer) in gst_buffer_type_meta_init()
52 GstBuffer *buffer, GQuark type, gpointer data) in gst_buffer_type_meta_transform()
100 GstBufferTypeMeta *gst_buffer_get_buffer_type_meta(GstBuffer *buffer) in gst_buffer_get_buffer_type_meta()
117 GstBufferTypeMeta *gst_buffer_add_buffer_vir_meta(GstBuffer *buffer, intptr_t buf, uint32_t bufferF… in gst_buffer_add_buffer_vir_meta()
131 GstBufferTypeMeta *gst_buffer_add_buffer_handle_meta(GstBuffer *buffer, intptr_t buf, in gst_buffer_add_buffer_handle_meta()
152 GstBufferTypeMeta *gst_buffer_add_buffer_fd_meta(GstBuffer *buffer, intptr_t buf, GstBufferFdConfig… in gst_buffer_add_buffer_fd_meta()
/foundation/distributedhardware/distributed_camera/services/channel/src/
Ddcamera_softbus_session.cpp128 int32_t DCameraSoftbusSession::OnDataReceived(std::shared_ptr<DataBuffer>& buffer) in OnDataReceived()
139 void DCameraSoftbusSession::DealRecvData(std::shared_ptr<DataBuffer>& buffer) in DealRecvData()
149 void DCameraSoftbusSession::PackRecvData(std::shared_ptr<DataBuffer>& buffer) in PackRecvData()
175 void DCameraSoftbusSession::AssembleNoFrag(std::shared_ptr<DataBuffer>& buffer, SessionDataHeader& … in AssembleNoFrag()
193 void DCameraSoftbusSession::AssembleFrag(std::shared_ptr<DataBuffer>& buffer, SessionDataHeader& he… in AssembleFrag()
277 void DCameraSoftbusSession::PostData(std::shared_ptr<DataBuffer>& buffer) in PostData()
305 …t32_t DCameraSoftbusSession::SendData(DCameraSessionMode mode, std::shared_ptr<DataBuffer>& buffer) in SendData()
319 int32_t DCameraSoftbusSession::UnPackSendData(std::shared_ptr<DataBuffer>& buffer, DCameraSendFuc m… in UnPackSendData()
405 int32_t DCameraSoftbusSession::SendBytes(std::shared_ptr<DataBuffer>& buffer) in SendBytes()
421 int32_t DCameraSoftbusSession::SendStream(std::shared_ptr<DataBuffer>& buffer) in SendStream()
/foundation/communication/ipc/ipc/test/serializer/
Dutils_serializer_test.cpp128 uint8_t buffer[BUFFER_SIZE] = {0}; variable
225 uint8_t buffer[BUFFER_SIZE] = {0}; variable
267 uint8_t buffer[BUFFER_SIZE] = {0}; variable
318 uint8_t buffer[BUFFER_SIZE] = {0}; variable
373 uint8_t buffer[BUFFER_SIZE] = {0}; variable
420 uint8_t buffer[BUFFER_SIZE] = {0}; variable
470 uint8_t buffer[BUFFER_SIZE] = {0}; variable
520 uint8_t buffer[BUFFER_SIZE] = {0}; variable
569 uint8_t buffer[BUFFER_SIZE] = {0}; variable
624 uint8_t buffer[BUFFER_SIZE] = {0}; variable
[all …]
/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/
Ddcamera_softbus_session_test.cpp127 std::shared_ptr<DataBuffer> buffer = std::make_shared<DataBuffer>(capacity); variable
144 std::shared_ptr<DataBuffer> buffer = std::make_shared<DataBuffer>(capacity); variable
164 std::shared_ptr<DataBuffer> buffer = std::make_shared<DataBuffer>(capacity); variable
182 std::shared_ptr<DataBuffer> buffer = std::make_shared<DataBuffer>(capacity); variable
202 std::shared_ptr<DataBuffer> buffer = std::make_shared<DataBuffer>(capacity); variable
277 std::shared_ptr<DataBuffer> buffer = std::make_shared<DataBuffer>(capacity); variable
299 std::shared_ptr<DataBuffer> buffer = std::make_shared<DataBuffer>(capacity); variable
340 std::shared_ptr<DataBuffer> buffer = std::make_shared<DataBuffer>(capacity); variable
357 std::shared_ptr<DataBuffer> buffer = std::make_shared<DataBuffer>(capacity); variable
/foundation/communication/bluetooth/services/bluetooth/stack/src/sdp/
Dsdp_client.c56 static Packet *SdpBuildPacket(const uint8_t *buffer, uint16_t length) in SdpBuildPacket()
66 static uint16_t SdpBuildAttributeList(SdpAttributeIdList attributeIdList, uint8_t *buffer, uint16_t… in SdpBuildAttributeList()
106 static uint16_t SdpCreateSearchRequest(const BtUuid *uuidArray, uint16_t uuidNum, uint8_t *buffer) in SdpCreateSearchRequest()
126 …6_t SdpCreateAttributeRequest(uint32_t handle, SdpAttributeIdList attributeIdList, uint8_t *buffer) in SdpCreateAttributeRequest()
143 const BtUuid *uuidArray, uint16_t uuidNum, SdpAttributeIdList attributeIdList, uint8_t *buffer) in SdpCreateSearchAttributeRequest()
165 static uint16_t SdpCreateServiceBrowseRequest(uint8_t *buffer) in SdpCreateServiceBrowseRequest()
182 uint8_t *buffer = NULL; in SdpServiceSearch() local
226 uint8_t *buffer = NULL; in SdpServiceAttribute() local
271 uint8_t *buffer = NULL; in SdpServiceSearchAttribute() local
315 uint8_t *buffer = NULL; in SdpServiceBrowse() local
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_wrapper_test/
Dwrapper_decoder_test.cpp47 std::string buffer = "testMsg@@"; variable
56 std::string buffer = "@testMsg"; variable
65 std::string buffer = "@testMsg"; variable
74 const char *buffer = variable
/foundation/ai/neural_network_runtime/frameworks/native/ops/
Dresize_bilinear_builder.cpp45 void* buffer = tensor->GetBuffer(); in SetNewHeight() local
68 void* buffer = tensor->GetBuffer(); in SetNewWidth() local
91 void* buffer = tensor->GetBuffer(); in SetPreserveAspectRatio() local
116 void* buffer = tensor->GetBuffer(); in SetCoordinateTransformMode() local
140 void* buffer = tensor->GetBuffer(); in SetExcludeOutside() local
Dstrided_slice_builder.cpp56 void* buffer = tensor->GetBuffer(); in SetBeginMask() local
73 void* buffer = tensor->GetBuffer(); in SetEndMask() local
90 void* buffer = tensor->GetBuffer(); in SetEllipsisMask() local
107 void* buffer = tensor->GetBuffer(); in SetNewAxisMask() local
124 void* buffer = tensor->GetBuffer(); in SetShrinkAxisMask() local
/foundation/arkui/ace_engine/frameworks/bridge/codec/
Dstandard_codec_buffer_operator.h31 …explicit StandardCodecBufferReader(const std::vector<uint8_t>& buffer) : byteBufferReader_(buffer)… in StandardCodecBufferReader()
48 explicit StandardCodecBufferWriter(std::vector<uint8_t>& buffer) : byteBufferWriter_(buffer) {} in StandardCodecBufferWriter()
/foundation/communication/bluetooth/services/bluetooth/stack/src/att/
Datt_receive.c334 void AttErrorResponse(AttConnectInfo *connect, const Buffer *buffer) in AttErrorResponse()
386 void AttExchangeMTURequest(AttConnectInfo *connect, const Buffer *buffer) in AttExchangeMTURequest()
433 void AttExchangeMTUResponse(AttConnectInfo *connect, const Buffer *buffer) in AttExchangeMTUResponse()
485 void AttFindInformationRequest(AttConnectInfo *connect, const Buffer *buffer) in AttFindInformationRequest()
557 void AttFindInformationResponse(AttConnectInfo *connect, const Buffer *buffer) in AttFindInformationResponse()
622 void AttFindByTypeValueRequest(AttConnectInfo *connect, const Buffer *buffer) in AttFindByTypeValueRequest()
708 void AttFindByTypeValueResponse(AttConnectInfo *connect, const Buffer *buffer) in AttFindByTypeValueResponse()
770 void AttReadByTypeRequest(AttConnectInfo *connect, const Buffer *buffer) in AttReadByTypeRequest()
833 void AttReadByTypeResponse(AttConnectInfo *connect, const Buffer *buffer) in AttReadByTypeResponse()
900 void AttReadRequest(AttConnectInfo *connect, const Buffer *buffer) in AttReadRequest()
[all …]
/foundation/arkui/ace_engine_lite/frameworks/common/memory/cache/test/unittest/common/
Dcache_manager_tdd_test.cpp42 char *buffer = static_cast<char *>(ace_malloc(sizeof(char) * totalSize)); variable
76 char *buffer = static_cast<char *>(ace_malloc(sizeof(char) * totalSize)); variable
119 char *buffer = static_cast<char *>(ace_malloc(sizeof(char) * totalSize)); variable
150 char *buffer = static_cast<char *>(ace_malloc(sizeof(char) * totalSize)); variable
183 char *buffer = static_cast<char *>(ace_malloc(sizeof(char) * totalSize)); variable
221 char *buffer = static_cast<char *>(ace_malloc(sizeof(char) * totalSize)); variable
/foundation/multimedia/media_lite/services/player_lite/impl/buffersource/src/
Dbuffer_source.cpp82 QueBuffer buffer; in Init() local
119 int BufferSource::QueIdleBuffer(const QueBuffer *buffer) in QueIdleBuffer()
127 int BufferSource::DequeIdleBuffer(QueBuffer* buffer, int timeOut) in DequeIdleBuffer()
147 int BufferSource::QueFilledBuffer(const QueBuffer *buffer) in QueFilledBuffer()
155 int BufferSource::DequeFilledBuffer(QueBuffer* buffer, int timeOut) in DequeFilledBuffer()
192 int BufferSource::GetFilledBuffer(size_t idx, QueBuffer* buffer) in GetFilledBuffer()

12345678910>>...27