/third_party/vulkan-headers/include/vulkan/ |
H A D | vulkan_raii.hpp | 4038 getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer ) const; 4042 getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer ) const; 4565 VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::ScreenBufferPropertiesQNX getScreenBufferPropertiesQNX( const struct _screen_buffer & buffer ) const; 4568 VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::StructureChain<X, Y, Z...> getScreenBufferPropertiesQNX( const struct _screen_buffer & buffer ) const; 4844 VkBuffer buffer, in Buffer() 4847 , m_buffer( buffer ) in Buffer() 5436 void bindIndexBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer, 5449 void drawIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, 5454 void drawIndexedIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, 5461 void dispatchIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPAC 4843 Buffer( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Device const & device, VkBuffer buffer, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr ) Buffer() argument 12393 VULKAN_HPP_NAMESPACE::Buffer buffer; global() variable 17521 struct AHardwareBuffer * buffer; getMemoryAndroidHardwareBufferANDROID() local [all...] |
/foundation/arkui/napi/native_engine/ |
H A D | native_api.cpp | 675 // Copies LATIN-1 encoded bytes from a string into a buffer. 707 // Copies UTF-8 encoded bytes from a string into a buffer. 2964 uint8_t* buffer, in napi_run_actor() 2974 *result = engine->RunActor(buffer, bufferSize, descriptor, entryPoint, false); in napi_run_actor() 3330 NAPI_EXTERN napi_status napi_deserialize(napi_env env, void* buffer, napi_value* object) in napi_deserialize() argument 3333 CHECK_ARG(env, buffer); in napi_deserialize() 3338 Local<panda::JSValueRef> res = panda::JSNApi::DeserializeValue(vm, buffer, reinterpret_cast<void*>(engine)); in napi_deserialize() 3344 NAPI_EXTERN napi_status napi_delete_serialization_data(napi_env env, void* buffer) in napi_delete_serialization_data() argument 3347 CHECK_ARG(env, buffer); in napi_delete_serialization_data() 3349 panda::JSNApi::DeleteSerializationData(buffer); in napi_delete_serialization_data() 2963 napi_run_actor(napi_env env, uint8_t* buffer, size_t bufferSize, const char* descriptor, napi_value* result, char* entryPoint) napi_run_actor() argument 3886 AttachFuncCallback(void* engine, void* buffer, void* hint, void* attachData) AttachFuncCallback() argument [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | render_system.cpp | 784 // calculate real vertex buffer count and fill "safety" handles for default material in SetupSubmeshBuffers() 788 // often the same vertex buffer is used. in SetupSubmeshBuffers() 793 if (EntityUtil::IsValid(prevEntity) && (prevEntity == acc.buffer)) { in SetupSubmeshBuffers() 797 } else if (acc.buffer) { in SetupSubmeshBuffers() 798 vb.bufferHandle = renderHandleManager.GetRenderHandleReference(acc.buffer); in SetupSubmeshBuffers() 803 prevEntity = acc.buffer; in SetupSubmeshBuffers() 813 submesh.bufferAccess[0U].buffer ? static_cast<uint32_t>(countof(submesh.bufferAccess)) : 0U; in SetupSubmeshBuffers() 815 if (submesh.indexBuffer.buffer) { in SetupSubmeshBuffers() 817 renderHandleManager.GetRenderHandleReference(submesh.indexBuffer.buffer); in SetupSubmeshBuffers() 822 if (submesh.indirectArgsBuffer.buffer) { in SetupSubmeshBuffers() 860 const auto buffer = static_cast<const uint8_t*>(materialComp.customProperties->RLock()); AddSingleMaterial() local [all...] |
/third_party/mesa3d/src/imgui/ |
H A D | imgui_draw.cpp | 558 // Note that we never use or rely on channels.Size because it is merely a buffer that we never shrink back to 0 to keep all sub-buffers ready for use. in ChannelsMerge() 691 // Temporary buffer in AddPolyline() 717 // FIXME-OPT: Merge the different loops, possibly remove the temporary buffer. in AddPolyline() 772 // FIXME-OPT: Merge the different loops, possibly remove the temporary buffer. in AddPolyline() 1291 // Use if your final output buffer is at a different scale than draw_data->DisplaySize, 1630 // NB: Transfer ownership of 'ttf_data' to ImFontAtlas, unless font_cfg_template->FontDataOwnedByAtlas == false. Owned TTF buffer will be deleted after Build(). 1879 // Allocate packing character data and flag packed characters buffer as non-packed (x0=y0=x1=y1=0) in ImFontAtlasBuildWithStbTruetype() 2778 // Note that very large horizontal line will still be affected by the issue (e.g. a one megabyte string buffer without a newline will likely crash atm) in RenderText() 3123 static unsigned int stb_adler32(unsigned int adler32, unsigned char *buffer, unsigned int buflen) in stb_adler32() argument 3132 s1 += buffer[ in stb_adler32() [all...] |
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui_draw.cpp | 88 #pragma GCC diagnostic ignored "-Wstack-protector" // warning: stack protector not protecting local variables: variable length buffer 112 #pragma warning (disable: 6385) // (stb_truetype) Reading invalid data from 'buffer': the readable size is '_Old_3`kernel_width' bytes, but '3' bytes may be read. 401 // Initialize before use in a new frame. We always have a command ready in the buffer. 749 // Temporary buffer in AddPolyline() 791 // FIXME-OPT: Merge the different loops, possibly remove the temporary buffer. in AddPolyline() 887 // FIXME-OPT: Merge the different loops, possibly remove the temporary buffer. in AddPolyline() 1716 // Note that we never use or rely on _Channels.Size because it is merely a buffer that we never shrink back to 0 to keep all sub-buffers ready for use. in Merge() 1723 // Calculate our final buffer sizes. Also fix the incorrect IdxOffset values in each command. in Merge() 1771 // Ensure there's always a non-callback draw command trailing the command-buffer in Merge() 1833 // Use if your final output buffer i 4009 stb_adler32(unsigned int adler32, unsigned char *buffer, unsigned int buflen) stb_adler32() argument [all...] |
/third_party/mbedtls/library/ |
H A D | psa_crypto.c | 174 /* Declare a local copy of an input buffer and a variable that will be used 175 * to store a pointer to the start of the buffer. 181 * - input is the name of a pointer to the buffer to be copied 189 /* Allocate a copy of the buffer input and set the pointer input_copy to 195 * - input is the name of a pointer to the buffer to be copied 204 input_copy = LOCAL_INPUT_COPY_OF_##input.buffer; 210 * - input is the name of the original buffer that was copied 216 /* Declare a local copy of an output buffer and a variable that will be used 217 * to store a pointer to the start of the buffer. 223 * - output is the name of a pointer to the buffer t 8301 psa_crypto_driver_pake_get_password( const psa_crypto_driver_pake_inputs_t *inputs, uint8_t *buffer, size_t buffer_size, size_t *buffer_length) psa_crypto_driver_pake_get_password() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingAccelerationStructuresTests.cpp | 183 bool bottomUnboundedCreation; // Bottom created with unbounded buffer memory. 187 bool topUnboundedCreation; // Top created with unbounded buffer memory. 2183 const de::MovePtr<BufferWithMemory> buffer = runTest(0); in iterateNoWorkers() local 2185 return m_data.testConfiguration->verifyImage(buffer.get(), m_context, m_data); in iterateNoWorkers() 2262 // layout(set = 0, binding = 1) readonly buffer topLevelASPointers { in initPrograms() 2265 // layout(set = 0, binding = 2) readonly buffer topLevelASIndices { in initPrograms() 2268 // layout(set = 0, binding = 3, std430) writeonly buffer Result { in initPrograms() 2477 "layout(set = 0, binding = 3) writeonly buffer Result {\n" in initPrograms() 2568 // fill indices buffer in iterate() 2579 // clear result buffer in iterate() 3491 de::MovePtr<BufferWithMemory> buffer; global() variable 3692 de::MovePtr<BufferWithMemory> buffer; iterate() local 4027 de::MovePtr<BufferWithMemory> buffer = makeMovePtr<BufferWithMemory>(vk, device, allocator, bufferCreateInfo, MemoryRequirement::HostVisible); global() variable [all...] |
/third_party/vixl/test/aarch32/ |
H A D | test-assembler-aarch32.cc | 161 // Execute the generated code from the MacroAssembler's automatic code buffer. 1932 // absolutely required. For now we keep a buffer. Fix this test when the in GenerateLdrLiteralTriggerPoolEmission() 1949 // Generate nops precisely to fill the buffer. in GenerateLdrLiteralTriggerPoolEmission() 2249 // MacroAssembler might also need to align the code buffer before emitting in TEST() 3119 byte buffer[1024]; in TEST_NOASM() local 3125 CheckInstructionSetA32(Assembler(buffer, sizeof(buffer))); in TEST_NOASM() 3129 CheckInstructionSetA32(MacroAssembler(buffer, sizeof(buffer))); in TEST_NOASM() 3134 CheckInstructionSetT32(Assembler(buffer, sizeo in TEST_NOASM() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingAccelerationStructuresTests.cpp | 1950 const de::MovePtr<BufferWithMemory> buffer = runTest(0); in iterateNoWorkers() local 1952 return m_data.testConfiguration->verifyImage(buffer.get(), m_context, m_data); in iterateNoWorkers() 2029 // layout(set = 0, binding = 1) readonly buffer topLevelASPointers { in initPrograms() 2032 // layout(set = 0, binding = 2) readonly buffer topLevelASIndices { in initPrograms() 2035 // layout(set = 0, binding = 3, std430) writeonly buffer Result { in initPrograms() 2244 "layout(set = 0, binding = 3) writeonly buffer Result {\n" in initPrograms() 2335 // fill indices buffer in iterate() 2346 // clear result buffer in iterate() 2393 // fill pointer buffer in iterate() 2448 // verify result buffer in iterate() 3258 de::MovePtr<BufferWithMemory> buffer; global() variable 3459 de::MovePtr<BufferWithMemory> buffer; iterate() local 3794 de::MovePtr<BufferWithMemory> buffer = makeMovePtr<BufferWithMemory>(vk, device, allocator, bufferCreateInfo, MemoryRequirement::HostVisible); global() variable [all...] |
/third_party/openGLES/api/GLES2/ |
H A D | gl2ext.h | 637 typedef void (GL_APIENTRYP PFNGLTEXBUFFEROESPROC) (GLenum target, GLenum internalformat, GLuint buffer); 638 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 640 GL_APICALL void GL_APIENTRY glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer); 641 GL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 1411 typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 1414 GL_APICALL void GL_APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 1575 typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); 1593 GL_APICALL void GL_APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); 2150 typedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer); 2151 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintpt [all...] |
/third_party/skia/third_party/externals/angle2/include/GLES2/ |
H A D | gl2ext.h | 637 typedef void (GL_APIENTRYP PFNGLTEXBUFFEROESPROC) (GLenum target, GLenum internalformat, GLuint buffer); 638 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 640 GL_APICALL void GL_APIENTRY glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer); 641 GL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 1404 typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 1407 GL_APICALL void GL_APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 1518 typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); 1536 GL_APICALL void GL_APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); 2085 typedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer); 2086 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintpt [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/ |
H A D | bundle_installer_proxy.cpp | 470 size_t buffer = 524288; // 0.5M in WriteFile() local 473 while ((singleTransfer = sendfile(outputFd, inputFd, nullptr, buffer)) > 0) { in WriteFile()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_surface_capture_task_test.cpp | 837 sptr<OHOS::SurfaceBuffer> buffer = new SurfaceBufferImpl(0); in HWTEST_F() local 838 surfaceHandler->SetBuffer(buffer, acquireFence, damage, timestamp); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_uni_render_thread.cpp | 365 auto releaseTask = [buffer = preBuffer, consumer = surfaceDrawable->GetConsumerOnDraw(), in ReleaseSelfDrawingNodeBuffer() 368 auto ret = consumer->ReleaseBuffer(buffer, useReleaseFence ? in ReleaseSelfDrawingNodeBuffer()
|
/foundation/multimedia/media_foundation/tests/unittest/avbuffer/ |
H A D | avbuffer_unit_test.cpp | 67 for (auto &buffer : dmaBufferLst_) { in TearDown() 68 DmabufHeapBufferFree(&buffer); in TearDown()
|
/foundation/multimedia/av_codec/test/unittest/filter_test/ |
H A D | demuxer_filter_unit_test.cpp | 114 bool IsVideoStreamDiscardable(const std::shared_ptr<AVBuffer> buffer) in IsVideoStreamDiscardable() argument 116 (void)buffer; in IsVideoStreamDiscardable()
|
/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/system_tone_player/ |
H A D | system_tone_player_impl.cpp | 64 struct stat buffer; in IsFileExisting() local 65 return (stat(fileUri.c_str(), &buffer) == 0); in IsFileExisting()
|
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/ |
H A D | js_query.cpp | 317 napi_value buffer = nullptr; in GetNumberSync() 320 status = napi_get_typedarray_info(env, argv[1], &type, &length, &data, &buffer, &offset); in GetNumberSync()
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/test/unittest/common/cameraoperator/ |
H A D | dcamera_client_test.cpp | 62 void OnPhotoResult(std::shared_ptr<DataBuffer>& buffer) override 67 void OnVideoResult(std::shared_ptr<DataBuffer>& buffer) override
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_sender/src/ |
H A D | av_sender_engine.cpp | 526 int32_t AVSenderEngine::PushData(const std::shared_ptr<AVTransBuffer> &buffer) in PushData() argument 538 std::shared_ptr<AVBuffer> hisBuffer = TransBuffer2HiSBuffer(buffer); in PushData()
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_receiver/test/unittest/av_receiver_engine/src/ |
H A D | av_receiver_engine_test.cpp | 506 std::shared_ptr<AVBuffer> buffer = std::make_shared<AVBuffer>(); in HWTEST_F() local 508 int32_t ret = receiver->HandleOutputBuffer(buffer); in HWTEST_F()
|
/third_party/ffmpeg/libavcodec/x86/ |
H A D | celt_pvq_search.asm | 209 ; int32 * outY - Should be aligned and padded buffer. 210 ; It is used as temp buffer.
|
/third_party/ffmpeg/libavfilter/dnn/ |
H A D | dnn_backend_openvino.c | 148 av_log(ctx, AV_LOG_ERROR, "Failed to get input blob buffer\n"); in fill_model_input_ov() 155 input.data = blob_buffer.buffer; in fill_model_input_ov() 249 output.data = blob_buffer.buffer; in infer_completion_callback()
|
/third_party/curl/lib/vssh/ |
H A D | wolfssh.c | 1148 void Curl_ssh_version(char *buffer, size_t buflen) in Curl_ssh_version() argument 1150 (void)msnprintf(buffer, buflen, "wolfssh/%s", LIBWOLFSSH_VERSION_STRING); in Curl_ssh_version()
|
/third_party/glfw/src/ |
H A D | wl_platform.h | 410 struct wl_buffer* buffer; member 603 struct wl_buffer* buffer; member
|