Home
last modified time | relevance | path

Searched refs:buffer (Results 6976 - 7000 of 12861) sorted by relevance

1...<<271272273274275276277278279280>>...515

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfw_tracer.c225 kfree(tracer->str_db.buffer[i]); in mlx5_fw_tracer_free_strings_db()
226 tracer->str_db.buffer[i] = NULL; in mlx5_fw_tracer_free_strings_db()
239 tracer->str_db.buffer[i] = kzalloc(string_db_size_out[i], GFP_KERNEL); in mlx5_fw_tracer_allocate_strings_db()
240 if (!tracer->str_db.buffer[i]) in mlx5_fw_tracer_allocate_strings_db()
308 memcpy(tracer->str_db.buffer[i] + offset, out_value, in mlx5_tracer_read_strings_db()
329 memcpy(tracer->str_db.buffer[i] + offset, out_value, in mlx5_tracer_read_strings_db()
402 cur_string->string = (char *)(tracer->str_db.buffer[i] + in mlx5_tracer_get_string()
712 /* Copy the block to local buffer to avoid HW override while being processed */ in mlx5_fw_tracer_handle_traces()
723 /* To avoid block override be the HW in case of buffer in mlx5_fw_tracer_handle_traces()
737 * current buffer i in mlx5_fw_tracer_handle_traces()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/qcom/camss/
H A Dcamss-vfe.c356 struct camss_buffer *buffer = NULL; in vfe_buf_get_pending() local
359 buffer = list_first_entry(&output->pending_bufs, in vfe_buf_get_pending()
362 list_del(&buffer->queue); in vfe_buf_get_pending()
365 return buffer; in vfe_buf_get_pending()
369 struct camss_buffer *buffer) in vfe_buf_add_pending()
371 INIT_LIST_HEAD(&buffer->queue); in vfe_buf_add_pending()
372 list_add_tail(&buffer->queue, &output->pending_bufs); in vfe_buf_add_pending()
378 * @state: vb2 buffer state
667 * @state: vb2 buffer state of the returned buffers
368 vfe_buf_add_pending(struct vfe_output *output, struct camss_buffer *buffer) vfe_buf_add_pending() argument
/kernel/linux/linux-6.6/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_mac.c420 * @skb: a sk-buffer
917 * @skb: socket buffer
1015 int zd_mac_rx(struct ieee80211_hw *hw, const u8 *buffer, unsigned int length) in zd_mac_rx() argument
1044 (buffer + (length - sizeof(struct rx_status))); in zd_mac_rx()
1059 rate = zd_rx_rate(buffer, status); in zd_mac_rx()
1067 buffer += ZD_PLCP_HEADER_SIZE; in zd_mac_rx()
1075 filter_ack(hw, (struct ieee80211_hdr *)buffer, &stats) in zd_mac_rx()
1079 fc = get_unaligned((__le16*)buffer); in zd_mac_rx()
1091 skb_put_data(skb, buffer, length); in zd_mac_rx()
/kernel/linux/linux-6.6/drivers/iio/accel/
H A Dmma8452.c25 #include <linux/iio/buffer.h>
119 } buffer; member
494 __be16 buffer[3]; in mma8452_read_raw() local
504 ret = mma8452_read(data, buffer); in mma8452_read_raw()
511 buffer[chan->scan_index]) >> chan->scan_type.shift, in mma8452_read_raw()
1103 ret = mma8452_read(data, data->buffer.channels); in mma8452_trigger_handler()
1107 iio_push_to_buffers_with_timestamp(indio_dev, &data->buffer, in mma8452_trigger_handler()
/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dat91_adc.c25 #include <linux/iio/buffer.h>
216 u16 *buffer; member
275 st->buffer[j] = at91_adc_readl(st, AT91_ADC_CHAN(st, chan->channel)); in at91_adc_trigger_handler()
279 iio_push_to_buffers_with_timestamp(idev, st->buffer, pf->timestamp); in at91_adc_trigger_handler()
583 st->buffer = kmalloc(idev->scan_bytes, GFP_KERNEL); in at91_adc_configure_trigger()
584 if (st->buffer == NULL) in at91_adc_configure_trigger()
611 kfree(st->buffer); in at91_adc_configure_trigger()
1177 dev_err(&pdev->dev, "Couldn't initialize the buffer.\n"); in at91_adc_probe()
/kernel/linux/linux-6.6/security/keys/
H A Dkeyring.c82 char *buffer, size_t buflen);
455 key_serial_t *buffer; member
469 *ctx->buffer++ = key->serial; in keyring_read_iterator()
482 char *buffer, size_t buflen) in keyring_read()
492 /* Copy as many key IDs as fit into the buffer */ in keyring_read()
493 if (buffer && buflen) { in keyring_read()
494 ctx.buffer = (key_serial_t *)buffer; in keyring_read()
505 /* Return the size of the buffer needed */ in keyring_read()
510 kleave("= %ld [buffer to in keyring_read()
481 keyring_read(const struct key *keyring, char *buffer, size_t buflen) keyring_read() argument
[all...]
/test/xts/acts/multimedia/image/image_js_standard/imageSourceNDK/entry/src/main/cpp/napi/
H A Dimage_source_test.cpp114 uint8_t** buffer, size_t* bufferSize) in GetArrayBufferProperty()
124 *buffer = static_cast<uint8_t*>(tmp); in GetArrayBufferProperty()
128 static bool GetStringValue(napi_env env, napi_value value, char** buffer, size_t *bufferSize) in GetStringValue() argument
135 *buffer = (char*)malloc((*bufferSize) + 1); in GetStringValue()
136 if (napi_ok != napi_get_value_string_utf8(env, value, *buffer, (*bufferSize) + 1, bufferSize)) { in GetStringValue()
200 src.buffer = static_cast<uint8_t*>(buf); in parseImageSource()
757 GetArrayBufferProperty(env, arg, "buffer", &(data.buffer), &(data.bufferSize)); in parseImageSourceUpdateData()
113 GetArrayBufferProperty(napi_env env, napi_value root, const char* utf8name, uint8_t** buffer, size_t* bufferSize) GetArrayBufferProperty() argument
/third_party/ffmpeg/libavcodec/
H A Dtruemotion2.c70 uint8_t *buffer; member
823 /* copy data from our buffer to AVFrame */ in tm2_decode_blocks()
901 av_fast_padded_malloc(&l->buffer, &l->buffer_size, buf_size); in decode_frame()
902 if (!l->buffer) { in decode_frame()
903 av_log(avctx, AV_LOG_ERROR, "Cannot allocate temporary buffer\n"); in decode_frame()
910 l->bdsp.bswap_buf((uint32_t *) l->buffer, (const uint32_t *) buf, in decode_frame()
913 if ((ret = tm2_read_header(l, l->buffer)) < 0) { in decode_frame()
923 t = tm2_read_stream(l, l->buffer + offset, tm2_stream_order[i], in decode_frame()
1003 av_freep(&l->buffer); in decode_end()
/third_party/ffmpeg/libavfilter/
H A Daf_atempo.c91 // ring-buffer of input samples, necessary because some times
93 uint8_t *buffer; member
95 // ring-buffer maximum capacity, expressed in sample rate time base:
98 // ring-buffer house keeping:
103 // 0: input sample position corresponding to the ring buffer tail
134 // current/previous fragment ring-buffer:
239 av_freep(&atempo->buffer); in yae_release_buffers()
320 RE_MALLOC_OR_FAIL(atempo->buffer, atempo->ring * atempo->stride); in yae_reset()
347 * A helper macro for initializing complex data buffer with scalar data
397 * Initialize complex data buffer o
[all...]
/third_party/backends/backend/
H A Ddc240.c686 DBG (2, "read_data: warning: buffer underrun or no checksum\n"); in read_data()
1285 JOCTET *buffer; member
1301 if (read_data (Camera.fd, src->buffer, 512) == -1) in METHODDEF()
1304 src->buffer[0] = (JOCTET) 0xFF; in METHODDEF()
1305 src->buffer[1] = (JOCTET) JPEG_EOI; in METHODDEF()
1308 src->pub.next_input_byte = src->buffer; in METHODDEF()
1461 src->buffer = (JOCTET *) (*cinfo.mem->alloc_small) ((j_common_ptr) & in sane_start()
1499 /* If there is anything in the buffer, satisfy the read from there */ in sane_read()
1564 (void) jpeg_read_scanlines (&cinfo, dest_mgr->buffer, lines); in sane_read()
1888 /* Determine if it's time to read another 256 byte buffer fro in read_dir()
[all...]
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DAlphabeticIndexTest.java512 private void showLabelAtTop(StringBuilder buffer, String label) { in showLabelAtTop() argument
513 buffer.append(label + " "); in showLabelAtTop()
516 private <T> void showIndexedItem(StringBuilder buffer, CharSequence key, T value) { in showIndexedItem() argument
517 buffer.append("\t " + key + ARROW + value); in showIndexedItem()
520 private void showLabelInList(StringBuilder buffer, String label) { in showLabelInList() argument
521 buffer.setLength(0); in showLabelInList()
522 buffer.append(label); in showLabelInList()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
H A DAlphabeticIndexTest.java515 private void showLabelAtTop(StringBuilder buffer, String label) { in showLabelAtTop() argument
516 buffer.append(label + " "); in showLabelAtTop()
519 private <T> void showIndexedItem(StringBuilder buffer, CharSequence key, T value) { in showIndexedItem() argument
520 buffer.append("\t " + key + ARROW + value); in showIndexedItem()
523 private void showLabelInList(StringBuilder buffer, String label) { in showLabelInList() argument
524 buffer.setLength(0); in showLabelInList()
525 buffer.append(label); in showLabelInList()
/third_party/icu/icu4c/source/i18n/
H A Dnumber_decimalquantity.cpp504 char buffer[DoubleToStringConverter::kBase10MaximalLength + 1]; in convertToAccurateDouble() local
512 buffer, in convertToAccurateDouble()
513 sizeof(buffer), in convertToAccurateDouble()
520 readDoubleConversionToBcd(buffer, length, point); in convertToAccurateDouble()
1246 const char* buffer, int32_t length, int32_t point) { in readDoubleConversionToBcd()
1252 fBCD.bcdBytes.ptr[i] = buffer[length-i-1] - '0'; in readDoubleConversionToBcd()
1257 result |= static_cast<uint64_t>(buffer[length-i-1] - '0') << (4 * i); in readDoubleConversionToBcd()
1458 digits[precision] = 0; // terminate buffer in toString()
1245 readDoubleConversionToBcd( const char* buffer, int32_t length, int32_t point) readDoubleConversionToBcd() argument
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_program.c77 for (int buffer = 0; buffer < PIPE_MAX_SO_BUFFERS; buffer++) { in v3d_set_transform_feedback_outputs()
85 if (output->output_buffer != buffer) in v3d_set_transform_feedback_outputs()
89 * order in the buffer. in v3d_set_transform_feedback_outputs()
132 .output_buffer_to_write_to = buffer, in v3d_set_transform_feedback_outputs()
162 so->base.stream_output.stride[buffer] = in v3d_set_transform_feedback_outputs()
163 stream_output->stride[buffer]; in v3d_set_transform_feedback_outputs()
592 * reads and we need to know the color buffer format and in v3d_update_compiled_fs()
/third_party/node/deps/icu-small/source/i18n/
H A Dnumber_decimalquantity.cpp504 char buffer[DoubleToStringConverter::kBase10MaximalLength + 1]; in convertToAccurateDouble() local
512 buffer, in convertToAccurateDouble()
513 sizeof(buffer), in convertToAccurateDouble()
520 readDoubleConversionToBcd(buffer, length, point); in convertToAccurateDouble()
1246 const char* buffer, int32_t length, int32_t point) { in readDoubleConversionToBcd()
1252 fBCD.bcdBytes.ptr[i] = buffer[length-i-1] - '0'; in readDoubleConversionToBcd()
1257 result |= static_cast<uint64_t>(buffer[length-i-1] - '0') << (4 * i); in readDoubleConversionToBcd()
1458 digits[precision] = 0; // terminate buffer in toString()
1245 readDoubleConversionToBcd( const char* buffer, int32_t length, int32_t point) readDoubleConversionToBcd() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageMismatchedWriteOpTests.cpp592 OpEntryPoint GLCompute %main "main" %gid %image %buffer in getProgramCodeAndVariables()
603 OpDecorate %buffer DescriptorSet 0 in getProgramCodeAndVariables()
604 OpDecorate %buffer Binding 1 in getProgramCodeAndVariables()
641 %buffer = OpVariable %ssbo_ptr StorageBuffer in getProgramCodeAndVariables()
668 ; Calculate index in buffer in getProgramCodeAndVariables()
676 ; Accessors to buffer components in getProgramCodeAndVariables()
678 %alpha_access = OpAccessChain %${SAMPLED_TYPE}_PTR %buffer %rta_offset %idx %alpha_offset in getProgramCodeAndVariables()
679 %blue_access = OpAccessChain %${SAMPLED_TYPE}_PTR %buffer %rta_offset %idx %blue_offset in getProgramCodeAndVariables()
680 %green_access = OpAccessChain %${SAMPLED_TYPE}_PTR %buffer %rta_offset %idx %green_offset in getProgramCodeAndVariables()
681 %red_access = OpAccessChain %${SAMPLED_TYPE}_PTR %buffer in getProgramCodeAndVariables()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageMismatchedWriteOpTests.cpp595 OpEntryPoint GLCompute %main "main" %gid %image %buffer in getProgramCodeAndVariables()
606 OpDecorate %buffer DescriptorSet 0 in getProgramCodeAndVariables()
607 OpDecorate %buffer Binding 1 in getProgramCodeAndVariables()
644 %buffer = OpVariable %ssbo_ptr StorageBuffer in getProgramCodeAndVariables()
671 ; Calculate index in buffer in getProgramCodeAndVariables()
679 ; Accessors to buffer components in getProgramCodeAndVariables()
681 %alpha_access = OpAccessChain %${SAMPLED_TYPE}_PTR %buffer %rta_offset %idx %alpha_offset in getProgramCodeAndVariables()
682 %blue_access = OpAccessChain %${SAMPLED_TYPE}_PTR %buffer %rta_offset %idx %blue_offset in getProgramCodeAndVariables()
683 %green_access = OpAccessChain %${SAMPLED_TYPE}_PTR %buffer %rta_offset %idx %green_offset in getProgramCodeAndVariables()
684 %red_access = OpAccessChain %${SAMPLED_TYPE}_PTR %buffer in getProgramCodeAndVariables()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
H A Dcapture_gles_3_0_autogen.h66 GLenum buffer,
72 GLenum buffer,
77 GLenum buffer,
82 GLenum buffer,
598 GLenum buffer,
604 GLenum buffer,
610 GLenum buffer,
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DPixelProcessor.cpp62 buffer = nullptr; in UniformBufferInfo()
156 void PixelProcessor::setUniformBuffer(int index, sw::Resource* buffer, int offset) in setUniformBuffer() argument
158 uniformBufferInfo[index].buffer = buffer; in setUniformBuffer()
166 u[i] = uniformBufferInfo[i].buffer ? static_cast<byte*>(uniformBufferInfo[i].buffer->lock(PUBLIC, PRIVATE)) + uniformBufferInfo[i].offset : nullptr; in lockUniformBuffers()
167 uniformBuffers[i] = uniformBufferInfo[i].buffer; in lockUniformBuffers()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dnumber_decimalquantity.cpp491 char buffer[DoubleToStringConverter::kBase10MaximalLength + 1]; in convertToAccurateDouble() local
499 buffer, in convertToAccurateDouble()
500 sizeof(buffer), in convertToAccurateDouble()
507 readDoubleConversionToBcd(buffer, length, point); in convertToAccurateDouble()
1126 const char* buffer, int32_t length, int32_t point) { in readDoubleConversionToBcd()
1132 fBCD.bcdBytes.ptr[i] = buffer[length-i-1] - '0'; in readDoubleConversionToBcd()
1137 result |= static_cast<uint64_t>(buffer[length-i-1] - '0') << (4 * i); in readDoubleConversionToBcd()
1338 digits[precision] = 0; // terminate buffer in toString()
1125 readDoubleConversionToBcd( const char* buffer, int32_t length, int32_t point) readDoubleConversionToBcd() argument
/third_party/skia/third_party/externals/brotli/c/tools/
H A Dbrotli.c115 uint8_t* buffer; member
1057 context.buffer = NULL; in main()
1071 context.buffer = (uint8_t*)malloc(kFileBufferSize * 2); in main()
1072 if (!context.modified_path || !context.buffer) { in main()
1076 context.input = context.buffer; in main()
1077 context.output = context.buffer + kFileBufferSize; in main()
1112 free(context.buffer); in main()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/
H A Dtinyxml.h1741 buffer(), indent( " " ), lineBreak( "\n" ) {} in TiXmlPrinter()
1775 const char* CStr() { return buffer.c_str(); } in CStr()
1777 size_t Size() { return buffer.size(); } in Size()
1781 const std::string& Str() { return buffer; } in Str()
1787 buffer += indent; in DoIndent()
1790 buffer += lineBreak; in DoLineBreak()
1795 TIXML_STRING buffer; member in TiXmlPrinter
/third_party/python/Lib/logging/
H A Dhandlers.py1299 record is added to the buffer, a check is made to see if the buffer should
1304 Initialize the handler with the buffer size.
1308 self.buffer = []
1312 Should the handler flush its buffer?
1314 Returns true if the buffer is up to capacity. This method can be
1317 return (len(self.buffer) >= self.capacity)
1324 the buffer.
1326 self.buffer.append(record)
1334 This version just zaps the buffer t
[all...]
/third_party/protobuf/python/google/protobuf/internal/
H A Dpython_message.py1161 def InternalParse(self, buffer, pos, end):
1166 buffer: memoryview of the serialized data.
1175 assert isinstance(buffer, memoryview)
1181 (tag_bytes, new_pos) = local_ReadTag(buffer, pos)
1199 buffer, new_pos, wire_type) # pylint: disable=protected-access
1205 new_pos = local_SkipField(buffer, old_pos, end, tag_bytes)
1209 (tag_bytes, buffer[old_pos:new_pos].tobytes()))
1212 pos = field_decoder(buffer, new_pos, end, self, field_dict)
/third_party/protobuf/src/google/protobuf/
H A Dlite_unittest.cc200 std::string buffer; in TEST() local
201 generator.SerializeToString(&buffer); in TEST()
203 parsing_merge.ParseFromString(buffer); in TEST()
368 std::string buffer; in TEST() local
370 io::StringOutputStream output_stream(&buffer); in TEST()
381 message.ParseFromString(buffer); in TEST()
383 EXPECT_EQ(data, buffer); in TEST()
637 // Allow the output stream to buffer only one byte at a time. in TEST()

Completed in 48 milliseconds

1...<<271272273274275276277278279280>>...515