/external/webrtc/webrtc/ |
transport.h | 28 class Transport { 36 virtual ~Transport() {}
|
/external/libbrillo/brillo/http/ |
http_transport.h | 39 // Transport is a base class for specific implementation of HTTP communication. 43 class BRILLO_EXPORT Transport : public std::enable_shared_from_this<Transport> { 45 Transport() = default; 46 virtual ~Transport() = default; 49 // |transport| is a shared pointer to this transport object instance, 52 // to the underlying transport (e.g. CURL) to establish the connection. 62 // transport. For transports that do not contain references to real message 63 // loops (e.g. a fake transport), calls the callback immediately [all...] |
http_transport_curl.h | 24 // An implementation of http::Transport that uses libcurl for 25 // HTTP communications. This class (as http::Transport base) 30 class BRILLO_EXPORT Transport : public http::Transport { 32 // Constructs the transport using the current message loop for async 34 explicit Transport(const std::shared_ptr<CurlInterface>& curl_interface); 35 // Creates a transport object using a proxy. 38 Transport(const std::shared_ptr<CurlInterface>& curl_interface, 40 ~Transport() override; 42 // Overrides from http::Transport [all...] |
http_transport_curl.cc | 34 class Transport::SocketPollData : public base::MessagePumpForIO::FdWatcher { 38 Transport* transport, 42 transport_(transport), 76 // CURL multi-handle associated with the transport. 78 // Transport object itself. 79 Transport* transport_; 90 struct Transport::AsyncRequestData { 101 Transport::Transport(const std::shared_ptr<CurlInterface>& curl_interface 338 auto transport = static_cast<Transport*>(userp); local 405 auto transport = static_cast<Transport*>(userp); local [all...] |
http_transport_fake.cc | 22 using http::fake::Transport; 27 Transport::Transport() { 28 VLOG(1) << "fake::Transport created"; 31 Transport::~Transport() { 32 VLOG(1) << "fake::Transport destroyed"; 35 std::shared_ptr<http::Connection> Transport::CreateConnection( 66 void Transport::RunCallbackAsync( 76 bool Transport::HandleOneAsyncRequest() [all...] |
http_transport_fake.h | 28 // A fake implementation of http::Transport that simulates HTTP communication 31 class Transport : public http::Transport { 33 Transport(); 34 ~Transport() override; 68 // For tests that wish to simulate critical transport errors, this method 85 // Overrides from http::Transport. 120 DISALLOW_COPY_AND_ASSIGN(Transport);
|
/external/oj-libjdwp/src/share/classes/com/sun/jdi/connect/ |
Transport.java | 33 * <p> A Transport represents the transport mechanism used by a 36 * by invoking the {@link #name} method. Furthermore, a Transport 46 public interface Transport { 48 * Returns a short identifier for the transport. 50 * @return the name of this transport.
|
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/ |
Transport.java | 24 public enum Transport { 25 NETTY_NIO(true, "The Netty Java NIO transport. Using this with TLS requires " 28 NETTY_EPOLL(true, "The Netty native EPOLL transport. Using this with TLS requires that " 32 NETTY_UNIX_DOMAIN_SOCKET(false, "The Netty Unix Domain Socket transport. This currently " 34 OK_HTTP(true, "The OkHttp transport.", SocketAddressValidator.INET); 40 Transport(boolean tlsSupported, String description, 48 * Validates the given address for this transport. 50 * @throws IllegalArgumentException if the given address is invalid for this transport. 55 "Invalid address " + address + " for transport " + this); 60 * Describe the {@link Transport} [all...] |
/external/syzkaller/vendor/golang.org/x/oauth2/ |
transport.go | 14 // Transport is an http.RoundTripper that makes OAuth 2.0 HTTP requests, 18 // Transport is a low-level mechanism. Most code will use the 20 type Transport struct { 36 func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error) { 38 return nil, errors.New("oauth2: Transport's Source is nil") 61 func (t *Transport) CancelRequest(req *http.Request) { 74 func (t *Transport) base() http.RoundTripper { 81 func (t *Transport) setModReq(orig, mod *http.Request) {
|
/external/webrtc/webrtc/p2p/base/ |
transport.cc | 13 #include "webrtc/p2p/base/transport.h" 66 Transport::Transport(const std::string& name, PortAllocator* allocator) 69 Transport::~Transport() { 73 void Transport::SetIceRole(IceRole role) { 80 bool Transport::GetRemoteSSLCertificate(rtc::SSLCertificate** cert) { 89 void Transport::SetIceConfig(const IceConfig& config) { 96 bool Transport::SetLocalTransportDescription( 126 // If PRANSWER/ANSWER is set, we should decide transport protocol type [all...] |
transport.h | 11 // A Transport manages a set of named channels of the same type. 18 // On Threading: Transport performs work solely on the worker thread, and so 66 // Transport is closed. 81 // Stats that we can return about the connections for a transport channel. 130 // Information about all the channels of a transport. 134 // Information about the stats of a transport. 159 class Transport : public sigslot::has_slots<> { 161 Transport(const std::string& name, PortAllocator* allocator); 162 virtual ~Transport(); 164 // Returns the name of this transport [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/ |
UsbMass.h | 2 Definition of USB Mass Storage Class and its value, USB Mass Transport Protocol,
58 Initializes USB transport protocol.
60 This function initializes the USB mass storage class transport protocol.
67 @retval EFI_UNSUPPORTED The transport protocol doesn't support the device.
68 @retval Other The USB transport initialization fails.
79 Execute USB mass storage command through the transport protocol.
81 @param Context The USB Transport Protocol.
110 Reset the USB mass storage device by Transport protocol.
112 @param Context The USB Transport Protocol
130 @param Context The context of the transport protocol. [all...] |
UsbMassBoot.c | 39 USB_MASS_TRANSPORT *Transport;
43 Transport = UsbMass->Transport;
55 Status = Transport->ExecCommand (
170 USB_MASS_TRANSPORT *Transport;
174 Transport = UsbMass->Transport;
175 Status = Transport->ExecCommand (
[all...] |
UsbMassImpl.c | 19 // Array of USB transport interfaces.
69 Status = UsbMass->Transport->Reset (UsbMass->Context, ExtendedVerification);
368 Initilize the USB Mass Storage transport.
370 This function tries to find the matching USB Mass Storage transport
371 protocol for USB device. If found, initializes the matching transport.
375 @param Transport The pointer to pointer to USB_MASS_TRANSPORT.
380 @retval EFI_UNSUPPORTED No matching transport protocol is found.
388 OUT USB_MASS_TRANSPORT **Transport,
420 // matching transport protocol.
422 // If found, execute USB_MASS_TRANSPORT.Init() to initialize the transport context. [all...] |
/external/python/cpython3/Lib/asyncio/ |
transports.py | 1 """Abstract Transport class.""" 5 'Transport', 'DatagramTransport', 'SubprocessTransport', 18 """Get optional transport information.""" 22 """Return True if the transport is closing or closed.""" 26 """Close the transport. 48 """Return True if the transport is receiving.""" 97 """Write some data bytes to the transport. 105 """Write a list (or any iterable) of data bytes to the transport. 123 """Return True if this transport supports write_eof(), False if not.""" 127 """Close the transport immediately [all...] |
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/ |
TransportBenchmark.java | 59 public enum Transport { 64 public Transport transport; field in class:TransportBenchmark 78 switch (transport) { 139 throw new Exception("Unknown transport: " + transport);
|
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/qps/ |
ServerConfiguration.java | 39 Transport transport = Transport.NETTY_NIO; field in class:ServerConfiguration 70 if (config.tls && !config.transport.tlsSupported) { 72 "TLS unsupported with the " + config.transport.name().toLowerCase() + " transport"); 75 // Verify that the address type is correct for the transport type. 76 config.transport.validateSocketAddress(config.address); 89 public enum Transport { 90 NETTY_NIO(true, "The Netty Java NIO transport. Using this with TLS requires [all...] |
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/ |
Transport.java | 24 package org.ksoap2.transport; 41 * transport layers. This class encapsulates the serialization and 45 abstract public class Transport { 76 public Transport() { 79 public Transport(String url) { 83 public Transport(String url, int timeout) { 88 public Transport(String url, int timeout, int bufferLength) { 95 * Construct the transport object 105 public Transport(Proxy proxy, String url) { 110 public Transport(Proxy proxy, String url, int timeout) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_xmlrpc.py | 669 p("transport").close() #same as above, really.
688 class Transport(xmlrpclib.Transport):
689 #custom transport, stores the response length for our perusal
693 return xmlrpclib.Transport.parse_response(self, response)
699 return xmlrpclib.Transport.send_content(self, connection, body)
705 t = self.Transport()
707 p = xmlrpclib.ServerProxy(URL, transport=t)
716 t = self.Transport()
719 p = xmlrpclib.ServerProxy(URL, transport=t) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
xmlrpclib.py | 29 # 2001-09-03 fl Allow Transport subclass to override getparser
120 Transport Handles an HTTP transaction to an XML-RPC server
229 # transport layer, if the server returns an error code other than 200
471 # Wrapper for binary data. This can be used to transport any kind
[all...] |
/external/python/cpython2/Lib/test/ |
test_xmlrpc.py | 766 p("transport").close() #same as above, really. 786 class Transport(xmlrpclib.Transport): 787 #custom transport, stores the response length for our perusal 791 return xmlrpclib.Transport.parse_response(self, response) 797 return xmlrpclib.Transport.send_content(self, connection, body) 803 t = self.Transport() 805 p = xmlrpclib.ServerProxy(URL, transport=t) 814 t = self.Transport() 817 p = xmlrpclib.ServerProxy(URL, transport=t [all...] |
/external/python/cpython2/Lib/ |
xmlrpclib.py | 29 # 2001-09-03 fl Allow Transport subclass to override getparser 121 Transport Handles an HTTP transaction to an XML-RPC server 230 # transport layer, if the server returns an error code other than 200 472 # Wrapper for binary data. This can be used to transport any kind [all...] |
/external/python/cpython3/Lib/test/ |
test_xmlrpc.py | 288 transp = xmlrpc.client.Transport() [all...] |
/external/python/cpython3/Lib/xmlrpc/ |
client.py | 29 # 2001-09-03 fl Allow Transport subclass to override getparser 114 Transport Handles an HTTP transaction to an XML-RPC server 194 # transport layer, if the server returns an error code other than 200 376 # Wrapper for binary data. This can be used to transport any kind [all...] |
/external/syzkaller/vendor/golang.org/x/net/http2/ |
transport.go | 5 // Transport code. 52 // Transport is an HTTP/2 Transport. 54 // A Transport internally caches connections to servers. It is safe 56 type Transport struct { 74 // DisableCompression, if true, prevents the Transport from 77 // Accept-Encoding value. If the Transport requests gzip on 92 // want to advertise an ulimited value to the peer, Transport 97 // t1, if non-nil, is the standard library Transport using 98 // this transport. Its settings are used (but not it [all...] |