Home
last modified time | relevance | path

Searched refs:unique_ptr (Results 1 – 25 of 4757) sorted by relevance

12345678910>>...191

/third_party/skia/src/sksl/
DSkSLBuiltinTypes.h24 const std::unique_ptr<Type> fFloat;
25 const std::unique_ptr<Type> fFloat2;
26 const std::unique_ptr<Type> fFloat3;
27 const std::unique_ptr<Type> fFloat4;
29 const std::unique_ptr<Type> fHalf;
30 const std::unique_ptr<Type> fHalf2;
31 const std::unique_ptr<Type> fHalf3;
32 const std::unique_ptr<Type> fHalf4;
34 const std::unique_ptr<Type> fInt;
35 const std::unique_ptr<Type> fInt2;
[all …]
/third_party/boost/libs/bind/test/
Dbind_unique_ptr_test.cpp29 void fv1( std::unique_ptr<int> p1 ) in fv1()
34 void fv2( std::unique_ptr<int> p1, std::unique_ptr<int> p2 ) in fv2()
40 void fv3( std::unique_ptr<int> p1, std::unique_ptr<int> p2, std::unique_ptr<int> p3 ) in fv3()
47 void fv4( std::unique_ptr<int> p1, std::unique_ptr<int> p2, std::unique_ptr<int> p3, std::unique_pt… in fv4()
55 void fv5( std::unique_ptr<int> p1, std::unique_ptr<int> p2, std::unique_ptr<int> p3, std::unique_pt… in fv5()
64 …v6( std::unique_ptr<int> p1, std::unique_ptr<int> p2, std::unique_ptr<int> p3, std::unique_ptr<int… in fv6()
74unique_ptr<int> p1, std::unique_ptr<int> p2, std::unique_ptr<int> p3, std::unique_ptr<int> p4, std… in fv7()
85unique_ptr<int> p1, std::unique_ptr<int> p2, std::unique_ptr<int> p3, std::unique_ptr<int> p4, std… in fv8()
97unique_ptr<int> p1, std::unique_ptr<int> p2, std::unique_ptr<int> p3, std::unique_ptr<int> p4, std… in fv9()
113 std::unique_ptr<int> p1( new int(1) ); in test()
[all …]
/third_party/flutter/skia/src/sksl/
DSkSLContext.h217 const std::unique_ptr<Type> fInvalid_Type;
218 const std::unique_ptr<Type> fVoid_Type;
219 const std::unique_ptr<Type> fNull_Type;
220 const std::unique_ptr<Type> fFloatLiteral_Type;
221 const std::unique_ptr<Type> fIntLiteral_Type;
223 const std::unique_ptr<Type> fDouble_Type;
224 const std::unique_ptr<Type> fDouble2_Type;
225 const std::unique_ptr<Type> fDouble3_Type;
226 const std::unique_ptr<Type> fDouble4_Type;
228 const std::unique_ptr<Type> fFloat_Type;
[all …]
DSkSLIRGenerator.h47 std::vector<std::unique_ptr<ProgramElement>>* result);
54 std::unique_ptr<Expression> constantFold(const Expression& left,
58 std::unique_ptr<Expression> getArg(int offset, String name) const;
71 std::vector<std::unique_ptr<ProgramElement>>* inherited);
81 std::unique_ptr<VarDeclarations> convertVarDeclarations(const ASTNode& decl,
84 std::unique_ptr<Statement> convertStatement(const ASTNode& statement);
85 std::unique_ptr<Expression> convertExpression(const ASTNode& expression);
86 std::unique_ptr<ModifiersDeclaration> convertModifiersDeclaration(const ASTNode& m);
89 std::unique_ptr<Expression> call(int offset,
91 std::vector<std::unique_ptr<Expression>> arguments);
[all …]
/third_party/gn/src/gn/
Dxcode_object_unittest.cc12 std::unique_ptr<PBXSourcesBuildPhase> GetPBXSourcesBuildPhaseObject() { in GetPBXSourcesBuildPhaseObject()
13 std::unique_ptr<PBXSourcesBuildPhase> pbx_sources_build_phase( in GetPBXSourcesBuildPhaseObject()
19 std::unique_ptr<PBXFrameworksBuildPhase> GetPBXFrameworksBuildPhaseObject() { in GetPBXFrameworksBuildPhaseObject()
20 std::unique_ptr<PBXFrameworksBuildPhase> pbx_frameworks_build_phase( in GetPBXFrameworksBuildPhaseObject()
26 std::unique_ptr<PBXShellScriptBuildPhase> GetPBXShellScriptBuildPhaseObject() { in GetPBXShellScriptBuildPhaseObject()
27 std::unique_ptr<PBXShellScriptBuildPhase> pbx_shell_script_build_phase( in GetPBXShellScriptBuildPhaseObject()
33 std::unique_ptr<PBXGroup> GetPBXGroupObject() { in GetPBXGroupObject()
34 std::unique_ptr<PBXGroup> pbx_group(new PBXGroup("/dir1/dir2", "group")); in GetPBXGroupObject()
39 std::unique_ptr<PBXProject> GetPBXProjectObject() { in GetPBXProjectObject()
40 std::unique_ptr<PBXProject> pbx_project( in GetPBXProjectObject()
[all …]
Dparser.h28 static std::unique_ptr<ParseNode> Parse(const std::vector<Token>& tokens,
32 static std::unique_ptr<ParseNode> ParseExpression(
37 static std::unique_ptr<ParseNode> ParseValue(const std::vector<Token>& tokens,
45 std::unique_ptr<ParseNode> ParseExpression();
48 std::unique_ptr<ParseNode> ParseExpression(int precedence);
51 std::unique_ptr<ParseNode> Block(const Token& token);
52 std::unique_ptr<ParseNode> Literal(const Token& token);
53 std::unique_ptr<ParseNode> Name(const Token& token);
54 std::unique_ptr<ParseNode> Group(const Token& token);
55 std::unique_ptr<ParseNode> Not(const Token& token);
[all …]
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_arithmetic_parser.h34 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
35 const std::unique_ptr<tflite::SubGraphT> &tflite_subgraph,
36 const std::unique_ptr<tflite::ModelT> &tflite_model) override;
45 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
46 const std::unique_ptr<tflite::SubGraphT> &tflite_subgraph,
47 const std::unique_ptr<tflite::ModelT> &tflite_model) override;
56 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
57 const std::unique_ptr<tflite::SubGraphT> &tflite_subgraph,
58 const std::unique_ptr<tflite::ModelT> &tflite_model) override;
67 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
[all …]
Dtflite_arithmetic_parser.cc52 ops::PrimitiveC *TfliteAddParser::Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op, in Parse()
53 const std::unique_ptr<tflite::SubGraphT> &tflite_subgraph, in Parse()
54 const std::unique_ptr<tflite::ModelT> &tflite_model) { in Parse()
68 ops::PrimitiveC *TfliteMulParser::Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op, in Parse()
69 const std::unique_ptr<tflite::SubGraphT> &tflite_subgraph, in Parse()
70 const std::unique_ptr<tflite::ModelT> &tflite_model) { in Parse()
86 ops::PrimitiveC *TfliteDivParser::Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op, in Parse()
87 const std::unique_ptr<tflite::SubGraphT> &tflite_subgraph, in Parse()
88 const std::unique_ptr<tflite::ModelT> &tflite_model) { in Parse()
104 ops::PrimitiveC *TfliteSubParser::Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op, in Parse()
[all …]
Dtflite_activation_parser.h34 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
35 const std::unique_ptr<tflite::SubGraphT> &tflite_subgraph,
36 const std::unique_ptr<tflite::ModelT> &tflite_model) override;
45 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
46 const std::unique_ptr<tflite::SubGraphT> &tflite_subgraph,
47 const std::unique_ptr<tflite::ModelT> &tflite_model) override;
56 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
57 const std::unique_ptr<tflite::SubGraphT> &tflite_subgraph,
58 const std::unique_ptr<tflite::ModelT> &tflite_model) override;
67 ops::PrimitiveC *Parse(const std::unique_ptr<tflite::OperatorT> &tflite_op,
[all …]
/third_party/skia/src/sksl/ir/
DSkSLForStatement.h35 std::unique_ptr<Statement> initializer, in ForStatement()
36 std::unique_ptr<Expression> test, in ForStatement()
37 std::unique_ptr<Expression> next, in ForStatement()
38 std::unique_ptr<Statement> statement, in ForStatement()
39 std::unique_ptr<LoopUnrollInfo> unrollInfo, in ForStatement()
50 static std::unique_ptr<Statement> Convert(const Context& context, int line,
51 std::unique_ptr<Statement> initializer,
52 std::unique_ptr<Expression> test,
53 std::unique_ptr<Expression> next,
54 std::unique_ptr<Statement> statement,
[all …]
DSkSLIfStatement.h25 IfStatement(int line, bool isStatic, std::unique_ptr<Expression> test, in IfStatement()
26 std::unique_ptr<Statement> ifTrue, std::unique_ptr<Statement> ifFalse) in IfStatement()
35 static std::unique_ptr<Statement> Convert(const Context& context, int line, bool isStatic,
36 std::unique_ptr<Expression> test,
37 std::unique_ptr<Statement> ifTrue,
38 std::unique_ptr<Statement> ifFalse);
41 static std::unique_ptr<Statement> Make(const Context& context, int line, bool isStatic,
42 std::unique_ptr<Expression> test,
43 std::unique_ptr<Statement> ifTrue,
44 std::unique_ptr<Statement> ifFalse);
[all …]
DSkSLTernaryExpression.h22 TernaryExpression(int line, std::unique_ptr<Expression> test, in TernaryExpression()
23 std::unique_ptr<Expression> ifTrue, std::unique_ptr<Expression> ifFalse) in TernaryExpression()
33 static std::unique_ptr<Expression> Convert(const Context& context,
34 std::unique_ptr<Expression> test,
35 std::unique_ptr<Expression> ifTrue,
36 std::unique_ptr<Expression> ifFalse);
39 static std::unique_ptr<Expression> Make(const Context& context,
40 std::unique_ptr<Expression> test,
41 std::unique_ptr<Expression> ifTrue,
42 std::unique_ptr<Expression> ifFalse);
[all …]
DSkSLBinaryExpression.h30 BinaryExpression(int line, std::unique_ptr<Expression> left, Operator op, in BinaryExpression()
31 std::unique_ptr<Expression> right, const Type* type) in BinaryExpression()
42 static std::unique_ptr<Expression> Convert(const Context& context,
43 std::unique_ptr<Expression> left,
45 std::unique_ptr<Expression> right);
49 static std::unique_ptr<Expression> Make(const Context& context,
50 std::unique_ptr<Expression> left,
52 std::unique_ptr<Expression> right);
56 static std::unique_ptr<Expression> Make(const Context& context,
57 std::unique_ptr<Expression> left,
[all …]
DSkSLIndexExpression.h23 IndexExpression(const Context& context, std::unique_ptr<Expression> base, in IndexExpression()
24 std::unique_ptr<Expression> index) in IndexExpression()
30 static std::unique_ptr<Expression> Convert(const Context& context,
32 std::unique_ptr<Expression> base,
33 std::unique_ptr<Expression> index);
36 static std::unique_ptr<Expression> Make(const Context& context,
37 std::unique_ptr<Expression> base,
38 std::unique_ptr<Expression> index);
45 std::unique_ptr<Expression>& base() { in base()
49 const std::unique_ptr<Expression>& base() const { in base()
[all …]
/third_party/boost/libs/smart_ptr/test/
Dsp_unique_ptr_test.cpp83 … class T, class D> static void test_null_unique_ptr( std::unique_ptr<T, D> p1, std::unique_ptr<T, … in test_null_unique_ptr()
112 std::unique_ptr<X> p( new X ); in main()
127 p2 = std::unique_ptr<X>( new X ); in main()
130 p2 = std::unique_ptr<X>( new X ); in main()
140 std::unique_ptr<X> p( new X ); in main()
155 p2 = std::unique_ptr<X>( new X ); in main()
158 p2 = std::unique_ptr<X>( new X ); in main()
168 std::unique_ptr<X> p( new X ); in main()
178 p2 = std::unique_ptr<X>( new X ); in main()
181 p2 = std::unique_ptr<X>( new X ); in main()
[all …]
Dsp_bml_unique_ptr_test.cpp82 …D> static void test_null_unique_ptr( boost::movelib::unique_ptr<T, D> p1, boost::movelib::unique_p… in test_null_unique_ptr()
111 boost::movelib::unique_ptr<X> p( new X ); in main()
126 p2 = boost::movelib::unique_ptr<X>( new X ); in main()
129 p2 = boost::movelib::unique_ptr<X>( new X ); in main()
144 boost::movelib::unique_ptr<X> p( new X ); in main()
159 p2 = boost::movelib::unique_ptr<X>( new X ); in main()
162 p2 = boost::movelib::unique_ptr<X>( new X ); in main()
177 boost::movelib::unique_ptr<X> p( new X ); in main()
187 p2 = boost::movelib::unique_ptr<X>( new X ); in main()
190 p2 = boost::movelib::unique_ptr<X>( new X ); in main()
[all …]
Dpointer_cast_test2.cpp40 std::unique_ptr<int> p1( new int ); in test_static_cast()
43 std::unique_ptr<int> p2 = boost::static_pointer_cast<int>( std::move( p1 ) ); in test_static_cast()
50 std::unique_ptr<int> p1( new int ); in test_static_cast()
53 std::unique_ptr<int const> p2 = boost::static_pointer_cast<int const>( std::move( p1 ) ); in test_static_cast()
60 std::unique_ptr<int[]> p1( new int[ 1 ] ); in test_static_cast()
63 std::unique_ptr<int[]> p2 = boost::static_pointer_cast<int[]>( std::move( p1 ) ); in test_static_cast()
70 std::unique_ptr<int[]> p1( new int[ 1 ] ); in test_static_cast()
73 … std::unique_ptr<int const[]> p2 = boost::static_pointer_cast<int const[]>( std::move( p1 ) ); in test_static_cast()
80 std::unique_ptr<D1> p1( new D1 ); in test_static_cast()
83 std::unique_ptr<B1> p2 = boost::static_pointer_cast<B1>( std::move( p1 ) ); in test_static_cast()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
DNativeSession.h30 NativeSession(std::unique_ptr<PDBFile> PdbFile,
31 std::unique_ptr<BumpPtrAllocator> Allocator);
34 static Error createFromPdb(std::unique_ptr<MemoryBuffer> MB,
35 std::unique_ptr<IPDBSession> &Session);
37 std::unique_ptr<IPDBSession> &Session);
41 std::unique_ptr<PDBSymbolExe> getGlobalScope() override;
42 std::unique_ptr<PDBSymbol> getSymbolById(SymIndexId SymbolId) const override;
49 std::unique_ptr<PDBSymbol>
51 std::unique_ptr<PDBSymbol> findSymbolByRVA(uint32_t RVA,
53 std::unique_ptr<PDBSymbol>
[all …]
/third_party/boost/libs/move/test/
Dunique_ptr_movector.cpp51 bml::unique_ptr<A> s(new A); in test()
53 bml::unique_ptr<A> s2(boost::move(s)); in test()
62 bml::unique_ptr<A[]> s(new A[2]); in test()
64 bml::unique_ptr<A[]> s2(boost::move(s)); in test()
73 bml::unique_ptr<A[2]> s(new A[2]); in test()
75 bml::unique_ptr<A[2]> s2(boost::move(s)); in test()
99 bml::unique_ptr<A, move_constr_deleter<A> > s(new A); in test()
101 bml::unique_ptr<A, move_constr_deleter<A> > s2 = boost::move(s); in test()
112 bml::unique_ptr<A[], move_constr_deleter<A[]> > s(new A[2]); in test()
114 bml::unique_ptr<A[], move_constr_deleter<A[]> > s2 = boost::move(s); in test()
[all …]
Dunique_ptr_observers.cpp46 bml::unique_ptr<int> p(new int(3)); in test()
54 bml::unique_ptr<int[]> p(pi); in test()
63 bml::unique_ptr<int[2]> p(pi); in test()
81 bml::unique_ptr<int> p(new int(3)); in test()
90 bml::unique_ptr<int> p; in test()
100 bml::unique_ptr<int[]> p(new int[2]); in test()
109 bml::unique_ptr<int[]> p; in test()
119 bml::unique_ptr<int[2]> p(new int[2]); in test()
128 bml::unique_ptr<int[2]> p; in test()
151 bml::unique_ptr<int> s(p); in test()
[all …]
/third_party/mindspore/mindspore/core/mindrt/src/actor/
Dmailbox.h32 virtual int EnqueueMessage(std::unique_ptr<MessageBase> msg) = 0;
33 virtual std::list<std::unique_ptr<MessageBase>> *GetMsgs() = 0;
34 virtual std::unique_ptr<MessageBase> GetMsg() = 0;
35 …inline void SetNotifyHook(std::unique_ptr<std::function<void()>> &&hook) { notifyHook = std::move(… in SetNotifyHook()
37 …void SwapMailBox(std::list<std::unique_ptr<MessageBase>> **box1, std::list<std::unique_ptr<Message… in SwapMailBox()
38 std::list<std::unique_ptr<MessageBase>> *tmp = *box1; in SwapMailBox()
47 std::unique_ptr<std::function<void()>> notifyHook;
57 int EnqueueMessage(std::unique_ptr<MessageBase> msg) override;
58 std::list<std::unique_ptr<MessageBase>> *GetMsgs() override;
59 std::unique_ptr<MessageBase> GetMsg() override { return nullptr; } in GetMsg()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/DIA/
DDIASession.h27 std::unique_ptr<IPDBSession> &Session);
29 std::unique_ptr<IPDBSession> &Session);
33 std::unique_ptr<PDBSymbolExe> getGlobalScope() override;
34 std::unique_ptr<PDBSymbol> getSymbolById(SymIndexId SymbolId) const override;
41 std::unique_ptr<PDBSymbol>
43 std::unique_ptr<PDBSymbol> findSymbolByRVA(uint32_t RVA,
45 std::unique_ptr<PDBSymbol>
49 std::unique_ptr<IPDBEnumLineNumbers>
52 std::unique_ptr<IPDBEnumLineNumbers>
54 std::unique_ptr<IPDBEnumLineNumbers>
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/
DIPDBSession.h31 virtual std::unique_ptr<PDBSymbolExe> getGlobalScope() = 0;
32 virtual std::unique_ptr<PDBSymbol>
41 std::unique_ptr<T> getConcreteSymbolById(SymIndexId SymbolId) const { in getConcreteSymbolById()
45 virtual std::unique_ptr<PDBSymbol>
47 virtual std::unique_ptr<PDBSymbol>
49 virtual std::unique_ptr<PDBSymbol>
53 virtual std::unique_ptr<IPDBEnumLineNumbers>
56 virtual std::unique_ptr<IPDBEnumLineNumbers>
58 virtual std::unique_ptr<IPDBEnumLineNumbers>
60 virtual std::unique_ptr<IPDBEnumLineNumbers>
[all …]
/third_party/skia/src/gpu/
DGrFragmentProcessor.h35 using GrFPResult = std::tuple<bool /*success*/, std::unique_ptr<GrFragmentProcessor>>;
52 static std::unique_ptr<GrFragmentProcessor> MakeColor(SkPMColor4f color);
59 static std::unique_ptr<GrFragmentProcessor> MulInputByChildAlpha(
60 std::unique_ptr<GrFragmentProcessor> child);
66 static std::unique_ptr<GrFragmentProcessor> ApplyPaintAlpha(
67 std::unique_ptr<GrFragmentProcessor> child);
74 static std::unique_ptr<GrFragmentProcessor> ModulateRGBA(
75 std::unique_ptr<GrFragmentProcessor> child, const SkPMColor4f& color);
82 static std::unique_ptr<GrFragmentProcessor> OverrideInput(std::unique_ptr<GrFragmentProcessor>,
90 static std::unique_ptr<GrFragmentProcessor> DisableCoverageAsAlpha(
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DNativeSession.cpp52 NativeSession::NativeSession(std::unique_ptr<PDBFile> PdbFile, in NativeSession()
53 std::unique_ptr<BumpPtrAllocator> Allocator) in NativeSession()
59 Error NativeSession::createFromPdb(std::unique_ptr<MemoryBuffer> Buffer, in createFromPdb()
60 std::unique_ptr<IPDBSession> &Session) { in createFromPdb()
79 std::unique_ptr<IPDBSession> &Session) { in createFromExe()
87 std::unique_ptr<PDBSymbolExe> NativeSession::getGlobalScope() { in getGlobalScope()
91 std::unique_ptr<PDBSymbol>
106 std::unique_ptr<PDBSymbol>
111 std::unique_ptr<PDBSymbol>
116 std::unique_ptr<PDBSymbol>
[all …]

12345678910>>...191