Home
last modified time | relevance | path

Searched refs:WriteInt (Results 1 – 22 of 22) sorted by relevance

/external/libchrome/ipc/
Dipc_fuzzing_tests.cc49 m.WriteInt(v1); in TEST()
50 m.WriteInt(v2); in TEST()
62 m.WriteInt(v1); in TEST()
63 m.WriteInt(v2); in TEST()
73 m.WriteInt(1); in TEST()
74 m.WriteInt(2); in TEST()
86 m.WriteInt(-1); // This is the count of elements. in TEST()
87 m.WriteInt(1); in TEST()
88 m.WriteInt(2); in TEST()
89 m.WriteInt(3); in TEST()
[all …]
Dipc_message_unittest.cc43 m.WriteInt(v1); in TEST()
85 bad_msg.WriteInt(99); in TEST()
120 bad_msg.WriteInt(99); in TEST()
128 message.WriteInt(111); in TEST()
177 message.WriteInt(777); in TEST()
Dparam_traits_write_macros.h36 m->WriteInt(static_cast<int>(value)); \
Dipc_test_channel_listener.cc22 message->WriteInt(message_index++); in SendOneMessage()
Dipc_sync_message.cc103 msg->WriteInt(header.message_id); in WriteSyncHeader()
Dipc_message.cc176 WriteInt(static_cast<int>(index)); in WriteAttachment()
Dipc_message_utils.cc91 m->WriteInt(static_cast<int>(value->type())); in WriteValue()
1037 m->WriteInt(static_cast<int>(value)); in Write()
1400 m->WriteInt(HandleToLong(p)); in Write()
Dipc_channel_mojo_unittest.cc69 message->WriteInt(value); in SendValue()
1119 reply->WriteInt(response_value_); in OnMessageReceived()
1250 reply->WriteInt(response); in OnMessageReceived()
Dipc_message_utils.h174 static void Write(base::Pickle* m, const param_type& p) { m->WriteInt(p); }
186 static void Write(base::Pickle* m, const param_type& p) { m->WriteInt(p); }
/external/oss-fuzz/projects/libpng-proto/
Dpng_proto_fuzzer_example.cc10 static void WriteInt(std::stringstream &out, uint32_t x) { in WriteInt() function
43 WriteInt(out, len); in WriteChunk()
46 WriteInt(out, crc); in WriteChunk()
59 WriteInt(ihdr_str, w); in ProtoToPng()
60 WriteInt(ihdr_str, h); in ProtoToPng()
61 WriteInt(ihdr_str, ihdr.other1()); in ProtoToPng()
/external/libchrome/base/
Dpickle_unittest.cc117 pickle.WriteInt(testint); in TEST()
220 pickle.WriteInt(-2); in TEST()
229 pickle.WriteInt(-1); in TEST()
320 pickle.WriteInt(1); in TEST()
379 pickle.WriteInt(1); in TEST()
380 pickle.WriteInt(2); in TEST()
436 pickle.WriteInt(kMagic); in TEST()
450 source.WriteInt(1); in TEST()
480 bad_len.WriteInt(1 << 31); in TEST()
556 pickle.WriteInt(42); in TEST()
Dpickle.h189 void WriteBool(bool value) { WriteInt(value ? 1 : 0); } in WriteBool()
190 void WriteInt(int value) { WritePOD(value); } in WriteInt() function
Dpickle.cc292 WriteInt(static_cast<int>(value.size())); in WriteString()
297 WriteInt(static_cast<int>(value.size())); in WriteString16()
303 WriteInt(length); in WriteData()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dpickled_types_blink.cc30 m->WriteInt(p.foo()); in Write()
31 m->WriteInt(p.bar()); in Write()
Dpickled_types_chromium.cc32 m->WriteInt(p.foo()); in Write()
33 m->WriteInt(p.bar()); in Write()
Dtest_native_types.cc44 m->WriteInt(p.x()); in Write()
45 m->WriteInt(p.y()); in Write()
/external/libchrome/base/metrics/
Dhistogram_samples.cc221 pickle->WriteInt(redundant_count()); in Serialize()
229 pickle->WriteInt(min); in Serialize()
231 pickle->WriteInt(count); in Serialize()
Dhistogram_base.cc133 pickle->WriteInt(GetHistogramType()); in SerializeInfo()
Dhistogram.cc577 pickle->WriteInt(flags()); in SerializeInfoImpl()
578 pickle->WriteInt(declared_min()); in SerializeInfoImpl()
579 pickle->WriteInt(declared_max()); in SerializeInfoImpl()
1297 pickle->WriteInt(bucket_ranges()->range(i)); in SerializeInfoImpl()
Dsparse_histogram.cc177 pickle->WriteInt(flags()); in SerializeInfoImpl()
/external/libchrome/base/trace_event/
Dtrace_event_argument.cc92 pickle_.WriteInt(value); in SetInteger()
99 pickle_.WriteInt(value); in SetIntegerWithCopiedName()
202 pickle_.WriteInt(value); in AppendInteger()
/external/pigweed/pw_protobuf/
Dcodegen_test.cc265 foo.WriteInt(3); in TEST()