Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/ObjectYAML/
DYAML.h57 class BinaryRef {
58 friend bool operator==(const BinaryRef &LHS, const BinaryRef &RHS);
66 BinaryRef(ArrayRef<uint8_t> Data) : Data(Data), DataIsHexString(false) {} in BinaryRef() function
67 BinaryRef(StringRef Data) in BinaryRef() function
70 BinaryRef() : DataIsHexString(true) {} in BinaryRef() function
88 inline bool operator==(const BinaryRef &LHS, const BinaryRef &RHS) {
96 template <> struct ScalarTraits<BinaryRef> {
97 static void output(const BinaryRef &, void *, llvm::raw_ostream &);
98 static StringRef input(StringRef, void *, BinaryRef &);
DCOFFYAML.h58 yaml::BinaryRef SectionData;
/external/llvm-project/llvm/include/llvm/ObjectYAML/
DYAML.h63 class BinaryRef {
64 friend bool operator==(const BinaryRef &LHS, const BinaryRef &RHS);
74 BinaryRef() = default;
75 BinaryRef(ArrayRef<uint8_t> Data) : Data(Data), DataIsHexString(false) {} in BinaryRef() function
76 BinaryRef(StringRef Data) : Data(arrayRefFromStringRef(Data)) {} in BinaryRef() function
98 inline bool operator==(const BinaryRef &LHS, const BinaryRef &RHS) {
106 template <> struct ScalarTraits<BinaryRef> {
107 static void output(const BinaryRef &, void *, raw_ostream &);
108 static StringRef input(StringRef, void *, BinaryRef &);
DMinidumpYAML.h79 yaml::BinaryRef CvRecord;
80 yaml::BinaryRef MiscRecord;
89 yaml::BinaryRef Stack;
90 yaml::BinaryRef Context;
99 yaml::BinaryRef Content;
110 yaml::BinaryRef ThreadContext;
149 yaml::BinaryRef Content;
242 template <> struct MappingContextTraits<minidump::MemoryDescriptor, BinaryRef> {
244 BinaryRef &Content);
DArchiveYAML.h47 Optional<yaml::BinaryRef> Content;
53 Optional<yaml::BinaryRef> Content;
DCodeViewYAMLTypeHashing.h39 yaml::BinaryRef Hash;
DWasmYAML.h105 yaml::BinaryRef Body;
122 yaml::BinaryRef Content;
197 yaml::BinaryRef Payload;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DYAML.h63 class BinaryRef {
64 friend bool operator==(const BinaryRef &LHS, const BinaryRef &RHS);
74 BinaryRef() = default;
75 BinaryRef(ArrayRef<uint8_t> Data) : Data(Data), DataIsHexString(false) {} in BinaryRef() function
76 BinaryRef(StringRef Data) : Data(arrayRefFromStringRef(Data)) {} in BinaryRef() function
98 inline bool operator==(const BinaryRef &LHS, const BinaryRef &RHS) {
106 template <> struct ScalarTraits<BinaryRef> {
107 static void output(const BinaryRef &, void *, raw_ostream &);
108 static StringRef input(StringRef, void *, BinaryRef &);
DMinidumpYAML.h79 yaml::BinaryRef CvRecord;
80 yaml::BinaryRef MiscRecord;
89 yaml::BinaryRef Stack;
90 yaml::BinaryRef Context;
99 yaml::BinaryRef Content;
110 yaml::BinaryRef ThreadContext;
149 yaml::BinaryRef Content;
242 template <> struct MappingContextTraits<minidump::MemoryDescriptor, BinaryRef> {
244 BinaryRef &Content);
DELFYAML.h131 yaml::BinaryRef Desc;
205 Optional<yaml::BinaryRef> Pattern;
219 Optional<yaml::BinaryRef> Content;
236 Optional<yaml::BinaryRef> Content;
244 Optional<yaml::BinaryRef> Content;
264 Optional<yaml::BinaryRef> Content;
274 Optional<yaml::BinaryRef> Content;
305 Optional<yaml::BinaryRef> Content;
331 Optional<yaml::BinaryRef> Content;
352 Optional<yaml::BinaryRef> Content;
[all …]
DCodeViewYAMLTypeHashing.h39 yaml::BinaryRef Hash;
DWasmYAML.h104 yaml::BinaryRef Body;
119 yaml::BinaryRef Content;
194 yaml::BinaryRef Payload;
/external/llvm/lib/ObjectYAML/
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-project/llvm/lib/ObjectYAML/
DYAML.cpp22 void yaml::ScalarTraits<yaml::BinaryRef>::output( in output()
23 const yaml::BinaryRef &Val, void *, 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, uint64_t N) const { in writeAsBinary()
55 void yaml::BinaryRef::writeAsHex(raw_ostream &OS) const { in writeAsHex()
DCodeViewYAMLTypeHashing.cpp37 ScalarTraits<BinaryRef>::output(GH.Hash, Ctx, OS); in output()
42 return ScalarTraits<BinaryRef>::input(Scalar, Ctx, GH.Hash); in input()
DMinidumpEmitter.cpp46 size_t allocateBytes(yaml::BinaryRef Data) { in allocateBytes()
116 static LocationDescriptor layout(BlobAllocator &File, yaml::BinaryRef Data) { in layout()
DMinidumpYAML.cpp285 IO.mapOptional("Misc Record", M.MiscRecord, yaml::BinaryRef()); in mapping()
303 MappingContextTraits<MemoryDescriptor, yaml::BinaryRef>::mapping( in mapping()
353 void yaml::MappingContextTraits<MemoryDescriptor, yaml::BinaryRef>::mapping( in mapping()
354 IO &IO, MemoryDescriptor &Memory, BinaryRef &Content) { in mapping()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DYAML.cpp22 void yaml::ScalarTraits<yaml::BinaryRef>::output( in output()
23 const yaml::BinaryRef &Val, void *, 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, uint64_t N) const { in writeAsBinary()
55 void yaml::BinaryRef::writeAsHex(raw_ostream &OS) const { in writeAsHex()
DCodeViewYAMLTypeHashing.cpp37 ScalarTraits<BinaryRef>::output(GH.Hash, Ctx, OS); in output()
42 return ScalarTraits<BinaryRef>::input(Scalar, Ctx, GH.Hash); in input()
DMinidumpEmitter.cpp46 size_t allocateBytes(yaml::BinaryRef Data) { in allocateBytes()
116 static LocationDescriptor layout(BlobAllocator &File, yaml::BinaryRef Data) { in layout()
DMinidumpYAML.cpp285 IO.mapOptional("Misc Record", M.MiscRecord, yaml::BinaryRef()); in mapping()
303 MappingContextTraits<MemoryDescriptor, yaml::BinaryRef>::mapping( in mapping()
353 void yaml::MappingContextTraits<MemoryDescriptor, yaml::BinaryRef>::mapping( in mapping()
354 IO &IO, MemoryDescriptor &Memory, BinaryRef &Content) { in mapping()
/external/llvm-project/llvm/unittests/ObjectYAML/
DYAMLTest.cpp16 yaml::BinaryRef Binary;
30 TEST(ObjectYAML, BinaryRef) { in TEST() argument
53 EXPECT_EQ(BH2.Binary, yaml::BinaryRef("AAAA")); in TEST()
/external/llvm/unittests/ObjectYAML/
DYAMLTest.cpp17 yaml::BinaryRef Binary;
31 TEST(ObjectYAML, BinaryRef) { in TEST() argument
/external/llvm-project/llvm/tools/obj2yaml/
Delf2yaml.cpp837 S->Content = yaml::BinaryRef(Content); in dumpStackSizesSection()
881 S->Content = yaml::BinaryRef(Content); in dumpBBAddrMapSection()
926 S->Content = yaml::BinaryRef(Content); in dumpAddrsigSection()
1005 S->Content = yaml::BinaryRef(Content); in dumpCallGraphProfileSection()
1036 S->Content = yaml::BinaryRef(Content); in dumpCallGraphProfileSection()
1140 S->Content = yaml::BinaryRef(Content); in dumpContentSection()
1193 S->Content = yaml::BinaryRef(*ContentOrErr); in dumpNoteSection()
1199 S->Content = yaml::BinaryRef(*ContentOrErr); in dumpNoteSection()
1227 S->Content = yaml::BinaryRef(Content); in dumpHashSection()
1236 S->Content = yaml::BinaryRef(Content); in dumpHashSection()
[all …]
Dwasm2yaml.cpp185 CustomSec->Payload = yaml::BinaryRef(WasmSec.Content); in dumpCustomSection()
349 Function.Body = yaml::BinaryRef(Func.Body); in dump()
363 Seg.Content = yaml::BinaryRef(Segment.Data.Content); in dump()

12