Home
last modified time | relevance | path

Searched refs:forward (Results 1 – 25 of 98) sorted by relevance

1234

/system/bt/gd/os/
Dhandler.h57 Post(common::BindOnce(std::forward<Functor>(functor), std::forward<Args>(args)...)); in Call()
62 …Post(common::BindOnce(std::forward<Functor>(functor), common::Unretained(obj), std::forward<Args>(… in CallOn()
69 common::BindOnce(std::forward<Functor>(functor), std::forward<Args>(args)...), this); in BindOnce()
76 …common::BindOnce(std::forward<Functor>(functor), common::Unretained(obj), std::forward<Args>(args)… in BindOnceOn()
82 common::Bind(std::forward<Functor>(functor), std::forward<Args>(args)...), this); in Bind()
89 …common::Bind(std::forward<Functor>(functor), common::Unretained(obj), std::forward<Args>(args)...)… in BindOn()
/system/bt/gd/security/
Dl2cap_security_module_interface.cc31 … std::forward<hci::AddressWithType>(remote), std::forward<l2cap::classic::SecurityPolicy>(policy), in Enforce()
32 std::forward<l2cap::classic::SecurityEnforcementInterface::ResultCallback>(result_callback))); in Enforce()
39 std::forward<hci::AddressWithType>(remote), std::forward<l2cap::le::SecurityPolicy>(policy), in Enforce()
40 std::forward<l2cap::le::SecurityEnforcementInterface::ResultCallback>(result_callback))); in Enforce()
Dsecurity_manager.cc36 std::forward<hci::AddressWithType>(device))); in CreateBond()
42 std::forward<hci::AddressWithType>(device))); in CreateBondLe()
48 std::forward<hci::AddressWithType>(device))); in CancelBond()
54 std::forward<hci::AddressWithType>(device))); in RemoveBond()
/system/libbase/include/android-base/
Dcollections.h37 collection.push_back(std::forward<T>(arg)); in Append()
42 collection.push_back(std::forward<T>(arg)); in Append()
43 return Append(collection, std::forward<Args>(args)...); in Append()
56 AssertType<T>(std::forward<Args>(args)...); in AssertType()
Dcmsg.h71 AssertType<int>(std::forward<Args>(sent_fds)...); in SendFileDescriptors()
73 Append(fds, std::forward<Args>(sent_fds)...); in SendFileDescriptors()
84 Append(fds, std::forward<Args>(received_fds)...); in ReceiveFileDescriptors()
Dscopeguard.h29 ScopeGuard(F&& f) : f_(std::forward<F>(f)), active_(true) {} in ScopeGuard()
63 return ScopeGuard<F>(std::forward<F>(f)); in make_scope_guard()
Dexpected.h186 constexpr expected(U&& v) : var_(std::in_place_index<0>, std::forward<U>(v)) {} in expected()
196 constexpr explicit expected(U&& v) : var_(std::in_place_index<0>, T(std::forward<U>(v))) {} in expected()
232 : var_(std::in_place_index<0>, std::forward<Args>(args)...) {} in expected()
238 : var_(std::in_place_index<0>, il, std::forward<Args>(args)...) {} in expected()
244 : var_(unexpected_type(std::forward<Args>(args)...)) {} in expected()
250 : var_(unexpected_type(il, std::forward<Args>(args)...)) {} in expected()
275 var_ = T(std::forward<U>(rhs));
299 expected(std::in_place, std::forward<Args>(args)...).swap(*this); in emplace()
307 expected(std::in_place, il, std::forward<Args>(args)...).swap(*this); in emplace()
353 else return static_cast<T>(std::forward<U>(v)); in value_or()
[all …]
/system/iorap/src/common/
Dtype.h146 f(std::get<i>(std::forward<Tuple>(t))); in for_each_impl()
147 for_each_impl<i+1>(std::forward<Tuple>(t), std::forward<F>(f)); in for_each_impl()
154 return for_each_impl<0u>(std::forward<Tuple>(t), std::forward<F>(f)); in for_each()
Dintrospection.h88 s.*member = std::forward<typename decltype(type)::type>(value);
104 fun(type.value(std::forward<T>(self)));
125 type.set_value(std::forward<T>(self), fun(type.type));
Dexpected.h66 : right_{std::forward<U>(either)}, is_right_{true} {}
70 : error_{std::forward<U>(either)}, is_right_{false} {}
213 : right_{std::forward<U>(either)}, is_right_{true} {}
217 : error_{std::forward<U>(either)}, is_right_{false} {}
380 return std::forward<U>(v);
392 #define IORAP_FORWARD_LAMBDA(var) std::forward<decltype(var)>(var)
/system/core/property_service/libpropertyinfoserializer/include/property_info_serializer/
Dproperty_info_serializer.h29 : name(std::forward<T>(name)), in PropertyInfoEntry()
30 context(std::forward<U>(context)), in PropertyInfoEntry()
31 type(std::forward<V>(type)), in PropertyInfoEntry()
/system/bt/gd/common/
Dcontextual_callback.h49 context_->Post(common::BindOnce(std::move(callback_), std::forward<Args>(args)...)); in Invoke()
54 context_->Post(common::BindOnce(std::move(callback_), std::forward<Args>(args)...)); in InvokeIfNotEmpty()
85 context_->Post(common::BindOnce(callback_, std::forward<Args>(args)...)); in Invoke()
90 context_->Post(common::BindOnce(callback_, std::forward<Args>(args)...)); in InvokeIfNotEmpty()
Dbind.h36 …return common::Bind(std::forward<Functor>(functor), common::Unretained(obj), std::forward<Args>(ar… in BindOn()
/system/iorap/tests/src/tmp/
Dintrospection_test.cc120 member_type.set_value(std::forward<T>(self), std::forward<V>(value)); in call_set_value()
142 member_type.set_value(std::forward<T>(self), std::forward<V>(value)); in call_set_value_lambda()
143 })(std::forward<V>(value)); in call_set_value_lambda()
175 })(std::forward<V>(value)); in call_set_simple_value_with_lambda()
/system/core/adb/
DSERVICES.TXT35 emulator will forward automatically to the adbd daemon running
95 <host-prefix>:forward:<local>;<remote>
96 Asks the ADB server to forward local connections from <local>
116 <host-prefix>:forward:norebind:<local>;<remote>
117 Same as <host-prefix>:forward:<local>;<remote> except that it will
118 fail it there is already a forward connection from <local>.
120 Used to implement 'adb forward --no-rebind <local> <remote>'
123 Remove any existing forward local connection from <local>.
124 This is used to implement 'adb forward --remove <local>'
127 Remove all forward network connections.
[all …]
/system/bt/stack/pan/
Dpan_main.cc387 bool forward; in pan_data_ind_cb() local
444 forward = true; in pan_data_ind_cb()
446 forward = false; in pan_data_ind_cb()
451 forward); in pan_data_ind_cb()
483 bool forward = false; in pan_data_buf_ind_cb() local
508 forward = true; in pan_data_buf_ind_cb()
510 forward = false; in pan_data_buf_ind_cb()
529 ext, forward); in pan_data_buf_ind_cb()
532 ext, forward); in pan_data_buf_ind_cb()
558 forward); in pan_data_buf_ind_cb()
[all …]
/system/keymaster/km_openssl/
Dattestation_utils.cpp42 return (a < b) ? forward<T>(a) : forward<T>(b); in min()
112 *(*out)++ = certBlobifier(forward<CERT>(cert), fail); in certCopier()
122 certCopier(out, forward<CERT>(cert), fail); in certCopyHelper()
123 return certCopyHelper(out, fail, forward<CERTS>(certs)...); in certCopyHelper()
135 return noOfCert(forward<CERT>(cert)) + certCount(forward<CERTS>(certs)...); in certCount()
158 result->entries = new (std::nothrow) keymaster_blob_t[certCount(forward<CERTS>(certs)...)]; in makeCertChain()
160 result->entry_count = certCount(forward<CERTS>(certs)...); in makeCertChain()
163 certCopyHelper(&entries, &allocation_failed, forward<CERTS>(certs)...); in makeCertChain()
/system/security/keystore/
Dkeystore_aidl_hidl_marshalling_utils.h31 -> NullOr<decltype(fn(in, std::forward<Args>(args)...))> {
36 return fn(in, std::forward<Args>(args)...);
53 return fn(std::forward<Arg>(arg), out); in nullable()
/system/bt/btif/co/
Dbta_pan_co.cc160 bool forward; in bta_pan_co_tx_path() local
176 p_buf = bta_pan_ci_readbuf(handle, src, dst, &protocol, &ext, &forward); in bta_pan_co_tx_path()
189 forward); in bta_pan_co_tx_path()
232 UNUSED_ATTR bool ext, UNUSED_ATTR bool forward) { in bta_pan_co_tx_write() argument
/system/libhidl/transport/include/hidl/
DConcurrentMap.h35 mMap[std::forward<K>(k)] = std::forward<V>(v); in set()
69 void setLocked(const K& k, V&& v) { mMap[k] = std::forward<V>(v); } in setLocked()
/system/gatekeeper/include/gatekeeper/
Dgatekeeper_utils.h67 constexpr T&& forward(remove_reference_t<T>& x) {
71 constexpr T&& forward(remove_reference_t<T>&& x) {
/system/media/audio_utils/include/audio_utils/
Dvariadic_utils.h192 return std::get<index>(std::forward<T>(t));
199 return op(fold<index - 1>(std::forward<Op>(op), t), std::get<index>(std::forward<T>(t)));
206 return fold<std::tuple_size<T>::value - 1>(std::forward<Op>(op), std::forward<T>(t));
222 op(std::get<I>(std::forward<T1>(t1)), std::get<I>(std::forward<T2>(t2)))...);
232 return tupleOp(std::forward<Op>(op),
233 std::forward<T1>(t1),
234 std::forward<T2>(t2),
317 return std::make_tuple(std::get<I + Offset>(std::forward<T>(t))...); // force a tuple here
325 std::forward<T>(t),
/system/tools/hidl/test/error_test/cpp_forward_decl_restriction/1.0/
Drequired_error1 C++ forward declaration doesn't support inner types
/system/bt/gd/
Dmodule.h108 GetHandler()->Call(std::forward<Functor>(functor), std::forward<Args>(args)...); in Call()
113 GetHandler()->CallOn(obj, std::forward<Functor>(functor), std::forward<Args>(args)...); in CallOn()
/system/memory/libmemunreachable/
DAllocator.h81 return unique_ptr<T>(new (allocate<T>()) T(std::forward<Args>(args)...), [impl](void* ptr) { in make_unique()
172 return heap_.template make_shared<T>(std::forward<Args>(args)...); in make_shared()
179 return heap_.template make_unique<T>(std::forward<Args>(args)...); in make_unique()
189 std::forward<Args>(args)...); in make_shared()

1234