Lines Matching refs:Val

909 void ScalarTraits<bool>::output(const bool &Val, void *, raw_ostream &Out) {  in output()  argument
910 Out << (Val ? "true" : "false"); in output()
913 StringRef ScalarTraits<bool>::input(StringRef Scalar, void *, bool &Val) { in input() argument
915 Val = *Parsed; in input()
921 void ScalarTraits<StringRef>::output(const StringRef &Val, void *, in output() argument
923 Out << Val; in output()
927 StringRef &Val) { in input() argument
928 Val = Scalar; in input()
932 void ScalarTraits<std::string>::output(const std::string &Val, void *, in output() argument
934 Out << Val; in output()
938 std::string &Val) { in input() argument
939 Val = Scalar.str(); in input()
943 void ScalarTraits<uint8_t>::output(const uint8_t &Val, void *, in output() argument
946 uint32_t Num = Val; in output()
950 StringRef ScalarTraits<uint8_t>::input(StringRef Scalar, void *, uint8_t &Val) { in input() argument
956 Val = n; in input()
960 void ScalarTraits<uint16_t>::output(const uint16_t &Val, void *, in output() argument
962 Out << Val; in output()
966 uint16_t &Val) { in input() argument
972 Val = n; in input()
976 void ScalarTraits<uint32_t>::output(const uint32_t &Val, void *, in output() argument
978 Out << Val; in output()
982 uint32_t &Val) { in input() argument
988 Val = n; in input()
992 void ScalarTraits<uint64_t>::output(const uint64_t &Val, void *, in output() argument
994 Out << Val; in output()
998 uint64_t &Val) { in input() argument
1002 Val = N; in input()
1006 void ScalarTraits<int8_t>::output(const int8_t &Val, void *, raw_ostream &Out) { in output() argument
1008 int32_t Num = Val; in output()
1012 StringRef ScalarTraits<int8_t>::input(StringRef Scalar, void *, int8_t &Val) { in input() argument
1018 Val = N; in input()
1022 void ScalarTraits<int16_t>::output(const int16_t &Val, void *, in output() argument
1024 Out << Val; in output()
1027 StringRef ScalarTraits<int16_t>::input(StringRef Scalar, void *, int16_t &Val) { in input() argument
1033 Val = N; in input()
1037 void ScalarTraits<int32_t>::output(const int32_t &Val, void *, in output() argument
1039 Out << Val; in output()
1042 StringRef ScalarTraits<int32_t>::input(StringRef Scalar, void *, int32_t &Val) { in input() argument
1048 Val = N; in input()
1052 void ScalarTraits<int64_t>::output(const int64_t &Val, void *, in output() argument
1054 Out << Val; in output()
1057 StringRef ScalarTraits<int64_t>::input(StringRef Scalar, void *, int64_t &Val) { in input() argument
1061 Val = N; in input()
1065 void ScalarTraits<double>::output(const double &Val, void *, raw_ostream &Out) { in output() argument
1066 Out << format("%g", Val); in output()
1069 StringRef ScalarTraits<double>::input(StringRef Scalar, void *, double &Val) { in input() argument
1070 if (to_float(Scalar, Val)) in input()
1075 void ScalarTraits<float>::output(const float &Val, void *, raw_ostream &Out) { in output() argument
1076 Out << format("%g", Val); in output()
1079 StringRef ScalarTraits<float>::input(StringRef Scalar, void *, float &Val) { in input() argument
1080 if (to_float(Scalar, Val)) in input()
1085 void ScalarTraits<Hex8>::output(const Hex8 &Val, void *, raw_ostream &Out) { in output() argument
1086 Out << format("0x%" PRIX8, (uint8_t)Val); in output()
1089 StringRef ScalarTraits<Hex8>::input(StringRef Scalar, void *, Hex8 &Val) { in input() argument
1095 Val = n; in input()
1099 void ScalarTraits<Hex16>::output(const Hex16 &Val, void *, raw_ostream &Out) { in output() argument
1100 Out << format("0x%" PRIX16, (uint16_t)Val); in output()
1103 StringRef ScalarTraits<Hex16>::input(StringRef Scalar, void *, Hex16 &Val) { in input() argument
1109 Val = n; in input()
1113 void ScalarTraits<Hex32>::output(const Hex32 &Val, void *, raw_ostream &Out) { in output() argument
1114 Out << format("0x%" PRIX32, (uint32_t)Val); in output()
1117 StringRef ScalarTraits<Hex32>::input(StringRef Scalar, void *, Hex32 &Val) { in input() argument
1123 Val = n; in input()
1127 void ScalarTraits<Hex64>::output(const Hex64 &Val, void *, raw_ostream &Out) { in output() argument
1128 Out << format("0x%" PRIX64, (uint64_t)Val); in output()
1131 StringRef ScalarTraits<Hex64>::input(StringRef Scalar, void *, Hex64 &Val) { in input() argument
1135 Val = Num; in input()
1139 void ScalarTraits<VersionTuple>::output(const VersionTuple &Val, void *, in output() argument
1141 Out << Val.getAsString(); in output()
1145 VersionTuple &Val) { in input() argument
1146 if (Val.tryParse(Scalar)) in input()