/external/ppp/pppd/ |
D | fsm.c | 69 #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/tensorflow/tensorflow/contrib/keras/api/keras/callbacks/ |
D | __init__.py | 21 from tensorflow.python.keras.callbacks import BaseLogger 22 from tensorflow.python.keras.callbacks import Callback 23 from tensorflow.python.keras.callbacks import CSVLogger 24 from tensorflow.python.keras.callbacks import EarlyStopping 25 from tensorflow.python.keras.callbacks import History 26 from tensorflow.python.keras.callbacks import LambdaCallback 27 from tensorflow.python.keras.callbacks import LearningRateScheduler 28 from tensorflow.python.keras.callbacks import ModelCheckpoint 29 from tensorflow.python.keras.callbacks import ProgbarLogger 30 from tensorflow.python.keras.callbacks import ReduceLROnPlateau [all …]
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_distributed.py | 31 from tensorflow.python.keras import callbacks as cbks 49 callbacks=None, argument 60 distributed_training_utils.validate_callbacks(callbacks, model.optimizer) 112 callbacks=callbacks, 125 callbacks=callbacks, 142 callbacks=None): argument 157 model, dataset, verbose=verbose, steps=steps, callbacks=callbacks) 165 callbacks=callbacks) 173 callbacks=None): argument 189 model, dataset, verbose=verbose, steps=steps, callbacks=callbacks) [all …]
|
D | training_arrays.py | 31 from tensorflow.python.keras import callbacks as cbks 52 callbacks=None, argument 195 callbacks = cbks.configure_callbacks( 196 callbacks, 207 progbar.params = callbacks.params 229 callbacks.model.stop_training = False 230 callbacks._call_begin_hook(mode) 234 if callbacks.model.stop_training: 241 callbacks.on_epoch_begin(epoch, epoch_logs) 256 callbacks._call_batch_hook(mode, 'begin', step, batch_logs) [all …]
|
D | training_generator.py | 32 from tensorflow.python.keras import callbacks as cbks 46 callbacks=None, argument 165 callbacks = cbks.configure_callbacks( 166 callbacks, 177 progbar.params = callbacks.params 190 callbacks.model.stop_training = False 191 callbacks._call_begin_hook(mode) 194 if callbacks.model.stop_training: 201 callbacks.on_epoch_begin(epoch, epoch_logs) 221 callbacks.model.stop_training = True [all …]
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | sync_handle_registry.cc | 90 auto& callbacks = it->second.container(); in UnregisterEvent() local 94 for (auto& cb : callbacks) { in UnregisterEvent() 102 callbacks.erase(std::remove_if(callbacks.begin(), callbacks.end(), in UnregisterEvent() 106 callbacks.end()); in UnregisterEvent() 107 if (callbacks.empty()) in UnregisterEvent() 159 auto& callbacks = iter->second.container(); in Wait() local 160 for (size_t i = 0; i < callbacks.size(); ++i) { in Wait() 161 auto& callback = callbacks[i]; in Wait() 186 auto& callbacks = it->second.container(); in RemoveInvalidEventCallbacks() local 187 callbacks.erase( in RemoveInvalidEventCallbacks() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowRemoteCallbackList.java | 13 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/deqp/framework/platform/android/ |
D | tcuAndroidNativeActivity.cpp | 120 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/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | Http2Ping.java | 53 @GuardedBy("this") private Map<PingCallback, Executor> callbacks field in Http2Ping 97 callbacks.put(callback, executor); in addCallback() 124 Map<ClientTransport.PingCallback, Executor> callbacks; in complete() local 132 callbacks = this.callbacks; in complete() 133 this.callbacks = null; in complete() 135 for (Map.Entry<ClientTransport.PingCallback, Executor> entry : callbacks.entrySet()) { in complete() 148 Map<ClientTransport.PingCallback, Executor> callbacks; in failed() local 155 callbacks = this.callbacks; in failed() 156 this.callbacks = null; in failed() 158 for (Map.Entry<ClientTransport.PingCallback, Executor> entry : callbacks.entrySet()) { in failed()
|
/external/tensorflow/tensorflow/python/keras/ |
D | callbacks_test.py | 63 class Counter(keras.callbacks.Callback): 149 callbacks=[counter]) 178 model.evaluate(x, y, batch_size=2, callbacks=[counter]) 194 model.predict(x, batch_size=2, callbacks=[counter]) 205 callback_list = keras.callbacks.CallbackList([counter]) 304 keras.callbacks.ModelCheckpoint( 315 callbacks=cbks, 324 keras.callbacks.ModelCheckpoint( 335 callbacks=cbks, 345 keras.callbacks.ModelCheckpoint( [all …]
|
/external/libxml2/ |
D | testSAX.c | 63 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 …]
|
D | testlimits.c | 695 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/libvterm/src/ |
D | parser.c | 15 if(vt->parser.callbacks && vt->parser.callbacks->control) in do_control() 16 if((*vt->parser.callbacks->control)(control, vt->parser.cbdata)) in do_control() 35 if(vt->parser.callbacks && vt->parser.callbacks->csi) in do_csi() 36 if((*vt->parser.callbacks->csi)( in do_csi() 57 if(vt->parser.callbacks && vt->parser.callbacks->escape) in do_escape() 58 if((*vt->parser.callbacks->escape)(seq, len, vt->parser.cbdata)) in do_escape() 105 if(vt->parser.callbacks && vt->parser.callbacks->osc) in done_string() 106 if((*vt->parser.callbacks->osc)(str, len, vt->parser.cbdata)) in done_string() 113 if(vt->parser.callbacks && vt->parser.callbacks->dcs) in done_string() 114 if((*vt->parser.callbacks->dcs)(str, len, vt->parser.cbdata)) in done_string() [all …]
|
D | screen.c | 46 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() 391 if(screen->callbacks && screen->callbacks->movecursor) in movecursor() 392 return (*screen->callbacks->movecursor)(pos, oldpos, visible, screen->cbdata); in movecursor() 461 if(screen->callbacks && screen->callbacks->settermprop) in settermprop() [all …]
|
/external/mesa3d/src/amd/addrlib/core/ |
D | addrobject.cpp | 51 m_client.callbacks.allocSysMem = NULL; in Object() 52 m_client.callbacks.freeSysMem = NULL; in Object() 53 m_client.callbacks.debugPrint = NULL; in Object() 95 if (pClient->callbacks.allocSysMem != NULL) in ClientAlloc() 104 pObjMem = pClient->callbacks.allocSysMem(&allocInput); in ClientAlloc() 137 if (pClient->callbacks.freeSysMem != NULL) in ClientFree() 147 pClient->callbacks.freeSysMem(&freeInput); in ClientFree() 217 if (m_client.callbacks.debugPrint != NULL) in DebugPrint() 226 m_client.callbacks.debugPrint(&debugPrintInput); in DebugPrint()
|
/external/android-clat/ |
D | netlink_msg.c | 128 void send_netlink_msg(struct nl_msg *msg, struct nl_cb *callbacks) { in send_netlink_msg() argument 140 nl_recvmsgs(nl_sk, callbacks); in send_netlink_msg() 153 void send_ifaddrmsg(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa, struct nl_cb *callbacks) { in send_ifaddrmsg() argument 159 send_netlink_msg(msg, callbacks); in send_ifaddrmsg() 169 struct nl_cb *callbacks = NULL; in netlink_sendrecv() local 172 callbacks = alloc_ack_callbacks(&retval); in netlink_sendrecv() 173 if (!callbacks) { in netlink_sendrecv() 177 send_netlink_msg(msg, callbacks); in netlink_sendrecv() 179 nl_cb_put(callbacks); in netlink_sendrecv()
|
D | netlink_callbacks.c | 58 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()
|
D | getaddr.c | 101 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) nl_cb_put(callbacks); in getinterface_ip()
|
/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/ |
D | tcp-server.js | 42 this.callbacks = { property in anonymousFunction5d816d940100.TcpServer 86 this.callbacks.connect = callback; 182 if (this.callbacks.connect) { 183 this.callbacks.connect(tcpConnection, socketInfo); 197 this.callbacks = { property in anonymousFunction5d816d940100.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/tensorflow/tensorflow/core/grappler/utils/ |
D | traversal.cc | 49 const DfsCallbacks& callbacks) { in DfsTraversal() argument 78 if (callbacks.post_order) { in DfsTraversal() 79 callbacks.post_order(graph_view.GetNode(w.node)); in DfsTraversal() 86 if (callbacks.on_back_edge) { in DfsTraversal() 87 callbacks.on_back_edge(graph_view.GetNode(w.src), in DfsTraversal() 94 if (callbacks.pre_order) { in DfsTraversal() 95 callbacks.pre_order(graph_view.GetNode(w.node)); in DfsTraversal() 121 TraversalDirection direction, const DfsCallbacks& callbacks) { in DfsTraversal() argument 122 DfsTraversal(graph_view, from, direction, {}, callbacks); in DfsTraversal()
|
/external/adhd/cras/src/server/ |
D | cras_alert.c | 32 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/ |
D | ProxyFactory.java | 55 private final Callback[] callbacks; field in ProxyFactory 81 callbacks = null; in ProxyFactory() 117 callbacks = null; in ProxyFactory() 123 callbacks = new Callback[methods.size()]; in ProxyFactory() 128 callbacks[i] = net.sf.cglib.proxy.NoOp.INSTANCE; in ProxyFactory() 139 callbacks[i] = new InterceptorStackCallback(pair.method, deDuplicated); in ProxyFactory() 160 Class<? extends Callback>[] callbackTypes = new Class[callbacks.length]; in create() 161 for (int i = 0; i < callbacks.length; i++) { in create() 162 if (callbacks[i] == net.sf.cglib.proxy.NoOp.INSTANCE) { in create() 175 return new ProxyConstructor<T>(enhancer, injectionPoint, callbacks, interceptors); in create() [all …]
|
/external/aac/libMpegTPDec/src/ |
D | tpdec_lib.cpp | 139 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/ |
D | disassembler.py | 31 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/swiftshader/third_party/llvm-7.0/llvm/bindings/python/llvm/ |
D | disassembler.py | 31 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,
|