/external/google-breakpad/src/tools/windows/converter_exe/ |
D | http_download.cc | 275 DWORD content_length = 0; in Download() local 277 http_client->GetContentLength(request.get(), &content_length); in Download() 278 if (content_length == HttpClient::kUnknownContentLength) { in Download() 281 buffer_size = content_length; in Download() 284 if (content_length != 0) { in Download() 290 if (content_length == HttpClient::kUnknownContentLength in Download() 315 content_length, in Download()
|
D | wininet_client.cc | 76 DWORD* content_length) const; 210 DWORD* content_length) const { in GetContentLength() 212 assert(content_length); in GetContentLength() 221 *content_length = kUnknownContentLength; in GetContentLength() 223 *content_length = wcstol(content_length_string, NULL, 10); in GetContentLength()
|
D | winhttp_client.cc | 77 DWORD* content_length) const; 210 DWORD* content_length) const { in GetContentLength() 212 assert(content_length); in GetContentLength() 221 *content_length = kUnknownContentLength; in GetContentLength() 223 *content_length = in GetContentLength()
|
D | http_client.h | 84 DWORD* content_length) const = 0;
|
/external/webrtc/examples/peerconnection/client/ |
D | peer_connection_client.cc | 286 size_t* content_length) { in ReadIntoBuffer() argument 299 if (GetHeaderValue(*data, i, "\r\nContent-Length: ", content_length)) { in ReadIntoBuffer() 300 size_t total_response_size = (i + 4) + *content_length; in ReadIntoBuffer() 323 size_t content_length = 0; in OnRead() local 324 if (ReadIntoBuffer(socket, &control_data_, &content_length)) { in OnRead() 327 ParseServerResponse(control_data_, content_length, &peer_id, &eoh); in OnRead() 336 if (content_length) { in OnRead() 376 size_t content_length = 0; in OnHangingGetRead() local 377 if (ReadIntoBuffer(socket, ¬ification_data_, &content_length)) { in OnHangingGetRead() 380 ParseServerResponse(notification_data_, content_length, &peer_id, &eoh); in OnHangingGetRead() [all …]
|
D | peer_connection_client.h | 95 size_t* content_length); 110 size_t content_length,
|
/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/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/icing/icing/index/ |
D | index-processor_benchmark.cc | 87 DocumentProto CreateDocumentWithOneProperty(int content_length) { in CreateDocumentWithOneProperty() argument 91 .AddStringProperty("p0", std::string(content_length, 'A')) in CreateDocumentWithOneProperty() 95 DocumentProto CreateDocumentWithTenProperties(int content_length) { in CreateDocumentWithTenProperties() argument 96 int property_length = content_length / 10; in CreateDocumentWithTenProperties() 113 DocumentProto CreateDocumentWithDiacriticLetters(int content_length) { in CreateDocumentWithDiacriticLetters() argument 115 while (content.length() < content_length) { in CreateDocumentWithDiacriticLetters() 125 DocumentProto CreateDocumentWithHiragana(int content_length) { in CreateDocumentWithHiragana() argument 127 while (content.length() < content_length) { in CreateDocumentWithHiragana()
|
/external/libwebsockets/lib/roles/cgi/ |
D | cgi-server.c | 439 !wsi->http.cgi->content_length && in lws_cgi_write_split_stdout_headers() 661 wsi->http.cgi->content_length = in lws_cgi_write_split_stdout_headers() 738 wsi->http.cgi->content_length); in lws_cgi_write_split_stdout_headers() 770 !wsi->http.cgi->content_length; in lws_cgi_write_split_stdout_headers() 809 wsi->http.cgi->content_length) in lws_cgi_write_split_stdout_headers() 910 if (cgi->content_length > cgi->content_length_seen) in lws_cgi_kill_terminated() 913 if (cgi->content_length) { in lws_cgi_kill_terminated() 931 if (!cgi->content_length) { in lws_cgi_kill_terminated() 981 if (cgi->content_length > cgi->content_length_seen) in lws_cgi_kill_terminated() 984 if (cgi->content_length) in lws_cgi_kill_terminated() [all …]
|
D | private-lib-roles-cgi.h | 74 lws_filepos_t content_length; member
|
/external/perfetto/src/trace_processor/rpc/ |
D | httpd.cc | 103 size_t content_length = 0) { argument 113 if (content_length != kOmitContentLength) { 115 Append(response, std::to_string(content_length)); 120 if (content_length > 0 && content_length != kOmitContentLength) 121 sock->Send(content, content_length); // Send response payload.
|
/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/dynamic_depth/internal/xmpmeta/ |
D | xmp_parser.cc | 91 const size_t content_length = end - header_length; in ParseFirstValidXMPSection() local 97 if (content_length > INT_MAX) { in ParseFirstValidXMPSection() 98 LOG(ERROR) << "First XMP section too large, size: " << content_length; in ParseFirstValidXMPSection() 102 content_start, static_cast<int>(content_length), nullptr, nullptr, 0); in ParseFirstValidXMPSection()
|
/external/libwebsockets/lib/roles/http/ |
D | header.c | 127 lws_filepos_t content_length, in lws_add_http_header_content_length() argument 133 n = lws_snprintf(b, sizeof(b) - 1, "%llu", (unsigned long long)content_length); in lws_add_http_header_content_length() 137 wsi->http.tx_content_length = content_length; in lws_add_http_header_content_length() 138 wsi->http.tx_content_remain = content_length; in lws_add_http_header_content_length() 141 wsi, (unsigned long long)content_length); in lws_add_http_header_content_length()
|
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
D | GDBRemoteCommunication.cpp | 441 size_t content_length = in DecompressPacket() local 469 content_length = hash_mark_idx - content_start; in DecompressPacket() 516 unescaped_content.reserve(content_length); in DecompressPacket() 665 size_t content_length = 0; in CheckForPacket() local 682 content_length = total_length = 1; // The command is one byte long... in CheckForPacket() 700 content_length = hash_pos - 1; in CheckForPacket() 706 content_length = std::string::npos; in CheckForPacket() 740 if (content_length == std::string::npos) { in CheckForPacket() 746 assert(content_length <= m_bytes.size()); in CheckForPacket() 748 assert(content_length <= total_length); in CheckForPacket() [all …]
|
/external/google-breakpad/src/common/windows/ |
D | http_upload.cc | 168 wchar_t content_length[32]; in ReadResponse() local 169 DWORD content_length_size = sizeof(content_length); in ReadResponse() 174 static_cast<LPVOID>(&content_length), in ReadResponse() 177 claimed_size = wcstol(content_length, NULL, 10); in ReadResponse()
|
/external/libcups/cgi-bin/ |
D | var.c | 965 char *content_length, /* Length of input data (string) */ in cgi_initialize_post() local 977 content_length = getenv("CONTENT_LENGTH"); in cgi_initialize_post() 978 if (content_length == NULL || atoi(content_length) <= 0) in cgi_initialize_post() 985 length = (size_t)strtol(content_length, NULL, 10); in cgi_initialize_post()
|
/external/webrtc/examples/peerconnection/server/ |
D | data_socket.h | 80 size_t content_length() const { return content_length_; } in content_length() function
|
/external/libwebsockets/plugins/ |
D | protocol_esp32_lws_scan.c | 76 long content_length; member 518 vhd->content_length); in callback_esplws_scan() 1149 vhd->content_length = atoi(pp); in callback_esplws_scan() 1150 if (vhd->content_length <= 0 || in callback_esplws_scan() 1151 vhd->content_length > vhd->part->size) in callback_esplws_scan()
|
/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',
|
/external/libevent/ |
D | http.c | 515 size_t content_length) in evhttp_maybe_add_content_length_header() argument 521 EV_SIZE_ARG(content_length)); in evhttp_maybe_add_content_length_header() 2162 const char *content_length; in evhttp_get_body_length() local 2165 content_length = evhttp_find_header(headers, "Content-Length"); in evhttp_get_body_length() 2168 if (content_length == NULL && connection == NULL) in evhttp_get_body_length() 2170 else if (content_length == NULL && in evhttp_get_body_length() 2173 } else if (content_length == NULL) { in evhttp_get_body_length() 2177 ev_int64_t ntoread = evutil_strtoll(content_length, &endp, 10); in evhttp_get_body_length() 2178 if (*content_length == '\0' || *endp != '\0' || ntoread < 0) { in evhttp_get_body_length() 2180 __func__, content_length)); in evhttp_get_body_length()
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-http.h | 592 lws_filepos_t content_length,
|
/external/python/cpython3/Lib/http/ |
D | client.py | 1283 content_length = self._get_content_length(body, method) 1284 if content_length is None: 1291 self.putheader('Content-Length', str(content_length))
|