/external/python/cpython2/Lib/ctypes/test/ |
test_callbacks.py | 14 def callback(self, *args): member in class:Callbacks 20 result = PROTO(self.callback)(arg) 28 result = PROTO(self.callback)(-3, arg) 97 # a memory leak. A callback function cannot return a non-integral 118 # Only "fundamental" result types are supported for callback 170 CALLBACK = CFUNCTYPE(c_double, c_double) 174 integrate.argtypes = (c_double, c_double, CALLBACK, c_long) 180 result = integrate(0.0, 1.0, CALLBACK(func), 10) 216 # Issue #8275: buggy handling of callback args under Win64 219 CALLBACK = CFUNCTYPE(c_int, c_int, c_int, c_int, c_int, c_int 225 def callback(a, b, c, d, e): function in function:SampleCallbacksTestCase.test_callback_register_int 243 def callback(a, b, c, d, e): function in function:SampleCallbacksTestCase.test_callback_register_double 261 def callback(check, s): function in function:SampleCallbacksTestCase.test_callback_large_struct [all...] |
/external/python/cpython3/Lib/ctypes/test/ |
test_callbacks.py | 14 def callback(self, *args): member in class:Callbacks 20 result = PROTO(self.callback)(arg) 28 result = PROTO(self.callback)(-3, arg) 91 # a memory leak. A callback function cannot return a non-integral 112 # Only "fundamental" result types are supported for callback 164 CALLBACK = CFUNCTYPE(c_double, c_double) 168 integrate.argtypes = (c_double, c_double, CALLBACK, c_long) 174 result = integrate(0.0, 1.0, CALLBACK(func), 10) 210 # Issue #8275: buggy handling of callback args under Win64 213 CALLBACK = CFUNCTYPE(c_int, c_int, c_int, c_int, c_int, c_int 219 def callback(a, b, c, d, e): function in function:SampleCallbacksTestCase.test_callback_register_int 237 def callback(a, b, c, d, e): function in function:SampleCallbacksTestCase.test_callback_register_double 255 def callback(check, s): function in function:SampleCallbacksTestCase.test_callback_large_struct [all...] |
/art/test/922-properties/ |
properties.cc | 41 auto callback = [&](jint i) -> jstring { local 50 jobjectArray ret = CreateObjectArray(env, count, "java/lang/String", callback);
|
/bionic/libc/bionic/ |
system_property_api.cpp | 79 void (*callback)(void* cookie, const char* name, 82 return system_properties.ReadCallback(pi, callback, cookie);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TimerProgressBar.java | 95 * @param callback Callback that should be executed after the progress bar is filled completely (i.e. timer expires) 97 public void start(long duration, long stepSize, TimerExpiredCallback callback) { 102 mTimerExpiredCallback = callback; 109 * Fill the progress bar completely. Timer expired callback won't be executed.
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/ |
CallbackUtils.java | 74 * Wait (blocks) for any AttachCallback callback or timeout. 76 * @return A pair of values: the callback constant (or TIMEOUT) and the WifiAwareSession 91 * callback. 108 * Wait (blocks) for the onIdentityChanged callback or a timeout. 110 * @return The MAC address returned by the onIdentityChanged() callback, or null on timeout. 145 * Wait (blocks) for Capabilities Changed callback - or timesout. 177 * callback. 180 public CallbackData(int callback) { 181 this.callback = callback; 184 public int callback; field in class:CallbackUtils.DiscoveryCb.CallbackData [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
ApplyOverrideConfigurationTest.java | 62 Future<Configuration> callback = local 67 final Configuration callbackConfig = callback.get();
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
DalvCode.java | 120 * given callback to perform lookups. This must be called before 123 * @param callback {@code non-null;} callback object 125 public void assignIndices(AssignIndicesCallback callback) { 126 unprocessedInsns.assignIndices(callback); 220 * Class used as a callback for {@link #assignIndices}.
|
/dalvik/dx/src/com/android/dx/dex/code/ |
DalvCode.java | 119 * given callback to perform lookups. This must be called before 122 * @param callback {@code non-null;} callback object 124 public void assignIndices(AssignIndicesCallback callback) { 125 unprocessedInsns.assignIndices(callback); 219 * Class used as a callback for {@link #assignIndices}.
|
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/ |
MyAutofillService.kt | 36 callback: FillCallback) { 63 callback.onSuccess(responseBuilder.build()) 69 callback.onSuccess(response) 73 override fun onSaveRequest(request: SaveRequest, callback: SaveCallback) {
|
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/ |
MyAutofillService.kt | 36 callback: FillCallback) { 63 callback.onSuccess(responseBuilder.build()) 69 callback.onSuccess(response) 73 override fun onSaveRequest(request: SaveRequest, callback: SaveCallback) {
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
KubeRenderer.java | 34 public KubeRenderer(GLWorld world, AnimationCallback callback) { 36 mCallback = callback;
|
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
CompatTabHoneycomb.java | 56 public CompatTab setTabListener(CompatTabListener callback) { 57 mCallback = callback;
|
/device/google/cuttlefish_common/host/commands/virtual_usb_manager/vadb/ |
usb_cmd_control_transfer.cpp | 24 usbip::Device::AsyncTransferReadyCB callback) 25 : data_(std::move(data)), callback_(std::move(callback)) {
|
usb_cmd_data_transfer.cpp | 24 usbip::Device::AsyncTransferReadyCB callback) 25 : data_(std::move(data)), callback_(std::move(callback)) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_weakref.py | 41 def callback(self, ref):
member in class:TestBase 70 ref1 = weakref.ref(o, self.callback)
71 ref2 = weakref.ref(o, self.callback)
78 "callback not called the right number of times")
84 # reference in the callback invoked on the second reference
91 def callback(object, self=self):
function in function:ReferencesTestCase.test_multiple_selfref_callbacks 94 self.ref = weakref.ref(c, callback)
95 ref1 = weakref.ref(c, callback)
101 ref1 = weakref.proxy(o, self.callback)
102 ref2 = weakref.proxy(o, self.callback)
650 def callback(*args): function in function:ReferencesTestCase.check_gc_during_creation 785 def callback(w): function in function:SubclassableWeakrefTestCase.test_subclass_refs_with_cycle [all...] |
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz77support/ |
LZ77Compressor.java | 50 * and emits {@link Block}s to a registered callback where the blocks 53 * markers}. In order to ensure the callback receives all information, 108 * {@link Callback#accept} immediately as it will get overwritten 197 * Callback invoked while the compressor processes data. 199 * <p>The callback is invoked on the same thread that receives the 203 public interface Callback { 216 private final Callback callback; field in class:LZ77Compressor 252 * Initializes a compressor with parameters and a callback. 254 * @param callback the callbac [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_freebsd.h | 129 #define xdl_iterate_phdr(callback, param) \ 130 (((xdl_iterate_phdr_t*) dl_iterate_phdr)((callback), (param)))
|
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/ |
sound_system_echo.cpp | 67 bool SoundSystemEcho::init(WriteCallback callback) { 71 mWriteCallback = callback;
|
/external/grpc-grpc/src/cpp/server/ |
dynamic_thread_pool.cc | 107 void DynamicThreadPool::Add(const std::function<void()>& callback) { 110 callbacks_.push(callback);
|
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/ |
ServerSafeHandle.cs | 63 public void ShutdownAndNotify(BatchCompletionDelegate callback, CompletionQueueSafeHandle completionQueue) 69 var ctx = completionQueue.CompletionRegistry.RegisterBatchCompletion(callback, null); 74 public void RequestCall(RequestCallCompletionDelegate callback, CompletionQueueSafeHandle completionQueue) 78 var ctx = completionQueue.CompletionRegistry.RegisterRequestCallCompletion(callback);
|
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_channel/ |
_channel.py | 29 def subscribe(self, callback, try_to_connect=False): 32 def unsubscribe(self, callback):
|
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_server/ |
_servicer_context.py | 41 def add_callback(self, callback): 42 return self._rpc.add_callback(callback)
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
ListenerCallQueue.java | 33 * executor. Each callback task can be enqueued and executed as separate phases. 42 abstract static class Callback<L> { 45 Callback(String methodCall) { 51 /** Helper method to add this callback to all the queues. */ 62 @GuardedBy("this") private final Queue<Callback<L>> waitQueue = Queues.newArrayDeque(); 71 synchronized void add(Callback<L> callback) { 72 waitQueue.add(callback); 105 Callback<L> nextToRun; 122 "Exception while executing callback: " + listener + "." + nextToRun.methodCall, [all...] |
/external/libchrome/dbus/ |
property.h | 16 #include "base/callback.h" 46 // const PropertyChangedCallback callback) 47 // : dbus::PropertySet(object_proxy, "com.example.DBus", callback) { 99 // in a type-safe manner, and assuming the PropertyChanged callback is 109 // successful. The updated value can be obtained in the callback using the 114 // A new value can be set using the Set() method, the callback indicates 213 // Callback for changes to cached values of properties, either notified 216 typedef base::Callback<void(const std::string& name)> PropertyChangedCallback; 222 // |property_changed_callback| specifies the callback for when properties 223 // are changed, this may be a NULL callback [all...] |