/external/OpenCSD/decoder/include/opencsd/c_api/ |
D | ocsd_c_api_cust_impl.h | 51 static inline ocsd_datapath_resp_t lib_cb_GenElemOp(const ocsd_extern_dcd_cb_fns *callbacks, in lib_cb_GenElemOp() argument 56 if (callbacks->fn_gen_elem_out) in lib_cb_GenElemOp() 57 return callbacks->fn_gen_elem_out(callbacks->lib_context, index_sop, trc_chan_id, elem); in lib_cb_GenElemOp() 61 static inline ocsd_err_t lib_cb_LogError(const ocsd_extern_dcd_cb_fns *callbacks, in lib_cb_LogError() argument 68 if (callbacks->fn_log_error) in lib_cb_LogError() 70 callbacks->fn_log_error(callbacks->lib_context, filter_level, code, idx, chan_id, pMsg); in lib_cb_LogError() 76 static inline ocsd_err_t lib_cb_LogMsg(const ocsd_extern_dcd_cb_fns *callbacks, in lib_cb_LogMsg() argument 80 if (callbacks->fn_log_msg) in lib_cb_LogMsg() 82 callbacks->fn_log_msg(callbacks->lib_context, filter_level, pMsg); in lib_cb_LogMsg() 88 static inline ocsd_err_t lib_cb_DecodeArmInst(const ocsd_extern_dcd_cb_fns *callbacks, in lib_cb_DecodeArmInst() argument [all …]
|
/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/python/keras/distribute/ |
D | distributed_training_utils_test.py | 21 from tensorflow.python.keras import callbacks 32 callbacks.TensorBoard(), 33 callbacks.CSVLogger(filename='./log.csv'), 34 callbacks.EarlyStopping(), 35 callbacks.ModelCheckpoint(filepath='./checkpoint'), 36 callbacks.TerminateOnNaN(), 37 callbacks.ProgbarLogger(), 38 callbacks.History(), 39 callbacks.RemoteMonitor() 46 callbacks.ReduceLROnPlateau(), [all …]
|
D | multi_worker_callback_tf2_test.py | 32 from tensorflow.python.keras import callbacks 123 callbacks=[ 124 callbacks.ModelCheckpoint( 162 callbacks=[callbacks.ModelCheckpoint(filepath=saving_filepath)]) 176 class InterruptingCallback(callbacks.Callback): 182 class AssertCallback(callbacks.Callback): 206 callbacks=[ 207 callbacks.ModelCheckpoint(filepath=saving_filepath), 208 callbacks.BackupAndRestore(backup_dir=bar_dir), 224 callbacks=[ [all …]
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_generator_v1.py | 32 from tensorflow.python.keras import callbacks as cbks 47 callbacks=None, argument 170 callbacks = cbks.configure_callbacks( 171 callbacks, 195 callbacks.model.stop_training = False 196 callbacks._call_begin_hook(mode) 201 if callbacks.model.stop_training: 208 callbacks.on_epoch_begin(epoch, epoch_logs) 227 callbacks.model.stop_training = True 240 callbacks.model.stop_training = True [all …]
|
D | training_distributed_v1.py | 33 from tensorflow.python.keras import callbacks as cbks 127 callbacks=None, argument 204 callbacks = cbks.configure_callbacks( 205 callbacks, 223 callbacks._call_begin_hook(mode) 229 callbacks.on_epoch_begin(epoch) 237 callbacks._call_batch_hook(mode, 'begin', step_index, batch_logs) 252 callbacks._call_batch_hook(mode, 'end', step_index, batch_logs) 256 if callbacks.model.stop_training: 273 callbacks=callbacks) [all …]
|
D | training_arrays_v1.py | 31 from tensorflow.python.keras import callbacks as cbks 53 callbacks=None, argument 217 callbacks = cbks.configure_callbacks( 218 callbacks, 253 callbacks.model.stop_training = False 254 callbacks._call_begin_hook(mode) 259 if callbacks.model.stop_training: 269 callbacks.on_epoch_begin(epoch, epoch_logs) 283 callbacks._call_batch_hook(mode, 'begin', step, batch_logs) 302 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/tensorflow/tensorflow/python/keras/ |
D | callbacks_test.py | 82 class Counter(keras.callbacks.Callback): 171 callbacks=[counter]) 206 callbacks=[counter]) 227 callbacks=[counter]) 238 callback_list = keras.callbacks.CallbackList([counter]) 287 class SleepCallback(keras.callbacks.Callback): 310 callbacks=[SleepCallback()]) 484 keras.callbacks.ModelCheckpoint( 495 callbacks=cbks, 504 keras.callbacks.ModelCheckpoint( [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/tpm2-tss/src/tss2-fapi/ |
D | ifapi_policy.c | 75 ifapi_policyeval_INST_CB *callbacks; in ifapi_calculate_tree() local 98 callbacks = &eval_ctx->callbacks; in ifapi_calculate_tree() 99 callbacks->cbname = ifapi_get_object_name; in ifapi_calculate_tree() 100 callbacks->cbname_userdata = context; in ifapi_calculate_tree() 101 callbacks->cbpublic = ifapi_get_key_public; in ifapi_calculate_tree() 102 callbacks->cbpublic_userdata = context; in ifapi_calculate_tree() 103 callbacks->cbnvpublic = ifapi_get_nv_public; in ifapi_calculate_tree() 104 callbacks->cbnvpublic_userdata = context; in ifapi_calculate_tree() 105 callbacks->cbpcr = ifapi_read_pcr; in ifapi_calculate_tree() 106 callbacks->cbpcr_userdata = context; in ifapi_calculate_tree() [all …]
|
D | ifapi_policy_instantiate.c | 76 ifapi_policyeval_INST_CB *callbacks) in ifapi_policyeval_instantiate_async() argument 81 context->callbacks = *callbacks; in ifapi_policyeval_instantiate_async() 199 r = context->callbacks.cbpublic(pol_element->element.PolicySigned.keyPath, in ifapi_policyeval_instantiate_finish() 201 context->callbacks.cbpublic_userdata); in ifapi_policyeval_instantiate_finish() 215 r = context->callbacks.cbname(pol_element->element.PolicyNameHash.namePaths[i], in ifapi_policyeval_instantiate_finish() 217 context->callbacks.cbname_userdata); in ifapi_policyeval_instantiate_finish() 233 r = context->callbacks.cbname(pol_element->element.PolicySecret.objectPath, in ifapi_policyeval_instantiate_finish() 235 context->callbacks.cbname_userdata); in ifapi_policyeval_instantiate_finish() 248 r = context->callbacks.cbpcr(&pol_element->element.PolicyPCR.currentPCRs, in ifapi_policyeval_instantiate_finish() 251 context->callbacks.cbpcr_userdata); in ifapi_policyeval_instantiate_finish() [all …]
|
D | ifapi_policyutil_execute.c | 55 pol_exec_ctx->callbacks.cbauth = ifapi_policyeval_cbauth; in new_policy() 56 pol_exec_ctx->callbacks.cbauth_userdata = context; in new_policy() 57 pol_exec_ctx->callbacks.cbpolsel = ifapi_branch_selection; in new_policy() 58 pol_exec_ctx->callbacks.cbpolsel_userdata = context; in new_policy() 59 pol_exec_ctx->callbacks.cbsign = ifapi_sign_buffer; in new_policy() 60 pol_exec_ctx->callbacks.cbsign_userdata = context; in new_policy() 61 pol_exec_ctx->callbacks.cbauthpol = ifapi_exec_auth_policy; in new_policy() 62 pol_exec_ctx->callbacks.cbauthpol_userdata = context; in new_policy() 63 pol_exec_ctx->callbacks.cbauthnv = ifapi_exec_auth_nv_policy; in new_policy() 64 pol_exec_ctx->callbacks.cbauthnv_userdata = context; in new_policy() [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/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 …]
|
/external/tpm2-tss/src/tss2-fapi/api/ |
D | fapi_callback.c | 58 context->callbacks.branch = callback; in Fapi_SetBranchCB() 59 context->callbacks.branchData = userData; in Fapi_SetBranchCB() 98 context->callbacks.auth = callback; in Fapi_SetAuthCB() 99 context->callbacks.authData = userData; in Fapi_SetAuthCB() 138 context->callbacks.sign = callback; in Fapi_SetSignCB() 139 context->callbacks.signData = userData; in Fapi_SetSignCB() 179 context->callbacks.action = callback; in Fapi_SetPolicyActionCB() 180 context->callbacks.actionData = userData; in Fapi_SetPolicyActionCB()
|
/external/mesa3d/src/amd/addrlib/src/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() 230 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/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/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/ |
D | tcp-server.js | 42 this.callbacks = { property in anonymousFunction1897a8f20100.TcpServer 86 this.callbacks.connect = callback; 182 if (this.callbacks.connect) { 183 this.callbacks.connect(tcpConnection, socketInfo); 197 this.callbacks = { property in anonymousFunction1897a8f20100.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/ |
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 …]
|