Home
last modified time | relevance | path

Searched refs:buffer (Results 10826 - 10850 of 12861) sorted by relevance

1...<<431432433434435436437438439440>>...515

/third_party/rust/crates/libc/src/unix/haiku/
H A Dmod.rs1620 buffer: *mut ::c_char, in getspnam_r()
1628 buffer: *mut ::c_char, in sgetspent_r()
1636 buffer: *mut ::c_char, in fgetspent_r()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryLayeredRenderingTests.cpp72 TEST_TYPE_SECONDARY_CMD_BUFFER // !< layered rendering using secondary command buffer
361 void copyLayeredImageToBuffer(const DeviceInterface& vk, VkCommandBuffer cmdBuffer, VkImage image, VkBuffer buffer, const ImageParams& imageParams) in copyLayeredImageToBuffer() argument
382 // Color image -> host buffer in copyLayeredImageToBuffer()
394 vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, 1u, &region); in copyLayeredImageToBuffer()
406 buffer, // VkBuffer buffer in copyLayeredImageToBuffer()
1271 // Copy color image to buffer
1712 // Begin secondary command buffer
1863 // Layered rendering using secondary command buffer
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineAttachmentFeedbackLoopLayoutTests.cpp209 const VkBuffer& buffer, in allocateBuffer()
218 const VkMemoryRequirements memoryRequirements = getBufferMemoryRequirements(vkd, device, buffer); in allocateBuffer()
225 return allocateDedicated(vki, vkd, physDevice, device, buffer, requirement); in allocateBuffer()
865 // Create vertex buffer in setup()
886 // Load vertices into vertex buffer in setup()
891 // Create command buffer in setup()
1430 // Create vertex buffer in setup()
1451 // Load vertices into vertex buffer in setup()
1456 // Create command buffer in setup()
205 allocateBuffer(const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkBuffer& buffer, const MemoryRequirement requirement, Allocator& allocator, AllocationKind allocationKind) allocateBuffer() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassFragmentDensityMapTests.cpp798 const VkBuffer& buffer, in copyBufferToImage()
829 // Barriers for copying buffer to image in copyBufferToImage()
833 buffer, // VkBuffer buffer; in copyBufferToImage()
867 vk.cmdCopyBufferToImage(*cmdBuffer, buffer, destImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, &copyRegion); in copyBufferToImage()
1581 // Create and fill staging buffer, copy its data to density map image in FragmentDensityMapTestInstance()
1606 // Fill staging buffer with one color in FragmentDensityMapTestInstance()
2046 // Create command pool and command buffer in FragmentDensityMapTestInstance()
2622 // Record primary command buffer in createCommandBufferForDynamicRendering()
2919 // Reduce number of tests for dynamic rendering cases where secondary command buffer i in createChildren()
794 copyBufferToImage(const DeviceInterface& vk, VkDevice device, VkQueue queue, deUint32 queueFamilyIndex, const VkBuffer& buffer, VkDeviceSize bufferSize, const VkExtent3D& imageSize, deUint32 arrayLayers, VkImage destImage) copyBufferToImage() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
H A DvktGeometryLayeredRenderingTests.cpp72 TEST_TYPE_SECONDARY_CMD_BUFFER // !< layered rendering using secondary command buffer
361 void copyLayeredImageToBuffer(const DeviceInterface& vk, VkCommandBuffer cmdBuffer, VkImage image, VkBuffer buffer, const ImageParams& imageParams) in copyLayeredImageToBuffer() argument
382 // Color image -> host buffer in copyLayeredImageToBuffer()
394 vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, 1u, &region); in copyLayeredImageToBuffer()
406 buffer, // VkBuffer buffer in copyLayeredImageToBuffer()
1271 // Copy color image to buffer
1712 // Begin secondary command buffer
1856 { TEST_TYPE_SECONDARY_CMD_BUFFER, "secondary_cmd_buffer", "Layered rendering using secondary command buffer" }
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
H A Dentry_points_gles_3_1_autogen.cpp114 GLuint buffer, in GL_BindVertexBuffer()
120 "context = %d, bindingindex = %u, buffer = %u, offset = %llu, stride = %d", CID(context), in GL_BindVertexBuffer()
121 bindingindex, buffer, static_cast<unsigned long long>(offset), stride); in GL_BindVertexBuffer()
125 BufferID bufferPacked = PackParam<BufferID>(buffer); in GL_BindVertexBuffer()
113 GL_BindVertexBuffer(GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride) GL_BindVertexBuffer() argument
/third_party/skia/src/sksl/codegen/
H A DSkSLMetalCodeGenerator.cpp1822 this->write(", constant Uniforms& _uniforms [[buffer(" + in writeFunctionDeclaration()
1861 this->write(" [[buffer("); in writeFunctionDeclaration()
1868 this->write(", constant sksl_synthetic_uniforms& _anonInterface0 [[buffer(1)]]"); in writeFunctionDeclaration()
1948 StringStream buffer; in writeFunction() local
1950 AutoOutputStream outputToBuffer(this, &buffer); in writeFunction()
1969 this->write(buffer.str()); in writeFunction()
/third_party/vixl/test/aarch64/
H A Dtest-api-aarch64.cc361 CodeBuffer* buffer = masm.GetBuffer(); in CPURegisterByValueHelper() local
362 auto fn = buffer->GetStartAddress<CPURegister (*)(int, CPURegister)>(); in CPURegisterByValueHelper()
363 buffer->SetExecutable(); in CPURegisterByValueHelper()
/third_party/vk-gl-cts/modules/gles3/stress/
H A Des3sSpecialFloatTests.cpp272 std::vector<tcu::Vector<deUint8, 4> > buffer(textureSize*textureSize); in drawTestPattern()
281 buffer[x * textureSize + y] = tcu::Vector<deUint8, 4>(redComponent, 255, 255, 255); in drawTestPattern()
286 gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, textureSize, textureSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, buffer[0].getPtr()); in drawTestPattern()
2094 vertexGroup->addChild(new VertexAttributeCase (m_context, "attribute_buffer", "special attribute values in a buffer", VertexAttributeCase::STORAGE_BUFFER, VertexAttributeCase::TYPE_VERTEX));
2110 fragmentGroup->addChild(new VertexAttributeCase (m_context, "attribute_buffer", "special attribute values in a buffer", VertexAttributeCase::STORAGE_BUFFER, VertexAttributeCase::TYPE_FRAGMENT));
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineAttachmentFeedbackLoopLayoutTests.cpp157 const VkBuffer& buffer, in allocateBuffer()
166 const VkMemoryRequirements memoryRequirements = getBufferMemoryRequirements(vkd, device, buffer); in allocateBuffer()
173 return allocateDedicated(vki, vkd, physDevice, device, buffer, requirement); in allocateBuffer()
763 // Create vertex buffer in setup()
784 // Load vertices into vertex buffer in setup()
789 // Create command buffer in setup()
1274 // Create vertex buffer in setup()
1295 // Load vertices into vertex buffer in setup()
1300 // Create command buffer in setup()
153 allocateBuffer(const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkBuffer& buffer, const MemoryRequirement requirement, Allocator& allocator, AllocationKind allocationKind) allocateBuffer() argument
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingCaptureReplayTests.cpp394 DE_NULL //VkBuffer buffer; in initShaderBindingTables()
396 deviceAddressInfo.buffer = pipelineData.pipelines[0].raygenShaderBindingTable->get(); in initShaderBindingTables()
398 deviceAddressInfo.buffer = pipelineData.pipelines[0].missShaderBindingTable->get(); in initShaderBindingTables()
400 deviceAddressInfo.buffer = pipelineData.pipelines[0].hitShaderBindingTable->get(); in initShaderBindingTables()
929 // For this test we need to create separate device with ray tracing features and buffer device address features enabled in runTest()
1330 // copy layer index into uniform buffer in runTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassFragmentDensityMapTests.cpp794 const VkBuffer& buffer, in copyBufferToImage()
825 // Barriers for copying buffer to image in copyBufferToImage()
829 buffer, // VkBuffer buffer; in copyBufferToImage()
863 vk.cmdCopyBufferToImage(*cmdBuffer, buffer, destImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1u, &copyRegion); in copyBufferToImage()
1540 // Create and fill staging buffer, copy its data to density map image in FragmentDensityMapTestInstance()
1565 // Fill staging buffer with one color in FragmentDensityMapTestInstance()
1977 // Create command pool and command buffer in FragmentDensityMapTestInstance()
2545 // Record primary command buffer in createCommandBufferForDynamicRendering()
2826 // Reduce number of tests for dynamic rendering cases where secondary command buffer i in createChildren()
790 copyBufferToImage(const DeviceInterface& vk, VkDevice device, VkQueue queue, deUint32 queueFamilyIndex, const VkBuffer& buffer, VkDeviceSize bufferSize, const VkExtent3D& imageSize, deUint32 arrayLayers, VkImage destImage) copyBufferToImage() argument
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_core_linux.c674 /* version buffer size check is made in compile time assert */ in kbase_legacy_dispatch()
820 dev_err(kbdev->dev, "buffer too big\n"); in kbase_legacy_dispatch()
1334 err = copy_to_user(get_props->buffer.value, kprops->prop_buffer, kprops->prop_buffer_size); in kbase_api_get_gpuprops()
1621 return copy_to_user(controls->buffer.value, &kctx->kbdev->kbase_profiling_controls[FBDUMP_CONTROL_MIN], in kbase_api_get_profiling_controls()
1632 dev_err(kctx->kbdev->dev, "mem_profile_add: buffer too big\n"); in kbase_api_mem_profile_add()
1643 user_buf = compat_ptr(data->buffer.compat_value); in kbase_api_mem_profile_add()
1646 user_buf = data->buffer.value; in kbase_api_mem_profile_add()
2165 * @buf: The output buffer for the sysfs file contents
2268 * @buf: The output buffer for the sysfs file contents
2368 * @buf: The output buffer fo
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_core_linux.c689 /* version buffer size check is made in compile time assert */ in kbase_legacy_dispatch()
841 dev_err(kbdev->dev, "buffer too big\n"); in kbase_legacy_dispatch()
1366 err = copy_to_user(get_props->buffer.value, kprops->prop_buffer, in kbase_api_get_gpuprops()
1690 return copy_to_user(controls->buffer.value, in kbase_api_get_profiling_controls()
1704 dev_err(kctx->kbdev->dev, "mem_profile_add: buffer too big\n"); in kbase_api_mem_profile_add()
1714 user_buf = compat_ptr(data->buffer.compat_value); in kbase_api_mem_profile_add()
1717 user_buf = data->buffer.value; in kbase_api_mem_profile_add()
2281 * @buf: The output buffer for the sysfs file contents
2386 * @buf: The output buffer for the sysfs file contents
2489 * @buf: The output buffer fo
[all...]
/kernel/linux/linux-5.10/drivers/ata/
H A Dlibata-scsi.c309 * @arg: User buffer area for identify data
896 * Copy registers into sense buffer. in ata_gen_passthru_sense()
1049 ata_dev_err(dev, "drain buffer allocation failed\n"); in ata_scsi_dev_config()
1058 * ata_pio_sectors() expects buffer for each sector to not cross in ata_scsi_dev_config()
1771 * ata_scsi_rbuf_get - Map response buffer.
1772 * @cmd: SCSI command containing buffer to be mapped.
1774 * @copy_in: copy in from user buffer
1776 * Prepare buffer for simulated SCSI commands.
1782 * Pointer to response buffer.
1797 * ata_scsi_rbuf_put - Unmap response buffer
3728 u8 buffer[64]; ata_scsi_mode_select_xlat() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
H A Dhostap_ioctl.c266 * the keys from driver buffer */ in prism2_ioctl_giwencode()
1955 char *buffer, int buflen) in prism2_translate_scan()
1959 char *current_ev = buffer; in prism2_translate_scan()
1960 char *end_buf = buffer + buflen; in prism2_translate_scan()
1995 /* Ask user space to try again with a bigger buffer */ in prism2_translate_scan()
2013 /* Ask user space to try again with a bigger buffer */ in prism2_translate_scan()
2021 return current_ev - buffer; in prism2_translate_scan()
3072 * Add 16-bit length in the beginning of the buffer because Prism2 RID in prism2_set_genericelement()
1953 prism2_translate_scan(local_info_t *local, struct iw_request_info *info, char *buffer, int buflen) prism2_translate_scan() argument
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dpatch_hdmi.c481 struct snd_info_buffer *buffer) in print_eld_info()
486 snd_hdmi_print_eld_info(&per_pin->sink_eld, buffer); in print_eld_info()
491 struct snd_info_buffer *buffer) in write_eld_info()
496 snd_hdmi_write_eld_info(&per_pin->sink_eld, buffer); in write_eld_info()
480 print_eld_info(struct snd_info_entry *entry, struct snd_info_buffer *buffer) print_eld_info() argument
490 write_eld_info(struct snd_info_entry *entry, struct snd_info_buffer *buffer) write_eld_info() argument
/kernel/linux/linux-6.6/drivers/ata/
H A Dlibata-scsi.c330 * @arg: User buffer area for identify data
895 * Copy registers into sense buffer. in ata_gen_passthru_sense()
1048 ata_dev_err(dev, "drain buffer allocation failed\n"); in ata_scsi_dev_config()
1069 * ata_pio_sectors() expects buffer for each sector to not cross in ata_scsi_dev_config()
1788 * Mapping the response buffer, calling the command's handler,
1792 * and sense buffer are assumed to be set).
1821 * @rbuf: Response buffer, to which simulated SCSI cmd output is sent.
1904 * @rbuf: Response buffer, to which simulated SCSI cmd output is sent.
1940 * @rbuf: Response buffer, to which simulated SCSI cmd output is sent.
1965 * @rbuf: Response buffer, t
3828 u8 buffer[64]; ata_scsi_mode_select_xlat() local
[all...]
/kernel/linux/linux-6.6/fs/smb/client/
H A Dconnect.c633 /* beginning of smb buffer is cleared in our buf_get */ in allocate_buffers()
865 smb2_get_credits_from_hdr(char *buffer, struct TCP_Server_Info *server) in smb2_get_credits_from_hdr() argument
867 struct smb2_hdr *shdr = (struct smb2_hdr *)buffer; in smb2_get_credits_from_hdr()
890 /* smb buffer will be freed by user thread */ in handle_mid()
1045 /* make sure this will fit in a large buffer */ in standard_receive3()
1053 /* switch to large buffer if too big for a small one */ in standard_receive3()
1110 smb2_add_credits_from_hdr(char *buffer, struct TCP_Server_Info *server) in smb2_add_credits_from_hdr() argument
1112 struct smb2_hdr *shdr = (struct smb2_hdr *)buffer; in smb2_add_credits_from_hdr()
1320 /* buffer usually freed in free_mid - need to free it here on exit */ in cifs_demultiplex_thread()
3071 * user space buffer in generic_ip_connect()
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dasus-wmi.c147 u32 arg2; /* At least TUF Gaming series uses 3 dword input buffer. */
383 * Returns as an error if the method output is not a buffer. Typically this
410 if (obj->buffer.length > size) { in asus_wmi_evaluate_method_buf()
414 if (obj->buffer.length == 0) { in asus_wmi_evaluate_method_buf()
419 memcpy(ret_buffer, obj->buffer.pointer, obj->buffer.length); in asus_wmi_evaluate_method_buf()
427 * At least one method returns a 0 with no buffer if no arg in asus_wmi_evaluate_method_buf()
/kernel/linux/linux-6.6/drivers/target/
H A Dtarget_core_user.c50 * moving buffer allocations, or even page flipping or other
252 static int tcmu_get_global_max_data_area(char *buffer, in tcmu_get_global_max_data_area() argument
255 return sprintf(buffer, "%d\n", TCMU_PAGES_TO_MBS(tcmu_global_max_pages)); in tcmu_get_global_max_data_area()
269 static int tcmu_get_block_netlink(char *buffer, in tcmu_get_block_netlink() argument
272 return sprintf(buffer, "%s\n", tcmu_netlink_blocked ? in tcmu_get_block_netlink()
796 * buffer blocks, and before gathering the Data-In buffer in gather_data_area()
797 * the Data-Out buffer blocks should be skipped. in gather_data_area()
1024 /* size of data buffer needed */ in queue_cmd_ring()
1372 /* Get Data-In buffer befor in tcmu_handle_completion()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/hostap/
H A Dhostap_ioctl.c257 * the keys from driver buffer */ in prism2_ioctl_giwencode()
1973 char *buffer, int buflen) in prism2_translate_scan()
1977 char *current_ev = buffer; in prism2_translate_scan()
1978 char *end_buf = buffer + buflen; in prism2_translate_scan()
2013 /* Ask user space to try again with a bigger buffer */ in prism2_translate_scan()
2031 /* Ask user space to try again with a bigger buffer */ in prism2_translate_scan()
2039 return current_ev - buffer; in prism2_translate_scan()
3091 * Add 16-bit length in the beginning of the buffer because Prism2 RID in prism2_set_genericelement()
1971 prism2_translate_scan(local_info_t *local, struct iw_request_info *info, char *buffer, int buflen) prism2_translate_scan() argument
/kernel/linux/linux-6.6/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c82 static int srpt_set_u64_x(const char *buffer, const struct kernel_param *kp) in srpt_set_u64_x() argument
84 return kstrtou64(buffer, 16, (u64 *)kp->arg); in srpt_set_u64_x()
86 static int srpt_get_u64_x(char *buffer, const struct kernel_param *kp) in srpt_get_u64_x() argument
88 return sprintf(buffer, "0x%016llx\n", *(u64 *)kp->arg); in srpt_get_u64_x()
658 * @buf_cache: I/O buffer cache.
695 * @buf_cache: I/O buffer cache.
716 * @buf_cache: I/O buffer cache.
717 * @alignment_offset: Offset in each ring buffer at which the SRP information
759 * @buf_cache: I/O buffer cache.
1028 * The lower four bits of the buffer forma in srpt_get_desc_tbl()
[all...]
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dpatch_hdmi.c494 struct snd_info_buffer *buffer) in print_eld_info()
499 snd_hdmi_print_eld_info(&per_pin->sink_eld, buffer, per_pin->pin_nid, in print_eld_info()
505 struct snd_info_buffer *buffer) in write_eld_info()
510 snd_hdmi_write_eld_info(&per_pin->sink_eld, buffer); in write_eld_info()
493 print_eld_info(struct snd_info_entry *entry, struct snd_info_buffer *buffer) print_eld_info() argument
504 write_eld_info(struct snd_info_entry *entry, struct snd_info_buffer *buffer) write_eld_info() argument
/kernel/linux/linux-6.6/drivers/scsi/aacraid/
H A Daachba.c1092 /* Move the inquiry data to the response buffer. */ in get_container_serial_callback()
1699 /* allocate DMA buffer for response */ in aac_send_safw_bmic_cmd()
2142 char buffer[16]; in aac_get_adapter_info() local
2163 buffer[0] = '\0'; in aac_get_adapter_info()
2165 shost_to_class(dev->scsi_host_ptr), buffer)) in aac_get_adapter_info()
2167 dev->name, dev->id, buffer); in aac_get_adapter_info()

Completed in 103 milliseconds

1...<<431432433434435436437438439440>>...515