Lines Matching refs:result

176     std::string result;
177 s.toUTF8String(result);
179 return result;
570 US result = 0;
593 US next = result * base + digit;
594 if (result > next)
599 result = next;
602 detail::check_signed_range<T>(negative, result, text);
606 value = checked_negate<T>(result,
612 value = static_cast<T>(result);
686 std::smatch result;
687 std::regex_match(text, result, truthy_pattern);
689 if (!result.empty())
695 std::regex_match(text, result, falsy_pattern);
696 if (!result.empty())
739 T result;
740 parse_value(text, result);
741 value = std::move(result);
1131 T result;
1132 values::parse_value(m_value, result);
1133 return result;
1336 String& result,
1341 generate_all_groups_help(String& result) const;
1403 String result = " ";
1407 result += "-" + toLocalString(s) + ",";
1411 result += " ";
1416 result += " --" + toLocalString(l);
1425 result += " [=" + arg + "(=" + toLocalString(o.implicit_value) + ")]";
1429 result += " " + arg;
1433 return result;
1451 String result;
1475 stringAppend(result, startLine, current + 1);
1476 stringAppend(result, "\n");
1477 stringAppend(result, start, ' ');
1483 stringAppend(result, startLine, lastSpace);
1484 stringAppend(result, "\n");
1485 stringAppend(result, start, ' ');
1500 stringAppend(result, startLine, current);
1502 return result;
1541 std::match_results<const char*> result;
1542 std::regex_match(opts.c_str(), result, option_specifier);
1544 if (result.empty())
1549 const auto& short_match = result[2];
1550 const auto& long_match = result[3];
1605 auto& result = m_results[value];
1606 result.parse(value, arg);
1670 auto& result = m_results[iter->second];
1673 if (result.count() == 0)
1728 ParseResult result(m_options, m_positional, m_allow_unrecognised, argc, argv);
1729 return result;
1751 std::match_results<const char*> result;
1752 std::regex_match(argv[current], result, option_matcher);
1754 if (result.empty())
1780 if (result[4].length() != 0)
1782 const std::string& s = result[4];
1820 else if (result[1].length() != 0)
1822 const std::string& name = result[1];
1846 if (result[2].length() != 0)
1850 parse_option(opt, name, result[3]);
1966 String result;
1970 result += toLocalString(" " + g + " options:\n");
2002 result += fiter->first;
2005 result += '\n';
2006 result += toLocalString(std::string(longest + OPTION_DESC_GAP, ' '));
2010 result += toLocalString(std::string(longest + OPTION_DESC_GAP -
2014 result += d;
2015 result += '\n';
2020 return result;
2027 String& result,
2038 result += group_help_text;
2041 result += '\n';
2048 Options::generate_all_groups_help(String& result) const
2058 generate_group_help(result, all_groups);
2065 String result = m_help_string + "\nUsage:\n " +
2069 result += " " + toLocalString(m_positional_help);
2072 result += "\n\n";
2076 generate_all_groups_help(result);
2080 generate_group_help(result, help_groups);
2083 return toUTF8String(result);