Home
last modified time | relevance | path

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

/external/llvm/include/llvm/MC/
DYAML.h48 class BinaryRef {
49 friend bool operator==(const BinaryRef &LHS, const BinaryRef &RHS);
57 BinaryRef(ArrayRef<uint8_t> Data) : Data(Data), DataIsHexString(false) {} in BinaryRef() function
58 BinaryRef(StringRef Data) in BinaryRef() function
61 BinaryRef() : DataIsHexString(true) {} in BinaryRef() function
79 inline bool operator==(const BinaryRef &LHS, const BinaryRef &RHS) {
87 template <> struct ScalarTraits<BinaryRef> {
88 static void output(const BinaryRef &, void *, llvm::raw_ostream &);
89 static StringRef input(StringRef, void *, BinaryRef &);
/external/llvm/lib/MC/
DYAML.cpp22 void yaml::ScalarTraits<yaml::BinaryRef>::output( in output()
23 const yaml::BinaryRef &Val, void *, llvm::raw_ostream &Out) { in output()
27 StringRef yaml::ScalarTraits<yaml::BinaryRef>::input(StringRef Scalar, void *, in input()
28 yaml::BinaryRef &Val) { in input()
36 Val = yaml::BinaryRef(Scalar); in input()
40 void yaml::BinaryRef::writeAsBinary(raw_ostream &OS) const { in writeAsBinary()
52 void yaml::BinaryRef::writeAsHex(raw_ostream &OS) const { in writeAsHex()
/external/llvm/unittests/MC/
DYAMLTest.cpp17 yaml::BinaryRef Binary;
31 TEST(ObjectYAML, BinaryRef) { in TEST() argument
/external/llvm/include/llvm/Object/
DCOFFYAML.h58 yaml::BinaryRef SectionData;
DELFYAML.h107 yaml::BinaryRef Content;
/external/llvm/tools/obj2yaml/
Dcoff2yaml.cpp116 NewYAMLSection.SectionData = yaml::BinaryRef(sectionData); in dumpSections()
Delf2yaml.cpp334 S->Content = yaml::BinaryRef(ContentOrErr.get()); in dumpContentSection()