Lines Matching refs:std
28 std::string to_upper(std::string input) { in to_upper()
29 std::transform(input.begin(), input.end(), input.begin(), ::toupper); in to_upper()
34 typename std::enable_if<!std::is_signed<T>::value, std::string>::type
37 std::stringstream ss; in pretty_format()
38 ss << std::showbase << std::hex << value; in pretty_format()
43 typename std::enable_if<std::is_signed<T>::value, std::string>::type
46 std::stringstream ss; in pretty_format()
62 void cpp_define(const std::string& name, T value) { in cpp_define()
63 std::cout << "#define " << name << " " << pretty_format(value) << std::endl; in cpp_define()
67 void emit_check_eq(T value, const std::string& expr) { in emit_check_eq()
68 std::cout << "DEFINE_CHECK_EQ(" << value << ", (" << expr << "))" << std::endl; in emit_check_eq()
101 std::cout << kFileHeader << std::endl; in main()
103 std::string z = ""; in main()
112 std::cout << kFileFooter << std::endl; in main()