| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 NaClSrpcRpc* rpc, | 173 NaClSrpcRpc* rpc, |
| 174 NaClSrpcArg** inputs, | 174 NaClSrpcArg** inputs, |
| 175 NaClSrpcArg** outputs, | 175 NaClSrpcArg** outputs, |
| 176 NaClSrpcClosure* done | 176 NaClSrpcClosure* done |
| 177 ) { | 177 ) { |
| 178 PpbAudioConfigRpcServer::PPB_AudioConfig_RecommendSampleFrameCount( | 178 PpbAudioConfigRpcServer::PPB_AudioConfig_RecommendSampleFrameCount( |
| 179 rpc, | 179 rpc, |
| 180 done, | 180 done, |
| 181 inputs[0]->u.ival, | 181 inputs[0]->u.ival, |
| 182 inputs[1]->u.ival, | 182 inputs[1]->u.ival, |
| 183 inputs[2]->u.ival, |
| 183 &(outputs[0]->u.ival) | 184 &(outputs[0]->u.ival) |
| 184 ); | 185 ); |
| 185 } | 186 } |
| 186 | 187 |
| 187 static void PPB_AudioConfig_GetSampleRateDispatcher( | 188 static void PPB_AudioConfig_GetSampleRateDispatcher( |
| 188 NaClSrpcRpc* rpc, | 189 NaClSrpcRpc* rpc, |
| 189 NaClSrpcArg** inputs, | 190 NaClSrpcArg** inputs, |
| 190 NaClSrpcArg** outputs, | 191 NaClSrpcArg** outputs, |
| 191 NaClSrpcClosure* done | 192 NaClSrpcClosure* done |
| 192 ) { | 193 ) { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 205 NaClSrpcClosure* done | 206 NaClSrpcClosure* done |
| 206 ) { | 207 ) { |
| 207 PpbAudioConfigRpcServer::PPB_AudioConfig_GetSampleFrameCount( | 208 PpbAudioConfigRpcServer::PPB_AudioConfig_GetSampleFrameCount( |
| 208 rpc, | 209 rpc, |
| 209 done, | 210 done, |
| 210 inputs[0]->u.ival, | 211 inputs[0]->u.ival, |
| 211 &(outputs[0]->u.ival) | 212 &(outputs[0]->u.ival) |
| 212 ); | 213 ); |
| 213 } | 214 } |
| 214 | 215 |
| 216 static void PPB_AudioConfig_RecommendSampleRateDispatcher( |
| 217 NaClSrpcRpc* rpc, |
| 218 NaClSrpcArg** inputs, |
| 219 NaClSrpcArg** outputs, |
| 220 NaClSrpcClosure* done |
| 221 ) { |
| 222 PpbAudioConfigRpcServer::PPB_AudioConfig_RecommendSampleRate( |
| 223 rpc, |
| 224 done, |
| 225 inputs[0]->u.ival, |
| 226 &(outputs[0]->u.ival) |
| 227 ); |
| 228 } |
| 229 |
| 215 static void PPB_Core_AddRefResourceDispatcher( | 230 static void PPB_Core_AddRefResourceDispatcher( |
| 216 NaClSrpcRpc* rpc, | 231 NaClSrpcRpc* rpc, |
| 217 NaClSrpcArg** inputs, | 232 NaClSrpcArg** inputs, |
| 218 NaClSrpcArg** outputs, | 233 NaClSrpcArg** outputs, |
| 219 NaClSrpcClosure* done | 234 NaClSrpcClosure* done |
| 220 ) { | 235 ) { |
| 221 UNREFERENCED_PARAMETER(outputs); | 236 UNREFERENCED_PARAMETER(outputs); |
| 222 PpbCoreRpcServer::PPB_Core_AddRefResource( | 237 PpbCoreRpcServer::PPB_Core_AddRefResource( |
| 223 rpc, | 238 rpc, |
| 224 done, | 239 done, |
| (...skipping 2676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2901 { "StreamAsFile:isi:", StreamAsFileDispatcher }, | 2916 { "StreamAsFile:isi:", StreamAsFileDispatcher }, |
| 2902 { "GetFileDesc:is:h", GetFileDescDispatcher }, | 2917 { "GetFileDesc:is:h", GetFileDescDispatcher }, |
| 2903 { "PPB_GetInterface:s:i", PPB_GetInterfaceDispatcher }, | 2918 { "PPB_GetInterface:s:i", PPB_GetInterfaceDispatcher }, |
| 2904 { "PPB_Audio_Create:ii:i", PPB_Audio_CreateDispatcher }, | 2919 { "PPB_Audio_Create:ii:i", PPB_Audio_CreateDispatcher }, |
| 2905 { "PPB_Audio_IsAudio:i:i", PPB_Audio_IsAudioDispatcher }, | 2920 { "PPB_Audio_IsAudio:i:i", PPB_Audio_IsAudioDispatcher }, |
| 2906 { "PPB_Audio_GetCurrentConfig:i:i", PPB_Audio_GetCurrentConfigDispatcher }, | 2921 { "PPB_Audio_GetCurrentConfig:i:i", PPB_Audio_GetCurrentConfigDispatcher }, |
| 2907 { "PPB_Audio_StopPlayback:i:i", PPB_Audio_StopPlaybackDispatcher }, | 2922 { "PPB_Audio_StopPlayback:i:i", PPB_Audio_StopPlaybackDispatcher }, |
| 2908 { "PPB_Audio_StartPlayback:i:i", PPB_Audio_StartPlaybackDispatcher }, | 2923 { "PPB_Audio_StartPlayback:i:i", PPB_Audio_StartPlaybackDispatcher }, |
| 2909 { "PPB_AudioConfig_CreateStereo16Bit:iii:i", PPB_AudioConfig_CreateStereo16Bit
Dispatcher }, | 2924 { "PPB_AudioConfig_CreateStereo16Bit:iii:i", PPB_AudioConfig_CreateStereo16Bit
Dispatcher }, |
| 2910 { "PPB_AudioConfig_IsAudioConfig:i:i", PPB_AudioConfig_IsAudioConfigDispatcher
}, | 2925 { "PPB_AudioConfig_IsAudioConfig:i:i", PPB_AudioConfig_IsAudioConfigDispatcher
}, |
| 2911 { "PPB_AudioConfig_RecommendSampleFrameCount:ii:i", PPB_AudioConfig_RecommendS
ampleFrameCountDispatcher }, | 2926 { "PPB_AudioConfig_RecommendSampleFrameCount:iii:i", PPB_AudioConfig_Recommend
SampleFrameCountDispatcher }, |
| 2912 { "PPB_AudioConfig_GetSampleRate:i:i", PPB_AudioConfig_GetSampleRateDispatcher
}, | 2927 { "PPB_AudioConfig_GetSampleRate:i:i", PPB_AudioConfig_GetSampleRateDispatcher
}, |
| 2913 { "PPB_AudioConfig_GetSampleFrameCount:i:i", PPB_AudioConfig_GetSampleFrameCou
ntDispatcher }, | 2928 { "PPB_AudioConfig_GetSampleFrameCount:i:i", PPB_AudioConfig_GetSampleFrameCou
ntDispatcher }, |
| 2929 { "PPB_AudioConfig_RecommendSampleRate:i:i", PPB_AudioConfig_RecommendSampleRa
teDispatcher }, |
| 2914 { "PPB_Core_AddRefResource:i:", PPB_Core_AddRefResourceDispatcher }, | 2930 { "PPB_Core_AddRefResource:i:", PPB_Core_AddRefResourceDispatcher }, |
| 2915 { "PPB_Core_ReleaseResource:i:", PPB_Core_ReleaseResourceDispatcher }, | 2931 { "PPB_Core_ReleaseResource:i:", PPB_Core_ReleaseResourceDispatcher }, |
| 2916 { "ReleaseResourceMultipleTimes:ii:", ReleaseResourceMultipleTimesDispatcher }
, | 2932 { "ReleaseResourceMultipleTimes:ii:", ReleaseResourceMultipleTimesDispatcher }
, |
| 2917 { "PPB_Core_GetTime::d", PPB_Core_GetTimeDispatcher }, | 2933 { "PPB_Core_GetTime::d", PPB_Core_GetTimeDispatcher }, |
| 2918 { "PPB_Core_GetTimeTicks::d", PPB_Core_GetTimeTicksDispatcher }, | 2934 { "PPB_Core_GetTimeTicks::d", PPB_Core_GetTimeTicksDispatcher }, |
| 2919 { "PPB_Core_CallOnMainThread:iii:", PPB_Core_CallOnMainThreadDispatcher }, | 2935 { "PPB_Core_CallOnMainThread:iii:", PPB_Core_CallOnMainThreadDispatcher }, |
| 2920 { "PPB_CursorControl_SetCursor:iiiC:i", PPB_CursorControl_SetCursorDispatcher
}, | 2936 { "PPB_CursorControl_SetCursor:iiiC:i", PPB_CursorControl_SetCursorDispatcher
}, |
| 2921 { "PPB_CursorControl_LockCursor:i:i", PPB_CursorControl_LockCursorDispatcher }
, | 2937 { "PPB_CursorControl_LockCursor:i:i", PPB_CursorControl_LockCursorDispatcher }
, |
| 2922 { "PPB_CursorControl_UnlockCursor:i:i", PPB_CursorControl_UnlockCursorDispatch
er }, | 2938 { "PPB_CursorControl_UnlockCursor:i:i", PPB_CursorControl_UnlockCursorDispatch
er }, |
| 2923 { "PPB_CursorControl_HasCursorLock:i:i", PPB_CursorControl_HasCursorLockDispat
cher }, | 2939 { "PPB_CursorControl_HasCursorLock:i:i", PPB_CursorControl_HasCursorLockDispat
cher }, |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3083 { "PPB_Widget_IsWidget:i:i", PPB_Widget_IsWidgetDispatcher }, | 3099 { "PPB_Widget_IsWidget:i:i", PPB_Widget_IsWidgetDispatcher }, |
| 3084 { "PPB_Widget_Paint:iCi:i", PPB_Widget_PaintDispatcher }, | 3100 { "PPB_Widget_Paint:iCi:i", PPB_Widget_PaintDispatcher }, |
| 3085 { "PPB_Widget_HandleEvent:ii:i", PPB_Widget_HandleEventDispatcher }, | 3101 { "PPB_Widget_HandleEvent:ii:i", PPB_Widget_HandleEventDispatcher }, |
| 3086 { "PPB_Widget_GetLocation:i:Ci", PPB_Widget_GetLocationDispatcher }, | 3102 { "PPB_Widget_GetLocation:i:Ci", PPB_Widget_GetLocationDispatcher }, |
| 3087 { "PPB_Widget_SetLocation:iC:", PPB_Widget_SetLocationDispatcher }, | 3103 { "PPB_Widget_SetLocation:iC:", PPB_Widget_SetLocationDispatcher }, |
| 3088 { "PPB_Zoom_ZoomChanged:id:", PPB_Zoom_ZoomChangedDispatcher }, | 3104 { "PPB_Zoom_ZoomChanged:id:", PPB_Zoom_ZoomChangedDispatcher }, |
| 3089 { "PPB_Zoom_ZoomLimitsChanged:idd:", PPB_Zoom_ZoomLimitsChangedDispatcher }, | 3105 { "PPB_Zoom_ZoomLimitsChanged:idd:", PPB_Zoom_ZoomLimitsChangedDispatcher }, |
| 3090 { NULL, NULL } | 3106 { NULL, NULL } |
| 3091 }; | 3107 }; |
| 3092 | 3108 |
| OLD | NEW |