Home
last modified time | relevance | path

Searched refs:buffer (Results 2326 - 2350 of 11630) sorted by relevance

1...<<919293949596979899100>>...466

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/gbm/
H A DSurfaceGbm.cpp17 SurfaceGbm::SurfaceGbm(const egl::SurfaceState &state, DisplayGbm::Buffer *buffer) in SurfaceGbm() argument
18 : SurfaceGL(state), mBuffer(buffer) in SurfaceGbm()
64 egl::Error SurfaceGbm::bindTexImage(const gl::Context *context, gl::Texture *texture, EGLint buffer) in bindTexImage() argument
70 egl::Error SurfaceGbm::releaseTexImage(const gl::Context *context, EGLint buffer) in releaseTexImage() argument
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DSocket.cpp86 int Socket::receive(char *buffer, int length) in receive() argument
88 return recv(socket, buffer, length, 0); in receive()
91 void Socket::send(const char *buffer, int length) in send() argument
93 ::send(socket, buffer, length, 0); in send()
/third_party/skia/third_party/externals/swiftshader/src/System/
H A DSocket.cpp87 int Socket::receive(char *buffer, int length) in receive() argument
89 return recv(socket, buffer, length, 0); in receive()
92 void Socket::send(const char *buffer, int length) in send() argument
94 ::send(socket, buffer, length, 0); in send()
/third_party/openssl/demos/digest/
H A DEVP_MD_stdin.c43 unsigned char buffer[512]; in demonstrate_digest() local
96 while ((ii = BIO_read(input, buffer, sizeof(buffer))) > 0) { in demonstrate_digest()
97 if (EVP_DigestUpdate(digest_context, buffer, ii) != 1) { in demonstrate_digest()
/third_party/skia/third_party/externals/microhttpd/src/microspdy/
H A Dio_raw.c94 void * buffer, in SPDYF_raw_recv()
98 buffer, in SPDYF_raw_recv()
123 const void * buffer, in SPDYF_raw_send()
127 buffer, in SPDYF_raw_send()
93 SPDYF_raw_recv(struct SPDY_Session *session, void * buffer, size_t size) SPDYF_raw_recv() argument
122 SPDYF_raw_send(struct SPDY_Session *session, const void * buffer, size_t size) SPDYF_raw_send() argument
/third_party/skia/third_party/externals/oboe/src/common/
H A DDataConversionFlowGraph.h46 void setSource(const void *buffer, int32_t numFrames);
59 int32_t read(void *buffer, int32_t numFrames, int64_t timeoutNanos);
61 int32_t write(void *buffer, int32_t numFrames);
63 int32_t onProcessFixedBlock(uint8_t *buffer, int32_t numBytes) override;
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
H A DDecodeTest.java33 byte[] buffer = new byte[65536]; in decompress()
49 int len = brotliInput.read(buffer, 0, buffer.length); in decompress()
53 output.write(buffer, 0, len); in decompress()
/third_party/python/Misc/
H A Dcoverity_model.c106 unsigned char buffer[4]; in r_long() local
108 r_string((char *)buffer, 4, p); in r_long()
109 __coverity_tainted_string_sanitize_content__(buffer); in r_long()
110 l = (long)buffer; in r_long()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
H A DD3D12ResourceHeapTests.cpp88 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_P() local
89 Buffer* d3dBuffer = reinterpret_cast<Buffer*>(buffer.Get()); in TEST_P()
98 buffer = device.CreateBuffer(&descriptor); in TEST_P()
99 d3dBuffer = reinterpret_cast<Buffer*>(buffer.Get()); in TEST_P()
/third_party/rust/crates/clap/src/output/
H A Dfmt.rs50 let mut buffer = writer.buffer(); variables
51 ok!(self.content.write_colored(&mut buffer));
52 writer.print(&buffer)
/third_party/skia/include/private/
H A DSkMalloc.h32 * If this bit is set, the returned buffer must be zero-initialized. If this bit is not set
33 * the buffer can be uninitialized.
56 SK_API extern void* sk_realloc_throw(void* buffer, size_t size);
79 SK_API extern void* sk_realloc_throw(void* buffer, size_t count, size_t elemSize);
96 static inline void sk_bzero(void* buffer, size_t size) { in sk_bzero() argument
99 memset(buffer, 0, size); in sk_bzero()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c815 struct qlcnic_rx_buffer *buffer) in qlcnic_alloc_rx_skb()
837 buffer->skb = skb; in qlcnic_alloc_rx_skb()
838 buffer->dma = dma; in qlcnic_alloc_rx_skb()
848 struct qlcnic_rx_buffer *buffer; in qlcnic_post_rx_buffers_nodb() local
859 buffer = list_entry(head->next, struct qlcnic_rx_buffer, list); in qlcnic_post_rx_buffers_nodb()
861 if (!buffer->skb) { in qlcnic_post_rx_buffers_nodb()
862 if (qlcnic_alloc_rx_skb(adapter, rds_ring, buffer)) in qlcnic_post_rx_buffers_nodb()
866 list_del(&buffer->list); in qlcnic_post_rx_buffers_nodb()
871 buffer->ref_handle, ring_id); in qlcnic_post_rx_buffers_nodb()
874 pdesc->addr_buffer = cpu_to_le64(buffer in qlcnic_post_rx_buffers_nodb()
813 qlcnic_alloc_rx_skb(struct qlcnic_adapter *adapter, struct qlcnic_host_rds_ring *rds_ring, struct qlcnic_rx_buffer *buffer) qlcnic_alloc_rx_skb() argument
891 struct qlcnic_cmd_buffer *buffer; qlcnic_process_cmd_ring() local
1141 struct qlcnic_rx_buffer *buffer; qlcnic_process_rxbuf() local
1199 struct qlcnic_rx_buffer *buffer; qlcnic_process_rcv() local
1266 struct qlcnic_rx_buffer *buffer; qlcnic_process_lro() local
1440 struct qlcnic_rx_buffer *buffer; qlcnic_post_rx_buffers() local
1722 struct qlcnic_rx_buffer *buffer; qlcnic_83xx_process_rcv() local
1788 struct qlcnic_rx_buffer *buffer; qlcnic_83xx_process_lro() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c816 struct qlcnic_rx_buffer *buffer) in qlcnic_alloc_rx_skb()
838 buffer->skb = skb; in qlcnic_alloc_rx_skb()
839 buffer->dma = dma; in qlcnic_alloc_rx_skb()
849 struct qlcnic_rx_buffer *buffer; in qlcnic_post_rx_buffers_nodb() local
860 buffer = list_entry(head->next, struct qlcnic_rx_buffer, list); in qlcnic_post_rx_buffers_nodb()
862 if (!buffer->skb) { in qlcnic_post_rx_buffers_nodb()
863 if (qlcnic_alloc_rx_skb(adapter, rds_ring, buffer)) in qlcnic_post_rx_buffers_nodb()
867 list_del(&buffer->list); in qlcnic_post_rx_buffers_nodb()
872 buffer->ref_handle, ring_id); in qlcnic_post_rx_buffers_nodb()
875 pdesc->addr_buffer = cpu_to_le64(buffer in qlcnic_post_rx_buffers_nodb()
814 qlcnic_alloc_rx_skb(struct qlcnic_adapter *adapter, struct qlcnic_host_rds_ring *rds_ring, struct qlcnic_rx_buffer *buffer) qlcnic_alloc_rx_skb() argument
892 struct qlcnic_cmd_buffer *buffer; qlcnic_process_cmd_ring() local
1142 struct qlcnic_rx_buffer *buffer; qlcnic_process_rxbuf() local
1200 struct qlcnic_rx_buffer *buffer; qlcnic_process_rcv() local
1267 struct qlcnic_rx_buffer *buffer; qlcnic_process_lro() local
1442 struct qlcnic_rx_buffer *buffer; qlcnic_post_rx_buffers() local
1722 struct qlcnic_rx_buffer *buffer; qlcnic_83xx_process_rcv() local
1788 struct qlcnic_rx_buffer *buffer; qlcnic_83xx_process_lro() local
[all...]
/drivers/peripheral/codec/test/unittest/hdi_omx/
H A Dcodec_hdi_omx_test.cpp57 static void InitCodecBuffer(OmxCodecBuffer& buffer, CodecBufferType type, OMX_VERSIONTYPE& version) in InitCodecBuffer() argument
59 buffer.bufferType = type; in InitCodecBuffer()
60 buffer.fenceFd = -1; in InitCodecBuffer()
61 buffer.version = version; in InitCodecBuffer()
62 buffer.allocLen = BUFFER_SIZE; in InitCodecBuffer()
63 buffer.buffer = 0; in InitCodecBuffer()
64 buffer.bufferLen = 0; in InitCodecBuffer()
65 buffer.pts = 0; in InitCodecBuffer()
66 buffer in InitCodecBuffer()
177 std::map<int32_t, std::shared_ptr<BufferInfo>> &buffer = inputBuffers_; FreeBufferOnPort() local
945 struct OmxCodecBuffer buffer; HWTEST_F() local
[all...]
/third_party/vk-gl-cts/external/amber/src/src/dawn/
H A Dengine_dawn.cc196 // Result status object and data pointer resulting from a buffer mapping.
203 // Handles the update from an asynchronous buffer map request, updating the
242 // Maps the given buffer. Assumes the buffer has usage bit
245 // data in the |data| member. Mapping a buffer can fail if the context is
273 ::dawn::BufferCopyView CreateBufferCopyView(::dawn::Buffer buffer, in CreateBufferCopyView() argument
278 bufferCopyView.buffer = buffer; in CreateBufferCopyView()
308 .buffer->GetElementStride(); in MapDeviceTextureToHostBuffer()
311 // Create a temporary buffer t in MapDeviceTextureToHostBuffer()
415 ::dawn::Buffer buffer = device.CreateBuffer(&descriptor); CreateBufferFromData() local
454 ::dawn::Buffer buffer; global() member
[all...]
/third_party/skia/modules/skshaper/src/
H A DSkShaper_harfbuzz.cpp687 const auto buffer = handler->runBuffer(runInfo); local
688 SkASSERT(buffer.glyphs);
689 SkASSERT(buffer.positions);
696 buffer.glyphs[i] = glyph.fID;
697 if (buffer.offsets) {
698 buffer.positions[i] = advance + buffer.point;
699 buffer.offsets[i] = glyph.fOffset;
701 buffer.positions[i] = advance + buffer
957 ShaperHarfBuzz(std::unique_ptr<SkUnicode> unicode, SkUnicodeBreak lineIter, SkUnicodeBreak graphIter, HBBuffer buffer, std::shared_ptr<RSFontMgr> fontmgr) global() argument
1522 hb_buffer_t* buffer = fBuffer.get(); global() local
[all...]
/drivers/hdf_core/adapter/khdf/liteos_m/model/storage/include/mmc/
H A Dmmc_block_lite.h40 DRESULT (*disk_read)(BYTE pd, BYTE *buffer, DWORD startSector, UINT nSectors);
41 DRESULT (*disk_write)(BYTE pd, const BYTE *buffer, DWORD startSector, UINT nSectors);
42 DRESULT (*disk_ioctl)(BYTE pd, BYTE, void *buffer);
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/sink_node/
H A Dsink_node.cpp36 void SinkNode::DeliverBuffer(std::shared_ptr<IBuffer>& buffer) in DeliverBuffer() argument
38 cb_(buffer); in DeliverBuffer()
39 int32_t streamId = buffer->GetStreamId(); in DeliverBuffer()
/drivers/peripheral/codec/image/jpeg/include/
H A Dcodec_jpeg_core.h38 int32_t AllocateInBuffer(BufferHandle **buffer, uint32_t size);
40 int32_t FreeInBuffer(BufferHandle *buffer);
42 int32_t DoDecode(BufferHandle *buffer, BufferHandle *outBuffer, const V2_0::CodecJpegDecInfo *decInfo);
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codecfreebufferhdi_fuzzer/
H A Dcodecfreebuffer_fuzzer.cpp33 struct OmxCodecBuffer buffer; in CodecFreeBuffer() local
34 FillDataOmxCodecBuffer(&buffer); in CodecFreeBuffer()
36 int32_t ret = g_component->FreeBuffer(static_cast<uint32_t>(*data), buffer); in CodecFreeBuffer()
/kernel/linux/linux-5.10/drivers/dma-buf/heaps/
H A Dheap-helpers.h16 * struct heap_helper_buffer - helper buffer metadata
17 * @heap: back pointer to the heap the buffer came from
18 * @dmabuf: backing dma-buf for this buffer
19 * @size: size of the buffer
22 * @vmap_cnt count of vmap references on the buffer
24 * @pagecount number of pages in the buffer
28 * @free heap callback to free the buffer
43 void (*free)(struct heap_helper_buffer *buffer);
46 void init_heap_helper_buffer(struct heap_helper_buffer *buffer,
49 struct dma_buf *heap_helper_export_dmabuf(struct heap_helper_buffer *buffer,
[all...]
/kernel/linux/linux-5.10/security/keys/
H A Dcompat_dh.c17 char __user *buffer, size_t buflen, in compat_keyctl_dh_compute()
24 return __keyctl_dh_compute(params, buffer, buflen, NULL); in compat_keyctl_dh_compute()
35 return __keyctl_dh_compute(params, buffer, buflen, &kdfcopy); in compat_keyctl_dh_compute()
16 compat_keyctl_dh_compute(struct keyctl_dh_params __user *params, char __user *buffer, size_t buflen, struct compat_keyctl_kdf_params __user *kdf) compat_keyctl_dh_compute() argument
/kernel/linux/linux-6.6/fs/9p/
H A Dxattr.h16 void *buffer, size_t buffer_size);
18 void *buffer, size_t buffer_size);
23 ssize_t v9fs_listxattr(struct dentry *dentry, char *buffer,
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Dtx_common.h19 static inline bool efx_tx_buffer_in_use(struct efx_tx_buffer *buffer) in efx_tx_buffer_in_use() argument
21 return buffer->len || (buffer->flags & EFX_TX_BUF_OPTION); in efx_tx_buffer_in_use()
/kernel/linux/linux-6.6/security/keys/
H A Dcompat_dh.c17 char __user *buffer, size_t buflen, in compat_keyctl_dh_compute()
24 return __keyctl_dh_compute(params, buffer, buflen, NULL); in compat_keyctl_dh_compute()
35 return __keyctl_dh_compute(params, buffer, buflen, &kdfcopy); in compat_keyctl_dh_compute()
16 compat_keyctl_dh_compute(struct keyctl_dh_params __user *params, char __user *buffer, size_t buflen, struct compat_keyctl_kdf_params __user *kdf) compat_keyctl_dh_compute() argument

Completed in 18 milliseconds

1...<<919293949596979899100>>...466