Searched refs:add_task (Results 1 – 5 of 5) sorted by relevance
68 int (*add_task)(void (*callback)(void *data), member439 int cras_system_set_add_task_handler(int (*add_task)(void (*cb)(void *data), in cras_system_set_add_task_handler()444 if (state.add_task != NULL) in cras_system_set_add_task_handler()447 state.add_task = add_task; in cras_system_set_add_task_handler()454 if (state.add_task == NULL) in cras_system_add_task()457 return state.add_task(callback, callback_data, state.task_data); in cras_system_add_task()
202 int cras_system_set_add_task_handler(int (*add_task)(void (*cb)(void *data),
305 static int add_task(void (*cb)(void *data), in add_task() function430 cras_system_set_add_task_handler(add_task, &server_instance); in cras_server_init()
202 def add_task(task, priority=0):
214 def add_task(task, priority=0):