Home
last modified time | relevance | path

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

/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/ELF/
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/InterfaceStub/
H A DIFSHandler.cpp45 template <> struct ScalarTraits<IFSEndiannessType> { struct
46 static void output(const IFSEndiannessType &Value, void *, in output()
60 static StringRef input(StringRef Scalar, void *, IFSEndiannessType &Value) { in input()
71 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
74 template <> struct ScalarTraits<IFSBitWidthType> { struct
75 static void output(const IFSBitWidthType &Value, void *, in output()
89 static StringRef input(StringRef Scalar, void *, IFSBitWidthType &Value) { in input()
100 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/ObjectYAML/
H A 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()
H A DELFYAML.cpp1136 template <> struct ScalarTraits<StOtherPiece> { struct
1137 static void output(const StOtherPiece &Val, void *, raw_ostream &Out) { in output()
1140 static StringRef input(StringRef Scalar, void *, StOtherPiece &Val) { in input()
1144 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
1150 template <> struct ScalarTraits<ELFYAML::YAMLFlowString> { struct
1151 static void output(const ELFYAML::YAMLFlowString &Val, void *, in output()
1155 static StringRef input(StringRef Scalar, void *, in input()
1160 static QuotingType mustQuote(StringRef S) { in mustQuote()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
H A 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()
H A 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()
/aosp_15_r20/external/llvm/tools/llvm-pdbdump/
H A 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()
/aosp_15_r20/external/llvm/unittests/Support/
H A 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 …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/TextAPI/
H A DTextStub.cpp376 template <> struct ScalarTraits<Target> { struct
377 static void output(const Target &Value, void *, raw_ostream &OS) { in output()
416 static StringRef input(StringRef Scalar, void *, Target &Value) { in input()
432 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DYAMLTraits.h136 struct ScalarTraits { struct
/aosp_15_r20/external/llvm/include/llvm/Support/
H A DYAMLTraits.h103 struct ScalarTraits { struct
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderBuiltinPrecisionTests.cpp537 struct ScalarTraits struct
539 typedef Interval IVal;
541 static Interval doMakeIVal(const T &value) in doMakeIVal()
548 static Interval doUnion(const Interval &a, const Interval &b) in doUnion()
553 static bool doContains(const Interval &a, T value) in doContains()
558 static Interval doConvert(const FloatFormat &fmt, const IVal &ival) in doConvert()
563 static Interval doConvert(const FloatFormat &fmt, const IVal &ival, bool is16Bit) in doConvert()
569 static Interval doRound(const FloatFormat &fmt, T value) in doRound()
576 struct ScalarTraits<uint16_t> struct
578 typedef Interval IVal;
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/Support/
DYAMLTraits.h148 template <typename T, typename Enable = void> struct ScalarTraits { struct
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/Support/
DYAMLTraits.h148 template <typename T, typename Enable = void> struct ScalarTraits { struct
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/Support/
DYAMLTraits.h148 template <typename T, typename Enable = void> struct ScalarTraits { struct
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/Support/
DYAMLTraits.h148 template <typename T, typename Enable = void> struct ScalarTraits { struct
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Support/
H A DYAMLTraits.h148 template <typename T, typename Enable = void> struct ScalarTraits { struct
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DYAMLTraits.h146 template <typename T, typename Enable = void> struct ScalarTraits { struct
/aosp_15_r20/external/deqp/modules/glshared/
H A DglsBuiltinPrecisionTests.cpp326 struct ScalarTraits struct
328 typedef Interval IVal;
330 static Interval doMakeIVal(const T &value) in doMakeIVal()
337 static Interval doUnion(const Interval &a, const Interval &b) in doUnion()
342 static bool doContains(const Interval &a, T value) in doContains()
347 static bool doContainsWarning(const Interval &a, T value) in doContainsWarning()
352 static Interval doConvert(const FloatFormat &fmt, const IVal &ival) in doConvert()
357 static Interval doRound(const FloatFormat &fmt, T value) in doRound()
/aosp_15_r20/external/eigen/Eigen/src/Geometry/
H A DAlignedBox.h72 typedef NumTraits<Scalar> ScalarTraits; typedef
/aosp_15_r20/external/eigen/test/
H A Dgeo_alignedbox.cpp34 typedef NumTraits<Scalar> ScalarTraits; in alignedbox() typedef