Home
last modified time | relevance | path

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

12345678910>>...15

/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/syslinux/core/lwip/src/netif/ppp/
Dfsm.c93 #define PROTO_NAME(f) ((f)->callbacks->proto_name)
171 if( f->callbacks->starting ) { in fsm_lowerdown()
172 (*f->callbacks->starting)(f); in fsm_lowerdown()
190 if( f->callbacks->down ) { in fsm_lowerdown()
191 (*f->callbacks->down)(f); in fsm_lowerdown()
219 if( f->callbacks->starting ) { in fsm_open()
220 (*f->callbacks->starting)(f); in fsm_open()
296 } else if( f->callbacks->down ) { in fsm_close()
297 (*f->callbacks->down)(f); /* Inform upper layers we're down */ in fsm_close()
333 if( f->callbacks->finished ) { in fsm_timeout()
[all …]
/external/tensorflow/tensorflow/contrib/keras/api/keras/callbacks/
D__init__.py21 from tensorflow.python.keras._impl.keras.callbacks import BaseLogger
22 from tensorflow.python.keras._impl.keras.callbacks import Callback
23 from tensorflow.python.keras._impl.keras.callbacks import CSVLogger
24 from tensorflow.python.keras._impl.keras.callbacks import EarlyStopping
25 from tensorflow.python.keras._impl.keras.callbacks import History
26 from tensorflow.python.keras._impl.keras.callbacks import LambdaCallback
27 from tensorflow.python.keras._impl.keras.callbacks import LearningRateScheduler
28 from tensorflow.python.keras._impl.keras.callbacks import ModelCheckpoint
29 from tensorflow.python.keras._impl.keras.callbacks import ProgbarLogger
30 from tensorflow.python.keras._impl.keras.callbacks import ReduceLROnPlateau
[all …]
/external/tensorflow/tensorflow/python/keras/callbacks/
D__init__.py21 from tensorflow.python.keras._impl.keras.callbacks import BaseLogger
22 from tensorflow.python.keras._impl.keras.callbacks import Callback
23 from tensorflow.python.keras._impl.keras.callbacks import CSVLogger
24 from tensorflow.python.keras._impl.keras.callbacks import EarlyStopping
25 from tensorflow.python.keras._impl.keras.callbacks import History
26 from tensorflow.python.keras._impl.keras.callbacks import LambdaCallback
27 from tensorflow.python.keras._impl.keras.callbacks import LearningRateScheduler
28 from tensorflow.python.keras._impl.keras.callbacks import ModelCheckpoint
29 from tensorflow.python.keras._impl.keras.callbacks import ProgbarLogger
30 from tensorflow.python.keras._impl.keras.callbacks import ReduceLROnPlateau
[all …]
/external/libvncserver/webclients/novnc/include/chrome-app/
Dtcp-client.js37 this.callbacks = { property in anonymousFunction6053b4b00100.TcpClient
65 this.callbacks.connect = callback;
93 this.callbacks.sent = callback;
114 this.callbacks.sent = callback;
129 this.callbacks.recvString = callback;
131 this.callbacks.recvBuffer = callback;
143 this.callbacks.disconnect = callback;
155 if (this.callbacks.disconnect) {
156 this.callbacks.disconnect();
193 if (this.callbacks.connect) {
[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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowRemoteCallbackList.java13 private final HashMap<IBinder, Callback> callbacks = new HashMap<>(); field in ShadowRemoteCallbackList
28 synchronized (callbacks) { in binderDied()
29 callbacks.remove(callback.asBinder()); in binderDied()
42 synchronized (callbacks) { in register()
50 callbacks.put(binder, cb); in register()
60 synchronized (callbacks) { in unregister()
61 Callback cb = callbacks.remove(callback.asBinder()); in unregister()
72 synchronized (callbacks) { in kill()
73 for (Callback cb : callbacks.values()) { in kill()
76 callbacks.clear(); in kill()
[all …]
/external/robolectric/v1/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/tensorflow/tensorflow/python/keras/_impl/keras/
Dcallbacks_test.py90 keras.callbacks.ModelCheckpoint(
101 callbacks=cbks,
110 keras.callbacks.ModelCheckpoint(
121 callbacks=cbks,
131 keras.callbacks.ModelCheckpoint(
142 callbacks=cbks,
151 keras.callbacks.ModelCheckpoint(
162 callbacks=cbks,
170 keras.callbacks.ModelCheckpoint(
180 callbacks=cbks,
[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/elfutils/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/mesa3d/src/amd/addrlib/core/
Daddrobject.cpp48 m_client.callbacks.allocSysMem = NULL; in AddrObject()
49 m_client.callbacks.freeSysMem = NULL; in AddrObject()
50 m_client.callbacks.debugPrint = NULL; in AddrObject()
92 if (pClient->callbacks.allocSysMem != NULL) in ClientAlloc()
101 pObjMem = pClient->callbacks.allocSysMem(&allocInput); in ClientAlloc()
133 if (pClient->callbacks.freeSysMem != NULL) in ClientFree()
143 pClient->callbacks.freeSysMem(&freeInput); in ClientFree()
227 if (m_client.callbacks.debugPrint != NULL) in DebugPrint()
240 m_client.callbacks.debugPrint(&debugPrintInput); in DebugPrint()
/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.c102 struct nl_cb *callbacks = NULL; in getinterface_ip() local
116 callbacks = nl_cb_alloc(NL_CB_DEFAULT); in getinterface_ip()
117 if(!callbacks) { in getinterface_ip()
120 nl_cb_set(callbacks, NL_CB_VALID, NL_CB_CUSTOM, getaddr_cb, &targ); in getinterface_ip()
121 nl_cb_err(callbacks, NL_CB_CUSTOM, error_handler, &targ); in getinterface_ip()
124 send_ifaddrmsg(RTM_GETADDR, NLM_F_REQUEST | NLM_F_ROOT, &ifa, callbacks); in getinterface_ip()
136 if(callbacks) in getinterface_ip()
137 nl_cb_put(callbacks); in getinterface_ip()
/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/
Dtcp-server.js42 this.callbacks = { property in anonymousFunction6e7d04880100.TcpServer
86 this.callbacks.connect = callback;
182 if (this.callbacks.connect) {
183 this.callbacks.connect(tcpConnection, socketInfo);
197 this.callbacks = { property in anonymousFunction6e7d04880100.TcpConnection
222 this.callbacks.recv = callback;
240 if (!this.callbacks.recv) {
243 this.callbacks.recv = callback;
261 this.callbacks.sent = callback;
309 if (this.callbacks.recv) {
[all …]
/external/adhd/cras/src/server/
Dcras_alert.c32 struct cras_alert_cb_list *callbacks; member
63 DL_FOREACH(alert->callbacks, alert_cb) in cras_alert_add_callback()
72 DL_APPEND(alert->callbacks, alert_cb); in cras_alert_add_callback()
81 DL_FOREACH(alert->callbacks, alert_cb) in cras_alert_rm_callback()
83 DL_DELETE(alert->callbacks, alert_cb); in cras_alert_rm_callback()
105 DL_FOREACH(alert->callbacks, cb) in cras_alert_process()
111 DL_FOREACH(alert->callbacks, cb) in cras_alert_process()
164 DL_FOREACH(alert->callbacks, cb) { in cras_alert_destroy()
165 DL_DELETE(alert->callbacks, cb); in cras_alert_destroy()
174 alert->callbacks = NULL; in cras_alert_destroy()
/external/guice/core/src/com/google/inject/internal/
DProxyFactory.java59 private final Callback[] callbacks; field in ProxyFactory
85 callbacks = null; in ProxyFactory()
120 callbacks = null; in ProxyFactory()
126 callbacks = new Callback[methods.size()]; in ProxyFactory()
131 callbacks[i] = net.sf.cglib.proxy.NoOp.INSTANCE; in ProxyFactory()
142 callbacks[i] = new InterceptorStackCallback(pair.method, deDuplicated); in ProxyFactory()
163 Class<? extends Callback>[] callbackTypes = new Class[callbacks.length]; in create()
164 for (int i = 0; i < callbacks.length; i++) { in create()
165 if (callbacks[i] == net.sf.cglib.proxy.NoOp.INSTANCE) { in create()
178 return new ProxyConstructor<T>(enhancer, injectionPoint, callbacks, interceptors); in create()
[all …]
/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/aac/libMpegTPDec/src/
Dtpdec_lib.cpp139 CSTpCallBacks callbacks; /*!< Struct holding callback and its data */ member
299 err = CLatmDemux_ReadStreamMuxConfig(hBs, pLatmDemux, &hTp->callbacks, in transportDec_OutOfBandConfig()
309 &hTp->callbacks, configMode, in transportDec_OutOfBandConfig()
315 errC = hTp->callbacks.cbUpdateConfig( in transportDec_OutOfBandConfig()
316 hTp->callbacks.cbUpdateConfigData, &hTp->asc[layer], in transportDec_OutOfBandConfig()
325 err = DrmRawSdcAudioConfig_Parse(&hTp->asc[layer], hBs, &hTp->callbacks, in transportDec_OutOfBandConfig()
330 errC = hTp->callbacks.cbUpdateConfig( in transportDec_OutOfBandConfig()
331 hTp->callbacks.cbUpdateConfigData, &hTp->asc[layer], in transportDec_OutOfBandConfig()
347 errC = hTp->callbacks.cbFreeMem(hTp->callbacks.cbFreeMemData, in transportDec_OutOfBandConfig()
417 hTp->callbacks.cbFreeMem(hTp->callbacks.cbFreeMemData, in transportDec_InBandConfig()
[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/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()
207 process->callbacks = thread_callbacks; in dwfl_attach_state()
275 thread.tid = process->callbacks->next_thread (dwfl, in INTDEF()
346 if (process->callbacks->get_thread != NULL) in getthread()
353 if (process->callbacks->get_thread (dwfl, tid, process->callbacks_arg, in getthread()
429 if (! process->callbacks->set_initial_registers (thread, in INTDEF()
437 if (process->callbacks->thread_detach) in INTDEF()
438 process->callbacks->thread_detach (thread, thread->callbacks_arg); in INTDEF()
450 if (process->callbacks->thread_detach) in INTDEF()
[all …]
/external/libchrome/base/metrics/
Duser_metrics.cc58 std::vector<ActionCallback>* callbacks = g_callbacks.Pointer(); in RemoveActionCallback() local
59 for (size_t i = 0; i < callbacks->size(); ++i) { in RemoveActionCallback()
60 if ((*callbacks)[i].Equals(callback)) { in RemoveActionCallback()
61 callbacks->erase(callbacks->begin() + i); in RemoveActionCallback()

12345678910>>...15