| /third_party/mesa3d/src/mesa/state_tracker/ |
| H A D | st_draw_hw_select.c | 689 cb.buffer = NULL; in st_draw_hw_select_prepare_common() 697 struct pipe_shader_buffer buffer; in st_draw_hw_select_prepare_common() local 698 memset(&buffer, 0, sizeof(buffer)); in st_draw_hw_select_prepare_common() 699 buffer.buffer = ctx->Select.Result->buffer; in st_draw_hw_select_prepare_common() 700 buffer.buffer_size = MAX_NAME_STACK_RESULT_NUM * 3 * sizeof(int); in st_draw_hw_select_prepare_common() 702 pipe->set_shader_buffers(pipe, PIPE_SHADER_GEOMETRY, 0, 1, &buffer, 0x1); in st_draw_hw_select_prepare_common() 787 * New mode consume same vertex buffer structur in st_draw_hw_select_prepare_mode() [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
| H A D | vktRayQueryMiscTests.cpp | 114 << "layout (set=0, binding=1, std430) buffer InputBlock {\n" in initPrograms() 117 << "layout (set=0, binding=2, std430) buffer OutputBlock {\n" in initPrograms() 201 // Prepare input buffer. in iterate() 218 // Prepare output buffer. in iterate() 332 // Check output buffer. in iterate() 344 msg << "Unexpected value found at position " << i << " in the output buffer: expected " << expected << " but found " << value; in iterate() 510 const BufferWithMemory& buffer) const; 853 de::MovePtr<BufferWithMemory> buffer (new BufferWithMemory(vk, device, allocator, bufferCreateInfo, MemoryRequirement::Coherent | MemoryRequirement::HostVisible)); in makeAttribBuff() 855 Allocation& allocation = buffer->getAllocation(); in makeAttribBuff() 865 return buffer; in makeAttribBuff() [all...] |
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
| H A D | ProgramPrelude.cpp | 3019 // Returned Name is valid for as long as `buffer` is still alive. 3021 // Returns false if buffer is not large enough. 3025 static std::pair<Name, bool> MaskTemplateArgs(const Name &name, size_t bufferSize, char *buffer) in MaskTemplateArgs() argument 3040 buffer[i] = begin[i]; in MaskTemplateArgs() 3042 buffer[n + 0] = '<'; in MaskTemplateArgs() 3043 buffer[n + 1] = '>'; in MaskTemplateArgs() 3044 buffer[n + 2] = '\0'; in MaskTemplateArgs() 3045 return {Name(buffer, name.symbolType()), true}; in MaskTemplateArgs() 3830 char buffer[32]; in visitOperator() local 3831 auto mask = MaskTemplateArgs(name, sizeof(buffer), buffe in visitOperator() [all...] |
| /third_party/skia/src/core/ |
| H A D | SkRRect.cpp | 584 size_t SkRRect::writeToMemory(void* buffer) const { 586 memcpy(buffer, this, kSizeInMemory); 590 void SkRRectPriv::WriteToBuffer(const SkRRect& rr, SkWBuffer* buffer) { 592 buffer->write(&rr, SkRRect::kSizeInMemory); 595 size_t SkRRect::readFromMemory(const void* buffer, size_t length) { 603 memcpy((void*)&raw, buffer, kSizeInMemory); 608 bool SkRRectPriv::ReadFromBuffer(SkRBuffer* buffer, SkRRect* rr) { 609 if (buffer->available() < SkRRect::kSizeInMemory) { 613 return buffer->read(&storage, SkRRect::kSizeInMemory) &&
|
| /third_party/skia/tests/ |
| H A D | SerializationTest.cpp | 182 SkReadBuffer buffer(dataWritten, bytesWritten - 4); in TestObjectSerializationNoAlign() 184 SerializationUtils<T>::Read(buffer, &obj); in TestObjectSerializationNoAlign() 185 REPORTER_ASSERT(reporter, !buffer.isValid()); in TestObjectSerializationNoAlign() 195 // Note: This following test should always succeed, regardless of whether the buffer is valid, in TestObjectSerializationNoAlign() 196 // since if it is invalid, it will simply skip to the end, as if it had read the whole buffer. in TestObjectSerializationNoAlign() 219 SkReadBuffer buffer(dataWritten, bytesWritten - 4); in TestFlattenableSerialization() 221 SerializationUtils<T>::Read(buffer, &obj); in TestFlattenableSerialization() 222 REPORTER_ASSERT(reporter, !buffer.isValid()); in TestFlattenableSerialization() 238 REPORTER_ASSERT(reporter, !buffer.isValid()); in TestFlattenableSerialization() 257 SkReadBuffer buffer(dataWritte in TestArraySerialization() [all...] |
| /third_party/skia/third_party/externals/dawn/src/dawn_native/ |
| H A D | RenderPipeline.cpp | 139 "buffer stride (%u).", in ValidateVertexAttribute() 149 "Attribute offset (%u) with format %s (size: %u) doesn't fit in the vertex buffer " in ValidateVertexAttribute() 174 const VertexBufferLayout* buffer, in ValidateVertexBufferLayout() 177 DAWN_TRY(ValidateVertexStepMode(buffer->stepMode)); in ValidateVertexBufferLayout() 179 buffer->arrayStride > kMaxVertexBufferArrayStride, in ValidateVertexBufferLayout() 180 "Vertex buffer arrayStride (%u) is larger than the maximum array stride (%u).", in ValidateVertexBufferLayout() 181 buffer->arrayStride, kMaxVertexBufferArrayStride); in ValidateVertexBufferLayout() 183 DAWN_INVALID_IF(buffer->arrayStride % 4 != 0, in ValidateVertexBufferLayout() 184 "Vertex buffer arrayStride (%u) is not a multiple of 4.", in ValidateVertexBufferLayout() 185 buffer in ValidateVertexBufferLayout() 172 ValidateVertexBufferLayout( DeviceBase* device, const VertexBufferLayout* buffer, const EntryPointMetadata& metadata, ityp::bitset<VertexAttributeLocation, kMaxVertexAttributes>* attributesSetMask) ValidateVertexBufferLayout() argument [all...] |
| /third_party/skia/third_party/externals/tint/samples/ |
| H A D | main.cc | 454 /// Copies the content from the file named `input_file` to `buffer`, 460 bool ReadFile(const std::string& input_file, std::vector<T>* buffer) { in ReadFile() argument 461 if (!buffer) { in ReadFile() 462 std::cerr << "The buffer pointer was null" << std::endl; in ReadFile() 495 buffer->clear(); in ReadFile() 496 buffer->resize(file_size / sizeof(T)); in ReadFile() 498 size_t bytes_read = fread(buffer->data(), 1, file_size, file); in ReadFile() 508 /// Writes the given `buffer` into the file named as `output_file` using the 517 const ContainerT& buffer) { in WriteFile() 535 fwrite(buffer in WriteFile() 515 WriteFile(const std::string& output_file, const std::string mode, const ContainerT& buffer) WriteFile() argument [all...] |
| /third_party/python/Python/ |
| H A D | formatter_unicode.c | 381 _PyUnicode_FastFill(writer->buffer, pos, n_lpadding, fill_char); in fill_padding() 387 _PyUnicode_FastFill(writer->buffer, pos, n_rpadding, fill_char); in fill_padding() 616 _PyUnicode_FastFill(writer->buffer, in fill_number() 625 _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos, in fill_number() 640 _PyUnicode_FastFill(writer->buffer, in fill_number() 674 writer->buffer, writer->pos, in fill_number() 682 writer->buffer, writer->pos, in fill_number() 689 _PyUnicode_FastFill(writer->buffer, in fill_number() 848 _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos, in format_string_internal() 1046 char *buf = NULL; /* buffer returne in format_float_internal() [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/ |
| H A D | vktRayQueryMiscTests.cpp | 114 << "layout (set=0, binding=1, std430) buffer InputBlock {\n" in initPrograms() 117 << "layout (set=0, binding=2, std430) buffer OutputBlock {\n" in initPrograms() 201 // Prepare input buffer. in iterate() 218 // Prepare output buffer. in iterate() 332 // Check output buffer. in iterate() 344 msg << "Unexpected value found at position " << i << " in the output buffer: expected " << expected << " but found " << value; in iterate() 510 const BufferWithMemory& buffer) const; 853 de::MovePtr<BufferWithMemory> buffer (new BufferWithMemory(vk, device, allocator, bufferCreateInfo, MemoryRequirement::Coherent | MemoryRequirement::HostVisible)); in makeAttribBuff() 855 Allocation& allocation = buffer->getAllocation(); in makeAttribBuff() 865 return buffer; in makeAttribBuff() [all...] |
| /third_party/python/Lib/test/ |
| H A D | test_io.py | 337 buffer = bytearray(b" world\n\n\n") 338 self.assertEqual(f.write(buffer), 9) 339 buffer[:] = b"*" * 9 # Overwrite our copy of the data 762 self.assertEqual(f.buffer.raw.closefd, True) 764 self.assertEqual(file.buffer.raw.closefd, False) 930 buffer = byteslike(5) 931 self.assertEqual(getattr(stream, method)(buffer), 5) 932 self.assertEqual(bytes(buffer), b"12345") 984 # (test method, total data available, read buffer size, expected 990 ("readinto", 10, 0, 0), # Empty buffer [all...] |
| /third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
| H A D | libGLESv2.cpp | 181 void GL_APIENTRY BindBuffer(GLenum target, GLuint buffer) in BindBuffer() argument 183 TRACE("(GLenum target = 0x%X, GLuint buffer = %d)", target, buffer); in BindBuffer() 192 context->bindArrayBuffer(buffer); in BindBuffer() 195 context->bindElementArrayBuffer(buffer); in BindBuffer() 198 context->bindCopyReadBuffer(buffer); in BindBuffer() 201 context->bindCopyWriteBuffer(buffer); in BindBuffer() 204 context->bindPixelPackBuffer(buffer); in BindBuffer() 207 context->bindPixelUnpackBuffer(buffer); in BindBuffer() 210 context->bindTransformFeedbackBuffer(buffer); in BindBuffer() 503 es2::Buffer *buffer = nullptr; BufferData() local 536 es2::Buffer *buffer = nullptr; BufferSubData() local 2449 es2::Buffer *buffer; GetBufferParameteriv() local 3794 IsBuffer(GLuint buffer) IsBuffer() argument [all...] |
| /foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
| H A D | render_backend_gles.cpp | 78 Bind::BufferType buffer { 0, 0, 0 }; 378 // Invalidate the whole buffer. (attachment sizes match render area) in Invalidate() 535 device_.BindBuffer(GL_PIXEL_UNPACK_BUFFER, plat.buffer); in SetupBlit() 1147 device_.BindBuffer(GL_DRAW_INDIRECT_BUFFER, plat.buffer); in RenderCommandDrawIndirect() 1205 device_.BindBuffer(GL_DISPATCH_INDIRECT_BUFFER, plat.buffer); in RenderCommandDispatchIndirect() 1649 vertexAttribBindSlots_[i].id = plat.buffer; in RenderCommandBindVertexBuffers() 1668 boundIndexBuffer_.id = plat.buffer; in RenderCommandBindIndexBuffer() 1724 device_.BindBuffer(GL_COPY_READ_BUFFER, srcData.buffer); in RenderCommandCopyBuffer() 1725 device_.BindBuffer(GL_COPY_WRITE_BUFFER, dstData.buffer); in RenderCommandCopyBuffer() 1794 device_.BindBuffer(GL_PIXEL_PACK_BUFFER, bPlat.buffer); in ImageToBufferCopy() [all...] |
| /foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
| H A D | gltf2_exporter.cpp | 260 Buffer& buffer, vector<unique_ptr<BufferView>>& usedBufferViews, vector<unique_ptr<Accessor>>& usedAccessors) in BufferHelper() 261 : usedBufferViews_(usedBufferViews), usedAccessors_(usedAccessors), buffer_(buffer) {}; in BufferHelper() 266 * written to the buffer. */ 270 bufferView.buffer, bufferView.byteLength, bufferView.byteOffset, bufferView.byteStride, bufferView.target); in StoreBufferView() 275 usedBufferViews_[bufferViewIndex]->buffer = &buffer_; in StoreBufferView() 573 bufferView.buffer = &bufferHelper.GetBuffer(); in StoreInverseBindMatrices() 666 // store IBMs in the buffer handled by BufferHelper in ExportGltfSkins() 725 bufferView.buffer = reinterpret_cast<Buffer*>(static_cast<uintptr_t>(animationInput.id)); in AnimationInput() 785 bufferView.buffer = reinterpret_cast<Buffer*>(static_cast<uintptr_t>(animationOutput.id)); in AnimationOutput() 885 BufferHelper& buffer; member 259 BufferHelper( Buffer& buffer, vector<unique_ptr<BufferView>>& usedBufferViews, vector<unique_ptr<Accessor>>& usedAccessors) BufferHelper() argument 913 ExportGltfMeshes(const IMeshComponentManager& meshManager, const INameComponentManager& nameManager, const IUriComponentManager& uriManager, const IMaterialComponentManager& materialManager, IFileManager& fileManager, const vector<Entity>& usedMeshes, ExportResult& result, BufferHelper& buffer, unordered_map<string, IGLTFData::Ptr>& originalGltfs) ExportGltfMeshes() argument [all...] |
| /foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
| H A D | webgl2_rendering_context_impl.cpp | 868 imgArg.Dump("WebGL2 texSubImage3D data buffer"); in TexSubImage3D() 1047 napi_env env, GLenum buffer, GLint drawBuffer, napi_value value, int64_t srcOffset, BufferDataType type) in ClearBufferV() 1049 LOGD("WebGL2 clearBuffer buffer %{public}u %{public}d srcOffset %{public}" PRIi64, buffer, drawBuffer, srcOffset); in ClearBufferV() 1058 "WebGL2 clearBuffer invalid buffer data type %{public}d", bufferData.GetBufferDataType()); in ClearBufferV() 1062 GLenum result = CheckClearBuffer(env, buffer, bufferData); in ClearBufferV() 1064 SET_ERROR_WITH_LOG(result, "WebGL2 clearBuffer invalid clear buffer"); in ClearBufferV() 1071 glClearBufferfv(buffer, drawBuffer, reinterpret_cast<GLfloat*>(bufferData.GetBuffer() + srcOffset)); in ClearBufferV() 1074 glClearBufferiv(buffer, drawBuffer, reinterpret_cast<GLint*>(bufferData.GetBuffer() + srcOffset)); in ClearBufferV() 1077 glClearBufferuiv(buffer, drawBuffe in ClearBufferV() 1046 ClearBufferV( napi_env env, GLenum buffer, GLint drawBuffer, napi_value value, int64_t srcOffset, BufferDataType type) ClearBufferV() argument 1086 ClearBufferfi( napi_env env, GLenum buffer, GLint drawBuffer, GLfloat depth, GLint stencil) ClearBufferfi() argument 1896 CheckClearBuffer(napi_env env, GLenum buffer, const WebGLReadBufferArg& bufferData) CheckClearBuffer() argument 1983 CheckTransformFeedbackBuffer(GLenum target, WebGLBuffer* buffer) CheckTransformFeedbackBuffer() argument 2016 CheckBufferTargetCompatibility(napi_env env, GLenum target, WebGLBuffer* buffer) CheckBufferTargetCompatibility() argument [all...] |
| /kernel/linux/linux-5.10/drivers/usb/misc/ |
| H A D | ftdi-elan.c | 113 void *buffer; member 293 struct u132_target *target, u8 *buffer, int length); 379 command->buffer = &command->value; in ftdi_elan_flush_targets() 401 command->buffer = &command->value; in ftdi_elan_flush_targets() 437 command->buffer = &command->value; in ftdi_elan_cancel_targets() 658 static ssize_t ftdi_elan_read(struct file *file, char __user *buffer, in ftdi_elan_read() argument 681 if (copy_to_user(buffer++, p, 1)) { in ftdi_elan_read() 743 u8 *f = command->buffer; in fill_buffer_with_all_queued_commands() 789 dev_err(&ftdi->udev->dev, "could not get a buffer to write %d commands totaling %d bytes to the Uxxx\n", in ftdi_elan_command_engine() 830 struct u132_target *target, u8 *buffer, in in ftdi_elan_do_callback() 829 ftdi_elan_do_callback(struct usb_ftdi *ftdi, struct u132_target *target, u8 *buffer, int length) ftdi_elan_do_callback() argument [all...] |
| /third_party/FreeBSD/sys/dev/usb/controller/ |
| H A D | ehci.c | 305 qh_sub = (struct ehci_qh_sub *)buf_res.buffer; in ehci_init() 320 qh_t = (ehci_qh_t *)buf_res.buffer; in ehci_init() 384 sitd = (ehci_sitd_t *)buf_res.buffer; in ehci_init() 408 itd = (ehci_itd_t *)buf_res.buffer; in ehci_init() 430 pframes = (uint32_t *)buf_res.buffer; in ehci_init() 444 qh_t = (ehci_qh_t *)buf_res.buffer; in ehci_init() 674 PRINTK(" buffer[%d]=0x%08x\n", s, in ehci_dump_qtd() 1593 /* fill out buffer pointers */ in ehci_setup_standard_chain_sub() 1600 htohc32(temp->sc, (unsigned int)buf_res.buffer); in ehci_setup_standard_chain_sub() 1615 (unsigned int)buf_res.buffer in ehci_setup_standard_chain_sub() [all...] |
| /third_party/mesa3d/src/vulkan/overlay-layer/ |
| H A D | overlay.cpp | 663 char buffer[BUFSIZE]; in control_send() local 667 buffer[msglen++] = ':'; in control_send() 669 memcpy(&buffer[msglen], cmd, cmdlen); in control_send() 673 buffer[msglen++] = '='; in control_send() 674 memcpy(&buffer[msglen], param, paramlen); in control_send() 676 buffer[msglen++] = ';'; in control_send() 679 os_socket_send(instance_data->control_client, buffer, msglen, 0); in control_send() 1037 /* Upload buffer */ in ensure_swapchain_fonts() 1077 /* Copy buffer to image */ in ensure_swapchain_fonts() 1132 VkBuffer *buffer, in CreateOrResizeBuffer() 1131 CreateOrResizeBuffer(struct device_data *data, VkBuffer *buffer, VkDeviceMemory *buffer_memory, VkDeviceSize *buffer_size, size_t new_size, VkBufferUsageFlagBits usage) CreateOrResizeBuffer() argument 2086 overlay_CmdDrawIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) overlay_CmdDrawIndirect() argument 2100 overlay_CmdDrawIndexedIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) overlay_CmdDrawIndexedIndirect() argument 2114 overlay_CmdDrawIndirectCount( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) overlay_CmdDrawIndirectCount() argument 2132 overlay_CmdDrawIndexedIndirectCount( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) overlay_CmdDrawIndexedIndirectCount() argument 2163 overlay_CmdDispatchIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset) overlay_CmdDispatchIndirect() argument [all...] |
| /kernel/linux/linux-6.6/kernel/module/ |
| H A D | main.c | 508 struct module_kobject *mk, char *buffer) \ 510 return scnprintf(buffer, PAGE_SIZE, "%s\n", mk->mod->field); \ 812 struct module_kobject *mk, char *buffer) in show_refcnt() 814 return sprintf(buffer, "%i\n", module_refcount(mk->mod)); in show_refcnt() 887 struct module_kobject *mk, char *buffer) in show_initstate() 904 return sprintf(buffer, "%s\n", state); in show_initstate() 912 const char *buffer, size_t count) in store_uevent() 916 rc = kobject_synth_uevent(&mk->kobj, buffer, count); in store_uevent() 924 struct module_kobject *mk, char *buffer) in show_coresize() 932 return sprintf(buffer, " in show_coresize() 811 show_refcnt(struct module_attribute *mattr, struct module_kobject *mk, char *buffer) show_refcnt() argument 886 show_initstate(struct module_attribute *mattr, struct module_kobject *mk, char *buffer) show_initstate() argument 910 store_uevent(struct module_attribute *mattr, struct module_kobject *mk, const char *buffer, size_t count) store_uevent() argument 923 show_coresize(struct module_attribute *mattr, struct module_kobject *mk, char *buffer) show_coresize() argument 939 show_datasize(struct module_attribute *mattr, struct module_kobject *mk, char *buffer) show_datasize() argument 953 show_initsize(struct module_attribute *mattr, struct module_kobject *mk, char *buffer) show_initsize() argument 966 show_taint(struct module_attribute *mattr, struct module_kobject *mk, char *buffer) show_taint() argument [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
| H A D | vktApiCopiesAndBlittingTests.cpp | 358 BufferParams buffer; member 391 src.buffer.fillMode = FILL_MODE_GRADIENT; in TestParams() 393 dst.buffer.fillMode = FILL_MODE_GRADIENT; in TestParams() 405 const VkBuffer& buffer, in allocateBuffer() 414 const VkMemoryRequirements memoryRequirements = getBufferMemoryRequirements(vkd, device, buffer); in allocateBuffer() 421 return allocateDedicated(vki, vkd, physDevice, device, buffer, requirement); in allocateBuffer() 461 DE_NULL // VkBuffer buffer in allocateImage() 574 void generateBuffer (tcu::PixelBufferAccess buffer, int width, int height, int depth = 1, FillMode = FILL_MODE_GRADIENT); 617 // Create command buffer in CopiesAndBlittingTestInstance() 622 void CopiesAndBlittingTestInstance::generateBuffer (tcu::PixelBufferAccess buffer, in argument 401 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 760 Move<VkBuffer> buffer; uploadImageAspect() local 967 Move<VkBuffer> buffer; readImageAspect() local [all...] |
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
| H A D | vk_helpers.cpp | 681 // into a depth or stencil section of the destination buffer. See the spec: 807 bool ShouldReleaseFreeBuffer(const vk::BufferHelper &buffer, in ShouldReleaseFreeBuffer() argument 814 // If the dynamic buffer was resized we cannot reuse the retained buffer. Additionally, in ShouldReleaseFreeBuffer() 815 // only reuse the buffer if specifically requested. in ShouldReleaseFreeBuffer() 816 const bool sizeMismatch = buffer.getSize() != dynamicBufferSize; in ShouldReleaseFreeBuffer() 1048 // Reset and re-initialize the command buffer in reset() 1078 // This state should never change for non-renderPass command buffer in reset() 1088 bool CommandBufferHelper::usesBuffer(const BufferHelper &buffer) const in usesBuffer() 1090 return mUsedBuffers.contains(buffer in usesBuffer() 1103 bufferRead(ContextVk *contextVk, VkAccessFlags readAccessType, PipelineStage readStage, BufferHelper *buffer) bufferRead() argument 1122 bufferWrite(ContextVk *contextVk, VkAccessFlags writeAccessType, PipelineStage writeStage, AliasingMode aliasingMode, BufferHelper *buffer) bufferWrite() argument 8488 getView(ContextVk *contextVk, const BufferHelper &buffer, VkDeviceSize bufferOffset, const Format &format, const BufferView **viewOut) getView() argument 8645 onBufferRead(VkAccessFlags readAccessType, PipelineStage readStage, BufferHelper *buffer) onBufferRead() argument 8653 onBufferWrite(VkAccessFlags writeAccessType, PipelineStage writeStage, BufferHelper *buffer) onBufferWrite() argument [all...] |
| /foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/unittest/oh_audio_render_test/src/ |
| H A D | oh_audio_render_unit_test.cpp | 51 void* buffer, in AudioRendererOnWriteData() 66 void* buffer, in OnWriteData() 71 executor_(renderer, userData, buffer, bufferLen); in OnWriteData() 91 void* buffer, in AudioRendererOnWriteDataMock() 95 mockPtr->OnWriteData(renderer, userData, buffer, bufferLen); in AudioRendererOnWriteDataMock() 102 void* buffer, in OnWriteDataCallbackWithValidData() 110 void* buffer, in OnWriteDataCallbackWithInvalidData() 127 void* buffer, in OnWriteDataCbMock() 137 void* buffer, in OnWriteDataCbWithValidDataMock() 147 void* buffer, in OnWriteDataCbWithInvalidDataMock() 49 AudioRendererOnWriteData(OH_AudioRenderer* capturer, void* userData, void* buffer, int32_t bufferLen) AudioRendererOnWriteData() argument 65 OnWriteData(OH_AudioRenderer *renderer, void* userData, void* buffer, int32_t bufferLen) OnWriteData() argument 89 AudioRendererOnWriteDataMock(OH_AudioRenderer *renderer, void* userData, void* buffer, int32_t bufferLen) AudioRendererOnWriteDataMock() argument 100 OnWriteDataCallbackWithValidData(OH_AudioRenderer *renderer, void* userData, void* buffer, int32_t bufferLen) OnWriteDataCallbackWithValidData() argument 108 OnWriteDataCallbackWithInvalidData(OH_AudioRenderer *renderer, void* userData, void* buffer, int32_t bufferLen) OnWriteDataCallbackWithInvalidData() argument 125 OnWriteDataCbMock(OH_AudioRenderer *renderer, void* userData, void* buffer, int32_t bufferLer) OnWriteDataCbMock() argument 135 OnWriteDataCbWithValidDataMock(OH_AudioRenderer *renderer, void* userData, void* buffer, int32_t bufferLen) OnWriteDataCbWithValidDataMock() argument 145 OnWriteDataCbWithInvalidDataMock(OH_AudioRenderer *renderer, void* userData, void* buffer, int32_t bufferLen) OnWriteDataCbWithInvalidDataMock() argument [all...] |
| /foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/primary/ |
| H A D | audio_capturer_source.cpp | 202 void DfxOperation(BufferDesc &buffer, AudioSampleFormat format, AudioChannel channel) const; 796 RingBuffer buffer = ringBuffer_->AcquireOutputBuffer(); in CaptureFrame() local 797 int32_t ret = ringBuffer_->ReleaseOutputBuffer(buffer); in CaptureFrame() 798 CHECK_AND_RETURN_RET_LOG(ret == 0, ERR_READ_FAILED, "get data from ring buffer fail"); in CaptureFrame() 799 CHECK_AND_RETURN_RET_LOG(static_cast<uint64_t>(buffer.length) == requestBytes, in CaptureFrame() 800 ERR_READ_FAILED, "buffer length is invalid"); in CaptureFrame() 801 if (memcpy_s(frame, requestBytes, buffer.data, requestBytes) != EOK) { in CaptureFrame() 804 replyBytes = static_cast<uint64_t>(buffer.length); in CaptureFrame() 834 void AudioCapturerSourceInner::DfxOperation(BufferDesc &buffer, AudioSampleFormat format, AudioChannel channel) const in DfxOperation() argument 836 ChannelVolumes vols = VolumeTools::CountVolumeLevel(buffer, forma in DfxOperation() 920 RingBuffer buffer = ringBuffer_->DequeueInputBuffer(); CaptureThreadLoop() local [all...] |
| /foundation/multimedia/drm_framework/frameworks/js/drm_napi/ |
| H A D | media_key_system_napi.cpp | 190 char buffer[PATH_MAX];
in IsMediaKeySystemSupported() local 192 if (napi_get_value_string_utf8(env, argv[PARAM0], buffer, PATH_MAX, &length) != napi_ok) {
in IsMediaKeySystemSupported() 197 std::string pluginName = std::string(buffer);
in IsMediaKeySystemSupported() 213 buffer[0] = '\0';
in IsMediaKeySystemSupported() 214 if (napi_get_value_string_utf8(env, argv[PARAM1], buffer, PATH_MAX, &length) != napi_ok) {
in IsMediaKeySystemSupported() 219 std::string mimeType = std::string(buffer);
in IsMediaKeySystemSupported() 225 buffer[0] = '\0';
in IsMediaKeySystemSupported() 1054 char buffer[PATH_MAX];
in SetEventCallback() local 1055 napi_get_value_string_utf8(env, argv[PARAM0], buffer, PATH_MAX, &length);
in SetEventCallback() 1056 std::string eventType = std::string(buffer);
in SetEventCallback() 1094 char buffer[PATH_MAX]; UnsetEventCallback() local [all...] |
| /kernel/linux/linux-5.10/drivers/crypto/stm32/ |
| H A D | stm32-hash.c | 145 u8 buffer[HASH_BUFLEN] __aligned(sizeof(u32)); 313 scatterwalk_map_and_copy(rctx->buffer + rctx->bufcnt, rctx->sg, in stm32_hash_append_sg() 334 const u32 *buffer = (const u32 *)buf; in stm32_hash_xmit_cpu() local 361 stm32_hash_write(hdev, HASH_DIN, buffer[count]); in stm32_hash_xmit_cpu() 393 err = stm32_hash_xmit_cpu(hdev, rctx->buffer, bufcnt, 0); in stm32_hash_update_cpu() 401 err = stm32_hash_xmit_cpu(hdev, rctx->buffer, bufcnt, in stm32_hash_update_cpu() 548 u32 *buffer = (void *)rctx->buffer; in stm32_hash_dma_send() local 576 rctx->buffer, sg->length - len, in stm32_hash_dma_send() 614 memset(buffer in stm32_hash_dma_send() [all...] |
| /kernel/linux/linux-5.10/drivers/crypto/ux500/hash/ |
| H A D | hash_core.c | 165 dev_dbg(ctx->device->dev, "%s: Setting up DMA for buffer (TO_DEVICE)\n", in hash_set_dma_transfer() 745 /* Note: there is no need to initialize buffer and digest members */ in hash_begin() 765 int msg_length, u8 *data_buffer, u8 *buffer, in hash_process_data() 774 buffer[*index + count] = in hash_process_data() 783 memmove(req_ctx->state.buffer, in hash_process_data() 784 device_data->state.buffer, in hash_process_data() 804 * local buffer does not have any data, we can in hash_process_data() 807 * to a local buffer in hash_process_data() 818 buffer[*index + count] = in hash_process_data() 822 (const u32 *)buffer, in hash_process_data() 763 hash_process_data(struct hash_device_data *device_data, struct hash_ctx *ctx, struct hash_req_ctx *req_ctx, int msg_length, u8 *data_buffer, u8 *buffer, u8 *index) hash_process_data() argument 1069 u8 *buffer; hash_hw_update() local [all...] |