Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_system_state.c80 int (*add_task)(void (*callback)(void *data), void *callback_data, member
524 int cras_system_set_add_task_handler(int (*add_task)(void (*cb)(void *data), in cras_system_set_add_task_handler()
529 if (state.add_task != NULL) in cras_system_set_add_task_handler()
532 state.add_task = add_task; in cras_system_set_add_task_handler()
539 if (state.add_task == NULL) in cras_system_add_task()
542 return state.add_task(callback, callback_data, state.task_data); in cras_system_add_task()
Dcras_system_state.h226 int cras_system_set_add_task_handler(int (*add_task)(void (*cb)(void *data),
Dcras_server.c334 static int add_task(void (*cb)(void *data), void *callback_data, in add_task() function
460 cras_system_set_add_task_handler(add_task, &server_instance); in cras_server_init()
/external/python/parse_type/tasks/
Dtest.py166 namespace.add_task(test_all, default=True)
168 namespace.add_task(behave)
206 cleanup_tasks.add_task(clean, "clean_test")
Ddocs.py184 namespace.add_task(build, default=True)
197 cleanup_tasks.add_task(clean, "clean_docs")
D__init__.py60 cleanup.cleanup_tasks.add_task(cleanup.clean_python)
D_tasklet_cleanup.py262 namespace.add_task(clean, default=True)
/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):