Home
last modified time | relevance | path

Searched refs:buffer (Results 101 - 125 of 15935) sorted by relevance

12345678910>>...638

/third_party/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_vertex_buffers.c49 /* create buffer */ in vl_vb_upload_quads()
52 quad.buffer.resource = pipe_buffer_create in vl_vb_upload_quads()
61 if(!quad.buffer.resource) in vl_vb_upload_quads()
68 quad.buffer.resource, in vl_vb_upload_quads()
94 /* create buffer */ in vl_vb_upload_pos()
97 pos.buffer.resource = pipe_buffer_create in vl_vb_upload_pos()
106 if(!pos.buffer.resource) in vl_vb_upload_pos()
113 pos.buffer.resource, in vl_vb_upload_pos()
209 vl_vb_init(struct vl_vertex_buffer *buffer, struct pipe_context *pipe, in vl_vb_init() argument
214 assert(buffer); in vl_vb_init()
258 vl_vb_attributes_per_plock(struct vl_vertex_buffer *buffer) vl_vb_attributes_per_plock() argument
264 vl_vb_get_ycbcr(struct vl_vertex_buffer *buffer, int component) vl_vb_get_ycbcr() argument
279 vl_vb_get_mv(struct vl_vertex_buffer *buffer, int motionvector) vl_vb_get_mv() argument
294 vl_vb_map(struct vl_vertex_buffer *buffer, struct pipe_context *pipe) vl_vb_map() argument
323 vl_vb_get_ycbcr_stream(struct vl_vertex_buffer *buffer, int component) vl_vb_get_ycbcr_stream() argument
332 vl_vb_get_mv_stream_stride(struct vl_vertex_buffer *buffer) vl_vb_get_mv_stream_stride() argument
340 vl_vb_get_mv_stream(struct vl_vertex_buffer *buffer, int ref_frame) vl_vb_get_mv_stream() argument
349 vl_vb_unmap(struct vl_vertex_buffer *buffer, struct pipe_context *pipe) vl_vb_unmap() argument
367 vl_vb_cleanup(struct vl_vertex_buffer *buffer) vl_vb_cleanup() argument
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/
H A Dcma_heap.c51 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_attach() local
60 ret = sg_alloc_table_from_pages(&a->table, buffer->pages, buffer->pagecount, 0, buffer->pagecount << PAGE_SHIFT, in cma_heap_attach()
73 mutex_lock(&buffer->lock); in cma_heap_attach()
74 list_add(&a->list, &buffer->attachments); in cma_heap_attach()
75 mutex_unlock(&buffer->lock); in cma_heap_attach()
82 struct cma_heap_buffer *buffer = dmabuf->priv; in cma_heap_detach() local
85 mutex_lock(&buffer->lock); in cma_heap_detach()
87 mutex_unlock(&buffer in cma_heap_detach()
118 struct cma_heap_buffer *buffer = dmabuf->priv; cma_heap_dma_buf_begin_cpu_access() local
140 struct cma_heap_buffer *buffer = dmabuf->priv; cma_heap_dma_buf_end_cpu_access() local
163 struct cma_heap_buffer *buffer = vma->vm_private_data; cma_heap_vm_fault() local
181 struct cma_heap_buffer *buffer = dmabuf->priv; cma_heap_mmap() local
193 cma_heap_do_vmap(struct cma_heap_buffer *buffer) cma_heap_do_vmap() argument
207 struct cma_heap_buffer *buffer = dmabuf->priv; cma_heap_vmap() local
232 struct cma_heap_buffer *buffer = dmabuf->priv; cma_heap_vunmap() local
244 struct cma_heap_buffer *buffer = dmabuf->priv; cma_heap_dma_buf_release() local
276 struct cma_heap_buffer *buffer; cma_heap_allocate() local
[all...]
H A Dsystem_heap.c94 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_attach() local
103 table = dup_sg_table(&buffer->sg_table); in system_heap_attach()
113 a->uncached = buffer->uncached; in system_heap_attach()
116 mutex_lock(&buffer->lock); in system_heap_attach()
117 list_add(&a->list, &buffer->attachments); in system_heap_attach()
118 mutex_unlock(&buffer->lock); in system_heap_attach()
125 struct system_heap_buffer *buffer = dmabuf->priv; in system_heap_detach() local
128 mutex_lock(&buffer->lock); in system_heap_detach()
130 mutex_unlock(&buffer->lock); in system_heap_detach()
173 struct system_heap_buffer *buffer in system_heap_dma_buf_begin_cpu_access() local
198 struct system_heap_buffer *buffer = dmabuf->priv; system_heap_dma_buf_end_cpu_access() local
223 struct system_heap_buffer *buffer = dmabuf->priv; system_heap_mmap() local
249 system_heap_do_vmap(struct system_heap_buffer *buffer) system_heap_do_vmap() argument
285 struct system_heap_buffer *buffer = dmabuf->priv; system_heap_vmap() local
310 struct system_heap_buffer *buffer = dmabuf->priv; system_heap_vunmap() local
320 system_heap_zero_buffer(struct system_heap_buffer *buffer) system_heap_zero_buffer() argument
341 struct system_heap_buffer *buffer; system_heap_buf_free() local
376 struct system_heap_buffer *buffer = dmabuf->priv; system_heap_dma_buf_release() local
419 struct system_heap_buffer *buffer; system_heap_do_allocate() local
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-buffer-deserialize-text.hh2 #line 1 "hb-buffer-deserialize-text.rl"
35 #line 36 "hb-buffer-deserialize-text.hh"
404 #line 114 "hb-buffer-deserialize-text.rl"
408 _hb_buffer_deserialize_text (hb_buffer_t *buffer, in _hb_buffer_deserialize_text() argument
417 (void) hb_buffer_get_glyph_positions (buffer, nullptr); in _hb_buffer_deserialize_text()
427 #line 428 "hb-buffer-deserialize-text.hh" in _hb_buffer_deserialize_text()
432 #line 433 "hb-buffer-deserialize-text.hh" in _hb_buffer_deserialize_text()
458 #line 38 "hb-buffer-deserialize-text.rl" in _hb_buffer_deserialize_text()
465 #line 51 "hb-buffer-deserialize-text.rl" in _hb_buffer_deserialize_text()
471 #line 55 "hb-buffer in _hb_buffer_deserialize_text()
[all...]
H A Dhb-buffer-deserialize-json.hh2 #line 1 "hb-buffer-deserialize-json.rl"
35 #line 36 "hb-buffer-deserialize-json.hh"
484 #line 108 "hb-buffer-deserialize-json.rl"
488 _hb_buffer_deserialize_json (hb_buffer_t *buffer, in _hb_buffer_deserialize_json() argument
497 (void) hb_buffer_get_glyph_positions (buffer, nullptr); in _hb_buffer_deserialize_json()
501 if (p < pe && *p == (buffer->len ? ',' : '[')) in _hb_buffer_deserialize_json()
511 #line 512 "hb-buffer-deserialize-json.hh" in _hb_buffer_deserialize_json()
516 #line 517 "hb-buffer-deserialize-json.hh" in _hb_buffer_deserialize_json()
542 #line 38 "hb-buffer-deserialize-json.rl" in _hb_buffer_deserialize_json()
549 #line 43 "hb-buffer in _hb_buffer_deserialize_json()
[all...]
/third_party/libuv/test/
H A Dtest-tty-escape-sequence-processing.c381 char buffer[1024]; in TEST_IMPL() local
394 snprintf(buffer, sizeof(buffer), "%sA", CSI); in TEST_IMPL()
395 write_console(&tty_out, buffer); in TEST_IMPL()
402 snprintf(buffer, sizeof(buffer), "%s%dA", CSI, si.height / 4); in TEST_IMPL()
403 write_console(&tty_out, buffer); in TEST_IMPL()
412 snprintf(buffer, sizeof(buffer), "%sA", CSI); in TEST_IMPL()
413 write_console(&tty_out, buffer); in TEST_IMPL()
432 char buffer[1024]; TEST_IMPL() local
483 char buffer[1024]; TEST_IMPL() local
544 char buffer[1024]; TEST_IMPL() local
605 char buffer[1024]; TEST_IMPL() local
656 char buffer[1024]; TEST_IMPL() local
707 char buffer[1024]; TEST_IMPL() local
753 char buffer[1024]; TEST_IMPL() local
808 char buffer[1024]; TEST_IMPL() local
844 char buffer[1024]; TEST_IMPL() local
918 char buffer[1024]; TEST_IMPL() local
991 char buffer[1024]; TEST_IMPL() local
1250 char buffer[1024]; TEST_IMPL() local
1308 char buffer[1024]; TEST_IMPL() local
[all...]
H A Dtest-get-currentexe.c42 char buffer[PATHMAX]; in TEST_IMPL() local
48 size = sizeof(buffer) / sizeof(buffer[0]); in TEST_IMPL()
49 r = uv_exepath(buffer, &size); in TEST_IMPL()
58 match = strstr(buffer, path); in TEST_IMPL()
63 ASSERT_EQ(size, strlen(buffer)); in TEST_IMPL()
66 size = sizeof(buffer) / sizeof(buffer[0]); in TEST_IMPL()
70 r = uv_exepath(buffer, NULL); in TEST_IMPL()
74 r = uv_exepath(buffer, in TEST_IMPL()
[all...]
/kernel/linux/linux-6.6/sound/pci/emu10k1/
H A Demuproc.c19 struct snd_info_buffer *buffer, in snd_emu10k1_proc_spdif_status()
32 snd_iprintf(buffer, "\n%s\n", title); in snd_emu10k1_proc_spdif_status()
35 snd_iprintf(buffer, "Professional Mode : %s\n", (status & SPCS_PROFESSIONAL) ? "yes" : "no"); in snd_emu10k1_proc_spdif_status()
36 snd_iprintf(buffer, "Not Audio Data : %s\n", (status & SPCS_NOTAUDIODATA) ? "yes" : "no"); in snd_emu10k1_proc_spdif_status()
37 snd_iprintf(buffer, "Copyright : %s\n", (status & SPCS_COPYRIGHT) ? "yes" : "no"); in snd_emu10k1_proc_spdif_status()
38 snd_iprintf(buffer, "Emphasis : %s\n", emphasis[(status & SPCS_EMPHASISMASK) >> 3]); in snd_emu10k1_proc_spdif_status()
39 snd_iprintf(buffer, "Mode : %i\n", (status & SPCS_MODEMASK) >> 6); in snd_emu10k1_proc_spdif_status()
40 snd_iprintf(buffer, "Category Code : 0x%x\n", (status & SPCS_CATEGORYCODEMASK) >> 8); in snd_emu10k1_proc_spdif_status()
41 snd_iprintf(buffer, "Generation Status : %s\n", status & SPCS_GENERATIONSTATUS ? "original" : "copy"); in snd_emu10k1_proc_spdif_status()
42 snd_iprintf(buffer, "Sourc in snd_emu10k1_proc_spdif_status()
18 snd_emu10k1_proc_spdif_status(struct snd_emu10k1 * emu, struct snd_info_buffer *buffer, char *title, int status_reg, int rate_reg) snd_emu10k1_proc_spdif_status() argument
61 snd_emu10k1_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_emu10k1_proc_read() argument
160 snd_emu10k1_proc_spdif_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_emu10k1_proc_spdif_read() argument
212 snd_emu10k1_proc_rates_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_emu10k1_proc_rates_read() argument
300 disasm_emu10k1_reg(char *buffer, const struct emu10k1_reg_entry *entries, unsigned reg, const char *pfx) disasm_emu10k1_reg() argument
319 disasm_sblive_reg(char *buffer, unsigned reg, const char *pfx) disasm_sblive_reg() argument
324 disasm_audigy_reg(char *buffer, unsigned reg, const char *pfx) disasm_audigy_reg() argument
329 snd_emu10k1_proc_acode_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_emu10k1_proc_acode_read() argument
423 snd_emu10k1_proc_voices_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_emu10k1_proc_voices_read() argument
447 snd_emu_proc_emu1010_link_read(struct snd_emu10k1 *emu, struct snd_info_buffer *buffer, u32 dst) snd_emu_proc_emu1010_link_read() argument
455 snd_emu_proc_emu1010_reg_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_emu_proc_emu1010_reg_read() argument
501 snd_emu_proc_io_reg_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_emu_proc_io_reg_read() argument
514 snd_emu_proc_io_reg_write(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_emu_proc_io_reg_write() argument
562 snd_emu_proc_ptr_reg_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer, int iobase, int offset, int length, int voices) snd_emu_proc_ptr_reg_read() argument
583 snd_emu_proc_ptr_reg_write(struct snd_info_entry *entry, struct snd_info_buffer *buffer, int iobase, int length, int voices) snd_emu_proc_ptr_reg_write() argument
598 snd_emu_proc_ptr_reg_write00(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_emu_proc_ptr_reg_write00() argument
604 snd_emu_proc_ptr_reg_write20(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_emu_proc_ptr_reg_write20() argument
613 snd_emu_proc_ptr_reg_read00a(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_emu_proc_ptr_reg_read00a() argument
619 snd_emu_proc_ptr_reg_read00b(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_emu_proc_ptr_reg_read00b() argument
625 snd_emu_proc_ptr_reg_read20a(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_emu_proc_ptr_reg_read20a() argument
631 snd_emu_proc_ptr_reg_read20b(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_emu_proc_ptr_reg_read20b() argument
637 snd_emu_proc_ptr_reg_read20c(struct snd_info_entry *entry, struct snd_info_buffer * buffer) snd_emu_proc_ptr_reg_read20c() argument
[all...]
/foundation/graphic/surface_lite/frameworks/
H A Dbuffer_manager.cpp98 BufferHandle* BufferManager::AllocateBufferHandle(SurfaceBufferImpl& buffer) const in AllocateBufferHandle()
100 uint32_t total = buffer.GetReserveFds() + buffer.GetReserveInts() + sizeof(BufferHandle); in AllocateBufferHandle()
103 bufferHandle->fd = buffer.GetKey(); in AllocateBufferHandle()
104 bufferHandle->phyAddr = buffer.GetPhyAddr(); in AllocateBufferHandle()
105 bufferHandle->size = buffer.GetSize(); in AllocateBufferHandle()
106 if (!ConvertUsage(bufferHandle->usage, buffer.GetUsage())) { in AllocateBufferHandle()
111 bufferHandle->virAddr = buffer.GetVirAddr(); in AllocateBufferHandle()
112 bufferHandle->reserveFds = buffer.GetReserveFds(); in AllocateBufferHandle()
113 bufferHandle->reserveInts = buffer in AllocateBufferHandle()
130 SurfaceBufferImpl* buffer = new SurfaceBufferImpl(); AllocBuffer() local
163 SurfaceBufferImpl* buffer = AllocBuffer(info); AllocBuffer() local
186 SurfaceBufferImpl* buffer = AllocBuffer(info); AllocBuffer() local
195 FreeBuffer(SurfaceBufferImpl** buffer) FreeBuffer() argument
[all...]
/kernel/linux/linux-6.6/drivers/iio/
H A Dindustrialio-buffer.c6 * Handling of buffer allocation / resizing.
28 #include <linux/iio/buffer.h>
65 /* drain the buffer if it was disabled */ in iio_buffer_ready()
94 * iio_buffer_read() - chrdev read for buffer access
96 * @buf: Destination buffer for iio buffer read
100 * This function relies on all buffer implementations having an
110 struct iio_buffer *rb = ib->buffer; in iio_buffer_read()
130 * buffer, so signal end of file now. in iio_buffer_read()
179 struct iio_buffer *rb = ib->buffer; in iio_buffer_write()
313 struct iio_buffer *buffer; iio_buffer_wakeup_poll() local
322 iio_pop_from_buffer(struct iio_buffer *buffer, void *data) iio_pop_from_buffer() argument
331 iio_buffer_init(struct iio_buffer *buffer) iio_buffer_init() argument
345 struct iio_buffer *buffer; iio_device_detach_buffers() local
399 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; iio_scan_el_show() local
448 iio_scan_mask_set(struct iio_dev *indio_dev, struct iio_buffer *buffer, int bit) iio_scan_mask_set() argument
486 iio_scan_mask_clear(struct iio_buffer *buffer, int bit) iio_scan_mask_clear() argument
492 iio_scan_mask_query(struct iio_dev *indio_dev, struct iio_buffer *buffer, int bit) iio_scan_mask_query() argument
515 struct iio_buffer *buffer = this_attr->buffer; iio_scan_el_store() local
548 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; iio_scan_el_ts_show() local
561 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; iio_scan_el_ts_store() local
580 iio_buffer_add_channel_sysfs(struct iio_dev *indio_dev, struct iio_buffer *buffer, const struct iio_chan_spec *chan) iio_buffer_add_channel_sysfs() argument
640 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; length_show() local
650 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; length_store() local
681 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; enable_show() local
733 iio_buffer_activate(struct iio_dev *indio_dev, struct iio_buffer *buffer) iio_buffer_activate() argument
742 iio_buffer_deactivate(struct iio_buffer *buffer) iio_buffer_deactivate() argument
752 struct iio_buffer *buffer, *_buffer; iio_buffer_deactivate_all() local
759 iio_buffer_enable(struct iio_buffer *buffer, struct iio_dev *indio_dev) iio_buffer_enable() argument
767 iio_buffer_disable(struct iio_buffer *buffer, struct iio_dev *indio_dev) iio_buffer_disable() argument
775 iio_buffer_update_bytes_per_datum(struct iio_dev *indio_dev, struct iio_buffer *buffer) iio_buffer_update_bytes_per_datum() argument
789 iio_buffer_request_update(struct iio_dev *indio_dev, struct iio_buffer *buffer) iio_buffer_request_update() argument
833 struct iio_buffer *buffer; iio_verify_update() local
946 iio_buffer_demux_free(struct iio_buffer *buffer) iio_buffer_demux_free() argument
956 iio_buffer_add_demux(struct iio_buffer *buffer, struct iio_demux_table **p, unsigned int in_loc, unsigned int out_loc, unsigned int length) iio_buffer_add_demux() argument
977 iio_buffer_update_demux(struct iio_dev *indio_dev, struct iio_buffer *buffer) iio_buffer_update_demux() argument
1045 struct iio_buffer *buffer; iio_update_demux() local
1066 struct iio_buffer *buffer, *tmp = NULL; iio_enable_buffers() local
1151 struct iio_buffer *buffer; iio_disable_buffers() local
1306 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; enable_store() local
1334 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; watermark_show() local
1345 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; watermark_store() local
1377 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; data_available_show() local
1386 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; direction_show() local
1422 iio_buffer_wrap_attr(struct iio_buffer *buffer, struct attribute *attr) iio_buffer_wrap_attr() argument
1510 struct iio_buffer *buffer = ib->buffer; iio_buffer_chrdev_release() local
1535 struct iio_buffer *buffer; iio_device_buffer_getfd() local
1605 __iio_buffer_alloc_sysfs_and_mask(struct iio_buffer *buffer, struct iio_dev *indio_dev, int index) __iio_buffer_alloc_sysfs_and_mask() argument
1735 __iio_buffer_free_sysfs_and_mask(struct iio_buffer *buffer, struct iio_dev *indio_dev, int index) __iio_buffer_free_sysfs_and_mask() argument
1751 struct iio_buffer *buffer; iio_buffers_alloc_sysfs_and_mask() local
1798 struct iio_buffer *buffer; iio_buffers_free_sysfs_and_mask() local
1829 iio_demux(struct iio_buffer *buffer, const void *datain) iio_demux() argument
1843 iio_push_to_buffer(struct iio_buffer *buffer, const void *data) iio_push_to_buffer() argument
1938 struct iio_buffer *buffer = container_of(ref, struct iio_buffer, ref); iio_buffer_release() local
1949 iio_buffer_get(struct iio_buffer *buffer) iio_buffer_get() argument
1962 iio_buffer_put(struct iio_buffer *buffer) iio_buffer_put() argument
1982 iio_device_attach_buffer(struct iio_dev *indio_dev, struct iio_buffer *buffer) iio_device_attach_buffer() argument
[all...]
/third_party/mesa3d/src/imagination/vulkan/pds/
H A Dpvr_pds.c524 * \param buffer Pointer to the buffer for the program.
527 * \returns Pointer to just beyond the buffer for the program.
531 uint32_t *restrict buffer, in pvr_pds_generate_pixel_event()
536 uint32_t *constants = buffer; in pvr_pds_generate_pixel_event()
558 pvr_pds_write_wide_constant(buffer, in pvr_pds_generate_pixel_event()
590 *buffer++ = pvr_pds_encode_doutw64( in pvr_pds_generate_pixel_event()
599 *buffer++ = pvr_pds_encode_doutu( in pvr_pds_generate_pixel_event()
616 return buffer; in pvr_pds_generate_pixel_event()
688 * \param buffer Pointe
530 pvr_pds_generate_pixel_event(struct pvr_pds_event_program *restrict program, uint32_t *restrict buffer, enum pvr_pds_generate_mode gen_mode, const struct pvr_device_info *dev_info) pvr_pds_generate_pixel_event() argument
699 pvr_pds_vertex_shader(struct pvr_pds_vertex_shader_program *restrict program, uint32_t *restrict buffer, enum pvr_pds_generate_mode gen_mode, const struct pvr_device_info *dev_info) pvr_pds_vertex_shader() argument
1750 pvr_pds_compute_shader(struct pvr_pds_compute_shader_program *restrict program, uint32_t *restrict buffer, enum pvr_pds_generate_mode gen_mode, const struct pvr_device_info *dev_info) pvr_pds_compute_shader() argument
2384 pvr_pds_vertex_shader_sa( struct pvr_pds_vertex_shader_sa_program *restrict program, uint32_t *restrict buffer, enum pvr_pds_generate_mode gen_mode, const struct pvr_device_info *dev_info) pvr_pds_vertex_shader_sa() argument
2668 pvr_pds_pixel_shader_uniform_texture_code( struct pvr_pds_pixel_shader_sa_program *restrict program, uint32_t *restrict buffer, enum pvr_pds_generate_mode gen_mode) pvr_pds_pixel_shader_uniform_texture_code() argument
3037 pvr_pds_pixel_shader_uniform_texture_data( struct pvr_pds_pixel_shader_sa_program *restrict program, uint32_t *restrict buffer, enum pvr_pds_generate_mode gen_mode, bool uniform, const struct pvr_device_info *dev_info) pvr_pds_pixel_shader_uniform_texture_data() argument
3417 pvr_pds_generate_doutc(struct pvr_pds_fence_program *restrict program, uint32_t *restrict buffer, enum pvr_pds_generate_mode gen_mode) pvr_pds_generate_doutc() argument
3485 pvr_pds_generate_doutw(struct pvr_pds_doutw_control *restrict control, uint32_t *restrict buffer, enum pvr_pds_generate_mode gen_mode, const struct pvr_device_info *dev_info) pvr_pds_generate_doutw() argument
3596 pvr_pds_kick_usc(struct pvr_pds_kickusc_program *restrict program, uint32_t *restrict buffer, uint32_t start_next_constant, bool cc_enabled, enum pvr_pds_generate_mode gen_mode) pvr_pds_kick_usc() argument
3668 pvr_pds_generate_compute_barrier_conditional( uint32_t *buffer, enum pvr_pds_generate_mode gen_mode) pvr_pds_generate_compute_barrier_conditional() argument
3712 pvr_pds_generate_shared_storing_program( struct pvr_pds_shared_storing_program *restrict program, uint32_t *restrict buffer, enum pvr_pds_generate_mode gen_mode, const struct pvr_device_info *dev_info) pvr_pds_generate_shared_storing_program() argument
3768 pvr_pds_generate_fence_terminate_program( struct pvr_pds_fence_program *restrict program, uint32_t *restrict buffer, enum pvr_pds_generate_mode gen_mode, const struct pvr_device_info *dev_info) pvr_pds_generate_fence_terminate_program() argument
3871 pvr_pds_generate_compute_shared_loading_program( struct pvr_pds_shared_storing_program *restrict program, uint32_t *restrict buffer, enum pvr_pds_generate_mode gen_mode, const struct pvr_device_info *dev_info) pvr_pds_generate_compute_shared_loading_program() argument
3988 pvr_pds_coefficient_loading( struct pvr_pds_coeff_loading_program *restrict program, uint32_t *restrict buffer, enum pvr_pds_generate_mode gen_mode) pvr_pds_coefficient_loading() argument
4093 pvr_pds_generate_single_ldst_instruction( bool ld, const struct pvr_pds_ldst_control *control, uint32_t temp_index, uint64_t address, uint32_t count, uint32_t *next_constant, uint32_t *total_data_size, uint32_t *total_code_size, uint32_t *restrict buffer, bool data_fence, enum pvr_pds_generate_mode gen_mode, const struct pvr_device_info *dev_info) pvr_pds_generate_single_ldst_instruction() argument
4280 pvr_pds_generate_stream_out_init_program( struct pvr_pds_stream_out_init_program *restrict program, uint32_t *restrict buffer, bool store_mode, enum pvr_pds_generate_mode gen_mode, const struct pvr_device_info *dev_info) pvr_pds_generate_stream_out_init_program() argument
4367 pvr_pds_generate_stream_out_terminate_program( struct pvr_pds_stream_out_terminate_program *restrict program, uint32_t *restrict buffer, enum pvr_pds_generate_mode gen_mode, const struct pvr_device_info *dev_info) pvr_pds_generate_stream_out_terminate_program() argument
4497 pvr_pds_generate_draw_arrays_indirect( struct pvr_pds_drawindirect_program *restrict program, uint32_t *restrict buffer, enum pvr_pds_generate_mode gen_mode, const struct pvr_device_info *dev_info) pvr_pds_generate_draw_arrays_indirect() argument
4787 pvr_pds_generate_draw_elements_indirect( struct pvr_pds_drawindirect_program *restrict program, uint32_t *restrict buffer, enum pvr_pds_generate_mode gen_mode, const struct pvr_device_info *dev_info) pvr_pds_generate_draw_elements_indirect() argument
[all...]
/kernel/linux/linux-5.10/sound/usb/6fire/
H A Dcomm.c22 u8 *buffer, void *context, void(*handler)(struct urb *urb)) in usb6fire_comm_init_urb()
25 urb->transfer_buffer = buffer; in usb6fire_comm_init_urb()
55 static void usb6fire_comm_init_buffer(u8 *buffer, u8 id, u8 request, in usb6fire_comm_init_buffer() argument
58 buffer[0] = 0x01; in usb6fire_comm_init_buffer()
59 buffer[2] = request; in usb6fire_comm_init_buffer()
60 buffer[3] = id; in usb6fire_comm_init_buffer()
63 buffer[1] = 0x05; /* length (starting at buffer[2]) */ in usb6fire_comm_init_buffer()
64 buffer[4] = reg; in usb6fire_comm_init_buffer()
65 buffer[ in usb6fire_comm_init_buffer()
21 usb6fire_comm_init_urb(struct comm_runtime *rt, struct urb *urb, u8 *buffer, void *context, void(*handler)(struct urb *urb)) usb6fire_comm_init_urb() argument
92 usb6fire_comm_send_buffer(u8 *buffer, struct usb_device *dev) usb6fire_comm_send_buffer() argument
109 u8 *buffer; usb6fire_comm_write8() local
127 u8 *buffer; usb6fire_comm_write16() local
[all...]
/kernel/linux/linux-6.6/sound/usb/6fire/
H A Dcomm.c22 u8 *buffer, void *context, void(*handler)(struct urb *urb)) in usb6fire_comm_init_urb()
25 urb->transfer_buffer = buffer; in usb6fire_comm_init_urb()
55 static void usb6fire_comm_init_buffer(u8 *buffer, u8 id, u8 request, in usb6fire_comm_init_buffer() argument
58 buffer[0] = 0x01; in usb6fire_comm_init_buffer()
59 buffer[2] = request; in usb6fire_comm_init_buffer()
60 buffer[3] = id; in usb6fire_comm_init_buffer()
63 buffer[1] = 0x05; /* length (starting at buffer[2]) */ in usb6fire_comm_init_buffer()
64 buffer[4] = reg; in usb6fire_comm_init_buffer()
65 buffer[ in usb6fire_comm_init_buffer()
21 usb6fire_comm_init_urb(struct comm_runtime *rt, struct urb *urb, u8 *buffer, void *context, void(*handler)(struct urb *urb)) usb6fire_comm_init_urb() argument
92 usb6fire_comm_send_buffer(u8 *buffer, struct usb_device *dev) usb6fire_comm_send_buffer() argument
109 u8 *buffer; usb6fire_comm_write8() local
127 u8 *buffer; usb6fire_comm_write16() local
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/cpia2/
H A Dcpia2_core.c167 cmd.buffer.block_data[0] = param; in cpia2_do_command()
178 cmd.buffer.block_data[0] = param; in cpia2_do_command()
186 cmd.buffer.block_data[0] = param; in cpia2_do_command()
197 cmd.buffer.block_data[0] = param; in cpia2_do_command()
205 cmd.buffer.block_data[0] = param; in cpia2_do_command()
213 cmd.buffer.block_data[0] = param; in cpia2_do_command()
221 cmd.buffer.block_data[0] = param; in cpia2_do_command()
233 cmd.buffer.block_data[0] = param; in cpia2_do_command()
236 cmd.buffer.block_data[0] = param; in cpia2_do_command()
247 cmd.buffer in cpia2_do_command()
529 u8 *buffer; cpia2_send_command() local
[all...]
/kernel/linux/linux-5.10/arch/sparc/boot/
H A Dpiggyback.c104 char buffer[1024]; in get_start_end() local
111 while (fgets(buffer, 1024, map)) { in get_start_end()
112 if (start_line(buffer)) in get_start_end()
113 *start = strtoul(buffer, NULL, 16); in get_start_end()
114 else if (end_line(buffer)) in get_start_end()
115 *end = strtoul(buffer, NULL, 16); in get_start_end()
137 char buffer[BUFSIZE]; in get_hdrs_offset() local
143 if (read(kernelfd, buffer, BUFSIZE) != BUFSIZE) in get_hdrs_offset()
146 if (buffer[40] == 'H' && buffer[4 in get_hdrs_offset()
176 char buffer[1024]; main() local
[all...]
/kernel/linux/linux-6.6/arch/sparc/boot/
H A Dpiggyback.c104 char buffer[1024]; in get_start_end() local
111 while (fgets(buffer, 1024, map)) { in get_start_end()
112 if (start_line(buffer)) in get_start_end()
113 *start = strtoul(buffer, NULL, 16); in get_start_end()
114 else if (end_line(buffer)) in get_start_end()
115 *end = strtoul(buffer, NULL, 16); in get_start_end()
137 char buffer[BUFSIZE]; in get_hdrs_offset() local
143 if (read(kernelfd, buffer, BUFSIZE) != BUFSIZE) in get_hdrs_offset()
146 if (buffer[40] == 'H' && buffer[4 in get_hdrs_offset()
180 char buffer[1024]; main() local
[all...]
/third_party/rust/crates/clap/clap_complete_fig/src/
H A Dfig.rs19 let mut buffer = String::new(); in generate() variables
22 &mut buffer, in generate()
29 &mut buffer, in generate()
35 gen_fig_inner(&[], 2, cmd, &mut buffer); in generate()
37 write!(&mut buffer, "}};\n\nexport default completion;\n").unwrap(); in generate()
39 buf.write_all(buffer.as_bytes()) in generate()
54 fn gen_fig_inner(parent_commands: &[&str], indent: usize, cmd: &Command, buffer: &mut String) { in gen_fig_inner()
56 write!(buffer, "{:indent$}subcommands: [\n", "", indent = indent).unwrap(); in gen_fig_inner()
64 buffer, in gen_fig_inner()
72 buffer in gen_fig_inner()
140 let mut buffer = String::new(); gen_options() variables
360 let mut buffer = String::new(); gen_args() variables
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_browse.cpp91 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt_))); in AssemblePacket() local
94 offset += PushOctets1((buffer + offset), pduId_); in AssemblePacket()
97 offset += PushOctets2((buffer + offset), parameterLength_); in AssemblePacket()
100 PushOctets2((buffer + offset), playerId_); in AssemblePacket()
113 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt))); in DisassemblePacket() local
117 offset += PopOctets1((buffer + offset), payload); in DisassemblePacket()
121 offset += PopOctets2((buffer + offset), payload); in DisassemblePacket()
125 offset += PopOctets1((buffer + offset), payload); in DisassemblePacket()
129 offset += PopOctets2((buffer + offset), payload); in DisassemblePacket()
133 offset += PopOctets4((buffer in DisassemblePacket()
157 DisassemblePacketName(uint8_t *buffer, uint16_t offset) DisassemblePacketName() argument
222 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt_))); AssemblePacket() local
250 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt))); DisassemblePacket() local
323 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt_))); AssemblePacket() local
365 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt))); DisassemblePacket() local
416 DisassembleMpParameter(uint8_t *buffer) DisassembleMpParameter() argument
472 DisassembleMpParameterName(uint8_t *buffer, uint16_t offset, std::string &name) DisassembleMpParameterName() argument
500 DisassembleMeParameter(uint8_t *buffer) DisassembleMeParameter() argument
552 DisassembleMeParameterName(uint8_t *buffer, uint16_t offset, std::string &name) DisassembleMeParameterName() argument
581 DisassembleMeParameterAttributesAndValues(uint8_t *buffer, uint16_t offset, uint8_t itemType, std::vector<uint32_t> &attributes, std::vector<std::string> &values) DisassembleMeParameterAttributesAndValues() argument
673 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt_))); AssemblePacket() local
710 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt))); DisassemblePacket() local
753 DisassemblePacketName(uint8_t *buffer, uint16_t &offset) DisassemblePacketName() argument
813 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt_))); AssemblePacket() local
835 auto buffer = static_cast<uint8_t *>(BufferPtr(PacketContinuousPayload(pkt))); DisassemblePacket() local
[all...]
/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dsurface_buffer_impl_test.cpp41 static inline sptr<SurfaceBuffer> buffer = nullptr; member in OHOS::Rosen::SurfaceBufferImplTest
48 buffer = nullptr; in SetUpTestCase()
55 buffer = nullptr; in TearDownTestCase()
70 buffer = new SurfaceBufferImpl(); in HWTEST_F()
71 int oldSeq = buffer->GetSeqNum(); in HWTEST_F()
73 buffer = new SurfaceBufferImpl(); in HWTEST_F()
74 ASSERT_EQ(oldSeq + 1, buffer->GetSeqNum()); in HWTEST_F()
76 buffer->SetConsumerAttachBufferFlag(false); in HWTEST_F()
77 ASSERT_EQ(buffer->GetConsumerAttachBufferFlag(), false); in HWTEST_F()
78 buffer in HWTEST_F()
148 sptr<SurfaceBuffer> buffer = nullptr; HWTEST_F() local
164 sptr<SurfaceBuffer> buffer = SurfaceBuffer::Create(); HWTEST_F() local
[all...]
/third_party/skia/tests/
H A DSkRasterPipelineTest.cpp106 float buffer[4][4]; in DEF_TEST() local
109 dst = { &buffer[0][0], 0 }; in DEF_TEST()
112 memset(buffer, 0xff, sizeof(buffer)); in DEF_TEST()
119 if (buffer[j][k] != data[j][k]) { in DEF_TEST()
120 ERRORF(r, "(%u, %u) - a: %g r: %g\n", j, k, data[j][k], buffer[j][k]); in DEF_TEST()
125 for (auto f : buffer[j]) { in DEF_TEST()
140 float buffer[4][4]; in DEF_TEST() local
143 dst = { &buffer[0][0], 0 }; in DEF_TEST()
146 memset(buffer, in DEF_TEST()
180 float buffer[4][2]; DEF_TEST() local
213 alignas(8) uint16_t buffer[4][4]; DEF_TEST() local
243 alignas(8) uint16_t buffer[4][4]; DEF_TEST() local
272 alignas(8) uint16_t buffer[4]; DEF_TEST() local
298 alignas(8) uint16_t buffer[4][2]; DEF_TEST() local
326 alignas(8) uint16_t buffer[4][4]; DEF_TEST() local
357 uint8_t buffer[4][4]; DEF_TEST() local
391 uint8_t buffer[4][4]; DEF_TEST() local
420 alignas(8) uint16_t buffer[4]; DEF_TEST() local
447 alignas(8) uint16_t buffer[4][4]; DEF_TEST() local
534 uint16_t buffer[64][4]; DEF_TEST() local
[all...]
/third_party/protobuf/src/google/protobuf/io/
H A Dprinter_unittest.cc51 // where particular writes cross a buffer boundary and cases where they do
55 char buffer[8192]; in TEST() local
57 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size); in TEST()
63 char buffer[8192]; in TEST() local
66 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
78 buffer[output.ByteCount()] = '\0'; in TEST()
84 buffer); in TEST()
89 char buffer[819 in TEST() local
118 char buffer[8192]; TEST() local
155 char buffer[8192]; TEST() local
211 char buffer[8192]; TEST() local
254 char buffer[8192]; TEST() local
294 char buffer[8192]; TEST() local
318 char buffer[8192]; TEST() local
343 char buffer[8192]; TEST() local
367 char buffer[8192]; TEST() local
416 char buffer[8192]; TEST() local
443 char buffer[8192]; TEST() local
498 char buffer[8192]; TEST() local
509 char buffer[8192]; TEST() local
524 char buffer[8192]; TEST() local
539 char buffer[8192]; TEST() local
556 char buffer[17]; TEST() local
580 char buffer[16]; TEST() local
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/string/string_gtest/
H A Dstring_strcpy_test.cpp23 char buffer[BUF_SIZE]; in HWTEST_F() local
25 memset(buffer, 'B', sizeof(buffer)); in HWTEST_F()
26 EXPECT_TRUE(strcpy(buffer, ptr) == buffer); in HWTEST_F()
27 EXPECT_TRUE(buffer[9] == 'B'); in HWTEST_F()
28 EXPECT_TRUE(buffer[8] == 'B'); in HWTEST_F()
29 EXPECT_TRUE(buffer[7] == 'B'); in HWTEST_F()
30 EXPECT_TRUE(buffer[6] == 'B'); in HWTEST_F()
43 char buffer[BUF_SIZ in HWTEST_F() local
58 char buffer[BUF_SIZE]; HWTEST_F() local
[all...]
/third_party/alsa-lib/src/
H A Doutput.c121 * \c fflush. If the underlying destination is a memory buffer, the write
122 * position is reset to the beginning of the buffer. \c =:-o
242 snd_output_buffer_t *buffer = output->private_data; in snd_output_buffer_close() local
243 free(buffer->buf); in snd_output_buffer_close()
244 free(buffer); in snd_output_buffer_close()
250 snd_output_buffer_t *buffer = output->private_data; in snd_output_buffer_need() local
251 size_t _free = buffer->alloc - buffer->size; in snd_output_buffer_need()
260 if (buffer->alloc == 0) in snd_output_buffer_need()
263 alloc = buffer in snd_output_buffer_need()
276 snd_output_buffer_t *buffer = output->private_data; snd_output_buffer_print() local
300 snd_output_buffer_t *buffer = output->private_data; snd_output_buffer_puts() local
313 snd_output_buffer_t *buffer = output->private_data; snd_output_buffer_putc() local
324 snd_output_buffer_t *buffer = output->private_data; snd_output_buffer_flush() local
350 snd_output_buffer_t *buffer = output->private_data; snd_output_buffer_string() local
367 snd_output_buffer_t *buffer = output->private_data; snd_output_buffer_steal() local
386 snd_output_buffer_t *buffer; snd_output_buffer_open() local
[all...]
/third_party/icu/vendor/double-conversion/upstream/double-conversion/
H A Dfixed-dtoa.cc121 Vector<char> buffer, int* length) { in FillDigits32FixedLength()
123 buffer[(*length) + i] = '0' + number % 10; in FillDigits32FixedLength()
130 static void FillDigits32(uint32_t number, Vector<char> buffer, int* length) { in FillDigits32() argument
136 buffer[(*length) + number_length] = static_cast<char>('0' + digit); in FillDigits32()
143 char tmp = buffer[i]; in FillDigits32()
144 buffer[i] = buffer[j]; in FillDigits32()
145 buffer[j] = tmp; in FillDigits32()
154 Vector<char> buffer, int* length) { in FillDigits64FixedLength()
162 FillDigits32FixedLength(part0, 3, buffer, lengt in FillDigits64FixedLength()
120 FillDigits32FixedLength(uint32_t number, int requested_length, Vector<char> buffer, int* length) FillDigits32FixedLength() argument
153 FillDigits64FixedLength(uint64_t number, Vector<char> buffer, int* length) FillDigits64FixedLength() argument
168 FillDigits64(uint64_t number, Vector<char> buffer, int* length) FillDigits64() argument
189 RoundUp(Vector<char> buffer, int* length, int* decimal_point) RoundUp() argument
230 FillFractionals(uint64_t fractionals, int exponent, int fractional_count, Vector<char> buffer, int* length, int* decimal_point) FillFractionals() argument
292 TrimZeros(Vector<char> buffer, int* length, int* decimal_point) TrimZeros() argument
310 FastFixedDtoa(double v, int fractional_count, Vector<char> buffer, int* length, int* decimal_point) FastFixedDtoa() argument
378 FillDigits32(static_cast<uint32_t>(integrals), buffer, length); FastFixedDtoa() local
[all...]
/third_party/node/deps/v8/src/base/numbers/
H A Dfixed-dtoa.cc99 Vector<char> buffer, int* length) { in FillDigits32FixedLength()
101 buffer[(*length) + i] = '0' + number % 10; in FillDigits32FixedLength()
107 static void FillDigits32(uint32_t number, Vector<char> buffer, int* length) { in FillDigits32() argument
113 buffer[(*length) + number_length] = '0' + digit; in FillDigits32()
120 char tmp = buffer[i]; in FillDigits32()
121 buffer[i] = buffer[j]; in FillDigits32()
122 buffer[j] = tmp; in FillDigits32()
130 Vector<char> buffer, int* length) { in FillDigits64FixedLength()
138 FillDigits32FixedLength(part0, 3, buffer, lengt in FillDigits64FixedLength()
98 FillDigits32FixedLength(uint32_t number, int requested_length, Vector<char> buffer, int* length) FillDigits32FixedLength() argument
129 FillDigits64FixedLength(uint64_t number, int requested_length, Vector<char> buffer, int* length) FillDigits64FixedLength() argument
143 FillDigits64(uint64_t number, Vector<char> buffer, int* length) FillDigits64() argument
163 DtoaRoundUp(Vector<char> buffer, int* length, int* decimal_point) DtoaRoundUp() argument
203 FillFractionals(uint64_t fractionals, int exponent, int fractional_count, Vector<char> buffer, int* length, int* decimal_point) FillFractionals() argument
261 TrimZeros(Vector<char> buffer, int* length, int* decimal_point) TrimZeros() argument
278 FastFixedDtoa(double v, int fractional_count, Vector<char> buffer, int* length, int* decimal_point) FastFixedDtoa() argument
343 FillDigits32(static_cast<uint32_t>(integrals), buffer, length); FastFixedDtoa() local
[all...]

Completed in 17 milliseconds

12345678910>>...638