Home
last modified time | relevance | path

Searched refs:body_length (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/renderer/extensions/
Duser_script_slave.cc185 int body_length = 0; in UpdateScripts() local
186 CHECK(pickle.ReadData(&iter, &body, &body_length)); in UpdateScripts()
188 base::StringPiece(body, body_length)); in UpdateScripts()
192 int body_length = 0; in UpdateScripts() local
193 CHECK(pickle.ReadData(&iter, &body, &body_length)); in UpdateScripts()
195 base::StringPiece(body, body_length)); in UpdateScripts()
/external/qemu/proxy/
Dproxy_http_rewriter.c353 int64_t body_length; member
627 conn->body_length = 0; in rewrite_connection_get_body_length()
661 conn->body_length = body_len; in rewrite_connection_get_body_length()
693 root->name, conn->body_length, in rewrite_connection_get_body_length()
722 if (conn->body_length == 0) in rewrite_connection_read_body()
725 if (conn->body_length > MAX_BODY_BUFFER) in rewrite_connection_read_body()
728 wanted = (int)conn->body_length; in rewrite_connection_read_body()
877 conn->body_length -= avail; in rewrite_connection_read_body()
880 if (conn->body_length == 0) { in rewrite_connection_read_body()
/external/chromium_org/chrome/browser/devtools/adb/
Dandroid_usb_device.cc384 size_t body_length = message->body.length() + (append_zero ? 1 : 0); in Queue() local
385 header.push_back(body_length); in Queue()
394 scoped_refptr<net::IOBuffer> body_buffer = new net::IOBuffer(body_length); in Queue()
397 body_buffer->data()[body_length - 1] = 0; in Queue()
398 outgoing_queue_.push(std::make_pair(body_buffer, body_length)); in Queue()
399 if (zero_mask_ && (body_length & zero_mask_) == 0) { in Queue()
/external/chromium_org/chrome/utility/media_galleries/
Dpmp_column_reader.cc150 int64 body_length = length_ - kPmpHeaderSize; in ParseData() local
173 return body_length == expected_body_length; in ParseData()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_web.c316 int body_length; in web_connection_parse_get() local
404 body_length = (char *) wpabuf_put(buf, 0) - body_start; in web_connection_parse_get()
405 os_snprintf(len_buf, 10, "%d", body_length); in web_connection_parse_get()
779 int body_length = (char *) wpabuf_put(buf, 0) - body_start; in web_connection_send_reply() local
781 os_snprintf(len_buf, sizeof(len_buf), "%d", body_length); in web_connection_send_reply()
/external/chromium_org/net/tools/balsa/
Dbalsa_frame_test.cc225 size_t body_length = 0; in TEST_F() local
250 .WillOnce(DoAll(SaveArg<0>(&body), SaveArg<1>(&body_length))); in TEST_F()
275 ASSERT_EQ("hello, world\r\n", StringPiece(body, body_length)); in TEST_F()