Home
last modified time | relevance | path

Searched refs:Read (Results 1 - 25 of 436) sorted by relevance

12345678910>>...18

/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_packet.h97 [[maybe_unused]] bool Read(T& value);
100 [[maybe_unused]] bool Read(T& value, size_t size);
102 [[maybe_unused]] bool Read(void* value, size_t size);
105 T Read();
108 T Read(size_t size);
130 [[maybe_unused]] inline bool Packet::Read(T& value) in Read() function in OHOS::Rosen::Packet
132 return Read(&value, sizeof(value)); in Read()
136 [[maybe_unused]] bool Packet::Read(T& value, size_t size) in Read() function in OHOS::Rosen::Packet
140 return Read(value.data(), size * sizeof(typename T::value_type)); in Read()
145 res = res && Read( in Read()
154 inline T Packet::Read() Read() function in OHOS::Rosen::Packet
162 inline T Packet::Read(size_t size) Read() function in OHOS::Rosen::Packet
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_profiler/unittest/
H A Drs_profiler_packet_test.cpp80 EXPECT_EQ(u8, p.Read<uint8_t>()); in HWTEST_F()
81 EXPECT_EQ(i8, p.Read<int8_t>()); in HWTEST_F()
82 EXPECT_EQ(u16, p.Read<uint16_t>()); in HWTEST_F()
83 EXPECT_EQ(i16, p.Read<int16_t>()); in HWTEST_F()
84 EXPECT_EQ(u32, p.Read<uint32_t>()); in HWTEST_F()
85 EXPECT_EQ(i32, p.Read<int32_t>()); in HWTEST_F()
86 EXPECT_EQ(u64, p.Read<uint64_t>()); in HWTEST_F()
87 EXPECT_EQ(i64, p.Read<int64_t>()); in HWTEST_F()
88 EXPECT_EQ(str, p.Read<std::string>(11)); in HWTEST_F()
89 EXPECT_EQ(vec, p.Read<st in HWTEST_F()
[all...]
/foundation/multimodalinput/input/util/network/include/
H A Dstream_buffer.h48 bool Read(std::string &buf);
51 bool Read(StreamBuffer &buf);
54 bool Read(char *buf, size_t size);
67 bool Read(T &data);
71 bool Read(std::vector<T> &data);
102 bool StreamBuffer::Read(T &data) in Read() function in OHOS::MMI::StreamBuffer
104 if (!Read(reinterpret_cast<char *>(&data), sizeof(data))) { in Read()
124 bool StreamBuffer::Read(std::vector<T> &data) in Read() function in OHOS::MMI::StreamBuffer
127 if (!Read(size)) { in Read()
128 MMI_HILOGE("Read vecto in Read()
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Danimation_playback.cpp56 if (const auto nameData = nameManager_->Read(animation_); nameData) { in GetName()
71 if (auto handle = animationManager_->Read(animation_); handle) { in GetPlaybackState()
86 if (auto handle = animationManager_->Read(animation_); handle) { in GetRepeatCount()
101 if (auto handle = animationManager_->Read(animation_); handle) { in GetWeight()
109 if (auto handle = animationStateManager_->Read(animation_); handle) { in GetTimePosition()
125 if (auto handle = animationManager_->Read(animation_); handle) { in GetAnimationLength()
129 if (auto track = trackManager->Read(trackEntity); track) { in GetAnimationLength()
130 if (auto inputData = inputManager->Read(track->timestamps); inputData) { in GetAnimationLength()
150 if (auto handle = animationManager_->Read(animation_); handle) { in GetStartOffset()
165 if (auto handle = animationManager_->Read(animation in GetDuration()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Dparcel.cpp290 bool Parcel::Read(T &value) in Read() function in OHOS::Parcel
296 T Parcel::Read() in Read() function in OHOS::Parcel
342 int32_t temp = Read<int32_t>(); in ReadBool()
348 return Read<bool>(); in ReadBoolUnaligned()
353 int32_t temp = Read<int32_t>(); in ReadInt8()
359 int32_t temp = Read<int32_t>(); in ReadInt16()
365 return Read<int32_t>(); in ReadInt32()
370 return Read<int64_t>(); in ReadInt64()
375 uint32_t temp = Read<uint32_t>(); in ReadUint8()
381 uint32_t temp = Read<uint32_ in ReadUint16()
[all...]
/foundation/window/window_manager/utils/test/unittest/
H A Dwindow_property_test.cpp93 * @tc.name: Read
94 * @tc.desc: Read test
97 HWTEST_F(WindowPropertyTest, Read, Function | SmallTest | Level2) in HWTEST_F()
107 winPropDst.Read(parcel, PropertyChangeAction::ACTION_UPDATE_RECT); in HWTEST_F()
108 winPropDst.Read(parcel, PropertyChangeAction::ACTION_UPDATE_MODE); in HWTEST_F()
109 winPropDst.Read(parcel, PropertyChangeAction::ACTION_UPDATE_FLAGS); in HWTEST_F()
110 winPropDst.Read(parcel, PropertyChangeAction::ACTION_UPDATE_OTHER_PROPS); in HWTEST_F()
111 winPropDst.Read(parcel, PropertyChangeAction::ACTION_UPDATE_FOCUSABLE); in HWTEST_F()
112 winPropDst.Read(parcel, PropertyChangeAction::ACTION_UPDATE_TOUCHABLE); in HWTEST_F()
113 winPropDst.Read(parce in HWTEST_F()
[all...]
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/mock/
H A Dtlv_object_mock.cpp102 bool TLVObject::Read(std::string &value, const TLVHead &head) in Read() function in OHOS::UDMF::TLVObject
113 bool TLVObject::Read(std::vector<uint8_t> &value, const TLVHead &head) in Read() function in OHOS::UDMF::TLVObject
123 bool TLVObject::Read(OHOS::AAFwk::Want &value, const TLVHead &head) in Read() function in OHOS::UDMF::TLVObject
133 bool TLVObject::Read(std::monostate &value, const TLVHead &head) in Read() function in OHOS::UDMF::TLVObject
144 bool TLVObject::Read(void *value, const TLVHead &head) in Read() function in OHOS::UDMF::TLVObject
/foundation/multimedia/media_foundation/tests/unittest/avbuffer/
H A Davsharedmemorybase_func_unit_test.cpp50 * @tc.name: Test AVSharedMemoryBase::Read API
51 * @tc.desc: Test AVSharedMemoryBase::Read interface, set readSize to 0.
58 EXPECT_EQ(memory->Read(nullptr, 0, 0), 0); in HWTEST_F()
62 * @tc.name: Test Read API
63 * @tc.desc: Test Read interface, read data from memory.
66 HWTEST_F(AvsharedmemorybaseUnitTest, Read, TestSize.Level0) in HWTEST_F()
82 ret = memory->Read(readBuffer, SIZE); in HWTEST_F()
/foundation/window/window_manager/window_scene/test/unittest/
H A Dwindow_session_property_test.cpp690 * @tc.name: Read
691 * @tc.desc: Read test
694 HWTEST_F(WindowSessionPropertyTest, Read, Function | SmallTest | Level2) in HWTEST_F()
699 property->Read(parcel, WSPropertyChangeAction::ACTION_UPDATE_RECT); in HWTEST_F()
700 property->Read(parcel, WSPropertyChangeAction::ACTION_UPDATE_TURN_SCREEN_ON); in HWTEST_F()
701 property->Read(parcel, WSPropertyChangeAction::ACTION_UPDATE_KEEP_SCREEN_ON); in HWTEST_F()
702 property->Read(parcel, WSPropertyChangeAction::ACTION_UPDATE_FOCUSABLE); in HWTEST_F()
703 property->Read(parcel, WSPropertyChangeAction::ACTION_UPDATE_TOUCHABLE); in HWTEST_F()
704 property->Read(parcel, WSPropertyChangeAction::ACTION_UPDATE_SET_BRIGHTNESS); in HWTEST_F()
705 property->Read(parce in HWTEST_F()
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/
H A Dwebp_exif_metadata_accessor.cpp65 uint32_t WebpExifMetadataAccessor::Read() in Read() function in OHOS::Media::WebpExifMetadataAccessor
102 if (static_cast<size_t>(imageStream_->Read(chunkId.Data(), chunkId.Size())) != chunkId.Size() || in ReadBlob()
109 if (static_cast<size_t>(imageStream_->Read(chunkSize.Data(), chunkSize.Size())) != chunkSize.Size() || in ReadBlob()
117 IMAGE_LOGE("Read chunk length error."); in ReadBlob()
131 imageStream_->Read(blob.Data(), size); in ReadBlob()
143 if (static_cast<size_t>(imageStream_->Read(chunkId.Data(), chunkId.Size())) != chunkId.Size() || in CheckChunkVp8x()
157 if (static_cast<size_t>(imageStream_->Read(chunkSize, WEBP_CHUNK_SIZE)) != WEBP_CHUNK_SIZE || in CheckChunkVp8x()
173 if (static_cast<size_t>(imageStream_->Read(chunkData.Data(), chunkData.Size())) != chunkData.Size() || in CheckChunkVp8x()
297 if (static_cast<size_t>(imageStream_->Read(chunkHead.Data(), chunkHead.Size())) != chunkHead.Size() || in UpdateExifMetadata()
306 IMAGE_LOGE("Read chun in UpdateExifMetadata()
[all...]
/foundation/multimodalinput/input/util/socket/test/
H A Dstream_buffer_test.cpp62 bool retResult = bufObj.Read(buf, size); in HWTEST_F()
79 bool retResult = bufObj.Read(buf, size); in HWTEST_F()
95 bool retResult = bufObj.Read(buf); in HWTEST_F()
111 bool retResult = bufObj.Read(buf); in HWTEST_F()
127 bool retResult = bufObj.Read(buf); in HWTEST_F()
/foundation/distributeddatamgr/udmf/framework/common/
H A Dtlv_object.h60 bool Read(std::string &value, const TLVHead &head);
61 bool Read(std::vector<uint8_t> &value, const TLVHead &head);
62 bool Read(OHOS::AAFwk::Want &value, const TLVHead &head);
63 bool Read(std::monostate &value, const TLVHead &head);
64 bool Read(void *value, const TLVHead &head);
/foundation/multimedia/av_codec/test/unittest/http_source_test/
H A Dhttp_source_plugin_unit_test.cpp82 httpSourcePlugin->Read(1, buffer, 10, 100); in HWTEST_F()
101 httpSourcePlugin->Read(1, buffer, 10, 100); in HWTEST_F()
118 httpSourcePlugin->Read(1, buffer, 10, 100); in HWTEST_F()
135 httpSourcePlugin->Read(1, buffer, 10, 100); in HWTEST_F()
146 httpSourcePlugin->Read(1, buffer, 10, 100); in HWTEST_F()
160 httpSourcePlugin->Read(1, buffer, 10, 100); in HWTEST_F()
181 httpSourcePlugin->Read(1, buffer, 10, 100); in HWTEST_F()
204 httpSourcePlugin->Read(1, buffer, 10, 100); in HWTEST_F()
221 httpSourcePlugin->Read(1, buffer, 10, 100); in HWTEST_F()
234 httpSourcePlugin->Read( in HWTEST_F()
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageaccessor_fuzzer/src/
H A Dimage_accessor_fuzzer.cpp57 metadataAccessor->Read(); in MetadataAccessorFuncTest001()
83 jpegMetadataAccessor->Read(); in JpegAccessorTest()
105 pngMetadataAccessor->Read(); in PngAccessorTest()
120 webpMetadataAccessor->Read(); in WebpAccessorTest()
141 heifMetadataAccessor->Read(); in HeifAccessorTest()
156 dngMetadataAccessor->Read(); in DngAccessorTest()
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbpf_stats.cpp66 if (ifaceStatsMap.Read(k, v) < NETSYS_SUCCESS) { in GetTotalStats()
67 NETNATIVE_LOGE("Read ifaceStatsMap err"); in GetTotalStats()
88 if (appUidStatsMap.Read(uid, uidStats) < 0) { in GetUidStats()
106 if (uidSimStatsMap.Read(k, v) < 0) { in GetAllSimStatsInfo()
107 NETNATIVE_LOGE("Read uid_sim_map err"); in GetAllSimStatsInfo()
154 if (uidIfaceStatsMap.Read(k, v) < 0) { in GetAllStatsInfo()
155 NETNATIVE_LOGE("Read ifaceStatsMap err"); in GetAllStatsInfo()
215 if (ifaceStatsMap.Read(ifIndex, ifaceStats) < 0) { in GetIfaceStats()
233 if (appUidCookieStatsMap.Read(cookie, cookieStats) < 0) { in GetCookieStats()
/foundation/ability/dmsfwk/services/dtbschedmgr/include/
H A Dparcel_helper.h54 bool ret = parcel.Read##type((out)); \
63 bool ret = parcel.Read##type((out)); \
72 bool ret = parcel.Read##type((out)); \
/foundation/ability/dmsfwk/interfaces/innerkits/distributed_event/include/
H A Ddistributed_parcel_helper.h54 bool ret = parcel.Read##type((out)); \
63 bool ret = parcel.Read##type((out)); \
72 bool ret = parcel.Read##type((out)); \
/foundation/ability/dmsfwk/services/dtbabilitymgr/include/base/
H A Dparcel_helper.h54 bool ret = parcel.Read##type((out)); \
63 bool ret = parcel.Read##type((out)); \
72 bool ret = parcel.Read##type((out)); \
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/distributed_ability_runtime/
H A Ddistributed_parcel_helper.h54 bool ret = parcel.Read##type((out)); \
63 bool ret = parcel.Read##type((out)); \
72 bool ret = parcel.Read##type((out)); \
/foundation/deviceprofile/device_info_manager/old/common/include/
H A Dparcel_helper.h53 bool ret = parcel.Read##type((out)); \
62 bool ret = parcel.Read##type((out)); \
71 bool ret = parcel.Read##type((out)); \
/foundation/window/window_manager/window_scene/session_manager/include/
H A Ddistributed_parcel_helper.h57 bool ret = parcel.Read##type((out)); \
66 bool ret = parcel.Read##type((out)); \
75 bool ret = parcel.Read##type((out)); \
/foundation/resourceschedule/device_standby/utils/common/include/
H A Dipc_util.h27 if (!(in).Read##type(data)) { \
35 if (!(in).Read##type(data)) { \
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/exif_metadata_accessor_test/
H A Djpeg_exif_metadata_accessor_test.cpp80 uint32_t result = imageAccessor.Read(); in HWTEST_F()
130 uint32_t result = imageAccessor.Read(); in HWTEST_F()
177 uint32_t result = imageAccessor.Read(); in HWTEST_F()
232 uint32_t result = imageAccessor.Read(); in HWTEST_F()
287 uint32_t result = imageAccessor.Read(); in HWTEST_F()
329 * @tc.desc: test Read
337 uint32_t result = imageAccessor.Read(); in HWTEST_F()
385 * @tc.desc: test Read
393 uint32_t result = imageAccessor.Read(); in HWTEST_F()
470 ASSERT_EQ(imageAccessor.Read(), in HWTEST_F()
[all...]
H A Dpng_exif_metadata_accessor_test.cpp67 * @tc.desc: test Read using PNG without exif
75 int result = imageAccessor.Read(); in HWTEST_F()
81 * @tc.desc: test Read using PNG with exif
89 int result = imageAccessor.Read(); in HWTEST_F()
109 * @tc.desc: test Read
117 int result = imageAccessor.Read(); in HWTEST_F()
154 * @tc.desc: test Read
162 int result = imageAccessor.Read(); in HWTEST_F()
195 * @tc.desc: test Read
203 int result = imageAccessor.Read(); in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/unittest/dash_test/
H A Ddash_segment_downloader_unit_test.cpp186 DashReadRet result = segmentDownloader->Read(buffer, readDataInfo, isInterruptNeeded); in HWTEST_F()
191 result = segmentDownloader->Read(buffer, readDataInfo, isInterruptNeeded); in HWTEST_F()
365 DashReadRet result = segmentDownloaderSp->Read(buffer, readDataInfo, isInterruptNeeded); in HWTEST_F()
367 result = segmentDownloaderSp->Read(buffer, readDataInfo, isInterruptNeeded); in HWTEST_F()
371 result = segmentDownloaderSp->Read(buffer, readDataInfo, isInterruptNeeded); in HWTEST_F()
421 DashReadRet result = segmentDownloaderSp->Read(buffer, readDataInfo, isInterruptNeeded); in HWTEST_F()
423 result = segmentDownloaderSp->Read(buffer, readDataInfo, isInterruptNeeded); in HWTEST_F()
427 result = segmentDownloaderSp->Read(buffer, readDataInfo, isInterruptNeeded); in HWTEST_F()
460 DashReadRet result = segmentDownloaderSp->Read(buffer, readDataInfo, isInterruptNeeded); in HWTEST_F()
462 result = segmentDownloaderSp->Read(buffe in HWTEST_F()
[all...]

Completed in 13 milliseconds

12345678910>>...18