Home
last modified time | relevance | path

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

123

/external/chromium_org/ppapi/proxy/
Dppapi_param_traits.cc78 void ParamTraits<PP_Bool>::Write(Message* m, const param_type& p) { in Write()
79 ParamTraits<bool>::Write(m, PP_ToBool(p)); in Write()
83 bool ParamTraits<PP_Bool>::Read(const Message* m, in Read()
90 if (!ParamTraits<bool>::Read(m, iter, &result)) in Read()
97 void ParamTraits<PP_Bool>::Log(const param_type& p, std::string* l) { in Log()
103 void ParamTraits<PP_NetAddress_Private>::Write(Message* m, in Write()
110 bool ParamTraits<PP_NetAddress_Private>::Read(const Message* m, in Read()
128 void ParamTraits<PP_NetAddress_Private>::Log(const param_type& p, in Log()
138 void ParamTraits<ppapi::HostResource>::Write(Message* m, in Write()
140 ParamTraits<PP_Instance>::Write(m, p.instance()); in Write()
[all …]
Dppapi_param_traits.h48 struct PPAPI_PROXY_EXPORT ParamTraits<PP_Bool> {
56 struct PPAPI_PROXY_EXPORT ParamTraits<PP_NetAddress_Private> {
64 struct PPAPI_PROXY_EXPORT ParamTraits<
73 struct PPAPI_PROXY_EXPORT ParamTraits<
82 struct PPAPI_PROXY_EXPORT ParamTraits<ppapi::proxy::SerializedDirEntry> {
90 struct PPAPI_PROXY_EXPORT ParamTraits<ppapi::proxy::SerializedFontDescription> {
99 ParamTraits<ppapi::proxy::SerializedTrueTypeFontDesc> {
107 struct PPAPI_PROXY_EXPORT ParamTraits<ppapi::proxy::SerializedHandle> {
115 struct PPAPI_PROXY_EXPORT ParamTraits<ppapi::HostResource> {
123 struct PPAPI_PROXY_EXPORT ParamTraits<ppapi::proxy::SerializedVar> {
[all …]
Dresource_message_params.cc54 IPC::ParamTraits<PP_Resource>::Write(msg, pp_resource_); in WriteHeader()
55 IPC::ParamTraits<int32_t>::Write(msg, sequence_); in WriteHeader()
59 IPC::ParamTraits<std::vector<SerializedHandle> >::Write(msg, in WriteHandles()
67 return IPC::ParamTraits<PP_Resource>::Read(msg, iter, &pp_resource_) && in ReadHeader()
68 IPC::ParamTraits<int32_t>::Read(msg, iter, &sequence_); in ReadHeader()
73 return IPC::ParamTraits<std::vector<SerializedHandle> >::Read( in ReadHandles()
158 IPC::ParamTraits<bool>::Write(msg, has_callback_); in Serialize()
165 return IPC::ParamTraits<bool>::Read(msg, iter, &has_callback_); in Deserialize()
194 IPC::ParamTraits<int32_t>::Read(msg, iter, &result_) && in Deserialize()
200 IPC::ParamTraits<int32_t>::Write(msg, result_); in WriteReplyHeader()
/external/chromium_org/ipc/
Dipc_message_utils.cc252 void ParamTraits<bool>::Log(const param_type& p, std::string* l) { in Log()
256 void ParamTraits<unsigned char>::Write(Message* m, const param_type& p) { in Write()
260 bool ParamTraits<unsigned char>::Read(const Message* m, PickleIterator* iter, in Read()
269 void ParamTraits<unsigned char>::Log(const param_type& p, std::string* l) { in Log()
273 void ParamTraits<unsigned short>::Write(Message* m, const param_type& p) { in Write()
277 bool ParamTraits<unsigned short>::Read(const Message* m, PickleIterator* iter, in Read()
286 void ParamTraits<unsigned short>::Log(const param_type& p, std::string* l) { in Log()
290 void ParamTraits<int>::Log(const param_type& p, std::string* l) { in Log()
294 void ParamTraits<unsigned int>::Log(const param_type& p, std::string* l) { in Log()
298 void ParamTraits<long>::Log(const param_type& p, std::string* l) { in Log()
[all …]
Dipc_message_utils_unittest.cc22 ParamTraits<int>::Write(&nested_msg, nested_content); in TEST()
29 ParamTraits<Message>::Write(&outer_msg, nested_msg); in TEST()
34 ASSERT_TRUE(ParamTraits<Message>::Read(&outer_msg, &iter, &result_msg)); in TEST()
45 ASSERT_TRUE(ParamTraits<int>::Read(&nested_msg, &nested_iter, in TEST()
51 ASSERT_FALSE(ParamTraits<Message>::Read(&outer_msg, &iter, &dummy)); in TEST()
52 ASSERT_FALSE(ParamTraits<int>::Read(&nested_msg, &nested_iter, in TEST()
63 ParamTraits<base::FilePath::StringType>::Write(&message, ok_string); in TEST()
64 ParamTraits<base::FilePath::StringType>::Write(&message, bad_string); in TEST()
69 ASSERT_TRUE(ParamTraits<base::FilePath>::Read(&message, &iter, &ok_path)); in TEST()
70 ASSERT_FALSE(ParamTraits<base::FilePath>::Read(&message, &iter, &bad_path)); in TEST()
Dipc_message_utils.h94 ParamTraits<Type>::Write(m, static_cast<const Type& >(p)); in WriteParam()
102 return ParamTraits<Type>::Read(m, iter, reinterpret_cast<Type* >(p)); in ReadParam()
108 ParamTraits<Type>::Log(static_cast<const Type& >(p), l); in LogParam()
114 struct ParamTraits<bool> {
126 struct IPC_EXPORT ParamTraits<unsigned char> {
134 struct IPC_EXPORT ParamTraits<unsigned short> {
142 struct ParamTraits<int> {
154 struct ParamTraits<unsigned int> {
166 struct ParamTraits<long> {
178 struct ParamTraits<unsigned long> {
[all …]
/external/chromium_org/sync/internal_api/public/util/
Dweak_handle.h82 struct ParamTraits { struct
87 struct ParamTraits<T&> { argument
92 struct ParamTraits<T[n]> {
97 struct ParamTraits<T[]> {
156 typename ParamTraits<A1>::ForwardType a1) const {
166 typename ParamTraits<A1>::ForwardType a1,
167 typename ParamTraits<A2>::ForwardType a2) const {
177 typename ParamTraits<A1>::ForwardType a1,
178 typename ParamTraits<A2>::ForwardType a2,
179 typename ParamTraits<A3>::ForwardType a3) const {
[all …]
/external/chromium_org/ui/gfx/ipc/
Dgfx_param_traits.cc54 void ParamTraits<gfx::Point>::Write(Message* m, const gfx::Point& p) { in Write()
59 bool ParamTraits<gfx::Point>::Read(const Message* m, PickleIterator* iter, in Read()
70 void ParamTraits<gfx::Point>::Log(const gfx::Point& p, std::string* l) { in Log()
74 void ParamTraits<gfx::PointF>::Write(Message* m, const gfx::PointF& v) { in Write()
75 ParamTraits<float>::Write(m, v.x()); in Write()
76 ParamTraits<float>::Write(m, v.y()); in Write()
79 bool ParamTraits<gfx::PointF>::Read(const Message* m, in Read()
83 if (!ParamTraits<float>::Read(m, iter, &x) || in Read()
84 !ParamTraits<float>::Read(m, iter, &y)) in Read()
91 void ParamTraits<gfx::PointF>::Log(const gfx::PointF& v, std::string* l) { in Log()
[all …]
Dgfx_param_traits.h30 struct GFX_IPC_EXPORT ParamTraits<gfx::Point> {
38 struct GFX_IPC_EXPORT ParamTraits<gfx::PointF> {
46 struct GFX_IPC_EXPORT ParamTraits<gfx::Size> {
54 struct GFX_IPC_EXPORT ParamTraits<gfx::SizeF> {
62 struct GFX_IPC_EXPORT ParamTraits<gfx::Vector2d> {
70 struct GFX_IPC_EXPORT ParamTraits<gfx::Vector2dF> {
78 struct GFX_IPC_EXPORT ParamTraits<gfx::Rect> {
86 struct GFX_IPC_EXPORT ParamTraits<gfx::RectF> {
94 struct GFX_IPC_EXPORT ParamTraits<SkBitmap> {
/external/chromium_org/remoting/host/
Dchromoting_param_traits.cc13 void ParamTraits<webrtc::DesktopVector>::Write(Message* m, in Write()
20 bool ParamTraits<webrtc::DesktopVector>::Read(const Message* m, in Read()
31 void ParamTraits<webrtc::DesktopVector>::Log(const webrtc::DesktopVector& p, in Log()
38 void ParamTraits<webrtc::DesktopSize>::Write(Message* m, in Write()
45 bool ParamTraits<webrtc::DesktopSize>::Read(const Message* m, in Read()
56 void ParamTraits<webrtc::DesktopSize>::Log(const webrtc::DesktopSize& p, in Log()
63 void ParamTraits<webrtc::DesktopRect>::Write(Message* m, in Write()
72 bool ParamTraits<webrtc::DesktopRect>::Read(const Message* m, in Read()
85 void ParamTraits<webrtc::DesktopRect>::Log(const webrtc::DesktopRect& p, in Log()
92 void ParamTraits<webrtc::MouseCursor>::Write( in Write()
[all …]
Dchromoting_param_traits.h18 struct ParamTraits<webrtc::DesktopVector> {
26 struct ParamTraits<webrtc::DesktopSize> {
34 struct ParamTraits<webrtc::DesktopRect> {
42 struct ParamTraits<webrtc::MouseCursor> {
50 struct ParamTraits<remoting::ScreenResolution> {
/external/chromium_org/content/public/common/
Dcommon_param_traits.cc18 void ParamTraits<GURL>::Write(Message* m, const GURL& p) { in Write()
36 bool ParamTraits<GURL>::Read(const Message* m, PickleIterator* iter, GURL* p) { in Read()
50 void ParamTraits<GURL>::Log(const GURL& p, std::string* l) { in Log()
54 void ParamTraits<url::Origin>::Write(Message* m, in Write()
59 bool ParamTraits<url::Origin>::Read(const Message* m, in Read()
71 void ParamTraits<url::Origin>::Log(const url::Origin& p, std::string* l) { in Log()
75 void ParamTraits<net::HostPortPair>::Write(Message* m, const param_type& p) { in Write()
80 bool ParamTraits<net::HostPortPair>::Read(const Message* m, in Read()
93 void ParamTraits<net::HostPortPair>::Log(const param_type& p, std::string* l) { in Log()
97 void ParamTraits<net::IPEndPoint>::Write(Message* m, const param_type& p) { in Write()
[all …]
Dcommon_param_traits.h40 struct CONTENT_EXPORT ParamTraits<GURL> {
48 struct CONTENT_EXPORT ParamTraits<url::Origin> {
56 struct CONTENT_EXPORT ParamTraits<net::HostPortPair> {
64 struct CONTENT_EXPORT ParamTraits<net::IPEndPoint> {
72 struct CONTENT_EXPORT ParamTraits<content::PageState> {
80 struct ParamTraits<gfx::NativeWindow> {
113 struct ParamTraits<TransportDIB::Id> {
/external/chromium_org/extensions/common/
Dextension_messages.cc78 struct ParamTraits<Manifest::Location> { struct
94 ParamTraits<int>::Log(static_cast<int>(p), l); in Log()
98 void ParamTraits<URLPattern>::Write(Message* m, const param_type& p) { in Write()
103 bool ParamTraits<URLPattern>::Read(const Message* m, PickleIterator* iter, in Read()
122 void ParamTraits<URLPattern>::Log(const param_type& p, std::string* l) { in Log()
126 void ParamTraits<URLPatternSet>::Write(Message* m, const param_type& p) { in Write()
130 bool ParamTraits<URLPatternSet>::Read(const Message* m, PickleIterator* iter, in Read()
142 void ParamTraits<URLPatternSet>::Log(const param_type& p, std::string* l) { in Log()
146 void ParamTraits<APIPermission::ID>::Write( in Write()
151 bool ParamTraits<APIPermission::ID>::Read( in Read()
[all …]
/external/chromium_org/gpu/ipc/
Dgpu_command_buffer_traits.cc10 void ParamTraits<gpu::CommandBuffer::State> ::Write(Message* m, in Write()
20 bool ParamTraits<gpu::CommandBuffer::State> ::Read(const Message* m, in Read()
37 void ParamTraits<gpu::CommandBuffer::State> ::Log(const param_type& p, in Log()
42 void ParamTraits<gpu::Mailbox>::Write(Message* m, const param_type& p) { in Write()
46 bool ParamTraits<gpu::Mailbox>::Read(const Message* m, in Read()
57 void ParamTraits<gpu::Mailbox>::Log(const param_type& p, std::string* l) { in Log()
62 void ParamTraits<gpu::MailboxHolder>::Write(Message* m, const param_type& p) { in Write()
68 bool ParamTraits<gpu::MailboxHolder>::Read(const Message* m, in Read()
78 void ParamTraits<gpu::MailboxHolder>::Log(const param_type& p, std::string* l) { in Log()
79 ParamTraits<gpu::Mailbox>::Log(p.mailbox, l); in Log()
/external/chromium_org/content/common/
Dcontent_param_traits.cc14 void ParamTraits<gfx::Range>::Write(Message* m, const gfx::Range& r) { in Write()
19 bool ParamTraits<gfx::Range>::Read(const Message* m, in Read()
30 void ParamTraits<gfx::Range>::Log(const gfx::Range& r, std::string* l) { in Log()
34 void ParamTraits<WebInputEventPointer>::Write(Message* m, const param_type& p) { in Write()
38 bool ParamTraits<WebInputEventPointer>::Read(const Message* m, in Read()
67 void ParamTraits<WebInputEventPointer>::Log(const param_type& p, in Log()
Dcommon_param_traits_unittest.cc32 IPC::ParamTraits<GURL>::Write(&msg, input); in TEST()
36 EXPECT_TRUE(IPC::ParamTraits<GURL>::Read(&msg, &iter, &output)); in TEST()
58 EXPECT_FALSE(IPC::ParamTraits<GURL>::Read(&msg, &iter, &output)); in TEST()
66 EXPECT_FALSE(IPC::ParamTraits<GURL>::Read(&msg, &iter, &output)); in TEST()
75 IPC::ParamTraits<TestPair>::Write(&msg, input); in TEST()
79 EXPECT_TRUE(IPC::ParamTraits<TestPair>::Read(&msg, &iter, &output)); in TEST()
92 IPC::ParamTraits<SkBitmap>::Write(&msg, bitmap); in TEST()
96 EXPECT_TRUE(IPC::ParamTraits<SkBitmap>::Read(&msg, &iter, &output)); in TEST()
122 EXPECT_FALSE(IPC::ParamTraits<SkBitmap>::Read(&bad_msg, &iter, &bad_output)); in TEST()
186 IPC::ParamTraits<net::HostPortPair>::Write(&msg, input); in TEST()
[all …]
Dresource_messages.cc12 void ParamTraits<scoped_refptr<net::HttpResponseHeaders> >::Write( in Write()
21 bool ParamTraits<scoped_refptr<net::HttpResponseHeaders> >::Read( in Read()
31 void ParamTraits<scoped_refptr<net::HttpResponseHeaders> >::Log( in Log()
36 void ParamTraits<storage::DataElement>::Write(Message* m, const param_type& p) { in Write()
67 bool ParamTraits<storage::DataElement>::Read(const Message* m, in Read()
131 void ParamTraits<storage::DataElement>::Log(const param_type& p, in Log()
136 void ParamTraits<scoped_refptr<content::ResourceDevToolsInfo> >::Write( in Write()
149 bool ParamTraits<scoped_refptr<content::ResourceDevToolsInfo> >::Read( in Read()
166 void ParamTraits<scoped_refptr<content::ResourceDevToolsInfo> >::Log( in Log()
177 void ParamTraits<net::LoadTimingInfo>::Write( in Write()
[all …]
Dcc_messages.cc17 void ParamTraits<cc::FilterOperation>::Write( in Write()
55 bool ParamTraits<cc::FilterOperation>::Read( in Read()
133 void ParamTraits<cc::FilterOperation>::Log( in Log()
181 void ParamTraits<cc::FilterOperations>::Write( in Write()
189 bool ParamTraits<cc::FilterOperations>::Read( in Read()
204 void ParamTraits<cc::FilterOperations>::Log( in Log()
215 void ParamTraits<skia::RefPtr<SkImageFilter> >::Write( in Write()
227 bool ParamTraits<skia::RefPtr<SkImageFilter> >::Read( in Read()
243 void ParamTraits<skia::RefPtr<SkImageFilter> >::Log( in Log()
250 void ParamTraits<gfx::Transform>::Write( in Write()
[all …]
Dcc_messages.h49 struct ParamTraits<cc::FilterOperation> {
57 struct ParamTraits<cc::FilterOperations> {
65 struct ParamTraits<skia::RefPtr<SkImageFilter> > {
73 struct ParamTraits<gfx::Transform> {
81 struct CONTENT_EXPORT ParamTraits<cc::RenderPass> {
89 struct CONTENT_EXPORT ParamTraits<cc::CompositorFrame> {
97 struct CONTENT_EXPORT ParamTraits<cc::CompositorFrameAck> {
105 struct CONTENT_EXPORT ParamTraits<cc::DelegatedFrameData> {
113 struct CONTENT_EXPORT ParamTraits<cc::SoftwareFrameData> {
/external/chromium_org/content/common/media/
Dmedia_param_traits.cc19 void ParamTraits<AudioParameters>::Write(Message* m, in Write()
30 bool ParamTraits<AudioParameters>::Read(const Message* m, in Read()
54 void ParamTraits<AudioParameters>::Log(const AudioParameters& p, in Log()
59 void ParamTraits<VideoCaptureFormat>::Write(Message* m, in Write()
68 bool ParamTraits<VideoCaptureFormat>::Read(const Message* m, in Read()
85 void ParamTraits<VideoCaptureFormat>::Log(const VideoCaptureFormat& p, in Log()
/external/chromium_org/content/common/indexed_db/
Dindexed_db_param_traits.cc33 void ParamTraits<IndexedDBKey>::Write(Message* m, const param_type& p) { in Write()
61 bool ParamTraits<IndexedDBKey>::Read(const Message* m, in Read()
110 void ParamTraits<IndexedDBKey>::Log(const param_type& p, std::string* l) { in Log()
133 void ParamTraits<IndexedDBKeyPath>::Write(Message* m, const param_type& p) { in Write()
150 bool ParamTraits<IndexedDBKeyPath>::Read(const Message* m, in Read()
181 void ParamTraits<IndexedDBKeyPath>::Log(const param_type& p, std::string* l) { in Log()
198 void ParamTraits<IndexedDBKeyRange>::Write(Message* m, const param_type& p) { in Write()
205 bool ParamTraits<IndexedDBKeyRange>::Read(const Message* m, in Read()
228 void ParamTraits<IndexedDBKeyRange>::Log(const param_type& p, std::string* l) { in Log()
/external/chromium_org/content/common/input/
Dinput_param_traits.cc28 void ParamTraits<content::ScopedWebInputEvent>::Write(Message* m, in Write()
36 bool ParamTraits<content::ScopedWebInputEvent>::Read(const Message* m, in Read()
51 void ParamTraits<content::ScopedWebInputEvent>::Log(const param_type& p, in Log()
56 void ParamTraits<content::SyntheticGesturePacket>::Write(Message* m, in Write()
76 bool ParamTraits<content::SyntheticGesturePacket>::Read(const Message* m, in Read()
105 void ParamTraits<content::SyntheticGesturePacket>::Log(const param_type& p, in Log()
Dinput_param_traits_unittest.cc93 IPC::ParamTraits<InputEvents>::Write(&msg, events_in); in Verify()
97 EXPECT_TRUE(IPC::ParamTraits<InputEvents>::Read(&msg, &iter, &events_out)); in Verify()
103 IPC::ParamTraits<InputEvents>::Log(events_in, &events_in_string); in Verify()
105 IPC::ParamTraits<InputEvents>::Log(events_out, &events_out_string); in Verify()
112 IPC::ParamTraits<SyntheticGesturePacket>::Write(&msg, packet_in); in Verify()
116 EXPECT_TRUE(IPC::ParamTraits<SyntheticGesturePacket>::Read(&msg, &iter, in Verify()
123 IPC::ParamTraits<SyntheticGesturePacket>::Log(packet_in, &packet_in_string); in Verify()
125 IPC::ParamTraits<SyntheticGesturePacket>::Log(packet_out, in Verify()
187 IPC::ParamTraits<SyntheticGesturePacket>::Read(&msg, &iter, &packet_out)); in TEST_F()
/external/chromium_org/content/child/
Dplugin_param_traits.cc39 void ParamTraits<NPVariant_Param>::Write(Message* m, const param_type& p) { in Write()
64 bool ParamTraits<NPVariant_Param>::Read(const Message* m, in Read()
95 void ParamTraits<NPVariant_Param>::Log(const param_type& p, std::string* l) { in Log()
115 void ParamTraits<NPIdentifier_Param>::Write(Message* m, const param_type& p) { in Write()
119 bool ParamTraits<NPIdentifier_Param>::Read(const Message* m, in Read()
125 void ParamTraits<NPIdentifier_Param>::Log(const param_type& p, std::string* l) { in Log()

123