Home
last modified time | relevance | path

Searched refs:Owned (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_allocator.h177 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 DPythonDataObjectsTests.cpp58 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 DJSON.h559 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 DScriptedPythonInterface.h60 PyRefType::Owned, in Dispatch()
92 PyRefType::Owned, in Dispatch()
H A DScriptInterpreterPython.cpp866 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 DPythonDataObjects.h105 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 DPythonDataObjects.cpp187 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 DRetainCountChecker.h54 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 DRetainCountChecker.cpp52 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 DRetainCountDiagnostics.cpp116 case RefVal::Owned: in shouldGenerateNote()
/llvm-project-15.0.7/llvm/unittests/Support/
H A Dbuffer_ostream_test.cpp51 TEST(buffer_ostreamTest, Owned) { in TEST() argument
/llvm-project-15.0.7/lldb/bindings/python/
H A Dpython-swigsafecast.swig5 return {PyRefType::Owned, SWIG_NewPointerObj(obj, info, SWIG_POINTER_OWN)};
/llvm-project-15.0.7/clang/lib/Sema/
H A DDeclSpec.cpp786 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 DTreeTransform.h139 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 DSemaExprCXX.cpp8657 ExprResult TransformLambdaExpr(LambdaExpr *E) { return Owned(E); } in TransformLambdaExpr()
8659 ExprResult TransformBlockExpr(BlockExpr *E) { return Owned(E); } in TransformBlockExpr()
H A DSemaTemplate.cpp9924 bool Owned = false; in ActOnExplicitInstantiation() local
9929 MultiTemplateParamsArg(), Owned, IsDependent, in ActOnExplicitInstantiation()
H A DSemaDeclCXX.cpp16769 bool Owned = false; in ActOnTemplatedFriendTag() local
16774 MultiTemplateParamsArg(), Owned, IsDependent, in ActOnTemplatedFriendTag()
/llvm-project-15.0.7/llvm/lib/Demangle/
H A DMicrosoftDemangleNodes.cpp125 std::string Owned(SV.begin(), SV.end()); in toString() local
127 return Owned; in toString()
H A DMicrosoftDemangle.cpp977 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 Downing-memory.rst42 gsl::owner<int*> Owned = &Stack; // Bad, not a resource assigned
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDeclSpec.h677 unsigned &DiagID, Decl *Rep, bool Owned,
685 unsigned &DiagID, Decl *Rep, bool Owned,
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseDeclCXX.cpp1849 bool Owned = false; in ParseClassSpecifier() local
1983 DS.getModulePrivateSpecLoc(), TParams, Owned, IsDependent, in ParseClassSpecifier()
2047 DiagID, TagOrTempResult.get(), Owned, Policy); in ParseClassSpecifier()
H A DParseDecl.cpp4868 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()