Home
last modified time | relevance | path

Searched defs:ScalarTraits (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/ELF/
DTBEHandler.cpp39 template <> struct ScalarTraits<ELFArchMapper> { struct
40 static void output(const ELFArchMapper &Value, void *, in output()
56 static StringRef input(StringRef Scalar, void *, ELFArchMapper &Value) { in input()
69 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
73 template <> struct ScalarTraits<VersionTuple> { struct
74 static void output(const VersionTuple &Value, void *, in output()
79 static StringRef input(StringRef Scalar, void *, VersionTuple &Value) { in input()
91 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
/external/llvm/tools/llvm-pdbdump/
DPdbYaml.cpp22 template <> struct ScalarTraits<llvm::pdb::PDB_UniqueId> { struct
23 static void output(const llvm::pdb::PDB_UniqueId &S, void *, in output()
28 static StringRef input(StringRef Scalar, void *Ctx, in input()
54 static bool mustQuote(StringRef Scalar) { return needsQuotes(Scalar); } in mustQuote()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DMinidumpYAML.cpp179 template <std::size_t N> struct ScalarTraits<FixedSizeHex<N>> { struct
180 static void output(const FixedSizeHex<N> &Fixed, void *, raw_ostream &OS) { in output()
184 static StringRef input(StringRef Scalar, void *, FixedSizeHex<N> &Fixed) { in input()
195 static QuotingType mustQuote(StringRef S) { return QuotingType::None; } in mustQuote()
216 template <std::size_t N> struct ScalarTraits<FixedSizeString<N>> { struct
217 static void output(const FixedSizeString<N> &Fixed, void *, raw_ostream &OS) { in output()
221 static StringRef input(StringRef Scalar, void *, FixedSizeString<N> &Fixed) { in input()
230 static QuotingType mustQuote(StringRef S) { return needsQuotes(S); } in mustQuote()
DELFYAML.cpp855 template <> struct ScalarTraits<StOtherPiece> { struct
856 static void output(const StOtherPiece &Val, void *, raw_ostream &Out) { in output()
859 static StringRef input(StringRef Scalar, void *, StOtherPiece &Val) { in input()
863 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
869 template <> struct ScalarTraits<ELFYAML::YAMLFlowString> { struct
870 static void output(const ELFYAML::YAMLFlowString &Val, void *, in output()
874 static StringRef input(StringRef Scalar, void *, in input()
879 static QuotingType mustQuote(StringRef S) { in mustQuote()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DYAMLTraits.h136 struct ScalarTraits { struct
/external/llvm/unittests/Support/
DYAMLIOTest.cpp825 struct ScalarTraits<MyCustomType> { struct
826 static void output(const MyCustomType &value, void* ctxt, llvm::raw_ostream &out) { in output()
829 static StringRef input(StringRef scalar, void* ctxt, MyCustomType &value) { in input()
848 static bool mustQuote(StringRef) { return true; } in mustQuote()
1038 struct ScalarTraits<MyNumber> { struct
1039 static void output(const MyNumber &value, void *, llvm::raw_ostream &out) { in output()
1043 static StringRef input(StringRef scalar, void *, MyNumber &value) { in input()
1051 static bool mustQuote(StringRef) { return false; } in mustQuote()
2209 struct ScalarTraits<FlowSeq> { struct
2210 static void output(const FlowSeq &value, void*, llvm::raw_ostream &out) { in output()
[all …]
/external/llvm/include/llvm/Support/
DYAMLTraits.h103 struct ScalarTraits { struct
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/
DTextStub.cpp376 template <> struct ScalarTraits<Target> { struct
377 static void output(const Target &Value, void *, raw_ostream &OS) { in output()
413 static StringRef input(StringRef Scalar, void *, Target &Value) { in input()
427 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DYAMLTraits.h146 template <typename T, typename Enable = void> struct ScalarTraits { struct
/external/eigen/Eigen/src/Geometry/
DAlignedBox.h72 typedef NumTraits<Scalar> ScalarTraits; typedef
/external/eigen/test/
Dgeo_alignedbox.cpp34 typedef NumTraits<Scalar> ScalarTraits; in alignedbox() typedef
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp499 struct ScalarTraits struct
501 typedef Interval IVal;
503 static Interval doMakeIVal (const T& value) in doMakeIVal()
510 static Interval doUnion (const Interval& a, const Interval& b) in doUnion()
515 static bool doContains (const Interval& a, T value) in doContains()
520 static Interval doConvert (const FloatFormat& fmt, const IVal& ival) in doConvert()
525 static Interval doConvert (const FloatFormat& fmt, const IVal& ival, bool is16Bit) in doConvert()
531 static Interval doRound (const FloatFormat& fmt, T value) in doRound()
538 struct ScalarTraits<deUint16> struct
540 typedef Interval IVal;
[all …]
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp303 struct ScalarTraits struct
305 typedef Interval IVal;
307 static Interval doMakeIVal (const T& value) in doMakeIVal()
314 static Interval doUnion (const Interval& a, const Interval& b) in doUnion()
319 static bool doContains (const Interval& a, T value) in doContains()
324 static bool doContainsWarning(const Interval& a, T value) in doContainsWarning()
329 static Interval doConvert (const FloatFormat& fmt, const IVal& ival) in doConvert()
334 static Interval doRound (const FloatFormat& fmt, T value) in doRound()