/external/python/cpython2/Demo/tkinter/matt/ |
H A D | subclass-existing-widgets.py | 7 def callback(self): member in class:New_Button 21 f.hi_there.config(command=f.hi_there.callback)
|
/external/python/cpython2/Lib/test/crashers/ |
H A D | mutation_inside_cyclegc.py | 4 # Moreover, it can invoke arbitrary Python code via a weakref callback. 18 def callback(x): function 28 keepalive.append(weakref.ref(a, callback))
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
H A D | preemption.c | 32 * A callback to notify the client application that a device's display has 41 * Configure the display preemption callback. 44 VdpPreemptionCallback callback, 43 vlVdpPreemptionCallbackRegister(VdpDevice device, VdpPreemptionCallback callback, void *context) argument
|
/external/libbrillo/brillo/dbus/ |
H A D | dbus_method_invoker.cc | 10 void TranslateErrorResponse(const AsyncErrorCallback& callback, argument 12 if (!callback.is_null()) { 18 callback.Run(error.get());
|
H A D | dbus_param_reader_unittest.cc | 23 auto callback = [&called]() { called = true; }; local 24 EXPECT_TRUE(DBusParamReader<false>::Invoke(callback, &reader, nullptr)); 34 auto callback = [&called](int param1) { local 39 (DBusParamReader<false, int>::Invoke(callback, &reader, nullptr))); 52 auto callback = [&called](bool p1, int p2, const VariantDictionary& p3) { local 60 callback, &reader, nullptr))); 73 auto callback = [&called](bool param1, int param2) { local 80 (DBusParamReader<false, bool, int>::Invoke(callback, &reader, &error))); 93 auto callback = [&called](bool param1, int param2) { local 100 (DBusParamReader<false, bool, int>::Invoke(callback, 114 auto callback = [&called](bool param1, double param2) { local 132 auto callback = [&called](int* param1) { local 147 auto callback = [&called](int param1, double* param2) { local 163 auto callback = [&called](double* param1, int param2) { local 182 auto callback = [&called](bool p1, local 216 auto callback = [&called](bool param1, int param2, int* param3) { local 237 auto callback = [&called](bool param1, int param2, int* param3) { local [all...] |
/external/libbrillo/brillo/ |
H A D | process_reaper.h | 12 #include <base/callback.h> 22 // The callback called when a child exits. 39 // Watch for the child process |pid| to finish and call |callback| when the 41 // |callback| receives the exit status and exit code of the terminated process 45 const ChildCallback& callback); 61 ChildCallback callback; member in struct:brillo::final::WatchedProcess
|
/external/libese/apps/boot/card/src/com/android/verifiedboot/globalstate/callback/ |
H A D | CallbackInterface.java | 1 package com.android.verifiedboot.globalstate.callback;
|
/external/libxml2/python/tests/ |
H A D | ctxterror.py | 17 def callback(arg,msg,severity,reserved): function 24 parserCtxt.setErrorHandler(callback, "-->") 25 if parserCtxt.getErrorHandler() != (callback,"-->"): 42 parserCtxt.setErrorHandler(callback, "-->")
|
H A D | error.py | 14 def callback(ctx, str): function 20 libxml2.registerErrorHandler(callback, "-->")
|
H A D | xpathleak.py | 28 def callback(ctx, str): function 33 libxml2.registerErrorHandler(callback, "-->")
|
/external/nanopb-c/ |
H A D | pb_decode.h | 16 * a callback function to read the bytes from your storage, which can be 19 * The callback must conform to these rules: 24 * 3) Your callback may be used with substreams, in which case bytes_left 33 * gives an error if someone tries to assign callback function. 35 int *callback; member in struct:_pb_istream_t 37 bool (*callback)(pb_istream_t *stream, uint8_t *buf, size_t count); 40 void *state; /* Free field for use by callback implementation */
|
H A D | pb_encode.h | 16 * a callback function to write the bytes to your storage, which can be 19 * The callback must conform to these rules: 23 * 3) pb_write will update bytes_written after your callback runs. 32 * gives an error if someone tries to assign callback function. 36 int *callback; member in struct:_pb_ostream_t 38 bool (*callback)(pb_ostream_t *stream, const uint8_t *buf, size_t count); 40 void *state; /* Free field for use by callback implementation. */ 117 * structure. Call this from the callback before writing out field contents. */ 121 * if you want to write out packed arrays from a callback field. */
|
/external/webrtc/webrtc/base/ |
H A D | ssladapter.cc | 43 bool InitializeSSL(VerificationCallback callback) { argument 44 return OpenSSLAdapter::InitializeSSL(callback); 57 bool InitializeSSL(VerificationCallback callback) { argument
|
/external/c-ares/ |
H A D | ares_send.c | 42 ares_callback callback, void *arg) 51 callback(arg, ARES_EBADQUERY, 0, NULL, 0); 59 callback(arg, ARES_ENOMEM, 0, NULL, 0); 66 callback(arg, ARES_ENOMEM, 0, NULL, 0); 75 callback(arg, ARES_ENOMEM, 0, NULL, 0); 95 query->callback = callback; 41 ares_send(ares_channel channel, const unsigned char *qbuf, int qlen, ares_callback callback, void *arg) argument
|
/external/clang/test/Sema/ |
H A D | callingconv-cast.c | 19 void take_callback(callback_t callback); 23 void take_opaque_fn(void (*callback)(int)); 30 callback_t callback = (callback_t)mismatched; // warns local 31 (void)callback; 34 callback = (callback_t)&mismatched; // warns 37 callback = (callback_t)!mismatched; 40 callback = (callback_t)&mismatched_before_winapi; // warns
|
/external/conscrypt/testing/src/main/java/tests/util/ |
H A D | ForEachRunner.java | 18 * Runner which executes the provided code under test (via a callback) for each provided input 27 * Invokes the callback for the provided value. 33 * Invokes the provided callback for each of the provided named values. 39 public static <T> void runNamed(Callback<T> callback, Iterable<Pair<String, T>> namesAndValues) argument 43 callback.run(nameAndValue.getSecond());
|
/external/google-breakpad/src/processor/testdata/ |
H A D | linux_test_app.cc | 54 static bool callback(const char *dump_path, const char *id, function in namespace:__anon6994 75 google_breakpad::ExceptionHandler eh(".", NULL, callback, NULL, true);
|
/external/libchrome/base/profiler/ |
H A D | scoped_tracker.h | 47 // Augments a |callback| with provided |location|. This is useful for 48 // instrumenting cases when we know that a jank is in a callback and there are 51 // passes the janky callback. 55 const base::Callback<void(P1)>& callback) { 57 callback); 61 // Executes |callback|, augmenting it with provided |location|. 64 const base::Callback<void(P1)>& callback, 67 callback.Run(p1); 53 TrackCallback( const Location& location, const base::Callback<void(P1)>& callback) argument 63 ExecuteAndTrackCallback(const Location& location, const base::Callback<void(P1)>& callback, P1 p1) argument
|
/external/lzma/CPP/7zip/UI/Common/ |
H A D | UpdateProduce.cpp | 15 IUpdateProduceCallback *callback)
30 if (pair.ArcIndex >= 0 && callback)
31 callback->ShowDeleteFile(pair.ArcIndex);
11 UpdateProduce( const CRecordVector<CUpdatePair> &updatePairs, const CActionSet &actionSet, CRecordVector<CUpdatePair2> &operationChain, IUpdateProduceCallback *callback) argument
|
/external/mesa3d/src/gallium/drivers/swr/ |
H A D | swr_fence_work.h | 28 SWR_WORK_CALLBACK_FUNC callback; member in struct:swr_fence_work
|
/external/syslinux/com32/lib/syslinux/ |
H A D | memscan.c | 63 int syslinux_scan_memory(scan_memory_callback_t callback, void *data) argument 69 rv = entry->func(callback, data);
|
/external/autotest/frontend/client/src/autotest/common/ |
H A D | XhrJsonRpcProxy.java | 28 protected void sendRequest(JSONObject request, final JsonRpcCallback callback) { argument 30 requestBuilder.sendRequest(request.toString(), new RpcHandler(callback)); 34 callback.onError(null); 42 private JsonRpcCallback callback; field in class:XhrJsonRpcProxy.RpcHandler 44 public RpcHandler(JsonRpcCallback callback) { argument 45 this.callback = callback; 51 callback.onError(null); 63 callback.onError(null); 67 handleResponseText(responseText, callback); 71 handleResponseText(String responseText, JsonRpcCallback callback) argument [all...] |
/external/autotest/frontend/client/src/autotest/common/table/ |
H A D | Filter.java | 23 public void addCallback(SimpleCallback callback) { argument 24 callbacks.add(callback); 27 public void removeCallback(SimpleCallback callback) { argument 28 callbacks.remove(callback); 32 for (SimpleCallback callback : callbacks) { 33 callback.doCallback(this);
|
/external/autotest/frontend/client/src/autotest/moblab/wizard/ |
H A D | CloudStorageCard.java | 106 public void validate(final CardValidationCallback callback) { argument 119 callback.onValidationStatus( 125 callback.onValidationStatus( 133 callback.onValidationStatus( 144 callback.onValidationStatus(status); 147 CloudStorageCard.super.validate(callback);
|
/external/autotest/tko/ |
H A D | jsonp_fetcher.cgi | 10 %(callback)s(%(result)s); 18 callback = form['callback'].value variable 33 print script % dict(callback=callback, result=encoded_result)
|