Home
last modified time | relevance | path

Searched refs:buffer (Results 2701 - 2725 of 12508) sorted by relevance

1...<<101102103104105106107108109110>>...501

/third_party/elfutils/libdwfl/
H A Ddwfl_segment_report_module.c68 void **buffer; member
265 can be returned from the existing buffer. */ in read_portion()
268 /* If we're in string mode, then don't consider the buffer we have in read_portion()
270 || (filesz == 0 && memchr (vaddr - start + *read_state->buffer, '\0', in read_portion()
285 *data = vaddr - start + (*read_state->buffer); in read_portion()
319 void *buffer = NULL; in dwfl_segment_report_module() local
327 read_state.buffer = &buffer; in dwfl_segment_report_module()
340 if (! (*memory_callback) (dwfl, ndx, &buffer, &buffer_available, in dwfl_segment_report_module()
342 || memcmp (buffer, ELFMA in dwfl_segment_report_module()
[all...]
/third_party/ffmpeg/libavcodec/
H A Damfenc.c437 static int amf_copy_buffer(AVCodecContext *avctx, AVPacket *pkt, AMFBuffer *buffer) in amf_copy_buffer() argument
443 int64_t size = buffer->pVtbl->GetSize(buffer); in amf_copy_buffer()
448 memcpy(pkt->data, buffer->pVtbl->GetNative(buffer), size); in amf_copy_buffer()
452 buffer->pVtbl->GetProperty(buffer, AMF_VIDEO_ENCODER_OUTPUT_DATA_TYPE, &var); in amf_copy_buffer()
458 buffer->pVtbl->GetProperty(buffer, AMF_VIDEO_ENCODER_HEVC_OUTPUT_DATA_TYPE, &var); in amf_copy_buffer()
467 buffer in amf_copy_buffer()
712 AMFBuffer* buffer; ff_amf_receive_packet() local
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dbytestrietest.cpp353 char buffer[40]; in TestGetNextBytes() local
354 CheckedArrayByteSink sink(buffer, UPRV_LENGTHOF(buffer)); in TestGetNextBytes()
356 if(count!=2 || sink.NumberOfBytesAppended()!=2 || buffer[0]!='a' || buffer[1]!='j') { in TestGetNextBytes()
364 buffer[count]=0; in TestGetNextBytes()
365 if(count!=20 || sink.NumberOfBytesAppended()!=20 || 0!=strcmp(buffer, ".abcdefghijklmnopqru")) { in TestGetNextBytes()
370 memset(buffer, 0, sizeof(buffer)); in TestGetNextBytes()
372 if(count!=20 || sink.NumberOfBytesAppended()!=20 || 0!=strcmp(buffer, " in TestGetNextBytes()
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Drdppm.c50 #define ReadOK(file, buffer, len) \
51 (JFREAD(file, buffer, len) == ((size_t)(len)))
64 U_CHAR *iobuffer; /* fread's I/O buffer */
65 JSAMPROW pixrow; /* compressor input buffer */
66 size_t buffer_width; /* width of I/O buffer */
145 ptr = source->pub.buffer[0]; in METHODDEF()
178 ptr = source->pub.buffer[0]; in METHODDEF()
208 ptr = source->pub.buffer[0]; in METHODDEF()
252 ptr = source->pub.buffer[0]; in METHODDEF()
282 ptr = source->pub.buffer[ in METHODDEF()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dstr_format_test.cc324 char buffer[16]; in TEST_F() local
326 SNPrintF(buffer, sizeof(buffer), "STRING: %s", std::string("ABC")); in TEST_F()
328 EXPECT_EQ(std::string(buffer), "STRING: ABC"); in TEST_F()
330 result = SNPrintF(buffer, sizeof(buffer), "NUMBER: %d", 123456); in TEST_F()
332 EXPECT_EQ(std::string(buffer), "NUMBER: 123456"); in TEST_F()
334 result = SNPrintF(buffer, sizeof(buffer), "NUMBER: %d", 1234567); in TEST_F()
336 EXPECT_EQ(std::string(buffer), "NUMBE in TEST_F()
[all...]
/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_actlog.c31 * in the on disk ring buffer */
303 /* transaction number, modulo on-disk ring buffer wrap around */ in al_tr_number_to_on_disk_sector()
316 static int __al_write_transaction(struct drbd_device *device, struct al_transaction_on_disk *buffer) in __al_write_transaction() argument
325 memset(buffer, 0, sizeof(*buffer)); in __al_write_transaction()
326 buffer->magic = cpu_to_be32(DRBD_AL_MAGIC); in __al_write_transaction()
327 buffer->tr_number = cpu_to_be32(device->al_tr_number); in __al_write_transaction()
343 buffer->update_slot_nr[i] = cpu_to_be16(e->lc_index); in __al_write_transaction()
344 buffer->update_extent_nr[i] = cpu_to_be32(e->lc_new_number); in __al_write_transaction()
353 buffer in __al_write_transaction()
404 struct al_transaction_on_disk *buffer; al_write_transaction() local
608 drbd_al_initialize(struct drbd_device *device, void *buffer) drbd_al_initialize() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ieee802154/
H A Datusb.c130 u8 *buffer; in atusb_read_reg() local
133 buffer = kmalloc(1, GFP_KERNEL); in atusb_read_reg()
134 if (!buffer) in atusb_read_reg()
140 0, reg, buffer, 1, 1000); in atusb_read_reg()
143 value = buffer[0]; in atusb_read_reg()
144 kfree(buffer); in atusb_read_reg()
147 kfree(buffer); in atusb_read_reg()
802 unsigned char *buffer; in atusb_get_and_show_revision() local
805 buffer = kmalloc(3, GFP_KERNEL); in atusb_get_and_show_revision()
806 if (!buffer) in atusb_get_and_show_revision()
972 unsigned char *buffer; atusb_set_extended_addr() local
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dsysctl_net_ipv4.c74 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_local_port_range()
90 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_local_port_range()
109 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_privileged_ports()
126 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_privileged_ports()
170 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_ping_group_range()
187 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_ping_group_range()
205 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_fwd_update_priority()
212 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in ipv4_fwd_update_priority()
221 void *buffer, size_t *lenp, loff_t *ppos) in proc_tcp_congestion_control()
234 ret = proc_dostring(&tbl, write, buffer, len in proc_tcp_congestion_control()
73 ipv4_local_port_range(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) ipv4_local_port_range() argument
108 ipv4_privileged_ports(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) ipv4_privileged_ports() argument
169 ipv4_ping_group_range(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) ipv4_ping_group_range() argument
204 ipv4_fwd_update_priority(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) ipv4_fwd_update_priority() argument
220 proc_tcp_congestion_control(struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_tcp_congestion_control() argument
240 proc_tcp_available_congestion_control(struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_tcp_available_congestion_control() argument
256 proc_allowed_congestion_control(struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_allowed_congestion_control() argument
293 proc_tcp_fastopen_key(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_tcp_fastopen_key() argument
364 proc_tfo_blackhole_detect_timeout(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_tfo_blackhole_detect_timeout() argument
379 proc_tcp_available_ulp(struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_tcp_available_ulp() argument
397 proc_fib_multipath_hash_policy(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) proc_fib_multipath_hash_policy() argument
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/hp/
H A Dhp-wmi.c104 * struct bios_args buffer is dynamically allocated. New WMI command types
213 /* 7 devices fit into the 128 byte buffer */
298 * buffer: Buffer used as input and/or output
299 * insize: Size of input buffer
300 * outsize: Size of output buffer
305 * -EINVAL if the output buffer size exceeds buffersize
310 * buffer = kzalloc(128, GFP_KERNEL);
311 * ret = hp_wmi_perform_query(HPWMI_BATTERY_QUERY, HPWMI_READ, buffer, 1, 128)
314 void *buffer, int insize, int outsize) in hp_wmi_perform_query()
341 memcpy(args->data, buffer, flex_array_siz in hp_wmi_perform_query()
313 hp_wmi_perform_query(int query, enum hp_wmi_command command, void *buffer, int insize, int outsize) hp_wmi_perform_query() argument
452 char buffer[2] = {0, mode}; omen_thermal_profile_set() local
478 unsigned char buffer[8] = { 0 }; omen_get_thermal_policy_version() local
612 char buffer[4] = { 0x01, 0x00, rfkill_id, !blocked }; hp_wmi_rfkill2_set_block() local
[all...]
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_actlog.c31 * in the on disk ring buffer */
303 /* transaction number, modulo on-disk ring buffer wrap around */ in al_tr_number_to_on_disk_sector()
316 static int __al_write_transaction(struct drbd_device *device, struct al_transaction_on_disk *buffer) in __al_write_transaction() argument
325 memset(buffer, 0, sizeof(*buffer)); in __al_write_transaction()
326 buffer->magic = cpu_to_be32(DRBD_AL_MAGIC); in __al_write_transaction()
327 buffer->tr_number = cpu_to_be32(device->al_tr_number); in __al_write_transaction()
343 buffer->update_slot_nr[i] = cpu_to_be16(e->lc_index); in __al_write_transaction()
344 buffer->update_extent_nr[i] = cpu_to_be32(e->lc_new_number); in __al_write_transaction()
353 buffer in __al_write_transaction()
404 struct al_transaction_on_disk *buffer; al_write_transaction() local
608 drbd_al_initialize(struct drbd_device *device, void *buffer) drbd_al_initialize() argument
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Darm-spe.c86 struct auxtrace_buffer *buffer; member
150 struct auxtrace_buffer *buffer = speq->buffer; in arm_spe_get_trace() local
156 buffer = auxtrace_buffer__next(queue, buffer); in arm_spe_get_trace()
158 if (!buffer) { in arm_spe_get_trace()
165 speq->buffer = buffer; in arm_spe_get_trace()
168 if (!buffer->data) { in arm_spe_get_trace()
172 buffer in arm_spe_get_trace()
956 struct auxtrace_buffer *buffer; arm_spe_process_auxtrace_event() local
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_compute_blit.c140 /* Clear SI_OP_SYNC_CS_BEFORE if the buffer has never been used with a CS. */ in si_improve_sync_flags()
144 /* Clear SI_OP_SYNC_PS_BEFORE if the buffer has never been used with a PS. */ in si_improve_sync_flags()
214 /* Make sure buffer stores are visible to all CUs. */ in si_launch_grid_internal()
252 si_resource(buffers[u_bit_scan(&writeable_bitmask)].buffer)->TC_L2_dirty = true; in si_launch_grid_internal_ssbos()
259 pipe_resource_reference(&saved_sb[i].buffer, NULL); in si_launch_grid_internal_ssbos()
263 * Clear a buffer using read-modify-write with a 32-bit write bitmask.
293 sb.buffer = dst; in si_compute_clear_buffer_rmw()
319 sb.buffer = dst; in si_compute_clear_12bytes_buffer()
379 sb[0].buffer = dst; in si_compute_do_clear_or_copy()
386 sb[1].buffer in si_compute_do_clear_or_copy()
[all...]
/third_party/node/deps/v8/src/snapshot/
H A Dserializer.cc15 #include "src/objects/js-array-buffer-inl.h"
400 code_buffer_.clear(); // Clear buffer without deleting backing store. in CopyCode()
518 JSArrayBuffer buffer = JSArrayBuffer::cast(typed_array.buffer()); in SerializeJSTypedArray() local
521 CHECK_LE(buffer.byte_length(), std::numeric_limits<int32_t>::max()); in SerializeJSTypedArray()
522 int32_t byte_length = static_cast<int32_t>(buffer.byte_length()); in SerializeJSTypedArray()
524 if (buffer.is_resizable()) { in SerializeJSTypedArray()
525 CHECK_LE(buffer.max_byte_length(), in SerializeJSTypedArray()
528 Just(static_cast<int32_t>(buffer.max_byte_length())); in SerializeJSTypedArray()
553 JSArrayBuffer buffer in SerializeJSArrayBuffer() local
581 JSArrayBuffer buffer = JSArrayBuffer::cast(*object_); SerializeJSArrayBuffer() local
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Devergreen_compute.c67 CONST0 is binding smaller input parameter buffer, and for constant indexing,
109 struct pipe_resource *buffer = NULL; in r600_compute_buffer_alloc_vram() local
112 buffer = pipe_buffer_create((struct pipe_screen*) screen, in r600_compute_buffer_alloc_vram()
115 return (struct r600_resource *)buffer; in r600_compute_buffer_alloc_vram()
144 /* Add the RAT the list of color buffers. Drop the old buffer first. */ in evergreen_set_rat()
167 struct pipe_resource *buffer) in evergreen_cs_set_vertex_buffer()
173 vb->buffer.resource = buffer; in evergreen_cs_set_vertex_buffer()
188 struct pipe_resource *buffer) in evergreen_cs_set_constant_buffer()
193 cb.buffer in evergreen_cs_set_constant_buffer()
164 evergreen_cs_set_vertex_buffer(struct r600_context *rctx, unsigned vb_index, unsigned offset, struct pipe_resource *buffer) evergreen_cs_set_vertex_buffer() argument
184 evergreen_cs_set_constant_buffer(struct r600_context *rctx, unsigned cb_index, unsigned offset, unsigned size, struct pipe_resource *buffer) evergreen_cs_set_constant_buffer() argument
968 struct r600_resource_global *buffer = evergreen_set_compute_resources() local
1243 struct r600_resource_global* buffer = r600_compute_global_transfer_map() local
1310 struct r600_resource_global* buffer = NULL; r600_compute_global_buffer_destroy() local
[all...]
/kernel/linux/linux-5.10/sound/pci/
H A Drme32.c27 * in this mode. Rec data and play data are using the same buffer therefore. At
28 * first you have got the playing bits in the buffer and then (after playing
30 * modes (play/record) are running harmonically hand in hand in the same buffer
46 * In the fullduplex mode (given by the module parameter), the hardware buffer
50 * software intermediate buffer is introduced. This is, of course, not good
52 * you to use arbitrary buffer sizes, instead of the fixed I/O buffer size.
96 /* Playback and capture buffer size */
168 /* Software intermediate buffer (max) size */
1404 /* reset buffer pointe in snd_rme32_create()
1433 snd_rme32_proc_read(struct snd_info_entry * entry, struct snd_info_buffer *buffer) snd_rme32_proc_read() argument
[all...]
/kernel/linux/linux-6.6/sound/pci/
H A Drme32.c27 * in this mode. Rec data and play data are using the same buffer therefore. At
28 * first you have got the playing bits in the buffer and then (after playing
30 * modes (play/record) are running harmonically hand in hand in the same buffer
46 * In the fullduplex mode (given by the module parameter), the hardware buffer
50 * software intermediate buffer is introduced. This is, of course, not good
52 * you to use arbitrary buffer sizes, instead of the fixed I/O buffer size.
95 /* Playback and capture buffer size */
167 /* Software intermediate buffer (max) size */
1373 /* reset buffer pointe in snd_rme32_create()
1402 snd_rme32_proc_read(struct snd_info_entry * entry, struct snd_info_buffer *buffer) snd_rme32_proc_read() argument
[all...]
/third_party/node/tools/inspector_protocol/jinja2/
H A Dcompiler.py150 # inside some tags we are using a buffer rather than yield statements.
153 # buffer.
154 self.buffer = None
163 self.buffer = parent.buffer
322 def buffer(self, frame): member in CodeGenerator
324 frame.buffer = self.temporary_identifier()
325 self.writeline('%s = []' % frame.buffer)
328 """Return the buffer contents of the frame."""
333 self.writeline('return Markup(concat(%s))' % frame.buffer)
[all...]
/third_party/python/Lib/
H A D_pyio.py126 the size of a fixed-size chunk buffer. When no buffering argument is
129 * Binary files are buffered in fixed-size chunks; the size of the buffer
132 On many systems, the buffer will typically be 4096 or 8192 bytes long.
232 "mode, the default buffer size will be used",
263 buffer = BufferedRandom(raw, buffering)
265 buffer = BufferedWriter(raw, buffering)
267 buffer = BufferedReader(raw, buffering)
270 result = buffer
274 text = TextIOWrapper(buffer, encoding, errors, newline, line_buffering)
677 """Write the given buffer t
2128 def buffer(self): global() member in TextIOWrapper
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkCommandBuffer.cpp203 CmdDispatchIndirect(vk::Buffer *buffer, VkDeviceSize offset) in CmdDispatchIndirect() argument
204 : buffer(buffer) in CmdDispatchIndirect()
211 auto cmd = reinterpret_cast<VkDispatchIndirectCommand const *>(buffer->getOffsetPointer(offset));
226 const vk::Buffer *const buffer; member in __anon22994::CmdDispatchIndirect::vk
233 CmdVertexBufferBind(uint32_t binding, vk::Buffer *buffer, const VkDeviceSize offset) in CmdVertexBufferBind() argument
235 , buffer(buffer) in CmdVertexBufferBind()
242 executionState.vertexInputBindings[binding] = { buffer, offset };
249 vk::Buffer *const buffer; member in __anon22994::CmdVertexBufferBind::vk
256 CmdIndexBufferBind(vk::Buffer *buffer, const VkDeviceSize offset, const VkIndexType indexType) CmdIndexBufferBind() argument
272 vk::Buffer *const buffer; global() member in __anon22994::CmdIndexBufferBind::vk
575 CmdDrawIndirect(vk::Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) CmdDrawIndirect() argument
595 const vk::Buffer *const buffer; global() member in __anon22994::CmdDrawIndirect::vk
604 CmdDrawIndexedIndirect(vk::Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) CmdDrawIndexedIndirect() argument
624 const vk::Buffer *const buffer; global() member in __anon22994::CmdDrawIndexedIndirect::vk
1505 bindIndexBuffer(Buffer *buffer, VkDeviceSize offset, VkIndexType indexType) bindIndexBuffer() argument
1515 dispatchIndirect(Buffer *buffer, VkDeviceSize offset) dispatchIndirect() argument
1703 drawIndirect(Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) drawIndirect() argument
1708 drawIndexedIndirect(Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) drawIndexedIndirect() argument
[all...]
/third_party/python/Modules/
H A D_struct.c1572 buffer: Py_buffer
1577 Unpack according to the format string Struct.format. The buffer's size
1584 Struct_unpack_impl(PyStructObject *self, Py_buffer *buffer) in Struct_unpack_impl() argument
1589 if (buffer->len != self->s_size) { in Struct_unpack_impl()
1591 "unpack requires a buffer of %zd bytes", in Struct_unpack_impl()
1595 return s_unpack_internal(self, buffer->buf, state); in Struct_unpack_impl()
1601 buffer: Py_buffer
1608 The buffer's size in bytes, starting at position offset, must be
1615 Struct_unpack_from_impl(PyStructObject *self, Py_buffer *buffer, in Struct_unpack_from_impl() argument
1631 if (offset + buffer in Struct_unpack_from_impl()
1764 Struct_iter_unpack(PyStructObject *self, PyObject *buffer) Struct_iter_unpack() argument
1947 Py_buffer buffer; s_pack_into() local
2265 unpack_impl(PyObject *module, PyStructObject *s_object, Py_buffer *buffer) unpack_impl() argument
2287 unpack_from_impl(PyObject *module, PyStructObject *s_object, Py_buffer *buffer, Py_ssize_t offset) unpack_from_impl() argument
2310 iter_unpack_impl(PyObject *module, PyStructObject *s_object, PyObject *buffer) iter_unpack_impl() argument
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dncnvtst.c744 log_err("Did not consume whole buffer on first call.\n"); in TestRegressionUTF8()
750 log_err("Did not consume whole buffer on second call.\n"); in TestRegressionUTF8()
849 log_err("Did not consume whole buffer on first call.\n"); in TestRegressionUTF32()
855 log_err("Did not consume whole buffer on second call.\n"); in TestRegressionUTF32()
881 log_err("Did not consume whole buffer on first call.\n"); in TestRegressionUTF32()
887 log_err("Did not consume whole buffer on second call.\n"); in TestRegressionUTF32()
1003 char buffer[MAX_LENGTH]; in convertFromU() local
1020 buffer[i]=(char)0xF0; in convertFromU()
1026 targ=buffer; in convertFromU()
1044 sourceLen, targ-buffer); in convertFromU()
1093 UChar buffer[MAX_LENGTH]; convertToU() local
1779 UChar buffer[2]; doTestTruncated() local
[all...]
/kernel/linux/linux-5.10/drivers/char/hw_random/
H A Dpseries-rng.c18 u64 buffer[PLPAR_HCALL_BUFSIZE]; in pseries_rng_read() local
21 rc = plpar_hcall(H_RANDOM, (unsigned long *)buffer); in pseries_rng_read()
26 memcpy(data, buffer, 8); in pseries_rng_read()
/kernel/linux/linux-5.10/drivers/input/
H A Dinput-compat.h69 int input_event_from_user(const char __user *buffer,
72 int input_event_to_user(char __user *buffer,
75 int input_ff_effect_from_user(const char __user *buffer, size_t size,
/kernel/linux/linux-5.10/drivers/staging/rts5208/
H A Drtsx_transport.h20 unsigned int rtsx_stor_access_xfer_buf(unsigned char *buffer,
26 void rtsx_stor_set_xfer_buf(unsigned char *buffer, unsigned int buflen,
28 void rtsx_stor_get_xfer_buf(unsigned char *buffer, unsigned int buflen,
/kernel/linux/linux-6.6/drivers/ufs/core/
H A Dufs-fault-injection.c9 static int ufs_fault_get(char *buffer, const struct kernel_param *kp);
35 static int ufs_fault_get(char *buffer, const struct kernel_param *kp) in ufs_fault_get() argument
39 return sysfs_emit(buffer, "%s\n", fault_str); in ufs_fault_get()

Completed in 33 milliseconds

1...<<101102103104105106107108109110>>...501