Home
last modified time | relevance | path

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

1234

/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 in OHOS::Sensors::StreamBuffer
102 if (!Read(reinterpret_cast<char *>(&data), sizeof(data))) { in Read()
134 bool StreamBuffer::Read(std::vector<T> &data) in Read() function in OHOS::Sensors::StreamBuffer
137 if (!Read(size)) { in Read()
138 SEN_HILOGE("Read vecto in Read()
[all...]
/base/telephony/core_service/interfaces/innerkits/include/
H A Dtel_ril_base_parcel.h31 // Read specific data from the parcel object.
32 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(Parce function
119 bool Read(Parcel &parcel, ValueTypes &&...vals) Read() function in OHOS::Telephony::TelRilBaseParcel
[all...]
/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
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_ in ReadUint16()
[all...]
/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
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_ in ReadUint16()
[all...]
/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
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_ in ReadUint16()
[all...]
/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
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_ in ReadUint16()
[all...]
/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
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_ in ReadUint16()
[all...]
/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
/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 in OHOS::Msdp::StreamBuffer
87 if (!Read(reinterpret_cast<char *>(&data), sizeof(data))) { in Read()
109 if (!Read(data)) { in operator >>()
110 FI_HILOGW("Read data failed"); in operator >>()
/base/inputmethod/imf/services/file/include/
H A Dfile_operator.h30 static bool Read(const std::string &path, std::string &content);
31 static bool Read(const std::string &path, const std::string &key, std::string &content);
38 static std::string Read(const std::string &path, const std::string &key);
/base/inputmethod/imf/services/file/src/
H A Dfile_operator.cpp42 bool FileOperator::Read(const std::string &path, std::string &content) in Read() function in OHOS::MiscServices::FileOperator
74 bool FileOperator::Read(const std::string &path, const std::string &key, std::string &content) in Read() function in OHOS::MiscServices::FileOperator
91 content = Read(realPath, key); in Read()
100 std::string FileOperator::Read(const std::string &path, const std::string &key) in Read() function in OHOS::MiscServices::FileOperator
103 bool ret = Read(path, content); in Read()
/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Dmemory_test.cpp71 * @tc.desc: test DfxMemory class Read
88 memory->Read(addr, &tmp, sizeof(uint8_t), false); in HWTEST_F()
91 memory->Read(addr, &tmp, sizeof(uint16_t), false); in HWTEST_F()
94 memory->Read(addr, &tmp, sizeof(uint32_t), false); in HWTEST_F()
97 memory->Read(addr, &tmp, sizeof(uint64_t), false); in HWTEST_F()
105 * @tc.desc: test DfxMemory class Read
127 ASSERT_TRUE(memory->Read(addr, &tmp, sizeof(uint8_t), false)); in HWTEST_F()
130 ASSERT_TRUE(memory->Read(addr, &tmp, sizeof(uint16_t), false)); in HWTEST_F()
133 ASSERT_TRUE(memory->Read(addr, &tmp, sizeof(uint32_t), false)); in HWTEST_F()
136 ASSERT_TRUE(memory->Read(add in HWTEST_F()
[all...]
/base/powermgr/power_manager/utils/native/include/
H A Dpower_common.h39 if (!(parcel).Read##type(out)) { \
55 if (!(parcel).Read##type(out)) { \
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_memory.cpp57 size_t DfxMemory::Read(uintptr_t& addr, void* val, size_t size, bool incre) in Read() function in OHOS::HiviewDFX::DfxMemory
111 if (Read(addr, val, sizeof(uint8_t), incre) == sizeof(uint8_t)) { in ReadU8()
119 if (Read(addr, val, sizeof(uint16_t), incre) == sizeof(uint16_t)) { in ReadU16()
127 if (Read(addr, val, sizeof(uint32_t), incre) == sizeof(uint32_t)) { in ReadU32()
135 if (Read(addr, val, sizeof(uint64_t), incre) == sizeof(uint64_t)) { in ReadU64()
143 if (Read(addr, val, sizeof(uintptr_t), incre) == sizeof(uintptr_t)) { in ReadUptr()
160 size = Read(ptr, buf, readn, false); in ReadString()
171 Read(addr, (void*)str->data(), str->size(), false); in ReadString()
H A Ddfx_elf_parser.cpp43 bool ElfParser::Read(uintptr_t pos, void *buf, size_t size) in Read() function in OHOS::HiviewDFX::ElfParser
45 if (mmap_->Read(pos, buf, size) == size) { in Read()
65 if (!Read(0, &ehdr, sizeof(ehdr))) { in ParseAllHeaders()
118 if (!Read((uintptr_t)offset, &phdr, sizeof(phdr))) { in ParseProgramHeaders()
182 if (!Read((uintptr_t)shNdxOffset, &shdr, sizeof(shdr))) { in ParseSectionHeaders()
183 DFXLOGE("Read section header string table failed"); in ParseSectionHeaders()
202 if (!Read((uintptr_t)offset, &shdr, sizeof(shdr))) { in ParseSectionHeaders()
325 if (!Read(offset, &sym, sizeof(sym))) { in ParseElfSymbols()
372 if (!Read(offset, &sym, sizeof(sym))) { // todo inplace search in ParseElfSymbolByAddr()
419 if (!Read((uintptr_ in ParseStrTab()
[all...]
/base/powermgr/battery_statistics/utils/native/include/
H A Dstats_common.h39 if (!(parcel).Read##type(out)) { \
40 STATS_HILOGE(loglabel, "Read "#out" failed"); \
55 if (!(parcel).Read##type(out)) { \
56 STATS_HILOGE(loglabel, "Read "#out" failed"); \
/base/powermgr/display_manager/state_manager/utils/native/include/
H A Ddisplay_common.h39 if (!(parcel).Read##type(out)) { \
55 if (!(parcel).Read##type(out)) { \
/base/powermgr/thermal_manager/utils/native/include/
H A Dthermal_common.h40 if (!(parcel).Read##type(out)) { \
56 if (!(parcel).Read##type(out)) { \
/base/powermgr/battery_manager/utils/native/include/
H A Dpower_common.h39 if (!(parcel).Read##type(out)) { \
55 if (!(parcel).Read##type(out)) { \
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/
H A Dstream_buffer.rs54 Read = 1,
170 ErrorStatus::Read => CString::new("READ_ERROR").unwrap_or_default(), in get_error_status_remark()
239 self.rw_error_status = ErrorStatus::Read; in read_char_usize()
244 self.rw_error_status = ErrorStatus::Read; in read_char_usize()
249 self.rw_error_status = ErrorStatus::Read; in read_char_usize()
258 self.rw_error_status = ErrorStatus::Read; in read_char_usize()
/base/customization/enterprise_device_management/common/native/include/
H A Dparcel_macro.h25 if (!(parcel).Read##type(data)) { \
/base/hiviewdfx/hiview/base/event_store/utility/reader/include/
H A Dsys_event_doc_reader.h34 int Read(const DocQuery& query, EntryQueue& entries, int& num) override;
43 int Read(ReadCallback callback);
H A Devent_doc_reader.h32 virtual int Read(const DocQuery& query, EntryQueue& entries, int& num) = 0;
/base/usb/usb_manager/utils/native/include/
H A Dusb_common.h104 if (!(parcel).Read##type(out)) { \
128 if (!(parcel).Read##type(out)) { \
/base/update/updater/services/script/script_interpreter/
H A Dscript_scanner.cpp26 if (pkgStream_->Read(data, currPos, maxSize, readLen) != PKG_SUCCESS) { in LexerInput()

Completed in 23 milliseconds

1234