Home
last modified time | relevance | path

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

12345678910>>...49

/aosp_15_r20/external/sdv/vsomeip/third_party/boost/bind/doc/bind/
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 …]
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 …]
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 …]
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 …]
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 …]
/aosp_15_r20/external/starlark-go/resolve/
H A 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 …]
/aosp_15_r20/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 …]
/aosp_15_r20/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 …]
/aosp_15_r20/external/libchrome/mojo/public/js/
H A 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 …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/asio/doc/
Dtutorial.qbk2 / Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
14 * [link boost_asio.tutorial.tuttimer1 Timer.1 - Using a timer synchronously]
17 * [link boost_asio.tutorial.tuttimer2 Timer.2 - Using a timer asynchronously]
20 * [link boost_asio.tutorial.tuttimer3 Timer.3 - Binding arguments to a handler]
23 * [link boost_asio.tutorial.tuttimer4 Timer.4 - Using a member function as a handler]
26 * [link boost_asio.tutorial.tuttimer5 Timer.5 - Synchronising handlers in multithreaded programs]
37 * [link boost_asio.tutorial.tutdaytime1 Daytime.1 - A synchronous TCP daytime client]
40 * [link boost_asio.tutorial.tutdaytime2 Daytime.2 - A synchronous TCP daytime server]
43 * [link boost_asio.tutorial.tutdaytime3 Daytime.3 - An asynchronous TCP daytime server]
49 * [link boost_asio.tutorial.tutdaytime4 Daytime.4 - A synchronous UDP daytime client]
[all …]
/aosp_15_r20/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
H A 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 …]
H A 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 …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
H A 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 …]
H A 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 …]
/aosp_15_r20/external/clang/test/SemaCXX/
H A 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 …]
/aosp_15_r20/external/chromium-trace/catapult/third_party/polymer/components/paper-input/
H A 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 …]
/aosp_15_r20/frameworks/rs/script_api/
H A Drs_graphics.spec8 # http://www.apache.org/licenses/LICENSE-2.0
46 summary: Blend source function
64 summary: Blend destination function
92 value: RS_DEPTH_FUNC_INVALID = 100, "Invalid depth function"
94 summary: Depth function
184 function: rsClearObject
193 function: rsIsObject
202 function: rsSetObject
212 function: rsgAllocationSyncAll
229 function: rsgAllocationSyncAll
[all …]
/aosp_15_r20/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 ([email protected])
4 // Copyright (C) 2000-2003 Gary Powell ([email protected])
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 …]
/aosp_15_r20/external/google-fruit/include/fruit/
H A Dcomponent.h8 * http://www.apache.org/licenses/LICENSE-2.0
53 * Converts a PartialComponent to an arbitrary Component, auto-injecting the missing types (if
55 …* This is usually called implicitly when returning a component from a function. See PartialCompone…
58 …Component(PartialComponent<Bindings...>&& component) noexcept; // NOLINT(google-explicit-construct…
105 * .bind<Foo, FooImpl>();
108 …* Since types are auto-injected when needed, just converting this to the desired component can suf…
124 * by returning a PartialComponent from a function that has Component<...> as the return type).
137 * .bind<Foo, FooImpl>();
153 * you can specify bind<C, B>() and bind<B, A>().
155 * The most common use of this is to bind the type I to the type C, for example:
[all …]
/aosp_15_r20/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
H A DSession.c45 has 16-bits per context. The tracking array is the data
55 after a context has been saved, an additional 2^16-1 contexts
58 value is needed again but it is always possible to have long-lived
62 At that time, the TPM will compare the low-order 16 bits of
78 match the low-order 16-bits of contextCount, the TPM can copy the low bits
92 be 1-8 and a contextArrary value in that range would represent the loaded
96 session, it will subtract 1 to create the zero-based slot number.
109 TPM_GetCapabiltiy(), the TPM will create 32-bit representations of the
110 list that contains 16-bit values (the TPM2_GetCapability() returns a list
112 contextID has high-order bits that are either the same as the current
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/net/
H A Dudp.rs13 /// After creating a `UdpSocket` by [`bind`]ing it to a socket address, data can be
25 /// [`bind`]: UdpSocket::bind
40 /// fn main() -> std::io::Result<()> {
42 /// let socket = UdpSocket::bind("127.0.0.1:34254")?;
66 /// If `addr` yields multiple addresses, `bind` will be attempted with
78 /// let socket = UdpSocket::bind("127.0.0.1:3400").expect("couldn't bind to address");
91 /// let socket = UdpSocket::bind(&addrs[..]).expect("couldn't bind to address");
100 /// let socket = UdpSocket::bind("127.0.0.1:0").unwrap();
103 /// Note that `bind` declares the scope of your network connection.
110 /// In order to limit your view of the network the least, `bind` to
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/net/
H A Dudp.rs13 /// After creating a `UdpSocket` by [`bind`]ing it to a socket address, data can be
25 /// [`bind`]: UdpSocket::bind
40 /// fn main() -> std::io::Result<()> {
42 /// let socket = UdpSocket::bind("127.0.0.1:34254")?;
66 /// If `addr` yields multiple addresses, `bind` will be attempted with
78 /// let socket = UdpSocket::bind("127.0.0.1:3400").expect("couldn't bind to address");
91 /// let socket = UdpSocket::bind(&addrs[..]).expect("couldn't bind to address");
100 /// let socket = UdpSocket::bind("127.0.0.1:0").unwrap();
103 /// Note that `bind` declares the scope of your network connection.
110 /// In order to limit your view of the network the least, `bind` to
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/net/
H A Dudp.rs13 /// After creating a `UdpSocket` by [`bind`]ing it to a socket address, data can be
25 /// [`bind`]: UdpSocket::bind
40 /// fn main() -> std::io::Result<()> {
42 /// let socket = UdpSocket::bind("127.0.0.1:34254")?;
66 /// If `addr` yields multiple addresses, `bind` will be attempted with
78 /// let socket = UdpSocket::bind("127.0.0.1:3400").expect("couldn't bind to address");
91 /// let socket = UdpSocket::bind(&addrs[..]).expect("couldn't bind to address");
100 /// let socket = UdpSocket::bind("127.0.0.1:0").unwrap();
103 /// Note that `bind` declares the scope of your network connection.
110 /// In order to limit your view of the network the least, `bind` to
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/net/
H A Dudp.rs13 /// After creating a `UdpSocket` by [`bind`]ing it to a socket address, data can be
25 /// [`bind`]: UdpSocket::bind
40 /// fn main() -> std::io::Result<()> {
42 /// let socket = UdpSocket::bind("127.0.0.1:34254")?;
66 /// If `addr` yields multiple addresses, `bind` will be attempted with
78 /// let socket = UdpSocket::bind("127.0.0.1:3400").expect("couldn't bind to address");
91 /// let socket = UdpSocket::bind(&addrs[..]).expect("couldn't bind to address");
100 /// let socket = UdpSocket::bind("127.0.0.1:0").unwrap();
103 /// Note that `bind` declares the scope of your network connection.
110 /// In order to limit your view of the network the least, `bind` to
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/net/
H A Dudp.rs13 /// After creating a `UdpSocket` by [`bind`]ing it to a socket address, data can be
25 /// [`bind`]: UdpSocket::bind
40 /// fn main() -> std::io::Result<()> {
42 /// let socket = UdpSocket::bind("127.0.0.1:34254")?;
66 /// If `addr` yields multiple addresses, `bind` will be attempted with
78 /// let socket = UdpSocket::bind("127.0.0.1:3400").expect("couldn't bind to address");
91 /// let socket = UdpSocket::bind(&addrs[..]).expect("couldn't bind to address");
100 /// let socket = UdpSocket::bind("127.0.0.1:0").unwrap();
103 /// Note that `bind` declares the scope of your network connection.
110 /// In order to limit your view of the network the least, `bind` to
[all …]

12345678910>>...49