Home
last modified time | relevance | path

Searched refs:BinaryRef (Results 1 – 8 of 8) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/ObjectYAML/
H A DYAML.h64 class BinaryRef {
65 friend bool operator==(const BinaryRef &LHS, const BinaryRef &RHS);
75 BinaryRef() = default;
76 BinaryRef(ArrayRef<uint8_t> Data) : Data(Data), DataIsHexString(false) {} in BinaryRef() function
77 BinaryRef(StringRef Data) in BinaryRef() function
99 inline bool operator==(const BinaryRef &LHS, const BinaryRef &RHS) {
107 template <> struct ScalarTraits<BinaryRef> {
108 static void output(const BinaryRef &, void *, raw_ostream &);
109 static StringRef input(StringRef, void *, BinaryRef &);
H A DCodeViewYAMLTypeHashing.h40 yaml::BinaryRef Hash;
H A DWasmYAML.h104 yaml::BinaryRef Body;
118 yaml::BinaryRef Content;
183 yaml::BinaryRef Payload;
H A DCOFFYAML.h73 yaml::BinaryRef SectionData;
H A DELFYAML.h133 yaml::BinaryRef Content;
/freebsd-12.1/contrib/llvm/lib/ObjectYAML/
H A DYAML.cpp23 void yaml::ScalarTraits<yaml::BinaryRef>::output( in output()
24 const yaml::BinaryRef &Val, void *, raw_ostream &Out) { in output()
28 StringRef yaml::ScalarTraits<yaml::BinaryRef>::input(StringRef Scalar, void *, in input()
29 yaml::BinaryRef &Val) { in input()
37 Val = yaml::BinaryRef(Scalar); in input()
41 void yaml::BinaryRef::writeAsBinary(raw_ostream &OS) const { in writeAsBinary()
53 void yaml::BinaryRef::writeAsHex(raw_ostream &OS) const { in writeAsHex()
H A DCodeViewYAMLTypeHashing.cpp38 ScalarTraits<BinaryRef>::output(GH.Hash, Ctx, OS); in output()
43 return ScalarTraits<BinaryRef>::input(Scalar, Ctx, GH.Hash); in input()
H A DCodeViewYAMLSymbols.cpp267 yaml::BinaryRef Binary; in map()
269 Binary = yaml::BinaryRef(Data); in map()