Home
last modified time | relevance | path

Searched refs:ScalarTraits (Results 1 – 25 of 69) sorted by relevance

123

/external/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/
DTextStubCommon.cpp21 void ScalarTraits<FlowStringRef>::output(const FlowStringRef &Value, void *Ctx, in output()
23 ScalarTraits<StringRef>::output(Value, Ctx, OS); in output()
25 StringRef ScalarTraits<FlowStringRef>::input(StringRef Value, void *Ctx, in input()
27 return ScalarTraits<StringRef>::input(Value, Ctx, Out.value); in input()
29 QuotingType ScalarTraits<FlowStringRef>::mustQuote(StringRef Name) { in mustQuote()
30 return ScalarTraits<StringRef>::mustQuote(Name); in mustQuote()
44 void ScalarTraits<PlatformSet>::output(const PlatformSet &Values, void *IO, in output()
80 StringRef ScalarTraits<PlatformSet>::input(StringRef Scalar, void *IO, in input()
116 QuotingType ScalarTraits<PlatformSet>::mustQuote(StringRef) { in mustQuote()
128 void ScalarTraits<Architecture>::output(const Architecture &Value, void *, in output()
[all …]
DTextStubCommon.h34 template <> struct ScalarTraits<FlowStringRef> { in LLVM_YAML_STRONG_TYPEDEF()
44 template <> struct ScalarTraits<MachO::PlatformSet> { in LLVM_YAML_STRONG_TYPEDEF()
54 template <> struct ScalarTraits<MachO::Architecture> { in LLVM_YAML_STRONG_TYPEDEF()
60 template <> struct ScalarTraits<MachO::PackedVersion> { in LLVM_YAML_STRONG_TYPEDEF()
66 template <> struct ScalarTraits<SwiftVersion> { in LLVM_YAML_STRONG_TYPEDEF()
72 template <> struct ScalarTraits<UUID> { in LLVM_YAML_STRONG_TYPEDEF()
/external/llvm-project/llvm/lib/TextAPI/MachO/
DTextStubCommon.cpp22 void ScalarTraits<FlowStringRef>::output(const FlowStringRef &Value, void *Ctx, in output()
24 ScalarTraits<StringRef>::output(Value, Ctx, OS); in output()
26 StringRef ScalarTraits<FlowStringRef>::input(StringRef Value, void *Ctx, in input()
28 return ScalarTraits<StringRef>::input(Value, Ctx, Out.value); in input()
30 QuotingType ScalarTraits<FlowStringRef>::mustQuote(StringRef Name) { in mustQuote()
31 return ScalarTraits<StringRef>::mustQuote(Name); in mustQuote()
45 void ScalarTraits<PlatformSet>::output(const PlatformSet &Values, void *IO, in output()
93 StringRef ScalarTraits<PlatformSet>::input(StringRef Scalar, void *IO, in input()
129 QuotingType ScalarTraits<PlatformSet>::mustQuote(StringRef) { in mustQuote()
141 void ScalarTraits<Architecture>::output(const Architecture &Value, void *, in output()
[all …]
DTextStubCommon.h33 template <> struct ScalarTraits<FlowStringRef> { in LLVM_YAML_STRONG_TYPEDEF()
43 template <> struct ScalarTraits<MachO::PlatformSet> { in LLVM_YAML_STRONG_TYPEDEF()
53 template <> struct ScalarTraits<MachO::Architecture> { in LLVM_YAML_STRONG_TYPEDEF()
59 template <> struct ScalarTraits<MachO::PackedVersion> { in LLVM_YAML_STRONG_TYPEDEF()
65 template <> struct ScalarTraits<SwiftVersion> { in LLVM_YAML_STRONG_TYPEDEF()
71 template <> struct ScalarTraits<UUID> { in LLVM_YAML_STRONG_TYPEDEF()
/external/llvm/lib/Support/
DYAMLTraits.cpp752 void ScalarTraits<bool>::output(const bool &Val, void *, raw_ostream &Out) { in output()
756 StringRef ScalarTraits<bool>::input(StringRef Scalar, void *, bool &Val) { in input()
767 void ScalarTraits<StringRef>::output(const StringRef &Val, void *, in output()
772 StringRef ScalarTraits<StringRef>::input(StringRef Scalar, void *, in input()
778 void ScalarTraits<std::string>::output(const std::string &Val, void *, in output()
783 StringRef ScalarTraits<std::string>::input(StringRef Scalar, void *, in input()
789 void ScalarTraits<uint8_t>::output(const uint8_t &Val, void *, in output()
796 StringRef ScalarTraits<uint8_t>::input(StringRef Scalar, void *, uint8_t &Val) { in input()
806 void ScalarTraits<uint16_t>::output(const uint16_t &Val, void *, in output()
811 StringRef ScalarTraits<uint16_t>::input(StringRef Scalar, void *, in input()
[all …]
/external/llvm-project/llvm/lib/Support/
DYAMLTraits.cpp869 void ScalarTraits<bool>::output(const bool &Val, void *, raw_ostream &Out) { in output()
873 StringRef ScalarTraits<bool>::input(StringRef Scalar, void *, bool &Val) { in input()
884 void ScalarTraits<StringRef>::output(const StringRef &Val, void *, in output()
889 StringRef ScalarTraits<StringRef>::input(StringRef Scalar, void *, in input()
895 void ScalarTraits<std::string>::output(const std::string &Val, void *, in output()
900 StringRef ScalarTraits<std::string>::input(StringRef Scalar, void *, in input()
906 void ScalarTraits<uint8_t>::output(const uint8_t &Val, void *, in output()
913 StringRef ScalarTraits<uint8_t>::input(StringRef Scalar, void *, uint8_t &Val) { in input()
923 void ScalarTraits<uint16_t>::output(const uint16_t &Val, void *, in output()
928 StringRef ScalarTraits<uint16_t>::input(StringRef Scalar, void *, in input()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DYAMLTraits.cpp852 void ScalarTraits<bool>::output(const bool &Val, void *, raw_ostream &Out) { in output()
856 StringRef ScalarTraits<bool>::input(StringRef Scalar, void *, bool &Val) { in input()
867 void ScalarTraits<StringRef>::output(const StringRef &Val, void *, in output()
872 StringRef ScalarTraits<StringRef>::input(StringRef Scalar, void *, in input()
878 void ScalarTraits<std::string>::output(const std::string &Val, void *, in output()
883 StringRef ScalarTraits<std::string>::input(StringRef Scalar, void *, in input()
889 void ScalarTraits<uint8_t>::output(const uint8_t &Val, void *, in output()
896 StringRef ScalarTraits<uint8_t>::input(StringRef Scalar, void *, uint8_t &Val) { in input()
906 void ScalarTraits<uint16_t>::output(const uint16_t &Val, void *, in output()
911 StringRef ScalarTraits<uint16_t>::input(StringRef Scalar, void *, in input()
[all …]
/external/llvm-project/llvm/lib/BinaryFormat/
DMsgPackDocumentYAML.cpp76 StringRef Err = yaml::ScalarTraits<uint64_t>::input(S, nullptr, getUInt()); in fromString()
79 Err = yaml::ScalarTraits<int64_t>::input(S, nullptr, getInt()); in fromString()
90 StringRef Err = yaml::ScalarTraits<bool>::input(S, nullptr, getBool()); in fromString()
96 StringRef Err = yaml::ScalarTraits<double>::input(S, nullptr, getFloat()); in fromString()
102 StringRef Err = yaml::ScalarTraits<std::string>::input(S, nullptr, V); in fromString()
189 return ScalarTraits<int64_t>::mustQuote(ScalarStr); in mustQuote()
191 return ScalarTraits<uint64_t>::mustQuote(ScalarStr); in mustQuote()
193 return ScalarTraits<StringRef>::mustQuote(ScalarStr); in mustQuote()
195 return ScalarTraits<bool>::mustQuote(ScalarStr); in mustQuote()
197 return ScalarTraits<double>::mustQuote(ScalarStr); in mustQuote()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DMsgPackDocumentYAML.cpp76 StringRef Err = yaml::ScalarTraits<uint64_t>::input(S, nullptr, getUInt()); in fromString()
79 Err = yaml::ScalarTraits<int64_t>::input(S, nullptr, getInt()); in fromString()
90 StringRef Err = yaml::ScalarTraits<bool>::input(S, nullptr, getBool()); in fromString()
96 StringRef Err = yaml::ScalarTraits<double>::input(S, nullptr, getFloat()); in fromString()
102 StringRef Err = yaml::ScalarTraits<std::string>::input(S, nullptr, V); in fromString()
189 return ScalarTraits<int64_t>::mustQuote(ScalarStr); in mustQuote()
191 return ScalarTraits<uint64_t>::mustQuote(ScalarStr); in mustQuote()
193 return ScalarTraits<StringRef>::mustQuote(ScalarStr); in mustQuote()
195 return ScalarTraits<bool>::mustQuote(ScalarStr); in mustQuote()
197 return ScalarTraits<double>::mustQuote(ScalarStr); in mustQuote()
[all …]
/external/llvm/include/llvm/Support/
DYAMLTraits.h103 struct ScalarTraits { struct
239 (sizeof(test<ScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
661 ScalarTraits<T>::output(Val, io.getContext(), Buffer);
663 io.scalarString(Str, ScalarTraits<T>::mustQuote(Str));
667 io.scalarString(Str, ScalarTraits<T>::mustQuote(Str));
668 StringRef Result = ScalarTraits<T>::input(Str, io.getContext(), Val);
770 struct ScalarTraits<bool> {
777 struct ScalarTraits<StringRef> {
784 struct ScalarTraits<std::string> {
791 struct ScalarTraits<uint8_t> {
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DCodeViewYAMLTypeHashing.cpp35 void ScalarTraits<GlobalHash>::output(const GlobalHash &GH, void *Ctx, in output()
37 ScalarTraits<BinaryRef>::output(GH.Hash, Ctx, OS); in output()
40 StringRef ScalarTraits<GlobalHash>::input(StringRef Scalar, void *Ctx, in input()
42 return ScalarTraits<BinaryRef>::input(Scalar, Ctx, GH.Hash); in input()
DYAML.cpp22 void yaml::ScalarTraits<yaml::BinaryRef>::output( in output()
27 StringRef yaml::ScalarTraits<yaml::BinaryRef>::input(StringRef Scalar, void *, in input()
/external/llvm-project/llvm/lib/ObjectYAML/
DCodeViewYAMLTypeHashing.cpp35 void ScalarTraits<GlobalHash>::output(const GlobalHash &GH, void *Ctx, in output()
37 ScalarTraits<BinaryRef>::output(GH.Hash, Ctx, OS); in output()
40 StringRef ScalarTraits<GlobalHash>::input(StringRef Scalar, void *Ctx, in input()
42 return ScalarTraits<BinaryRef>::input(Scalar, Ctx, GH.Hash); in input()
DYAML.cpp22 void yaml::ScalarTraits<yaml::BinaryRef>::output( in output()
27 StringRef yaml::ScalarTraits<yaml::BinaryRef>::input(StringRef Scalar, void *, in input()
DMachOYAML.cpp37 void ScalarTraits<char_16>::output(const char_16 &Val, void *, in output()
43 StringRef ScalarTraits<char_16>::input(StringRef Scalar, void *, char_16 &Val) { in input()
54 QuotingType ScalarTraits<char_16>::mustQuote(StringRef S) { in mustQuote()
58 void ScalarTraits<uuid_t>::output(const uuid_t &Val, void *, raw_ostream &Out) { in output()
62 StringRef ScalarTraits<uuid_t>::input(StringRef Scalar, void *, uuid_t &Val) { in input()
79 QuotingType ScalarTraits<uuid_t>::mustQuote(StringRef S) { in mustQuote()
/external/llvm/include/llvm/CodeGen/
DMIRYamlMapping.h40 template <> struct ScalarTraits<StringValue> {
61 template <> struct ScalarTraits<FlowStringValue> {
63 return ScalarTraits<StringValue>::output(S, nullptr, OS);
67 return ScalarTraits<StringValue>::input(Scalar, Ctx, S);
79 return ScalarTraits<StringValue>::output(S.Value, Ctx, OS);
83 return ScalarTraits<StringValue>::input(Scalar, Ctx, S.Value);
101 template <> struct ScalarTraits<UnsignedValue> {
103 return ScalarTraits<unsigned>::output(Value.Value, Ctx, OS);
110 return ScalarTraits<unsigned>::input(Scalar, Ctx, Value.Value);
114 return ScalarTraits<unsigned>::mustQuote(Scalar);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DYAMLTraits.h136 struct ScalarTraits { struct
267 (sizeof(test<ScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
748 ScalarTraits<T>::output(Val, io.getContext(), Buffer);
750 io.scalarString(Str, ScalarTraits<T>::mustQuote(Str));
754 io.scalarString(Str, ScalarTraits<T>::mustQuote(Str));
755 StringRef Result = ScalarTraits<T>::input(Str, io.getContext(), Val);
857 struct ScalarTraits<bool> {
864 struct ScalarTraits<StringRef> {
871 struct ScalarTraits<std::string> {
878 struct ScalarTraits<uint8_t> {
[all …]
/external/eigen/Eigen/src/Geometry/
DAlignedBox.h36 typedef NumTraits<Scalar> ScalarTraits; typedef
38 typedef typename ScalarTraits::Real RealScalar;
39 typedef typename ScalarTraits::NonInteger NonInteger;
101 m_min.setConstant( ScalarTraits::highest() ); in setEmpty()
102 m_max.setConstant( ScalarTraits::lowest() ); in setEmpty()
169 if(!ScalarTraits::IsInteger) in sample()
302 …EIGEN_DEVICE_FUNC bool isApprox(const AlignedBox& other, const RealScalar& prec = ScalarTraits::du…
/external/llvm-project/llvm/include/llvm/CodeGen/
DMIRYamlMapping.h47 template <> struct ScalarTraits<StringValue> {
68 template <> struct ScalarTraits<FlowStringValue> {
70 return ScalarTraits<StringValue>::output(S, nullptr, OS);
74 return ScalarTraits<StringValue>::input(Scalar, Ctx, S);
90 return ScalarTraits<StringValue>::output(S.Value, Ctx, OS);
94 return ScalarTraits<StringValue>::input(Scalar, Ctx, S.Value);
112 template <> struct ScalarTraits<UnsignedValue> {
114 return ScalarTraits<unsigned>::output(Value.Value, Ctx, OS);
121 return ScalarTraits<unsigned>::input(Scalar, Ctx, Value.Value);
125 return ScalarTraits<unsigned>::mustQuote(Scalar);
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMIRYamlMapping.h47 template <> struct ScalarTraits<StringValue> {
68 template <> struct ScalarTraits<FlowStringValue> {
70 return ScalarTraits<StringValue>::output(S, nullptr, OS);
74 return ScalarTraits<StringValue>::input(Scalar, Ctx, S);
90 return ScalarTraits<StringValue>::output(S.Value, Ctx, OS);
94 return ScalarTraits<StringValue>::input(Scalar, Ctx, S.Value);
112 template <> struct ScalarTraits<UnsignedValue> {
114 return ScalarTraits<unsigned>::output(Value.Value, Ctx, OS);
121 return ScalarTraits<unsigned>::input(Scalar, Ctx, Value.Value);
125 return ScalarTraits<unsigned>::mustQuote(Scalar);
/external/llvm/lib/ObjectYAML/
DYAML.cpp22 void yaml::ScalarTraits<yaml::BinaryRef>::output( in output()
27 StringRef yaml::ScalarTraits<yaml::BinaryRef>::input(StringRef Scalar, void *, in input()
DMachOYAML.cpp27 void ScalarTraits<char_16>::output(const char_16 &Val, void *, in output()
33 StringRef ScalarTraits<char_16>::input(StringRef Scalar, void *, char_16 &Val) { in input()
44 bool ScalarTraits<char_16>::mustQuote(StringRef S) { return needsQuotes(S); } in mustQuote()
46 void ScalarTraits<uuid_t>::output(const uuid_t &Val, void *, in output()
55 StringRef ScalarTraits<uuid_t>::input(StringRef Scalar, void *, uuid_t &Val) { in input()
72 bool ScalarTraits<uuid_t>::mustQuote(StringRef S) { return needsQuotes(S); } in mustQuote()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/ELF/
DTBEHandler.cpp39 template <> struct ScalarTraits<ELFArchMapper> { struct
73 template <> struct ScalarTraits<VersionTuple> { struct
/external/llvm-project/lldb/source/Utility/
DGDBRemote.cpp73 void yaml::ScalarTraits<GDBRemotePacket::BinaryData>::output( in output()
78 StringRef yaml::ScalarTraits<GDBRemotePacket::BinaryData>::input( in input()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DYAMLTraits.h146 template <typename T, typename Enable = void> struct ScalarTraits { struct
357 (sizeof(test<ScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
1662 struct ScalarTraits<Hex8> {
1669 struct ScalarTraits<Hex16> {
1676 struct ScalarTraits<Hex32> {
1683 struct ScalarTraits<Hex64> {
2005 template <> struct ScalarTraits<Type> { \

123