Home
last modified time | relevance | path

Searched refs:WriteParam (Results 1 – 15 of 15) sorted by relevance

/external/v8/tools/clang/plugins/tests/
Dipc.cpp64 void WriteParam(base::Pickle* pickle, const T& value) { in WriteParam() function
82 WriteParam(pickle, p.value); // OK in Write()
83 WriteParam(pickle, p.size); // ERROR in Write()
96 IPC::WriteParam(pickle, container.value); // NOT CHECKED in Write()
97 WriteParam(pickle, container.value); // NOT CHECKED in Write()
100 IPC::WriteParam<T>(pickle, container.value); // NOT CHECKED in Write()
101 WriteParam<T>(pickle, container.value); // NOT CHECKED in Write()
104 WriteParam(pickle, static_cast<uint32_t>(container.value)); // OK in Write()
107 WriteParam(pickle, static_cast<long>(container.value)); // ERROR in Write()
122 (WriteParam<Ts>(pickle, container.value), true)... // NOT CHECKED in Write()
[all …]
Dipc.txt1 ipc.cpp:83:26: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t'.
2 WriteParam(pickle, p.size); // ERROR
4 ipc.cpp:107:24: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'long'.
5 WriteParam(pickle, static_cast<long>(container.value)); // ERROR
7 ipc.cpp:135:29: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t'.
8 IPC::WriteParam(pickle, size_t(0)); // ERROR
10 ipc.cpp:145:29: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'time_t'.
11 IPC::WriteParam(pickle, time_t(0)); // ERROR
13 ipc.cpp:156:27: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'long'.
14 IPC::WriteParam(pickle, long(0)); // ERROR
[all …]
/external/libchrome/ipc/
Dipc_message_protobuf_utils_unittest.cc28 WriteParam(m, p.number()); in Write()
45 WriteParam(m, p.numbers()); in Write()
46 WriteParam(m, p.strings()); in Write()
47 WriteParam(m, p.messages()); in Write()
92 IPC::WriteParam(&pickle, message); in TEST()
112 IPC::WriteParam(&pickle, message); in TEST()
127 IPC::WriteParam(&pickle, message); in TEST()
141 IPC::WriteParam(&pickle, INT_MAX); in TEST()
142 IPC::WriteParam(&pickle, 0); in TEST()
143 IPC::WriteParam(&pickle, INT_MAX); in TEST()
[all …]
Dipc_message_utils.cc100 WriteParam(m, val); in WriteValue()
107 WriteParam(m, val); in WriteValue()
114 WriteParam(m, val); in WriteValue()
121 WriteParam(m, val); in WriteValue()
133 WriteParam(m, base::checked_cast<int>(dict->size())); in WriteValue()
137 WriteParam(m, it.key()); in WriteValue()
144 WriteParam(m, base::checked_cast<int>(list->GetSize())); in WriteValue()
459 WriteParam(m, base::checked_cast<int>(p.size())); in Write()
464 WriteParam(m, static_cast<bool>(p[i])); in Write()
521 WriteParam(m, valid); in Write()
[all …]
Dipc_message_utils_unittest.cc91 IPC::WriteParam(&msg, stack_vector); in TEST()
105 IPC::WriteParam(&message, channel_handle); in TEST()
116 IPC::WriteParam(&pickle, opt); in TEST()
131 IPC::WriteParam(&pickle, opt); in TEST()
154 IPC::WriteParam(&message, pre_pickle); in TEST()
183 IPC::WriteParam(&message, pre_pickle); in TYPED_TEST()
201 IPC::WriteParam(&message, pre_pickle); in TYPED_TEST()
212 IPC::WriteParam(&pickle, token); in TEST()
230 IPC::WriteParam(&pickle, input); in TEST()
Dipc_message_utils.h108 static inline void WriteParam(base::Pickle* m, const P& p) { in WriteParam() function
293 WriteParam(m, element);
377 WriteParam(m, base::checked_cast<int>(p.size()));
379 WriteParam(m, p[i]);
411 WriteParam(m, base::checked_cast<int>(p.size()));
414 WriteParam(m, *iter);
439 WriteParam(m, base::checked_cast<int>(p.size()));
441 WriteParam(m, iter.first);
442 WriteParam(m, iter.second);
470 WriteParam(m, base::checked_cast<int>(p.size()));
[all …]
Dipc_message_templates_impl.h29 WriteParam(this, std::tie(ins...)); in MessageT()
62 WriteParam(this, std::tie(ins...)); in MessageT()
86 WriteParam(reply, std::tie(outs...)); in WriteReplyParams()
Dipc_message_protobuf_utils.h27 WriteParam(m, p.size()); in Write()
29 WriteParam(m, p.Get(i)); in Write()
Dipc_fuzzing_tests.cc132 IPC::WriteParam(&pickle, 256 * 1024 * 1024); in TEST()
133 IPC::WriteParam(&pickle, 0); in TEST()
134 IPC::WriteParam(&pickle, 1); in TEST()
135 IPC::WriteParam(&pickle, 2); in TEST()
Dipc_mojo_param_traits.cc15 WriteParam(m, p.is_valid()); in Write()
46 WriteParam(m, p.is_valid()); in Write()
Dparam_traits_write_macros.h27 #define IPC_STRUCT_TRAITS_MEMBER(name) WriteParam(m, p.name);
Dipc_message_unittest.cc75 IPC::WriteParam(&msg, input); in TEST()
110 IPC::WriteParam(&msg, input); in TEST()
Dipc_logging.cc105 WriteParam(msg, queued_logs_); in OnSendLogs()
Dipc_message_templates.h205 WriteParam(reply, reply_params); in Dispatch()
Dipc_channel_mojo_unittest.cc1497 IPC::WriteParam(message, shmem.handle()); in TEST_F()
1591 IPC::WriteParam(message, region); in TYPED_TEST()