Searched defs:content_length (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium/net/tools/fetch/
H A Dhttp_server_response_info.h31 int content_length; member in class:HttpServerResponseInfo
/external/chromium/chrome/browser/debugger/
H A Ddevtools_remote_message.h50 int content_length() const { function in class:DevToolsRemoteMessage
/external/chromium/chrome/common/
H A Dauto_start_linux.cc48 std::string::size_type content_length = autostart_file_contents.length(); local
50 content_length) !=
51 static_cast<int>(content_length)) {
H A Dautomation_messages.h46 int64 content_length,
55 int64 content_length; member in struct:AutomationURLResponse
/external/chromium/chrome/browser/renderer_host/
H A Ddownload_resource_handler.cc74 set_content_length(response->response_head.content_length);
202 // than numbers), the incoming content_length is -1 (unknown size).
204 void DownloadResourceHandler::set_content_length(const int64& content_length) { argument
206 if (content_length > 0)
207 content_length_ = content_length;
/external/chromium/chrome/browser/sync/glue/
H A Dhttp_bridge.cc164 int content_length,
172 DCHECK_GE(content_length, 0) << "Content length < 0";
174 if (!content || (content_length == 0)) {
175 DCHECK_EQ(content_length, 0);
180 request_content_.assign(content, content_length);
163 SetPostPayload(const char* content_type, int content_length, const char* content) argument
/external/chromium/net/base/
H A Dupload_data.h120 void SetContentLength(uint64 content_length) { argument
122 content_length_ = content_length;
/external/chromium/webkit/glue/media/
H A Dbuffered_resource_loader_unittest.cc125 EXPECT_EQ(instance_size, loader_->content_length());
150 int64 content_length = -1; local
155 content_length = last_position - first_position + 1;
157 response.setExpectedContentLength(content_length);
173 EXPECT_EQ(content_length, loader_->content_length());
H A Dbuffered_resource_loader.cc210 int64 BufferedResourceLoader::content_length() { function in class:webkit_glue::BufferedResourceLoader
/external/v8/src/
H A Ddebug-agent.cc238 int content_length = 0; local
296 content_length = 10 * content_length + (value[i] - '0');
305 if (content_length == 0) {
310 char* buffer = NewArray<char>(content_length + 1);
311 received = ReceiveAll(conn, buffer, content_length);
312 if (received < content_length) {
316 buffer[content_length] = '\0';
/external/bluetooth/glib/gio/win32/
H A Dgwinhttpfile.c478 wchar_t *content_length; local
535 content_length = NULL;
540 &content_length,
546 if (swscanf (content_length, L"%I64d%n", &cl, &n) == 1 &&
547 n == wcslen (content_length))
550 g_free (content_length);
/external/chromium/net/url_request/
H A Durl_request_job.cc282 std::string content_length; local
283 request_->GetResponseHeaderByName("content-length", &content_length);
284 if (!content_length.empty())
285 base::StringToInt64(content_length, &expected_content_size_);
H A Durl_request_unittest.cc964 const size_t content_length = last_byte_position - first_byte_position + 1; local
985 EXPECT_EQ(static_cast<int>(content_length), d.bytes_received());
1008 const size_t content_length = last_byte_position - first_byte_position + 1; local
1028 EXPECT_EQ(static_cast<int>(content_length), d.bytes_received());
/external/chromium/webkit/glue/
H A Dresource_loader_bridge.h142 int64 content_length; member in struct:webkit_glue::ResourceResponseInfo
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
H A Dhttpread.c87 int content_length; /* body length, iff got_content_length */ member in struct:httpread
205 h->content_length = atol(hbp);
434 h->content_length);
488 if (h->got_content_length && h->content_length == 0) {
537 new_alloc_nbytes < (h->content_length + 1))
538 new_alloc_nbytes = h->content_length + 1;
602 h->body_nbytes >= h->content_length) {
626 ncopy = h->content_length - h->body_nbytes;
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dhttpread.c81 int content_length; /* body length, iff got_content_length */ member in struct:httpread
199 h->content_length = atol(hbp);
428 h->content_length);
482 if (h->got_content_length && h->content_length == 0) {
531 new_alloc_nbytes < (h->content_length + 1))
532 new_alloc_nbytes = h->content_length + 1;
596 h->body_nbytes >= h->content_length) {
620 ncopy = h->content_length - h->body_nbytes;
/external/wpa_supplicant_8/src/wps/
H A Dhttpread.c81 int content_length; /* body length, iff got_content_length */ member in struct:httpread
199 h->content_length = atol(hbp);
428 h->content_length);
482 if (h->got_content_length && h->content_length == 0) {
531 new_alloc_nbytes < (h->content_length + 1))
532 new_alloc_nbytes = h->content_length + 1;
596 h->body_nbytes >= h->content_length) {
620 ncopy = h->content_length - h->body_nbytes;
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dhttpread.c81 int content_length; /* body length, iff got_content_length */ member in struct:httpread
199 h->content_length = atol(hbp);
428 h->content_length);
482 if (h->got_content_length && h->content_length == 0) {
531 new_alloc_nbytes < (h->content_length + 1))
532 new_alloc_nbytes = h->content_length + 1;
596 h->body_nbytes >= h->content_length) {
620 ncopy = h->content_length - h->body_nbytes;
/external/chromium/chrome/browser/sync/engine/net/
H A Dserver_connection_manager.h46 // content_length may not be valid.
89 int64 content_length; member in struct:browser_sync::HttpResponse
102 content_length(kUnsetContentLength),
/external/chromium/net/spdy/
H A Dspdy_test_util.cc649 // |content_length| is the size of post data.
653 spdy::SpdyFrame* ConstructSpdyPost(int64 content_length, argument
656 std::string length_str = base::Int64ToString(content_length);
/external/chromium/net/tools/flip_server/
H A Dbalsa_headers.h969 size_t content_length() const { return content_length_; } function in class:net::BalsaHeaders
/external/qemu/proxy/
H A Dproxy_http_rewriter.c623 char* content_length; local
651 content_length = http_request_find_header(r, "Content-Length");
652 if (content_length != NULL) {
654 int64_t body_len = strtoll( content_length, &end, 10 );
655 if (*end != '\0' || *content_length == '\0' || body_len < 0) {
656 PROXY_LOG("%s: bad content length: %s", root->name, content_length);
/external/chromium/net/http/
H A Dhttp_cache_unittest.cc932 std::string content_length = base::StringPrintf("Content-Length: %d\n", local
935 content_length.size(), content_length);
975 int64 content_length = headers->GetContentLength(); local
978 ASSERT_EQ(length, content_length);
/external/chromium/third_party/libevent/
H A Dhttp.c446 long content_length)
451 evutil_snprintf(len, sizeof(len), "%ld", content_length);
1534 const char *content_length; local
1537 content_length = evhttp_find_header(headers, "Content-Length");
1540 if (content_length == NULL && connection == NULL)
1542 else if (content_length == NULL &&
1549 } else if (content_length == NULL) {
1553 ev_int64_t ntoread = evutil_strtoll(content_length, &endp, 10);
1554 if (*content_length == '\0' || *endp != '\0' || ntoread < 0) {
1556 __func__, content_length));
445 evhttp_maybe_add_content_length_header(struct evkeyvalq *headers, long content_length) argument
[all...]
/external/chromium/third_party/libjingle/source/talk/base/
H A Dhttpcommon.cc494 size_t content_length = 0; local
495 if (this->document->GetAvailable(&content_length)) {
497 sprintfn(buffer, sizeof(buffer), "%d", content_length);

Completed in 461 milliseconds

12