| /external/clang/test/SemaCXX/ |
| D | member-pointer.cpp | 1 // 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/asio/test/ |
| D | io_context.cpp | 5 // Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com) 16 // Test that header file is self-contained. 33 # include <boost/bind/bind.hpp> 63 --(*count); in decrement_to_zero() 66 boost::asio::post(*ioc, bindns::bind(decrement_to_zero, ioc, count)); in decrement_to_zero() 77 --(*count); in nested_decrement_to_zero() 80 bindns::bind(nested_decrement_to_zero, ioc, count)); in nested_decrement_to_zero() 93 boost::asio::post(*ioc, bindns::bind(sleep_increment, ioc, count)); in sleep_increment() 103 boost::asio::post(*ioc, bindns::bind(sleep_increment, ioc, count)); in start_sleep_increments() 113 ioc->run(); in io_context_run() [all …]
|
| D | strand.cpp | 5 // Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com) 16 // Test that header file is self-contained. 34 # include <boost/bind/bind.hpp> 62 BOOST_ASIO_CHECK(!s->running_in_this_thread()); in increment_without_lock() 66 dispatch(*s, bindns::bind(increment, count)); in increment_without_lock() 69 // so the previous call to dispatch should have successfully nested. in increment_without_lock() 75 BOOST_ASIO_CHECK(s->running_in_this_thread()); in increment_with_lock() 79 dispatch(*s, bindns::bind(increment, count)); in increment_with_lock() 82 // previous call to dispatch should have successfully nested. in increment_with_lock() 122 post(*s, bindns::bind(sleep_increment, ioc, count)); in start_sleep_increments() [all …]
|
| D | io_context_strand.cpp | 5 // Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com) 16 // Test that header file is self-contained. 33 # include <boost/bind/bind.hpp> 61 BOOST_ASIO_CHECK(!s->running_in_this_thread()); in increment_without_lock() 65 dispatch(*s, bindns::bind(increment, count)); in increment_without_lock() 68 // so the previous call to dispatch should have successfully nested. in increment_without_lock() 74 BOOST_ASIO_CHECK(s->running_in_this_thread()); in increment_with_lock() 78 dispatch(*s, bindns::bind(increment, count)); in increment_with_lock() 81 // previous call to dispatch should have successfully nested. in increment_with_lock() 120 post(*s, bindns::bind(sleep_increment, ioc, count)); in start_sleep_increments() [all …]
|
| /external/grpc-grpc/test/cpp/util/ |
| D | grpc_tool_test.cc | 9 // http://www.apache.org/licenses/LICENSE-2.0 24 #include <gmock/gmock-matchers.h> 177 if (!context->client_metadata().empty()) { in Echo() 179 iter = context->client_metadata().begin(); in Echo() 180 iter != context->client_metadata().end(); ++iter) { in Echo() 181 context->AddInitialMetadata(ToString(iter->first), in Echo() 182 ToString(iter->second)); in Echo() 185 context->AddTrailingMetadata("trailing_key", "trailing_value"); in Echo() 186 response->set_message(request->message()); in Echo() 193 response->set_message(context->deadline() != in CheckDeadlineSet() [all …]
|
| /external/guice/core/test/com/google/inject/ |
| D | JitBindingsTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 63 bind(Foo.class).to(FooImpl.class); in testLinkedBindingWorks() 68 // FooImpl was implicitly bound, it is an error to call getInstance or getProvider, in testLinkedBindingWorks() 69 // It is OK to call getBinding for introspection, but an error to get the provider in testLinkedBindingWorks() 81 bind(Foo.class).to(FooImpl.class); in testMoreBasicsWork() 82 bind(Bar.class); in testMoreBasicsWork() 83 bind(FooBar.class); in testMoreBasicsWork() 88 // FooImpl was implicitly bound, it is an error to call getInstance or getProvider, in testMoreBasicsWork() 89 // It is OK to call getBinding for introspection, but an error to get the provider in testMoreBasicsWork() 101 bind(Foo.class).to(FooImpl.class).asEagerSingleton(); in testLinkedEagerSingleton() [all …]
|
| /external/deqp/doc/testspecs/GLES2/ |
| D | functional.lifetime.txt | 1 ------------------------------------------------------------------------- 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/phoenix/doc/modules/ |
| D | bind.qbk | 2 Copyright (C) 2001-2010 Joel de Guzman 3 Copyright (C) 2001-2005 Dan Marsden 4 Copyright (C) 2001-2010 Thomas Heller 11 [section Bind] 16 functor somewhere offline, detached from the call site. If you wish to transform a 17 plain function, member function or member variable to a lambda expression, `bind` 24 There is a set of overloaded `bind` template functions. Each `bind(x)` 29 #include <boost/phoenix/bind/bind_function_object.hpp> 43 #include <boost/phoenix/bind/bind_function.hpp> 54 bind(&foo, arg1) [all …]
|
| /external/bcc/man/man8/ |
| D | bindsnoop.8 | 3 bindsnoop \- Trace bind() system calls. 5 … [\fB-h\fP] [\fB-w\fP] [\fB-t\fP] [\fB-p\fP PID] [\fB-P\fP PORT] [\fB-E\fP] [\fB-U\fP] [\fB-u\fP U… 7 bindsnoop reports socket options set before the bind call that would impact this system call behavi… 18 \fB-h\fP, \fB--help\fP 23 \fB-t\fP, \fB--timestamp\fP 28 \fB-w\fP, \fB--wide\fP 33 \fB-p\fP PID, \fB--pid\fP PID 35 Comma-separated list of ports to trace: 38 \fB-P\fP PORT, \fB--port\fP PORT 43 \fB--cgroupmap\fP MAP [all …]
|
| /external/deqp/doc/testspecs/GLES3/ |
| D | functional.lifetime.txt | 1 ------------------------------------------------------------------------- 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/python/cpython3/Lib/idlelib/ |
| D | calltip_w.py | 1 """A call-tip window class for Tkinter/IDLE. 10 HIDE_EVENT = "<<calltipwindow-hide>>" 11 HIDE_SEQUENCES = ("<Key-Escape>", "<FocusOut>") 12 CHECKHIDE_EVENT = "<<calltipwindow-checkhide>>" 20 """A call-tip widget for tkinter text widgets.""" 23 """Create a call-tip; shown by showtip(). 25 text_widget: a Text widget with code for which call-tips are desired 36 """Choose the position of the call-tip.""" 60 """Show the call-tip, bind events which will close it and reposition it. 62 text: the text to display in the call-tip [all …]
|
| /external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
| D | bind_return_type.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 15 // unspecified bind(Fn, Types...); 17 // unspecified bind(Fn, Types...); 19 // Check that the call operators have the proper return type and that they 37 template <class Bind, class ...Args> 39 -> decltype((std::declval<Bind>()(std::declval<Args>()...)), std::true_type{}); 41 template <class Bind, class ...> 42 auto CheckCallImp(long) -> std::false_type; 52 auto ret = std::bind(func, _1); in do_test() [all …]
|
| /external/libchrome/dbus/ |
| D | end_to_end_async_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 12 #include "base/bind.h" 39 // The end-to-end test exercises the asynchronous APIs in ObjectProxy and 47 // Start the D-Bus thread. in SetUp() 48 dbus_thread_.reset(new base::Thread("D-Bus Thread")); in SetUp() 51 ASSERT_TRUE(dbus_thread_->StartWithOptions(thread_options)); in SetUp() 53 // Start the test service, using the D-Bus thread. in SetUp() 55 options.dbus_task_runner = dbus_thread_->task_runner(); in SetUp() 57 ASSERT_TRUE(test_service_->StartService()); in SetUp() 58 ASSERT_TRUE(test_service_->WaitUntilServiceIsStarted()); in SetUp() [all …]
|
| /external/rust/crates/axum/src/docs/routing/ |
| D | with_state.md | 16 axum::Server::bind(&"0.0.0.0:3000".parse().unwrap()) 33 // Don't call `Router::with_state` here 34 fn routes() -> Router<AppState> { 43 axum::Server::bind(&"0.0.0.0:3000".parse().unwrap()) 58 fn routes(state: AppState) -> Router { 67 axum::Server::bind(&"0.0.0.0:3000".parse().unwrap()) 73 This is because we can only call `Router::into_make_service` on `Router<()>`, 86 fn routes<S>(state: AppState) -> Router<S> { 95 axum::Server::bind(&"0.0.0.0:3000".parse().unwrap()) 124 // Once we call `Router::with_state` the router isn't missing [all …]
|
| /external/cronet/third_party/libc++/src/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
| D | bind_return_type.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 14 // unspecified bind(Fn, Types...); 16 // unspecified bind(Fn, Types...); 18 // Check that the call operators have the proper return type and that they 37 template <class Bind, class ...Args> 39 -> decltype((std::declval<Bind>()(std::declval<Args>()...)), std::true_type{}); 41 template <class Bind, class ...> 42 auto CheckCallImp(long) -> std::false_type; [all …]
|
| /external/sdv/vsomeip/third_party/boost/asio/example/cpp03/tutorial/ |
| D | timer_dox.txt | 2 // Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com) 9 \page tuttimer1 Timer.1 - Using a timer synchronously 39 That is, the call to boost::asio::steady_timer::wait() will not return until the 67 \page tuttimer2 Timer.2 - Using a timer asynchronously 86 we call the boost::asio::steady_timer::async_wait() function to perform an 92 Finally, we must call the boost::asio::io_context::run() member function 102 timer, so the call will not return until the timer has expired and the 106 calling boost::asio::io_context::run(). For example, if we had omitted the above call 128 \page tuttimer3 Timer.3 - Binding arguments to a handler 137 \until bind.hpp [all …]
|
| /external/tpm2-tss/src/tss2-esys/api/ |
| D | Esys_StartAuthSession.c | 1 /* SPDX-License-Identifier: BSD-2-Clause */ 3 * Copyright 2017-2018, Fraunhofer SIT sponsored by Infineon Technologies AG 26 ESYS_TR bind, in store_input_parameters() argument 32 esysContext->in.StartAuthSession.tpmKey = tpmKey; in store_input_parameters() 33 esysContext->in.StartAuthSession.bind = bind; in store_input_parameters() 34 esysContext->in.StartAuthSession.sessionType = sessionType; in store_input_parameters() 35 esysContext->in.StartAuthSession.authHash = authHash; in store_input_parameters() 37 esysContext->in.StartAuthSession.nonceCaller = NULL; in store_input_parameters() 39 esysContext->in.StartAuthSession.nonceCallerData = *nonceCaller; in store_input_parameters() 40 esysContext->in.StartAuthSession.nonceCaller = in store_input_parameters() [all …]
|
| /external/sdv/vsomeip/third_party/boost/bind/doc/bind/ |
| D | troubleshooting.qbk | 3 / 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 47 detected by the compiler at "call time" and the result is typically an error 48 in `bind.hpp` on a line that looks like: [all …]
|
| /external/sdv/vsomeip/third_party/boost/bind/include/boost/bind/ |
| D | mem_fn.hpp | 11 // mem_fn.hpp - a generalization of std::mem_fun[_ref] 15 // Copyright (c) 2003-2005 Peter Dimov 21 // See http://www.boost.org/libs/bind/mem_fn.html for documentation. 47 #include <boost/bind/mem_fn_template.hpp> 57 #include <boost/bind/mem_fn_template.hpp> 69 #include <boost/bind/mem_fn_template.hpp> 81 #include <boost/bind/mem_fn_template.hpp> 100 #include <boost/bind/mem_fn_template.hpp> 110 #include <boost/bind/mem_fn_template.hpp> 122 #include <boost/bind/mem_fn_template.hpp> [all …]
|
| /external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/ |
| D | CrossProfileSender.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 123 private final CrossProfileCall call; field in CrossProfileSender.OngoingCrossProfileCall 126 private OngoingCrossProfileCall(CrossProfileSender sender, CrossProfileCall call) { in OngoingCrossProfileCall() argument 127 if (sender == null || call == null) { in OngoingCrossProfileCall() 131 this.call = call; in OngoingCrossProfileCall() 146 sender.removeConnectionHolder(call); in onResult() 150 call.callback.onResult(methodIdentifier, bundle); in onResult() 161 sender.removeConnectionHolder(call); in onException() 163 call.callback.onException(exception); in onException() 177 return sender.equals(that.sender) && call.equals(that.call); in equals() [all …]
|
| /external/bcc/tools/ |
| D | bindsnoop_example.txt | 4 print socket options set before the system call invocation that might 5 impact bind behavior and bound interface: 14 Tracing binds ... Hit Ctrl-C to end 21 The output shows four bind system calls: 23 options, dig process called bind for TCP and UDP sockets, 24 and Acceptor called bind for TCP with SO_REUSEADDR option set. 27 The -t option prints a timestamp column 29 # ./bindsnoop.py -t 36 The -U option prints a UID column: 38 # ./bindsnoop.py -U [all …]
|
| /external/libbrillo/brillo/dbus/ |
| D | dbus_object_test_helpers.h | 2 // Use of this source code is governed by a BSD-style license that can be 5 // Helper utilities to simplify testing of D-Bus object implementations. 10 // This file provide testing-only helpers to make calling D-Bus method handlers 18 #include <base/bind.h> 26 // Helper friend class to call DBusInterface::HandleMethodCall() since it is 33 itf->HandleMethodCall(method_call, sender); in HandleMethodCall() 40 // instance of D-Bus method call response message. We use this in tests 41 // to get the response in case the handler processes a method call request 43 // ResponseHolder::ReceiveResponse() will not be called since we bind the 53 // Dispatches a D-Bus method call to the corresponding handler. [all …]
|
| /external/libchrome/mojo/public/cpp/bindings/ |
| D | thread_safe_interface_ptr.h | 2 // Use of this source code is governed by a BSD-style license that can be 24 // ThreadSafeInterfacePtr wraps a non-thread-safe InterfacePtr and proxies 27 // directly if the call is made on the sequence that the wrapped InterfacePtr is 69 base::AutoLock l(sync_calls_->lock); in ~ThreadSafeForwarder() 70 for (const auto& pending_response : sync_calls_->pending_responses) in ~ThreadSafeForwarder() 71 pending_response->event.Signal(); in ~ThreadSafeForwarder() 80 // In practice this means it's only for cross-process messaging and we can in PrefersSerializedMessages() 86 if (!message->associated_endpoint_handles()->empty()) { in Accept() 88 // - This is a non-associated interface pointer setup using in Accept() 92 // - This is an associated interface which hasn't been associated with a in Accept() [all …]
|
| /external/chromium-trace/catapult/third_party/polymer/components/promise-polyfill/ |
| D | Promise.js | 17 doResolve(fn, resolve.bind(this), reject.bind(this)); 45 …mise Resolution Procedure: https://github.com/promises-aplus/promises-spec#the-promise-resolution-… 50 doResolve(then.bind(newValue), resolve.bind(this), reject.bind(this)); 56 finale.call(this); 57 } catch (e) { reject.call(this, e); } 63 finale.call(this); 68 handle.call(this, this._deferreds[i]); 105 handle.call(me, {
|
| /external/clang/lib/StaticAnalyzer/Checkers/ |
| D | CheckerDocumentation.cpp | 1 //===- CheckerDocumentation.cpp - Documentation checker ---------*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 33 /// as reporting bugs. Most of the callbacks are targeted at path-sensitive 46 check::Bind, 51 eval::Call, 60 /// \brief Pre-visit the Statement. 73 /// \brief Post-visit the Statement. 83 /// \brief Pre-visit the Objective C message. 85 /// This will be called before the analyzer core processes the method call. [all …]
|