Lines Matching refs:choice
197 int32_t choice;
208 cin >> choice;
209 } while (cin.fail() || choice < start || choice > end);
211 return choice;
1552 int32_t choice = InputInt32(0, static_cast<int32_t>(TestMenu::STRESS), "Test Module Index");
1553 cout << "---->You choose: " << choice << endl;
1554 return choice;
1566 int32_t choice = InputInt32(HREQ_CALL_BASE, HREQ_MODEM_EXIT - 1, "Command");
1567 cout << "---->You choose: " << choice << endl;
1568 choice = (choice == HREQ_CALL_BASE) ? DEFAULT_CHOICE : choice;
1569 return choice;
1599 int32_t choice = InputInt32(HREQ_CALL_BASE, HREQ_SMS_BASE - MENU_OFFSET, "Command");
1600 cout << "---->You choose: " << choice << endl;
1601 choice = (choice == HREQ_CALL_BASE) ? DEFAULT_CHOICE : choice;
1602 return choice;
1615 int32_t choice = InputInt32(HREQ_SMS_BASE, HREQ_SIM_BASE - MENU_OFFSET, "Command");
1616 cout << "---->You choose: " << choice << endl;
1617 choice = (choice == HREQ_SMS_BASE) ? DEFAULT_CHOICE : choice;
1618 return choice;
1651 int32_t choice = InputInt32(HREQ_SIM_BASE, HREQ_DATA_BASE - MENU_OFFSET, "Command");
1652 cout << "---->You choose: " << choice << endl;
1653 choice = (choice == HREQ_SIM_BASE) ? DEFAULT_CHOICE : choice;
1654 return choice;
1676 int32_t choice = InputInt32(HREQ_DATA_BASE, HREQ_NETWORK_BASE - MENU_OFFSET, "Command");
1677 cout << "---->You choose: " << choice << endl;
1678 choice = (choice == HREQ_DATA_BASE) ? DEFAULT_CHOICE : choice;
1679 return choice;
1713 int32_t choice = InputInt32(HREQ_NETWORK_BASE, HREQ_COMMON_BASE - MENU_OFFSET, "Command");
1714 cout << "---->You choose: " << choice << endl;
1715 choice = (choice == HREQ_NETWORK_BASE) ? DEFAULT_CHOICE : choice;
1716 return choice;
1732 int32_t choice = InputInt32(HREQ_COMMON_BASE, HREQ_MODEM_EXIT - MENU_OFFSET, "Command");
1733 cout << "---->You choose: " << choice << endl;
1734 choice = (choice == HREQ_COMMON_BASE) ? DEFAULT_CHOICE : choice;
1735 return choice;