/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/ |
D | move.pass.cpp | 48 std::unique_ptr<int> ia[N]; in test1() 51 std::unique_ptr<int> ib[N]; in test1() 99 test1<input_iterator<std::unique_ptr<int>*>, output_iterator<std::unique_ptr<int>*> >(); in main() 100 test1<input_iterator<std::unique_ptr<int>*>, input_iterator<std::unique_ptr<int>*> >(); in main() 101 test1<input_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main() 102 test1<input_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*> >(); in main() 103 test1<input_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*> >(); in main() 104 test1<input_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 106 test1<forward_iterator<std::unique_ptr<int>*>, output_iterator<std::unique_ptr<int>*> >(); in main() 107 test1<forward_iterator<std::unique_ptr<int>*>, input_iterator<std::unique_ptr<int>*> >(); in main() [all …]
|
D | move_backward.pass.cpp | 48 std::unique_ptr<int> ia[N]; in test1() 51 std::unique_ptr<int> ib[N]; in test1() 76 …test1<bidirectional_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*>… in main() 77 …test1<bidirectional_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*>… in main() 78 test1<bidirectional_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 80 …test1<random_access_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*>… in main() 81 …test1<random_access_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*>… in main() 82 test1<random_access_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 84 test1<std::unique_ptr<int>*, bidirectional_iterator<std::unique_ptr<int>*> >(); in main() 85 test1<std::unique_ptr<int>*, random_access_iterator<std::unique_ptr<int>*> >(); in main() [all …]
|
/external/skia/src/sksl/ |
D | SkSLParser.h | 63 std::vector<std::unique_ptr<ASTDeclaration>> file(); 108 std::unique_ptr<ASTDeclaration> precision(); 110 std::unique_ptr<ASTDeclaration> directive(); 112 std::unique_ptr<ASTDeclaration> declaration(); 114 std::unique_ptr<ASTVarDeclarations> varDeclarations(); 116 std::unique_ptr<ASTType> structDeclaration(); 118 std::unique_ptr<ASTVarDeclarations> structVarDeclaration(Modifiers modifiers); 120 std::unique_ptr<ASTVarDeclarations> varDeclarationEnd(Modifiers modifiers, 121 std::unique_ptr<ASTType> type, 124 std::unique_ptr<ASTParameter> parameter(); [all …]
|
D | SkSLContext.h | 159 const std::unique_ptr<Type> fInvalid_Type; 160 const std::unique_ptr<Type> fVoid_Type; 162 const std::unique_ptr<Type> fDouble_Type; 163 const std::unique_ptr<Type> fDVec2_Type; 164 const std::unique_ptr<Type> fDVec3_Type; 165 const std::unique_ptr<Type> fDVec4_Type; 167 const std::unique_ptr<Type> fFloat_Type; 168 const std::unique_ptr<Type> fVec2_Type; 169 const std::unique_ptr<Type> fVec3_Type; 170 const std::unique_ptr<Type> fVec4_Type; [all …]
|
D | SkSLIRGenerator.h | 84 std::unique_ptr<VarDeclarations> convertVarDeclarations(const ASTVarDeclarations& decl, 86 std::unique_ptr<FunctionDefinition> convertFunction(const ASTFunction& f); 87 std::unique_ptr<Statement> convertStatement(const ASTStatement& statement); 88 std::unique_ptr<Expression> convertExpression(const ASTExpression& expression); 89 std::unique_ptr<ModifiersDeclaration> convertModifiersDeclaration( 97 std::unique_ptr<Expression> constantFold(const Expression& left, 119 std::unique_ptr<Expression> call(Position position, 121 std::vector<std::unique_ptr<Expression>> arguments); 123 const std::vector<std::unique_ptr<Expression>>& arguments, 125 std::unique_ptr<Expression> call(Position position, std::unique_ptr<Expression> function, [all …]
|
D | SkSLParser.cpp | 114 std::vector<std::unique_ptr<ASTDeclaration>> Parser::file() { in file() 115 std::vector<std::unique_ptr<ASTDeclaration>> result; in file() 121 std::unique_ptr<ASTDeclaration> precision = this->precision(); in file() 128 std::unique_ptr<ASTDeclaration> decl = this->directive(); in file() 135 std::unique_ptr<ASTDeclaration> decl = this->declaration(); in file() 216 std::unique_ptr<ASTDeclaration> Parser::precision() { in precision() 242 return std::unique_ptr<ASTDeclaration>(new ASTPrecision(p.fPosition, result)); in precision() 247 std::unique_ptr<ASTDeclaration> Parser::directive() { in directive() 273 return std::unique_ptr<ASTDeclaration>(new ASTExtension(start.fPosition, in directive() 283 std::unique_ptr<ASTDeclaration> Parser::declaration() { in declaration() [all …]
|
D | SkSLIRGenerator.cpp | 154 std::unique_ptr<Extension> IRGenerator::convertExtension(const ASTExtension& extension) { in convertExtension() 155 return std::unique_ptr<Extension>(new Extension(extension.fPosition, extension.fName)); in convertExtension() 158 std::unique_ptr<Statement> IRGenerator::convertStatement(const ASTStatement& statement) { in convertStatement() 189 std::unique_ptr<Block> IRGenerator::convertBlock(const ASTBlock& block) { in convertBlock() 191 std::vector<std::unique_ptr<Statement>> statements; in convertBlock() 193 std::unique_ptr<Statement> statement = this->convertStatement(*block.fStatements[i]); in convertBlock() 199 return std::unique_ptr<Block>(new Block(block.fPosition, std::move(statements), fSymbolTable)); in convertBlock() 202 std::unique_ptr<Statement> IRGenerator::convertVarDeclarationStatement( in convertVarDeclarationStatement() 208 return std::unique_ptr<Statement>(new VarDeclarationsStatement(std::move(decl))); in convertVarDeclarationStatement() 211 std::unique_ptr<VarDeclarations> IRGenerator::convertVarDeclarations(const ASTVarDeclarations& decl, in convertVarDeclarations() [all …]
|
/external/pdfium/xfa/fxfa/fm2js/ |
D | xfa_fmparse.h | 24 std::vector<std::unique_ptr<CXFA_FMExpression>> ParseTopExpression(); 25 std::unique_ptr<CXFA_FMExpression> ParseFunction(); 26 std::unique_ptr<CXFA_FMExpression> ParseExpression(); 27 std::unique_ptr<CXFA_FMExpression> ParseVarExpression(); 28 std::unique_ptr<CXFA_FMExpression> ParseExpExpression(); 29 std::unique_ptr<CXFA_FMExpression> ParseBlockExpression(); 30 std::unique_ptr<CXFA_FMExpression> ParseIfExpression(); 31 std::unique_ptr<CXFA_FMExpression> ParseWhileExpression(); 32 std::unique_ptr<CXFA_FMExpression> ParseForExpression(); 33 std::unique_ptr<CXFA_FMExpression> ParseForeachExpression(); [all …]
|
D | xfa_expression.h | 49 std::vector<std::unique_ptr<CXFA_FMExpression>>&& expressions); 58 std::vector<std::unique_ptr<CXFA_FMExpression>> m_pExpressions; 66 std::unique_ptr<CXFA_FMExpression> pInit); 74 std::unique_ptr<CXFA_FMExpression> m_pInit; 80 std::unique_ptr<CXFA_FMSimpleExpression> pExpression); 87 std::unique_ptr<CXFA_FMSimpleExpression> m_pExpression; 94 std::vector<std::unique_ptr<CXFA_FMExpression>>&& pExpressionList); 101 std::vector<std::unique_ptr<CXFA_FMExpression>> m_ExpressionList; 106 CXFA_FMDoExpression(uint32_t line, std::unique_ptr<CXFA_FMExpression> pList); 113 std::unique_ptr<CXFA_FMExpression> m_pList; [all …]
|
D | xfa_simpleexpression.h | 113 std::unique_ptr<CXFA_FMSimpleExpression> pExp); 119 std::unique_ptr<CXFA_FMSimpleExpression> m_pExp; 126 std::unique_ptr<CXFA_FMSimpleExpression> pExp1, 127 std::unique_ptr<CXFA_FMSimpleExpression> pExp2); 133 std::unique_ptr<CXFA_FMSimpleExpression> m_pExp1; 134 std::unique_ptr<CXFA_FMSimpleExpression> m_pExp2; 141 std::unique_ptr<CXFA_FMSimpleExpression> pExp1, 142 std::unique_ptr<CXFA_FMSimpleExpression> pExp2); 152 std::unique_ptr<CXFA_FMSimpleExpression> pExp1, 153 std::unique_ptr<CXFA_FMSimpleExpression> pExp2); [all …]
|
D | xfa_fmparse.cpp | 50 std::vector<std::unique_ptr<CXFA_FMExpression>> 52 std::unique_ptr<CXFA_FMExpression> expr; in ParseTopExpression() 53 std::vector<std::unique_ptr<CXFA_FMExpression>> expressions; in ParseTopExpression() 80 std::unique_ptr<CXFA_FMExpression> CXFA_FMParse::ParseFunction() { in ParseFunction() 83 std::vector<std::unique_ptr<CXFA_FMExpression>> expressions; in ParseFunction() 135 std::unique_ptr<CXFA_FMExpression> CXFA_FMParse::ParseExpression() { in ParseExpression() 136 std::unique_ptr<CXFA_FMExpression> expr; in ParseExpression() 185 std::unique_ptr<CXFA_FMExpression> CXFA_FMParse::ParseVarExpression() { in ParseVarExpression() 197 std::unique_ptr<CXFA_FMExpression> expr; in ParseVarExpression() 208 std::unique_ptr<CXFA_FMSimpleExpression> CXFA_FMParse::ParseSimpleExpression() { in ParseSimpleExpression() [all …]
|
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.swap/ |
D | swap_ranges.pass.cpp | 47 std::unique_ptr<int> i[3]; in test1() 50 std::unique_ptr<int> j[3]; in test1() 136 test1<forward_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main() 137 … test1<forward_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*> >(); in main() 138 … test1<forward_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*> >(); in main() 139 test1<forward_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() 141 … test1<bidirectional_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); in main() 142 …test1<bidirectional_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*>… in main() 143 …test1<bidirectional_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*>… in main() 144 test1<bidirectional_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); in main() [all …]
|
/external/clang/test/SemaCXX/ |
D | rval-references-examples.cpp | 4 class unique_ptr { class 7 …unique_ptr(const unique_ptr&) = delete; // expected-note 3{{'unique_ptr' has been explicitly marke… 8 …unique_ptr &operator=(const unique_ptr&) = delete; // expected-note{{candidate function has been e… 10 unique_ptr() : ptr(0) { } in unique_ptr() function in unique_ptr 11 unique_ptr(unique_ptr &&other) : ptr(other.ptr) { other.ptr = 0; } in unique_ptr() function in unique_ptr 12 explicit unique_ptr(T *ptr) : ptr(ptr) { } in unique_ptr() function in unique_ptr 14 ~unique_ptr() { delete ptr; } in ~unique_ptr() 16 …unique_ptr &operator=(unique_ptr &&other) { // expected-note{{candidate function not viable: no kn… in operator =() 56 unique_ptr<T> make_unique_ptr(Args &&...args) { in make_unique_ptr() 57 return unique_ptr<T>(new T(forward<Args>(args)...)); in make_unique_ptr() [all …]
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | RawSession.cpp | 34 explicit InputByteStream(std::unique_ptr<MemoryBuffer> Buffer) in InputByteStream() 39 std::unique_ptr<MemoryBuffer> MemBuffer; 43 RawSession::RawSession(std::unique_ptr<PDBFile> PdbFile) in RawSession() 49 std::unique_ptr<IPDBSession> &Session) { in createFromPdb() 51 ErrorOr<std::unique_ptr<MemoryBuffer>> ErrorOrBuffer = in createFromPdb() 57 std::unique_ptr<MemoryBuffer> Buffer = std::move(*ErrorOrBuffer); in createFromPdb() 60 std::unique_ptr<PDBFile> File(new PDBFile(std::move(Stream))); in createFromPdb() 72 std::unique_ptr<IPDBSession> &Session) { in createFromExe() 80 std::unique_ptr<PDBSymbolExe> RawSession::getGlobalScope() const { in getGlobalScope() 84 std::unique_ptr<PDBSymbol> RawSession::getSymbolById(uint32_t SymbolId) const { in getSymbolById() [all …]
|
/external/llvm/include/llvm/DebugInfo/PDB/Raw/ |
D | RawSession.h | 23 explicit RawSession(std::unique_ptr<PDBFile> PdbFile); 27 std::unique_ptr<IPDBSession> &Session); 29 std::unique_ptr<IPDBSession> &Session); 33 std::unique_ptr<PDBSymbolExe> getGlobalScope() const override; 34 std::unique_ptr<PDBSymbol> getSymbolById(uint32_t SymbolId) const override; 36 std::unique_ptr<PDBSymbol> 39 std::unique_ptr<IPDBEnumLineNumbers> 42 std::unique_ptr<IPDBEnumLineNumbers> 45 std::unique_ptr<IPDBEnumSourceFiles> 48 std::unique_ptr<IPDBSourceFile> [all …]
|
/external/llvm/include/llvm/DebugInfo/PDB/ |
D | IPDBSession.h | 31 virtual std::unique_ptr<PDBSymbolExe> getGlobalScope() const = 0; 32 virtual std::unique_ptr<PDBSymbol> getSymbolById(uint32_t SymbolId) const = 0; 35 std::unique_ptr<T> getConcreteSymbolById(uint32_t SymbolId) const { in getConcreteSymbolById() 44 return std::unique_ptr<T>(ConcreteSymbol); in getConcreteSymbolById() 47 virtual std::unique_ptr<PDBSymbol> 50 virtual std::unique_ptr<IPDBEnumLineNumbers> 53 virtual std::unique_ptr<IPDBEnumLineNumbers> 56 virtual std::unique_ptr<IPDBEnumSourceFiles> 59 virtual std::unique_ptr<IPDBSourceFile> 63 virtual std::unique_ptr<IPDBEnumChildren<PDBSymbolCompiland>> [all …]
|
D | PDBSymbol.h | 46 std::unique_ptr<IPDBRawSymbol> Symbol); 49 static std::unique_ptr<PDBSymbol> 50 create(const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol); 64 template <typename T> std::unique_ptr<T> findOneChild() const { in findOneChild() 70 std::unique_ptr<ConcreteSymbolEnumerator<T>> findAllChildren() const { in findAllChildren() 74 std::unique_ptr<IPDBEnumSymbols> findAllChildren(PDB_SymType Type) const; 75 std::unique_ptr<IPDBEnumSymbols> findAllChildren() const; 77 std::unique_ptr<IPDBEnumSymbols> 80 std::unique_ptr<IPDBEnumSymbols> findChildrenByRVA(PDB_SymType Type, 84 std::unique_ptr<IPDBEnumSymbols> findInlineFramesByRVA(uint32_t RVA) const; [all …]
|
/external/llvm/include/llvm/DebugInfo/PDB/DIA/ |
D | DIASession.h | 28 std::unique_ptr<IPDBSession> &Session); 30 std::unique_ptr<IPDBSession> &Session); 34 std::unique_ptr<PDBSymbolExe> getGlobalScope() const override; 35 std::unique_ptr<PDBSymbol> getSymbolById(uint32_t SymbolId) const override; 37 std::unique_ptr<PDBSymbol> 40 std::unique_ptr<IPDBEnumLineNumbers> 43 std::unique_ptr<IPDBEnumLineNumbers> 46 std::unique_ptr<IPDBEnumSourceFiles> 49 std::unique_ptr<IPDBSourceFile> 53 std::unique_ptr<IPDBEnumChildren<PDBSymbolCompiland>> [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter2/ |
D | toy.cpp | 15 typename std::enable_if<!std::is_array<T>::value, std::unique_ptr<T>>::type 17 return std::unique_ptr<T>(new T(std::forward<Args>(args)...)); in make_unique() 122 std::unique_ptr<ExprAST> LHS, RHS; 125 BinaryExprAST(char Op, std::unique_ptr<ExprAST> LHS, in BinaryExprAST() 126 std::unique_ptr<ExprAST> RHS) in BinaryExprAST() 133 std::vector<std::unique_ptr<ExprAST>> Args; 137 std::vector<std::unique_ptr<ExprAST>> Args) in CallExprAST() 155 std::unique_ptr<PrototypeAST> Proto; 156 std::unique_ptr<ExprAST> Body; 159 FunctionAST(std::unique_ptr<PrototypeAST> Proto, in FunctionAST() [all …]
|
/external/v8/src/inspector/ |
D | v8-inspector-session-impl.h | 34 static std::unique_ptr<V8InspectorSessionImpl> create( 53 std::unique_ptr<protocol::Runtime::RemoteObject> wrapObject( 56 std::unique_ptr<protocol::Runtime::RemoteObject> wrapTable( 59 std::vector<std::unique_ptr<protocol::Schema::Domain>> supportedDomainsImpl(); 66 std::unique_ptr<StringBuffer> stateJSON() override; 67 std::vector<std::unique_ptr<protocol::Schema::API::Domain>> supportedDomains() 70 std::unique_ptr<V8InspectorSession::Inspectable>) override; 79 std::vector<std::unique_ptr<protocol::Debugger::API::SearchMatch>> 83 bool unwrapObject(std::unique_ptr<StringBuffer>*, const StringView& objectId, 85 std::unique_ptr<StringBuffer>* objectGroup) override; [all …]
|
D | v8-debugger-agent-impl.h | 60 std::unique_ptr<protocol::Array<protocol::Debugger::Location>>* locations) 63 std::unique_ptr<protocol::Debugger::Location>, 65 std::unique_ptr<protocol::Debugger::Location>* actualLocation) override; 68 std::unique_ptr<protocol::Debugger::Location>) override; 72 std::unique_ptr<protocol::Array<protocol::Debugger::SearchMatch>>*) 75 std::unique_ptr<protocol::Debugger::Location> start, 77 std::unique_ptr<protocol::Array<protocol::Debugger::Location>>* locations) 88 std::unique_ptr<protocol::Array<protocol::Debugger::CallFrame>>* 104 std::unique_ptr<protocol::Runtime::RemoteObject>* result, 108 std::unique_ptr<protocol::Runtime::CallArgument> newValue, [all …]
|
/external/libbrillo/brillo/ |
D | value_conversion.cc | 23 std::unique_ptr<base::ListValue>* out_value) { in FromValue() 32 std::unique_ptr<base::DictionaryValue>* out_value) { in FromValue() 40 std::unique_ptr<base::Value> ToValue(int value) { in ToValue() 41 return std::unique_ptr<base::Value>{new base::FundamentalValue{value}}; in ToValue() 44 std::unique_ptr<base::Value> ToValue(bool value) { in ToValue() 45 return std::unique_ptr<base::Value>{new base::FundamentalValue{value}}; in ToValue() 48 std::unique_ptr<base::Value> ToValue(double value) { in ToValue() 49 return std::unique_ptr<base::Value>{new base::FundamentalValue{value}}; in ToValue() 52 std::unique_ptr<base::Value> ToValue(const char* value) { in ToValue() 53 return std::unique_ptr<base::Value>{new base::StringValue{value}}; in ToValue() [all …]
|
/external/pdfium/core/fxcodec/ |
D | fx_codec.h | 76 std::unique_ptr<CCodec_ProgressiveDecoder> CreateProgressiveDecoder(); 77 void SetBmpModule(std::unique_ptr<ICodec_BmpModule> module) { in SetBmpModule() 80 void SetGifModule(std::unique_ptr<ICodec_GifModule> module) { in SetGifModule() 83 void SetPngModule(std::unique_ptr<ICodec_PngModule> module) { in SetPngModule() 86 void SetTiffModule(std::unique_ptr<ICodec_TiffModule> module) { in SetTiffModule() 96 std::unique_ptr<CCodec_BasicModule> m_pBasicModule; 97 std::unique_ptr<CCodec_FaxModule> m_pFaxModule; 98 std::unique_ptr<CCodec_JpegModule> m_pJpegModule; 99 std::unique_ptr<CCodec_JpxModule> m_pJpxModule; 100 std::unique_ptr<CCodec_Jbig2Module> m_pJbig2Module; [all …]
|
/external/pdfium/xfa/fxfa/app/ |
D | xfa_fwltheme.h | 50 std::unique_ptr<CFWL_CheckBoxTP> m_pCheckBoxTP; 51 std::unique_ptr<CFWL_ListBoxTP> m_pListBoxTP; 52 std::unique_ptr<CFWL_PictureBoxTP> m_pPictureBoxTP; 53 std::unique_ptr<CFWL_ScrollBarTP> m_pSrollBarTP; 54 std::unique_ptr<CFWL_EditTP> m_pEditTP; 55 std::unique_ptr<CFWL_ComboBoxTP> m_pComboBoxTP; 56 std::unique_ptr<CFWL_MonthCalendarTP> m_pMonthCalendarTP; 57 std::unique_ptr<CFWL_DateTimePickerTP> m_pDateTimePickerTP; 58 std::unique_ptr<CFWL_PushButtonTP> m_pPushButtonTP; 59 std::unique_ptr<CFWL_CaretTP> m_pCaretTP; [all …]
|
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.special/ |
D | eq.pass.cpp | 51 const std::unique_ptr<A, Deleter<A> > p1(new A); in main() 52 const std::unique_ptr<A, Deleter<A> > p2(new A); in main() 57 const std::unique_ptr<A, Deleter<A> > p1(new A); in main() 58 const std::unique_ptr<B, Deleter<B> > p2(new B); in main() 63 const std::unique_ptr<A[], Deleter<A[]> > p1(new A[3]); in main() 64 const std::unique_ptr<A[], Deleter<A[]> > p2(new A[3]); in main() 69 const std::unique_ptr<A[], Deleter<A[]> > p1(new A[3]); in main() 70 const std::unique_ptr<B[], Deleter<B[]> > p2(new B[3]); in main() 75 const std::unique_ptr<A, Deleter<A> > p1; in main() 76 const std::unique_ptr<A, Deleter<A> > p2; in main() [all …]
|