Lines Matching refs:callback
38 debugDumpCbFunc *callback; member
48 debugDumpReadyCbFunc *callback; member
65 bool registerDebugDumpCallback(const char *name, debugDumpCbFunc *callback, in registerDebugDumpCallback() argument
68 return ashRegisterDebugDumpCallback(name, callback, cookie); in registerDebugDumpCallback()
71 gDumpCallback.callback = callback; in registerDebugDumpCallback()
77 void unregisterDebugDumpCallback(debugDumpCbFunc *callback) { in unregisterDebugDumpCallback() argument
79 ashUnregisterDebugDumpCallback(callback); in unregisterDebugDumpCallback()
81 UNUSED_VAR(callback); in unregisterDebugDumpCallback()
82 gDumpCallback.callback = nullptr; in unregisterDebugDumpCallback()
96 } else if (gDebugDumpState.callback != nullptr) { in commitDebugDump()
97 gDebugDumpState.callback(gDebugDumpState.cookie, debugStr, strlen(debugStr), in commitDebugDump()
110 if (gDumpCallback.callback != nullptr) { in triggerDebugDump()
111 gDebugDumpState.callback = readyCb; in triggerDebugDump()
114 gDumpCallback.callback(gDumpCallback.cookie, 0 /* handle */); in triggerDebugDump()