Home
last modified time | relevance | path

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

/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/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/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/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/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/llvm/include/llvm/ObjectYAML/
DYAML.h96 template <> struct ScalarTraits<BinaryRef> {
DMachOYAML.h248 template <> struct ScalarTraits<char_16> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
259 template <> struct ScalarTraits<uuid_t> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/llvm/tools/dsymutil/
DDebugMap.cpp155 void ScalarTraits<Triple>::output(const Triple &val, void *, in output()
160 StringRef ScalarTraits<Triple>::input(StringRef scalar, void *, Triple &value) { in input()
DDebugMap.h217 template <> struct ScalarTraits<Triple> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/llvm/tools/llvm-pdbdump/
DPdbYaml.cpp22 template <> struct ScalarTraits<llvm::pdb::PDB_UniqueId> { struct
/external/llvm/unittests/Support/
DYAMLIOTest.cpp23 using llvm::yaml::ScalarTraits;
825 struct ScalarTraits<MyCustomType> { struct
1038 struct ScalarTraits<MyNumber> { struct
2209 struct ScalarTraits<FlowSeq> { struct
/external/llvm/docs/
DYamlIO.rst445 custom formatting and parsing of scalar types by specializing ScalarTraits<> on
454 using llvm::yaml::ScalarTraits;
458 struct ScalarTraits<MyCustomType> {
491 ScalarTraits specialization - YAML I/O will provide the native type and your
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp295 struct ScalarTraits struct
328 struct Traits<float> : ScalarTraits<float>
346 struct Traits<bool> : ScalarTraits<bool>
371 struct Traits<int> : ScalarTraits<int>
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp274 struct ScalarTraits struct
307 struct Traits<float> : ScalarTraits<float>
325 struct Traits<bool> : ScalarTraits<bool>
350 struct Traits<int> : ScalarTraits<int>