/external/libbrillo/brillo/http/ |
D | http_utils_unittest.cc | 45 kEchoUrl, request_type::kPost, base::Bind(EchoDataHandler)); in TEST() 50 http::SendRequestAndBlock(request_type::kPost, in TEST() 67 kEchoUrl, request_type::kPost, base::Bind(EchoDataHandler)); in TEST() 82 http::SendRequest(request_type::kPost, in TEST() 102 http::SendRequestAndBlock(request_type::kPost, in TEST() 112 EXPECT_EQ(request_type::kPost, response->ExtractDataAsString()); in TEST() 119 auto response = http::SendRequestAndBlock(request_type::kGet, in TEST() 129 EXPECT_EQ(request_type::kGet, response->ExtractDataAsString()); in TEST() 136 auto response = http::SendRequestAndBlock(request_type::kPut, in TEST() 146 EXPECT_EQ(request_type::kPut, response->ExtractDataAsString()); in TEST() [all …]
|
D | http_request_unittest.cc | 69 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F() 75 EXPECT_EQ(request_type::kPost, request.GetRequestMethod()); in TEST_F() 77 Request request2{"http://www.foo.bar/baz", request_type::kGet, transport_}; in TEST_F() 79 EXPECT_EQ(request_type::kGet, request2.GetRequestMethod()); in TEST_F() 83 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F() 89 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F() 95 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F() 101 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F() 107 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F() 124 request_type::kPost, in TEST_F() [all …]
|
D | http_request.cc | 20 const char request_type::kOptions[] = "OPTIONS"; 21 const char request_type::kGet[] = "GET"; 22 const char request_type::kHead[] = "HEAD"; 23 const char request_type::kPost[] = "POST"; 24 const char request_type::kPut[] = "PUT"; 25 const char request_type::kPatch[] = "PATCH"; 26 const char request_type::kDelete[] = "DELETE"; 27 const char request_type::kTrace[] = "TRACE"; 28 const char request_type::kConnect[] = "CONNECT"; 29 const char request_type::kCopy[] = "COPY"; [all …]
|
D | http_utils.cc | 29 request_type::kGet, url, headers, transport, error); in GetAndBlock() 37 return SendRequestWithNoData(request_type::kGet, in Get() 49 request_type::kHead, url, {}, transport, error); in HeadAndBlock() 56 return SendRequestWithNoData(request_type::kHead, in Head() 190 return SendRequestAndBlock(request_type::kPost, in PostBinaryAndBlock() 207 return SendRequest(request_type::kPost, in PostBinary() 225 return SendRequest(request_type::kPost, in PostBinary() 258 Request request(url, request_type::kPost, transport); in PostFormDataAndBlock() 288 Request request(url, request_type::kPost, transport); in PostFormData() 348 return SendRequestAndBlock(request_type::kPatch, in PatchJsonAndBlock() [all …]
|
D | http_transport_curl_unittest.cc | 70 request_type::kGet, in TEST_F() 88 "http://foo.bar/head", request_type::kHead, {}, "", "", nullptr); in TEST_F() 102 "http://foo.bar/put", request_type::kPut, {}, "", "", nullptr); in TEST_F() 118 "http://www.foo.bar/post", request_type::kPost, {}, "", "", nullptr); in TEST_F() 135 EasySetOptStr(handle_, CURLOPT_CUSTOMREQUEST, request_type::kPatch)) in TEST_F() 138 "http://www.foo.bar/patch", request_type::kPatch, {}, "", "", nullptr); in TEST_F() 156 "http://foo.bar/get", request_type::kGet, {}, "", "", &error); in TEST_F() 203 "http://foo.bar/get", request_type::kGet, {}, "", "", nullptr); in TEST_F() 304 "http://foo.bar/get", request_type::kGet, {}, "", "", nullptr); in TEST_F()
|
D | http_connection_curl.cc | 97 if (method_ != request_type::kGet) { in PrepareRequest() 105 if (method_ == request_type::kPut) { in PrepareRequest() 141 if (method_ != request_type::kHead) { in PrepareRequest()
|
D | http_transport_curl.cc | 171 if (method == request_type::kGet) { in CreateConnection() 173 } else if (method == request_type::kHead) { in CreateConnection() 175 } else if (method == request_type::kPut) { in CreateConnection() 184 if (code == CURLE_OK && method != request_type::kPost) { in CreateConnection()
|
D | http_connection_fake.cc | 110 if (request_.GetMethod() != request_type::kHead) { in ExtractDataStream()
|
/external/kernel-headers/original/uapi/linux/ |
D | dm-log-userspace.h | 384 #define DM_ULOG_REQUEST_TYPE(request_type) \ argument 385 (DM_ULOG_REQUEST_MASK & (request_type)) 426 __u32 request_type; /* DM_ULOG_* defined above */ member
|
/external/libusb/libusb/os/ |
D | windows_winusb.h | 152 #define LIBUSB_REQ_RECIPIENT(request_type) ((request_type) & 0x1F) argument 153 #define LIBUSB_REQ_TYPE(request_type) ((request_type) & (0x03 << 5)) argument 154 #define LIBUSB_REQ_IN(request_type) ((request_type) & LIBUSB_ENDPOINT_IN) argument 155 #define LIBUSB_REQ_OUT(request_type) (!LIBUSB_REQ_IN(request_type)) argument 647 UCHAR request_type; member
|
D | haiku_usb_raw.h | 153 uint8 request_type; member
|
D | haiku_usb_backend.cpp | 72 command.control.request_type = setup->bmRequestType; in Do() 461 command.control.request_type = 128; in Initialise()
|
/external/libcups/cups/ |
D | snmp-private.h | 88 cups_asn1_t request_type; /* Request type */ member 132 cups_asn1_t request_type,
|
D | snmp.c | 643 cups_asn1_t request_type, /* I - Request type */ in _cupsSNMPWrite() argument 661 fd, address, version, community, request_type, request_id, oid)); in _cupsSNMPWrite() 664 (request_type != CUPS_ASN1_GET_REQUEST && in _cupsSNMPWrite() 665 request_type != CUPS_ASN1_GET_NEXT_REQUEST) || request_id < 1 || !oid) in _cupsSNMPWrite() 679 packet.request_type = request_type; in _cupsSNMPWrite() 966 if ((packet->request_type = (cups_asn1_t)asn1_get_type(&bufptr, bufend)) in asn1_decode_snmp() 1170 *bufptr++ = packet->request_type; /* Get-Request-PDU/Get-Next-Request-PDU */ in asn1_encode_snmp()
|
/external/tensorflow/tensorflow/contrib/mpi_collectives/kernels/ |
D | mpi_ops.cc | 308 auto request_type = requests[i].tensor_type(); in ConstructMPIResponse() local 309 if (data_type != request_type) { in ConstructMPIResponse() 314 << DataType_Name(request_type) << "."; in ConstructMPIResponse() 320 auto message_type = requests[0].request_type(); in ConstructMPIResponse() 326 auto request_type = requests[i].request_type(); in ConstructMPIResponse() local 327 if (message_type != request_type) { in ConstructMPIResponse() 331 << request_type << "."; in ConstructMPIResponse()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps.c | 111 } else if (attr.request_type == NULL) { in wps_init() 117 *attr.request_type); in wps_init() 118 data->request_type = *attr.request_type; in wps_init()
|
D | wps_validate.c | 59 static int wps_validate_request_type(const u8 *request_type, int mandatory) in wps_validate_request_type() argument 61 if (request_type == NULL) { in wps_validate_request_type() 69 if (*request_type > 0x03) { in wps_validate_request_type() 71 "attribute value 0x%x", *request_type); in wps_validate_request_type() 1198 wps_validate_request_type(attr.request_type, 1) || in wps_validate_probe_req() 1245 wps_validate_request_type(attr.request_type, 1) || in wps_validate_assoc_req()
|
D | wps_attr_parse.h | 51 const u8 *request_type; /* 1 octet */ member
|
D | wps_i.h | 84 u8 request_type; member
|
/external/webrtc/webrtc/libjingle/xmpp/ |
D | rostermoduleimpl.cc | 834 XmppSubscriptionRequestType request_type; in HandleStanza() local 835 if (StringToSubscriptionRequestType(type, &request_type)) in HandleStanza() 836 InternalSubscriptionRequest(jid, stanza, request_type); in HandleStanza() 928 request_type) { in InternalSubscriptionRequest() argument 930 roster_handler_->SubscriptionRequest(this, jid, request_type, stanza); in InternalSubscriptionRequest()
|
D | rostermoduleimpl.h | 265 XmppSubscriptionRequestType request_type);
|
/external/tensorflow/tensorflow/contrib/mpi_collectives/ |
D | mpi_message.proto | 36 RequestType request_type = 2; field
|
/external/libdrm/include/drm/ |
D | tegra_drm.h | 166 enum request_type { enum
|
/external/webrtc/webrtc/p2p/base/ |
D | stun.h | 470 int GetStunSuccessResponseType(int request_type); 474 int GetStunErrorResponseType(int request_type);
|
/external/libevent/ |
D | evdns.c | 173 u8 request_type; /* TYPE_PTR or TYPE_A or TYPE_AAAA */ member 776 u8 request_type; member 790 switch (cb->request_type) { in reply_run_callback() 842 d->request_type = req->request_type; in reply_schedule_callback() 933 req->request_type != TYPE_PTR) { in reply_handle() 1064 reply.type = req->request_type; in reply_parse() 1110 if (req->request_type != TYPE_A) { in reply_parse() 1128 if (req->request_type != TYPE_PTR) { in reply_parse() 1148 if (req->request_type != TYPE_AAAA) { in reply_parse() 2806 req->request_type = type; in request_new() [all …]
|