Home
last modified time | relevance | path

Searched refs:buffer (Results 12651 - 12675 of 16004) sorted by relevance

1...<<501502503504505506507508509510>>...641

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageLoadStoreTests.cpp389 void commandBufferWriteBarrierBeforeHostRead (Context& context, const VkCommandBuffer cmdBuffer, const VkBuffer buffer, const VkDeviceSize bufferSizeBytes) in commandBufferWriteBarrierBeforeHostRead() argument
395 buffer, 0ull, bufferSizeBytes); in commandBufferWriteBarrierBeforeHostRead()
400 //! Copy all layers of an image to a buffer.
404 const VkBuffer buffer, in commandCopyImageToBuffer()
420 buffer, 0ull, bufferSizeBytes); in commandCopyImageToBuffer()
423 vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, 1u, &copyRegion); in commandCopyImageToBuffer()
427 //! Copy all layers of a mipmap image to a buffer.
432 const VkBuffer buffer, in commandCopyMipmapImageToBuffer()
463 buffer, 0ull, bufferSizeBytes); in commandCopyMipmapImageToBuffer()
466 vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, (deUint3 in commandCopyMipmapImageToBuffer()
401 commandCopyImageToBuffer(Context& context, const VkCommandBuffer cmdBuffer, const VkImage image, const VkBuffer buffer, const VkDeviceSize bufferSizeBytes, const Texture& texture) commandCopyImageToBuffer() argument
428 commandCopyMipmapImageToBuffer(Context& context, const VkCommandBuffer cmdBuffer, const VkImage image, const VkFormat imageFormat, const VkBuffer buffer, const VkDeviceSize bufferSizeBytes, const Texture& texture) commandCopyMipmapImageToBuffer() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageLoadStoreTests.cpp388 void commandBufferWriteBarrierBeforeHostRead (Context& context, const VkCommandBuffer cmdBuffer, const VkBuffer buffer, const VkDeviceSize bufferSizeBytes) in commandBufferWriteBarrierBeforeHostRead() argument
394 buffer, 0ull, bufferSizeBytes); in commandBufferWriteBarrierBeforeHostRead()
399 //! Copy all layers of an image to a buffer.
403 const VkBuffer buffer, in commandCopyImageToBuffer()
419 buffer, 0ull, bufferSizeBytes); in commandCopyImageToBuffer()
422 vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, 1u, &copyRegion); in commandCopyImageToBuffer()
426 //! Copy all layers of a mipmap image to a buffer.
431 const VkBuffer buffer, in commandCopyMipmapImageToBuffer()
462 buffer, 0ull, bufferSizeBytes); in commandCopyMipmapImageToBuffer()
465 vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, (deUint3 in commandCopyMipmapImageToBuffer()
400 commandCopyImageToBuffer(Context& context, const VkCommandBuffer cmdBuffer, const VkImage image, const VkBuffer buffer, const VkDeviceSize bufferSizeBytes, const Texture& texture) commandCopyImageToBuffer() argument
427 commandCopyMipmapImageToBuffer(Context& context, const VkCommandBuffer cmdBuffer, const VkImage image, const VkFormat imageFormat, const VkBuffer buffer, const VkDeviceSize bufferSizeBytes, const Texture& texture) commandCopyMipmapImageToBuffer() argument
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fSynchronizationTests.cpp235 m_testCtx.getLog() << tcu::TestLog::Message << "Allocating zero-filled buffer for storage, size " << bufferElements << " elements, " << bufferSize << " bytes." << tcu::TestLog::EndMessage;
275 m_testCtx.getLog() << tcu::TestLog::Message << "Allocating -1 filled buffer for results, size " << bufferElements << " elements, " << bufferSize << " bytes." << tcu::TestLog::EndMessage;
313 // Verify buffer contents
317 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, (std::string((m_storage == STORAGE_BUFFER) ? ("buffer") : ("image")) + " content verification failed").c_str());
353 m_testCtx.getLog() << tcu::TestLog::Message << "Binding same buffer object to buffer storages." << tcu::TestLog::EndMessage;
393 GLU_EXPECT_NO_ERROR(gl.getError(), "map buffer");
409 m_testCtx.getLog() << tcu::TestLog::Message << "Result buffer failed, got unexpected values.\n" << tcu::TestLog::EndMessage;
422 m_testCtx.getLog() << tcu::TestLog::Message << "Result buffer ok." << tcu::TestLog::EndMessage;
432 // Wait until all invocations in this work group have their texture/buffer rea
[all...]
/third_party/vulkan-headers/include/vulkan/
H A Dvulkan_funcs.hpp1061 VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindBufferMemory( VULKAN_HPP_NAMESPACE::Buffer buffer,
1068 d.vkBindBufferMemory( m_device, static_cast<VkBuffer>( buffer ), static_cast<VkDeviceMemory>( memory ), static_cast<VkDeviceSize>( memoryOffset ) ) );
1073 VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, Dispatch const & d ) const in bindBufferMemory()
1078 d.vkBindBufferMemory( m_device, static_cast<VkBuffer>( buffer ), static_cast<VkDeviceMemory>( memory ), static_cast<VkDeviceSize>( memoryOffset ) ) ); in bindBufferMemory()
1112 VULKAN_HPP_INLINE void Device::getBufferMemoryRequirements( VULKAN_HPP_NAMESPACE::Buffer buffer,
1117 d.vkGetBufferMemoryRequirements( m_device, static_cast<VkBuffer>( buffer ), reinterpret_cast<VkMemoryRequirements *>( pMemoryRequirements ) );
1123 Device::getBufferMemoryRequirements( VULKAN_HPP_NAMESPACE::Buffer buffer, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
1128 d.vkGetBufferMemoryRequirements( m_device, static_cast<VkBuffer>( buffer ), reinterpret_cast<VkMemoryRequirements *>( &memoryRequirements ) );
1990 VULKAN_HPP_NAMESPACE::Buffer buffer; in createBuffer() local
1995 reinterpret_cast<VkBuffer *>( &buffer ) ) ); in createBuffer()
1072 bindBufferMemory( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, Dispatch const & d ) const bindBufferMemory() argument
2008 VULKAN_HPP_NAMESPACE::Buffer buffer; createBufferUnique() local
13655 getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const & d ) const getAndroidHardwareBufferPropertiesANDROID() argument
13669 getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const & d ) const getAndroidHardwareBufferPropertiesANDROID() argument
13702 struct AHardwareBuffer * buffer; getMemoryAndroidHardwareBufferANDROID() local
23490 getScreenBufferPropertiesQNX( const struct _screen_buffer & buffer, Dispatch const & d ) const getScreenBufferPropertiesQNX() argument
23504 getScreenBufferPropertiesQNX( const struct _screen_buffer & buffer, Dispatch const & d ) const getScreenBufferPropertiesQNX() argument
[all...]
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_arraybuffer.cpp197 THROW_TYPE_ERROR_AND_RETURN(thread, "new array buffer length smaller than newlen", JSTaggedValue::Exception()); in Slice()
254 THROW_TYPE_ERROR(thread, "The ArrayBuffer of this value is detached buffer."); in IsDetachedBuffer()
265 JSArrayBuffer *buffer = JSArrayBuffer::Cast(arrayBuffer.GetTaggedObject()); in IsDetachedBuffer() local
266 if (buffer == nullptr) { in IsDetachedBuffer()
267 LOG_ECMA(FATAL) << "BuiltinsArrayBuffer::IsDetachedBuffer:buffer is nullptr"; in IsDetachedBuffer()
269 JSTaggedValue dataSlot = buffer->GetArrayBufferData(); in IsDetachedBuffer()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_request_test.cpp998 void *buffer = malloc(bufferSize); in TestMakePixelMap() local
999 if (buffer != nullptr) { in TestMakePixelMap()
1000 pixelMap->SetPixelsAddr(buffer, nullptr, bufferSize, Media::AllocatorType::HEAP_ALLOC, nullptr); in TestMakePixelMap()
/base/startup/appspawn/test/unittest/hnp_test/
H A Dhnp_installer_test.cpp1050 char buffer[PARAM_BUFFER_SIZE] = {0}; in IsHnpInstallEnable() local
1051 int ret = GetParameter("const.startup.hnp.install.enable", "false", buffer, PARAM_BUFFER_SIZE); in IsHnpInstallEnable()
1056 if (strcmp(buffer, "true") == 0) { in IsHnpInstallEnable()
/base/web/webview/test/unittest/audio_adapter_impl_test/
H A Daudio_adapter_impl_test.cpp198 return buffer;
213 buffer = buf;
226 uint8_t* buffer; member in OHOS::NWeb::BufferDescAdapterMock
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_softjobs.c489 static inline void free_user_buffer(struct kbase_debug_copy_buffer *buffer) in free_user_buffer() argument
491 struct page **pages = buffer->extres_pages; in free_user_buffer()
492 int nr_pages = buffer->nr_extres_pages; in free_user_buffer()
642 dev_warn(katom->kctx->kbdev->dev, "Copy buffer is not of same size as the external resource to copy.\n"); in kbase_debug_copy_prepare()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_profiling.c174 static ssize_t _mali_profiling_stream_read(struct file *filp, char __user *buffer, size_t size, loff_t *f_pos);
187 static ssize_t _mali_profiling_stream_read(struct file *filp, char __user *buffer, size_t size, loff_t *f_pos) in _mali_profiling_stream_read() argument
201 if (copy_to_user(&buffer[copy_len], current_mali_profiling_stream->data, in _mali_profiling_stream_read()
422 MALI_DEBUG_PRINT(1, ("Not enough mali profiling stream buffer!\n")); in _mali_profiling_sampling_counters()
472 MALI_DEBUG_PRINT(1, ("Not enough mali profiling stream buffer!\n")); in _mali_profiling_sampling_core_activity_switch()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_profiling.c170 char __user *buffer,
187 char __user *buffer, in _mali_profiling_stream_read()
203 if (copy_to_user(&buffer[copy_len], current_mali_profiling_stream->data, current_mali_profiling_stream->used_size)) { in _mali_profiling_stream_read()
414 MALI_DEBUG_PRINT(1, ("Not enough mali profiling stream buffer!\n")); in _mali_profiling_sampling_counters()
460 MALI_DEBUG_PRINT(1, ("Not enough mali profiling stream buffer!\n")); in _mali_profiling_sampling_core_activity_switch()
185 _mali_profiling_stream_read( struct file *filp, char __user *buffer, size_t size, loff_t *f_pos) _mali_profiling_stream_read() argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_softjobs.c505 static inline void free_user_buffer(struct kbase_debug_copy_buffer *buffer) in free_user_buffer() argument
507 struct page **pages = buffer->extres_pages; in free_user_buffer()
508 int nr_pages = buffer->nr_extres_pages; in free_user_buffer()
661 dev_warn(katom->kctx->kbdev->dev, "Copy buffer is not of same size as the external resource to copy.\n"); in kbase_debug_copy_prepare()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_linux_exportfs.c47 ssize_t dhd_ring_proc_read(struct file *file, char *buffer, size_t tt, loff_t *loff);
73 dhd_ring_proc_read(struct file *file, char __user *buffer, size_t tt, loff_t *loff) in dhd_ring_proc_read() argument
89 if (copy_to_user(buffer, (void*)trace_buf_info->buf, MIN(trace_buf_info->size, tt))) in dhd_ring_proc_read()
181 /* Function to show the history buffer */
/foundation/arkui/ace_engine/interfaces/napi/kits/utils/
H A Dnapi_utils.cpp132 std::unique_ptr<char[]> buffer = std::make_unique<char[]>(valueLen); in NapiStringToString() local
133 napi_get_value_string_utf8(env, value, buffer.get(), valueLen, &ret); in NapiStringToString()
134 retStr = buffer.get(); in NapiStringToString()
/foundation/arkui/napi/module_manager/
H A Dnative_module_manager.cpp944 std::unique_ptr<uint8_t[]> buffer = std::make_unique<uint8_t[]>(len); in GetFileBuffer() local
946 inFile.read(reinterpret_cast<char*>(buffer.get()), len); in GetFileBuffer()
948 lib = buffer.release(); in GetFileBuffer()
1128 HILOG_INFO("Register by buffer success. module name is '%{public}s'", tailNativeModule_->moduleName); in RegisterByBuffer()
/foundation/multimedia/av_codec/services/media_engine/filters/
H A Ddecoder_surface_filter.cpp105 void OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer) override
109 void OnOutputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer) override
113 decoderSurfaceFilter->DrainOutputBuffer(index, buffer);
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/
H A DHeifDecoderImpl.cpp103 IMAGE_LOGE("planesInfo is invalid for yuv buffer"); in FillFrameInfoForPixelConvert()
880 static bool IsEmptyBuffer(uint8_t *buffer, uint32_t width, uint32_t height, uint32_t bpp, uint32_t rowStride) in IsEmptyBuffer() argument
882 if (buffer == nullptr) { in IsEmptyBuffer()
885 uint8_t *bufferRowStart = buffer; in IsEmptyBuffer()
1003 IMAGE_LOGE("find to get src buffer planes info"); in ConvertHwBufferPixelFormat()
1011 IMAGE_LOGE("fail to get dst buffer planes info"); in ConvertHwBufferPixelFormat()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/
H A Dimage_pixel_map_switch_test.cpp645 void *buffer = malloc(bufferSize); in HWTEST_F() local
646 EXPECT_NE(buffer, nullptr); in HWTEST_F()
647 pixelMap.SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::SHARE_MEM_ALLOC, nullptr); in HWTEST_F()
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/
H A Dvideo_output_napi.cpp387 char buffer[PATH_MAX]; in AttachMetaSurface() local
389 napi_get_value_string_utf8(env, argv[PARAM0], buffer, PATH_MAX, &surfaceId); in AttachMetaSurface()
394 std::istringstream iss((std::string(buffer))); in AttachMetaSurface()
/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_scheduler_service.cpp305 char buffer[MAX_BUFFER]; in GetJsonFromFile() local
307 while (fin.getline(buffer, MAX_BUFFER)) { in GetJsonFromFile()
308 os << buffer; in GetJsonFromFile() local
/foundation/communication/nfc/frameworks/js/napi/common/
H A Dnfc_napi_common_utils.cpp216 DebugLog("arraybuffer size is %{public}zu,buffer is %{public}d", size, (*data)[0]); in ParseArrayBuffer()
238 napi_value buffer = nullptr; in ConvertStringVector() local
240 NAPI_CALL_BASE(env, napi_get_typedarray_info(env, jsValue, &type, &length, nullptr, &buffer, &offset), {}); in ConvertStringVector()
247 NAPI_CALL_BASE(env, napi_get_arraybuffer_info(env, buffer, reinterpret_cast<void **>(&data), &total), {}); in ConvertStringVector()
/foundation/communication/netmanager_ext/services/ethernetmanager/src/
H A Dethernet_configuration.cpp452 std::stringstream buffer; in ReadFile() local
453 buffer << file.rdbuf(); in ReadFile()
454 fileContent = buffer.str(); in ReadFile()
/kernel/linux/linux-5.10/drivers/net/caif/
H A Dcaif_hsi.c165 char buffer[32]; /* Any reasonable value */ in cfhsi_flush_fifo() local
184 fifo_occupancy = min(sizeof(buffer), fifo_occupancy); in cfhsi_flush_fifo()
186 ret = cfhsi->ops->cfhsi_rx(buffer, fifo_occupancy, in cfhsi_flush_fifo()
1131 * Allocate a TX buffer with the size of a HSI packet descriptors in cfhsi_open()
1141 * Allocate a RX buffer with the size of two HSI packet descriptors and in cfhsi_open()
/kernel/linux/linux-5.10/drivers/net/ethernet/i825xx/
H A Dsun3_82586.c599 p->xmit_buffs[i]->buffer = make24((p->xmit_cbuffs[i])); in init586()
667 rbd[i].buffer = make24(ptr); in alloc_rfa()
777 if( (totlen = swab16(rbd->status)) & RBD_LAST) /* the first and the last buffer? */ in sun3_82586_rcv_int()
786 skb_copy_to_linear_data(skb,(char *) p->base+swab32((unsigned long) rbd->buffer),totlen); in sun3_82586_rcv_int()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
H A Diavf_common.c255 * @buffer: pointer to command buffer
256 * @buf_len: max length of buffer
261 void *buffer, u16 buf_len) in iavf_debug_aq()
264 u8 *buf = (u8 *)buffer; in iavf_debug_aq()
285 if (buffer && aq_desc->datalen) { in iavf_debug_aq()
351 * @lut: pointer to the lut buffer provided by the caller
352 * @lut_size: size of the lut buffer
405 * @lut: pointer to the lut buffer provided by the caller
406 * @lut_size: size of the lut buffer
260 iavf_debug_aq(struct iavf_hw *hw, enum iavf_debug_mask mask, void *desc, void *buffer, u16 buf_len) iavf_debug_aq() argument
[all...]

Completed in 82 milliseconds

1...<<501502503504505506507508509510>>...641