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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 NaClSrpcClosure* done | 162 NaClSrpcClosure* done |
163 ) { | 163 ) { |
164 PpbAudioConfigRpcServer::PPB_AudioConfig_IsAudioConfig( | 164 PpbAudioConfigRpcServer::PPB_AudioConfig_IsAudioConfig( |
165 rpc, | 165 rpc, |
166 done, | 166 done, |
167 inputs[0]->u.ival, | 167 inputs[0]->u.ival, |
168 &(outputs[0]->u.ival) | 168 &(outputs[0]->u.ival) |
169 ); | 169 ); |
170 } | 170 } |
171 | 171 |
| 172 static void PPB_AudioConfig_RecommendSampleFrameCount_1_0Dispatcher( |
| 173 NaClSrpcRpc* rpc, |
| 174 NaClSrpcArg** inputs, |
| 175 NaClSrpcArg** outputs, |
| 176 NaClSrpcClosure* done |
| 177 ) { |
| 178 PpbAudioConfigRpcServer::PPB_AudioConfig_RecommendSampleFrameCount_1_0( |
| 179 rpc, |
| 180 done, |
| 181 inputs[0]->u.ival, |
| 182 inputs[1]->u.ival, |
| 183 &(outputs[0]->u.ival) |
| 184 ); |
| 185 } |
| 186 |
172 static void PPB_AudioConfig_RecommendSampleFrameCountDispatcher( | 187 static void PPB_AudioConfig_RecommendSampleFrameCountDispatcher( |
173 NaClSrpcRpc* rpc, | 188 NaClSrpcRpc* rpc, |
174 NaClSrpcArg** inputs, | 189 NaClSrpcArg** inputs, |
175 NaClSrpcArg** outputs, | 190 NaClSrpcArg** outputs, |
176 NaClSrpcClosure* done | 191 NaClSrpcClosure* done |
177 ) { | 192 ) { |
178 PpbAudioConfigRpcServer::PPB_AudioConfig_RecommendSampleFrameCount( | 193 PpbAudioConfigRpcServer::PPB_AudioConfig_RecommendSampleFrameCount( |
179 rpc, | 194 rpc, |
180 done, | 195 done, |
181 inputs[0]->u.ival, | 196 inputs[0]->u.ival, |
182 inputs[1]->u.ival, | 197 inputs[1]->u.ival, |
| 198 inputs[2]->u.ival, |
183 &(outputs[0]->u.ival) | 199 &(outputs[0]->u.ival) |
184 ); | 200 ); |
185 } | 201 } |
186 | 202 |
187 static void PPB_AudioConfig_GetSampleRateDispatcher( | 203 static void PPB_AudioConfig_GetSampleRateDispatcher( |
188 NaClSrpcRpc* rpc, | 204 NaClSrpcRpc* rpc, |
189 NaClSrpcArg** inputs, | 205 NaClSrpcArg** inputs, |
190 NaClSrpcArg** outputs, | 206 NaClSrpcArg** outputs, |
191 NaClSrpcClosure* done | 207 NaClSrpcClosure* done |
192 ) { | 208 ) { |
(...skipping 12 matching lines...) Expand all Loading... |
205 NaClSrpcClosure* done | 221 NaClSrpcClosure* done |
206 ) { | 222 ) { |
207 PpbAudioConfigRpcServer::PPB_AudioConfig_GetSampleFrameCount( | 223 PpbAudioConfigRpcServer::PPB_AudioConfig_GetSampleFrameCount( |
208 rpc, | 224 rpc, |
209 done, | 225 done, |
210 inputs[0]->u.ival, | 226 inputs[0]->u.ival, |
211 &(outputs[0]->u.ival) | 227 &(outputs[0]->u.ival) |
212 ); | 228 ); |
213 } | 229 } |
214 | 230 |
| 231 static void PPB_AudioConfig_RecommendSampleRateDispatcher( |
| 232 NaClSrpcRpc* rpc, |
| 233 NaClSrpcArg** inputs, |
| 234 NaClSrpcArg** outputs, |
| 235 NaClSrpcClosure* done |
| 236 ) { |
| 237 PpbAudioConfigRpcServer::PPB_AudioConfig_RecommendSampleRate( |
| 238 rpc, |
| 239 done, |
| 240 inputs[0]->u.ival, |
| 241 &(outputs[0]->u.ival) |
| 242 ); |
| 243 } |
| 244 |
215 static void PPB_Core_AddRefResourceDispatcher( | 245 static void PPB_Core_AddRefResourceDispatcher( |
216 NaClSrpcRpc* rpc, | 246 NaClSrpcRpc* rpc, |
217 NaClSrpcArg** inputs, | 247 NaClSrpcArg** inputs, |
218 NaClSrpcArg** outputs, | 248 NaClSrpcArg** outputs, |
219 NaClSrpcClosure* done | 249 NaClSrpcClosure* done |
220 ) { | 250 ) { |
221 UNREFERENCED_PARAMETER(outputs); | 251 UNREFERENCED_PARAMETER(outputs); |
222 PpbCoreRpcServer::PPB_Core_AddRefResource( | 252 PpbCoreRpcServer::PPB_Core_AddRefResource( |
223 rpc, | 253 rpc, |
224 done, | 254 done, |
(...skipping 2690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2915 { "StreamAsFile:isi:", StreamAsFileDispatcher }, | 2945 { "StreamAsFile:isi:", StreamAsFileDispatcher }, |
2916 { "GetFileDesc:is:h", GetFileDescDispatcher }, | 2946 { "GetFileDesc:is:h", GetFileDescDispatcher }, |
2917 { "PPB_GetInterface:s:i", PPB_GetInterfaceDispatcher }, | 2947 { "PPB_GetInterface:s:i", PPB_GetInterfaceDispatcher }, |
2918 { "PPB_Audio_Create:ii:i", PPB_Audio_CreateDispatcher }, | 2948 { "PPB_Audio_Create:ii:i", PPB_Audio_CreateDispatcher }, |
2919 { "PPB_Audio_IsAudio:i:i", PPB_Audio_IsAudioDispatcher }, | 2949 { "PPB_Audio_IsAudio:i:i", PPB_Audio_IsAudioDispatcher }, |
2920 { "PPB_Audio_GetCurrentConfig:i:i", PPB_Audio_GetCurrentConfigDispatcher }, | 2950 { "PPB_Audio_GetCurrentConfig:i:i", PPB_Audio_GetCurrentConfigDispatcher }, |
2921 { "PPB_Audio_StopPlayback:i:i", PPB_Audio_StopPlaybackDispatcher }, | 2951 { "PPB_Audio_StopPlayback:i:i", PPB_Audio_StopPlaybackDispatcher }, |
2922 { "PPB_Audio_StartPlayback:i:i", PPB_Audio_StartPlaybackDispatcher }, | 2952 { "PPB_Audio_StartPlayback:i:i", PPB_Audio_StartPlaybackDispatcher }, |
2923 { "PPB_AudioConfig_CreateStereo16Bit:iii:i", PPB_AudioConfig_CreateStereo16Bit
Dispatcher }, | 2953 { "PPB_AudioConfig_CreateStereo16Bit:iii:i", PPB_AudioConfig_CreateStereo16Bit
Dispatcher }, |
2924 { "PPB_AudioConfig_IsAudioConfig:i:i", PPB_AudioConfig_IsAudioConfigDispatcher
}, | 2954 { "PPB_AudioConfig_IsAudioConfig:i:i", PPB_AudioConfig_IsAudioConfigDispatcher
}, |
2925 { "PPB_AudioConfig_RecommendSampleFrameCount:ii:i", PPB_AudioConfig_RecommendS
ampleFrameCountDispatcher }, | 2955 { "PPB_AudioConfig_RecommendSampleFrameCount_1_0:ii:i", PPB_AudioConfig_Recomm
endSampleFrameCount_1_0Dispatcher }, |
| 2956 { "PPB_AudioConfig_RecommendSampleFrameCount:iii:i", PPB_AudioConfig_Recommend
SampleFrameCountDispatcher }, |
2926 { "PPB_AudioConfig_GetSampleRate:i:i", PPB_AudioConfig_GetSampleRateDispatcher
}, | 2957 { "PPB_AudioConfig_GetSampleRate:i:i", PPB_AudioConfig_GetSampleRateDispatcher
}, |
2927 { "PPB_AudioConfig_GetSampleFrameCount:i:i", PPB_AudioConfig_GetSampleFrameCou
ntDispatcher }, | 2958 { "PPB_AudioConfig_GetSampleFrameCount:i:i", PPB_AudioConfig_GetSampleFrameCou
ntDispatcher }, |
| 2959 { "PPB_AudioConfig_RecommendSampleRate:i:i", PPB_AudioConfig_RecommendSampleRa
teDispatcher }, |
2928 { "PPB_Core_AddRefResource:i:", PPB_Core_AddRefResourceDispatcher }, | 2960 { "PPB_Core_AddRefResource:i:", PPB_Core_AddRefResourceDispatcher }, |
2929 { "PPB_Core_ReleaseResource:i:", PPB_Core_ReleaseResourceDispatcher }, | 2961 { "PPB_Core_ReleaseResource:i:", PPB_Core_ReleaseResourceDispatcher }, |
2930 { "ReleaseResourceMultipleTimes:ii:", ReleaseResourceMultipleTimesDispatcher }
, | 2962 { "ReleaseResourceMultipleTimes:ii:", ReleaseResourceMultipleTimesDispatcher }
, |
2931 { "PPB_Core_GetTime::d", PPB_Core_GetTimeDispatcher }, | 2963 { "PPB_Core_GetTime::d", PPB_Core_GetTimeDispatcher }, |
2932 { "PPB_Core_GetTimeTicks::d", PPB_Core_GetTimeTicksDispatcher }, | 2964 { "PPB_Core_GetTimeTicks::d", PPB_Core_GetTimeTicksDispatcher }, |
2933 { "PPB_Core_CallOnMainThread:iii:", PPB_Core_CallOnMainThreadDispatcher }, | 2965 { "PPB_Core_CallOnMainThread:iii:", PPB_Core_CallOnMainThreadDispatcher }, |
2934 { "PPB_CursorControl_SetCursor:iiiC:i", PPB_CursorControl_SetCursorDispatcher
}, | 2966 { "PPB_CursorControl_SetCursor:iiiC:i", PPB_CursorControl_SetCursorDispatcher
}, |
2935 { "PPB_CursorControl_LockCursor:i:i", PPB_CursorControl_LockCursorDispatcher }
, | 2967 { "PPB_CursorControl_LockCursor:i:i", PPB_CursorControl_LockCursorDispatcher }
, |
2936 { "PPB_CursorControl_UnlockCursor:i:i", PPB_CursorControl_UnlockCursorDispatch
er }, | 2968 { "PPB_CursorControl_UnlockCursor:i:i", PPB_CursorControl_UnlockCursorDispatch
er }, |
2937 { "PPB_CursorControl_HasCursorLock:i:i", PPB_CursorControl_HasCursorLockDispat
cher }, | 2969 { "PPB_CursorControl_HasCursorLock:i:i", PPB_CursorControl_HasCursorLockDispat
cher }, |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3098 { "PPB_Widget_IsWidget:i:i", PPB_Widget_IsWidgetDispatcher }, | 3130 { "PPB_Widget_IsWidget:i:i", PPB_Widget_IsWidgetDispatcher }, |
3099 { "PPB_Widget_Paint:iCi:i", PPB_Widget_PaintDispatcher }, | 3131 { "PPB_Widget_Paint:iCi:i", PPB_Widget_PaintDispatcher }, |
3100 { "PPB_Widget_HandleEvent:ii:i", PPB_Widget_HandleEventDispatcher }, | 3132 { "PPB_Widget_HandleEvent:ii:i", PPB_Widget_HandleEventDispatcher }, |
3101 { "PPB_Widget_GetLocation:i:Ci", PPB_Widget_GetLocationDispatcher }, | 3133 { "PPB_Widget_GetLocation:i:Ci", PPB_Widget_GetLocationDispatcher }, |
3102 { "PPB_Widget_SetLocation:iC:", PPB_Widget_SetLocationDispatcher }, | 3134 { "PPB_Widget_SetLocation:iC:", PPB_Widget_SetLocationDispatcher }, |
3103 { "PPB_Zoom_ZoomChanged:id:", PPB_Zoom_ZoomChangedDispatcher }, | 3135 { "PPB_Zoom_ZoomChanged:id:", PPB_Zoom_ZoomChangedDispatcher }, |
3104 { "PPB_Zoom_ZoomLimitsChanged:idd:", PPB_Zoom_ZoomLimitsChangedDispatcher }, | 3136 { "PPB_Zoom_ZoomLimitsChanged:idd:", PPB_Zoom_ZoomLimitsChangedDispatcher }, |
3105 { NULL, NULL } | 3137 { NULL, NULL } |
3106 }; | 3138 }; |
3107 | 3139 |
OLD | NEW |