Searched defs:body (Results 76 - 100 of 298) sorted by relevance

1234567891011>>

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DDERObjectIdentifier.java17 private byte[] body; field in class:DERObjectIdentifier
172 this.body = Arrays.clone(bytes);
283 if (body == null)
289 body = bOut.toByteArray();
292 return body;
/external/chromium_org/chrome/browser/extensions/api/web_request/
H A Dweb_request_apitest.cc210 std::string body; local
214 "window.domAutomationController.send(document.body.textContent)",
215 &body));
216 EXPECT_EQ(expected_content_regular_window, body);
231 body.clear();
235 "window.domAutomationController.send(document.body.textContent)",
236 &body));
237 EXPECT_EQ(exptected_content_incognito_window, body);
/external/chromium_org/chrome/browser/extensions/
H A Dntp_overridden_bubble_controller.cc120 base::string16 body = local
122 body += l10n_util::GetStringUTF16(
124 return body;
/external/chromium_org/chrome/browser/ui/webui/
H A Dnet_export_ui.cc227 std::string body = local
232 base::UTF8ToUTF16(body), base::UTF8ToUTF16(title),
/external/chromium_org/components/component_updater/test/
H A Durl_request_post_interceptor.h50 // Intercepts requests to a file path, counts them, and captures the body of
67 // Sets an expection for the body of the POST request and optionally,
70 // response body is served. If |response_code| is provided, then an empty
71 // response body with that response code is returned.
103 ExpectationResponse(int code, const std::string& body) argument
104 : response_code(code), response_body(body) {}
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_provider_host.cc150 scoped_refptr<ResourceRequestBody> body) {
160 context_, AsWeakPtr(), blob_storage_context, resource_type, body));
147 CreateRequestHandler( ResourceType resource_type, base::WeakPtr<storage::BlobStorageContext> blob_storage_context, scoped_refptr<ResourceRequestBody> body) argument
/external/chromium_org/content/renderer/accessibility/
H A Drenderer_accessibility_browsertest.cc93 "<body>"
100 "</body>";
233 "<body>"
238 "</body>";
305 "<body>"
307 "</body>";
357 "<body>"
364 "</body>";
409 "<body>"
416 "</body>";
479 WebAXObject body = root_obj.childAt(0); local
[all...]
/external/chromium_org/extensions/renderer/
H A Duser_script_set.cc125 const char* body = NULL; local
127 CHECK(pickle.ReadData(&iter, &body, &body_length));
129 base::StringPiece(body, body_length));
132 const char* body = NULL; local
134 CHECK(pickle.ReadData(&iter, &body, &body_length));
136 base::StringPiece(body, body_length));
/external/chromium_org/google_apis/gaia/
H A Doauth2_access_token_fetcher_impl_unittest.cc97 const std::string& body) {
107 if (!body.empty())
108 url_fetcher->SetResponseString(body);
151 std::string body = local
156 EXPECT_EQ(body,
162 std::string body = local
170 EXPECT_EQ(body,
176 std::string body = local
188 EXPECT_EQ(body,
201 { // No body
95 SetupGetAccessToken(bool fetch_succeeds, int response_code, const std::string& body) argument
[all...]
H A Doauth2_mint_token_flow_unittest.cc186 std::string body = flow_->CreateApiCallBody(); local
193 EXPECT_EQ(expected_body, body);
197 std::string body = flow_->CreateApiCallBody(); local
204 EXPECT_EQ(expected_body, body);
208 std::string body = flow_->CreateApiCallBody(); local
215 EXPECT_EQ(expected_body, body);
219 std::string body = flow_->CreateApiCallBody(); local
226 EXPECT_EQ(expected_body, body);
280 { // No body.
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
H A Dfake_pepper_interface_url_loader.h20 explicit FakeURLLoaderEntity(const std::string& body);
23 const std::string& body() const { return body_; } function in class:FakeURLLoaderEntity
40 const std::string& body,
43 const std::string& body,
49 const std::string& body,
/external/chromium_org/net/quic/
H A Dquic_data_stream_test.cc134 string body = "this is the body"; local
139 QuicStreamFrame frame(kClientDataStreamId1, false, 0, MakeIOVector(body));
142 EXPECT_EQ(headers + body, stream_->data());
147 string body = "this is the body"; local
149 for (size_t fragment_size = 1; fragment_size < body.size();
160 for (size_t offset = 0; offset < body.size(); offset += fragment_size) {
161 size_t remaining_data = body.size() - offset;
162 StringPiece fragment(body
175 string body = "this is the body"; local
207 string body = "this is the body"; local
234 string body = "this is the body"; local
258 string body = "this is the body"; local
299 string body; local
343 string body; local
386 string body; local
446 string body; local
489 string body; local
523 string body; local
548 string body = ""; local
[all...]
H A Dquic_in_memory_cache.cc50 StringPiece body) {
58 base::Uint64ToString(static_cast<uint64>(body.length()));
63 AddResponse(url, response_headers, body);
167 StringPiece body(file_contents.data() + headers_end,
170 AddResponse(url, response_headers, body);
46 AddSimpleResponse(StringPiece path, StringPiece version, StringPiece response_code, StringPiece response_detail, StringPiece body) argument
/external/chromium_org/net/tools/balsa/
H A Dbalsa_frame_test.cc224 const char* body = NULL; local
250 .WillOnce(DoAll(SaveArg<0>(&body), SaveArg<1>(&body_length)));
275 ASSERT_EQ("hello, world\r\n", StringPiece(body, body_length));
/external/chromium_org/net/tools/flip_server/
H A Dhttp_interface_test.cc272 std::string body = "e\r\npage not found\r\n"; local
283 ASSERT_EQ(body, StringPiece(df->data, df->size));
293 std::string body = "e\r\npage not found\r\n"; local
314 ASSERT_EQ(body, StringPiece(df->data, df->size));
H A Dmem_cache.h59 std::string body; member in class:net::StoreBodyAndHeadersVisitor
68 const std::string& body);
75 const std::string& body() { return body_; } function in class:net::FileData
136 const std::string& body);
/external/chromium_org/net/tools/quic/
H A Dquic_spdy_client_stream.cc78 StringPiece body,
83 bool send_fin_with_headers = fin && body.empty();
84 size_t bytes_sent = body.size();
89 if (!body.empty()) {
90 WriteOrBufferData(body, fin, NULL);
121 // Sends body data to the server and returns the number of bytes sent.
77 SendRequest(const BalsaHeaders& headers, StringPiece body, bool fin) argument
H A Dquic_spdy_server_stream_test.cc60 static const string& body(QuicSpdyServerStream* stream) { function in class:net::tools::test::QuicSpdyServerStreamPeer
104 StringPiece body("Yum");
113 base::IntToString(body.length()));
123 CHECK_EQ(cached_response->body(), body);
127 cache->AddResponse(request_headers, response_headers, body);
131 return QuicSpdyServerStreamPeer::body(stream_.get());
190 // We'll automatically write out an error (headers + body)
/external/chromium_org/net/tools/quic/test_tools/
H A Dhttp_message.cc53 // - Content-Length header is present and matches the message body length.
64 return (message.body().size() == (uint)parsed_content_length);
139 void HTTPMessage::AddBody(const string& body, bool add_content_length) { argument
140 body_ = body;
141 // Remove any transfer-encoding that was left by a previous body.
144 ReplaceHeader(kContentLength, base::IntToString(body.size()));
H A Dhttp_message.h44 // Stripped down wrapper class which basically contains headers and a body.
67 const std::string& body() const { return body_; } function in class:net::tools::test::HTTPMessage
78 // Adds a body and the optional content-length header field (omitted to test
83 void AddBody(const std::string& body, bool add_content_length);
100 // Allow direct access to the body string. This should be used with caution:
102 void set_body(const std::string& body) { body_ = body; } argument
110 std::string body_; // the body with chunked framing/gzip compression
/external/chromium_org/ppapi/shared_impl/
H A Durl_request_info_data.h84 std::vector<BodyItem> body; member in struct:ppapi::URLRequestInfoData
/external/chromium_org/third_party/WebKit/Source/core/xml/parser/
H A DXMLErrors.cpp128 RefPtrWillBeRawPtr<Element> body = m_document->createElement(bodyTag, true); local
129 rootElement->parserAppendChild(body);
131 documentElement = body.get();
137 style->parserAppendChild(m_document->createTextNode("html, body { height: 100% } parsererror + svg { width: 100%; height: 100% }"));
140 RefPtrWillBeRawPtr<Element> body = m_document->createElement(bodyTag, true); local
141 rootElement->parserAppendChild(body);
145 body->parserAppendChild(documentElement);
148 documentElement = body.get();
/external/chromium_org/third_party/WebKit/Source/modules/notifications/
H A DNotification.h74 String body() const { return m_body; } function in class:blink::Notification
106 void setBody(const String& body) { m_body = body; } argument
/external/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp92 for (auto *I : S->body())
169 for (auto *I : S->body())
188 static bool isBodyEmpty(CompoundStmt *body, ASTContext &Ctx, argument
190 for (auto *I : body->body())
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_md5.cc42 static void *body(MD5_CTX *ctx, void *data, ulong_t size) { function in namespace:__tsan
176 body(ctx, ctx->buffer, 64);
180 data = body(ctx, data, size & ~(ulong_t)0x3f);
198 body(ctx, ctx->buffer, 64);
215 body(ctx, ctx->buffer, 64);

Completed in 8255 milliseconds

1234567891011>>