/base/sensors/sensor/utils/ipc/include/ |
D | stream_buffer.h | 46 bool Write(const std::string &buf); 47 bool Write(const StreamBuffer &buf); 48 virtual bool Write(const char *buf, size_t size); 63 bool Write(const T &data); 67 bool Write(const std::vector<T> &data); 115 bool StreamBuffer::Write(const T &data) in Write() function 117 if (!Write(reinterpret_cast<const char *>(&data), sizeof(data))) { in Write() 155 bool StreamBuffer::Write(const std::vector<T> &data) in Write() function 162 if (!Write(size)) { in Write() 167 if (!Write(item)) { in Write() [all …]
|
/base/telephony/ril_adapter/interfaces/innerkits/include/ |
D | hril_base_parcel.h | 50 bool Write(Parcel &parcel, const int8_t &value); 51 bool Write(Parcel &parcel, const uint8_t &value); 52 bool Write(Parcel &parcel, const int32_t &value); 53 bool Write(Parcel &parcel, const uint32_t &value); 54 bool Write(Parcel &parcel, const int64_t &value); 55 bool Write(Parcel &parcel, const uint64_t &value); 56 bool Write(Parcel &parcel, const bool &value); 57 bool Write(Parcel &parcel, const std::string &value); 60 bool Write(Parcel &parcel, E &&e) in Write() function 65 return Write(parcel, *((const int32_t *)&e)); in Write() [all …]
|
/base/msdp/device_status/utils/ipc/include/ |
D | stream_buffer.h | 42 bool Write(const std::string &buf); 44 bool Write(const StreamBuffer &buf); 46 virtual bool Write(const char *buf, size_t size); 57 bool Write(const T &data); 93 bool StreamBuffer::Write(const T &data) in Write() function 95 if (!Write(reinterpret_cast<const char *>(&data), sizeof(data))) { in Write() 115 if (!Write(data)) {
|
/base/telephony/ril_adapter/frameworks/src/ |
D | hril_base_parcel.cpp | 61 bool Write(Parcel &parcel, const int8_t &value) in Write() function 66 bool Write(Parcel &parcel, const uint8_t &value) in Write() function 71 bool Write(Parcel &parcel, const int32_t &value) in Write() function 76 bool Write(Parcel &parcel, const uint32_t &value) in Write() function 81 bool Write(Parcel &parcel, const int64_t &value) in Write() function 86 bool Write(Parcel &parcel, const uint64_t &value) in Write() function 91 bool Write(Parcel &parcel, const bool &value) in Write() function 96 bool Write(Parcel &parcel, const std::string &value) in Write() function
|
/base/powermgr/battery_statistics/test/unittest/mock/source/ |
D | mock_parcel.cpp | 200 bool Parcel::Write(T value) in Write() function in OHOS::Parcel 208 return Write<int32_t>(static_cast<int32_t>(value)); in WriteBool() 213 return Write<bool>(value); in WriteBoolUnaligned() 218 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt8() 223 return Write<int8_t>(value); in WriteInt8Unaligned() 228 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt16() 233 return Write<int16_t>(value); in WriteInt16Unaligned() 238 return Write<int32_t>(value); in WriteInt32() 243 return Write<int64_t>(value); in WriteInt64() 248 return Write<uint32_t>(static_cast<uint32_t>(value)); in WriteUint8() [all …]
|
/base/powermgr/power_manager/test/unittest/mock/ |
D | mock_parcel.cpp | 198 bool Parcel::Write(T value) in Write() function in OHOS::Parcel 206 return Write<int32_t>(static_cast<int32_t>(value)); in WriteBool() 211 return Write<bool>(value); in WriteBoolUnaligned() 216 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt8() 221 return Write<int8_t>(value); in WriteInt8Unaligned() 226 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt16() 231 return Write<int16_t>(value); in WriteInt16Unaligned() 236 return Write<int32_t>(value); in WriteInt32() 241 return Write<int64_t>(value); in WriteInt64() 246 return Write<uint32_t>(static_cast<uint32_t>(value)); in WriteUint8() [all …]
|
/base/powermgr/thermal_manager/test/unittest/mock/src/ |
D | mock_parcel.cpp | 199 bool Parcel::Write(T value) in Write() function in OHOS::Parcel 211 return Write<int32_t>(static_cast<int32_t>(value)); in WriteBool() 216 return Write<bool>(value); in WriteBoolUnaligned() 221 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt8() 226 return Write<int8_t>(value); in WriteInt8Unaligned() 231 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt16() 236 return Write<int16_t>(value); in WriteInt16Unaligned() 241 return Write<int32_t>(value); in WriteInt32() 246 return Write<int64_t>(value); in WriteInt64() 251 return Write<uint32_t>(static_cast<uint32_t>(value)); in WriteUint8() [all …]
|
/base/powermgr/battery_manager/test/unittest/mock/source/ |
D | mock_parcel.cpp | 198 bool Parcel::Write(T value) in Write() function in OHOS::Parcel 206 return Write<int32_t>(static_cast<int32_t>(value)); in WriteBool() 211 return Write<bool>(value); in WriteBoolUnaligned() 216 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt8() 221 return Write<int8_t>(value); in WriteInt8Unaligned() 226 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt16() 231 return Write<int16_t>(value); in WriteInt16Unaligned() 236 return Write<int32_t>(value); in WriteInt32() 241 return Write<int64_t>(value); in WriteInt64() 246 return Write<uint32_t>(static_cast<uint32_t>(value)); in WriteUint8() [all …]
|
/base/powermgr/display_manager/test/unittest/mock/src/ |
D | mock_parcel.cpp | 198 bool Parcel::Write(T value) in Write() function in OHOS::Parcel 206 return Write<int32_t>(static_cast<int32_t>(value)); in WriteBool() 211 return Write<bool>(value); in WriteBoolUnaligned() 216 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt8() 221 return Write<int8_t>(value); in WriteInt8Unaligned() 226 return Write<int32_t>(static_cast<int32_t>(value)); in WriteInt16() 231 return Write<int16_t>(value); in WriteInt16Unaligned() 236 return Write<int32_t>(value); in WriteInt32() 241 return Write<int64_t>(value); in WriteInt64() 246 return Write<uint32_t>(static_cast<uint32_t>(value)); in WriteUint8() [all …]
|
/base/web/webview/test/unittest/ohos_adapter/hiviewdfx_adapter_test/ |
D | hiviewdfx_adapter_test.cpp | 32 int ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write("testEvent", 36 ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write( 39 ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write("testEvent",
|
/base/msdp/device_status/utils/ipc/src/ |
D | stream_buffer.cpp | 76 bool StreamBuffer::Write(const std::string &buf) in Write() function in OHOS::Msdp::StreamBuffer 78 return Write(buf.c_str(), buf.length()+1); in Write() 83 return buf.Write(Data(), Size()); in Read() 86 bool StreamBuffer::Write(const StreamBuffer &buf) in Write() function in OHOS::Msdp::StreamBuffer 88 return Write(buf.Data(), buf.Size()); in Write() 123 bool StreamBuffer::Write(const char *buf, size_t size) in Write() function in OHOS::Msdp::StreamBuffer 210 return Write(buf.Data(), buf.Size()); in Clone()
|
D | circle_stream_buffer.cpp | 44 bool CircleStreamBuffer::Write(const char *buf, size_t size) in Write() function in OHOS::Msdp::CircleStreamBuffer 52 return StreamBuffer::Write(buf, size); in Write()
|
/base/web/webview/ohos_adapter/hiviewdfx_adapter/include/ |
D | hisysevent_adapter_impl.h | 28 int Write(const std::string& eventName, EventType type, 32 int Write(const std::string& eventName, EventType type, 36 int Write(const std::string& eventName, EventType type,
|
/base/web/webview/ohos_adapter/interfaces/ |
D | hisysevent_adapter.h | 31 virtual int Write(const std::string& eventName, EventType type, 35 virtual int Write(const std::string& eventName, EventType type, 39 virtual int Write(const std::string& eventName, EventType type,
|
/base/sensors/sensor/utils/ipc/src/ |
D | stream_buffer.cpp | 83 bool StreamBuffer::Write(const std::string &buf) in Write() function in OHOS::Sensors::StreamBuffer 85 return Write(buf.c_str(), buf.length()+1); in Write() 93 return buf.Write(Data(), Size()); in Read() 97 bool StreamBuffer::Write(const StreamBuffer &buf) in Write() function in OHOS::Sensors::StreamBuffer 102 return Write(buf.Data(), buf.Size()); in Write() 141 bool StreamBuffer::Write(const char *buf, size_t size) in Write() function in OHOS::Sensors::StreamBuffer 190 …return Write(StreamBufferData(buf.streamBufferPtr_.get()), StreamBufferSize(buf.streamBufferPtr_.g… in Clone() 192 return Write(buf.Data(), buf.Size()); in Clone()
|
D | circle_stream_buffer.cpp | 36 bool CircleStreamBuffer::Write(const char *buf, size_t size) in Write() function in OHOS::Sensors::CircleStreamBuffer 47 return StreamBuffer::Write(buf, size); in Write()
|
D | net_packet.cpp | 36 …if (!buf.Write(StreamBufferGetSzBuff(streamBufferPtr_.get()), StreamBufferGetWpos(streamBufferPtr_… in MakeData() 45 if (!buf.Write(&szBuff_[0], wPos_)) { in MakeData()
|
/base/update/updater/test/unittest/applypatch_test/ |
D | applypatch_unittest.cpp | 76 bool ret = writer->Write(addr, 0, nullptr); 80 ret = writer->Write(addr, 0, nullptr); 83 ret = writer->Write(buf, BUFFER_LEN, nullptr); 92 ret = writer->Write(buf, BUFFER_LEN, nullptr);
|
/base/web/webview/ohos_adapter/hiviewdfx_adapter/src/ |
D | hisysevent_adapter_impl.cpp | 46 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write() function in OHOS::NWeb::HiSysEventAdapterImpl 53 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write() function in OHOS::NWeb::HiSysEventAdapterImpl 59 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write() function in OHOS::NWeb::HiSysEventAdapterImpl
|
/base/powermgr/battery_manager/utils/native/include/ |
D | power_common.h | 47 if (!(parcel).Write##type(data)) { \ 63 if (!(parcel).Write##type(data)) { \
|
/base/powermgr/power_manager/utils/native/include/ |
D | power_common.h | 47 if (!(parcel).Write##type(data)) { \ 63 if (!(parcel).Write##type(data)) { \
|
/base/powermgr/thermal_manager/utils/native/include/ |
D | thermal_common.h | 48 if (!(parcel).Write##type(data)) { \ 64 if (!(parcel).Write##type(data)) { \
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
D | napi_hiappevent_js.cpp | 31 static napi_value Write(napi_env env, napi_callback_info info) in Write() function 62 NapiHiAppEventWrite::Write(env, asyncContext); in Write() 83 DECLARE_NAPI_FUNCTION("write", Write), in Init()
|
/base/powermgr/battery_statistics/utils/native/include/ |
D | stats_common.h | 47 if (!(parcel).Write##type(data)) { \ 63 if (!(parcel).Write##type(data)) { \
|
/base/powermgr/display_manager/utils/native/include/ |
D | display_common.h | 47 if (!(parcel).Write##type(data)) { \ 63 if (!(parcel).Write##type(data)) { \
|