Home
last modified time | relevance | path

Searched refs:Lambda (Results 1 – 25 of 55) sorted by relevance

123

/external/libbrillo/brillo/
Dbind_lambda.h25 template <typename Lambda, typename Sig>
29 template <typename Lambda, typename R, typename... Args>
30 class LambdaAdapter<Lambda, R(Lambda::*)(Args... args)> {
33 explicit LambdaAdapter(Lambda lambda) : lambda_(lambda) {} in LambdaAdapter()
37 Lambda lambda_;
41 template <typename Lambda, typename R, typename... Args>
42 class LambdaAdapter<Lambda, R(Lambda::*)(Args... args) const> {
45 explicit LambdaAdapter(Lambda lambda) : lambda_(lambda) {} in LambdaAdapter()
49 Lambda lambda_;
52 template <typename Lambda>
[all …]
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTest.cpp19 bool VisitLambdaExpr(LambdaExpr *Lambda) { in VisitLambdaExpr() argument
20 PendingBodies.push(Lambda); in VisitLambdaExpr()
21 Match("", Lambda->getIntroducerRange().getBegin()); in VisitLambdaExpr()
26 bool TraverseLambdaBody(LambdaExpr *Lambda) { in TraverseLambdaBody() argument
28 EXPECT_EQ(PendingBodies.top(), Lambda); in TraverseLambdaBody()
30 return TraverseStmt(Lambda->getBody()); in TraverseLambdaBody()
59 bool VisitLambdaExpr(LambdaExpr *Lambda) { in VisitLambdaExpr() argument
60 if (Lambda->getCaptureDefault() != LCD_None) { in VisitLambdaExpr()
61 Match("", Lambda->getCaptureDefaultLoc()); in VisitLambdaExpr()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DReflectionUtil.cs65 return Expression.Lambda<Func<IMessage, object>>(upcast, parameter).Compile(); in CreateFuncIMessageObject()
78 return Expression.Lambda<Func<IMessage, T>>(upcast, parameter).Compile(); in CreateFuncIMessageT()
92 … return Expression.Lambda<Action<IMessage, object>>(call, targetParameter, argParameter).Compile(); in CreateActionIMessageObject()
104 return Expression.Lambda<Action<IMessage>>(call, targetParameter).Compile(); in CreateActionIMessage()
/external/libcxx/utils/google-benchmark/include/benchmark/
Dbenchmark_api.h650 template <class Lambda>
651 internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn);
669 template <class Lambda>
685 Lambda lambda_;
698 template <class Lambda>
699 internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn) {
701 internal::LambdaBenchmark<typename std::decay<Lambda>::type>;
703 ::new BenchType(name, std::forward<Lambda>(fn)));
709 template <class Lambda, class... Args>
710 internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn,
/external/google-benchmark/include/benchmark/
Dbenchmark_api.h706 template <class Lambda>
707 internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn);
729 template <class Lambda>
745 Lambda lambda_;
758 template <class Lambda>
759 internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn) { in RegisterBenchmark()
761 internal::LambdaBenchmark<typename std::decay<Lambda>::type>; in RegisterBenchmark()
763 ::new BenchType(name, std::forward<Lambda>(fn))); in RegisterBenchmark()
769 template <class Lambda, class... Args>
770 internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn, in RegisterBenchmark()
/external/libopus/silk/float/
Dprocess_gains_FLP.c94 psEncCtrl->Lambda = LAMBDA_OFFSET in silk_process_gains_FLP()
101 silk_assert( psEncCtrl->Lambda > 0.0f ); in silk_process_gains_FLP()
102 silk_assert( psEncCtrl->Lambda < 2.0f ); in silk_process_gains_FLP()
Dstructs_FLP.h97 silk_float Lambda; member
Dwrappers_FLP.c132 Lambda_Q10 = ( opus_int )silk_float2int( psEncCtrl->Lambda * 1024.0f ); in silk_NSQ_wrapper_FLP()
/external/r8/src/test/examplesAndroidO/multidex004/
Dref-list-1.txt1 Lmultidex004/-$$Lambda$MainActivity$g120D_43GXrTOaB3kfYt6wSIJh4;
/external/python/cpython2/Tools/compiler/
Dast.txt16 Lambda: argnames*, defaults!, flags*, code
92 init(Lambda):
/external/clang/lib/Sema/
DSemaLambda.cpp446 LSI->Lambda = LambdaClass; in buildLambdaScope()
791 Context, LSI->Lambda, Var->getLocation(), Var->getLocation(), in buildInitCaptureField()
796 LSI->Lambda->addDecl(Field); in buildInitCaptureField()
1135 CXXRecordDecl *Class = LSI->Lambda; in ActOnLambdaError()
1508 Class = LSI->Lambda; in BuildLambdaExpr()
1595 LambdaExpr *Lambda = LambdaExpr::Create(Context, Class, IntroducerRange, in BuildLambdaExpr() local
1634 ExprEvalContexts.back().Lambdas.push_back(Lambda); in BuildLambdaExpr()
1644 return MaybeBindToTemporary(Lambda); in BuildLambdaExpr()
1652 CXXRecordDecl *Lambda = Conv->getParent(); in BuildBlockForLambdaConversion() local
1655 Lambda->lookup( in BuildBlockForLambdaConversion()
DSemaTemplateVariadic.cpp171 bool TraverseLambdaExpr(LambdaExpr *Lambda) { in TraverseLambdaExpr() argument
174 if (!Lambda->containsUnexpandedParameterPack()) in TraverseLambdaExpr()
182 for (LambdaExpr::capture_iterator I = Lambda->capture_begin(), in TraverseLambdaExpr()
183 E = Lambda->capture_end(); in TraverseLambdaExpr()
192 inherited::TraverseLambdaExpr(Lambda); in TraverseLambdaExpr()
DScopeInfo.cpp109 RD = LSI->Lambda; in isVLATypeCaptured()
DSemaExceptionSpec.cpp1009 const LambdaExpr *Lambda = cast<LambdaExpr>(E); in canThrow() local
1012 Cap = Lambda->capture_init_begin(), in canThrow()
1013 CapEnd = Lambda->capture_init_end(); in canThrow()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dutils.h951 template<typename Lambda>
952 INLINE static void step(Lambda& func) { in step()
960 template<typename Lambda>
961 static void step(Lambda& func) {
968 template<typename Lambda>
969 INLINE static void step(Lambda& func) {
980 template<typename Lambda>
981 static void step(Lambda& func) {
/external/tcpdump/tests/
Dlmp-v.out14 Encoding type: Lambda (photonic)
83 Switching Type: Lambda-Switch Capable (150)
84 Encoding Type: Lambda (photonic) (8)
94 Switching Type: Lambda-Switch Capable (150)
/external/clang/include/clang/Sema/
DScopeInfo.h669 CXXRecordDecl *Lambda;
738 : CapturingScopeInfo(Diag, ImpCap_None), Lambda(nullptr), in LambdaScopeInfo()
/external/clang/test/SemaCXX/
Dcxx98-compat.cpp48 void Lambda() { in Lambda() function
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1520 CXXRecordDecl::LambdaDefinitionData &Lambda in ReadCXXDefinitionData() local
1522 Lambda.Dependent = Record[Idx++]; in ReadCXXDefinitionData()
1523 Lambda.IsGenericLambda = Record[Idx++]; in ReadCXXDefinitionData()
1524 Lambda.CaptureDefault = Record[Idx++]; in ReadCXXDefinitionData()
1525 Lambda.NumCaptures = Record[Idx++]; in ReadCXXDefinitionData()
1526 Lambda.NumExplicitCaptures = Record[Idx++]; in ReadCXXDefinitionData()
1527 Lambda.ManglingNumber = Record[Idx++]; in ReadCXXDefinitionData()
1528 Lambda.ContextDecl = ReadDecl(Record, Idx); in ReadCXXDefinitionData()
1529 Lambda.Captures in ReadCXXDefinitionData()
1530 = (Capture*)Reader.Context.Allocate(sizeof(Capture)*Lambda.NumCaptures); in ReadCXXDefinitionData()
[all …]
/external/clang/lib/CodeGen/
DCGClass.cpp2936 const CXXRecordDecl *Lambda = variable->getType()->getAsCXXRecordDecl(); in EmitLambdaBlockInvokeBody() local
2941 QualType ThisType = getContext().getPointerType(getContext().getRecordType(Lambda)); in EmitLambdaBlockInvokeBody()
2949 assert(!Lambda->isGenericLambda() && in EmitLambdaBlockInvokeBody()
2951 EmitForwardingCallToLambda(Lambda->getLambdaCallOperator(), CallArgs); in EmitLambdaBlockInvokeBody()
2966 const CXXRecordDecl *Lambda = MD->getParent(); in EmitLambdaDelegatingInvokeBody() local
2971 QualType ThisType = getContext().getPointerType(getContext().getRecordType(Lambda)); in EmitLambdaDelegatingInvokeBody()
2979 const CXXMethodDecl *CallOp = Lambda->getLambdaCallOperator(); in EmitLambdaDelegatingInvokeBody()
2982 if (Lambda->isGenericLambda()) { in EmitLambdaDelegatingInvokeBody()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DHTMLEntities.properties146 # Lambda 923
/external/python/cpython2/Parser/
DPython.asdl56 | Lambda(arguments args, expr body)
/external/python/cpython2/Python/
Dsymtable.c1200 if (e->v.Lambda.args->defaults) in symtable_visit_expr()
1201 VISIT_SEQ(st, expr, e->v.Lambda.args->defaults); in symtable_visit_expr()
1205 VISIT_IN_BLOCK(st, arguments, e->v.Lambda.args, (void*)e); in symtable_visit_expr()
1206 VISIT_IN_BLOCK(st, expr, e->v.Lambda.body, (void*)e); in symtable_visit_expr()
/external/python/cpython2/Include/
DPython-ast.h215 } Lambda; member
458 #define Lambda(a0, a1, a2, a3, a4) _Py_Lambda(a0, a1, a2, a3, a4) macro
/external/clang/include/clang/AST/
DCommentHTMLNamedCharacterReferences.td111 def : NCR<"Lambda", 0x0039B>;

123