Searched refs:callback (Results 1 - 25 of 589) sorted by relevance

1234567891011>>

/external/lldb/test/lang/c/function_types/
H A Dmain.c19 int (*callback)(const char *) = string_not_empty;
21 return callback(0); // Set break point at this line.
/external/v8/test/webkit/
H A Dstrict-callback-this.js42 function testArrayPrototypeSort(callback)
45 [1,2].sort(callback);
52 function testArrayPrototypeFilter(callback)
55 [1,2].filter(callback);
62 function testArrayPrototypeMap(callback)
65 [1,2].map(callback);
72 function testArrayPrototypeEvery(callback)
75 [1,2].every(callback);
82 function testArrayPrototypeForEach(callback)
85 [1,2].forEach(callback);
[all...]
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DtmpCallbackHandler.java26 import javax.security.auth.callback.Callback;
27 import javax.security.auth.callback.CallbackHandler;
28 import javax.security.auth.callback.UnsupportedCallbackException;
35 public void handle(Callback[] callback) throws IOException, argument
37 if (callback == null) {
38 throw new UnsupportedCallbackException(null, "callback is null");
40 if (callback.length == 0) {
41 throw new UnsupportedCallbackException(null, "callback is empty");
/external/mesa3d/src/glsl/
H A Dir_hierarchical_visitor.cpp30 this->callback = NULL;
38 if (this->callback != NULL)
39 this->callback(ir, this->data);
47 if (this->callback != NULL)
48 this->callback(ir, this->data);
56 if (this->callback != NULL)
57 this->callback(ir, this->data);
65 if (this->callback != NULL)
66 this->callback(ir, this->data);
74 if (this->callback !
[all...]
H A Dir_basic_block.h25 void (*callback)(ir_instruction *first,
H A Dir_basic_block.cpp53 void (*callback)(ir_instruction *first,
71 callback(leader, ir, data);
74 call_for_basic_blocks(&ir_if->then_instructions, callback, data);
75 call_for_basic_blocks(&ir_if->else_instructions, callback, data);
77 callback(leader, ir, data);
79 call_for_basic_blocks(&ir_loop->body_instructions, callback, data);
81 callback(leader, ir, data);
98 call_for_basic_blocks(&ir_sig->body, callback, data);
104 callback(leader, last, data);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowRemoteCallbackList.java21 final E callback; field in class:ShadowRemoteCallbackList.Callback
24 Callback(E callback, Object cookie) { argument
25 this.callback = callback;
31 callbacks.remove(callback.asBinder());
33 onCallbackDied(callback, cookie);
38 public boolean register(E callback) { argument
39 return register(callback, null);
43 public boolean register(E callback, Object cookie) { argument
48 IBinder binder = callback
61 unregister(E callback) argument
84 onCallbackDied(E callback) argument
87 onCallbackDied(E callback, Object cookie) argument
[all...]
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/lib/jsdom/
H A Dparsing_unit.js7 this.callback = null;
49 ParsingUnit.prototype.done = function (callback) {
50 this.callback = callback;
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/
H A DInterceptFieldEnabled.java19 void setInterceptFieldCallback(InterceptFieldCallback callback); argument
H A DAccessFieldTransformer.java26 private Callback callback; field in class:AccessFieldTransformer
28 public AccessFieldTransformer(Callback callback) { argument
29 this.callback = callback;
39 String property = TypeUtils.upperFirst(callback.getPropertyName(getClassType(), name));
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DDispatcherTest.java18 RecordingCallback callback = new RecordingCallback(); field in class:DispatcherTest
44 client.newCall(newRequest("http://a/1")).enqueue(callback);
50 client.newCall(newRequest("http://a/1")).enqueue(callback);
51 client.newCall(newRequest("http://a/2")).enqueue(callback);
52 client.newCall(newRequest("http://b/1")).enqueue(callback);
53 client.newCall(newRequest("http://b/2")).enqueue(callback);
59 client.newCall(newRequest("http://a/1")).enqueue(callback);
60 client.newCall(newRequest("http://a/2")).enqueue(callback);
61 client.newCall(newRequest("http://a/3")).enqueue(callback);
67 client.newCall(newRequest("http://a/1")).enqueue(callback);
[all...]
/external/v8/src/
H A Dobject-observe.js21 // 2) CallbackInfo. This represents a callback used for observation. It holds
22 // the records which must be delivered to the callback, as well as the global
23 // priority of the callback (which determines delivery order between
30 // change records pending to a callback.
167 // An Observer is a registration to observe an object by a callback with
170 // to the callback. An observer never changes its accept types and thus never
172 function ObserverCreate(callback, acceptList) {
174 return callback;
176 observer.callback = callback;
[all...]
/external/elfutils/src/libdwfl/
H A Ddwfl_getdwarf.c33 int (*callback) (Dwfl_Module *, void **, member in struct:module_callback_info
46 return (*info->callback) (mod, userdata, name, start, dw, bias, info->arg);
51 int (*callback) (Dwfl_Module *, void **,
57 struct module_callback_info info = { callback, arg };
/external/google-breakpad/src/client/ios/
H A DBreakpadController.h105 - (void)withBreakpadRef:(void(^)(BreakpadRef))callback;
120 - (void)hasReportToUpload:(void(^)(BOOL))callback;
123 - (void)getCrashReportCount:(void(^)(int))callback;
126 // - If upload is disabled, callback will be called with (nil, -1).
127 // - If a delay is to be waited before sending, callback will be called with
129 // - if no delay is needed, callback will be called with (0, configuration),
132 (void(^)(NSDictionary*, int))callback;
/external/libxml2/python/tests/
H A Dctxterror.py17 def callback(arg,msg,severity,reserved): function
24 parserCtxt.setErrorHandler(callback, "-->")
25 if parserCtxt.getErrorHandler() != (callback,"-->"):
42 parserCtxt.setErrorHandler(callback, "-->")
/external/lldb/source/Target/
H A DThreadPlanShouldStopHere.cpp26 ThreadPlanShouldStopHere::ThreadPlanShouldStopHere(ThreadPlan *owner, ThreadPlanShouldStopHereCallback callback, void *baton) : argument
27 m_callback (callback),
42 ThreadPlanShouldStopHere::SetShouldStopHereCallback (ThreadPlanShouldStopHereCallback callback, void *baton) argument
44 m_callback = callback;
63 log->Printf ("ShouldStopHere callback found a step out plan from 0x%" PRIx64 ": %s.", current_addr, s.GetData());
67 log->Printf ("ShouldStopHere callback didn't find a step out plan from: 0x%" PRIx64 ".", current_addr);
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Dpreemption.c32 * 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/protobuf/java/src/main/java/com/google/protobuf/
H A DRpcController.java81 * canceled, the "done" callback will still be called and the RpcController
102 * server side only. The server should still call the final "done" callback.
107 * Asks that the given callback be called when the RPC is canceled. The
108 * parameter passed to the callback will always be {@code null}. The
109 * callback will always be called exactly once. If the RPC completes without
110 * being canceled, the callback will be called after completion. If the RPC
111 * has already been canceled when NotifyOnCancel() is called, the callback
117 void notifyOnCancel(RpcCallback<Object> callback); argument
/external/v8/test/webkit/fast/js/
H A DPromise-resolve-with-then-exception.js28 var callback; variable
/external/google-breakpad/src/processor/testdata/
H A Dlinux_test_app.cc54 static bool callback(const char *dump_path, const char *id, function in namespace:__anon5245
75 google_breakpad::ExceptionHandler eh(".", NULL, callback, NULL, true);
H A Dtest_app.cc41 static bool callback(const wchar_t *dump_path, const wchar_t *id, function in namespace:__anon5246
64 L".", NULL, callback, NULL,
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
H A DFactory.java32 * @param callback the new interceptor to use
35 Object newInstance(Callback callback); argument
56 * @param index the callback index
57 * @return the callback implementation
62 * Set the callback for this object for the given type.
63 * @param index the callback index to replace
64 * @param callback the new callback
66 void setCallback(int index, Callback callback); argument
H A DCallbackHelper.java39 Object callback = getCallback(method);
40 if (callback == null)
42 boolean isCallback = callback instanceof Callback;
43 if (!(isCallback || (callback instanceof Class)))
47 Integer index = (Integer)indexes.get(callback);
50 indexes.put(callback, index);
53 callbacks.add(callback);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DCameraTest.java110 TestPreviewCallback callback = new TestPreviewCallback();
111 assertThat(callback.camera, nullValue());
112 assertThat(callback.data, nullValue());
114 camera.setPreviewCallback(callback);
117 assertThat(callback.camera, sameInstance(camera));
118 assertThat(callback.data, equalTo("foobar".getBytes()));
123 TestPreviewCallback callback = new TestPreviewCallback();
124 assertThat(callback.camera, nullValue());
125 assertThat(callback.data, nullValue());
127 camera.setOneShotPreviewCallback(callback);
235 addCallback(Callback callback) argument
264 removeCallback(Callback callback) argument
[all...]
/external/dhcpcd/
H A Deloop.c44 void (*callback)(void *); member in struct:event
52 void (*callback)(void *); member in struct:timeout
63 add_event(int fd, void (*callback)(void *), void *arg)
67 /* We should only have one callback monitoring the fd */
70 e->callback = callback;
84 e->callback = callback;
114 const struct timeval *when, void (*callback)(void *), void *arg)
129 if (t->callback
[all...]

Completed in 1001 milliseconds

1234567891011>>