Home
last modified time | relevance | path

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

/external/libchrome/ipc/
Dipc_message_utils.cc285 void ParamTraits<bool>::Log(const param_type& p, std::string* l) { in Log()
289 void ParamTraits<signed char>::Write(base::Pickle* m, const param_type& p) { in Write()
293 bool ParamTraits<signed char>::Read(const base::Pickle* m, in Read()
303 void ParamTraits<signed char>::Log(const param_type& p, std::string* l) { in Log()
307 void ParamTraits<unsigned char>::Write(base::Pickle* m, const param_type& p) { in Write()
311 bool ParamTraits<unsigned char>::Read(const base::Pickle* m, in Read()
321 void ParamTraits<unsigned char>::Log(const param_type& p, std::string* l) { in Log()
325 void ParamTraits<unsigned short>::Write(base::Pickle* m, const param_type& p) { in Write()
329 bool ParamTraits<unsigned short>::Read(const base::Pickle* m, in Read()
339 void ParamTraits<unsigned short>::Log(const param_type& p, std::string* l) { in Log()
[all …]
Dipc_message_utils.h110 ParamTraits<Type>::Write(m, static_cast<const Type& >(p)); in WriteParam()
118 return ParamTraits<Type>::Read(m, iter, reinterpret_cast<Type* >(p)); in ReadParam()
124 ParamTraits<Type>::Log(static_cast<const Type& >(p), l); in LogParam()
130 struct ParamTraits<bool> {
142 struct COMPONENT_EXPORT(IPC) ParamTraits<signed char> {
152 struct COMPONENT_EXPORT(IPC) ParamTraits<unsigned char> {
162 struct COMPONENT_EXPORT(IPC) ParamTraits<unsigned short> {
172 struct ParamTraits<int> {
184 struct ParamTraits<unsigned int> {
209 struct ParamTraits<long> {
[all …]
Dipc_mojo_param_traits.cc13 void ParamTraits<mojo::MessagePipeHandle>::Write(base::Pickle* m, in Write()
20 bool ParamTraits<mojo::MessagePipeHandle>::Read(const base::Pickle* m, in Read()
37 void ParamTraits<mojo::MessagePipeHandle>::Log(const param_type& p, in Log()
44 void ParamTraits<mojo::DataPipeConsumerHandle>::Write(base::Pickle* m, in Write()
54 bool ParamTraits<mojo::DataPipeConsumerHandle>::Read(const base::Pickle* m, in Read()
87 void ParamTraits<mojo::DataPipeConsumerHandle>::Log(const param_type& p, in Log()
Dipc_message_utils_unittest.cc32 ParamTraits<int>::Write(&nested_msg, nested_content); in TEST()
39 ParamTraits<Message>::Write(&outer_msg, nested_msg); in TEST()
44 ASSERT_TRUE(ParamTraits<Message>::Read(&outer_msg, &iter, &result_msg)); in TEST()
55 ASSERT_TRUE(ParamTraits<int>::Read(&nested_msg, &nested_iter, in TEST()
61 ASSERT_FALSE(ParamTraits<Message>::Read(&outer_msg, &iter, &dummy)); in TEST()
62 ASSERT_FALSE(ParamTraits<int>::Read(&nested_msg, &nested_iter, in TEST()
73 ParamTraits<base::FilePath::StringType>::Write(&message, ok_string); in TEST()
74 ParamTraits<base::FilePath::StringType>::Write(&message, bad_string); in TEST()
79 ASSERT_TRUE(ParamTraits<base::FilePath>::Read(&message, &iter, &ok_path)); in TEST()
80 ASSERT_FALSE(ParamTraits<base::FilePath>::Read(&message, &iter, &bad_path)); in TEST()
Dparam_traits_write_macros.h26 void ParamTraits<struct_name>::Write(base::Pickle* m, const param_type& p) {
28 #define IPC_STRUCT_TRAITS_PARENT(type) ParamTraits<type>::Write(m, p);
33 void ParamTraits<enum_name>::Write(base::Pickle* m, \
Dparam_traits_read_macros.h26 bool ParamTraits<struct_name>::Read( \
30 #define IPC_STRUCT_TRAITS_PARENT(type) ParamTraits<type>::Read(m, iter, p) &&
35 bool ParamTraits<enum_name>::Read( \
Dparam_traits_log_macros.h28 void ParamTraits<struct_name>::Log(const param_type& p, std::string* l) { \
39 ParamTraits<type>::Log(p, l); \
47 void ParamTraits<enum_name>::Log(const param_type& p, std::string* l) { \
Dipc_mojo_param_traits.h23 struct COMPONENT_EXPORT(IPC) ParamTraits<mojo::MessagePipeHandle> { in COMPONENT_EXPORT()
32 struct COMPONENT_EXPORT(IPC) ParamTraits<mojo::DataPipeConsumerHandle> { in COMPONENT_EXPORT()
Dparam_traits_macros.h14 struct IPC_MESSAGE_EXPORT ParamTraits<struct_name> { \
54 struct IPC_MESSAGE_EXPORT ParamTraits<enum_name> { \
Dipc_message_protobuf_utils.h58 struct ParamTraits<google::protobuf::RepeatedField<P>> :
62 struct ParamTraits<google::protobuf::RepeatedPtrField<P>> :
Dipc_send_fds_test.cc61 while (IPC::ParamTraits<base::FileDescriptor>::Read( in OnMessageReceived()
131 IPC::ParamTraits<base::FileDescriptor>::Write(message, descriptor); in RunServer()
Dipc_message_protobuf_utils_unittest.cc25 struct ParamTraits<ipc_message_utils_test::TestMessage1> { struct
42 struct ParamTraits<ipc_message_utils_test::TestMessage2> { struct
Dipc_param_traits.h21 template <class P> struct ParamTraits { struct
Dipc_channel_proxy_unittest_messages.h19 struct ParamTraits<BadType> {
Dipc_channel_mojo_unittest.cc529 EXPECT_TRUE(IPC::ParamTraits<mojo::MessagePipeHandle>::Read(&message, &iter, in OnMessageReceived()
571 IPC::ParamTraits<mojo::MessagePipeHandle>::Write(message.get(), in TEST_F()
599 IPC::ParamTraits<mojo::MessagePipeHandle>::Write(message.get(), in TEST_F()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dtest_native_types.cc41 void ParamTraits<mojo::test::TestNativeStruct>::Write(base::Pickle* m, in Write()
49 bool ParamTraits<mojo::test::TestNativeStruct>::Read(const base::Pickle* m, in Read()
65 void ParamTraits<mojo::test::TestNativeStruct>::Log(const param_type& p, in Log()
69 void ParamTraits<mojo::test::TestNativeStructWithAttachments>::Write( in Write()
77 bool ParamTraits<mojo::test::TestNativeStructWithAttachments>::Read( in Read()
95 void ParamTraits<mojo::test::TestNativeStructWithAttachments>::Log( in Log()
Dpickled_types_blink.cc28 void ParamTraits<mojo::test::PickledStructBlink>::Write(base::Pickle* m, in Write()
34 bool ParamTraits<mojo::test::PickledStructBlink>::Read( in Read()
Dpickled_types_chromium.cc29 void ParamTraits<mojo::test::PickledStructChromium>::Write( in Write()
36 bool ParamTraits<mojo::test::PickledStructChromium>::Read( in Read()
Dtest_native_types.h68 struct ParamTraits<mojo::test::TestNativeStruct> {
79 struct ParamTraits<mojo::test::TestNativeStructWithAttachments> {
Dpickled_types_chromium.h64 struct ParamTraits<mojo::test::PickledStructChromium> {
Dpickled_types_blink.h71 struct ParamTraits<mojo::test::PickledStructBlink> {
/external/v8/tools/clang/plugins/tests/
Dipc.cpp59 struct ParamTraits { struct
65 ParamTraits<T>::Write(pickle, value); in WriteParam()
79 struct IPC::ParamTraits<Data> { argument
93 struct IPC::ParamTraits<Container<T>> { argument
117 struct IPC::ParamTraits<MultiContainer<T, Ts...>> { struct in IPC
/external/libchrome/mojo/public/cpp/bindings/lib/
Dnative_enum_serialization.h25 using Traits = IPC::ParamTraits<UserType>;
Dnative_struct_serialization.h58 using Traits = IPC::ParamTraits<UserType>;
/external/libchrome/mojo/public/tools/bindings/
DREADME.md387 provide a nominal bridge between Mojo IPC and legacy `IPC::ParamTraits` or