Home
last modified time | relevance | path

Searched refs:Write (Results 1 – 25 of 927) sorted by relevance

12345678910>>...38

/ohos5.0/base/hiviewdfx/hiappevent/test/unittest/common/native/
H A Dhiappevent_app_event_test.cpp84 int ret = Write(event);
101 ASSERT_EQ(Write(event1), ERROR_INVALID_PARAM_NAME);
104 ASSERT_EQ(Write(event2), ERROR_INVALID_PARAM_NAME);
107 ASSERT_EQ(Write(event3), ERROR_INVALID_PARAM_NAME);
110 ASSERT_EQ(Write(event4), ERROR_INVALID_PARAM_NAME);
118 ASSERT_EQ(Write(event6), ERROR_INVALID_PARAM_NAME);
121 ASSERT_EQ(Write(event7), ERROR_INVALID_PARAM_NAME);
177 ASSERT_EQ(Write(event1), ERROR_INVALID_PARAM_NUM);
314 ASSERT_EQ(Write(event1), ERROR_DUPLICATE_PARAM);
330 int ret = Write(event);
[all …]
/ohos5.0/foundation/ability/idl_tool/test/sa_test/cmd_log_tag_domainid/target/
H A Dfoo_stub.cpp.txt37 HiLog::Error(LABEL, "Write Int32 failed!");
49 HiLog::Error(LABEL, "Write Int32 failed!");
75 HiLog::Error(LABEL, "Write Int32 failed!");
101 HiLog::Error(LABEL, "Write Int32 failed!");
127 HiLog::Error(LABEL, "Write Int32 failed!");
153 HiLog::Error(LABEL, "Write Int32 failed!");
179 HiLog::Error(LABEL, "Write Int32 failed!");
205 HiLog::Error(LABEL, "Write Int32 failed!");
231 HiLog::Error(LABEL, "Write Int32 failed!");
257 HiLog::Error(LABEL, "Write Int32 failed!");
[all …]
H A Dfoo_proxy.cpp.txt29 HiLog::Error(LABEL, "Write interface token failed!");
70 HiLog::Error(LABEL, "Write [inParam] failed!");
74 HiLog::Error(LABEL, "Write [inoutParam] failed!");
117 HiLog::Error(LABEL, "Write [inParam] failed!");
164 HiLog::Error(LABEL, "Write [inParam] failed!");
211 HiLog::Error(LABEL, "Write [inParam] failed!");
258 HiLog::Error(LABEL, "Write [inParam] failed!");
305 HiLog::Error(LABEL, "Write [inParam] failed!");
352 HiLog::Error(LABEL, "Write [inParam] failed!");
399 HiLog::Error(LABEL, "Write [inParam] failed!");
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_profiler/unittest/
H A Drs_profiler_packet_test.cpp87 p.Write(u8);
88 p.Write(i8);
89 p.Write(u16);
90 p.Write(i16);
91 p.Write(u32);
92 p.Write(i32);
93 p.Write(u64);
94 p.Write(i64);
95 p.Write(str);
96 p.Write(vec);
[all …]
/ohos5.0/foundation/multimodalinput/input/util/network/include/
H A Dstream_buffer.h49 bool Write(const std::string &buf);
52 bool Write(const StreamBuffer &buf);
55 virtual bool Write(const char *buf, size_t size);
69 bool Write(const T &data);
73 bool Write(const std::vector<T> &data);
113 bool StreamBuffer::Write(const T &data) in Write() function
115 if (!Write(reinterpret_cast<const char *>(&data), sizeof(data))) { in Write()
147 bool StreamBuffer::Write(const std::vector<T> &data) in Write() function
154 if (!Write(size)) { in Write()
159 if (!Write(item)) { in Write()
[all …]
/ohos5.0/base/sensors/sensor/utils/ipc/include/
H A Dstream_buffer.h48 bool Write(const std::string &buf);
49 bool Write(const StreamBuffer &buf);
50 virtual bool Write(const char *buf, size_t size);
65 bool Write(const T &data);
69 bool Write(const std::vector<T> &data);
117 bool StreamBuffer::Write(const T &data) in Write() function
119 if (!Write(reinterpret_cast<const char *>(&data), sizeof(data))) { in Write()
157 bool StreamBuffer::Write(const std::vector<T> &data) in Write() function
164 if (!Write(size)) { in Write()
169 if (!Write(item)) { in Write()
[all …]
/ohos5.0/base/telephony/core_service/interfaces/innerkits/include/
H A Dtel_ril_base_parcel.h50 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 …]
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/
H A Ditem_info_box.cpp40 heif_error HeifIinfBox::Write(HeifStreamWriter &writer) const in Write() function in OHOS::ImagePlugin::HeifIinfBox
44 …writer.Write(boxVersion > HEIF_BOX_VERSION_ZERO ? UINT32_BYTES_NUM : UINT16_BYTES_NUM, children_.s… in Write()
99 heif_error HeifInfeBox::Write(HeifStreamWriter &writer) const in Write() function in OHOS::ImagePlugin::HeifInfeBox
108 writer.Write(itemName_); in Write()
109 writer.Write(contentType_); in Write()
110 writer.Write(contentEncoding_); in Write()
128 writer.Write(itemName_); in Write()
130 writer.Write(contentType_); in Write()
131 writer.Write(contentEncoding_); in Write()
133 writer.Write(itemUriType_); in Write()
[all …]
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_hisysevent_adapter_impl.h29 int Write(
32 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebStrin…
35 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebStrin…
39 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebStrin…
43 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebStrin…
48 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebStrin…
53 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int64_t val…
57 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int64_t val…
62 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int64_t val…
75 …int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const ArkWebStrin…
[all …]
H A Dark_hisysevent_adapter_impl.cpp24 int ArkHiSysEventAdapterImpl::Write( in Write() function in OHOS::ArkWeb::ArkHiSysEventAdapterImpl
32 return real_.Write(s_eventName, (OHOS::NWeb::HiSysEventAdapter::EventType)type, data); in Write()
45 return real_.Write(s_eventName, (OHOS::NWeb::HiSysEventAdapter::EventType)type, data); in Write()
61 return real_.Write(s_eventName, (OHOS::NWeb::HiSysEventAdapter::EventType)type, data); in Write()
78 return real_.Write(s_eventName, (OHOS::NWeb::HiSysEventAdapter::EventType)type, data); in Write()
100 return real_.Write(s_eventName, (OHOS::NWeb::HiSysEventAdapter::EventType)type, data); in Write()
124 return real_.Write(s_eventName, (OHOS::NWeb::HiSysEventAdapter::EventType)type, data); in Write()
138 return real_.Write(s_eventName, (OHOS::NWeb::HiSysEventAdapter::EventType)type, data); in Write()
155 return real_.Write(s_eventName, (OHOS::NWeb::HiSysEventAdapter::EventType)type, data); in Write()
199 return real_.Write(s_eventName, (OHOS::NWeb::HiSysEventAdapter::EventType)type, data); in Write()
[all …]
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_hisysevent_adapter.h29 virtual int Write(
33 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const Ark…
37 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const Ark…
41 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const Ark…
46 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const Ark…
51 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const Ark…
57 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int…
62 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int…
68 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const int…
82 …virtual int Write(const ArkWebString& eventName, uint32_t type, const ArkWebString key1, const Ark…
[all …]
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/tlv/
H A Dtlv_object.cpp117 return Write(buffer, type, u8Value); in Write()
129 if (!Write(buffer, TAG_MAP_KEY, key)) { in Write()
132 if (!Write(buffer, TAG_MAP_VALUE_TYPE, val)) { in Write()
140 bool TLVObject::Write( in Write() function in OHOS::MiscServices::TLVObject
152 ret = ret && Write(buffer, TAG_MAP_KEY, item.first); in Write()
153 ret = ret && Write(buffer, TAG_MAP_VALUE, item.second); in Write()
170 return Write(buffer, type, val); in WriteVariant()
186 if (!Write(buffer, TAG_VARIANT_INDEX, index)) { in Write()
205 if (!Write(buffer, TAG_VARIANT_INDEX, index)) { in Write()
224 if (!Write(buffer, TAG_MAP_KEY, key)) { in Write()
[all …]
H A Dtlv_object.h225 bool Write(std::vector<std::uint8_t> &buffer, uint16_t type, void* value);
226 bool Write(std::vector<std::uint8_t> &buffer, uint16_t type, bool value);
227 bool Write(std::vector<std::uint8_t> &buffer, uint16_t type, double value);
228 bool Write(std::vector<std::uint8_t> &buffer, uint16_t type, int8_t value);
229 bool Write(std::vector<std::uint8_t> &buffer, uint16_t type, int16_t value);
230 bool Write(std::vector<std::uint8_t> &buffer, uint16_t type, int32_t value);
231 bool Write(std::vector<std::uint8_t> &buffer, uint16_t type, int64_t value);
232 bool Write(std::vector<std::uint8_t> &buffer, uint16_t type, uint32_t value);
238 bool Write(std::vector<std::uint8_t> &buffer, uint16_t type, TLVObject &value);
260 return Write(buffer, type, *value); in Write()
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dbytecode_gen.cpp114 void ByteCodeGen::Write(const std::string &data) in Write() function in ByteCodeGen
120 void ByteCodeGen::Write(T &data) in Write() function in ByteCodeGen
125 Write(d, size); in Write()
183 Write(header); in ByteCodeWrite()
197 Write(opcode); in ByteCodeWriteWalk()
208 Write(current->StringValue()); in ByteCodeWriteWalk()
211 Write(current->Name()); in ByteCodeWriteWalk()
215 Write(current->Name()); in ByteCodeWriteWalk()
217 Write(subSize); in ByteCodeWriteWalk()
222 Write(arraySize); in ByteCodeWriteWalk()
[all …]
/ohos5.0/base/web/webview/ohos_adapter/hiviewdfx_adapter/include/
H A Dhisysevent_adapter_impl.h28 int Write(const std::string& eventName, EventType type,
31 int Write(const std::string& eventName, EventType type,
34 int Write(const std::string& eventName, EventType type,
38 int Write(const std::string& eventName, EventType type,
42 int Write(const std::string& eventName, EventType type,
47 int Write(const std::string& eventName, EventType type,
52 int Write(const std::string& eventName, EventType type,
56 int Write(const std::string& eventName, EventType type,
61 int Write(const std::string& eventName, EventType type,
75 int Write(const std::string& eventName, EventType type,
[all …]
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dhisysevent_adapter.h33 virtual int Write(
36 virtual int Write(const std::string& eventName, EventType type,
39 virtual int Write(const std::string& eventName, EventType type,
43 virtual int Write(const std::string& eventName, EventType type,
47 virtual int Write(const std::string& eventName, EventType type,
51 virtual int Write(const std::string& eventName, EventType type,
56 virtual int Write(const std::string& eventName, EventType type,
60 virtual int Write(const std::string& eventName, EventType type,
65 virtual int Write(const std::string& eventName, EventType type,
75 virtual int Write(const std::string& eventName, EventType type,
[all …]
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_hisysevent_adapter_wrapper.h31 int Write(const std::string& eventName, ArkEventType type,
34 int Write(const std::string& eventName, ArkEventType type,
37 int Write(const std::string& eventName, ArkEventType type,
41 int Write(const std::string& eventName, ArkEventType type,
45 int Write(const std::string& eventName, ArkEventType type,
50 int Write(const std::string& eventName, ArkEventType type,
55 int Write(const std::string& eventName, ArkEventType type,
59 int Write(const std::string& eventName, ArkEventType type,
64 int Write(const std::string& eventName, ArkEventType type,
74 int Write(const std::string& eventName, ArkEventType type,
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Dparcel.cpp149 bool Parcel::Write(T value) in Write() function in OHOS::Parcel
161 return Write<bool>(value); in WriteBoolUnaligned()
171 return Write<int8_t>(value); in WriteInt8Unaligned()
181 return Write<int16_t>(value); in WriteInt16Unaligned()
186 return Write<int32_t>(value); in WriteInt32()
191 return Write<int64_t>(value); in WriteInt64()
201 return Write<uint8_t>(value); in WriteUint8Unaligned()
211 return Write<uint16_t>(value); in WriteUint16Unaligned()
216 return Write<uint32_t>(value); in WriteUint32()
226 return Write<float>(value); in WriteFloat()
[all …]
/ohos5.0/base/web/webview/test/unittest/ohos_adapter/hiviewdfx_adapter_test/
H A Dhiviewdfx_adapter_test.cpp39 int ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write(
43 ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write(
47 ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write(
51 ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write("testEvent",
56 ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write("testEvent",
61 ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write("testEvent",
66 ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write("testEvent",
72 ret = OhosAdapterHelper::GetInstance().GetHiSysEventAdapterInstance().Write("testEvent",
/ohos5.0/base/powermgr/thermal_manager/test/unittest/mock/src/
H A Dmock_parcel.cpp199 bool Parcel::Write(T value) in Write() function in OHOS::Parcel
216 return Write<bool>(value); in WriteBoolUnaligned()
226 return Write<int8_t>(value); in WriteInt8Unaligned()
236 return Write<int16_t>(value); in WriteInt16Unaligned()
241 return Write<int32_t>(value); in WriteInt32()
246 return Write<int64_t>(value); in WriteInt64()
256 return Write<uint8_t>(value); in WriteUint8Unaligned()
266 return Write<uint16_t>(value); in WriteUint16Unaligned()
271 return Write<uint32_t>(value); in WriteUint32()
281 return Write<float>(value); in WriteFloat()
[all …]
/ohos5.0/base/powermgr/battery_manager/test/unittest/mock/source/
H A Dmock_parcel.cpp198 bool Parcel::Write(T value) in Write() function in OHOS::Parcel
211 return Write<bool>(value); in WriteBoolUnaligned()
221 return Write<int8_t>(value); in WriteInt8Unaligned()
231 return Write<int16_t>(value); in WriteInt16Unaligned()
236 return Write<int32_t>(value); in WriteInt32()
241 return Write<int64_t>(value); in WriteInt64()
251 return Write<uint8_t>(value); in WriteUint8Unaligned()
261 return Write<uint16_t>(value); in WriteUint16Unaligned()
266 return Write<uint32_t>(value); in WriteUint32()
276 return Write<float>(value); in WriteFloat()
[all …]
/ohos5.0/base/powermgr/battery_statistics/test/unittest/mock/source/
H A Dmock_parcel.cpp200 bool Parcel::Write(T value) in Write() function in OHOS::Parcel
213 return Write<bool>(value); in WriteBoolUnaligned()
223 return Write<int8_t>(value); in WriteInt8Unaligned()
233 return Write<int16_t>(value); in WriteInt16Unaligned()
238 return Write<int32_t>(value); in WriteInt32()
243 return Write<int64_t>(value); in WriteInt64()
253 return Write<uint8_t>(value); in WriteUint8Unaligned()
263 return Write<uint16_t>(value); in WriteUint16Unaligned()
268 return Write<uint32_t>(value); in WriteUint32()
278 return Write<float>(value); in WriteFloat()
[all …]
/ohos5.0/base/powermgr/display_manager/state_manager/test/unittest/mock/src/
H A Dmock_parcel.cpp198 bool Parcel::Write(T value) in Write() function in OHOS::Parcel
211 return Write<bool>(value); in WriteBoolUnaligned()
221 return Write<int8_t>(value); in WriteInt8Unaligned()
231 return Write<int16_t>(value); in WriteInt16Unaligned()
236 return Write<int32_t>(value); in WriteInt32()
241 return Write<int64_t>(value); in WriteInt64()
251 return Write<uint8_t>(value); in WriteUint8Unaligned()
261 return Write<uint16_t>(value); in WriteUint16Unaligned()
266 return Write<uint32_t>(value); in WriteUint32()
276 return Write<float>(value); in WriteFloat()
[all …]
/ohos5.0/base/powermgr/power_manager/test/unittest/mock/
H A Dmock_parcel.cpp198 bool Parcel::Write(T value) in Write() function in OHOS::Parcel
211 return Write<bool>(value); in WriteBoolUnaligned()
221 return Write<int8_t>(value); in WriteInt8Unaligned()
231 return Write<int16_t>(value); in WriteInt16Unaligned()
236 return Write<int32_t>(value); in WriteInt32()
241 return Write<int64_t>(value); in WriteInt64()
251 return Write<uint8_t>(value); in WriteUint8Unaligned()
261 return Write<uint16_t>(value); in WriteUint16Unaligned()
266 return Write<uint32_t>(value); in WriteUint32()
276 return Write<float>(value); in WriteFloat()
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageheifimpl_fuzzer/src/
H A Dimage_heif_impl_fuzzer.cpp77 heifipmabox->Write(writer); in ItemPropertyBoxTest001()
95 heifispebox->Write(writer); in ItemPropertyBasicBoxTest001()
104 heifpixibox->Write(writer); in ItemPropertyBasicBoxTest001()
120 heifauxcbox->Write(writer); in ItemPropertyAuxBoxTest001()
134 heifrawcolorprofile->Write(writer); in ItemPropertyColorBoxTest001()
152 heifcolrbox->Write(writer); in ItemPropertyColorBoxTest001()
168 heifmdcvbox->Write(writer); in ItemPropertyDisplayBoxTest001()
176 heifcllibox->Write(writer); in ItemPropertyDisplayBoxTest001()
194 heifhvccbox->Write(writer); in ItemPropertyHvccBoxTest001()
211 heifirotbox->Write(writer); in ItemPropertyTransformBoxTest001()
[all …]

12345678910>>...38