Home
last modified time | relevance | path

Searched refs:WriteParam (Results 1 – 5 of 5) 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/libmojo/ipc/
Dipc_message_utils.h102 static inline void WriteParam(base::Pickle* m, const P& p) { in WriteParam() function
386 WriteParam(m, static_cast<int>(p.size()));
388 WriteParam(m, p[i]);
426 WriteParam(m, static_cast<int>(p.size()));
429 WriteParam(m, *iter);
462 WriteParam(m, static_cast<int>(p.size()));
465 WriteParam(m, iter->first);
466 WriteParam(m, iter->second);
498 WriteParam(m, p.first);
499 WriteParam(m, p.second);
[all …]
Dipc_message_utils.cc156 WriteParam(m, val); in WriteValue()
163 WriteParam(m, val); in WriteValue()
170 WriteParam(m, val); in WriteValue()
177 WriteParam(m, val); in WriteValue()
190 WriteParam(m, static_cast<int>(dict->size())); in WriteValue()
194 WriteParam(m, it.key()); in WriteValue()
201 WriteParam(m, static_cast<int>(list->GetSize())); in WriteValue()
556 WriteParam(m, static_cast<int>(p.size())); in Write()
561 WriteParam(m, static_cast<bool>(p[i])); in Write()
649 WriteParam(m, valid); in Write()
[all …]
Dipc_mojo_param_traits.cc21 WriteParam(m, p.is_valid()); in Write()