HomeSort by relevance Sort by last modified time
    Searched refs:body (Results 1 - 25 of 3368) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/mockwebserver/src/main/java/com/google/mockwebserver/
MockStreamResponse.java 31 private InputStream body; field in class:MockStreamResponse
34 body = new ByteArrayInputStream(new byte[0]);
38 public MockStreamResponse setBody(InputStream body, long bodyLength) {
39 // Release any existing body
40 if (this.body != null) {
41 closeQuietly(this.body);
44 this.body = body;
51 if (body == null) {
56 super.writeResponse(body, out)
    [all...]
MockResponse.java 33 private byte[] body; field in class:MockResponse
36 this.body = new byte[0];
49 public MockResponse setBody(byte[] body) {
50 this.body = body;
51 setHeader(CONTENT_LENGTH, body.length);
55 public MockResponse setBody(String body) {
57 return setBody(body.getBytes(ASCII));
64 return body;
67 public MockResponse setChunkedBody(byte[] body, int maxChunkSize) throws IOException
    [all...]
  /frameworks/base/sax/java/android/sax/
EndTextElementListener.java 25 * Invoked at the end of a text element with the body of the element.
27 * @param body of the element
29 void end(String body);
  /external/smack/src/com/kenai/jbosh/
BOSHMessageEvent.java 36 private final AbstractBody body; field in class:BOSHMessageEvent
42 * @param cBody message body
50 "message body may not be null"));
52 body = cBody;
60 * @param body message body
65 final AbstractBody body) {
66 return new BOSHMessageEvent(source, body);
74 * @param body message body
    [all...]
HTTPSender.java 20 * Interface used to represent code which can send a BOSH XML body over
46 * for the response, and then return the response body.
49 * @param body request body to send
52 HTTPResponse send(CMSessionParams params, AbstractBody body);
  /packages/apps/Email/src/org/apache/james/mime4j/field/
UnstructuredField.java 34 protected UnstructuredField(String name, String body, String raw, String value) {
35 super(name, body, raw);
44 public Field parse(final String name, final String body, final String raw) {
45 final String value = DecoderUtil.decodeEncodedWords(body);
46 return new UnstructuredField(name, body, raw, value);
FieldParser.java 20 Field parse(final String name, final String body, final String raw);
Field.java 60 private final String body; field in class:Field
63 protected Field(final String name, final String body, final String raw) {
65 this.body = body;
101 String body = unfolded.substring(fieldMatcher.end()); local
102 if (body.length() > 0 && body.charAt(0) == ' ') {
103 body = body.substring(1);
106 return parser.parse(name, body, raw);
    [all...]
DateTimeField.java 38 protected DateTimeField(String name, String body, String raw, Date date, ParseException parseException) {
39 super(name, body, raw);
55 public Field parse(final String name, String body, final String raw) {
59 body = LogUtils.cleanUpMimeDate(body);
62 date = DateTime.parse(body).getDate();
66 log.debug("Parsing value '" + body + "': "+ e.getMessage());
70 return new DateTimeField(name, body, raw, date, parseException);
ContentTransferEncodingField.java 54 protected ContentTransferEncodingField(String name, String body, String raw, String encoding) {
55 super(name, body, raw);
83 public Field parse(final String name, final String body, final String raw) {
84 final String encoding = body.trim().toLowerCase();
85 return new ContentTransferEncodingField(name, body, raw, encoding);
  /external/antlr/antlr-3.4/runtime/Perl5/examples/tweak/
T.g 23 : m='method' ID '(' ')' body
27 body
29 // decls is on body's local variable stack but is visible to
30 // any rule that body calls such as stat. From other rules
31 // it is referenced as $body::decls
32 // From within rule body, you can use $decls shorthand
36 $body::decls = [];
41 foreach my $id ($body::decls) {
47 stat: ID '=' expr ';' { $body::decls->add($ID.text); } // track left-hand-sides
  /external/jmonkeyengine/engine/src/bullet-native/
com_jme3_bullet_objects_PhysicsRigidBody.cpp 56 btRigidBody* body = new btRigidBody(mass, motionState, shape, localInertia); local
57 body->setUserPointer(NULL);
58 return reinterpret_cast<jlong>(body);
68 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
69 if (body == NULL) {
74 return body->isInWorld();
84 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
85 if (body == NULL) {
90 // if (body->isStaticOrKinematicObject() || !body->isInWorld()
109 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
134 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
159 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
175 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
191 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
207 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
229 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
245 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
261 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
277 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
293 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
309 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
329 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
349 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
365 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
383 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
399 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
415 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
431 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
447 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
463 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
479 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
495 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
511 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
527 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
545 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
561 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
579 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
599 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
617 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
635 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
655 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
673 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
689 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
706 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
722 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
738 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
754 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
770 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
786 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
802 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
818 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
834 btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId); local
    [all...]
  /external/webkit/LayoutTests/fast/dom/Node/script-tests/
DOMNodeRemovedEvent.js 4 document.body.appendChild(div);
7 document.body.addEventListener("DOMNodeRemoved", function () { count++; }, false);
8 document.body.removeChild(div);
  /external/webkit/Source/WebCore/notifications/
NotificationContents.h 41 NotificationContents(const KURL& iconUrl, const String& title, const String& body)
44 , m_body(body) {}
48 String body() const { return m_body; } function in class:WebCore::NotificationContents
  /external/chromium/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_content/
contentscript.js 8 // Test the text of the body element against our regular expression.
9 if (regex.test(document.body.innerText)) {
  /libcore/support/src/test/java/tests/http/
MockResponse.java 37 private byte[] body = EMPTY_BODY; field in class:MockResponse
92 return body;
95 public MockResponse setBody(byte[] body) {
96 if (this.body == EMPTY_BODY) {
99 this.headers.add("Content-Length: " + body.length);
100 this.body = body;
104 public MockResponse setBody(String body) {
106 return setBody(body.getBytes(ASCII));
112 public MockResponse setChunkedBody(byte[] body, int maxChunkSize) throws IOException
    [all...]
RecordedRequest.java 29 private final byte[] body; field in class:RecordedRequest
33 int bodySize, byte[] body, int sequenceNumber) {
38 this.body = body;
51 * Returns the sizes of the chunks of this request's body, or an empty list
52 * if the request's body was empty or unchunked.
59 * Returns the total size of the body of this POST request (before
67 * Returns the body of this POST request. This may be truncated.
70 return body;
  /external/webkit/Source/WebKit/qt/tests/qwebelement/
tst_qwebelement.cpp 104 QString html = "<head></head><body><p>test</p></body>";
106 QWebElement body = m_mainFrame->documentElement(); local
107 QVERIFY(!body.isNull());
109 QCOMPARE(body.toPlainText(), QString("test"));
110 QCOMPARE(body.toPlainText(), m_mainFrame->toPlainText());
112 QCOMPARE(body.toInnerXml(), html);
117 QString html = "<body><p>first para</p><p>second para</p></body>";
119 QWebElement body = m_mainFrame->documentElement() local
130 QWebElement body = m_mainFrame->documentElement(); local
196 QWebElement body = m_mainFrame->documentElement(); local
266 QWebElement body = m_mainFrame->documentElement(); local
281 QWebElement body = m_mainFrame->documentElement(); local
316 QWebElement body = m_mainFrame->documentElement(); local
332 QWebElement body = m_mainFrame->documentElement(); local
347 QWebElement body = m_mainFrame->documentElement(); local
367 QWebElement body = m_mainFrame->documentElement(); local
620 QWebElement body = m_mainFrame->documentElement().findFirst("body"); local
661 QWebElement body = m_mainFrame->documentElement().findFirst("body"); local
704 QWebElement body = m_mainFrame->documentElement().findFirst("body"); local
737 QWebElement body = m_mainFrame->documentElement().findFirst("body"); local
762 QWebElement body = m_mainFrame->documentElement().findFirst("body"); local
798 QWebElement body = m_mainFrame->documentElement().findFirst("body"); local
847 QWebElement body = m_mainFrame->documentElement().findFirst("body"); local
893 QWebElement body = m_mainFrame->findFirstElement("body"); local
908 QWebElement body = m_mainFrame->findFirstElement("body"); local
    [all...]
  /external/oauth/core/src/main/java/net/oauth/http/
HttpMessageDecoder.java 34 * @return a decorator that decodes the body of the given message; or the
71 InputStream body = in.getBody(); local
72 if (body != null) {
74 body = new GZIPInputStream(body);
76 body = new InflaterInputStream(body);
81 this.body = body;
  /external/webkit/Source/WebCore/manual-tests/inspector/resources/
script-error.js 1 var test = document.body;
  /external/webkit/Source/WebKit/mac/Misc/
MailQuirksUserScript.js 40 // If html or body is missing, Mail.app's assumption that
41 // document.firstChild.firstChild == document.body is wrong anyway,
43 if (!document.documentElement || !document.body)
47 children = children.concat(childrenBefore(document.documentElement, document.body));
51 // It's not possible to move doctype nodes into the body, so just remove them.
55 document.body.insertBefore(child, document.body.firstChild);
OutlookQuirksUserScript.js 27 // <html><head></head><body></body></html>
28 if (document.documentElement.outerHTML != "<html><head></head><body></body></html>")
32 // element. It will explicitly insert a BODY node.
34 document.documentElement.removeChild(document.body);
  /frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DrmReceiver.java 37 byte[] body;
40 body = intent.getByteArrayExtra("data");
45 Log.d(LOG_TAG, "body:");
46 Log.d(LOG_TAG, HexDump.dumpHexString(body));
48 DataVerify.SetLastReceivedPdu(body);
ReceiverActivity.java 38 byte[] body;
41 body = in.getByteArrayExtra("data");
46 Log.d(LOG_TAG, "body:");
47 Log.d(LOG_TAG, HexDump.dumpHexString(body));
49 DataVerify.SetLastReceivedPdu(body);
ReceiverService.java 48 byte[] body;
50 body = intent.getByteArrayExtra("data");
55 Log.d(LOG_TAG, "body:");
56 Log.d(LOG_TAG, HexDump.dumpHexString(body));
58 DataVerify.SetLastReceivedPdu(body);

Completed in 668 milliseconds

1 2 3 4 5 6 7 8 91011>>