Home
last modified time | relevance | path

Searched refs:lambda (Results 1 – 25 of 44) sorted by path

12

/freebsd/contrib/bsnmp/tests/
H A Dcatch.hpp9086 static auto invoke( L const &lambda, ArgType const &arg ) -> ParserResult { in invoke()
9087 return lambda( arg ); in invoke()
9094 static auto invoke( L const &lambda, ArgType const &arg ) -> ParserResult { in invoke()
9095 lambda( arg ); in invoke()
9101 inline auto invokeLambda( L const &lambda, std::string const &arg ) -> ParserResult { in invokeLambda() argument
9114 explicit BoundLambda( L const &lambda ) : m_lambda( lambda ) {} in BoundLambda()
9128 explicit BoundFlagLambda( L const &lambda ) : m_lambda( lambda ) {} in BoundFlagLambda()
9219 static auto makeRef(LambdaT const &lambda) -> std::shared_ptr<BoundValueRefBase> { in makeRef() argument
9220 return std::make_shared<BoundLambda<LambdaT>>( lambda) ; in makeRef()
9231 explicit ExeName( LambdaT const& lambda ) : ExeName() { in ExeName() argument
[all …]
/freebsd/contrib/googletest/docs/
H A Dadvanced.md1238 and a string, and also demonstrates how to combine generators. It uses a lambda
H A Dgmock_cook_book.md2181 (function, `std::function`, method, functor, lambda) as an action.
2214 foo.ComplexJob(-1); // Invokes the inline lambda.
2356 Arghh, you need to refer to a mock function argument but C++ has no lambda
2556 If you are defining a function (or method, functor, lambda, callback) to be used
2803 remember that you can always use a lambda or a callable object, which can do
2822 can always use `Return`, or a [lambda or functor](#FunctionsAsActions):
3271 (global-set-key [M-up] '(lambda () (interactive) (next-error -1)))
3820 function. So you can use a lambda:
/freebsd/contrib/googletest/docs/reference/
H A Dactions.md39 functor, or lambda.
/freebsd/contrib/kyua/m4/
H A Dax_cxx_compile_stdcxx.m4474 const auto lambda = [](auto&&... args){
481 return lambda(1, 1L, 1.0f, '1');
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCommentHTMLNamedCharacterReferences.td130 def : NCR<"lambda", 0x003BB>;
H A DOperationKinds.def347 /// lambda expression to a block pointer.
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttrDocs.td448 required to be a function object type (named or unnamed i.e. lambda). The
H A DDiagnosticASTKinds.td420 "unimplemented constexpr lambda feature: %0 (coming soon!)">;
H A DDiagnosticGroups.td800 def UnusedLambdaCapture : DiagGroup<"unused-lambda-capture">;
1131 def CXX23AttrsOnLambda : DiagGroup<"c++23-lambda-attributes">;
H A DDiagnosticParseKinds.td1015 // C++11 lambda expressions
1017 "expected ',' or ']' in lambda capture list">;
1024 "lambda expressions are incompatible with C++98">,
1028 "appear multiple times in a lambda declarator">;
1040 "lambda without a parameter clause is a C++23 extension">,
1047 // C++17 lambda expressions
1049 "expected 'this' following '*' in lambda capture list">;
1051 // C++17 constexpr lambda expressions
1066 "lambda template parameter list cannot be empty">;
1075 "lambda cannot be both mutable and static">;
[all …]
H A DDiagnosticSemaKinds.td554 "cannot decompose lambda closure type">;
1052 "use of '__super' inside a lambda is unsupported">;
3616 "lambda cannot be declared %0">;
6597 "%select{block|lambda by copy}0">;
7430 "of the %select{function|lambda}0">;
8073 "a lambda expression">;
8100 "non-void lambda does not return a value">,
8114 // C++14 lambda init-captures.
8121 "initializer missing for lambda capture %0">;
9898 " via initialization of lambda capture %0}1">;
[all …]
H A DTokenKinds.def839 // tentatively parsing a lambda init-capture or ObjC
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DCheckers.td1758 HelpText<"Check uncounted lambda captures.">,
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTextNodeDumper.cpp2187 FLAG(isLambda, lambda); in VisitCXXRecordDecl()
/freebsd/contrib/llvm-project/libcxx/include/__random/
H A Dexponential_distribution.h46 _LIBCPP_HIDE_FROM_ABI result_type lambda() const { return __lambda_; } in lambda() function
77 _LIBCPP_HIDE_FROM_ABI result_type lambda() const { return __p_.lambda(); } in lambda() function
100 __p.lambda(); in operator()
109 return __os << __x.lambda();
/freebsd/contrib/llvm-project/libcxx/include/
H A Drandom875 explicit param_type(result_type lambda = 1.0);
877 result_type lambda() const;
884 explicit exponential_distribution(RealType lambda = 1.0); // before C++20
886 explicit exponential_distribution(RealType lambda); // C++20
895 result_type lambda() const;
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCompileUnit.h166 llvm::function_ref<bool(const lldb::FunctionSP &)> lambda) const;
269 llvm::function_ref<bool(Module &)> lambda);
H A DSymbolFile.h196 llvm::function_ref<bool(Module &)> lambda) { in ForEachExternalModule() argument
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DLog.h203 llvm::function_ref<void(llvm::StringRef, llvm::StringRef)> lambda);
295 llvm::function_ref<void(llvm::StringRef, llvm::StringRef)> lambda);
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DFileSystemPosix.cpp82 auto lambda = [&]() { return ::open(path, flags, mode); }; in Open() local
83 return llvm::sys::RetryAfterSignal(-1, lambda); in Open()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionDeclMap.cpp1108 if (auto lambda = ClangExpressionUtil::GetLambdaValueObject(frame)) { in LookupLocalVariable() local
1109 if (auto capture = lambda->GetChildMemberWithName(varname)) { in LookupLocalVariable()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARF.cpp1046 llvm::function_ref<bool(Module &)> lambda) { in ForEachExternalModule() argument
1058 if (lambda(*module)) in ForEachExternalModule()
1063 bool early_exit = cu->ForEachExternalModule(visited_symbol_files, lambda); in ForEachExternalModule()
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DCompileUnit.cpp66 llvm::function_ref<bool(const FunctionSP &)> lambda) const { in ForeachFunction()
77 if (lambda(f)) in ForeachFunction()
408 llvm::function_ref<bool(Module &)> lambda) { in ForEachExternalModule() argument
410 return symfile->ForEachExternalModule(*this, visited_symbol_files, lambda); in ForEachExternalModule()
H A DSymbolFileOnDemand.cpp106 llvm::function_ref<bool(Module &)> lambda) { in ForEachExternalModule() argument
114 lambda); in ForEachExternalModule()

12