Home
last modified time | relevance | path

Searched refs:buffer (Results 2426 - 2450 of 11892) sorted by relevance

1...<<919293949596979899100>>...476

/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
/third_party/ffmpeg/libavcodec/x86/
H A Dalacdsp_init.c24 void ff_alac_decorrelate_stereo_sse4(int32_t *buffer[2], int nb_samples,
26 void ff_alac_append_extra_bits_stereo_sse2(int32_t *buffer[2], int32_t *extra_bits_buffer[2],
28 void ff_alac_append_extra_bits_mono_sse2(int32_t *buffer[2], int32_t *extra_bits_buffer[2],
/third_party/node/test/node-api/test_exception/
H A Dtest_exception.c12 napi_value buffer; in createExternalBuffer() local
14 buffer_data, finalizer, NULL, &buffer)); in createExternalBuffer()
15 return buffer; in createExternalBuffer()
/third_party/node/test/parallel/
H A Dtest-buffer-tojson.js25 const buffer = Buffer.from('test');
26 const string = JSON.stringify(buffer);
34 assert.deepStrictEqual(buffer, JSON.parse(string, receiver));
/third_party/ltp/testcases/kernel/syscalls/getcwd/
H A Dgetcwd01.c29 static char buffer[5]; variable
38 {buffer, 0, EINVAL},
39 {buffer, 1, ERANGE},
/third_party/node/deps/v8/src/third_party/utf8-decoder/
H A Dutf8-decoder.h24 static inline void Decode(uint8_t byte, State* state, uint32_t* buffer) { in Decode() argument
72 *buffer = (*buffer << 6) | (byte & (0x7F >> (type >> 1))); in Decode()
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DLimitedInputStream.cs84 public override int Read(byte[] buffer, int offset, int count) in Read() argument
88 int bytesRead = proxied.Read(buffer, offset, Math.Min(bytesLeft, count)); in Read()
105 public override void Write(byte[] buffer, int offset, int count) in Write() argument
/third_party/skia/third_party/externals/swiftshader/include/Android/vndk/
H A Dwindow.h28 int ANativeWindow_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd);
29 int ANativeWindow_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
30 int ANativeWindow_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
/third_party/skia/third_party/externals/oboe/src/common/
H A DAudioSourceCaller.cpp22 int32_t AudioSourceCaller::onProcessFixedBlock(uint8_t *buffer, int32_t numBytes) { in onProcessFixedBlock() argument
27 DataCallbackResult callbackResult = callback->onAudioReady(mStream, buffer, numFrames); in onProcessFixedBlock()
33 auto readResult = mStream->read(buffer, numFrames, mTimeoutNanos); in onProcessFixedBlock()
H A DTrace.cpp22 static char buffer[256]; variable
40 vsprintf(buffer, format, va); in beginSection()
41 ATrace_beginSection(buffer); in beginSection()
/third_party/skia/src/sksl/
H A DSkSLOutputStream.cpp26 char buffer[kBufferSize]; in appendVAList() local
29 int length = vsnprintf(buffer, kBufferSize, format, args); in appendVAList()
35 this->write(buffer, length); in appendVAList()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/
H A Dmemory_output_stream.h37 virtual void Write(std::vector<uint8_t>* buffer);
38 virtual void Write(std::vector<uint8_t>* buffer, int32_t offset, int32_t length);
39 virtual void Write(uint8_t* buffer, int32_t offset, int32_t length);
H A Doutput_stream.h32 virtual void Write(std::vector<uint8_t>* buffer) = 0;
38 virtual void Write(std::vector<uint8_t>* buffer, int32_t offset, int32_t length) = 0;
40 // Note: Caller is responsible for the boundary of buffer.
41 virtual void Write(uint8_t* buffer, int32_t offset, int32_t length) = 0;
/third_party/skia/third_party/externals/zlib/contrib/tests/fuzzers/
H A Dinflate_fuzzer.cc13 static Bytef buffer[256 * 1024] = {0}; variable
20 uLongf buffer_length = static_cast<uLongf>(sizeof(buffer)); in LLVMFuzzerTestOneInput()
26 stream.next_out = buffer; in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_simple_image.h63 /// Get the buffer for direct processing. (Unique to dng_simple_image.)
65 void GetPixelBuffer (dng_pixel_buffer &buffer) in GetPixelBuffer() argument
67 buffer = fBuffer; in GetPixelBuffer()
72 virtual void AcquireTileBuffer (dng_tile_buffer &buffer,
/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...]
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dline.c31 * Returns the free space inside the ring buffer of this line.
39 if (line->buffer == NULL) in write_room()
42 /* This is for the case where the buffer is wrapped! */ in write_room()
78 * This copies the content of buf into the circular buffer associated with
82 * the circular buffer.
90 if (line->buffer == NULL) { in buffer_data()
91 line->buffer = kmalloc(LINE_BUFSIZE, GFP_ATOMIC); in buffer_data()
92 if (line->buffer == NULL) { in buffer_data()
97 line->head = line->buffer; in buffer_data()
98 line->tail = line->buffer; in buffer_data()
[all...]
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dline.c31 * Returns the free space inside the ring buffer of this line.
39 if (line->buffer == NULL) in write_room()
42 /* This is for the case where the buffer is wrapped! */ in write_room()
78 * This copies the content of buf into the circular buffer associated with
82 * the circular buffer.
90 if (line->buffer == NULL) { in buffer_data()
91 line->buffer = kmalloc(LINE_BUFSIZE, GFP_ATOMIC); in buffer_data()
92 if (line->buffer == NULL) { in buffer_data()
97 line->head = line->buffer; in buffer_data()
98 line->tail = line->buffer; in buffer_data()
[all...]
/kernel/linux/linux-5.10/drivers/usb/storage/
H A Ddatafab.c141 unsigned char *buffer; in datafab_read_data() local
165 // a bounce buffer and move the data a piece at a time between the in datafab_read_data()
166 // bounce buffer and the actual transfer buffer. in datafab_read_data()
169 buffer = kmalloc(alloclen, GFP_NOIO); in datafab_read_data()
170 if (buffer == NULL) in datafab_read_data()
197 result = datafab_bulk_read(us, buffer, len); in datafab_read_data()
201 // Store the data in the transfer buffer in datafab_read_data()
202 usb_stor_access_xfer_buf(buffer, len, us->srb, in datafab_read_data()
209 kfree(buffer); in datafab_read_data()
225 unsigned char *buffer; datafab_write_data() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/storage/
H A Ddatafab.c141 unsigned char *buffer; in datafab_read_data() local
165 // a bounce buffer and move the data a piece at a time between the in datafab_read_data()
166 // bounce buffer and the actual transfer buffer. in datafab_read_data()
169 buffer = kmalloc(alloclen, GFP_NOIO); in datafab_read_data()
170 if (buffer == NULL) in datafab_read_data()
197 result = datafab_bulk_read(us, buffer, len); in datafab_read_data()
201 // Store the data in the transfer buffer in datafab_read_data()
202 usb_stor_access_xfer_buf(buffer, len, us->srb, in datafab_read_data()
209 kfree(buffer); in datafab_read_data()
225 unsigned char *buffer; datafab_write_data() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dmf_utils.c73 // If fill_data!=NULL, initialize the buffer and set the length. (This is a
81 IMFMediaBuffer *buffer; in ff_create_memory_sample() local
89 hr = f->MFCreateAlignedMemoryBuffer(size, align - 1, &buffer); in ff_create_memory_sample()
96 hr = IMFMediaBuffer_Lock(buffer, &tmp, NULL, NULL); in ff_create_memory_sample()
98 IMFMediaBuffer_Release(buffer); in ff_create_memory_sample()
104 IMFMediaBuffer_SetCurrentLength(buffer, size); in ff_create_memory_sample()
105 IMFMediaBuffer_Unlock(buffer); in ff_create_memory_sample()
108 IMFSample_AddBuffer(sample, buffer); in ff_create_memory_sample()
109 IMFMediaBuffer_Release(buffer); in ff_create_memory_sample()
449 UINT8 buffer[10 in ff_attributes_dump() local
[all...]
/third_party/alsa-utils/bat/
H A Dalsa.c43 char *buffer; member
157 /* Set to minimum buffer size and period size in set_snd_pcm_params()
163 fprintf(bat->err, _("buffer size min: %d %s: %s(%d)\n"), in set_snd_pcm_params()
186 fprintf(bat->log, _("Set period size: %d buffer size: %d\n"), in set_snd_pcm_params()
193 fprintf(bat->err, _("buffer size: %d %s: %s(%d)\n"), in set_snd_pcm_params()
213 fprintf(bat->err, _("buffer time: %d %s: %s(%d)\n"), in set_snd_pcm_params()
224 /* Set buffer time and period time */ in set_snd_pcm_params()
229 fprintf(bat->err, _("buffer time: %d %s: %s(%d)\n"), in set_snd_pcm_params()
267 fprintf(bat->err, _("buffer size: %zd %s: %s(%d)\n"), in set_snd_pcm_params()
275 fprintf(bat->err, _("equal to buffer siz in set_snd_pcm_params()
[all...]

Completed in 15 milliseconds

1...<<919293949596979899100>>...476