Lines Matching refs:svc
36 void add_service_keycodes(Service* svc) in add_service_keycodes() argument
41 if (!svc->keycodes().empty()) { in add_service_keycodes()
43 size = sizeof(*keychord) + svc->keycodes().size() * sizeof(keychord->keycodes[0]); in add_service_keycodes()
55 keychord->count = svc->keycodes().size(); in add_service_keycodes()
56 svc->set_keychord_id(keychord->id); in add_service_keycodes()
58 for (i = 0; i < svc->keycodes().size(); i++) { in add_service_keycodes()
59 keychord->keycodes[i] = svc->keycodes()[i]; in add_service_keycodes()
79 Service* svc = ServiceManager::GetInstance().FindServiceByKeychord(id); in handle_keychord() local
80 if (svc) { in handle_keychord()
81 NOTICE("Starting service '%s' from keychord %d\n", svc->name().c_str(), id); in handle_keychord()
82 svc->Start(); in handle_keychord()