Home
last modified time | relevance | path

Searched refs:add_task (Results 1 – 5 of 5) sorted by relevance

/external/adhd/cras/src/server/
Dcras_system_state.c68 int (*add_task)(void (*callback)(void *data), member
439 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()
Dcras_system_state.h202 int cras_system_set_add_task_handler(int (*add_task)(void (*cb)(void *data),
Dcras_server.c305 static int add_task(void (*cb)(void *data), in add_task() function
430 cras_system_set_add_task_handler(add_task, &server_instance); in cras_server_init()
/external/python/cpython2/Doc/library/
Dheapq.rst202 def add_task(task, priority=0):
/external/python/cpython3/Doc/library/
Dheapq.rst214 def add_task(task, priority=0):