Home
last modified time | relevance | path

Searched refs:buffer (Results 2676 - 2700 of 13669) sorted by relevance

1...<<101102103104105106107108109110>>...547

/third_party/protobuf/src/google/protobuf/compiler/
H A Dsubprocess.cc218 char buffer[4096]; in Communicate() local
221 if (!ReadFile(child_stdout_, buffer, sizeof(buffer), &n, NULL)) { in Communicate()
226 output_data.append(buffer, n); in Communicate()
417 char buffer[4096];
418 int n = read(child_stdout_, buffer, sizeof(buffer));
421 output_data.append(buffer, n);
/third_party/protobuf/src/google/protobuf/io/
H A Dzero_copy_stream_impl.cc131 int FileInputStream::CopyingFileInputStream::Read(void* buffer, int size) { in Read() argument
136 result = read(file_, buffer, size); in Read()
217 bool FileOutputStream::CopyingFileOutputStream::Write(const void* buffer, in Write() argument
222 const uint8* buffer_base = reinterpret_cast<const uint8*>(buffer); in Write()
273 int IstreamInputStream::CopyingIstreamInputStream::Read(void* buffer, in Read() argument
275 input_->read(reinterpret_cast<char*>(buffer), size); in Read()
305 bool OstreamOutputStream::CopyingOstreamOutputStream::Write(const void* buffer, in Write() argument
307 output_->write(reinterpret_cast<const char*>(buffer), size); in Write()
/third_party/rust/crates/rustix/src/backend/linux_raw/param/
H A Dauxv.rs158 let mut buffer = Vec::<u8>::with_capacity(512); in init_from_auxv_file() variables
160 let cur = buffer.len(); in init_from_auxv_file()
163 buffer.reserve(1); in init_from_auxv_file()
166 buffer.resize(buffer.capacity(), 0); in init_from_auxv_file()
169 let n = match crate::io::read(&auxv, &mut buffer[cur..]) { in init_from_auxv_file()
177 buffer.resize(cur + n, 0_u8); in init_from_auxv_file()
180 // Safety: We loaded from an auxv file into the buffer. in init_from_auxv_file()
181 unsafe { init_from_auxp(buffer.as_ptr().cast()) } in init_from_auxv_file()
190 /// The buffer contain
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cDirectStateAccessTests.hpp170 * Create two buffer objects using GenBuffers and BindBuffer functions.
173 * Bind the first buffer to transform feedback object indexed binding point
176 * Bind a first half of the second buffer to transform feedback object
179 * Bind a second half of the second buffer to transform feedback object
212 glw::GLuint buffer);
214 glw::GLuint buffer, glw::GLintptr offset,
317 * Create buffer object using GenBuffers and BindBuffer functions.
320 * Bind the buffer to transform feedback object indexed binding point 0
351 * Verify data in the buffer using MapBuffer function.
370 glw::GLuint buffer);
[all...]
/base/startup/init/services/begetctl/shell/
H A Dshell_bas.c176 char data = *(shell->buffer + i); in BShellEnvParseParam()
183 shell->args[shell->argc++] = shell->buffer + i; in BShellEnvParseParam()
186 if (*(shell->buffer + i) == '\\' && *(shell->buffer + i + 1) != 0) { in BShellEnvParseParam()
190 *(shell->buffer + i) = 0; in BShellEnvParseParam()
211 *(shell->buffer + shell->length++) = 0; in BShellEnvHandleEnter()
253 shell->buffer[shell->length] = 0; in BShellEnvHandleBackspace()
257 shell->buffer[shell->cursor + i - 1] = shell->buffer[shell->cursor + i]; in BShellEnvHandleBackspace()
261 shell->buffer[shel in BShellEnvHandleBackspace()
[all...]
/kernel/linux/linux-5.10/drivers/acpi/
H A Dprocessor_throttling.c414 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_processor_get_throttling_control() local
419 status = acpi_evaluate_object(pr->handle, "_PTC", NULL, &buffer); in acpi_processor_get_throttling_control()
427 ptc = (union acpi_object *)buffer.pointer; in acpi_processor_get_throttling_control()
442 || (obj.buffer.length < sizeof(struct acpi_ptc_register)) in acpi_processor_get_throttling_control()
443 || (obj.buffer.pointer == NULL)) { in acpi_processor_get_throttling_control()
449 memcpy(&pr->throttling.control_register, obj.buffer.pointer, in acpi_processor_get_throttling_control()
459 || (obj.buffer.length < sizeof(struct acpi_ptc_register)) in acpi_processor_get_throttling_control()
460 || (obj.buffer.pointer == NULL)) { in acpi_processor_get_throttling_control()
466 memcpy(&pr->throttling.status_register, obj.buffer.pointer, in acpi_processor_get_throttling_control()
486 kfree(buffer in acpi_processor_get_throttling_control()
498 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; acpi_processor_get_throttling_states() local
574 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; acpi_processor_get_tsd() local
[all...]
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/
H A Dclient.c438 * Get a free buffer from pool of free read buffers and add to read buffer
519 * @buf: message buffer
522 * If the client is correct state to send message, this function gets a buffer
833 unsigned char *buffer = NULL; in recv_ishtp_cl_msg() local
859 /* If no Rx buffer is allocated, disband the rb */ in recv_ishtp_cl_msg()
860 if (rb->buffer.size == 0 || rb->buffer.data == NULL) { in recv_ishtp_cl_msg()
863 "Rx buffer is not allocated.\n"); in recv_ishtp_cl_msg()
871 * If message buffer overflow in recv_ishtp_cl_msg()
966 unsigned char *buffer = NULL; recv_ishtp_cl_msg_dma() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
H A Dfcoe_transport.c25 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp);
463 * enough buffer left a new page is allocated for the trailer. Reference to
597 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp) in fcoe_transport_show() argument
602 i = j = sprintf(buffer, "Attached FCoE transports:"); in fcoe_transport_show()
607 i += snprintf(&buffer[i], IFNAMSIZ, "%s ", ft->name); in fcoe_transport_show()
611 i += snprintf(&buffer[i], IFNAMSIZ, "none"); in fcoe_transport_show()
702 * fcoe_if_to_netdev() - Parse a name buffer to get a net device
703 * @buffer: The name of the net device
707 static struct net_device *fcoe_if_to_netdev(const char *buffer) in fcoe_if_to_netdev() argument
712 if (buffer) { in fcoe_if_to_netdev()
859 fcoe_transport_create(const char *buffer, const struct kernel_param *kp) fcoe_transport_create() argument
925 fcoe_transport_destroy(const char *buffer, const struct kernel_param *kp) fcoe_transport_destroy() argument
970 fcoe_transport_disable(const char *buffer, const struct kernel_param *kp) fcoe_transport_disable() argument
1005 fcoe_transport_enable(const char *buffer, const struct kernel_param *kp) fcoe_transport_enable() argument
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dprocessor_throttling.c403 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_processor_get_throttling_control() local
408 status = acpi_evaluate_object(pr->handle, "_PTC", NULL, &buffer); in acpi_processor_get_throttling_control()
416 ptc = (union acpi_object *)buffer.pointer; in acpi_processor_get_throttling_control()
431 || (obj.buffer.length < sizeof(struct acpi_ptc_register)) in acpi_processor_get_throttling_control()
432 || (obj.buffer.pointer == NULL)) { in acpi_processor_get_throttling_control()
437 memcpy(&pr->throttling.control_register, obj.buffer.pointer, in acpi_processor_get_throttling_control()
447 || (obj.buffer.length < sizeof(struct acpi_ptc_register)) in acpi_processor_get_throttling_control()
448 || (obj.buffer.pointer == NULL)) { in acpi_processor_get_throttling_control()
454 memcpy(&pr->throttling.status_register, obj.buffer.pointer, in acpi_processor_get_throttling_control()
474 kfree(buffer in acpi_processor_get_throttling_control()
486 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; acpi_processor_get_throttling_states() local
562 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; acpi_processor_get_tsd() local
[all...]
/kernel/linux/linux-6.6/drivers/hid/intel-ish-hid/ishtp/
H A Dclient.c438 * Get a free buffer from pool of free read buffers and add to read buffer
519 * @buf: message buffer
522 * If the client is correct state to send message, this function gets a buffer
841 unsigned char *buffer = NULL; in recv_ishtp_cl_msg() local
864 /* If no Rx buffer is allocated, disband the rb */ in recv_ishtp_cl_msg()
865 if (rb->buffer.size == 0 || rb->buffer.data == NULL) { in recv_ishtp_cl_msg()
868 "Rx buffer is not allocated.\n"); in recv_ishtp_cl_msg()
876 * If message buffer overflow in recv_ishtp_cl_msg()
971 unsigned char *buffer = NULL; recv_ishtp_cl_msg_dma() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/fcoe/
H A Dfcoe_transport.c26 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp);
464 * enough buffer left a new page is allocated for the trailer. Reference to
598 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp) in fcoe_transport_show() argument
603 i = j = sprintf(buffer, "Attached FCoE transports:"); in fcoe_transport_show()
608 i += snprintf(&buffer[i], IFNAMSIZ, "%s ", ft->name); in fcoe_transport_show()
612 i += snprintf(&buffer[i], IFNAMSIZ, "none"); in fcoe_transport_show()
703 * fcoe_if_to_netdev() - Parse a name buffer to get a net device
704 * @buffer: The name of the net device
708 static struct net_device *fcoe_if_to_netdev(const char *buffer) in fcoe_if_to_netdev() argument
713 if (buffer) { in fcoe_if_to_netdev()
858 fcoe_transport_create(const char *buffer, const struct kernel_param *kp) fcoe_transport_create() argument
924 fcoe_transport_destroy(const char *buffer, const struct kernel_param *kp) fcoe_transport_destroy() argument
969 fcoe_transport_disable(const char *buffer, const struct kernel_param *kp) fcoe_transport_disable() argument
1004 fcoe_transport_enable(const char *buffer, const struct kernel_param *kp) fcoe_transport_enable() argument
[all...]
/kernel/linux/linux-6.6/sound/xen/
H A Dxen_snd_front_alsa.c29 /* This is the shared buffer with its backing storage. */
31 u8 *buffer; member
225 stream->buffer = NULL; in stream_clear()
235 if (stream->buffer) in stream_free()
236 free_pages_exact(stream->buffer, stream->buffer_sz); in stream_free()
270 struct snd_interval *buffer = in alsa_hw_rule() local
291 req.buffer.min = buffer->min; in alsa_hw_rule()
292 req.buffer.max = buffer in alsa_hw_rule()
[all...]
/third_party/curl/lib/
H A Dmprintf.c73 #define BUFFSIZE 326 /* buffer for long-to-str and float-to-str calcs, should
171 char *buffer; member
679 /* 'workend' points to the final buffer byte position, but with an extra in formatf()
1051 *infop->buffer++ = outc; /* store */ in addbyter()
1058 int curl_mvsnprintf(char *buffer, size_t maxlength, const char *format, in curl_mvsnprintf() argument
1064 info.buffer = buffer; in curl_mvsnprintf()
1073 info.buffer[-1] = 0; in curl_mvsnprintf()
1078 info.buffer[0] = 0; in curl_mvsnprintf()
1083 int curl_msnprintf(char *buffer, size_ argument
1150 char **buffer = f; storebuffer() local
1156 curl_msprintf(char *buffer, const char *format, ...) curl_msprintf() argument
1198 curl_mvsprintf(char *buffer, const char *format, va_list ap_save) curl_mvsprintf() argument
[all...]
/third_party/FreeBSD/sbin/fsck_msdosfs/
H A Ddir.c210 static u_char *buffer = NULL; variable
232 if ((buffer = malloc(len = MAX(rootdir_size, cluster_size))) == NULL) { in resetDosDirSection()
233 perr("No space for directory buffer (%zu)", len); in resetDosDirSection()
238 free(buffer); in resetDosDirSection()
244 free(buffer); in resetDosDirSection()
286 free(buffer); in finishDosDirSection()
288 buffer = NULL; in finishDosDirSection()
367 startcl, start - buffer, in removede()
368 endcl, end - buffer, in removede()
371 start = buffer; in removede()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DBytesTrieTest.java303 StringBuilder buffer=new StringBuilder(); in Test41GetNextBytes()
304 int count=trie.getNextBytes(buffer); in Test41GetNextBytes()
305 if(count!=2 || !"aj".contentEquals(buffer)) { in Test41GetNextBytes()
312 buffer.setLength(0); in Test41GetNextBytes()
313 count=trie.getNextBytes(buffer); in Test41GetNextBytes()
314 if(count!=20 || !".abcdefghijklmnopqru".contentEquals(buffer)) { in Test41GetNextBytes()
319 buffer.setLength(0); in Test41GetNextBytes()
320 count=trie.getNextBytes(buffer); in Test41GetNextBytes()
321 if(count!=20 || !".abcdefghijklmnopqru".contentEquals(buffer)) { in Test41GetNextBytes()
326 buffer in Test41GetNextBytes()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DBytesTrieTest.java301 StringBuilder buffer=new StringBuilder(); in Test41GetNextBytes()
302 int count=trie.getNextBytes(buffer); in Test41GetNextBytes()
303 if(count!=2 || !"aj".contentEquals(buffer)) { in Test41GetNextBytes()
310 buffer.setLength(0); in Test41GetNextBytes()
311 count=trie.getNextBytes(buffer); in Test41GetNextBytes()
312 if(count!=20 || !".abcdefghijklmnopqru".contentEquals(buffer)) { in Test41GetNextBytes()
317 buffer.setLength(0); in Test41GetNextBytes()
318 count=trie.getNextBytes(buffer); in Test41GetNextBytes()
319 if(count!=20 || !".abcdefghijklmnopqru".contentEquals(buffer)) { in Test41GetNextBytes()
324 buffer in Test41GetNextBytes()
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_texture.c88 * ARB_map_buffer_alignment. I am not convinced it's needed for non-buffer in llvmpipe_texture_layout()
260 /* other data (vertex buffer, const buffer, etc) */ in llvmpipe_resource_create_all()
267 * Reserve some extra storage since if we'd render to a buffer we in llvmpipe_resource_create_all()
393 /* other data (vertex buffer, const buffer, etc) */ in llvmpipe_resource_from_memobj()
400 * Reserve some extra storage since if we'd render to a buffer we in llvmpipe_resource_from_memobj()
713 /* Check if we're mapping a current constant buffer */ in llvmpipe_transfer_map_ms()
718 if (resource == llvmpipe->constants[PIPE_SHADER_FRAGMENT][i].buffer) { in llvmpipe_transfer_map_ms()
863 * Create buffer whic
872 struct llvmpipe_resource *buffer; llvmpipe_user_buffer_create() local
[all...]
/third_party/node/deps/v8/src/runtime/
H A Druntime-atomics.cc11 #include "src/objects/js-array-buffer-inl.h"
285 static inline Object Do(Isolate* isolate, void* buffer, size_t index) { in Do()
286 T result = LoadSeqCst(static_cast<T*>(buffer) + index); in Do()
293 static inline void Do(Isolate* isolate, void* buffer, size_t index, in Do()
296 StoreSeqCst(static_cast<T*>(buffer) + index, value); in Do()
302 static inline Object Do(Isolate* isolate, void* buffer, size_t index, in Do()
305 T result = ExchangeSeqCst(static_cast<T*>(buffer) + index, value); in Do()
311 inline Object DoCompareExchange(Isolate* isolate, void* buffer, size_t index, in DoCompareExchange() argument
316 CompareExchangeSeqCst(static_cast<T*>(buffer) + index, oldval, newval); in DoCompareExchange()
322 static inline Object Do(Isolate* isolate, void* buffer, size_
[all...]
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
H A Dgraphics_pipeline.cc427 device_->GetVkFormat(*info->buffer->GetFormat()); in CreateRenderPass()
433 static_cast<VkSampleCountFlagBits>(info->buffer->GetSamples()); in CreateRenderPass()
443 if (depth_stencil_buffer_.buffer && in CreateRenderPass()
444 depth_stencil_buffer_.buffer->GetFormat()->IsFormatKnown()) { in CreateRenderPass()
447 device_->GetVkFormat(*depth_stencil_buffer_.buffer->GetFormat()); in CreateRenderPass()
462 device_->GetVkFormat(*info->buffer->GetFormat()); in CreateRenderPass()
654 uint32_t samples = cb->buffer->GetSamples(); in CreateVkGraphicsPipeline()
699 if (depth_stencil_buffer_.buffer && in CreateVkGraphicsPipeline()
700 depth_stencil_buffer_.buffer->GetFormat()->IsFormatKnown()) { in CreateVkGraphicsPipeline()
764 Result GraphicsPipeline::SetIndexBuffer(Buffer* buffer) { in SetIndexBuffer() argument
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fVertexAttributeBindingStateQueryTests.cpp345 glu::Buffer buffer (m_context.getRenderContext()); in test()
371 gl.glBindVertexBuffer(1, *buffer, 4, 32); in test()
378 gl.glBindVertexBuffer(1, *buffer, 13, 32); in test()
399 gl.glBindVertexBuffer(binding, *buffer, offset, 32); in test()
423 glu::Buffer buffer (m_context.getRenderContext()); in test()
449 gl.glBindVertexBuffer(1, *buffer, 0, 32); in test()
456 gl.glBindVertexBuffer(1, *buffer, 0, 64); in test()
477 gl.glBindVertexBuffer(binding, *buffer, 0, stride); in test()
501 glu::Buffer buffer (m_context.getRenderContext()); in test()
528 gl.glBindVertexBuffer(1, *buffer, in test()
[all...]
/third_party/node/test/fixtures/wpt/streams/readable-byte-streams/
H A Dgeneral.any.js308 bufferByteLength: view.buffer.byteLength,
361 assert_equals(viewInfo.bufferByteLength, 16, 'first view.buffer.byteLength should be 16');
371 assert_equals(value.buffer.byteLength, 16, 'first value.buffer.byteLength should be 16');
380 assert_equals(viewInfo.bufferByteLength, 16, 'second view.buffer.byteLength should be 16');
390 assert_equals(value.buffer.byteLength, 16, 'second value.buffer.byteLength should be 16');
437 assert_equals(value.buffer.byteLength, 16, 'first value.buffer.byteLength should be 16');
446 assert_equals(viewInfo.bufferByteLength, 16, 'first view.buffer
[all...]
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c428 struct pqi_sg_descriptor *sg_descriptor, void *buffer, in pqi_map_single()
433 if (!buffer || buffer_length == 0 || data_direction == DMA_NONE) in pqi_map_single()
436 bus_address = dma_map_single(&pci_dev->dev, buffer, buffer_length, in pqi_map_single()
466 u8 *scsi3addr, void *buffer, size_t buffer_length, in pqi_build_raid_path_request()
565 buffer, buffer_length, *dir); in pqi_build_raid_path_request()
604 u8 *scsi3addr, void *buffer, size_t buffer_length, u16 vpd_page, in pqi_send_scsi_raid_request()
612 cmd, scsi3addr, buffer, in pqi_send_scsi_raid_request()
628 u8 cmd, void *buffer, size_t buffer_length) in pqi_send_ctrl_raid_request()
631 buffer, buffer_length, 0, NULL, NO_TIMEOUT); in pqi_send_ctrl_raid_request()
635 u8 cmd, void *buffer, size_ in pqi_send_ctrl_raid_with_error()
427 pqi_map_single(struct pci_dev *pci_dev, struct pqi_sg_descriptor *sg_descriptor, void *buffer, size_t buffer_length, enum dma_data_direction data_direction) pqi_map_single() argument
464 pqi_build_raid_path_request(struct pqi_ctrl_info *ctrl_info, struct pqi_raid_path_request *request, u8 cmd, u8 *scsi3addr, void *buffer, size_t buffer_length, u16 vpd_page, enum dma_data_direction *dir) pqi_build_raid_path_request() argument
603 pqi_send_scsi_raid_request(struct pqi_ctrl_info *ctrl_info, u8 cmd, u8 *scsi3addr, void *buffer, size_t buffer_length, u16 vpd_page, struct pqi_raid_error_info *error_info, unsigned long timeout_msecs) pqi_send_scsi_raid_request() argument
627 pqi_send_ctrl_raid_request(struct pqi_ctrl_info *ctrl_info, u8 cmd, void *buffer, size_t buffer_length) pqi_send_ctrl_raid_request() argument
634 pqi_send_ctrl_raid_with_error(struct pqi_ctrl_info *ctrl_info, u8 cmd, void *buffer, size_t buffer_length, struct pqi_raid_error_info *error_info) pqi_send_ctrl_raid_with_error() argument
642 pqi_identify_controller(struct pqi_ctrl_info *ctrl_info, struct bmic_identify_controller *buffer) pqi_identify_controller() argument
657 pqi_scsi_inquiry(struct pqi_ctrl_info *ctrl_info, u8 *scsi3addr, u16 vpd_page, void *buffer, size_t buffer_length) pqi_scsi_inquiry() argument
664 pqi_identify_physical_device(struct pqi_ctrl_info *ctrl_info, struct pqi_scsi_dev *device, struct bmic_identify_physical_device *buffer, size_t buffer_length) pqi_identify_physical_device() argument
718 pqi_csmi_smp_passthru(struct pqi_ctrl_info *ctrl_info, struct bmic_csmi_smp_passthru_buffer *buffer, size_t buffer_length, struct pqi_raid_error_info *error_info) pqi_csmi_smp_passthru() argument
753 pqi_write_host_wellness(struct pqi_ctrl_info *ctrl_info, void *buffer, size_t buffer_length) pqi_write_host_wellness() argument
777 struct bmic_host_wellness_driver_version *buffer; pqi_write_driver_version_to_host_wellness() local
826 struct bmic_host_wellness_time *buffer; pqi_write_current_time_to_host_wellness() local
906 pqi_report_luns(struct pqi_ctrl_info *ctrl_info, u8 cmd, void *buffer, size_t buffer_length) pqi_report_luns() argument
913 pqi_report_phys_logical_luns(struct pqi_ctrl_info *ctrl_info, u8 cmd, void **buffer) pqi_report_phys_logical_luns() argument
976 pqi_report_phys_luns(struct pqi_ctrl_info *ctrl_info, void **buffer) pqi_report_phys_luns() argument
983 pqi_report_logical_luns(struct pqi_ctrl_info *ctrl_info, void **buffer) pqi_report_logical_luns() argument
1103 u8 *buffer; pqi_get_raid_level() local
1233 u8 *buffer; pqi_get_raid_bypass_status() local
1346 u8 *buffer; pqi_get_logical_device_info() local
1616 char buffer[PQI_DEV_INFO_BUFFER_LENGTH]; pqi_dev_info() local
6158 pqi_firmware_version_show(struct device *dev, struct device_attribute *attr, char *buffer) pqi_firmware_version_show() argument
6170 pqi_driver_version_show(struct device *dev, struct device_attribute *attr, char *buffer) pqi_driver_version_show() argument
6177 pqi_serial_number_show(struct device *dev, struct device_attribute *attr, char *buffer) pqi_serial_number_show() argument
6189 pqi_model_show(struct device *dev, struct device_attribute *attr, char *buffer) pqi_model_show() argument
6201 pqi_vendor_show(struct device *dev, struct device_attribute *attr, char *buffer) pqi_vendor_show() argument
6213 pqi_host_rescan_store(struct device *dev, struct device_attribute *attr, const char *buffer, size_t count) pqi_host_rescan_store() argument
6223 pqi_lockup_action_show(struct device *dev, struct device_attribute *attr, char *buffer) pqi_lockup_action_show() argument
6243 pqi_lockup_action_store(struct device *dev, struct device_attribute *attr, const char *buffer, size_t count) pqi_lockup_action_store() argument
6283 pqi_unique_id_show(struct device *dev, struct device_attribute *attr, char *buffer) pqi_unique_id_show() argument
6320 pqi_lunid_show(struct device *dev, struct device_attribute *attr, char *buffer) pqi_lunid_show() argument
6432 pqi_sas_address_show(struct device *dev, struct device_attribute *attr, char *buffer) pqi_sas_address_show() argument
6459 pqi_ssd_smart_path_enabled_show(struct device *dev, struct device_attribute *attr, char *buffer) pqi_ssd_smart_path_enabled_show() argument
6487 pqi_raid_level_show(struct device *dev, struct device_attribute *attr, char *buffer) pqi_raid_level_show() argument
6517 pqi_raid_bypass_cnt_show(struct device *dev, struct device_attribute *attr, char *buffer) pqi_raid_bypass_cnt_show() argument
[all...]
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
H A Dcert_manager_app_cert_process.c109 CM_LOG_E("malloc buffer failed!"); in SaveKeyMaterialEcc()
193 uint8_t *buffer = (uint8_t *)CMMalloc(totalSize); in SaveKeyMaterialCurve25519() local
194 if (buffer == NULL) { in SaveKeyMaterialCurve25519()
198 (void)memset_s(buffer, totalSize, 0, totalSize); in SaveKeyMaterialCurve25519()
204 if (EVP_PKEY_get_raw_public_key(pKey, buffer + offset, &tmpPubKeyLen) != CM_OPENSSL_SUCCESS) { in SaveKeyMaterialCurve25519()
206 (void)memset_s(buffer, totalSize, 0, totalSize); in SaveKeyMaterialCurve25519()
207 CMFree(buffer); in SaveKeyMaterialCurve25519()
213 if (EVP_PKEY_get_raw_private_key(pKey, buffer + offset, &tmpPriKeyLen) != CM_OPENSSL_SUCCESS) { in SaveKeyMaterialCurve25519()
215 (void)memset_s(buffer, totalSize, 0, totalSize); in SaveKeyMaterialCurve25519()
216 CMFree(buffer); in SaveKeyMaterialCurve25519()
[all...]
/base/update/updater/services/diffpatch/patch/
H A Dimage_patch.cpp163 int32_t CompressedImagePatch::DecompressData(Hpackage::PkgManager::PkgManagerPtr &pkgManager, PkgBuffer buffer, in DecompressData() argument
176 info->packedSize = buffer.length; in DecompressData()
188 ret = pkgManager->DecompressBuffer(info.get(), buffer, stream); in DecompressData()
209 ret = memcpy_s(memBuffer.buffer + info->unpackedSize, in DecompressData()
339 int32_t CompressedFileRestore::Write(size_t start, const BlockBuffer &buffer, size_t size) in Write() argument
345 SHA256_Update(&sha256Ctx_, buffer.buffer, size); in Write()
346 BlockBuffer data = { buffer.buffer, size }; in Write()
361 BlockBuffer buffer in CompressData() local
[all...]
/kernel/linux/linux-5.10/arch/s390/hypfs/
H A Dinode.c403 char *buffer; in hypfs_create_u64() local
408 buffer = kstrdup(tmp, GFP_KERNEL); in hypfs_create_u64()
409 if (!buffer) in hypfs_create_u64()
412 hypfs_create_file(dir, name, buffer, S_IFREG | REG_FILE_MODE); in hypfs_create_u64()
414 kfree(buffer); in hypfs_create_u64()
424 char *buffer; in hypfs_create_str() local
427 buffer = kmalloc(strlen(string) + 2, GFP_KERNEL); in hypfs_create_str()
428 if (!buffer) in hypfs_create_str()
430 sprintf(buffer, "%s\n", string); in hypfs_create_str()
432 hypfs_create_file(dir, name, buffer, S_IFRE in hypfs_create_str()
[all...]

Completed in 34 milliseconds

1...<<101102103104105106107108109110>>...547