Lines Matching defs:TASK
93 'task' keywords. The m_content for these token types is the value
98 TASK,
130 case type::TASK:
131 return string_printf ("{ TASK: \"%s\" }",
266 'thread' must occur before the check for 'task'. We accept
283 else if (startswith ("task", t))
284 curr_results->emplace_back (token::type::TASK, v);
390 || t.get_type () == token::type::TASK)
395 or task number, otherwise, assume an invalid id, and merge
475 int thread = -1, inferior = -1, task = -1;
491 if (task != -1 || inferior != -1)
492 error ("You can specify only one of thread, inferior, or task.");
503 if (task != -1 || thread != -1)
504 error ("You can specify only one of thread, inferior, or task.");
517 case token::type::TASK:
519 if (task != -1)
520 error ("You can specify only one task.");
522 error ("You can specify only one of thread, inferior, or task.");
526 error (_("Junk '%s' after task keyword."), tmptok);
528 error (_("Unknown task %ld"), task_id);
529 task = static_cast<int> (task_id);
530 if (!valid_task_id (task))
531 error (_("Unknown task %d."), task);
549 *task_ptr = task;
565 int inferior = -1, int task = -1, bool force = false,
600 || task != extracted_task
611 debug_printf ("task: %d\n", extracted_task);
671 "You can specify only one of thread, inferior, or task.");
672 test_error ("thread 1 if foo == 123 task 1",
673 "You can specify only one of thread, inferior, or task.");
677 "You can specify only one of thread, inferior, or task.");
678 test_error ("inferior 1 if foo == 123 task 1",
679 "You can specify only one of thread, inferior, or task.");
684 test_error ("task 1xxx", "Junk 'xxx' after task keyword.");