/external/okhttp/android/main/java/com/squareup/okhttp/internal/ |
Platform.java | 19 import com.squareup.okhttp.Protocol; 103 SSLSocket sslSocket, String hostname, List<Protocol> protocols) { 204 * Returns the concatenation of 8-bit, length prefixed protocol names. 207 static byte[] concatLengthPrefixed(List<Protocol> protocols) { 210 Protocol protocol = protocols.get(i); local 211 if (protocol == Protocol.HTTP_1_0) continue; // No HTTP/1.0 for ALPN. 212 result.writeByte(protocol.toString().length()); 213 result.writeUtf8(protocol.toString()) [all...] |
/bionic/libc/kernel/uapi/linux/ |
cm4000_cs.h | 33 __u32 protocol; member in struct:ptsreq
|
/device/google/accessory/arduino/AndroidAccessory/ |
AndroidAccessory.cpp | 62 uint16_t protocol = -1; local 67 ACCESSORY_GET_PROTOCOL, 0, 0, 0, 2, (char *)&protocol); 68 return protocol; 84 int protocol = getProtocol(addr); local 86 if (protocol >= 1) { 87 Serial.print("device supports protocol 1 or higher\n"); 89 Serial.print("could not read device protocol version\n");
|
/external/apache-http/src/org/apache/http/message/ |
BasicLineParser.java | 40 import org.apache.http.protocol.HTTP; 82 * A version of the protocol to parse. 83 * The version is typically not relevant, but the protocol name. 85 protected final ProtocolVersion protocol; field in class:BasicLineParser 89 * Creates a new line parser for the given HTTP-like protocol. 91 * @param proto a version of the protocol to parse, or 93 * is not relevant, only the protocol name. 99 this.protocol = proto; 144 final String protoname = this.protocol.getProtocol(); 157 ("Not a valid protocol version: " [all...] |
/external/apache-http/src/org/apache/http/protocol/ |
HTTP.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/protocol/HTTP.java $ 32 package org.apache.http.protocol; 35 * Constants and static helpers related to the HTTP protocol.
|
/external/dhcpcd-6.8.2/ |
auth.c | 110 uint8_t protocol, algorithm, rdm, *mm, type; local 131 protocol = *d++; 137 if (protocol != AUTH_PROTO_RECONFKEY) { 141 } else if (protocol != auth->protocol || 147 if (protocol != AUTH_PROTO_RECONFKEY || 179 switch (protocol) { 306 if (protocol == AUTH_PROTO_TOKEN) { 485 if (auth->protocol == 0 && t == NULL) { 505 switch(auth->protocol) { [all...] |
auth.h | 62 uint8_t protocol; member in struct:auth
|
/external/iproute2/tc/ |
tc_filter.c | 33 "Usage: tc filter get dev STRING parent CLASSID protocol PROTO handle FILTERID pref PRIO FILTER_TYPE\n" 34 " [ pref PRIO ] protocol PROTO [ chain CHAIN_INDEX ]\n" 60 __u32 protocol = 0; local 70 protocol = htons(ETH_P_ALL); 122 } else if (matches(*argv, "protocol") == 0) { 127 duparg("protocol", *argv); 129 invarg("invalid protocol", *argv); 130 protocol = id; 156 req.t.tcm_info = TC_H_MAKE(prio<<16, protocol); 278 fprintf(fp, "protocol %s " 336 __u32 protocol = 0; local 511 __u32 protocol = 0; local [all...] |
/external/kernel-headers/original/uapi/linux/ |
cm4000_cs.h | 29 * I've changed "ptsreq.protocol" from "unsigned long" to "__u32". 35 __u32 protocol; /*T=0: 2^0, T=1: 2^1*/ member in struct:ptsreq
|
/external/libcups/cups/ |
tlscheck.c | 161 SSLProtocol protocol; local 169 if ((err = SSLGetNegotiatedProtocolVersion(http->tls, &protocol)) != noErr) 171 printf("%s: ERROR (No protocol version - %d)\n", server, (int)err); 176 switch (protocol)
|
/external/libnl/lib/ |
cache_mngr.c | 70 int protocol = nlmsg_get_proto(msg); local 85 if (mngr->cm_protocol != protocol) 110 * @arg protocol Netlink protocol this manager is used for 114 * Allocates a new cache manager for the specified netlink protocol. 117 * specified protocol will be automatically allocated. 135 int nl_cache_mngr_alloc(struct nl_sock *sk, int protocol, int flags, 158 mngr->cm_protocol = protocol; 168 if ((err = nl_connect(mngr->cm_sock, protocol)) < 0) 180 if ((err = nl_connect(mngr->cm_sync_sock, protocol)) < 0 [all...] |
/external/libpcap/msdos/ |
pkt_rx0.asm | 51 protocol dw 0 ; packet protocol number define
|
/external/ltp/testcases/realtime/stress/pi-tests/ |
testpi-3.c | 371 int protocol; local 378 printf("Can't set protocol prio inherit\n"); 380 if (pthread_mutexattr_getprotocol(&mutexattr, &protocol) != 0) { 381 printf("Can't get mutexattr protocol\n"); 383 printf("protocol in mutexattr is %d\n", protocol);
|
/external/mtpd/ |
mtpd.h | 74 /* Each protocol must implement everything defined in this structure. Note that 77 struct protocol { struct 78 /* The name of this protocol. */
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Response.java | 38 private final Protocol protocol; field in class:Response 52 this.protocol = builder.protocol; 79 * Returns the HTTP protocol, such as {@link Protocol#HTTP_1_1} or {@link 80 * Protocol#HTTP_1_0}. 82 public Protocol protocol() { method in class:Response 83 return protocol; 223 private Protocol protocol; field in class:Response.Builder 255 public Builder protocol(Protocol protocol) { method in class:Response.Builder [all...] |
/external/okhttp/okhttp-logging-interceptor/src/main/java/com/squareup/okhttp/logging/ |
HttpLoggingInterceptor.java | 23 import com.squareup.okhttp.Protocol; 152 Protocol protocol = connection != null ? connection.getProtocol() : Protocol.HTTP_1_1; local 154 "--> " + request.method() + ' ' + request.httpUrl() + ' ' + protocol(protocol); 208 logger.log("<-- " + protocol(response.protocol()) + ' ' + response.code() + ' ' 250 private static String protocol(Protocol protocol) method in class:HttpLoggingInterceptor [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/ |
basic_socket.hpp | 37 template <typename Protocol, typename SocketService> 50 /// The protocol type. 51 typedef Protocol protocol_type; 54 typedef typename Protocol::endpoint endpoint_type; 57 typedef basic_socket<Protocol, SocketService> lowest_layer_type; 78 * @param protocol An object specifying protocol parameters to be used. 83 const protocol_type& protocol) 87 this->get_service().open(this->get_implementation(), protocol, ec); 95 * specified endpoint on the local machine. The protocol used is the protoco 111 const protocol_type protocol = endpoint.protocol(); local 740 const protocol_type protocol = peer_endpoint.protocol(); local [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
reactive_socket_service.hpp | 42 template <typename Protocol> 47 // The protocol type. 48 typedef Protocol protocol_type; 51 typedef typename Protocol::endpoint endpoint_type; 62 : protocol_(endpoint_type().protocol()) 66 // The protocol associated with the socket. 83 other_impl.protocol_ = endpoint_type().protocol(); 94 other_impl.protocol_ = endpoint_type().protocol(); 97 // Move-construct a new socket implementation from another protocol type. 106 other_impl.protocol_ = typename Protocol1::endpoint().protocol(); 319 int protocol = impl.protocol_.type(); local [all...] |
/external/rmi4utils/rmihidtool/ |
main.cpp | 59 fprintf(stdout, "\t-p, --protocol [protocol]\t\tSet which transport prototocl to use.\n"); 68 fprintf(stdout, "\t-d, --device-info\t\t\tPrint protocol specific information about the device.\n"); 205 const char *protocol = "HID"; local 210 {"protocol", 1, NULL, 'p'}, 242 protocol = optarg; 286 if (!strncasecmp("hid", protocol, 3)) { 289 fprintf(stderr, "Invalid Protocol: %s\n", protocol);
|
/external/syslinux/gpxe/src/include/gpxe/ |
ip.h | 6 * IP protocol 46 uint8_t protocol; member in struct:iphdr 57 uint8_t protocol; member in struct:ipv4_pseudo_header
|
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/ |
DataChannel.java | 41 public String protocol = ""; field in class:DataChannel.Init 51 String protocol, boolean negotiated, int id) { 55 this.protocol = protocol;
|
/frameworks/base/libs/usb/tests/accessorytest/ |
usb.c | 156 uint16_t protocol = -1; local 158 ACCESSORY_GET_PROTOCOL, 0, 0, &protocol, sizeof(protocol), 1000); 162 fprintf(stderr, "device supports protocol version %d\n", protocol); 163 if (protocol >= 2) {
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/ |
IPACM_Conntrack_NATApp.h | 61 u_int8_t protocol; member in struct:_nat_table_entry
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
SSLContext.java | 34 * Instances of this class represent a secure socket protocol 80 * This protocol is described in the <a href= 92 private final String protocol; field in class:SSLContext 99 * @param protocol the protocol 102 String protocol) { 105 this.protocol = protocol; 160 * specified secure socket protocol. 166 * Provider that supports the specified protocol is returned [all...] |
/libcore/ojluni/src/main/java/sun/net/spi/ |
DefaultProxySelector.java | 47 * provides backward compatibility with the old http protocol handler 50 * Most of the implementation copied from the old http protocol handler 60 * support for each given protocol. 62 * - 1 row per protocol (http, ftp, ...) 63 * - 1st element of each row is the protocol name 78 * protocol, Property prefix 1, Property prefix 2, ... 116 * it's not necessary. Therefore we do cache the result, on a per-protocol 156 String protocol = uri.getScheme(); local 182 if (protocol == null || host == null) { 183 throw new IllegalArgumentException("protocol = "+protocol+" host = "+host) [all...] |