Home
last modified time | relevance | path

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

123

/base/sensors/sensor/utils/ipc/include/
Dstream_buffer.h43 bool Read(std::string &buf);
44 bool Read(StreamBuffer &buf);
45 bool Read(char *buf, size_t size);
61 bool Read(T &data);
65 bool Read(std::vector<T> &data);
98 bool StreamBuffer::Read(T &data) in Read() function
100 if (!Read(reinterpret_cast<char *>(&data), sizeof(data))) { in Read()
132 bool StreamBuffer::Read(std::vector<T> &data) in Read() function
135 if (!Read(size)) { in Read()
145 if (!Read(val)) { in Read()
[all …]
/base/telephony/ril_adapter/interfaces/innerkits/include/
Dhril_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 …]
/base/powermgr/battery_statistics/test/unittest/mock/source/
Dmock_parcel.cpp353 bool Parcel::Read(T &value) in Read() function in OHOS::Parcel
360 T Parcel::Read() in Read() function in OHOS::Parcel
413 int32_t temp = Read<int32_t>(); in ReadBool()
419 return Read<bool>(); in ReadBoolUnaligned()
424 int32_t temp = Read<int32_t>(); in ReadInt8()
430 int32_t temp = Read<int32_t>(); in ReadInt16()
436 return Read<int32_t>(); in ReadInt32()
441 return Read<int64_t>(); in ReadInt64()
446 uint32_t temp = Read<uint32_t>(); in ReadUint8()
452 uint32_t temp = Read<uint32_t>(); in ReadUint16()
[all …]
/base/powermgr/power_manager/test/unittest/mock/
Dmock_parcel.cpp351 bool Parcel::Read(T& value) in Read() function in OHOS::Parcel
358 T Parcel::Read() in Read() function in OHOS::Parcel
411 int32_t temp = Read<int32_t>(); in ReadBool()
417 return Read<bool>(); in ReadBoolUnaligned()
422 int32_t temp = Read<int32_t>(); in ReadInt8()
428 int32_t temp = Read<int32_t>(); in ReadInt16()
434 return Read<int32_t>(); in ReadInt32()
439 return Read<int64_t>(); in ReadInt64()
444 uint32_t temp = Read<uint32_t>(); in ReadUint8()
450 uint32_t temp = Read<uint32_t>(); in ReadUint16()
[all …]
/base/powermgr/thermal_manager/test/unittest/mock/src/
Dmock_parcel.cpp360 bool Parcel::Read(T& value) in Read() function in OHOS::Parcel
367 T Parcel::Read() in Read() function in OHOS::Parcel
424 int32_t temp = Read<int32_t>(); in ReadBool()
430 return Read<bool>(); in ReadBoolUnaligned()
435 int32_t temp = Read<int32_t>(); in ReadInt8()
441 int32_t temp = Read<int32_t>(); in ReadInt16()
447 return Read<int32_t>(); in ReadInt32()
452 return Read<int64_t>(); in ReadInt64()
457 uint32_t temp = Read<uint32_t>(); in ReadUint8()
463 uint32_t temp = Read<uint32_t>(); in ReadUint16()
[all …]
/base/powermgr/battery_manager/test/unittest/mock/source/
Dmock_parcel.cpp351 bool Parcel::Read(T& value) in Read() function in OHOS::Parcel
358 T Parcel::Read() in Read() function in OHOS::Parcel
411 int32_t temp = Read<int32_t>(); in ReadBool()
417 return Read<bool>(); in ReadBoolUnaligned()
422 int32_t temp = Read<int32_t>(); in ReadInt8()
428 int32_t temp = Read<int32_t>(); in ReadInt16()
434 return Read<int32_t>(); in ReadInt32()
439 return Read<int64_t>(); in ReadInt64()
444 uint32_t temp = Read<uint32_t>(); in ReadUint8()
450 uint32_t temp = Read<uint32_t>(); in ReadUint16()
[all …]
/base/powermgr/display_manager/test/unittest/mock/src/
Dmock_parcel.cpp351 bool Parcel::Read(T& value) in Read() function in OHOS::Parcel
358 T Parcel::Read() in Read() function in OHOS::Parcel
411 int32_t temp = Read<int32_t>(); in ReadBool()
417 return Read<bool>(); in ReadBoolUnaligned()
422 int32_t temp = Read<int32_t>(); in ReadInt8()
428 int32_t temp = Read<int32_t>(); in ReadInt16()
434 return Read<int32_t>(); in ReadInt32()
439 return Read<int64_t>(); in ReadInt64()
444 uint32_t temp = Read<uint32_t>(); in ReadUint8()
450 uint32_t temp = Read<uint32_t>(); in ReadUint16()
[all …]
/base/msdp/device_status/utils/ipc/include/
Dstream_buffer.h41 bool Read(std::string &buf);
43 bool Read(StreamBuffer &buf);
45 bool Read(char *buf, size_t size);
55 bool Read(T &data);
82 bool StreamBuffer::Read(T &data) in Read() function
84 if (!Read(reinterpret_cast<char *>(&data), sizeof(data))) { in Read()
106 if (!Read(data)) {
/base/telephony/ril_adapter/frameworks/src/
Dhril_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
/base/powermgr/battery_manager/utils/native/include/
Dpower_common.h39 if (!(parcel).Read##type(out)) { \
55 if (!(parcel).Read##type(out)) { \
/base/powermgr/power_manager/utils/native/include/
Dpower_common.h39 if (!(parcel).Read##type(out)) { \
55 if (!(parcel).Read##type(out)) { \
/base/powermgr/thermal_manager/utils/native/include/
Dthermal_common.h40 if (!(parcel).Read##type(out)) { \
56 if (!(parcel).Read##type(out)) { \
/base/powermgr/battery_statistics/utils/native/include/
Dstats_common.h39 if (!(parcel).Read##type(out)) { \
55 if (!(parcel).Read##type(out)) { \
/base/powermgr/display_manager/utils/native/include/
Ddisplay_common.h39 if (!(parcel).Read##type(out)) { \
55 if (!(parcel).Read##type(out)) { \
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/
Dstream_buffer.rs54 Read = 1, enumerator
168 ErrorStatus::Read => b"READ_ERROR\0", in get_error_status_remark()
237 self.rw_error_status = ErrorStatus::Read; in read_char_usize()
242 self.rw_error_status = ErrorStatus::Read; in read_char_usize()
247 self.rw_error_status = ErrorStatus::Read; in read_char_usize()
256 self.rw_error_status = ErrorStatus::Read; in read_char_usize()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/procinfo/
Dlibprocinfo.map6 Read*;
/base/usb/usb_manager/utils/native/include/
Dusb_common.h104 if (!(parcel).Read##type(out)) { \
120 if (!(parcel).Read##type(out)) { \
/base/hiviewdfx/faultloggerd/frameworks/unwinder/
Ddfx_memory.cpp41 size_t rc = Read(addr, dst, size); in ReadFully()
51 size = Read(addr + nRead, buffer, read); in ReadString()
/base/security/code_signature/services/key_enable/src/
Dfile_utils.rs17 use std::io::{Read};
/base/customization/enterprise_device_management/common/native/include/
Dparcel_macro.h25 if (!(parcel).Read##type(data)) { \
/base/update/updater/services/script/script_interpreter/
Dscript_scanner.cpp26 (void)pkgStream_->Read(data, currPos, maxSize, readLen); in LexerInput()
/base/update/updater/services/package/pkg_manager/
Dpkg_stream.h33 int32_t Read(PkgBuffer &data, size_t start, size_t needRead, size_t &readLen) override in Read() function
96 int32_t Read(PkgBuffer &data, size_t start, size_t needRead, size_t &readLen) override;
124 int32_t Read(PkgBuffer &data, size_t start, size_t needRead, size_t &readLen) override;
174 int32_t Read(PkgBuffer &data, size_t start, size_t needRead, size_t &readLen) override in Read() function
237 … int32_t Read(Hpackage::PkgBuffer &data, size_t start, size_t needRead, size_t &readLen) override;
/base/hiviewdfx/hiview/base/event_store/utility/reader/include/
Devent_doc_reader.h32 virtual int Read(const DocQuery& query, EntryQueue& entries, int& num) = 0;
/base/msdp/device_status/utils/ipc/src/
Dstream_buffer.cpp64 bool StreamBuffer::Read(std::string &buf) in Read() function in OHOS::Msdp::StreamBuffer
81 bool StreamBuffer::Read(StreamBuffer &buf) in Read() function in OHOS::Msdp::StreamBuffer
91 bool StreamBuffer::Read(char *buf, size_t size) in Read() function in OHOS::Msdp::StreamBuffer
/base/update/updater/services/ui/driver/
Dkeys_input_device.h32 bool Read(OHOS::DeviceData &data) override;

123