/test/xts/hats/hdf/external_device_manager/bus_extension_usb/include/ |
H A D | usb_impl_mock.h | 87 const std::vector<uint8_t> &buffer)); 89 int32_t(const UsbDev &dev, std::vector<uint8_t> &clientData, std::vector<uint8_t> &buffer, int32_t timeout));
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/ |
H A D | faultlogger.cpp | 867 char *buffer = new char[MAX_PIPE_SIZE]; in GetStackInfo() local 868 nread = TEMP_FAILURE_RETRY(read(*info.pipeFd, buffer, MAX_PIPE_SIZE)); in GetStackInfo() 871 delete []buffer; in GetStackInfo() 874 std::string stackInfoOriginal(buffer, nread); in GetStackInfo() 875 delete []buffer; in GetStackInfo() 942 char buffer[READ_HILOG_BUFFER_SIZE] = {0}; in GetHilog() local 943 ssize_t nread = TEMP_FAILURE_RETRY(read(fds[0], buffer, sizeof(buffer) - 1)); in GetHilog() 948 log.append(buffer); in GetHilog()
|
/base/web/webview/ohos_adapter/camera_adapter/src/ |
H A D | camera_manager_adapter_impl.cpp | 785 CameraSurfaceBufferAdapterImpl::CameraSurfaceBufferAdapterImpl(sptr<SurfaceBuffer> buffer) : buffer_(buffer) {} in CameraSurfaceBufferAdapterImpl() argument 993 OHOS::sptr<OHOS::SurfaceBuffer> buffer = nullptr; in OnBufferAvailable() local 998 surface_->AcquireBuffer(buffer, flushFence, timestamp, damage); in OnBufferAvailable() 999 if (buffer != nullptr) { in OnBufferAvailable() 1000 uint32_t size = buffer->GetSize(); in OnBufferAvailable() 1010 surfaceType_, size, buffer->GetWidth(), buffer->GetHeight(), surface_->GetTransform(), in OnBufferAvailable() 1012 auto bufferAdapter = std::make_shared<CameraSurfaceBufferAdapterImpl>(buffer); in OnBufferAvailable()
|
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/test/unittest/common/ |
H A D | jsi_interface_tdd_test.cpp | 624 JSIValue buffer = JSI::CreateArrayBuffer(initLength, ptr); in JSIInterfaceTest018() local 626 JSI::ReleaseValue(buffer); in JSIInterfaceTest018() 638 bool res1 = JSI::ValueIsArrayBuffer(buffer); in JSIInterfaceTest018() 649 uint8_t *ptr2 = JSI::GetArrayBufferInfo(buffer, length); in JSIInterfaceTest018() 660 JSI::ReleaseValueList(buffer, undef); in JSIInterfaceTest018() 675 JSIValue buffer = JSI::CreateArrayBuffer(initLength, ptr); in JSIInterfaceTest019() local 677 JSI::ReleaseValue(buffer); in JSIInterfaceTest019() 691 JSIValue typedArray = JSI::CreateTypedArray(TypedArrayType::JSI_UINT8_ARRAY, byteLength, buffer, initOffset); in JSIInterfaceTest019() 692 JSI::ReleaseValue(buffer); in JSIInterfaceTest019()
|
/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...] |
/base/msdp/device_status/rust/subsystem/input/sys/src/ |
H A D | input_binding.rs | 57 /// Extra data buffer property 58 pub buffer: *const u8,
|
/base/security/appverify/interfaces/innerkits/appverify/include/common/ |
H A D | hap_byte_buffer.h | 73 std::unique_ptr<char[]> buffer; member in OHOS::Security::Verify::HapByteBuffer
|
/base/security/code_signature/interfaces/innerkits/jit_code_sign/include/ |
H A D | jit_code_signer_base.h | 51 int32_t PatchData(Byte *buffer, const Byte *const data, uint32_t size);
|
/base/security/code_signature/utils/include/ |
H A D | fsverity_utils_helper.h | 50 bool FormatDigest(libfsverity_digest *digest, uint8_t *buffer);
|
/base/startup/init/services/begetctl/shell/ |
H A D | shell_bas.h | 82 char buffer[BSH_COMMAND_MAX_LENGTH]; member
|
/base/startup/init/test/systest/ |
H A D | loop_systest.h | 115 char buffer[MAX_MSG_LEN]; member
|
/base/telephony/ril_adapter/services/vendor/include/ |
H A D | vendor_util.h | 51 int32_t GenerateCommand(char *buffer, size_t bufferLen, const char *fmt, ...);
|
/base/update/updater/services/package/pkg_package/ |
H A D | pkg_lz4file.h | 48 int32_t DecodeHeader(PkgBuffer &buffer, size_t, size_t, size_t &decodeLen) override;
|
/base/web/webview/ohos_interface/include/ohos_adapter/ |
H A D | audio_capturer_adapter.h | 65 virtual void SetBuffer(uint8_t* buffer) = 0;
|
/base/web/webview/ohos_interface/include/ohos_nweb/ |
H A D | nweb_url_resource_response.h | 139 virtual void PutResponseDataBuffer(char* buffer, size_t bufferSize) = 0;
|
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/ |
H A D | ark_web_url_resource_response_wrapper.h | 123 void PutResponseDataBuffer(char* buffer, size_t bufferSize) override;
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/ |
H A D | ark_media_codec_decoder_adapter.h | 56 virtual void OnNeedInputData(uint32_t index, ArkWebRefPtr<ArkOhosBufferAdapter> buffer) = 0;
|
/foundation/CastEngine/castengine_cast_plus_stream/src/rtsp/src/ |
H A D | rtsp_channel_manager.h | 75 void OnDataReceived(const uint8_t *buffer, unsigned int length, long timeCost) final;
|
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/ |
H A D | i_intell_voice_engine.h | 86 virtual int32_t WriteAudio(const uint8_t *buffer, uint32_t size) = 0;
|
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/enroll/ |
H A D | enroll_engine.h | 39 int32_t WriteAudio(const uint8_t *buffer, uint32_t size) override;
|
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | nncompiled_cache.h | 67 unsigned short GetCrc16(char* buffer, size_t length) const;
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/rtsp/src/ |
H A D | rtsp_channel_manager.h | 75 void OnDataReceived(const uint8_t *buffer, unsigned int length, long timeCost) final;
|
/foundation/ability/ability_runtime/test/unittest/runtime_test/ |
H A D | mock_js_runtime.h | 86 bool GetFileBuffer(const std::string& filePath, std::string& fileFullName, std::vector<uint8_t>& buffer) in GetFileBuffer() argument
|