| /llvm-project-15.0.7/compiler-rt/lib/xray/ |
| H A D | xray_allocator.h | 177 bool Owned; member 230 Owned(true), in Allocator() 238 Owned(false), in Allocator() 255 Owned = O.Owned; in Allocator() 256 O.Owned = false; in Allocator() 272 Owned = O.Owned; 273 O.Owned = false; 280 if (Owned && BackingStore != nullptr) { in ~Allocator()
|
| /llvm-project-15.0.7/lldb/unittests/ScriptInterpreter/Python/ |
| H A D | PythonDataObjectsTests.cpp | 58 PythonObject owned_long(PyRefType::Owned, obj); in TEST_F() 111 PythonObject version_info_type(PyRefType::Owned, in TEST_F() 170 PythonInteger python_long(PyRefType::Owned, py_long); in TEST_F() 188 PythonBoolean python_true(PyRefType::Owned, Py_True); in TEST_F() 193 PythonBoolean python_false(PyRefType::Owned, Py_False); in TEST_F() 199 PythonBoolean python_boolean(PyRefType::Owned, py_bool); in TEST_F() 214 PythonBytes python_bytes(PyRefType::Owned, py_bytes); in TEST_F() 230 PythonByteArray python_bytes(PyRefType::Owned, py_bytes); in TEST_F() 292 PythonList list(PyRefType::Owned, py_list); in TEST_F() 450 PythonDictionary dict(PyRefType::Owned, py_dict); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | JSON.h | 559 ObjectKey(std::string S) : Owned(new std::string(std::move(S))) { in ObjectKey() 560 if (LLVM_UNLIKELY(!isUTF8(*Owned))) { in ObjectKey() 562 *Owned = fixUTF8(std::move(*Owned)); in ObjectKey() 564 Data = *Owned; in ObjectKey() 579 if (C.Owned) { 580 Owned.reset(new std::string(*C.Owned)); 581 Data = *Owned; 595 std::unique_ptr<std::string> Owned;
|
| /llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/ |
| H A D | ScriptedPythonInterface.h | 60 PyRefType::Owned, in Dispatch() 92 PyRefType::Owned, in Dispatch()
|
| H A D | ScriptInterpreterPython.cpp | 866 PyRefType::Owned, in ExecuteOneLine() 870 PyRefType::Owned, in ExecuteOneLine() 1461 PyRefType::Owned, in GetRecognizedArguments() 1521 PythonObject pmeth(PyRefType::Owned, in OSPlugin_RegisterInfo() 1542 PyRefType::Owned, in OSPlugin_RegisterInfo() 1576 PythonObject pmeth(PyRefType::Owned, in OSPlugin_ThreadsInfo() 1597 PyRefType::Owned, in OSPlugin_ThreadsInfo() 1654 PyRefType::Owned, in OSPlugin_RegisterContextData() 2470 PyRefType::Owned, in GetSyntheticTypeName() 3012 PyRefType::Owned, in GetShortHelpForCommandObject() [all …]
|
| H A D | PythonDataObjects.h | 105 Owned // We have ownership of the incoming PyObject. We should enumerator 123 T thing(PyRefType::Owned, obj); in Take() 393 else if (type == PyRefType::Owned) 740 PythonObject(PyRefType::Owned, static_cast<PyObject *>(GetValue()));
|
| H A D | PythonDataObjects.cpp | 187 return PythonString(PyRefType::Owned, repr); in Repr() 196 return PythonString(PyRefType::Owned, str); in Str() 258 return PythonObject(PyRefType::Owned, in GetAttributeValue() 650 return PythonList(PyRefType::Owned, PyDict_Keys(m_py_obj)); in GetKeys() 875 return PythonObject(PyRefType::Owned, PyObject_CallObject(m_py_obj, nullptr)); in operator ()() 881 return PythonObject(PyRefType::Owned, in operator ()() 888 return PythonObject(PyRefType::Owned, in operator ()()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.h | 54 Owned = 0, // Owning reference. enumerator 153 return getKind() == Owned; in isOwned() 173 return RefVal(Owned, o, /*Count=*/1, 0, t, IvarAccessHistory::None); in makeOwned()
|
| H A D | RetainCountChecker.cpp | 52 case Owned: { in print() 752 case RefVal::Owned: in updateSymbol() 765 if (V.getKind() == RefVal::Owned) { in updateSymbol() 788 case RefVal::Owned: in updateSymbol() 803 case RefVal::Owned: in updateSymbol() 1000 case RefVal::Owned: { in processReturn()
|
| H A D | RetainCountDiagnostics.cpp | 116 case RefVal::Owned: in shouldGenerateNote()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | buffer_ostream_test.cpp | 51 TEST(buffer_ostreamTest, Owned) { in TEST() argument
|
| /llvm-project-15.0.7/lldb/bindings/python/ |
| H A D | python-swigsafecast.swig | 5 return {PyRefType::Owned, SWIG_NewPointerObj(obj, info, SWIG_POINTER_OWN)};
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | DeclSpec.cpp | 786 Decl *Rep, bool Owned, in SetTypeSpecType() argument 788 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep, Owned, Policy); in SetTypeSpecType() 795 Decl *Rep, bool Owned, in SetTypeSpecType() argument 811 TypeSpecOwned = Owned && Rep != nullptr; in SetTypeSpecType()
|
| H A D | TreeTransform.h | 139 static inline ExprResult Owned(Expr *E) { return E; } in Owned() function 140 static inline StmtResult Owned(Stmt *S) { return S; } in Owned() function 2383 return Owned(new (getSema().Context) CXXCatchStmt(CatchLoc, ExceptionDecl, in RebuildCXXCatchStmt() 3638 return Owned( in RebuildObjCPropertyRefExpr() 7570 return Owned(S); in TransformWhileStmt() 7823 return Owned(S); in TransformMSAsmStmt()
|
| H A D | SemaExprCXX.cpp | 8657 ExprResult TransformLambdaExpr(LambdaExpr *E) { return Owned(E); } in TransformLambdaExpr() 8659 ExprResult TransformBlockExpr(BlockExpr *E) { return Owned(E); } in TransformBlockExpr()
|
| H A D | SemaTemplate.cpp | 9924 bool Owned = false; in ActOnExplicitInstantiation() local 9929 MultiTemplateParamsArg(), Owned, IsDependent, in ActOnExplicitInstantiation()
|
| H A D | SemaDeclCXX.cpp | 16769 bool Owned = false; in ActOnTemplatedFriendTag() local 16774 MultiTemplateParamsArg(), Owned, IsDependent, in ActOnTemplatedFriendTag()
|
| /llvm-project-15.0.7/llvm/lib/Demangle/ |
| H A D | MicrosoftDemangleNodes.cpp | 125 std::string Owned(SV.begin(), SV.end()); in toString() local 127 return Owned; in toString()
|
| H A D | MicrosoftDemangle.cpp | 977 StringView Owned = copyString(OB); in memorizeIdentifier() local 978 memorizeString(Owned); in memorizeIdentifier()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/ |
| H A D | owning-memory.rst | 42 gsl::owner<int*> Owned = &Stack; // Bad, not a resource assigned
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 677 unsigned &DiagID, Decl *Rep, bool Owned, 685 unsigned &DiagID, Decl *Rep, bool Owned,
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 1849 bool Owned = false; in ParseClassSpecifier() local 1983 DS.getModulePrivateSpecLoc(), TParams, Owned, IsDependent, in ParseClassSpecifier() 2047 DiagID, TagOrTempResult.get(), Owned, Policy); in ParseClassSpecifier()
|
| H A D | ParseDecl.cpp | 4868 bool Owned = false; in ParseEnumSpecifier() local 4874 attrs, AS, DS.getModulePrivateSpecLoc(), TParams, Owned, IsDependent, in ParseEnumSpecifier() 4890 PrevSpec, DiagID, TagDecl, Owned, in ParseEnumSpecifier() 4945 PrevSpec, DiagID, TagDecl, Owned, in ParseEnumSpecifier()
|