Lines Matching defs:callback
573 // for recompilation and add the respective compilation units. The callback is
580 // Add the callback to be called on compilation events. Needs to be
582 // events. The callback object must support being deleted from any thread.
583 void AddCallback(std::unique_ptr<CompilationEventCallback> callback);
841 std::unique_ptr<CompilationEventCallback> callback) {
842 return Impl(this)->AddCallback(std::move(callback));
1731 // Keep this callback alive to be able to record caching metrics.
1828 // The callback captures a shared ptr to the semaphore.
1965 // Install a callback to notify us once background recompilation finished.
1987 // The callback captures a shared ptr to the semaphore.
2298 // This callback is only being called from a foreground task.
2687 // Also, set a callback to sample the code size after top-tier compilation
2688 // finished. This callback will *not* keep the NativeModule alive.
2959 // callback from the embedder.
3376 // Trigger callback if module needs no recompilation.
3390 std::unique_ptr<CompilationEventCallback> callback) {
3398 callback->call(event);
3405 callbacks_.emplace_back(std::move(callback));
3658 for (auto& callback : callbacks_) {
3659 callback->call(event.first);