Home
last modified time | relevance | path

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

12

/external/cronet/ipc/
Dipc_message_utils.cc296 void ParamTraits<bool>::Log(const param_type& p, std::string* l) { in Log()
300 void ParamTraits<signed char>::Write(base::Pickle* m, const param_type& p) { in Write()
304 bool ParamTraits<signed char>::Read(const base::Pickle* m, in Read()
314 void ParamTraits<signed char>::Log(const param_type& p, std::string* l) { in Log()
318 void ParamTraits<unsigned char>::Write(base::Pickle* m, const param_type& p) { in Write()
322 bool ParamTraits<unsigned char>::Read(const base::Pickle* m, in Read()
332 void ParamTraits<unsigned char>::Log(const param_type& p, std::string* l) { in Log()
336 void ParamTraits<unsigned short>::Write(base::Pickle* m, const param_type& p) { in Write()
340 bool ParamTraits<unsigned short>::Read(const base::Pickle* m, in Read()
350 void ParamTraits<unsigned short>::Log(const param_type& p, std::string* l) { in Log()
[all …]
Dipc_message_utils.h118 ParamTraits<Type>::Write(m, static_cast<const Type& >(p)); in WriteParam()
126 return ParamTraits<Type>::Read(m, iter, reinterpret_cast<Type* >(p)); in ReadParam()
132 ParamTraits<Type>::Log(static_cast<const Type& >(p), l); in LogParam()
138 struct ParamTraits<bool> {
150 struct COMPONENT_EXPORT(IPC) ParamTraits<signed char> {
160 struct COMPONENT_EXPORT(IPC) ParamTraits<unsigned char> {
170 struct COMPONENT_EXPORT(IPC) ParamTraits<unsigned short> {
180 struct ParamTraits<int> {
192 struct ParamTraits<unsigned int> {
220 struct ParamTraits<long> {
[all …]
Dipc_message_utils_unittest.cc36 ParamTraits<int>::Write(&nested_msg, nested_content); in TEST()
43 ParamTraits<Message>::Write(&outer_msg, nested_msg); in TEST()
48 ASSERT_TRUE(ParamTraits<Message>::Read(&outer_msg, &iter, &result_msg)); in TEST()
59 ASSERT_TRUE(ParamTraits<int>::Read(&nested_msg, &nested_iter, in TEST()
65 ASSERT_FALSE(ParamTraits<Message>::Read(&outer_msg, &iter, &dummy)); in TEST()
66 ASSERT_FALSE(ParamTraits<int>::Read(&nested_msg, &nested_iter, in TEST()
77 ParamTraits<base::FilePath::StringType>::Write(&message, ok_string); in TEST()
78 ParamTraits<base::FilePath::StringType>::Write(&message, bad_string); in TEST()
83 ASSERT_TRUE(ParamTraits<base::FilePath>::Read(&message, &iter, &ok_path)); in TEST()
84 ASSERT_FALSE(ParamTraits<base::FilePath>::Read(&message, &iter, &bad_path)); in TEST()
[all …]
Dipc_mojo_param_traits.cc14 void ParamTraits<mojo::MessagePipeHandle>::Write(base::Pickle* m, in Write()
21 bool ParamTraits<mojo::MessagePipeHandle>::Read(const base::Pickle* m, in Read()
38 void ParamTraits<mojo::MessagePipeHandle>::Log(const param_type& p, in Log()
45 void ParamTraits<mojo::DataPipeConsumerHandle>::Write(base::Pickle* m, in Write()
55 bool ParamTraits<mojo::DataPipeConsumerHandle>::Read(const base::Pickle* m, in Read()
88 void ParamTraits<mojo::DataPipeConsumerHandle>::Log(const param_type& p, in Log()
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, \
Dmach_port_mac.cc16 void ParamTraits<MachPortMac>::Write(base::Pickle* m, const param_type& p) { in Write()
24 bool ParamTraits<MachPortMac>::Read(const base::Pickle* m, in Read()
42 void ParamTraits<MachPortMac>::Log(const param_type& p, std::string* l) { in Log()
Dparam_traits_log_macros.h28 void ParamTraits<struct_name>::Log(const param_type& p, std::string* l) { \
40 ParamTraits<type>::Log(p, l); \
48 void ParamTraits<enum_name>::Log(const param_type& p, std::string* l) { \
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( \
Dhandle_win.cc23 void ParamTraits<HandleWin>::Write(base::Pickle* m, const param_type& p) { in Write()
31 bool ParamTraits<HandleWin>::Read(const base::Pickle* m, in Read()
48 void ParamTraits<HandleWin>::Log(const param_type& p, std::string* l) { in Log()
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()
Dipc_message_protobuf_utils.h51 struct ParamTraits<google::protobuf::RepeatedField<P>> :
55 struct ParamTraits<google::protobuf::RepeatedPtrField<P>> :
/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_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) { \
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( \
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> { \
/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()
/external/cronet/url/ipc/
Durl_param_traits.cc15 void ParamTraits<GURL>::Write(base::Pickle* m, const GURL& p) { in Write()
36 bool ParamTraits<GURL>::Read(const base::Pickle* m, in Read()
52 void ParamTraits<GURL>::Log(const GURL& p, std::string* l) { in Log()
Durl_param_traits_unittest.cc17 IPC::ParamTraits<GURL>::Write(&msg, input); in BounceUrl()
21 EXPECT_TRUE(IPC::ParamTraits<GURL>::Read(&msg, &iter, &output)); in BounceUrl()
76 EXPECT_FALSE(IPC::ParamTraits<GURL>::Read(&msg, &iter, &output)); in TEST()
85 EXPECT_FALSE(IPC::ParamTraits<GURL>::Read(&msg, &iter, &output)); in TEST()

12