Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Side by Side Diff: src/shared/ppapi_proxy/ppp_rpc_server.cc

Issue 6218004: Resource64->32, NaCl side. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: First Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Native Client Authors. All rights reserved. 1 // Copyright (c) 2010 The Native Client Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING 5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
6 // 6 //
7 // Automatically generated code. See srpcgen.py 7 // Automatically generated code. See srpcgen.py
8 // 8 //
9 // NaCl Simple Remote Procedure Call interface abstractions. 9 // NaCl Simple Remote Procedure Call interface abstractions.
10 10
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 static void PPP_InitializeModuleDispatcher( 193 static void PPP_InitializeModuleDispatcher(
194 NaClSrpcRpc* rpc, 194 NaClSrpcRpc* rpc,
195 NaClSrpcArg** inputs, 195 NaClSrpcArg** inputs,
196 NaClSrpcArg** outputs, 196 NaClSrpcArg** outputs,
197 NaClSrpcClosure* done 197 NaClSrpcClosure* done
198 ) { 198 ) {
199 PppRpcServer::PPP_InitializeModule( 199 PppRpcServer::PPP_InitializeModule(
200 rpc, 200 rpc,
201 done, 201 done,
202 inputs[0]->u.ival, 202 inputs[0]->u.ival,
203 inputs[1]->u.lval, 203 inputs[1]->u.ival,
204 inputs[2]->u.hval, 204 inputs[2]->u.hval,
205 inputs[3]->arrays.str, 205 inputs[3]->arrays.str,
206 &(outputs[0]->u.ival), 206 &(outputs[0]->u.ival),
207 &(outputs[1]->u.ival) 207 &(outputs[1]->u.ival)
208 ); 208 );
209 } 209 }
210 210
211 static void PPP_ShutdownModuleDispatcher( 211 static void PPP_ShutdownModuleDispatcher(
212 NaClSrpcRpc* rpc, 212 NaClSrpcRpc* rpc,
213 NaClSrpcArg** inputs, 213 NaClSrpcArg** inputs,
(...skipping 25 matching lines...) Expand all
239 static void PPP_Audio_Dev_StreamCreatedDispatcher( 239 static void PPP_Audio_Dev_StreamCreatedDispatcher(
240 NaClSrpcRpc* rpc, 240 NaClSrpcRpc* rpc,
241 NaClSrpcArg** inputs, 241 NaClSrpcArg** inputs,
242 NaClSrpcArg** outputs, 242 NaClSrpcArg** outputs,
243 NaClSrpcClosure* done 243 NaClSrpcClosure* done
244 ) { 244 ) {
245 UNREFERENCED_PARAMETER(outputs); 245 UNREFERENCED_PARAMETER(outputs);
246 PppAudioDevRpcServer::PPP_Audio_Dev_StreamCreated( 246 PppAudioDevRpcServer::PPP_Audio_Dev_StreamCreated(
247 rpc, 247 rpc,
248 done, 248 done,
249 inputs[0]->u.lval, 249 inputs[0]->u.ival,
250 inputs[1]->u.hval, 250 inputs[1]->u.hval,
251 inputs[2]->u.ival, 251 inputs[2]->u.ival,
252 inputs[3]->u.hval 252 inputs[3]->u.hval
253 ); 253 );
254 } 254 }
255 255
256 static void PPP_Instance_DidCreateDispatcher( 256 static void PPP_Instance_DidCreateDispatcher(
257 NaClSrpcRpc* rpc, 257 NaClSrpcRpc* rpc,
258 NaClSrpcArg** inputs, 258 NaClSrpcArg** inputs,
259 NaClSrpcArg** outputs, 259 NaClSrpcArg** outputs,
260 NaClSrpcClosure* done 260 NaClSrpcClosure* done
261 ) { 261 ) {
262 PppInstanceRpcServer::PPP_Instance_DidCreate( 262 PppInstanceRpcServer::PPP_Instance_DidCreate(
263 rpc, 263 rpc,
264 done, 264 done,
265 inputs[0]->u.lval, 265 inputs[0]->u.ival,
266 inputs[1]->u.ival, 266 inputs[1]->u.ival,
267 inputs[2]->u.count, inputs[2]->arrays.carr, 267 inputs[2]->u.count, inputs[2]->arrays.carr,
268 inputs[3]->u.count, inputs[3]->arrays.carr, 268 inputs[3]->u.count, inputs[3]->arrays.carr,
269 &(outputs[0]->u.ival) 269 &(outputs[0]->u.ival)
270 ); 270 );
271 } 271 }
272 272
273 static void PPP_Instance_DidDestroyDispatcher( 273 static void PPP_Instance_DidDestroyDispatcher(
274 NaClSrpcRpc* rpc, 274 NaClSrpcRpc* rpc,
275 NaClSrpcArg** inputs, 275 NaClSrpcArg** inputs,
276 NaClSrpcArg** outputs, 276 NaClSrpcArg** outputs,
277 NaClSrpcClosure* done 277 NaClSrpcClosure* done
278 ) { 278 ) {
279 UNREFERENCED_PARAMETER(outputs); 279 UNREFERENCED_PARAMETER(outputs);
280 PppInstanceRpcServer::PPP_Instance_DidDestroy( 280 PppInstanceRpcServer::PPP_Instance_DidDestroy(
281 rpc, 281 rpc,
282 done, 282 done,
283 inputs[0]->u.lval 283 inputs[0]->u.ival
284 ); 284 );
285 } 285 }
286 286
287 static void PPP_Instance_DidChangeViewDispatcher( 287 static void PPP_Instance_DidChangeViewDispatcher(
288 NaClSrpcRpc* rpc, 288 NaClSrpcRpc* rpc,
289 NaClSrpcArg** inputs, 289 NaClSrpcArg** inputs,
290 NaClSrpcArg** outputs, 290 NaClSrpcArg** outputs,
291 NaClSrpcClosure* done 291 NaClSrpcClosure* done
292 ) { 292 ) {
293 UNREFERENCED_PARAMETER(outputs); 293 UNREFERENCED_PARAMETER(outputs);
294 PppInstanceRpcServer::PPP_Instance_DidChangeView( 294 PppInstanceRpcServer::PPP_Instance_DidChangeView(
295 rpc, 295 rpc,
296 done, 296 done,
297 inputs[0]->u.lval, 297 inputs[0]->u.ival,
298 inputs[1]->u.count, inputs[1]->arrays.iarr, 298 inputs[1]->u.count, inputs[1]->arrays.iarr,
299 inputs[2]->u.count, inputs[2]->arrays.iarr 299 inputs[2]->u.count, inputs[2]->arrays.iarr
300 ); 300 );
301 } 301 }
302 302
303 static void PPP_Instance_DidChangeFocusDispatcher( 303 static void PPP_Instance_DidChangeFocusDispatcher(
304 NaClSrpcRpc* rpc, 304 NaClSrpcRpc* rpc,
305 NaClSrpcArg** inputs, 305 NaClSrpcArg** inputs,
306 NaClSrpcArg** outputs, 306 NaClSrpcArg** outputs,
307 NaClSrpcClosure* done 307 NaClSrpcClosure* done
308 ) { 308 ) {
309 UNREFERENCED_PARAMETER(outputs); 309 UNREFERENCED_PARAMETER(outputs);
310 PppInstanceRpcServer::PPP_Instance_DidChangeFocus( 310 PppInstanceRpcServer::PPP_Instance_DidChangeFocus(
311 rpc, 311 rpc,
312 done, 312 done,
313 inputs[0]->u.lval, 313 inputs[0]->u.ival,
314 inputs[1]->u.bval 314 inputs[1]->u.bval
315 ); 315 );
316 } 316 }
317 317
318 static void PPP_Instance_HandleInputEventDispatcher( 318 static void PPP_Instance_HandleInputEventDispatcher(
319 NaClSrpcRpc* rpc, 319 NaClSrpcRpc* rpc,
320 NaClSrpcArg** inputs, 320 NaClSrpcArg** inputs,
321 NaClSrpcArg** outputs, 321 NaClSrpcArg** outputs,
322 NaClSrpcClosure* done 322 NaClSrpcClosure* done
323 ) { 323 ) {
324 PppInstanceRpcServer::PPP_Instance_HandleInputEvent( 324 PppInstanceRpcServer::PPP_Instance_HandleInputEvent(
325 rpc, 325 rpc,
326 done, 326 done,
327 inputs[0]->u.lval, 327 inputs[0]->u.ival,
328 inputs[1]->u.count, inputs[1]->arrays.carr, 328 inputs[1]->u.count, inputs[1]->arrays.carr,
329 &(outputs[0]->u.ival) 329 &(outputs[0]->u.ival)
330 ); 330 );
331 } 331 }
332 332
333 static void PPP_Instance_HandleDocumentLoadDispatcher( 333 static void PPP_Instance_HandleDocumentLoadDispatcher(
334 NaClSrpcRpc* rpc, 334 NaClSrpcRpc* rpc,
335 NaClSrpcArg** inputs, 335 NaClSrpcArg** inputs,
336 NaClSrpcArg** outputs, 336 NaClSrpcArg** outputs,
337 NaClSrpcClosure* done 337 NaClSrpcClosure* done
338 ) { 338 ) {
339 PppInstanceRpcServer::PPP_Instance_HandleDocumentLoad( 339 PppInstanceRpcServer::PPP_Instance_HandleDocumentLoad(
340 rpc, 340 rpc,
341 done, 341 done,
342 inputs[0]->u.lval, 342 inputs[0]->u.ival,
343 inputs[1]->u.lval, 343 inputs[1]->u.ival,
344 &(outputs[0]->u.ival) 344 &(outputs[0]->u.ival)
345 ); 345 );
346 } 346 }
347 347
348 static void PPP_Instance_GetInstanceObjectDispatcher( 348 static void PPP_Instance_GetInstanceObjectDispatcher(
349 NaClSrpcRpc* rpc, 349 NaClSrpcRpc* rpc,
350 NaClSrpcArg** inputs, 350 NaClSrpcArg** inputs,
351 NaClSrpcArg** outputs, 351 NaClSrpcArg** outputs,
352 NaClSrpcClosure* done 352 NaClSrpcClosure* done
353 ) { 353 ) {
354 PppInstanceRpcServer::PPP_Instance_GetInstanceObject( 354 PppInstanceRpcServer::PPP_Instance_GetInstanceObject(
355 rpc, 355 rpc,
356 done, 356 done,
357 inputs[0]->u.lval, 357 inputs[0]->u.ival,
358 &(outputs[0]->u.count), outputs[0]->arrays.carr 358 &(outputs[0]->u.count), outputs[0]->arrays.carr
359 ); 359 );
360 } 360 }
361 361
362 } // namespace 362 } // namespace
363 363
364 NaClSrpcHandlerDesc PppRpcs::srpc_methods[] = { 364 NaClSrpcHandlerDesc PppRpcs::srpc_methods[] = {
365 { "HasProperty:CCC:iC", HasPropertyDispatcher }, 365 { "HasProperty:CCC:iC", HasPropertyDispatcher },
366 { "HasMethod:CCC:iC", HasMethodDispatcher }, 366 { "HasMethod:CCC:iC", HasMethodDispatcher },
367 { "GetProperty:CCC:CC", GetPropertyDispatcher }, 367 { "GetProperty:CCC:CC", GetPropertyDispatcher },
(...skipping 11 matching lines...) Expand all
379 { "PPP_Instance_DidCreate:liCC:i", PPP_Instance_DidCreateDispatcher }, 379 { "PPP_Instance_DidCreate:liCC:i", PPP_Instance_DidCreateDispatcher },
380 { "PPP_Instance_DidDestroy:l:", PPP_Instance_DidDestroyDispatcher }, 380 { "PPP_Instance_DidDestroy:l:", PPP_Instance_DidDestroyDispatcher },
381 { "PPP_Instance_DidChangeView:lII:", PPP_Instance_DidChangeViewDispatcher }, 381 { "PPP_Instance_DidChangeView:lII:", PPP_Instance_DidChangeViewDispatcher },
382 { "PPP_Instance_DidChangeFocus:lb:", PPP_Instance_DidChangeFocusDispatcher }, 382 { "PPP_Instance_DidChangeFocus:lb:", PPP_Instance_DidChangeFocusDispatcher },
383 { "PPP_Instance_HandleInputEvent:lC:i", PPP_Instance_HandleInputEventDispatche r }, 383 { "PPP_Instance_HandleInputEvent:lC:i", PPP_Instance_HandleInputEventDispatche r },
384 { "PPP_Instance_HandleDocumentLoad:ll:i", PPP_Instance_HandleDocumentLoadDispa tcher }, 384 { "PPP_Instance_HandleDocumentLoad:ll:i", PPP_Instance_HandleDocumentLoadDispa tcher },
385 { "PPP_Instance_GetInstanceObject:l:C", PPP_Instance_GetInstanceObjectDispatch er }, 385 { "PPP_Instance_GetInstanceObject:l:C", PPP_Instance_GetInstanceObjectDispatch er },
386 { NULL, NULL } 386 { NULL, NULL }
387 }; 387 };
388 388
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698