Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DJSON.h560 ObjectKey(std::string S) : Owned(new std::string(std::move(S))) { in ObjectKey()
561 if (LLVM_UNLIKELY(!isUTF8(*Owned))) { in ObjectKey()
563 *Owned = fixUTF8(std::move(*Owned)); in ObjectKey()
565 Data = *Owned; in ObjectKey()
580 if (C.Owned) {
581 Owned.reset(new std::string(*C.Owned));
582 Data = *Owned;
596 std::unique_ptr<std::string> Owned;
/openbsd/gnu/llvm/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.cpp53 case Owned: { in print()
753 case RefVal::Owned: in updateSymbol()
766 if (V.getKind() == RefVal::Owned) { in updateSymbol()
789 case RefVal::Owned: in updateSymbol()
804 case RefVal::Owned: in updateSymbol()
1001 case RefVal::Owned: { in processReturn()
H A DRetainCountDiagnostics.cpp117 case RefVal::Owned: in shouldGenerateNote()
/openbsd/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.h105 Owned // We have ownership of the incoming PyObject. We should enumerator
123 T thing(PyRefType::Owned, obj); in Take()
405 else if (type == PyRefType::Owned)
752 PythonObject(PyRefType::Owned, static_cast<PyObject *>(GetValue()));
H A DPythonDataObjects.cpp186 return PythonString(PyRefType::Owned, repr); in Repr()
195 return PythonString(PyRefType::Owned, str); in Str()
257 return PythonObject(PyRefType::Owned, in GetAttributeValue()
649 return PythonList(PyRefType::Owned, PyDict_Keys(m_py_obj)); in GetKeys()
874 return PythonObject(PyRefType::Owned, PyObject_CallObject(m_py_obj, nullptr)); in operator ()()
880 return PythonObject(PyRefType::Owned, in operator ()()
887 return PythonObject(PyRefType::Owned, in operator ()()
H A DScriptInterpreterPython.cpp870 PyRefType::Owned, in ExecuteOneLine()
874 PyRefType::Owned, in ExecuteOneLine()
1463 PyRefType::Owned, in GetRecognizedArguments()
2705 PyRefType::Owned, static_cast<PyObject *>(module_pyobj))); in LoadScriptingModule()
2928 PythonObject pmeth(PyRefType::Owned, in GetFlagsForCommandObject()
/openbsd/gnu/llvm/lldb/bindings/python/
H A Dpython-swigsafecast.swig5 return {PyRefType::Owned, SWIG_NewPointerObj(obj, info, SWIG_POINTER_OWN)};
/openbsd/gnu/llvm/llvm/lib/Demangle/
H A DMicrosoftDemangleNodes.cpp124 std::string Owned(SV.begin(), SV.end()); in toString() local
126 return Owned; in toString()
H A DMicrosoftDemangle.cpp977 StringView Owned = copyString(OB); in memorizeIdentifier() local
978 memorizeString(Owned); in memorizeIdentifier()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DDeclSpec.cpp794 Decl *Rep, bool Owned, in SetTypeSpecType() argument
796 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep, Owned, Policy); in SetTypeSpecType()
803 Decl *Rep, bool Owned, in SetTypeSpecType() argument
819 TypeSpecOwned = Owned && Rep != nullptr; in SetTypeSpecType()
H A DTreeTransform.h140 static inline ExprResult Owned(Expr *E) { return E; } in Owned() function
141 static inline StmtResult Owned(Stmt *S) { return S; } in Owned() function
2472 return Owned(new (getSema().Context) CXXCatchStmt(CatchLoc, ExceptionDecl, in RebuildCXXCatchStmt()
3730 return Owned( in RebuildObjCPropertyRefExpr()
7681 return Owned(S); in TransformWhileStmt()
7933 return Owned(S); in TransformMSAsmStmt()
H A DSemaExprCXX.cpp8681 ExprResult TransformLambdaExpr(LambdaExpr *E) { return Owned(E); } in TransformLambdaExpr()
8683 ExprResult TransformBlockExpr(BlockExpr *E) { return Owned(E); } in TransformBlockExpr()
H A DSemaTemplate.cpp10180 bool Owned = false; in ActOnExplicitInstantiation() local
10184 MultiTemplateParamsArg(), Owned, IsDependent, SourceLocation(), in ActOnExplicitInstantiation()
H A DSemaDeclCXX.cpp16978 bool Owned = false; in ActOnTemplatedFriendTag() local
16983 MultiTemplateParamsArg(), Owned, IsDependent, in ActOnTemplatedFriendTag()
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DDeclSpec.h696 unsigned &DiagID, Decl *Rep, bool Owned,
704 unsigned &DiagID, Decl *Rep, bool Owned,
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseDeclCXX.cpp1938 bool Owned = false; in ParseClassSpecifier() local
2072 DS.getModulePrivateSpecLoc(), TParams, Owned, IsDependent, in ParseClassSpecifier()
2136 DiagID, TagOrTempResult.get(), Owned, Policy); in ParseClassSpecifier()
H A DParseDecl.cpp4964 bool Owned = false; in ParseEnumSpecifier() local
4971 TParams, Owned, IsDependent, ScopedEnumKWLoc, in ParseEnumSpecifier()
4987 PrevSpec, DiagID, TagDecl, Owned, in ParseEnumSpecifier()
5042 PrevSpec, DiagID, TagDecl, Owned, in ParseEnumSpecifier()