/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/utils/ |
H A D | bit_reader.h | 35 BitReader(const T* buffer, size_t bufferSize) : BitReader(buffer, buffer + bufferSize) in BitReader() 48 bool ReadBits(uint8_t bits, T& val) in ReadBits() 78 bool PeekBits(uint8_t bits, T& val) in PeekBits() 85 void Reset(const T* buffer, size_t bufferSize) in Reset()
|
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/cxx/ |
H A D | parcel_wrapper.cpp | 91 bool WriteBuffer(MessageParcel &msgParcel, rust::slice<const uint8_t> buffer) in WriteBuffer() 96 bool ReadBuffer(MessageParcel &msgParcel, size_t len, rust::vec<uint8_t> &buffer) in ReadBuffer() 111 bool ReadString(Parcel &parcel, rust::string &val) in ReadString() 122 bool WriteString(Parcel &parcel, const rust::str val) in WriteString() 128 bool WriteString16(Parcel &parcel, const rust::str val) in WriteString16() 227 bool ReadBoolVector(Parcel &parcel, rust::vec<bool> &val) in ReadBoolVector() 231 bool ReadInt8Vector(Parcel &parcel, rust::vec<int8_t> &val) in ReadInt8Vector() 235 bool ReadInt16Vector(Parcel &parcel, rust::vec<int16_t> &val) in ReadInt16Vector() 239 bool ReadInt32Vector(Parcel &parcel, rust::vec<int32_t> &val) in ReadInt32Vector() 243 bool ReadInt64Vector(Parcel &parcel, rust::vec<int64_t> &val) in ReadInt64Vector() [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_server_test/ |
H A D | codec_server_coverage_unit_test.cpp | 454 for (auto &val : testList) { variable 504 for (auto &val : testList) { variable 524 for (auto &val : testList) { variable 606 for (auto &val : testList) { variable 674 for (auto &val : testList) { variable 718 for (auto &val : testList) { variable 815 for (auto &val : testList) { variable 893 for (auto &val : testList) { variable 928 for (auto &val : testList) { variable 947 for (auto &val : testList) { variable [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | parcel.cpp | 54 uint32_t Parcel::ReadBool(bool &val) in ReadBool() 67 uint32_t Parcel::ReadInt(int32_t &val) in ReadInt() 77 uint32_t Parcel::ReadUInt8(uint8_t &val) in ReadUInt8() 99 uint32_t Parcel::ReadDouble(double &val) in ReadDouble() 117 uint32_t Parcel::ReadInt64(int64_t &val) in ReadInt64() 127 uint32_t Parcel::ReadUInt32(uint32_t &val) in ReadUInt32() 137 uint32_t Parcel::ReadUInt64(uint64_t &val) in ReadUInt64() 147 uint32_t Parcel::ReadVectorChar(std::vector<uint8_t>& val) in ReadVectorChar() 376 int Parcel::WriteBlob(const char *buffer, uint32_t bufLen) in WriteBlob() 403 uint32_t Parcel::ReadBlob(char *buffer, uint32_t bufLen) in ReadBlob()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/common/ |
H A D | plugin_utils.cpp | 49 int32_t Stringiness(char* buf, size_t maxLen, const char* name, const T& val) in Stringiness() 57 const Plugin::ValueType& val) in FixedCapKeyStringiness() 75 const Plugin::ValueType& val) in IntervalCapKeyStringiness() 99 const Plugin::ValueType& val) in DiscreteCapKeyStringiness() 129 const Plugin::ValueType& val) in CapKeyStringiness() 150 int32_t Stringiness(char* buf, size_t maxLen, const char* name, const uint32_t& val) in Stringiness() 162 int32_t Stringiness(char* buf, size_t maxLen, const char* name, const int64_t& val) in Stringiness() 241 const Plugin::ValueType& val) in MetaIDStringiness() 300 bool AssignParameterIfMatch(Tag tag, T& ret, const Plugin::ValueType& val) in AssignParameterIfMatch() 472 char buffer[MAX_BUF_LEN] = {0}; in Capability2String() local [all …]
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_iconsumer_surface_adapter_impl.cpp | 39 int32_t ArkIConsumerSurfaceAdapterImpl::ReleaseBuffer(ArkWebRefPtr<ArkSurfaceBufferAdapter> buffer,… in ReleaseBuffer() 45 …t32_t ArkIConsumerSurfaceAdapterImpl::SetUserData(const ArkWebString& key, const ArkWebString& val) in SetUserData()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_output/daudio_output_test/ |
H A D | daudio_output_test.cpp | 125 ValueType val; variable 134 ValueType val; variable 179 … std::shared_ptr<Plugin::Buffer> buffer = std::make_shared<Plugin::Buffer>(BufferMetaType::AUDIO); variable 212 std::shared_ptr<AVBuffer> buffer = std::make_shared<AVBuffer>(); variable 256 std::shared_ptr<Plugin::Buffer> buffer = nullptr; variable
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_iconsumer_surface_adapter_wrapper.cpp | 40 std::shared_ptr<OHOS::NWeb::SurfaceBufferAdapter> buffer, int32_t fence) in ReleaseBuffer() 47 …32_t ArkIConsumerSurfaceAdapterWrapper::SetUserData(const std::string& key, const std::string& val) in SetUserData()
|
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | parcel.cpp | 664 uint8_t *buffer = data_ + readCursor_; in ReadBuffer() local 818 uint8_t *buffer = data_ + readCursor_; in ReadBuffer() local 836 uint8_t *buffer = data_ + readCursor_; variable 852 uint8_t *buffer = data_ + readCursor_; in ReadUnpadBuffer() local 1505 bool Parcel::ReadBoolVector(std::vector<bool> *val) in ReadBoolVector() 1510 bool Parcel::ReadInt8Vector(std::vector<int8_t> *val) in ReadInt8Vector() 1515 bool Parcel::ReadInt16Vector(std::vector<int16_t> *val) in ReadInt16Vector() 1520 bool Parcel::ReadInt32Vector(std::vector<int32_t> *val) in ReadInt32Vector() 1525 bool Parcel::ReadInt64Vector(std::vector<int64_t> *val) in ReadInt64Vector() 1530 bool Parcel::ReadUInt8Vector(std::vector<uint8_t> *val) in ReadUInt8Vector() [all …]
|
/ohos5.0/base/tee/tee_client/frameworks/include/ |
H A D | tee_client_inner.h | 38 #define CHECK_ERR_RETURN(val, ref, ret) \ argument 46 #define CHECK_ERR_NO_RETURN(val, ref) \ argument 54 #define CHECK_ERR_GOTO(val, ref, label) \ argument 83 void *buffer; member 96 void *buffer; /* memory pointer */ member
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_input/dscreen_input_test/ |
H A D | dscreen_input_test.cpp | 50 ValueType val; variable 62 std::shared_ptr<AVBuffer> buffer = nullptr; variable
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_input/dsoftbus_input_test/ |
H A D | dsoftbus_input_plugin_test.cpp | 105 bool val = true; variable 118 ValueType val; variable 127 ValueType val; variable 135 std::shared_ptr<AVBuffer> buffer = std::make_shared<AVBuffer>(); variable
|
/ohos5.0/foundation/graphic/graphic_surface/surface/test/fuzztest/surface_fuzzer/ |
H A D | surface_fuzzer.cpp | 39 GSError OnBufferRelease(sptr<SurfaceBuffer> &buffer) in OnBufferRelease() 57 sptr<SurfaceBuffer> buffer = SurfaceBuffer::Create(); in MetadataHelperFuzzTest() local 186 sptr<OHOS::SurfaceBuffer> buffer = new SurfaceBufferImpl(GetData<uint32_t>()); in SurfaceFuzzTest1() local 218 std::string val = GetStringFromData(STR_LEN); in SurfaceFuzzTest2() local 235 cSurface->RegisterReleaseListener([](sptr<SurfaceBuffer> &buffer) { return GSERROR_OK; }); in SurfaceFuzzTest2() 239 [](const std::string& key, const std::string& val) {}); in SurfaceFuzzTest2() 278 GSError { in DoSomethingInterestingWithMyAPI() 282 GSError { in DoSomethingInterestingWithMyAPI() 288 sptr<OHOS::SurfaceBuffer> buffer = new SurfaceBufferImpl(seqNum); in DoSomethingInterestingWithMyAPI() local
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_output/dsoftbus_output_test/ |
H A D | dsoftbus_output_plugin_test.cpp | 81 ValueType val; variable 128 std::shared_ptr<Plugin::Buffer> buffer = nullptr; variable 189 bool val = true; variable
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_input/dsoftbus_input_audio_test/ |
H A D | dsoftbus_input_audio_plugin_test.cpp | 117 ValueType val; variable 126 ValueType val; variable 133 std::shared_ptr<AVBuffer> buffer = std::make_shared<AVBuffer>(); variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_marshalling_helper.cpp | 299 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const Drawing::Bitmap& val) in Marshalling() 313 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, Drawing::Bitmap& val) in Unmarshalling() 470 std::shared_ptr<Drawing::Image>& val, void*& imagepixelAddr) in UnmarshallingNoLazyGeneratedImage() 626 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const Drawing::Matrix& val) in Marshalling() 628 Drawing::Matrix::Buffer buffer; in Marshalling() local 639 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, Drawing::Matrix& val) in Unmarshalling() 971 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const EmitterConfig& val) in Marshalling() 991 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, EmitterConfig& val) in Unmarshalling() 1039 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, ParticleVelocity& val) in Unmarshalling() 1546 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const RRectT<float>& val) in Marshalling() [all …]
|
/ohos5.0/base/web/webview/ohos_adapter/graphic_adapter/src/ |
H A D | surface_adapter_impl.cpp | 37 SurfaceBufferAdapterImpl::SurfaceBufferAdapterImpl(sptr<SurfaceBuffer> buffer) : buffer_(buffer) {} in SurfaceBufferAdapterImpl() 123 sptr<SurfaceBuffer> buffer; in OnBufferAvailable() local 170 int32_t ConsumerSurfaceAdapterImpl::SetUserData(const std::string& key, const std::string& val) in SetUserData() 277 OHOS::sptr<OHOS::SurfaceBuffer> buffer = nullptr; in RequestBuffer() local
|
/ohos5.0/drivers/peripheral/display/buffer/test/unittest/ |
H A D | display_buffer_ut.cpp | 53 #define DISPLAY_TEST_CHK_RETURN(val, ret, ...) \ argument 432 BufferHandle *buffer = nullptr; in AllocMemTest() local
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | sqlite_statement.cpp | 125 uint64_t buffer[BUFFER_LEN] = {0x0}; in ReadFile2Buffer() local 231 ValueObject val; in Bind() local 598 auto val = std::get_if<int64_t>(&arg); in BindInteger() local 607 auto val = std::get_if<double>(&arg); in BindDouble() local 616 auto val = std::get_if<std::string>(&arg); in BindText() local 625 auto val = std::get_if<bool>(&arg); in BindBool() local 634 auto val = std::get_if<std::vector<uint8_t>>(&arg); in BindBlob() local 647 auto val = std::get_if<Asset>(&arg); in BindAsset() local 657 auto val = std::get_if<Assets>(&arg); in BindAssets() local 667 auto val = std::get_if<Floats>(&object); in BindFloats() local [all …]
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/ |
H A D | paste_data_entry.cpp | 46 bool MineCustomData::Encode(std::vector<std::uint8_t>& buffer) in Encode() 51 bool MineCustomData::Decode(const std::vector<std::uint8_t>& buffer) in Decode() 132 bool PasteDataEntry::Encode(std::vector<std::uint8_t>& buffer) in Encode() 140 bool PasteDataEntry::Decode(const std::vector<std::uint8_t>& buffer) in Decode() 170 bool PasteDataEntry::Marshalling(std::vector<std::uint8_t>& buffer) in Marshalling() 176 bool PasteDataEntry::Unmarshalling(const std::vector<std::uint8_t>& buffer) in Unmarshalling() 295 auto val = object->value_[UDMF::PIXEL_MAP]; in ConvertToPixelMap() local
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_output/dscreen_output_test/ |
H A D | dscreen_output_test.cpp | 92 ValueType val; variable 101 ValueType val; variable 113 ValueType val; variable 154 std::shared_ptr<Plugin::Buffer> buffer = nullptr; variable
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/tlv/ |
H A D | tlv_object.cpp | 22 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, std::monostate value) in Write() 30 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, void* value) in Write() 38 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, bool value) in Write() 42 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int8_t value) in Write() 46 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int16_t value) in Write() 50 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, double value) in Write() 54 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int32_t value) in Write() 58 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int64_t value) in Write() 62 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, uint32_t value) in Write() 169 auto val = std::get<_First>(input); in WriteVariant() local [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/ble/ |
H A D | connection_ble_trans_test.cpp | 98 LimitedBuffer buffer = {0}; variable 170 const char *val = "test001"; variable 239 ConnBleReadBuffer buffer; variable
|
/ohos5.0/foundation/multimedia/av_codec/services/services/codec/ipc/ |
H A D | codec_listener_stub.cpp | 39 std::shared_ptr<AVBuffer> buffer = nullptr; member 122 for (auto &val : caches_) { in FlushCaches() local 147 for (auto &val : caches_) { in PrintCachesInfo() local 175 …void AVBufferToAVSharedMemory(const std::shared_ptr<AVBuffer> &buffer, std::shared_ptr<AVSharedMem… in AVBufferToAVSharedMemory() 391 void CodecListenerStub::OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer) in OnInputBufferAvailable() 397 void CodecListenerStub::OnOutputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer) in OnOutputBufferAvailable() 452 std::shared_ptr<AVBuffer> &buffer = elem.buffer; in OnOutputBufferAvailable() local 502 std::shared_ptr<AVBuffer> &buffer = elem.buffer; in WriteInputMemoryToParcel() local 521 std::shared_ptr<AVBuffer> &buffer = elem.buffer; in WriteInputBufferToParcel() local
|
/ohos5.0/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | tlv_util.cpp | 522 std::vector<std::uint8_t> val; in CountBufferSize() local 533 std::vector<std::uint8_t> val; in Writing() local 543 std::vector<std::uint8_t> val; in Reading() local 564 std::vector<std::uint8_t> val(size); in CountBufferSize() local 577 auto buffer = parcel.GetData(); in Writing() local 578 std::vector<std::uint8_t> val(size); in Writing() local 591 std::vector<std::uint8_t> val; in Reading() local 598 auto buffer = malloc(val.size()); in Reading() local
|