Home
last modified time | relevance | path

Searched refs:buffer (Results 13076 - 13100 of 16152) sorted by relevance

1...<<521522523524525526527528529530>>...647

/third_party/skia/third_party/vulkanmemoryallocator/include/
H A Dvk_mem_alloc.h62 - [Ring buffer](@ref linear_algorithm_ring_buffer)
165 When you want to create a buffer or image:
180 VkBuffer buffer;
182 vmaCreateBuffer(allocator, &bufferInfo, &allocInfo, &buffer, &allocation, nullptr);
188 vmaDestroyBuffer(allocator, buffer, allocation);
205 specific image or buffer, you can use function vmaAllocateMemory(). Usage of
209 -# If you already have a buffer or an image created, you want to allocate memory
214 -# If you want to create a buffer or an image, allocate memory for it and bind
219 supported for that buffer or image (function `vkGetBufferMemoryRequirements()`)
236 For example, if you want to create a uniform buffer tha
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v9_0.c1713 volatile u32 *buffer) in gfx_v9_0_get_csb_buffer()
1721 if (buffer == NULL) in gfx_v9_0_get_csb_buffer()
1724 buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); in gfx_v9_0_get_csb_buffer()
1725 buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE); in gfx_v9_0_get_csb_buffer()
1727 buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1)); in gfx_v9_0_get_csb_buffer()
1728 buffer[count++] = cpu_to_le32(0x80000000); in gfx_v9_0_get_csb_buffer()
1729 buffer[count++] = cpu_to_le32(0x80000000); in gfx_v9_0_get_csb_buffer()
1734 buffer[count++] = in gfx_v9_0_get_csb_buffer()
1736 buffer[count++] = cpu_to_le32(ext->reg_index - in gfx_v9_0_get_csb_buffer()
1739 buffer[coun in gfx_v9_0_get_csb_buffer()
1712 gfx_v9_0_get_csb_buffer(struct amdgpu_device *adev, volatile u32 *buffer) gfx_v9_0_get_csb_buffer() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v9_0.c1438 volatile u32 *buffer) in gfx_v9_0_get_csb_buffer()
1446 if (buffer == NULL) in gfx_v9_0_get_csb_buffer()
1449 buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); in gfx_v9_0_get_csb_buffer()
1450 buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE); in gfx_v9_0_get_csb_buffer()
1452 buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1)); in gfx_v9_0_get_csb_buffer()
1453 buffer[count++] = cpu_to_le32(0x80000000); in gfx_v9_0_get_csb_buffer()
1454 buffer[count++] = cpu_to_le32(0x80000000); in gfx_v9_0_get_csb_buffer()
1459 buffer[count++] = in gfx_v9_0_get_csb_buffer()
1461 buffer[count++] = cpu_to_le32(ext->reg_index - in gfx_v9_0_get_csb_buffer()
1464 buffer[coun in gfx_v9_0_get_csb_buffer()
1437 gfx_v9_0_get_csb_buffer(struct amdgpu_device *adev, volatile u32 *buffer) gfx_v9_0_get_csb_buffer() argument
[all...]
/third_party/mesa3d/include/GLES2/
H A Dgl2ext.h656 typedef void (GL_APIENTRYP PFNGLTEXBUFFEROESPROC) (GLenum target, GLenum internalformat, GLuint buffer);
657 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
659 GL_APICALL void GL_APIENTRY glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer);
660 GL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
1416 typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1419 GL_APICALL void GL_APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1530 typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
1548 GL_APICALL void GL_APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
2093 typedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
2094 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintpt
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineMultisampledRenderToSingleSampledTests.cpp337 // Accumulate objects throughout the test to avoid them getting deleted before the command buffer is submitted and waited on.
513 // Simply increment the buffer in makeGraphicsPipeline()
658 const Move<VkBuffer> buffer[5] = in logTestImages() local
668 bindBuffer(vk, device, *allocator, *buffer[0], MemoryRequirement::HostVisible), in logTestImages()
669 bindBuffer(vk, device, *allocator, *buffer[1], MemoryRequirement::HostVisible), in logTestImages()
670 bindBuffer(vk, device, *allocator, *buffer[2], MemoryRequirement::HostVisible), in logTestImages()
671 bindBuffer(vk, device, *allocator, *buffer[3], MemoryRequirement::HostVisible), in logTestImages()
672 bindBuffer(vk, device, *allocator, *buffer[4], MemoryRequirement::HostVisible), in logTestImages()
686 copyImageToBuffer(vk, *cmdBuffer, *wd.getResolvedFloatColorImage1(params), *buffer[0], size, VK_ACCESS_SHADER_WRITE_BIT, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, 1); in logTestImages()
688 copyImageToBuffer(vk, *cmdBuffer, *wd.getResolvedFloatColorImage2(params), *buffer[ in logTestImages()
757 const Move<VkBuffer> buffer = makeBuffer(vk, device, bufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT); logVerifyImages() local
[all...]
H A DvktPipelineExtendedDynamicStateTests.cpp226 // Create buffer data given an array of coordinates and an initial padding.
254 // Fill a section of the given buffer (from offset to offset+count) with repeating copies of the given data.
279 std::vector<deUint8> buffer; in createSingleBindingVertexData() local
280 buffer.resize(dataOffsetSz + coords.size() * sizeof(T) + trailingPaddingSz); in createSingleBindingVertexData()
282 fillWithPattern(buffer.data(), 0u, dataOffsetSz, paddingPattern, patternSize); in createSingleBindingVertexData()
287 new (&buffer[pos]) T(coord); in createSingleBindingVertexData()
291 fillWithPattern(buffer.data(), pos, trailingPaddingSz, paddingPattern, patternSize); in createSingleBindingVertexData()
293 return buffer; in createSingleBindingVertexData()
335 declarations.push_back("layout(set=0, binding=0, std430) readonly buffer S0B0Block {");
471 declarations.push_back("layout(set=0, binding=0, std430) readonly buffer S0B0Bloc
3864 BufferWithMemoryPtr buffer; global() member
3877 copyAndFlush(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::BufferWithMemory& buffer, size_t offset, const void* src, size_t size) copyAndFlush() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineMultisampledRenderToSingleSampledTests.cpp335 // Accumulate objects throughout the test to avoid them getting deleted before the command buffer is submitted and waited on.
509 // Simply increment the buffer in makeGraphicsPipeline()
654 const Move<VkBuffer> buffer[5] = in logTestImages() local
664 bindBuffer(vk, device, *allocator, *buffer[0], MemoryRequirement::HostVisible), in logTestImages()
665 bindBuffer(vk, device, *allocator, *buffer[1], MemoryRequirement::HostVisible), in logTestImages()
666 bindBuffer(vk, device, *allocator, *buffer[2], MemoryRequirement::HostVisible), in logTestImages()
667 bindBuffer(vk, device, *allocator, *buffer[3], MemoryRequirement::HostVisible), in logTestImages()
668 bindBuffer(vk, device, *allocator, *buffer[4], MemoryRequirement::HostVisible), in logTestImages()
682 copyImageToBuffer(vk, *cmdBuffer, *wd.getResolvedFloatColorImage1(params), *buffer[0], size, VK_ACCESS_SHADER_WRITE_BIT, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, 1); in logTestImages()
684 copyImageToBuffer(vk, *cmdBuffer, *wd.getResolvedFloatColorImage2(params), *buffer[ in logTestImages()
753 const Move<VkBuffer> buffer = makeBuffer(vk, device, bufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT); logVerifyImages() local
[all...]
/arkcompiler/runtime_core/compiler/tests/aarch64/
H A Dencoder64_test.cpp3327 uint64_t buffer[3] = {0xFFFFFFFFFFFFFFFFULL, input_word, 0xFFFFFFFFFFFFFFFFULL}; in TestLoadExclusive() local
3340 auto word_addr = reinterpret_cast<uintptr_t>(&buffer[1]); in TestLoadExclusive()
3347 uint64_t buffer = 0xFFFFFFFFFFFFFFFFULL; in TestStoreExclusiveFailed() local
3363 auto word_addr = reinterpret_cast<uintptr_t>(&buffer); in TestStoreExclusiveFailed()
3364 return test->CallCode<uintptr_t, T>(word_addr, static_cast<T>(buffer), 1); in TestStoreExclusiveFailed()
3370 // test writes value into buffer[1] in TestStoreExclusive()
3371 uint64_t buffer[3] = {0xFFFFFFFFFFFFFFFFULL, 0xFFFFFFFFFFFFFFFFULL, 0xFFFFFFFFFFFFFFFFULL}; in TestStoreExclusive() local
3393 auto word_addr = reinterpret_cast<uintptr_t>(&buffer[1]); in TestStoreExclusive()
3397 if (buffer[1] != expected_result) { in TestStoreExclusive()
3399 << buffer[ in TestStoreExclusive()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_uni_render_visitor_test.cpp433 * @tc.desc: UpdateHwcNodeByTransform Test, buffer of RSSurfaceHandler is not nullptr, and
455 * @tc.desc: UpdateHwcNodeByTransform Test, buffer of RSSurfaceHandler is not nullptr, and
478 const auto& buffer = node->GetRSSurfaceHandler()->GetBuffer(); in HWTEST_F() local
486 * @tc.desc: UpdateHwcNodeByTransform Test, buffer of RSSurfaceHandler is not nullptr, and
507 auto& buffer = node->surfaceHandler_->buffer_.buffer; in HWTEST_F() local
512 ASSERT_EQ(surface->GetScalingMode(buffer->GetSeqNum(), preScalingMode), GSERROR_INVALID_ARGUMENTS); in HWTEST_F()
521 * @tc.desc: UpdateHwcNodeByTransform Test, buffer of RSSurfaceHandler is not nullptr, and
542 auto& buffer = node->surfaceHandler_->buffer_.buffer; in HWTEST_F() local
1361 const sptr<SurfaceBuffer>& buffer = surfaceNode->GetRSSurfaceHandler()->GetBuffer(); HWTEST_F() local
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_importer.cpp634 // All targets collected to single buffer. in GenerateMorphTargets()
731 // NOTE. Currenty morph render node always writes tangent data to output buffer. in CreatePrimitiveImportInfo()
1486 // Create buffer for uploading image data in ImportTexture()
1497 // Ideally ImageLoader would decode directly to the buffer to save one copy. in ImportTexture()
1498 if (auto buffer = static_cast<uint8_t*>(gpuResourceManager.MapBufferMemory(bufferHandle)); buffer) { in ImportTexture()
1500 std::copy(data.data(), data.data() + count, buffer); in ImportTexture()
2851 auto fill = [](array_view<const uint8_t> data, const MeshComponent::Submesh::BufferAccess& buffer) {
2852 if (buffer.offset > data.size() || buffer
[all...]
/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_receiver.c256 * (checksum based) resync, if the max-buffers, socket buffer sizes and
569 * On individual connections, the socket buffer size must be set prior to the
1200 void *buffer = connection->data.rbuf; in drbd_recv_header() local
1203 err = drbd_recv_all_warn(connection, buffer, drbd_header_size(connection)); in drbd_recv_header()
1207 err = decode_header(connection, buffer, pi); in drbd_recv_header()
1215 void *buffer = connection->data.rbuf; in drbd_recv_header_maybe_unplug() local
1219 err = drbd_recv_short(connection->data.socket, buffer, size, MSG_NOSIGNAL|MSG_DONTWAIT); in drbd_recv_header_maybe_unplug()
1221 /* If we have nothing in the receive buffer now, to reduce in drbd_recv_header_maybe_unplug()
1230 buffer += err; in drbd_recv_header_maybe_unplug()
1233 err = drbd_recv_all_warn(connection, buffer, siz in drbd_recv_header_maybe_unplug()
3843 void *buffer = connection->data.rbuf; ignore_remaining_packet() local
[all...]
/kernel/linux/linux-5.10/drivers/tty/
H A Dsynclink.c26 * this, the TTY flip buffer is bypassed (too small to hold largest
136 u32 phys_addr; /* 32-bit flat physical address of data buffer */
137 volatile u16 count; /* buffer size/data count */
141 u32 link; /* 32-bit flat link to next buffer entry */
142 char *virt_addr; /* virtual address of data buffer */
143 u32 phys_entry; /* physical address of this buffer entry */
166 /* transmit holding buffer definitions*/
170 unsigned char * buffer; member
219 char *buffer_list; /* virtual address of Rx & Tx buffer lists */
224 DMABUFFERENTRY *rx_buffer_list; /* list of receive buffer entrie
[all...]
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_receiver.c257 * (checksum based) resync, if the max-buffers, socket buffer sizes and
570 * On individual connections, the socket buffer size must be set prior to the
1204 void *buffer = connection->data.rbuf; in drbd_recv_header() local
1207 err = drbd_recv_all_warn(connection, buffer, drbd_header_size(connection)); in drbd_recv_header()
1211 err = decode_header(connection, buffer, pi); in drbd_recv_header()
1219 void *buffer = connection->data.rbuf; in drbd_recv_header_maybe_unplug() local
1223 err = drbd_recv_short(connection->data.socket, buffer, size, MSG_NOSIGNAL|MSG_DONTWAIT); in drbd_recv_header_maybe_unplug()
1225 /* If we have nothing in the receive buffer now, to reduce in drbd_recv_header_maybe_unplug()
1234 buffer += err; in drbd_recv_header_maybe_unplug()
1237 err = drbd_recv_all_warn(connection, buffer, siz in drbd_recv_header_maybe_unplug()
3802 void *buffer = connection->data.rbuf; ignore_remaining_packet() local
[all...]
/third_party/ffmpeg/libavformat/
H A Dmatroskadec.c849 * we resync from the earliest position available: The start of the buffer. */ in matroska_resync()
854 avio_seek(pb, FFMAX(avio_tell(pb) + (pb->buffer - pb->buf_ptr), in matroska_resync()
1611 /* Unknown-length header - simply parse the whole buffer. */ in matroska_probe()
4104 double min_buffer, double* buffer, in buffer_size_after_time_downloaded()
4137 if ((sec_downloaded + *buffer) <= min_buffer) { in buffer_size_after_time_downloaded()
4161 if ((sec_downloaded + *buffer) <= min_buffer) in buffer_size_after_time_downloaded()
4166 if ((sec_downloaded + *buffer) <= min_buffer) { in buffer_size_after_time_downloaded()
4173 *buffer = *buffer + sec_downloaded; in buffer_size_after_time_downloaded()
4258 double buffer in webm_dash_manifest_compute_bandwidth() local
4103 buffer_size_after_time_downloaded(int64_t time_ns, double search_sec, int64_t bps, double min_buffer, double* buffer, double* sec_to_download, AVFormatContext *s, int64_t cues_start) buffer_size_after_time_downloaded() argument
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Drbbitst.cpp450 char *buffer = dest.getAppendBuffer(utf8Length, utf8Length, capacity, status); in CharStringAppend() local
451 u_strToUTF8WithSub(buffer, utf8Length, NULL, in CharStringAppend()
454 dest.append(buffer, utf8Length, status); in CharStringAppend()
4211 char buffer[200]; in RunMonkey() local
4212 auto ret = snprintf(buffer, UPRV_LENGTHOF(buffer), in RunMonkey()
4223 U_ASSERT(0 <= ret && ret < UPRV_LENGTHOF(buffer)); in RunMonkey()
4227 errln(buffer); in RunMonkey()
4229 infoln(buffer); in RunMonkey()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cVertexAttribBindingTests.cpp2575 int buffer; member in gl4cts::__anon27657::VertexBindingState
2581 VertexBindingState(int bindingindex) : buffer(0), offset(0), stride(16), divisor(0), index(bindingindex) in VertexBindingState()
2590 if (p != buffer) in stateVerify()
2593 << ") is " << p << " should be " << buffer << tcu::TestLog::EndMessage; in stateVerify()
2739 vb0.buffer = m_vbo[0]; in Run()
2751 vb2.buffer = m_vbo[2]; in Run()
2789 vb15.buffer = m_vbo[1]; in Run()
2824 vb0.buffer = m_vbo[2]; in Run()
2838 vb0.buffer = m_vbo[1]; in Run()
3631 "layout(location = 15) in float vs_in_attrib3;" NL "layout(std430, binding = 1) buffer Outpu in Run()
[all...]
/third_party/python/Objects/
H A Dlongobject.c1866 p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \ in long_to_decimal_string_internal()
1874 assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \ in long_to_decimal_string_internal()
2045 p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \ in long_format_binary()
2052 assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \ in long_format_binary()
2666 const char *buffer; in PyLong_FromUnicodeObject() local
2675 buffer = PyUnicode_AsUTF8AndSize(asciidig, &buflen); in PyLong_FromUnicodeObject()
2676 assert(buffer != NULL); in PyLong_FromUnicodeObject()
2678 result = PyLong_FromString(buffer, &end, base); in PyLong_FromUnicodeObject()
2679 if (end == NULL || (result != NULL && end == buffer + buflen)) { in PyLong_FromUnicodeObject()
5906 support the buffer protoco
[all...]
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
H A Dvulkan_funcs.hpp1080 VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindBufferMemory( VULKAN_HPP_NAMESPACE::Buffer buffer,
1087 static_cast<VkBuffer>( buffer ),
1094 Device::bindBufferMemory( VULKAN_HPP_NAMESPACE::Buffer buffer, in bindBufferMemory() argument
1101 static_cast<VkBuffer>( buffer ), in bindBufferMemory()
1140 Device::getBufferMemoryRequirements( VULKAN_HPP_NAMESPACE::Buffer buffer,
1146 m_device, static_cast<VkBuffer>( buffer ), reinterpret_cast<VkMemoryRequirements *>( pMemoryRequirements ) );
1152 Device::getBufferMemoryRequirements( VULKAN_HPP_NAMESPACE::Buffer buffer,
1158 m_device, static_cast<VkBuffer>( buffer ), reinterpret_cast<VkMemoryRequirements *>( &memoryRequirements ) );
2054 VULKAN_HPP_NAMESPACE::Buffer buffer; in createBuffer() local
2060 reinterpret_cast<VkBuffer *>( &buffer ) ) ); in createBuffer()
2073 VULKAN_HPP_NAMESPACE::Buffer buffer; createBufferUnique() local
13246 getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const & d ) const getAndroidHardwareBufferPropertiesANDROID() argument
13258 getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const & d ) const getAndroidHardwareBufferPropertiesANDROID() argument
13289 struct AHardwareBuffer * buffer; getMemoryAndroidHardwareBufferANDROID() local
[all...]
/third_party/vulkan-headers/include/vulkan/
H A Dvulkan_handles.hpp3154 VULKAN_HPP_TYPESAFE_EXPLICIT Buffer( VkBuffer buffer ) VULKAN_HPP_NOEXCEPT : m_buffer( buffer ) {} in m_buffer()
3157 Buffer & operator=( VkBuffer buffer ) VULKAN_HPP_NOEXCEPT
3159 m_buffer = buffer;
4422 void bindIndexBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer,
4457 void drawIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer,
4464 void drawIndexedIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer,
4477 void dispatchIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer,
4797 void drawIndirectCount( VULKAN_HPP_NAMESPACE::Buffer buffer,
4806 void drawIndexedIndirectCount( VULKAN_HPP_NAMESPACE::Buffer buffer,
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem.c2436 * kbase_jd_user_buf_unpin_pages - Release the pinned pages of a user buffer.
2437 * @alloc: The allocation for the imported user buffer.
2819 char buffer[50]; member
2851 size = strnlen(data->buffer, sizeof(data->buffer)); in kbase_jit_debugfs_common_read()
2863 size = scnprintf(data->buffer, sizeof(data->buffer), "%llu,%llu,%llu", data->active_value, data->pool_value, in kbase_jit_debugfs_common_read()
2867 ret = simple_read_from_buffer(buf, len, ppos, data->buffer, size); in kbase_jit_debugfs_common_read()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem.c2843 * kbase_jd_user_buf_unpin_pages - Release the pinned pages of a user buffer.
2844 * @alloc: The allocation for the imported user buffer.
3238 char buffer[50]; member
3270 size = strnlen(data->buffer, sizeof(data->buffer)); in kbase_jit_debugfs_common_read()
3282 size = scnprintf(data->buffer, sizeof(data->buffer), in kbase_jit_debugfs_common_read()
3287 ret = simple_read_from_buffer(buf, len, ppos, data->buffer, size); in kbase_jit_debugfs_common_read()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/class_zip/
H A Dzip_n_exporter.cpp2151 void *buffer = nullptr; in InFunc() local
2154 tie(succ, buffer, bufLen) = bufNVal.ToArrayBuffer(); in InFunc()
2159 *buf = static_cast<unsigned char *>(buffer); in InFunc()
2179 napi_value buffer = nullptr; in OutFunc() local
2180 napi_status status = napi_create_arraybuffer(out->env, len, &data, &buffer); in OutFunc()
2195 napi_value argv[ArgumentCount::THREE] = {out->desc, buffer, bufferLen}; in OutFunc()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_render_visitor.cpp333 RS_LOGD("RSUniRenderVisitor::CheckPixelFormat node(%{public}s) did not have buffer.", node.GetName().c_str()); in CheckPixelFormat()
337 const sptr<SurfaceBuffer>& buffer = node.GetRSSurfaceHandler()->GetBuffer(); in CheckPixelFormat() local
346 auto bufferPixelFormat = buffer->GetFormat(); in CheckPixelFormat()
351 RS_LOGD("RSUniRenderVisitor::CheckPixelFormat pixelformat is set to 1010102 for 10bit buffer"); in CheckPixelFormat()
1346 RS_OPTIONAL_TRACE_NAME_FMT("hwc debug: name:%s id:%" PRIu64 " disabled by param/invisible/no buffer", in UpdateHwcNodeInfoForAppNode()
1457 auto buffer = surfaceHandler->GetBuffer(); in UpdateHwcNodeEnableByBufferSize() local
1458 const auto bufferWidth = buffer->GetSurfaceBufferWidth(); in UpdateHwcNodeEnableByBufferSize()
1459 const auto bufferHeight = buffer->GetSurfaceBufferHeight(); in UpdateHwcNodeEnableByBufferSize()
1464 if (consumer->GetSurfaceBufferTransformType(buffer, &transformType) != GSERROR_OK) { in UpdateHwcNodeEnableByBufferSize()
1473 "hwc debug: name:%s id:%" PRIu64 " buffer in UpdateHwcNodeEnableByBufferSize()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/
H A Ddraw_cmd.cpp2164 Matrix::Buffer buffer; in Dump() local
2165 matrix_.GetAll(buffer); in Dump()
2166 DumpArray(out, buffer, [](std::string& out, float v) { in Dump()
2222 Matrix::Buffer buffer; in Dump() local
2223 matrix_.GetAll(buffer); in Dump()
2224 DumpArray(out, buffer, [](std::string& out, float v) { in Dump()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/
H A Dqm.c1054 static ssize_t qm_cmd_read(struct file *filp, char __user *buffer, in qm_cmd_read() argument
1063 return simple_read_from_buffer(buffer, count, pos, buf, len); in qm_cmd_read()
1468 static ssize_t qm_cmd_write(struct file *filp, const char __user *buffer, in qm_cmd_write() argument
1489 if (copy_from_user(cmd_buf, buffer, count)) { in qm_cmd_write()
2764 static ssize_t qm_status_read(struct file *filp, char __user *buffer, in qm_status_read() argument
2774 return simple_read_from_buffer(buffer, count, pos, buf, len); in qm_status_read()

Completed in 138 milliseconds

1...<<521522523524525526527528529530>>...647