Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 25 of 726) sorted by relevance

12345678910>>...30

/external/mesa3d/src/glsl/
Dir_hierarchical_visitor.cpp30 this->callback = NULL; in ir_hierarchical_visitor()
38 if (this->callback != NULL) in visit()
39 this->callback(ir, this->data); in visit()
47 if (this->callback != NULL) in visit()
48 this->callback(ir, this->data); in visit()
56 if (this->callback != NULL) in visit()
57 this->callback(ir, this->data); in visit()
65 if (this->callback != NULL) in visit()
66 this->callback(ir, this->data); in visit()
74 if (this->callback != NULL) in visit()
[all …]
Dir_basic_block.cpp53 void (*callback)(ir_instruction *first, in call_for_basic_blocks()
71 callback(leader, ir, data); in call_for_basic_blocks()
74 call_for_basic_blocks(&ir_if->then_instructions, callback, data); in call_for_basic_blocks()
75 call_for_basic_blocks(&ir_if->else_instructions, callback, data); in call_for_basic_blocks()
77 callback(leader, ir, data); in call_for_basic_blocks()
79 call_for_basic_blocks(&ir_loop->body_instructions, callback, data); in call_for_basic_blocks()
81 callback(leader, ir, data); in call_for_basic_blocks()
98 call_for_basic_blocks(&ir_sig->body, callback, data); in call_for_basic_blocks()
104 callback(leader, last, data); in call_for_basic_blocks()
/external/v8/test/webkit/
Dstrict-callback-this.js42 function testArrayPrototypeSort(callback) argument
45 [1,2].sort(callback);
52 function testArrayPrototypeFilter(callback) argument
55 [1,2].filter(callback);
62 function testArrayPrototypeMap(callback) argument
65 [1,2].map(callback);
72 function testArrayPrototypeEvery(callback) argument
75 [1,2].every(callback);
82 function testArrayPrototypeForEach(callback) argument
85 [1,2].forEach(callback);
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DDispatcherTest.java18 RecordingCallback callback = new RecordingCallback(); field in DispatcherTest
44 client.newCall(newRequest("http://a/1")).enqueue(callback); in enqueuedJobsRunImmediately()
50 client.newCall(newRequest("http://a/1")).enqueue(callback); in maxRequestsEnforced()
51 client.newCall(newRequest("http://a/2")).enqueue(callback); in maxRequestsEnforced()
52 client.newCall(newRequest("http://b/1")).enqueue(callback); in maxRequestsEnforced()
53 client.newCall(newRequest("http://b/2")).enqueue(callback); in maxRequestsEnforced()
59 client.newCall(newRequest("http://a/1")).enqueue(callback); in maxPerHostEnforced()
60 client.newCall(newRequest("http://a/2")).enqueue(callback); in maxPerHostEnforced()
61 client.newCall(newRequest("http://a/3")).enqueue(callback); in maxPerHostEnforced()
67 client.newCall(newRequest("http://a/1")).enqueue(callback); in increasingMaxRequestsPromotesJobsImmediately()
[all …]
/external/v8/test/mjsunit/es7/
Dobject-observe.js77 observer.callback = function(r) { function
93 assertEquals("function", typeof observer.callback);
94 assertEquals("function", typeof observer2.callback);
113 assertThrows(function() { Object.observe("non-object", observer.callback); },
115 assertThrows(function() { Object.observe(this, observer.callback); },
119 assertEquals(obj, Object.observe(obj, observer.callback, [1]));
120 assertEquals(obj, Object.observe(obj, observer.callback, [true]));
121 assertEquals(obj, Object.observe(obj, observer.callback, ['foo', null]));
122 assertEquals(obj, Object.observe(obj, observer.callback, [undefined]));
123 assertEquals(obj, Object.observe(obj, observer.callback,
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowRemoteCallbackList.java21 final E callback; field in ShadowRemoteCallbackList.Callback
24 Callback(E callback, Object cookie) { in Callback() argument
25 this.callback = callback; in Callback()
31 callbacks.remove(callback.asBinder()); in binderDied()
33 onCallbackDied(callback, cookie); in binderDied()
38 public boolean register(E callback) { in register() argument
39 return register(callback, null); in register()
43 public boolean register(E callback, Object cookie) { in register() argument
48 IBinder binder = callback.asBinder(); in register()
50 Callback cb = new Callback(callback, cookie); in register()
[all …]
/external/v8/src/
Dobject-observe.js172 function ObserverCreate(callback, acceptList) { argument
174 return callback;
176 observer.callback = callback;
182 return IS_SPEC_FUNCTION(observer) ? observer : observer.callback;
235 typeof changeObservers.callback === 'function';
245 var callback = ObserverGetCallback(observer);
246 var callbackInfo = CallbackInfoGet(callback);
253 function ObjectInfoAddObserver(objectInfo, callback, acceptList) { argument
254 var callbackInfo = CallbackInfoGetOrCreate(callback);
255 var observer = ObserverCreate(callback, acceptList);
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DCameraTest.java110 TestPreviewCallback callback = new TestPreviewCallback(); in testSetPreviewCallbacks() local
111 assertThat(callback.camera, nullValue()); in testSetPreviewCallbacks()
112 assertThat(callback.data, nullValue()); in testSetPreviewCallbacks()
114 camera.setPreviewCallback(callback); in testSetPreviewCallbacks()
117 assertThat(callback.camera, sameInstance(camera)); in testSetPreviewCallbacks()
118 assertThat(callback.data, equalTo("foobar".getBytes())); in testSetPreviewCallbacks()
123 TestPreviewCallback callback = new TestPreviewCallback(); in testSetOneShotPreviewCallbacks() local
124 assertThat(callback.camera, nullValue()); in testSetOneShotPreviewCallbacks()
125 assertThat(callback.data, nullValue()); in testSetOneShotPreviewCallbacks()
127 camera.setOneShotPreviewCallback(callback); in testSetOneShotPreviewCallbacks()
[all …]
/external/dhcpcd/
Deloop.c44 void (*callback)(void *); member
52 void (*callback)(void *); member
63 add_event(int fd, void (*callback)(void *), void *arg) in add_event()
70 e->callback = callback; in add_event()
84 e->callback = callback; in add_event()
114 const struct timeval *when, void (*callback)(void *), void *arg) in add_q_timeout_tv()
129 if (t->callback == callback && t->arg == arg) { in add_q_timeout_tv()
150 t->callback = callback; in add_q_timeout_tv()
174 add_q_timeout_sec(int queue, time_t when, void (*callback)(void *), void *arg) in add_q_timeout_sec()
180 add_q_timeout_tv(queue, &tv, callback, arg); in add_q_timeout_sec()
[all …]
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DWebSocketReaderTest.java38 private final WebSocketRecorder callback = new WebSocketRecorder(); field in WebSocketReaderTest
42 private final WebSocketReader serverReader = new WebSocketReader(false, data, callback);
43 private final WebSocketReader clientReader = new WebSocketReader(true, data, callback);
46 callback.assertExhausted(); in tearDown()
118 callback.assertTextMessage("Hello"); in clientSimpleHello()
124 callback.assertTextMessage("Hello"); in serverSimpleHello()
130 callback.assertTextMessage("Hello"); in clientFramePayloadShort()
136 callback.assertTextMessage("Hello"); in clientFramePayloadLong()
153 callback.setNextMessageDelegate(new MessageDelegate() { in serverHelloTwoChunks()
170 callback.assertTextMessage("Hello"); in clientTwoFrameHello()
[all …]
/external/nanopb-c/generator/google/protobuf/
Dservice_reflection.py144 rpc_controller, request, callback): argument
146 rpc_controller, request, callback)
157 rpc_controller, request, callback): argument
171 return method(rpc_controller, request, callback)
215 return lambda inst, rpc_controller, request, callback: (
216 self._NonImplementedMethod(method.name, rpc_controller, callback))
218 def _NonImplementedMethod(self, method_name, rpc_controller, callback): argument
227 callback(None)
266 return (lambda inst, rpc_controller, request, callback=None:
267 self._StubMethod(inst, method, rpc_controller, request, callback))
[all …]
/external/protobuf/python/google/protobuf/
Dservice_reflection.py144 rpc_controller, request, callback): argument
146 rpc_controller, request, callback)
157 rpc_controller, request, callback): argument
171 return method(rpc_controller, request, callback)
215 return lambda inst, rpc_controller, request, callback: (
216 self._NonImplementedMethod(method.name, rpc_controller, callback))
218 def _NonImplementedMethod(self, method_name, rpc_controller, callback): argument
227 callback(None)
266 return (lambda inst, rpc_controller, request, callback=None:
267 self._StubMethod(inst, method, rpc_controller, request, callback))
[all …]
/external/deqp/framework/delibs/deutil/
DdeTimer.c36 deTimerCallback callback; member
47 timer->callback(timer->callbackArg); in timerCallback()
50 deTimer* deTimer_create (deTimerCallback callback, void* arg) in deTimer_create() argument
57 timer->callback = callback; in deTimer_create()
162 deTimerCallback callback; member
173 timer->callback(timer->callbackArg); in timerCallback()
176 deTimer* deTimer_create (deTimerCallback callback, void* arg) in deTimer_create() argument
195 timer->callback = callback; in deTimer_create()
294 deTimerCallback callback; /*!< Callback function. */ member
306 deTimerCallback callback; /*!< Callback function. */ member
[all …]
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
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, in handle() argument
37 if (callback == null) { in handle()
40 if (callback.length == 0) { in handle()
/external/jmonkeyengine/engine/src/bullet-native/
Dcom_jme3_bullet_util_DebugShapeFactory.cpp43 jobject callback; member in DebugCallback
47 this->callback = object; in DebugCallback()
59 …env->CallVoidMethod(callback, jmeClasses::DebugMeshCallback_addVector, vertexA.getX(), vertexA.get… in processTriangle()
65 …env->CallVoidMethod(callback, jmeClasses::DebugMeshCallback_addVector, vertexB.getX(), vertexB.get… in processTriangle()
70 …env->CallVoidMethod(callback, jmeClasses::DebugMeshCallback_addVector, vertexC.getX(), vertexC.get… in processTriangle()
90 (JNIEnv *env, jclass clazz, jlong shapeId, jobject callback) { in Java_com_jme3_bullet_util_DebugShapeFactory_getVertices() argument
94 DebugCallback* clb = new DebugCallback(env, callback); in Java_com_jme3_bullet_util_DebugShapeFactory_getVertices()
129 …env->CallVoidMethod(callback, jmeClasses::DebugMeshCallback_addVector, vertexA.getX(), vertexA.get… in Java_com_jme3_bullet_util_DebugShapeFactory_getVertices()
134 …env->CallVoidMethod(callback, jmeClasses::DebugMeshCallback_addVector, vertexB.getX(), vertexB.get… in Java_com_jme3_bullet_util_DebugShapeFactory_getVertices()
139 …env->CallVoidMethod(callback, jmeClasses::DebugMeshCallback_addVector, vertexC.getX(), vertexC.get… in Java_com_jme3_bullet_util_DebugShapeFactory_getVertices()
/external/icu/icu4c/source/extra/uconv/resources/
Droot.txt35 "[ --to-callback callback | -c ] [ --from-callback callback | -i ] [ --callback callback ] "
53 " --to-callback callback use callback on destination encoding\n"
55 " --from-callback callback use callback on original encoding\n"
57 " --callback callback use callback on both encodings\n"
88 cantSetCallback { "Couldn''t set transcoding callback: {0}.\n" } // 0: err
90 unknownCallback { "Unknown callback: {0}.\n" } // 0: callback name
Dfr.txt35 "[ --to-callback callback | -c ] [ --from-callback callback | -i ] [ --callback callback ] "
55 " --to-callback callback utilise callback sur l''encodage cible\n"
57 " --from-callback callback utilise callback sur l''encodage source\n"
59 " --callback callback utilise callback sur les deux encodages\n"
91 unknownCallback { "Callback inconnu : {0}.\n" } // 0: callback name
/external/lldb/include/lldb/Utility/
DCleanUp.h67 CleanUp (value_type value, CallbackType callback) : in CleanUp() argument
70 m_callback (callback), in CleanUp()
81 CleanUp (value_type value, value_type invalid, CallbackType callback) : in CleanUp() argument
84 m_callback (callback), in CleanUp()
198 CleanUp2 (value_type value, CallbackType callback, A0 arg) : in CleanUp2() argument
201 m_callback (callback), in CleanUp2()
213 CleanUp2 (value_type value, value_type invalid, CallbackType callback, A0 arg) : in CleanUp2() argument
216 m_callback (callback), in CleanUp2()
/external/toybox/lib/
Ddirtree.c111 int (*callback)(struct dirtree *node)) in dirtree_handle_callback()
116 if (!callback) callback = dirtree_notdotdot; in dirtree_handle_callback()
117 flags = callback(new); in dirtree_handle_callback()
122 flags = dirtree_recurse(new, callback, flags); in dirtree_handle_callback()
139 int (*callback)(struct dirtree *node), int flags) in dirtree_recurse()
162 new = dirtree_handle_callback(new, callback); in dirtree_recurse()
172 flags = callback(node); in dirtree_recurse()
192 struct dirtree *dirtree_read(char *path, int (*callback)(struct dirtree *node)) in dirtree_read()
196 return root ? dirtree_handle_callback(root, callback) : DIRTREE_ABORTVAL; in dirtree_read()
/external/libnfc-nxp/Linux_x86/
DphOsalNfc_Timer.c49 ppCallBck_t callback; /*!< Callback to be called when timer expires. */ member
139 timer_msg->pCallBck = timers[timerid].callback; in phOsalNfc_Timer_Expired()
155 (timers[timerid].callback)(timerid, timers[timerid].pContext); in phOsalNfc_Timer_Expired()
181 if(timers[timerid].callback == NULL) in phOsalNfc_Timer_Create()
191 timers[timerid].callback = phOsalNfc_Timer_Dummy_Cb; in phOsalNfc_Timer_Create()
220 if(timers[TimerId].callback == NULL) in phOsalNfc_Timer_Start()
233 timers[TimerId].callback = Application_callback; in phOsalNfc_Timer_Start()
252 if(timers[TimerId].callback == NULL) in phOsalNfc_Timer_Stop()
271 if(timers[TimerId].callback == NULL) in phOsalNfc_Timer_Delete()
276 timers[TimerId].callback = NULL; in phOsalNfc_Timer_Delete()
/external/mdnsresponder/mDNSShared/
Ddnssd_clientshim.c57 DNSServiceRegisterReply callback; member
69 DNSServiceBrowseReply callback; member
78 DNSServiceGetAddrInfoReply callback; member
85 DNSServiceResolveReply callback; member
96 DNSServiceQueryRecordReply callback; member
133 DNSServiceDomainEnumReply callback, in DNSServiceEnumerateDomains() argument
140 (void)callback; // Unused in DNSServiceEnumerateDomains()
196 if (x->callback) in RegCallback()
197 x->callback((DNSServiceRef)x, 0, result, namestr, typestr, domstr, x->context); in RegCallback()
206 else if (x->callback) in RegCallback()
[all …]
/external/guava/guava-testlib/test/com/google/common/testing/
DTearDownStackTest.java50 final Callback callback = new Callback() { in testMultipleTearDownsHappenInOrder() local
58 final SimpleTearDown tearDownTwo = new SimpleTearDown(callback); in testMultipleTearDownsHappenInOrder()
146 Callback callback = null; field in TearDownStackTest.SimpleTearDown
150 public SimpleTearDown(Callback callback) { in SimpleTearDown() argument
151 this.callback = callback; in SimpleTearDown()
156 if (callback != null) { in tearDown()
157 callback.run(); in tearDown()
/external/linux-tools-perf/src/tools/perf/util/
Ddwarf-aux.c112 int (*callback)(Dwarf_Die *, void *), void *data) in cu_walk_functions_at()
123 ret = callback(sc_die, data); in cu_walk_functions_at()
374 int (*callback)(Dwarf_Die *, void *), in die_find_child()
385 ret = callback(die_mem, data); in die_find_child()
390 die_find_child(die_mem, callback, data, &child_die)) { in die_find_child()
505 int (*callback)(Dwarf_Die *, void *); member
537 iwp->retval = iwp->callback(inst, iwp->data); in __die_walk_instances_cb()
552 int die_walk_instances(Dwarf_Die *or_die, int (*callback)(Dwarf_Die *, void *), in die_walk_instances()
559 .callback = callback, in die_walk_instances()
575 line_walk_callback_t callback; member
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
DCallbackHelper.java39 Object callback = getCallback(method); in CallbackHelper() local
40 if (callback == null) in CallbackHelper()
42 boolean isCallback = callback instanceof Callback; in CallbackHelper()
43 if (!(isCallback || (callback instanceof Class))) in CallbackHelper()
47 Integer index = (Integer)indexes.get(callback); in CallbackHelper()
50 indexes.put(callback, index); in CallbackHelper()
53 callbacks.add(callback); in CallbackHelper()
/external/marisa-trie/lib/marisa/
Dtrie-c.cc13 FindCallback(const FindCallback &callback) in FindCallback() argument
14 : func_(callback.func_), first_arg_(callback.first_arg_) {} in FindCallback()
34 PredictCallback(const PredictCallback &callback) in PredictCallback() argument
35 : func_(callback.func_), first_arg_(callback.first_arg_) {} in PredictCallback()
240 int (*callback)(void *, marisa_uint32, size_t), in marisa_find_callback()
244 } else if (callback == NULL) { in marisa_find_callback()
249 ::FindCallback(callback, first_arg_to_callback)); in marisa_find_callback()
252 ::FindCallback(callback, first_arg_to_callback)); in marisa_find_callback()
302 int (*callback)(void *, marisa_uint32, const char *, size_t), in marisa_predict_callback()
306 } else if (callback == NULL) { in marisa_predict_callback()
[all …]

12345678910>>...30