Lines Matching defs:id
528 // Returns the task with the given id
529 CMTask* task(int id) {
530 assert(0 <= id && id < (int) _active_tasks,
531 "task id not within active bounds");
532 return _tasks[id];
535 // Returns the task queue with the given id
536 CMTaskQueue* task_queue(int id) {
537 assert(0 <= id && id < (int) _active_tasks,
538 "task queue id not within active bounds");
539 return (CMTaskQueue*) _task_queues->queue(id);
839 // Returns the card bitmap for a given task or worker id.
849 // for the given worker or task id.
871 // data structures for the given worker id.
875 // data structures for the given worker id.
885 // structures for the given worker id.
896 // given worker id.
902 // given worker id.
916 // the object in the counting structures for worker id 0.