Home
last modified time | relevance | path

Searched refs:Read (Results 1 – 25 of 1071) sorted by relevance

12345678910>>...43

/ohos5.0/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
348 return Read<bool>(); in ReadBoolUnaligned()
365 return Read<int32_t>(); in ReadInt32()
370 return Read<int64_t>(); in ReadInt64()
387 return Read<uint32_t>(); in ReadUint32()
392 return Read<uint64_t>(); in ReadUint64()
397 return Read<float>(); in ReadFloat()
402 return Read<double>(); in ReadDouble()
423 return Read<int8_t>(value); in ReadInt8Unaligned()
[all …]
/ohos5.0/docs/en/release-notes/
H A DOpenHarmony-1-1-0-LTS.md65 >- Read-only archiving means archiving a module repository to the **openharmony-retired** organ…
73 … | N/A | Read-only archiving …
78 … | N/A | Read-only archiving …
79 …t_<br/>lite | N/A | Read-only archiving …
80 … | N/A | Read-only archiving …
81 … | N/A | Read-only archiving …
82 … | N/A | Read-only archiving …
83 … | N/A | Read-only archiving …
84 … | N/A | Read-only archiving …
85 … | N/A | Read-only archiving …
[all …]
/ohos5.0/base/powermgr/thermal_manager/test/unittest/mock/src/
H A Dmock_parcel.cpp360 bool Parcel::Read(T& value) in Read() function in OHOS::Parcel
367 T Parcel::Read() in Read() function in OHOS::Parcel
430 return Read<bool>(); in ReadBoolUnaligned()
447 return Read<int32_t>(); in ReadInt32()
452 return Read<int64_t>(); in ReadInt64()
469 return Read<uint32_t>(); in ReadUint32()
474 return Read<uint64_t>(); in ReadUint64()
479 return Read<float>(); in ReadFloat()
484 return Read<double>(); in ReadDouble()
506 return Read<int8_t>(value); in ReadInt8Unaligned()
[all …]
/ohos5.0/base/powermgr/battery_manager/test/unittest/mock/source/
H A Dmock_parcel.cpp351 bool Parcel::Read(T& value) in Read() function in OHOS::Parcel
358 T Parcel::Read() in Read() function in OHOS::Parcel
417 return Read<bool>(); in ReadBoolUnaligned()
434 return Read<int32_t>(); in ReadInt32()
439 return Read<int64_t>(); in ReadInt64()
456 return Read<uint32_t>(); in ReadUint32()
461 return Read<uint64_t>(); in ReadUint64()
466 return Read<float>(); in ReadFloat()
471 return Read<double>(); in ReadDouble()
493 return Read<int8_t>(value); in ReadInt8Unaligned()
[all …]
/ohos5.0/base/powermgr/battery_statistics/test/unittest/mock/source/
H A Dmock_parcel.cpp353 bool Parcel::Read(T &value) in Read() function in OHOS::Parcel
360 T Parcel::Read() in Read() function in OHOS::Parcel
419 return Read<bool>(); in ReadBoolUnaligned()
436 return Read<int32_t>(); in ReadInt32()
441 return Read<int64_t>(); in ReadInt64()
458 return Read<uint32_t>(); in ReadUint32()
463 return Read<uint64_t>(); in ReadUint64()
468 return Read<float>(); in ReadFloat()
473 return Read<double>(); in ReadDouble()
495 return Read<int8_t>(value); in ReadInt8Unaligned()
[all …]
/ohos5.0/base/powermgr/display_manager/state_manager/test/unittest/mock/src/
H A Dmock_parcel.cpp351 bool Parcel::Read(T& value) in Read() function in OHOS::Parcel
358 T Parcel::Read() in Read() function in OHOS::Parcel
417 return Read<bool>(); in ReadBoolUnaligned()
434 return Read<int32_t>(); in ReadInt32()
439 return Read<int64_t>(); in ReadInt64()
456 return Read<uint32_t>(); in ReadUint32()
461 return Read<uint64_t>(); in ReadUint64()
466 return Read<float>(); in ReadFloat()
471 return Read<double>(); in ReadDouble()
493 return Read<int8_t>(value); in ReadInt8Unaligned()
[all …]
/ohos5.0/base/powermgr/power_manager/test/unittest/mock/
H A Dmock_parcel.cpp351 bool Parcel::Read(T& value) in Read() function in OHOS::Parcel
358 T Parcel::Read() in Read() function in OHOS::Parcel
417 return Read<bool>(); in ReadBoolUnaligned()
434 return Read<int32_t>(); in ReadInt32()
439 return Read<int64_t>(); in ReadInt64()
456 return Read<uint32_t>(); in ReadUint32()
461 return Read<uint64_t>(); in ReadUint64()
466 return Read<float>(); in ReadFloat()
471 return Read<double>(); in ReadDouble()
493 return Read<int8_t>(value); in ReadInt8Unaligned()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_profiler/unittest/
H A Drs_profiler_packet_test.cpp98 EXPECT_EQ(u8, p.Read<uint8_t>());
99 EXPECT_EQ(i8, p.Read<int8_t>());
101 EXPECT_EQ(i16, p.Read<int16_t>());
103 EXPECT_EQ(i32, p.Read<int32_t>());
105 EXPECT_EQ(i64, p.Read<int64_t>());
128 p.Read(&u32Res, sizeof(u32Res));
133 p.Read(strRes.data(), 11);
184 p.Read<double>();
187 p.Read<uint32_t>();
190 p.Read<std::string>(4);
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_packet.h122 [[maybe_unused]] bool Read(T& value);
125 [[maybe_unused]] bool Read(T& value, size_t size);
130 T Read();
133 T Read(size_t size);
155 [[maybe_unused]] inline bool Packet::Read(T& value)
157 return Read(&value, sizeof(value));
170 res = res && Read(v);
179 inline T Packet::Read()
182 Read(v);
187 inline T Packet::Read(size_t size)
[all …]
/ohos5.0/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()
150 if (auto handle = animationManager_->Read(animation_); handle) { in GetStartOffset()
165 if (auto handle = animationManager_->Read(animation_); handle) { in GetDuration()
173 if (auto handle = animationStateManager_->Read(animation_); handle) { in IsCompleted()
[all …]
/ohos5.0/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
104 if (!Read(reinterpret_cast<char *>(&data), sizeof(data))) { in Read()
124 bool StreamBuffer::Read(std::vector<T> &data) in Read() function
127 if (!Read(size)) { in Read()
137 if (!Read(val)) { in Read()
[all …]
/ohos5.0/base/sensors/sensor/utils/ipc/include/
H A Dstream_buffer.h45 bool Read(std::string &buf);
46 bool Read(StreamBuffer &buf);
47 bool Read(char *buf, size_t size);
63 bool Read(T &data);
67 bool Read(std::vector<T> &data);
100 bool StreamBuffer::Read(T &data) in Read() function
102 if (!Read(reinterpret_cast<char *>(&data), sizeof(data))) { in Read()
134 bool StreamBuffer::Read(std::vector<T> &data) in Read() function
137 if (!Read(size)) { in Read()
147 if (!Read(val)) { in Read()
[all …]
/ohos5.0/base/telephony/core_service/interfaces/innerkits/include/
H A Dtel_ril_base_parcel.h32 bool Read(Parcel &parcel, int8_t &value);
33 bool Read(Parcel &parcel, uint8_t &value);
34 bool Read(Parcel &parcel, int32_t &value);
35 bool Read(Parcel &parcel, uint32_t &value);
36 bool Read(Parcel &parcel, int64_t &value);
37 bool Read(Parcel &parcel, uint64_t &value);
38 bool Read(Parcel &parcel, bool &value);
39 bool Read(Parcel &parcel, std::string &value);
42 bool Read(Parcel &parcel, E &e) in Read() function
47 return Read(parcel, *((int32_t *)&e)); in Read()
[all …]
/ohos5.0/base/msdp/device_status/utils/ipc/include/
H A Dstream_buffer.h47 bool Read(std::string &buf);
49 bool Read(StreamBuffer &buf);
51 bool Read(char *buf, size_t size);
59 bool Read(T &data);
85 bool StreamBuffer::Read(T &data) in Read() function
87 if (!Read(reinterpret_cast<char *>(&data), sizeof(data))) { in Read()
109 if (!Read(data)) {
/ohos5.0/foundation/window/window_manager/utils/test/unittest/
H A Dwindow_property_test.cpp97 HWTEST_F(WindowPropertyTest, Read, Function | SmallTest | Level2)
107 winPropDst.Read(parcel, PropertyChangeAction::ACTION_UPDATE_RECT);
108 winPropDst.Read(parcel, PropertyChangeAction::ACTION_UPDATE_MODE);
109 winPropDst.Read(parcel, PropertyChangeAction::ACTION_UPDATE_FLAGS);
110 winPropDst.Read(parcel, PropertyChangeAction::ACTION_UPDATE_OTHER_PROPS);
111 winPropDst.Read(parcel, PropertyChangeAction::ACTION_UPDATE_FOCUSABLE);
112 winPropDst.Read(parcel, PropertyChangeAction::ACTION_UPDATE_TOUCHABLE);
113 winPropDst.Read(parcel, PropertyChangeAction::ACTION_UPDATE_CALLING_WINDOW);
114 winPropDst.Read(parcel, PropertyChangeAction::ACTION_UPDATE_ORIENTATION);
115 winPropDst.Read(parcel, PropertyChangeAction::ACTION_UPDATE_TURN_SCREEN_ON);
[all …]
/ohos5.0/base/telephony/core_service/frameworks/native/src/
H A Dtel_ril_base_parcel.cpp21 bool Read(Parcel &parcel, int8_t &value) in Read() function
26 bool Read(Parcel &parcel, uint8_t &value) in Read() function
31 bool Read(Parcel &parcel, int32_t &value) in Read() function
36 bool Read(Parcel &parcel, uint32_t &value) in Read() function
41 bool Read(Parcel &parcel, int64_t &value) in Read() function
46 bool Read(Parcel &parcel, uint64_t &value) in Read() function
51 bool Read(Parcel &parcel, bool &value) in Read() function
56 bool Read(Parcel &parcel, std::string &value) in Read() function
/ohos5.0/docs/en/application-dev/arkts-utils/
H A Dlinear-container.md56 | Read| getFirst() | Obtains the first element.|
57 | Read| getLast() | Obtaining the last element|
86 | Read| getFirst() | Obtains the first element.|
87 | Read| getLast() | Obtaining the last element|
117 | Read| popFirst() | Obtains the first element and dequeues it.|
118 | Read| popLast() | Obtains the last element and dequeues it.|
143 | Read| pop() | Obtains the head element and dequeues it.|
165 | Read| pop() | Obtains the top element of the stack and dequeues it.|
166 | Read| locate(element: T) | Obtains the position of an element.|
190 | Read| getFirst() | Obtains the first element.|
[all …]
H A Dnonlinear-container.md30 **HashMap** provides the following Create, Read, Update, and Delete (CRUD) APIs.
35 | Read| get(key: K) | Value corresponding to the target key.|
84 | Read| get(key: K) | Value corresponding to the target key.|
85 | Read| getFirstKey() | Use **getFirstKey()** to obtain the first key in this container.|
86 | Read| getLastKey() | Use **getLastKey()** to obtain the last key in this container.|
139 | Read| get(key: K) | Value corresponding to the target key.|
140 | Read| getIndexOfKey(key: K) | Obtains the index of a specified key in a map.|
141 | Read| getIndexOfValue(value: V) | Obtains the first index of a specified value in a map.|
172 | Read| getIndexOf(key: T) | Key of the value to obtain.|
198 | Read| get(key: number) | Value corresponding to the target key.|
[all …]
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dparcel.cpp768 bool Parcel::Read(T &value) in Read() function in OHOS::Parcel
790 T Parcel::Read() in Read() function in OHOS::Parcel
943 return Read<bool>(); in ReadBoolUnaligned()
960 return Read<int32_t>(); in ReadInt32()
965 return Read<int64_t>(); in ReadInt64()
982 return Read<uint32_t>(); in ReadUint32()
987 return Read<uint64_t>(); in ReadUint64()
992 return Read<float>(); in ReadFloat()
997 return Read<double>(); in ReadDouble()
1024 return Read<int8_t>(value); in ReadInt8Unaligned()
[all …]
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Dmemory_test.cpp88 memory->Read(addr, &tmp, sizeof(uint8_t), false);
91 memory->Read(addr, &tmp, sizeof(uint16_t), false);
94 memory->Read(addr, &tmp, sizeof(uint32_t), false);
97 memory->Read(addr, &tmp, sizeof(uint64_t), false);
127 ASSERT_TRUE(memory->Read(addr, &tmp, sizeof(uint8_t), false));
130 ASSERT_TRUE(memory->Read(addr, &tmp, sizeof(uint16_t), false));
133 ASSERT_TRUE(memory->Read(addr, &tmp, sizeof(uint32_t), false));
265 memory->Read(addr, &tmp, sizeof(uint8_t), false);
268 memory->Read(addr, &tmp, sizeof(uint16_t), false);
271 memory->Read(addr, &tmp, sizeof(uint32_t), false);
[all …]
/ohos5.0/drivers/interface/display/composer/command_pack/
H A Dcommand_data_unpacker.h39 return Read<uint64_t>(value); in ReadUint64()
44 return Read<uint32_t>(value); in ReadUint32()
50 bool ret = Read<uint32_t>(intVal); in ReadUint8()
60 return Read<int32_t>(value); in ReadInt32()
66 bool ret = Read<int32_t>(intVal); in ReadBool()
149 bool Read(T& value) in Read() function
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/exif_metadata_accessor_test/
H A Dpng_exif_metadata_accessor_test.cpp75 int result = imageAccessor.Read();
89 int result = imageAccessor.Read();
117 int result = imageAccessor.Read();
162 int result = imageAccessor.Read();
203 int result = imageAccessor.Read();
256 int result = imageAccessor.Read();
310 int result = imageAccessor.Read();
356 int result = imageAccessor.Read();
397 int result = imageAccessor.Read();
473 ASSERT_EQ(imageAccessor.Read(), 0);
[all …]
H A Djpeg_exif_metadata_accessor_test.cpp464 ASSERT_EQ(imageAccessor.Read(), 0);
486 ASSERT_EQ(imageAccessor.Read(), 0);
514 ASSERT_EQ(imageAccessor.Read(), 0);
536 ASSERT_EQ(imageAccessor.Read(), 0);
543 ASSERT_EQ(imageAccessor.Read(), 0);
557 ASSERT_EQ(imageAccessor.Read(), 0);
562 ASSERT_EQ(imageAccessor.Read(), 0);
575 ASSERT_EQ(imageAccessor.Read(), 0);
608 ASSERT_EQ(imageAccessor.Read(), 0);
634 ASSERT_EQ(imageAccessor.Read(), 0);
[all …]
/ohos5.0/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()
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()
444 ssize_t readSize = imageStream_->Read(buf.Data(), buf.Size()); in CopyRestData()
450 readSize = imageStream_->Read(buf.Data(), buf.Size()); in CopyRestData()
460 …if (static_cast<size_t>(imageStream_->Read(headInfo.Data(), headInfo.Size())) != headInfo.Size() || in WriteHeader()
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
H A Dssl_stream.rs14 use std::io::{Read, Write};
27 impl<T> Read for MixStream<T>
29 T: Read + Write,
40 T: Read + Write,

12345678910>>...43