HomeSort by relevance Sort by last modified time
    Searched refs:BinaryRef (Results 1 - 7 of 7) sorted by null

  /external/llvm/include/llvm/Object/
YAML.h 51 /// BinaryRef Foo;
64 class BinaryRef {
65 friend bool operator==(const BinaryRef &LHS, const BinaryRef &RHS);
73 BinaryRef(ArrayRef<uint8_t> Data) : Data(Data), DataIsHexString(false) {}
74 BinaryRef(StringRef Data)
77 BinaryRef() : DataIsHexString(true) {}
78 /// \brief The number of bytes that are represented by this BinaryRef.
95 inline bool operator==(const BinaryRef &LHS, const BinaryRef &RHS)
    [all...]
COFFYAML.h 47 object::yaml::BinaryRef SectionData;
57 object::yaml::BinaryRef AuxiliaryData;
ELFYAML.h 72 object::yaml::BinaryRef Content;
  /external/llvm/lib/Object/
YAML.cpp 22 void yaml::ScalarTraits<object::yaml::BinaryRef>::output(
23 const object::yaml::BinaryRef &Val, void *, llvm::raw_ostream &Out) {
27 StringRef yaml::ScalarTraits<object::yaml::BinaryRef>::input(
28 StringRef Scalar, void *, object::yaml::BinaryRef &Val) {
30 return "BinaryRef hex string must contain an even number of nybbles.";
35 return "BinaryRef hex string must contain only hex digits.";
36 Val = object::yaml::BinaryRef(Scalar);
40 void BinaryRef::writeAsBinary(raw_ostream &OS) const {
52 void BinaryRef::writeAsHex(raw_ostream &OS) const {
COFFYAML.cpp 261 IO.mapOptional("AuxiliaryData", S.AuxiliaryData, object::yaml::BinaryRef());
  /external/llvm/unittests/Object/
YAMLTest.cpp 17 object::yaml::BinaryRef Binary;
31 TEST(ObjectYAML, BinaryRef) {
  /external/llvm/tools/obj2yaml/
coff2yaml.cpp 67 Sec.SectionData = object::yaml::BinaryRef(sectionData);
101 Sym.AuxiliaryData = object::yaml::BinaryRef(Obj.getSymbolAuxData(Symbol));

Completed in 196 milliseconds