/external/webrtc/webrtc/examples/peerconnection/client/ |
D | peer_connection_client.cc | 296 size_t* content_length) { in ReadIntoBuffer() argument 309 if (GetHeaderValue(*data, i, "\r\nContent-Length: ", content_length)) { in ReadIntoBuffer() 310 size_t total_response_size = (i + 4) + *content_length; in ReadIntoBuffer() 333 size_t content_length = 0; in OnRead() local 334 if (ReadIntoBuffer(socket, &control_data_, &content_length)) { in OnRead() 336 bool ok = ParseServerResponse(control_data_, content_length, &peer_id, in OnRead() 346 if (content_length) { in OnRead() 385 size_t content_length = 0; in OnHangingGetRead() local 386 if (ReadIntoBuffer(socket, ¬ification_data_, &content_length)) { in OnHangingGetRead() 388 bool ok = ParseServerResponse(notification_data_, content_length, in OnHangingGetRead() [all …]
|
D | peer_connection_client.h | 90 size_t* content_length); 102 bool ParseServerResponse(const std::string& response, size_t content_length,
|
/external/wpa_supplicant_8/src/wps/ |
D | httpread.c | 69 int content_length; /* body length, iff got_content_length */ member 168 h->content_length = atol(hbp); in httpread_hdr_option_analyze() 169 if (h->content_length < 0 || h->content_length > h->max_bytes) { in httpread_hdr_option_analyze() 172 h->content_length); in httpread_hdr_option_analyze() 401 h->content_length); in httpread_read_handler() 455 if (h->got_content_length && h->content_length == 0) { in httpread_read_handler() 504 new_alloc_nbytes < (h->content_length + 1)) in httpread_read_handler() 505 new_alloc_nbytes = h->content_length + 1; in httpread_read_handler() 595 h->body_nbytes >= h->content_length) { in httpread_read_handler() 617 ncopy = h->content_length - h->body_nbytes; in httpread_read_handler()
|
/external/curl/tests/libtest/ |
D | lib566.c | 31 double content_length = 3; in test() local 53 &content_length); in test() 56 fprintf(moo, "CL: %.0f\n", content_length); in test()
|
D | lib599.c | 46 double content_length = 0.0; in test() local 82 &content_length); in test() 85 fprintf(moo, "CL: %.0f\n", content_length); in test()
|
/external/google-breakpad/src/common/windows/ |
D | http_upload.cc | 199 wchar_t content_length[32]; in ReadResponse() local 200 DWORD content_length_size = sizeof(content_length); in ReadResponse() 205 static_cast<LPVOID>(&content_length), in ReadResponse() 208 claimed_size = wcstol(content_length, NULL, 10); in ReadResponse()
|
/external/dynamic_depth/internal/xmpmeta/ |
D | xmp_parser.cc | 90 const size_t content_length = end - header_length; in ParseFirstValidXMPSection() local 96 if (content_length > INT_MAX) { in ParseFirstValidXMPSection() 97 LOG(ERROR) << "First XMP section too large, size: " << content_length; in ParseFirstValidXMPSection() 101 content_start, static_cast<int>(content_length), nullptr, nullptr, 0); in ParseFirstValidXMPSection()
|
/external/autotest/client/common_lib/cros/fake_device_server/ |
D | common_util_unittest.py | 28 content_length = json_file.tell() 30 cherrypy.request.headers['Content-Length'] = content_length
|
/external/python/cpython2/Lib/test/ |
D | test_httplib.py | 120 self.content_length = None 124 self.content_length = kv[1].strip() 137 conn._buffer.content_length, '0', 153 conn._buffer.content_length, None, 166 conn._buffer.content_length, '0', 177 conn._buffer.content_length, '1',
|
D | test_xmlrpc.py | 782 self.__class__.content_length = int(self.headers["content-length"]) 807 a = self.RequestHandler.content_length 810 b = self.RequestHandler.content_length
|
D | test_urllib2_localnet.py | 409 content_length = self.headers['Content-Length'] 410 post_data = self.rfile.read(int(content_length))
|
/external/webrtc/webrtc/examples/peerconnection/server/ |
D | data_socket.h | 85 size_t content_length() const { return content_length_; } in content_length() function
|
D | peer_channel.cc | 175 return (ds->method() == DataSocket::POST && ds->content_length() > 0) || in IsPeerConnection()
|
/external/libevent/ |
D | http.c | 503 size_t content_length) in evhttp_maybe_add_content_length_header() argument 509 EV_SIZE_ARG(content_length)); in evhttp_maybe_add_content_length_header() 2116 const char *content_length; in evhttp_get_body_length() local 2119 content_length = evhttp_find_header(headers, "Content-Length"); in evhttp_get_body_length() 2122 if (content_length == NULL && connection == NULL) in evhttp_get_body_length() 2124 else if (content_length == NULL && in evhttp_get_body_length() 2131 } else if (content_length == NULL) { in evhttp_get_body_length() 2135 ev_int64_t ntoread = evutil_strtoll(content_length, &endp, 10); in evhttp_get_body_length() 2136 if (*content_length == '\0' || *endp != '\0' || ntoread < 0) { in evhttp_get_body_length() 2138 __func__, content_length)); in evhttp_get_body_length()
|
/external/webrtc/webrtc/base/ |
D | httpcommon.cc | 488 size_t content_length = 0; in setDocumentAndLength() local 489 if (this->document->GetAvailable(&content_length)) { in setDocumentAndLength() 491 sprintfn(buffer, sizeof(buffer), "%d", content_length); in setDocumentAndLength()
|
/external/python/cpython3/Lib/http/ |
D | client.py | 1257 content_length = self._get_content_length(body, method) 1258 if content_length is None: 1265 self.putheader('Content-Length', str(content_length))
|
/external/python/httplib2/tests/ |
D | __init__.py | 136 content_length = int(content_length_string) 137 msg.body = msg.body_raw = buf.read(content_length)
|
/external/python/cpython3/Lib/test/ |
D | test_httplib.py | 163 self.content_length = None 167 self.content_length = kv[1].strip() 180 conn._buffer.content_length, b'0', 196 conn._buffer.content_length, None, 209 conn._buffer.content_length, b'0', 220 conn._buffer.content_length, b'1',
|
D | test_urllib2_localnet.py | 412 content_length = self.headers["Content-Length"] 413 post_data = self.rfile.read(int(content_length))
|
D | test_xmlrpc.py | 1095 self.__class__.content_length = int(self.headers["content-length"]) 1120 a = self.RequestHandler.content_length 1123 b = self.RequestHandler.content_length
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 1254 content_length = self._get_content_length(request) 1255 if content_length is not None: 1257 'Content-length', str(content_length))
|