/external/v8/tools/clang/plugins/tests/ |
D | ipc.cpp | 64 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 …]
|
D | ipc.txt | 1 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/ |
D | ipc_message_protobuf_utils_unittest.cc | 28 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 …]
|
D | ipc_message_utils.cc | 100 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 …]
|
D | ipc_message_utils_unittest.cc | 91 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()
|
D | ipc_message_utils.h | 108 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 …]
|
D | ipc_message_templates_impl.h | 29 WriteParam(this, std::tie(ins...)); in MessageT() 62 WriteParam(this, std::tie(ins...)); in MessageT() 86 WriteParam(reply, std::tie(outs...)); in WriteReplyParams()
|
D | ipc_message_protobuf_utils.h | 27 WriteParam(m, p.size()); in Write() 29 WriteParam(m, p.Get(i)); in Write()
|
D | ipc_fuzzing_tests.cc | 132 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()
|
D | ipc_mojo_param_traits.cc | 15 WriteParam(m, p.is_valid()); in Write() 46 WriteParam(m, p.is_valid()); in Write()
|
D | param_traits_write_macros.h | 27 #define IPC_STRUCT_TRAITS_MEMBER(name) WriteParam(m, p.name);
|
D | ipc_message_unittest.cc | 75 IPC::WriteParam(&msg, input); in TEST() 110 IPC::WriteParam(&msg, input); in TEST()
|
D | ipc_logging.cc | 105 WriteParam(msg, queued_logs_); in OnSendLogs()
|
D | ipc_message_templates.h | 205 WriteParam(reply, reply_params); in Dispatch()
|
D | ipc_channel_mojo_unittest.cc | 1497 IPC::WriteParam(message, shmem.handle()); in TEST_F() 1591 IPC::WriteParam(message, region); in TYPED_TEST()
|