Searched refs:BinaryRef (Results 1 – 7 of 7) sorted by relevance
/external/llvm/include/llvm/MC/ |
D | YAML.h | 48 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/ |
D | YAML.cpp | 22 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/ |
D | YAMLTest.cpp | 17 yaml::BinaryRef Binary; 31 TEST(ObjectYAML, BinaryRef) { in TEST() argument
|
/external/llvm/include/llvm/Object/ |
D | COFFYAML.h | 58 yaml::BinaryRef SectionData;
|
D | ELFYAML.h | 107 yaml::BinaryRef Content;
|
/external/llvm/tools/obj2yaml/ |
D | coff2yaml.cpp | 116 NewYAMLSection.SectionData = yaml::BinaryRef(sectionData); in dumpSections()
|
D | elf2yaml.cpp | 334 S->Content = yaml::BinaryRef(ContentOrErr.get()); in dumpContentSection()
|