Searched defs:callback (Results 1 - 25 of 383) sorted by relevance

1234567891011>>

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_code.py125 def callback(code): function in function:CodeWeakRefTest.test_basic
130 # deref it. Then delete it, and check that the callback gets called and
132 coderef = weakref.ref(f.__code__, callback)
H A Dtest_capi.py22 def callback(): function in function:TestPendingCalls.pendingcalls_submit
29 #try submitting callback until successful.
33 if _testcapi._pending_threadfunc(callback):
56 #do every callback on a separate thread
110 def callback(): function in function:TestThreadState.test_thread_state.target
113 _testcapi._test_thread_state(callback)
114 a = b = callback
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_code.py125 def callback(code): function in function:CodeWeakRefTest.test_basic
130 # deref it. Then delete it, and check that the callback gets called and
132 coderef = weakref.ref(f.__code__, callback)
H A Dtest_capi.py22 def callback(): function in function:TestPendingCalls.pendingcalls_submit
29 #try submitting callback until successful.
33 if _testcapi._pending_threadfunc(callback):
56 #do every callback on a separate thread
110 def callback(): function in function:TestThreadState.test_thread_state.target
113 _testcapi._test_thread_state(callback)
114 a = b = callback
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
H A Dtest_refcounts.py20 def callback(value): function in function:RefcountTestCase.test_1
24 self.assertEqual(grc(callback), 2)
25 cb = MyCallback(callback)
27 self.assertTrue(grc(callback) > 2)
34 self.assertEqual(grc(callback), 2)
H A Dtest_as_parameter.py63 def callback(v): function in function:BasicWrapTestCase.test_shorts
69 cb = CallBack(callback)
82 def callback(value): function in function:BasicWrapTestCase.test_callbacks
86 cb = MyCallback(callback)
93 cb = MyCallback(callback)
105 cb = AnotherCallback(callback)
110 # for the callback function.
119 def callback(value): function in function:BasicWrapTestCase.test_callbacks_2
124 cb = MyCallback(callback)
137 def callback(valu function in function:BasicWrapTestCase.test_longlong_callbacks
[all...]
H A Dtest_functions.py237 def callback(v): function in function:FunctionTestCase.test_shorts
243 cb = CallBack(callback)
257 def callback(value): function in function:FunctionTestCase.test_callbacks
261 cb = MyCallback(callback)
267 cb = MyCallback(callback)
275 cb = AnotherCallback(callback)
281 # for the callback function.
290 def callback(value): function in function:FunctionTestCase.test_callbacks_2
295 cb = MyCallback(callback)
308 def callback(valu function in function:FunctionTestCase.test_longlong_callbacks
405 def callback(*args): function in function:FunctionTestCase.test_sf1651235
[all...]
H A Dtest_callbacks.py12 def callback(self, *args): member in class:Callbacks
18 result = PROTO(self.callback)(arg)
26 result = PROTO(self.callback)(-3, arg)
95 # a memory leak. A callback function cannot return a non-integral
115 # Only "fundamental" result types are supported for callback
218 # Issue #8275: buggy handling of callback args under Win64
222 # All this function does is call the callback with its args squared
227 def callback(a, b, c, d, e): function in function:SampleCallbacksTestCase.test_callback_register_int
230 result = func(2, 3, 4, 5, 6, CALLBACK(callback))
231 self.assertEqual(result, callback(
245 def callback(a, b, c, d, e): function in function:SampleCallbacksTestCase.test_callback_register_double
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
H A Dtest_refcounts.py20 def callback(value): function in function:RefcountTestCase.test_1
24 self.assertEqual(grc(callback), 2)
25 cb = MyCallback(callback)
27 self.assertTrue(grc(callback) > 2)
34 self.assertEqual(grc(callback), 2)
H A Dtest_as_parameter.py63 def callback(v): function in function:BasicWrapTestCase.test_shorts
69 cb = CallBack(callback)
82 def callback(value): function in function:BasicWrapTestCase.test_callbacks
86 cb = MyCallback(callback)
93 cb = MyCallback(callback)
105 cb = AnotherCallback(callback)
110 # for the callback function.
119 def callback(value): function in function:BasicWrapTestCase.test_callbacks_2
124 cb = MyCallback(callback)
137 def callback(valu function in function:BasicWrapTestCase.test_longlong_callbacks
[all...]
H A Dtest_functions.py237 def callback(v): function in function:FunctionTestCase.test_shorts
243 cb = CallBack(callback)
257 def callback(value): function in function:FunctionTestCase.test_callbacks
261 cb = MyCallback(callback)
267 cb = MyCallback(callback)
275 cb = AnotherCallback(callback)
281 # for the callback function.
290 def callback(value): function in function:FunctionTestCase.test_callbacks_2
295 cb = MyCallback(callback)
308 def callback(valu function in function:FunctionTestCase.test_longlong_callbacks
405 def callback(*args): function in function:FunctionTestCase.test_sf1651235
[all...]
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/
H A Dpcm_extplug.h80 const snd_pcm_extplug_callback_t *callback; member in struct:snd_pcm_extplug
126 * transfer between source and destination; this is a required callback
H A Dcontrol_external.h116 const snd_ctl_ext_callback_t *callback; member in struct:snd_ctl_ext
241 * The access type bits stored in get_attribute callback
252 * find_elem callback returns this if no matching control element is found
H A Dpcm_ioplug.h94 const snd_pcm_ioplug_callback_t *callback; member in struct:snd_pcm_ioplug
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/alsa/
H A Dpcm_extplug.h80 const snd_pcm_extplug_callback_t *callback; member in struct:snd_pcm_extplug
126 * transfer between source and destination; this is a required callback
H A Dcontrol_external.h116 const snd_ctl_ext_callback_t *callback; member in struct:snd_ctl_ext
241 * The access type bits stored in get_attribute callback
252 * find_elem callback returns this if no matching control element is found
H A Dpcm_ioplug.h94 const snd_pcm_ioplug_callback_t *callback; member in struct:snd_pcm_ioplug
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/alsa/
H A Dpcm_extplug.h80 const snd_pcm_extplug_callback_t *callback; member in struct:snd_pcm_extplug
126 * transfer between source and destination; this is a required callback
H A Dcontrol_external.h116 const snd_ctl_ext_callback_t *callback; member in struct:snd_ctl_ext
241 * The access type bits stored in get_attribute callback
252 * find_elem callback returns this if no matching control element is found
H A Dpcm_ioplug.h94 const snd_pcm_ioplug_callback_t *callback; member in struct:snd_pcm_ioplug
/prebuilts/tools/darwin-x86/sdl/include/SDL/
H A DSDL_audio.h62 * - 'desired->callback' should be set to a function that will be called
68 * - 'desired->userdata' is passed as the first parameter to your callback
88 * Once the callback returns, the buffer will no longer be valid.
91 void (SDLCALL *callback)(void *userdata, Uint8 *stream, int len); member in struct:SDL_AudioSpec
165 * data passed to the callback function will be guaranteed to be in the
172 * for your audio callback function to be called. Since the audio driver
190 * This function pauses and unpauses the audio callback processing.
193 * data for your callback function after opening the audio device.
262 * The lock manipulated by these functions protects the callback function.
264 * callback functio
[all...]
/prebuilts/tools/linux-x86/sdl/include/SDL/
H A DSDL_audio.h62 * - 'desired->callback' should be set to a function that will be called
68 * - 'desired->userdata' is passed as the first parameter to your callback
88 * Once the callback returns, the buffer will no longer be valid.
91 void (SDLCALL *callback)(void *userdata, Uint8 *stream, int len); member in struct:SDL_AudioSpec
165 * data passed to the callback function will be guaranteed to be in the
172 * for your audio callback function to be called. Since the audio driver
190 * This function pauses and unpauses the audio callback processing.
193 * data for your callback function after opening the audio device.
262 * The lock manipulated by these functions protects the callback function.
264 * callback functio
[all...]
/prebuilts/tools/windows/sdl/include/SDL/
H A DSDL_audio.h62 * - 'desired->callback' should be set to a function that will be called
68 * - 'desired->userdata' is passed as the first parameter to your callback
88 * Once the callback returns, the buffer will no longer be valid.
91 void (SDLCALL *callback)(void *userdata, Uint8 *stream, int len); member in struct:SDL_AudioSpec
165 * data passed to the callback function will be guaranteed to be in the
172 * for your audio callback function to be called. Since the audio driver
190 * This function pauses and unpauses the audio callback processing.
193 * data for your callback function after opening the audio device.
262 * The lock manipulated by these functions protects the callback function.
264 * callback functio
[all...]
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/
H A Dsoundfont.h68 * Type of the sample access callback
94 struct snd_sf_callback callback; /* callback functions */ member in struct:snd_sf_list
108 struct snd_sf_list *snd_sf_new(struct snd_sf_callback *callback,
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/
H A Dsoundfont.h68 * Type of the sample access callback
94 struct snd_sf_callback callback; /* callback functions */ member in struct:snd_sf_list
108 struct snd_sf_list *snd_sf_new(struct snd_sf_callback *callback,

Completed in 583 milliseconds

1234567891011>>