Home
last modified time | relevance | path

Searched refs:Object (Results 1 – 25 of 729) sorted by relevance

12345678910>>...30

/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOReader.h33 void readHeader(Object &O) const;
34 Error readLoadCommands(Object &O) const;
35 void readSymbolTable(Object &O) const;
37 void readRebaseInfo(Object &O) const;
38 void readBindInfo(Object &O) const;
39 void readWeakBindInfo(Object &O) const;
40 void readLazyBindInfo(Object &O) const;
41 void readExportInfo(Object &O) const;
43 void readCodeSignature(Object &O) const;
47 void readExportsTrie(Object &O) const;
[all …]
/llvm-project-15.0.7/clang/lib/Basic/
H A DSarif.cpp163 static json::Object createLocation(json::Object &&PhysicalLocation, in createLocation()
183 static json::Object
191 json::Object
221 return json::Object{{{"artifactLocation", json::Object{{{"index", Idx}}}}, in createPhysicalLocation()
256 json::Object Rule{ in endRun()
268 json::Object &Run = getCurrentRun(); in endRun()
276 json::Object Artifact; in endRun()
310 json::Object
324 json::Object Tool{ in createRun()
373 json::Object &Run = getCurrentRun(); in appendResult()
[all …]
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DObjectYAML.cpp26 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
28 MappingTraits<COFFYAML::Object>::mapping(IO, *ObjectFile.Coff); in mapping()
44 ObjectFile.Elf.reset(new ELFYAML::Object()); in mapping()
45 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
47 ObjectFile.Coff.reset(new COFFYAML::Object()); in mapping()
50 ObjectFile.MachO.reset(new MachOYAML::Object()); in mapping()
57 ObjectFile.Minidump.reset(new MinidumpYAML::Object()); in mapping()
63 ObjectFile.Wasm.reset(new WasmYAML::Object()); in mapping()
66 ObjectFile.Xcoff.reset(new XCOFFYAML::Object()); in mapping()
69 ObjectFile.DXContainer.reset(new DXContainerYAML::Object()); in mapping()
[all …]
/llvm-project-15.0.7/clang/lib/ExtractAPI/Serialization/
H A DSymbolGraphSerializer.cpp32 void serializeObject(Object &Paren, StringRef Key, Optional<Object> Obj) { in serializeObject()
64 Object Version; in serializeSemanticVersion()
76 Object OS; in serializeOperatingSystem()
88 Object Platform; in serializePlatform()
227 Object Line; in serializeDocComment()
299 Object Names; in serializeNames()
323 Object Kind; in serializeSymbolKind()
457 Object Module; in serializeModule()
479 Optional<Object>
484 Object Obj; in serializeAPIRecord()
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp183 json::Object Region{ in createTextRegion()
202 return json::Object{ in createPhysicalLocation()
221 static json::Object createThreadFlowLocation(json::Object &&Location, in createThreadFlowLocation()
228 return json::Object{{"text", Text.str()}}; in createMessage()
231 static json::Object createLocation(json::Object &&PhysicalLocation, in createLocation()
277 return json::Object{ in createCodeFlow()
291 return json::Object{ in createResult()
327 json::Object Ret{ in createRule()
358 return json::Object{ in createTool()
359 {"driver", json::Object{{"name", "clang"}, in createTool()
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-trailing-return-type.cpp495 Object j1(unsigned Object) { return {Object * 2}; } in j1() argument
498 ::Object j1(unsigned Object);
501 const Object& j2(unsigned a, int b, char Object, long l);
504 const struct Object& j2(unsigned a, int b, char Object, long l);
507 std::vector<Object> j3(unsigned Object);
510 std::vector<const Object> j7(unsigned Object);
542 int Object; member in CC
543 struct Object m();
547 Object CC::m() { return {0}; } in m()
551 ::Object g();
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A Dyaml2obj.h28 struct Object;
32 struct Object;
36 struct Object;
44 struct Object;
48 struct Object;
56 struct Object;
66 bool yaml2coff(COFFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH);
67 bool yaml2elf(ELFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH,
70 bool yaml2minidump(MinidumpYAML::Object &Doc, raw_ostream &Out,
73 bool yaml2wasm(WasmYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH);
[all …]
H A DObjectYAML.h31 std::unique_ptr<ELFYAML::Object> Elf;
32 std::unique_ptr<COFFYAML::Object> Coff;
33 std::unique_ptr<MachOYAML::Object> MachO;
35 std::unique_ptr<MinidumpYAML::Object> Minidump;
37 std::unique_ptr<WasmYAML::Object> Wasm;
38 std::unique_ptr<XCOFFYAML::Object> Xcoff;
39 std::unique_ptr<DXContainerYAML::Object> DXContainer;
/llvm-project-15.0.7/lldb/tools/lldb-vscode/
H A DJSONUtils.h32 void EmplaceSafeString(llvm::json::Object &obj, llvm::StringRef key,
74 uint64_t GetUnsigned(const llvm::json::Object &obj, llvm::StringRef key,
92 bool GetBoolean(const llvm::json::Object &obj, llvm::StringRef key,
94 bool GetBoolean(const llvm::json::Object *obj, llvm::StringRef key,
110 int64_t GetSigned(const llvm::json::Object &obj, llvm::StringRef key,
112 int64_t GetSigned(const llvm::json::Object *obj, llvm::StringRef key,
145 std::vector<std::string> GetStrings(const llvm::json::Object *obj,
161 void FillResponse(const llvm::json::Object &request,
162 llvm::json::Object &response);
185 void SetValueForKey(lldb::SBValue &v, llvm::json::Object &object,
[all …]
/llvm-project-15.0.7/llvm/unittests/Support/
H A DJSONTest.cpp46 EXPECT_EQ(R"({"A":{"B":{}}})", s(Object{{"A", Object{{"B", Object{}}}}})); in TEST()
48 s(Object{{"A", Object{{"B", Object{{"X", "Y"}}}}}})); in TEST()
110 EXPECT_EQ(Str, sp(Object{ in TEST()
115 Object{ in TEST()
135 TEST(JSONTest, Object) { in TEST() argument
185 Compare(R"({"obj":{},"arr":[]})", Object{{"obj", Object{}}, {"arr", {}}}); in TEST()
187 Object{{"\n", Object{ in TEST()
262 Object *O = Doc->getAsObject(); in TEST()
605 Value V = Object{ in TEST()
608 Object{{"d", in TEST()
[all …]
H A DArrayRecyclerTest.cpp18 struct Object { struct
20 Object *Other; argument
22 typedef ArrayRecycler<Object> ARO;
52 ArrayRecycler<Object> DUT; in TEST()
55 Object *A1 = DUT.allocate(Cap, Allocator); in TEST()
59 Object *A2 = DUT.allocate(Cap, Allocator); in TEST()
63 Object *A3 = DUT.allocate(Cap, Allocator); in TEST()
83 Object *A2x = DUT.allocate(Cap, Allocator); in TEST()
92 Object *A3x = DUT.allocate(Cap, Allocator); in TEST()
94 Object *A1x = DUT.allocate(Cap, Allocator); in TEST()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DMsgPackReader.h76 struct Object { struct
95 Object() : Kind(Type::Int), Int(0) {} in Object() function
123 Expected<bool> read(Object &Obj);
136 template <class T> Expected<bool> readRaw(Object &Obj);
137 template <class T> Expected<bool> readInt(Object &Obj);
138 template <class T> Expected<bool> readUInt(Object &Obj);
139 template <class T> Expected<bool> readLength(Object &Obj);
140 template <class T> Expected<bool> readExt(Object &Obj);
141 Expected<bool> createRaw(Object &Obj, uint32_t Size);
142 Expected<bool> createExt(Object &Obj, uint32_t Size);
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DJSONGenerator.h28 class Object;
58 class Object : public std::enable_shared_from_this<Object> {
62 virtual ~Object() {} in ~Object()
122 class Array : public Object {
157 class Integer : public Object {
173 class Float : public Object {
189 class Boolean : public Object {
210 class String : public Object {
254 class Dictionary : public Object {
354 class Null : public Object {
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/xpc/
H A DXPCTransport.cpp22 json::Object encodeError(Error E) { in encodeError()
33 return json::Object{ in encodeError()
39 Error decodeError(const json::Object &O) { in decodeError()
57 sendMessage(json::Object{ in notify()
64 sendMessage(json::Object{ in call()
73 sendMessage(json::Object{ in reply()
79 sendMessage(json::Object{ in reply()
108 auto *Object = Message.getAsObject(); in handleMessage() local
109 if (!Object || Object->getString("jsonrpc") != Optional<StringRef>("2.0")) { in handleMessage()
115 if (auto *I = Object->get("id")) in handleMessage()
[all …]
/llvm-project-15.0.7/llvm/test/Bitcode/
H A Dmetadata-2.ll13 …" (%object.Object*)*, i64 (%object.Object*)*, i32 (%object.Object*, %object.Object*)*, i32 (%objec…
16 … %"byte[]" (%object.Object*)*, i64 (%object.Object*)*, i32 (%object.Object*, %object.Object*)*, i3…
17 %object.Object = type { %object.ModuleInfo.__vtbl*, i8* }
20 … %"byte[]" (%object.Object*)*, i64 (%object.Object*)*, i32 (%object.Object*, %object.Object*)*, i3…
87 !0 = !{%object.Object undef, i1 false, i1 false}
/llvm-project-15.0.7/llvm/lib/Support/
H A DJSON.cpp64 const json::Object *Object::getObject(StringRef K) const { in getObject()
69 json::Object *Object::getObject(StringRef K) { in getObject()
84 bool operator==(const Object &LHS, const Object &RHS) { in operator ==()
123 create<json::Object>(M.as<json::Object>()); in copyFrom()
149 create<json::Object>(std::move(M.as<json::Object>())); in moveFrom()
174 as<json::Object>().~Object(); in destroy()
202 case Value::Object: in operator ==()
244 std::vector<const Object::value_type *> sortedElements(const Object &O) { in sortedElements()
263 case Value::Object: in abbreviate()
292 case Value::Object: in abbreviateChildren()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DTrace.cpp40 rawEvent("M", llvm::json::Object{ in JSONTracer()
42 {"args", llvm::json::Object{{"name", "clangd"}}}, in JSONTracer()
112 llvm::json::Object{{"id", FlowID}, in JSONSpan()
118 llvm::json::Object{{"id", FlowID}, in JSONSpan()
138 llvm::json::Object Args;
157 const llvm::json::Object &Event) /*REQUIRES(Mu)*/ { in rawEvent()
175 rawEvent("M", llvm::json::Object{ in captureThreadMetadata()
286 static std::pair<Context, llvm::json::Object *>
300 llvm::json::Object *Args = nullptr; in makeSpanContext()
304 [&](llvm::json::Object *A) { in makeSpanContext()
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Dretain-count-alloc.cpp13 struct Object { int Ref; }; struct
16 Object *copyObj(__isl_keep Object *O) { in copyObj()
21 void freeObj(__isl_take Object *O) { in freeObj()
28 void useAfterFree(__isl_take Object *A) { in useAfterFree()
32 Object *B = copyObj(A); in useAfterFree()
H A Dretain-release-path-notes.m84 [object release]; // expected-note{{Object released}}
90 [object autorelease]; // expected-note{{Object autoreleased}}
91 [object autorelease]; // expected-note{{Object autoreleased}}
92 …return; // expected-warning{{Object autoreleased too many times}} expected-note{{Object was autore…
97 [object autorelease]; // expected-note{{Object autoreleased}}
98 …return; // expected-warning{{Object autoreleased too many times}} expected-note{{Object was autore…
250 …return; // expected-warning{{Object autoreleased too many times}} expected-note{{Object was autore…
256 …return; // expected-warning{{Object autoreleased too many times}} expected-note{{Object was autore…
263 …return; // expected-warning{{Object autoreleased too many times}} expected-note{{Object was autore…
317 } // FIXME-warning{{Object autoreleased too many times}}
[all …]
/llvm-project-15.0.7/llvm/lib/ObjCopy/COFF/
H A DCOFFObject.cpp19 void Object::addSymbols(ArrayRef<Symbol> NewSymbols) { in addSymbols()
27 void Object::updateSymbols() { in updateSymbols()
33 const Symbol *Object::findSymbol(size_t UniqueId) const { in findSymbol()
37 Error Object::removeSymbols( in removeSymbols()
53 Error Object::markSymbols() { in markSymbols()
68 void Object::addSections(ArrayRef<Section> NewSections) { in addSections()
76 void Object::updateSections() { in updateSections()
85 const Section *Object::findSection(ssize_t UniqueId) const { in findSection()
89 void Object::removeSections(function_ref<bool(const Section &)> ToRemove) { in removeSections()
120 void Object::truncateSections(function_ref<bool(const Section &)> ToTruncate) { in truncateSections()
H A DCOFFReader.h20 struct Object;
27 Error readExecutableHeaders(Object &Obj) const;
28 Error readSections(Object &Obj) const;
29 Error readSymbols(Object &Obj, bool IsBigObj) const;
30 Error setSymbolTargets(Object &Obj) const;
34 Expected<std::unique_ptr<Object>> create() const;
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DStructuredData.h52 class Object;
70 class Object : public std::enable_shared_from_this<Object> {
75 virtual ~Object() = default;
165 class Array : public Object {
285 class Integer : public Object {
302 class Float : public Object {
319 class Boolean : public Object {
336 class String : public Object {
352 class Dictionary : public Object {
532 class Null : public Object {
[all …]
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dattr-noundef.cpp70 struct Object { struct
73 Object() { in Object() function
79 Object *getThis() { in getThis()
85 Object obj; in use_object()
113 struct Object { struct
117 typedef int Object::*mdptr;
118 typedef int (Object::*mfptr)();
/llvm-project-15.0.7/clang/test/Parser/
H A Dnamelookup-bug-2.c4 typedef int Object; typedef
6 struct Object {int i1; } *P; struct
9 struct Object { int i2; } *X; in foo() argument
10 Object: in foo()
12 Object a; in foo()
/llvm-project-15.0.7/clang/unittests/Basic/
H A DDarwinSDKInfoTest.cpp18 llvm::json::Object Obj({{"3.0", "1.0"}, {"3.1", "1.2"}}); in TEST()
53 llvm::json::Object Obj({{"3.0", "1.0"}, {"5.0", "1.2"}}); in TEST()
64 llvm::json::Object Obj({}); in TEST()
71 llvm::json::Object Obj({{"test", "1.2"}}); in TEST()
78 llvm::json::Object Obj; in TEST()
81 llvm::json::Object VersionMap; in TEST()
85 llvm::json::Object MacOS2iOSMac; in TEST()
123 llvm::json::Object Obj; in TEST()
126 llvm::json::Object VersionMap; in TEST()
130 llvm::json::Object IOSToTvOS; in TEST()
[all …]

12345678910>>...30