Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DYAMLTraits.cpp731 void ScalarTraits<bool>::output(const bool &Val, void *, raw_ostream &Out) { in output()
735 StringRef ScalarTraits<bool>::input(StringRef Scalar, void *, bool &Val) { in input()
746 void ScalarTraits<StringRef>::output(const StringRef &Val, void *, in output()
751 StringRef ScalarTraits<StringRef>::input(StringRef Scalar, void *, in input()
757 void ScalarTraits<std::string>::output(const std::string &Val, void *, in output()
762 StringRef ScalarTraits<std::string>::input(StringRef Scalar, void *, in input()
768 void ScalarTraits<uint8_t>::output(const uint8_t &Val, void *, in output()
775 StringRef ScalarTraits<uint8_t>::input(StringRef Scalar, void *, uint8_t &Val) { in input()
785 void ScalarTraits<uint16_t>::output(const uint16_t &Val, void *, in output()
790 StringRef ScalarTraits<uint16_t>::input(StringRef Scalar, void *, in input()
[all …]
/external/llvm/include/llvm/CodeGen/
DMIRYamlMapping.h43 template <> struct ScalarTraits<StringValue> {
64 template <> struct ScalarTraits<FlowStringValue> {
66 return ScalarTraits<StringValue>::output(S, nullptr, OS);
70 return ScalarTraits<StringValue>::input(Scalar, Ctx, S);
82 return ScalarTraits<StringValue>::output(S.Value, Ctx, OS);
86 return ScalarTraits<StringValue>::input(Scalar, Ctx, S.Value);
104 template <> struct ScalarTraits<UnsignedValue> {
106 return ScalarTraits<unsigned>::output(Value.Value, Ctx, OS);
113 return ScalarTraits<unsigned>::input(Scalar, Ctx, Value.Value);
117 return ScalarTraits<unsigned>::mustQuote(Scalar);
/external/llvm/include/llvm/Support/
DYAMLTraits.h104 struct ScalarTraits { struct
240 (sizeof(test<ScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
662 ScalarTraits<T>::output(Val, io.getContext(), Buffer);
664 io.scalarString(Str, ScalarTraits<T>::mustQuote(Str));
668 io.scalarString(Str, ScalarTraits<T>::mustQuote(Str));
669 StringRef Result = ScalarTraits<T>::input(Str, io.getContext(), Val);
771 struct ScalarTraits<bool> {
778 struct ScalarTraits<StringRef> {
785 struct ScalarTraits<std::string> {
792 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;
100 m_min.setConstant( ScalarTraits::highest() ); in setEmpty()
101 m_max.setConstant( ScalarTraits::lowest() ); in setEmpty()
169 if(!ScalarTraits::IsInteger) in sample()
302 …bool isApprox(const AlignedBox& other, const RealScalar& prec = ScalarTraits::dummy_precision()) c…
/external/llvm/lib/MC/
DYAML.cpp22 void yaml::ScalarTraits<yaml::BinaryRef>::output( in output()
27 StringRef yaml::ScalarTraits<yaml::BinaryRef>::input(StringRef Scalar, void *, in input()
/external/llvm/include/llvm/MC/
DYAML.h87 template <> struct ScalarTraits<BinaryRef> {
/external/llvm/tools/dsymutil/
DDebugMap.cpp152 void ScalarTraits<Triple>::output(const Triple &val, void *, in output()
157 StringRef ScalarTraits<Triple>::input(StringRef scalar, void *, Triple &value) { in input()
DDebugMap.h214 template <> struct ScalarTraits<Triple> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/llvm/unittests/Support/
DYAMLIOTest.cpp23 using llvm::yaml::ScalarTraits;
720 struct ScalarTraits<MyCustomType> { struct
933 struct ScalarTraits<MyNumber> { struct
2104 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> {
490 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>