Home
last modified time | relevance | path

Searched refs:callbacks (Results 1 – 25 of 187) sorted by relevance

12345678

/external/ppp/pppd/
Dfsm.c69 #define PROTO_NAME(f) ((f)->callbacks->proto_name)
138 if( f->callbacks->starting )
139 (*f->callbacks->starting)(f);
156 if( f->callbacks->down )
157 (*f->callbacks->down)(f);
177 if( f->callbacks->starting )
178 (*f->callbacks->starting)(f);
217 else if( f->callbacks->down )
218 (*f->callbacks->down)(f); /* Inform upper layers we're down */
232 if( f->callbacks->finished )
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
DCallbackHelper.java30 private List callbacks = new ArrayList(); field in CallbackHelper
45 if (i > 0 && ((callbacks.get(i - 1) instanceof Callback) ^ isCallback)) in CallbackHelper()
49 index = new Integer(callbacks.size()); in CallbackHelper()
53 callbacks.add(callback); in CallbackHelper()
61 if (callbacks.size() == 0) in getCallbacks()
63 if (callbacks.get(0) instanceof Callback) { in getCallbacks()
64 return (Callback[])callbacks.toArray(new Callback[callbacks.size()]); in getCallbacks()
72 if (callbacks.size() == 0) in getCallbackTypes()
74 if (callbacks.get(0) instanceof Callback) { in getCallbackTypes()
77 return (Class[])callbacks.toArray(new Class[callbacks.size()]); in getCallbackTypes()
DEnhancer.java134 private Callback[] callbacks; field in Enhancer
217 public void setCallbacks(Callback[] callbacks) { in setCallbacks() argument
218 if (callbacks != null && callbacks.length == 0) { in setCallbacks()
221 this.callbacks = callbacks; in setCallbacks()
328 if (classOnly ^ (callbacks == null)) { in validate()
338 if (callbacks != null && callbackTypes != null) { in validate()
339 if (callbacks.length != callbackTypes.length) { in validate()
342 Type[] check = CallbackInfo.determineTypes(callbacks); in validate()
348 } else if (callbacks != null) { in validate()
349 callbackTypes = CallbackInfo.determineTypes(callbacks); in validate()
[all …]
DFactory.java42 Object newInstance(Callback[] callbacks); in newInstance() argument
52 Object newInstance(Class[] types, Object[] args, Callback[] callbacks); in newInstance() argument
72 void setCallbacks(Callback[] callbacks); in setCallbacks() argument
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowRemoteCallbackList.java15 private HashMap<IBinder, Callback> callbacks = new HashMap<IBinder, Callback>(); field in ShadowRemoteCallbackList
30 synchronized (callbacks) { in binderDied()
31 callbacks.remove(callback.asBinder()); in binderDied()
44 synchronized (callbacks) { in register()
52 callbacks.put(binder, cb); in register()
62 synchronized (callbacks) { in unregister()
63 Callback cb = callbacks.remove(callback.asBinder()); in unregister()
74 synchronized (callbacks) { in kill()
75 for (Callback cb : callbacks.values()) { in kill()
78 callbacks.clear(); in kill()
[all …]
/external/deqp/framework/platform/android/
DtcuAndroidNativeActivity.cpp120 activity->callbacks->onStart = onStartCallback; in NativeActivity()
121 activity->callbacks->onResume = onResumeCallback; in NativeActivity()
122 activity->callbacks->onSaveInstanceState = onSaveInstanceStateCallback; in NativeActivity()
123 activity->callbacks->onPause = onPauseCallback; in NativeActivity()
124 activity->callbacks->onStop = onStopCallback; in NativeActivity()
125 activity->callbacks->onDestroy = onDestroyCallback; in NativeActivity()
126 activity->callbacks->onWindowFocusChanged = onWindowFocusChangedCallback; in NativeActivity()
127 activity->callbacks->onNativeWindowCreated = onNativeWindowCreatedCallback; in NativeActivity()
128 activity->callbacks->onNativeWindowResized = onNativeWindowResizedCallback; in NativeActivity()
129 activity->callbacks->onNativeWindowRedrawNeeded = onNativeWindowRedrawNeededCallback; in NativeActivity()
[all …]
/external/libxml2/
DtestSAX.c63 static int callbacks = 0; variable
258 callbacks++; in isStandaloneDebug()
276 callbacks++; in hasInternalSubsetDebug()
294 callbacks++; in hasExternalSubsetDebug()
311 callbacks++; in internalSubsetDebug()
335 callbacks++; in externalSubsetDebug()
366 callbacks++; in resolveEntityDebug()
401 callbacks++; in getEntityDebug()
420 callbacks++; in getParameterEntityDebug()
451 callbacks++; in entityDeclDebug()
[all …]
Dtestlimits.c695 unsigned long callbacks = 0; variable
708 callbacks++; in isStandaloneCallback()
723 callbacks++; in hasInternalSubsetCallback()
738 callbacks++; in hasExternalSubsetCallback()
754 callbacks++; in internalSubsetCallback()
770 callbacks++; in externalSubsetCallback()
793 callbacks++; in resolveEntityCallback()
810 callbacks++; in getEntityCallback()
827 callbacks++; in getParameterEntityCallback()
851 callbacks++; in entityDeclCallback()
[all …]
/external/android-clat/
Dnetlink_msg.c127 void send_netlink_msg(struct nl_msg *msg, struct nl_cb *callbacks) { in send_netlink_msg() argument
143 nl_recvmsgs(nl_sk, callbacks); in send_netlink_msg()
157 void send_ifaddrmsg(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa, struct nl_cb *callbacks) { in send_ifaddrmsg() argument
164 send_netlink_msg(msg, callbacks); in send_ifaddrmsg()
174 struct nl_cb *callbacks = NULL; in netlink_sendrecv() local
177 callbacks = alloc_ack_callbacks(&retval); in netlink_sendrecv()
178 if(!callbacks) { in netlink_sendrecv()
182 send_netlink_msg(msg, callbacks); in netlink_sendrecv()
184 nl_cb_put(callbacks); in netlink_sendrecv()
Dnetlink_callbacks.c58 struct nl_cb *callbacks; in alloc_ack_callbacks() local
60 callbacks = nl_cb_alloc(NL_CB_DEFAULT); in alloc_ack_callbacks()
61 if(!callbacks) { in alloc_ack_callbacks()
64 nl_cb_set(callbacks, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, retval); in alloc_ack_callbacks()
65 nl_cb_err(callbacks, NL_CB_CUSTOM, error_handler, retval); in alloc_ack_callbacks()
66 return callbacks; in alloc_ack_callbacks()
Dgetaddr.c101 struct nl_cb *callbacks = NULL; in getinterface_ip() local
115 callbacks = nl_cb_alloc(NL_CB_DEFAULT); in getinterface_ip()
116 if(!callbacks) { in getinterface_ip()
119 nl_cb_set(callbacks, NL_CB_VALID, NL_CB_CUSTOM, getaddr_cb, &targ); in getinterface_ip()
120 nl_cb_err(callbacks, NL_CB_CUSTOM, error_handler, &targ); in getinterface_ip()
123 send_ifaddrmsg(RTM_GETADDR, NLM_F_REQUEST | NLM_F_ROOT, &ifa, callbacks); in getinterface_ip()
135 if(callbacks) in getinterface_ip()
136 nl_cb_put(callbacks); in getinterface_ip()
/external/elfutils/src/src/
Dld.h286 struct callbacks struct
294 DL_CALL_FCT ((state)->callbacks.lib_extensions, (state)) argument
305 DL_CALL_FCT ((state)->callbacks.file_process, (fd, file, state, nextp)) argument
310 DL_CALL_FCT ((state)->callbacks.file_close, (file, state)) argument
322 DL_CALL_FCT ((state)->callbacks.create_sections, (state)) argument
327 DL_CALL_FCT ((state)->callbacks.flag_unresolved, (state)) argument
333 DL_CALL_FCT ((state)->callbacks.generate_sections, (state)) argument
339 DL_CALL_FCT ((state)->callbacks.open_outfile, (state, machine, class, data)) argument
344 DL_CALL_FCT ((state)->callbacks.create_outfile, (state)) argument
350 DL_CALL_FCT ((state)->callbacks.relocate_section, (state, outscn, first, \ argument
[all …]
/external/ceres-solver/internal/ceres/
Dminimizer_test.cc52 solver_options.callbacks.push_back(&callback0); in TEST()
53 solver_options.callbacks.push_back(&callback1); in TEST()
56 ASSERT_EQ(2, minimizer_options.callbacks.size()); in TEST()
58 EXPECT_EQ(minimizer_options.callbacks[0], &callback0); in TEST()
59 EXPECT_EQ(minimizer_options.callbacks[1], &callback1); in TEST()
73 solver_options.callbacks.push_back(&callback); in TEST()
91 solver_options.callbacks.push_back(&callback); in TEST()
/external/libvterm/src/
Dscreen.c46 const VTermScreenCallbacks *callbacks; member
156 if(screen->callbacks && screen->callbacks->damage) in damagerect()
157 (*screen->callbacks->damage)(emit, screen->cbdata); in damagerect()
211 if(screen->callbacks && screen->callbacks->sb_pushline && in moverect_internal()
220 (screen->callbacks->sb_pushline)(screen->cols, screen->sb_buffer, screen->cbdata); in moverect_internal()
251 if(screen->callbacks && screen->callbacks->moverect) { in moverect_user()
256 if((*screen->callbacks->moverect)(dest, src, screen->cbdata)) in moverect_user()
387 if(screen->callbacks && screen->callbacks->movecursor) in movecursor()
388 return (*screen->callbacks->movecursor)(pos, oldpos, visible, screen->cbdata); in movecursor()
454 if(screen->callbacks && screen->callbacks->settermprop) in settermprop()
[all …]
Dstate.c30 if(state->callbacks && state->callbacks->putglyph) in putglyph()
31 if((*state->callbacks->putglyph)(&info, pos, state->cbdata)) in putglyph()
45 if(state->callbacks && state->callbacks->movecursor) in updatecursor()
46 …if((*state->callbacks->movecursor)(state->pos, *oldpos, state->mode.cursor_visible, state->cbdata)) in updatecursor()
52 if(state->callbacks && state->callbacks->erase) in erase()
53 if((*state->callbacks->erase)(rect, selective, state->cbdata)) in erase()
100 if(state->callbacks && state->callbacks->scrollrect) in scroll()
101 if((*state->callbacks->scrollrect)(rect, downward, rightward, state->cbdata)) in scroll()
104 if(state->callbacks) in scroll()
106 state->callbacks->moverect, state->callbacks->erase, state->cbdata); in scroll()
[all …]
/external/llvm/bindings/python/llvm/
Ddisassembler.py31 callbacks = {} variable
77 callbacks['op_info'](0), callbacks['symbol_lookup'](0))
151 callbacks['op_info'], callbacks['symbol_lookup']]
164 callbacks['op_info'] = CFUNCTYPE(c_int, c_void_p, c_uint64, c_uint64, c_uint64,
166 callbacks['symbol_lookup'] = CFUNCTYPE(c_char_p, c_void_p, c_uint64,
/external/elfutils/src/libdwfl/
Ddwfl_frame.c113 if (process->callbacks->detach != NULL) in __libdwfl_process_free()
114 process->callbacks->detach (dwfl, process->callbacks_arg); in __libdwfl_process_free()
206 process->callbacks = thread_callbacks; in dwfl_attach_state()
274 thread.tid = process->callbacks->next_thread (dwfl, in INTDEF()
345 if (process->callbacks->get_thread != NULL) in getthread()
352 if (process->callbacks->get_thread (dwfl, tid, process->callbacks_arg, in getthread()
428 if (! process->callbacks->set_initial_registers (thread, in INTDEF()
436 if (process->callbacks->thread_detach) in INTDEF()
437 process->callbacks->thread_detach (thread, thread->callbacks_arg); in INTDEF()
449 if (process->callbacks->thread_detach) in INTDEF()
[all …]
Ddwfl_begin.c32 dwfl_begin (const Dwfl_Callbacks *callbacks) in dwfl_begin() argument
45 dwfl->callbacks = callbacks; in dwfl_begin()
/external/nanopb-c/tests/callbacks/
DSConscript5 env.NanopbProto("callbacks")
6 enc = env.Program(["encode_callbacks.c", "callbacks.pb.c", "$COMMON/pb_encode.o"])
7 dec = env.Program(["decode_callbacks.c", "callbacks.pb.c", "$COMMON/pb_decode.o"])
12 env.Decode(["encode_callbacks.output", "callbacks.proto"], MESSAGE = "TestMessage")
/external/freetype/src/cff/
Dcf2ft.c120 cf2_builder_moveTo( CF2_OutlineCallbacks callbacks, in cf2_builder_moveTo() argument
124 CF2_Outline outline = (CF2_Outline)callbacks; in cf2_builder_moveTo()
142 cf2_builder_lineTo( CF2_OutlineCallbacks callbacks, in cf2_builder_lineTo() argument
148 CF2_Outline outline = (CF2_Outline)callbacks; in cf2_builder_lineTo()
166 if ( !*callbacks->error ) in cf2_builder_lineTo()
167 *callbacks->error = error; in cf2_builder_lineTo()
178 if ( !*callbacks->error ) in cf2_builder_lineTo()
179 *callbacks->error = error; in cf2_builder_lineTo()
186 cf2_builder_cubeTo( CF2_OutlineCallbacks callbacks, in cf2_builder_cubeTo() argument
192 CF2_Outline outline = (CF2_Outline)callbacks; in cf2_builder_cubeTo()
[all …]
/external/pdfium/third_party/freetype/src/cff/
Dcf2ft.c120 cf2_builder_moveTo( CF2_OutlineCallbacks callbacks, in cf2_builder_moveTo() argument
124 CF2_Outline outline = (CF2_Outline)callbacks; in cf2_builder_moveTo()
142 cf2_builder_lineTo( CF2_OutlineCallbacks callbacks, in cf2_builder_lineTo() argument
148 CF2_Outline outline = (CF2_Outline)callbacks; in cf2_builder_lineTo()
166 if ( !*callbacks->error ) in cf2_builder_lineTo()
167 *callbacks->error = error; in cf2_builder_lineTo()
178 if ( !*callbacks->error ) in cf2_builder_lineTo()
179 *callbacks->error = error; in cf2_builder_lineTo()
186 cf2_builder_cubeTo( CF2_OutlineCallbacks callbacks, in cf2_builder_cubeTo() argument
192 CF2_Outline outline = (CF2_Outline)callbacks; in cf2_builder_cubeTo()
[all …]
/external/mesa3d/src/egl/wayland/wayland-drm/
Dwayland-drm.c45 struct wayland_drm_callbacks *callbacks; member
54 drm->callbacks->release_buffer(drm->user_data, buffer); in destroy_buffer()
96 drm->callbacks->reference_buffer(drm->user_data, name, buffer); in create_buffer()
172 if (drm->callbacks->authenticate(drm->user_data, id) < 0) in drm_authenticate()
211 struct wayland_drm_callbacks *callbacks, void *user_data) in wayland_drm_init() argument
219 drm->callbacks = callbacks; in wayland_drm_init()
/external/aac/libMpegTPDec/src/
Dtpdec_lib.cpp123 CSTpCallBacks callbacks; /*!< Struct holding callback and its data */ member
238 … err = CLatmDemux_ReadStreamMuxConfig(hBs, pLatmDemux, &hTp->callbacks, hTp->asc, &fConfigFound); in transportDec_OutOfBandConfig()
246 err = AudioSpecificConfig_Parse(&hTp->asc[layer], hBs, 1, &hTp->callbacks); in transportDec_OutOfBandConfig()
250 errC = hTp->callbacks.cbUpdateConfig(hTp->callbacks.cbUpdateConfigData, &hTp->asc[layer]); in transportDec_OutOfBandConfig()
270 hTpDec->callbacks.cbUpdateConfig = cbUpdateConfig; in transportDec_RegisterAscCallback()
271 hTpDec->callbacks.cbUpdateConfigData = user_data; in transportDec_RegisterAscCallback()
280 hTpDec->callbacks.cbSsc = cbSsc; in transportDec_RegisterSscCallback()
281 hTpDec->callbacks.cbSscData = user_data; in transportDec_RegisterSscCallback()
290 hTpDec->callbacks.cbSbr = cbSbr; in transportDec_RegisterSbrCallback()
291 hTpDec->callbacks.cbSbrData = user_data; in transportDec_RegisterSbrCallback()
[all …]
/external/v8/test/mjsunit/
Dnumber-string-index-call.js28 var callbacks = [ function() {return 'foo'}, "nonobject", /abc/ ]; variable
29 assertEquals('foo', callbacks['0']());
/external/aac/libMpegTPEnc/src/
Dtpenc_lib.cpp139 CSTpCallBacks callbacks; member
302 &hTpEnc->callbacks in transportEnc_Init()
341 hTpEnc->callbacks.cbSbr = cbSbr; in transportEnc_RegisterSbrCallback()
342 hTpEnc->callbacks.cbSbrData = user_data; in transportEnc_RegisterSbrCallback()
397 &hTp->callbacks in transportEnc_WriteAccessUnit()
590 tpErr = CreateStreamMuxConfig(hLatmConfig, dataBuffer, 0, &hTpEnc->callbacks); in transportEnc_GetConf()
594 if (transportEnc_writeASC(dataBuffer, cc, &hTpEnc->callbacks) != 0) { in transportEnc_GetConf()

12345678