Home
last modified time | relevance | path

Searched refs:buffer (Results 5951 - 5975 of 13259) sorted by relevance

1...<<231232233234235236237238239240>>...531

/third_party/mesa3d/src/gallium/drivers/i915/
H A Di915_state_static.c92 i915->current.cbuf_bo = tex->buffer; in update_framebuffer()
116 i915->current.depth_bo = tex->buffer; in update_framebuffer()
/third_party/rust/crates/env_logger/src/fmt/writer/termcolor/
H A Dextern_impl.rs116 pub(in crate::fmt::writer) fn buffer(&self) -> Buffer {
118 inner: self.inner.buffer(),
126 // instead of `termcolor`'s buffer.
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/gbm/
H A DDisplayGbm.h124 void drawBuffer(const gl::Context *context, Buffer *buffer);
125 void drawWithTexture(const gl::Context *context, Buffer *buffer);
145 // Three scanout buffers cycle through four states. The state of a buffer
147 // TODO(fjhenigman) It might be simpler/clearer to use a ring buffer.
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DSurfaceD3D.h45 EGLint buffer) override;
46 egl::Error releaseTexImage(const gl::Context *context, EGLint buffer) override;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A DSurfaceImpl.h73 EGLint buffer) = 0;
74 virtual egl::Error releaseTexImage(const gl::Context *context, EGLint buffer) = 0;
/third_party/vk-gl-cts/external/amber/src/samples/
H A Dimage_diff.cc19 #include "src/buffer.h"
127 amber::Buffer* buffer) { in LoadPngToBuffer()
145 buffer->SetData(values); in LoadPngToBuffer()
126 LoadPngToBuffer(const std::string& filename, amber::Buffer* buffer) LoadPngToBuffer() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DvalidationES2.h39 BufferID buffer) in ValidateBindBuffer()
48 !context->isBufferGenerated(buffer)) in ValidateBindBuffer()
107 // is bound, zero is bound to the ARRAY_BUFFER buffer object binding point, in ValidateVertexAttribPointer()
36 ValidateBindBuffer(const Context *context, angle::EntryPoint entryPoint, BufferBinding target, BufferID buffer) ValidateBindBuffer() argument
/third_party/skia/src/codec/
H A DSkWbmpCodec.cpp143 bool SkWbmpCodec::IsWbmp(const void* buffer, size_t bytesRead) { in IsWbmp() argument
144 SkMemoryStream stream(buffer, bytesRead, false); in IsWbmp()
/third_party/skia/src/effects/
H A DSkTableMaskFilter.cpp99 sk_sp<SkFlattenable> SkTableMaskFilterImpl::CreateProc(SkReadBuffer& buffer) { in CreateProc() argument
101 if (!buffer.readByteArray(table, 256)) { in CreateProc()
/third_party/skia/src/core/
H A DSkFontStream.cpp40 static bool read(SkStream* stream, void* buffer, size_t amount) { in read() argument
41 return stream->read(buffer, amount) == amount; in read()
/third_party/skia/third_party/externals/oboe/src/common/
H A DFilterAudioStream.h104 ResultWithValue<int32_t> read(void *buffer,
108 ResultWithValue<int32_t> write(const void *buffer,
208 std::unique_ptr<uint8_t[]> mBlockingBuffer; // temp buffer for write()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DBindGroupLayoutD3D12.cpp29 switch (bindingInfo.buffer.type) { in WGPUBindingInfoToDescriptorRangeType()
92 ASSERT(!bindingInfo.buffer.hasDynamicOffset); in BindGroupLayout()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DBindGroupVk.cpp70 VkBuffer handle = ToBackend(binding.buffer)->GetHandle(); in BindGroup()
74 // is an error to submit a command buffer that references destroyed in BindGroup()
78 writeBufferInfo[numWrites].buffer = handle; in BindGroup()
100 // is an error to submit a command buffer that references destroyed in BindGroup()
123 // is an error to submit a command buffer that references destroyed in BindGroup()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
H A DGPUQueue.cpp73 interop::Interface<interop::GPUBuffer> buffer, in writeBuffer()
78 wgpu::Buffer buf = *buffer.As<GPUBuffer>(); in writeBuffer()
72 writeBuffer(Napi::Env env, interop::Interface<interop::GPUBuffer> buffer, interop::GPUSize64 bufferOffset, interop::BufferSource data, interop::GPUSize64 dataOffset, std::optional<interop::GPUSize64> size) writeBuffer() argument
H A DGPURenderPassEncoder.h80 interop::Interface<interop::GPUBuffer> buffer,
86 interop::Interface<interop::GPUBuffer> buffer,
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DTexture3DTests.cpp88 wgpu::Buffer buffer = in TEST_P() local
94 utils::CreateImageCopyBuffer(buffer, 0, bytesPerRow, copySize.height); in TEST_P()
/third_party/protobuf/src/google/protobuf/io/
H A Dzero_copy_stream_impl_lite.h142 // the first call to Next() will return at least n bytes of buffer
170 // involves copying bytes into a buffer. If you want to take such an
181 // Reads up to "size" bytes into the given buffer. Returns the number of
185 virtual int Read(void* buffer, int size) = 0;
192 // buffer.
227 // Frees the buffer and resets buffer_used_.
241 // Data is read into this buffer. It may be NULL if no buffer is currently
246 // Number of valid bytes currently in the buffer (i.e. the size last
250 // Number of bytes in the buffer whic
[all...]
/third_party/spirv-tools/test/opt/
H A Dfix_storage_class_test.cpp537 OpName %type_buffer_image "type.buffer.image" in TEST_F()
542 OpName %type_buffer_image_0 "type.buffer.image" in TEST_F()
/third_party/openGLES/api/GL/
H A Dglext.h510 typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
513 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
530 GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
533 GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
1110 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
1111 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
1155 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
1156 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
1157 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
1158 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLin
[all...]
/drivers/peripheral/display/hdi_service/device/src/proxy/display_device_proxy/
H A Ddisplay_device_proxy.cpp709 DISPLAY_LOG("error: failed out buffer to small %{public}u vs %{public}u", numRet, *num); in GetDisplayReleaseFence()
852 int32_t DisplayDeviceProxy::GetWriteBackFrame(uint32_t devId, BufferHandle &buffer, int32_t &fence) in GetWriteBackFrame() argument
856 (void)buffer; in GetWriteBackFrame()
1675 int32_t DisplayDeviceProxy::GetLayerBuffer(uint32_t devId, uint32_t layerId, LayerBuffer *buffer) in GetLayerBuffer() argument
1678 if (buffer == nullptr) { in GetLayerBuffer()
1679 DISPLAY_LOG("buffer is nullptr"); in GetLayerBuffer()
1704 if (!DisplayDeviceReadData(buffer, &reply)) { in GetLayerBuffer()
1708 if (!DisplayDeviceReadBufHdl(buffer->hdl, &reply)) { in GetLayerBuffer()
1716 int32_t DisplayDeviceProxy::Flush(uint32_t devId, uint32_t layerId, LayerBuffer &buffer) in Flush() argument
1734 if (!DisplayDeviceWriteData(&data, &buffer)) { in Flush()
1782 SnapShot(uint32_t devId, LayerBuffer &buffer) SnapShot() argument
1850 SetLayerBuffer(uint32_t devId, uint32_t layerId, const BufferHandle &buffer, int32_t fence) SetLayerBuffer() argument
[all...]
/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Dds.c329 static void dsfree_pages(const void *buffer, size_t size) in dsfree_pages() argument
331 if (buffer) in dsfree_pages()
332 free_pages((unsigned long)buffer, get_order(size)); in dsfree_pages()
341 void *buffer, *insn_buff, *cea; in alloc_pebs_buffer() local
346 buffer = dsalloc_pages(bsiz, GFP_KERNEL, cpu); in alloc_pebs_buffer()
347 if (unlikely(!buffer)) in alloc_pebs_buffer()
352 * buffer then. in alloc_pebs_buffer()
357 dsfree_pages(buffer, bsiz); in alloc_pebs_buffer()
362 hwev->ds_pebs_vaddr = buffer; in alloc_pebs_buffer()
366 ds_update_cea(cea, buffer, bsi in alloc_pebs_buffer()
395 void *buffer, *cea; alloc_bts_buffer() local
[all...]
/kernel/linux/linux-5.10/drivers/misc/
H A Dfastrpc.c405 /* sort with lowest starting buffer first */ in olaps_cmp()
407 /* sort with highest ending buffer first */ in olaps_cmp()
551 struct fastrpc_buf *buffer = dmabuf->priv; in fastrpc_release() local
553 fastrpc_buf_free(buffer); in fastrpc_release()
560 struct fastrpc_buf *buffer = dmabuf->priv; in fastrpc_dma_buf_attach() local
567 ret = dma_get_sgtable(buffer->dev, &a->sgt, buffer->virt, in fastrpc_dma_buf_attach()
568 FASTRPC_PHYS(buffer->phys), buffer->size); in fastrpc_dma_buf_attach()
570 dev_err(buffer in fastrpc_dma_buf_attach()
590 struct fastrpc_buf *buffer = dmabuf->priv; fastrpc_dma_buf_detatch() local
[all...]
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/
H A Dhfcsusb.c1009 buf = context_iso_urb->buffer + offset; in rx_iso_complete()
1064 context_iso_urb->buffer, num_isoc_packets, in rx_iso_complete()
1113 buf = fifo->buffer; in rx_int_complete()
1226 context_iso_urb->buffer, num_isoc_packets, in tx_iso_complete()
1229 memset(context_iso_urb->buffer, 0, in tx_iso_complete()
1230 sizeof(context_iso_urb->buffer)); in tx_iso_complete()
1265 context_iso_urb->buffer[tx_offset] = 0; in tx_iso_complete()
1270 buffer[tx_offset] = 1; in tx_iso_complete()
1278 /* copy tx data to iso-urb buffer */ in tx_iso_complete()
1279 p = context_iso_urb->buffer in tx_iso_complete()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_llh.c603 /* RPB: rx packet buffer */
643 u32 buffer) in hw_atl_rpb_rx_buff_hi_threshold_per_tc_set()
645 aq_hw_write_reg_bit(aq_hw, HW_ATL_RPB_RXBHI_THRESH_ADR(buffer), in hw_atl_rpb_rx_buff_hi_threshold_per_tc_set()
653 u32 buffer) in hw_atl_rpb_rx_buff_lo_threshold_per_tc_set()
655 aq_hw_write_reg_bit(aq_hw, HW_ATL_RPB_RXBLO_THRESH_ADR(buffer), in hw_atl_rpb_rx_buff_lo_threshold_per_tc_set()
690 u32 rx_pkt_buff_size_per_tc, u32 buffer) in hw_atl_rpb_rx_pkt_buff_size_per_tc_set()
692 aq_hw_write_reg_bit(aq_hw, HW_ATL_RPB_RXBBUF_SIZE_ADR(buffer), in hw_atl_rpb_rx_pkt_buff_size_per_tc_set()
699 u32 rx_xoff_en_per_tc, u32 buffer) in hw_atl_rpb_rx_xoff_en_per_tc_set()
701 aq_hw_write_reg_bit(aq_hw, HW_ATL_RPB_RXBXOFF_EN_ADR(buffer), in hw_atl_rpb_rx_xoff_en_per_tc_set()
1357 /* TPB: tx packet buffer */
641 hw_atl_rpb_rx_buff_hi_threshold_per_tc_set(struct aq_hw_s *aq_hw, u32 rx_buff_hi_threshold_per_tc, u32 buffer) hw_atl_rpb_rx_buff_hi_threshold_per_tc_set() argument
651 hw_atl_rpb_rx_buff_lo_threshold_per_tc_set(struct aq_hw_s *aq_hw, u32 rx_buff_lo_threshold_per_tc, u32 buffer) hw_atl_rpb_rx_buff_lo_threshold_per_tc_set() argument
689 hw_atl_rpb_rx_pkt_buff_size_per_tc_set(struct aq_hw_s *aq_hw, u32 rx_pkt_buff_size_per_tc, u32 buffer) hw_atl_rpb_rx_pkt_buff_size_per_tc_set() argument
698 hw_atl_rpb_rx_xoff_en_per_tc_set(struct aq_hw_s *aq_hw, u32 rx_xoff_en_per_tc, u32 buffer) hw_atl_rpb_rx_xoff_en_per_tc_set() argument
1381 hw_atl_tpb_tx_buff_hi_threshold_per_tc_set(struct aq_hw_s *aq_hw, u32 tx_buff_hi_threshold_per_tc, u32 buffer) hw_atl_tpb_tx_buff_hi_threshold_per_tc_set() argument
1391 hw_atl_tpb_tx_buff_lo_threshold_per_tc_set(struct aq_hw_s *aq_hw, u32 tx_buff_lo_threshold_per_tc, u32 buffer) hw_atl_tpb_tx_buff_lo_threshold_per_tc_set() argument
1427 hw_atl_tpb_tx_pkt_buff_size_per_tc_set(struct aq_hw_s *aq_hw, u32 tx_pkt_buff_size_per_tc, u32 buffer) hw_atl_tpb_tx_pkt_buff_size_per_tc_set() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/
H A Dfealnx.c65 #define PKT_BUF_SZ 1536 /* Size of each temporary Rx buffer. */
198 RBU = 0x00000020, /* receive buffer unavailable */
199 TBU = 0x00000010, /* transmit buffer unavilable */
230 /* The Tulip Rx and Tx buffer descriptors. */
234 u32 buffer; member
288 TBSMask = 0x000007ff, /* transmit buffer bit 10-0 */
1063 np->lack_rxbuf->buffer = dma_map_single(&np->pci_dev->dev, in allocate_rx_buffers()
1260 np->rx_ring[i].buffer = dma_map_single(&np->pci_dev->dev, in init_ring()
1301 np->cur_tx_copy->buffer = dma_map_single(&np->pci_dev->dev, skb->data, in start_tx()
1305 np->cur_tx_copy->control |= (skb->len << TBSShift); /* buffer siz in start_tx()
[all...]

Completed in 51 milliseconds

1...<<231232233234235236237238239240>>...531