Home
last modified time | relevance | path

Searched +full:function +full:- +full:bind (Results 1 – 25 of 1127) sorted by relevance

12345678910>>...46

/external/sdv/vsomeip/third_party/boost/bind/doc/bind/
Dtroubleshooting.qbk3 / Copyright (c) 2003-2008 Peter Dimov
14 In a `bind(f, a1, a2, ..., aN)` expression, the function object `f` must be
15 able to take exactly N arguments. This error is normally detected at "bind
17 `bind()` is invoked:
23 boost::bind(f, 1); // error, f takes two arguments
24 boost::bind(f, 1, 2); // OK
37 boost::bind(&X::f, 1); // error, X::f takes two arguments
38 boost::bind(&X::f, _1, 1); // OK
43 [section The function object cannot be called with the specified arguments]
45 As in normal function calls, the function object that is bound must be
[all …]
Dpurpose.qbk3 / Copyright (c) 2003-2008 Peter Dimov
12 `boost::bind` is a generalization of the standard functions `std::bind1st` and
13 `std::bind2nd`. It supports arbitrary function objects, functions, function
14 pointers, and member function pointers, and is able to bind any argument to a
15 specific value or route input arguments into arbitrary positions. `bind` does
16 not place any requirements on the function object; in particular, it does not
20 [section Using bind with functions and function pointers]
34 `bind(f, 1, 2)` will produce a "nullary" function object that takes no
35 arguments and returns `f(1, 2)`. Similarly, `bind(g, 1, 2, 3)()` is equivalent
38 It is possible to selectively bind only some of the arguments.
[all …]
Dfaq.qbk3 / Copyright (c) 2003-2008 Peter Dimov
14 See the dedicated [link bind.troubleshooting Troubleshooting section].
20 Probably because you used the general `bind<R>(f, ...)` syntax, thereby
21 instructing `bind` to not "inspect" f to detect arity and return type errors.
25 [section:Q_forms What is the difference between `bind(f, ...)` and `bind<R>(f, ...)`?]
27 The first form instructs `bind` to inspect the type of `f` in order to
29 be detected at "bind time". This syntax, of course, places some requirements
30 on `f`. It must be a function, function pointer, member function pointer, or a
31 function object that defines a nested type named `result_type`; in short, it
32 must be something that `bind` can recognize.
[all …]
Dimplementation.qbk3 / Copyright (c) 2003-2008 Peter Dimov
14 * [@../../../../boost/bind/bind.hpp boost/bind/bind.hpp] (main header)
15 * [@../../../../boost/bind/bind_cc.hpp boost/bind/bind_cc.hpp] (used by `bind.hpp`, do not include …
16 * [@../../../../boost/bind/bind_mf_cc.hpp boost/bind/bind_mf_cc.hpp] (used by `bind.hpp`, do not in…
17 * [@../../../../boost/bind/bind_template.hpp boost/bind/bind_template.hpp] (used by `bind.hpp`, do …
18 * [@../../../../boost/bind/arg.hpp boost/bind/arg.hpp] (defines the type of the placeholder argumen…
19 * [@../../../../boost/bind/placeholders.hpp boost/bind/placeholders.hpp] (defines the `_1`, `_2`, .…
20 * [@../../../../boost/bind/apply.hpp boost/bind/apply.hpp] (`apply` helper function object)
21 * [@../../../../boost/bind/protect.hpp boost/bind/protect.hpp] (`protect` helper function)
22 * [@../../../../boost/bind/make_adaptable.hpp boost/bind/make_adaptable.hpp] (`make_adaptable` help…
[all …]
Dinterface.qbk3 / Copyright (c) 2003-2008 Peter Dimov
18 template<class R, class F> ``/unspecified-1/`` ``[link bind_1 `bind`]``(F f);
20 template<class F> ``/unspecified-1-1/`` ``[link bind_1_1 `bind`]``(F f);
22 template<class R> ``/unspecified-2/`` ``[link bind_2 `bind`]``(R (*f) ());
26 template<class R, class F, class A1> ``/unspecified-3/`` ``[link bind_3 `bind`]``(F f, A1 a1);
28 template<class F, class A1> ``/unspecified-3-1/`` ``[link bind_3_1 `bind`]``(F f, A1 a1);
30 …template<class R, class B1, class A1> ``/unspecified-4/`` ``[link bind_4 `bind`]``(R (*f) (B1), A1…
32 …template<class R, class T, class A1> ``/unspecified-5/`` ``[link bind_5 `bind`]``(R (T::*f) (), A1…
34 …template<class R, class T, class A1> ``/unspecified-6/`` ``[link bind_6 `bind`]``(R (T::*f) () con…
36 …template<class R, class T, class A1> ``/unspecified-6-1/`` ``[link bind_6_1 `bind`]``(R T::*f, A1 …
[all …]
/external/sdv/vsomeip/third_party/boost/phoenix/doc/modules/
Dbind.qbk2 Copyright (C) 2001-2010 Joel de Guzman
3 Copyright (C) 2001-2005 Dan Marsden
4 Copyright (C) 2001-2010 Thomas Heller
11 [section Bind]
13 ['Binding] is the act of tying together a function to some arguments for
14 deferred (lazy) evaluation. Named [link phoenix.modules.function lazy functions]
17 plain function, member function or member variable to a lambda expression, `bind`
22 generic and polymorphic [link phoenix.modules.function lazy functions].]
24 There is a set of overloaded `bind` template functions. Each `bind(x)`
25 function generates a suitable binder object.
[all …]
/external/starlark-go/resolve/
Dresolve.go2 // Use of this source code is governed by a BSD-style
5 // Package resolve defines a name-resolution pass for Starlark abstract
11 // bound by top-level comprehensions and load statements.
16 // predeclared, global, or local to a function or file.
17 // File-local variables include those bound by top-level comprehensions
18 // and by load statements. ("Top-level" means "outside of any function".)
24 // either universal (e.g. None, len) or per-module (e.g. glob in Bazel's
33 // Python-style resolution requires multiple passes because a name is
34 // determined to be local to a function only if the function contains a
36 // opposed to predeclared) if the module contains a top-level binding use.
[all …]
/external/sdv/vsomeip/third_party/boost/
Ddependencies_1.76.0.txt1 accumulators -> array assert circular_buffer concept_check config core fusion iterator mpl numeric~…
2 algorithm -> array assert bind concept_check config core exception function iterator mpl range rege…
3 align -> assert config core static_assert
4 any -> config core static_assert throw_exception type_index type_traits
5 array -> assert config core static_assert throw_exception
6 asio -> array assert bind chrono config core coroutine date_time function regex smart_ptr system th…
7 assert -> config
8 assign -> array config core move mpl preprocessor ptr_container range static_assert throw_exception…
9 atomic -> align assert config static_assert type_traits winapi
10 beast -> asio assert bind config container core endian intrusive logic mp11 optional smart_ptr stat…
[all …]
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
Dinvoke_rvalue.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
15 // unspecified bind(Fn, Types...);
17 // unspecified bind(Fn, Types...);
49 // function in test_void_1()
51 std::bind(f_void_1, _1)(2); in test_void_1()
56 std::bind(f_void_1, 2)(); in test_void_1()
60 // function pointer in test_void_1()
63 std::bind(fp, _1)(3); in test_void_1()
69 std::bind(fp, 3)(); in test_void_1()
[all …]
Dinvoke_lvalue.pass.cpp1 //===----------------------------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
15 // unspecified bind(Fn, Types...);
17 // unspecified bind(Fn, Types...);
49 // function in test_void_1()
52 std::bind(f_void_1, _1)(i); in test_void_1()
58 std::bind(f_void_1, i)(); in test_void_1()
62 // function pointer in test_void_1()
66 std::bind(fp, _1)(i); in test_void_1()
73 std::bind(fp, i)(); in test_void_1()
[all …]
/external/cronet/third_party/libc++/src/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
Dinvoke_rvalue.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
14 // unspecified bind(Fn, Types...); // constexpr since C++20
16 // unspecified bind(Fn, Types...); // constexpr since C++20
50 // function in test_void_1()
52 std::bind(f_void_1, _1)(2); in test_void_1()
57 std::bind(f_void_1, 2)(); in test_void_1()
61 // function pointer in test_void_1()
64 std::bind(fp, _1)(3); in test_void_1()
[all …]
Dinvoke_lvalue.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
14 // unspecified bind(Fn, Types...); // constexpr since C++20
16 // unspecified bind(Fn, Types...); // constexpr since C++20
50 // function in test_void_1()
53 std::bind(f_void_1, _1)(i); in test_void_1()
59 std::bind(f_void_1, i)(); in test_void_1()
63 // function pointer in test_void_1()
67 std::bind(fp, _1)(i); in test_void_1()
[all …]
/external/sdv/vsomeip/third_party/boost/phoenix/test/boost_bind_compatibility/
Dbind_interoperation_test.cpp3 Copyright (c) 2005-2010 Joel de Guzman
15 #pragma warning(disable: 4710) // function not inlined
16 #pragma warning(disable: 4711) // function selected for automatic inline expansion
20 #include <boost/function.hpp>
21 #include <boost/bind.hpp>
23 #include <boost/phoenix/bind.hpp>
31 #include <boost/function.hpp>
76 BOOST_TEST( boost::bind( &Y::m, _1 )( y ) == 17041 ); in member_test()
77 BOOST_TEST( boost::bind( &Y::m, _1 )( py ) == 17041 ); in member_test()
79 BOOST_TEST( phx::bind( &Y::m, _1 )( y ) == 17041 ); in member_test()
[all …]
/external/libchrome/mojo/public/js/
Dbindings.js2 // Use of this source code is governed by a BSD-style license that can be
5 (function() {
8 // ---------------------------------------------------------------------------
12 function makeRequest(output) {
30 output.ptr.bind(new mojo.InterfacePtrInfo(pipe.handle0, 0));
34 // ---------------------------------------------------------------------------
38 // |ptrInfoOrHandle| could be omitted and passed into bind() later.
39 function InterfacePtrController(interfaceType, ptrInfoOrHandle) {
48 // |handle_| is valid between bind() and
53 this.bind(ptrInfoOrHandle);
[all …]
/external/clang/test/SemaCXX/
Dmember-pointer.cpp1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s
3 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
12 class H : A {}; // expected-note 2{{implicitly declared private here}}
17 void (*A::*ppfie)() throw(); // expected-error {{exception specifications are not allowed beyond a …
21 // expected-warning@-2 {{use of enumeration in a nested name specifier is a C++11 extension}}
23 // expected-error@-4 {{'pbi' does not point into a class}}
24 int C::*pci; // expected-error {{'pci' does not point into a class}}
25 void A::*pdv; // expected-error {{'pdv' declared as a member pointer to void}}
26 int& A::*pdr; // expected-error {{'pdr' declared as a member pointer to a reference}}
[all …]
/external/sdv/vsomeip/third_party/boost/phoenix/test/bll_compatibility/
Dbind_tests_advanced.cpp1 // bind_tests_advanced.cpp -- The Boost Lambda Library ------------------
3 // Copyright (C) 2000-2003 Jaakko Jarvi (jaakko.jarvi@cs.utu.fi)
4 // Copyright (C) 2000-2003 Gary Powell (powellg@amazon.com)
13 // -----------------------------------------------------------------------
20 #include "boost/lambda/bind.hpp"
24 #include <boost/phoenix/bind.hpp>
46 // unary function that returns a pointer to a binary function
52 // a nullary functor that returns a pointer to a unary function that
53 // returns a pointer to a binary function.
66 using phoenix::bind; in test_nested_binds()
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/paper-input/
Dpaper-input-behavior.html1 <!--
9 -->
12 <link rel="import" href="../iron-a11y-keys-behavior/iron-a11y-keys-behavior.html">
13 <link rel="import" href="../iron-behaviors/iron-control-state.html">
18 // aria-labelledby) and add-ons.
24 * Use `Polymer.PaperInputBehavior` to implement inputs with `<paper-input-container>`. This
25 * behavior is implemented by `<paper-input>`. It exposes a number of properties from
26 * `<paper-input-container>` and `<input is="iron-input">` and they should be bound in your
44 * implement your own paper-input-like element, bind this to
54 * implement your own paper-input-like element, bind this to
[all …]
/external/sdv/vsomeip/third_party/boost/bind/test/
Dbind_function_test.cpp5 #pragma warning(disable: 4710) // function not inlined
6 #pragma warning(disable: 4711) // function selected for automatic inline expansion
11 // bind_function_test.cpp - function<>
20 #include <boost/bind/bind.hpp>
21 #include <boost/function.hpp>
40 BOOST_TEST( !fn.contains( boost::bind( f, 1 ) ) ); in main()
41 BOOST_TEST( !fn.contains( boost::bind( f, 2 ) ) ); in main()
42 BOOST_TEST( !fn.contains( boost::bind( g, 1 ) ) ); in main()
44 fn = boost::bind( f, 1 ); in main()
48 BOOST_TEST( fn.contains( boost::bind( f, 1 ) ) ); in main()
[all …]
Dbind_function2_test.cpp4 // bind_function2_test.cpp - regression test
13 #include <boost/bind/bind.hpp>
14 #include <boost/function.hpp>
71 boost::function<void(int&)> fw1 = boost::bind( fv1, _1 ); in function_test()
76 boost::function<void(int&, int)> fw2 = boost::bind( fv2, _1, _2 ); in function_test()
81 boost::function<void(int&, int, int)> fw3 = boost::bind( fv3, _1, _2, _3 ); in function_test()
86 boost::function<void(int&, int, int, int)> fw4 = boost::bind( fv4, _1, _2, _3, _4 ); in function_test()
91 … boost::function<void(int&, int, int, int, int)> fw5 = boost::bind( fv5, _1, _2, _3, _4, _5 ); in function_test()
96 …boost::function<void(int&, int, int, int, int, int)> fw6 = boost::bind( fv6, _1, _2, _3, _4, _5, _… in function_test()
101 …boost::function<void(int&, int, int, int, int, int, int)> fw7 = boost::bind( fv7, _1, _2, _3, _4, … in function_test()
[all …]
/external/deqp/doc/testspecs/GLES2/
Dfunctional.lifetime.txt1 -------------------------------------------------------------------------
3 -----------------------------------------------
11 http://www.apache.org/licenses/LICENSE-2.0
18 -------------------------------------------------------------------------
22 + dEQP-GLES2.functional.lifetime.*
26 - Buffers
27 - Textures
28 - Renderbuffers
29 - Framebuffers
30 - Shaders
[all …]
/external/sdv/vsomeip/third_party/boost/asio/example/cpp03/tutorial/
Dtimer_dox.txt2 // Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
9 \page tuttimer1 Timer.1 - Using a timer synchronously
27 boost::asio::io_context first thing in the main function.
44 boost::asio::steady_timer::wait() function is called on an expired timer, it will
67 \page tuttimer2 Timer.2 - Using a timer asynchronously
79 function that will be called when an asynchronous operation completes. In this
80 program we define a function called <tt>print</tt> to be called when the
86 we call the boost::asio::steady_timer::async_wait() function to perform an
87 asynchronous wait. When calling this function we pass the <tt>print</tt>
92 Finally, we must call the boost::asio::io_context::run() member function
[all …]
/external/sdv/vsomeip/third_party/boost/bind/meta/
Dlibraries.json3 "key": "bind",
4 "name": "Bind",
8bind is a generalization of the standard functions std::bind1st and std::bind2nd. It supports arbi…
13 "Function-objects"
16 "Peter Dimov <pdimov -at- gmail.com>"
21 "key": "bind/mem_fn",
22 "name": "Member Function",
26 "description": "Generalized binders for function/object/pointers and member functions.",
32 "Function-objects"
/external/sdv/vsomeip/third_party/boost/bind/
Dbind_as_compose.cpp5 #pragma warning(disable: 4710) // function not inlined
6 #pragma warning(disable: 4711) // function selected for automatic inline expansion
11 // bind_as_compose.cpp - function composition using bind.hpp
13 // Version 1.00.0001 (2001-08-30)
22 #include <boost/bind/bind.hpp>
59 test( bind(f, bind(g, _1)) ); in main()
63 test( bind(f, bind(h, _1, _2)) ); in main()
67 test( bind(h, bind(f, _1), bind(g, _1)) ); in main()
71 test( bind(h, bind(f, _1), bind(g, _2)) ); in main()
75 test( bind(f, bind(k)) ); in main()
/external/deqp/doc/testspecs/GLES3/
Dfunctional.lifetime.txt1 -------------------------------------------------------------------------
3 -----------------------------------------------
11 http://www.apache.org/licenses/LICENSE-2.0
18 -------------------------------------------------------------------------
22 + dEQP-GLES3.functional.lifetime.*
26 - Buffers
27 - Textures
28 - Renderbuffers
29 - Framebuffers
30 - Shaders
[all …]
/external/sdv/vsomeip/third_party/boost/phoenix/doc/
Dwhat_s_new.qbk2 Copyright (C) 2001-2010 Joel de Guzman
3 Copyright (C) 2001-2005 Dan Marsden
4 Copyright (C) 2001-2010 Thomas Heller
19 …* A new example *bind_goose* shows the compatibility between *boost bind* and *boost phoenix bind*.
22 …ost/ticket/11085 #11085] Missing qualifier for pow call in phoenix/test/function/function_tests.cpp
23 * Fixes for a number of cases failing with *bind*, *lambda* and *let*.
29 [section Phoenix - warning on *lambda and let*]
54 * A new example bind_goose shows the compatibility between boost bind and boost phoenix bind.
55 …_tests, lazy_templated_struct_tests show different possible uses of boost phoenix function objects.
66 * A bug has been fixed which was causing a lot of test examples of *bind* to fail. This was particu…
[all …]

12345678910>>...46