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

1 2 3 4 5 6 7 8 91011>>

  /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);
  /packages/apps/Email/emailcommon/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 37 protected DateTimeField(String name, String body, String raw, Date date, ParseException parseException) {
38 super(name, body, raw);
54 public Field parse(final String name, String body, final String raw) {
58 body = Utility.cleanUpMimeDate(body);
61 date = DateTime.parse(body).getDate();
65 log.debug("Parsing value '" + body + "': "+ e.getMessage());
69 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/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)) {
  /external/dbus/dbus/
dbus-marshal-byteswap-util.c 36 DBusString body; local
39 if (!_dbus_string_init (&signature) || !_dbus_string_init (&body))
47 &signature, &body))
56 if (!_dbus_string_copy (&body, 0, &copy, 0))
65 &body, 0);
73 _dbus_verbose_bytes_of_string (&body, 0,
74 _dbus_string_get_length (&body));
85 _dbus_string_set_length (&body, 0);
90 _dbus_string_free (&body);
  /external/mockwebserver/src/main/java/com/google/mockwebserver/
MockResponse.java 36 private byte[] body = EMPTY_BODY; field in class:MockResponse
91 return body;
94 public MockResponse setBody(byte[] body) {
95 if (this.body == EMPTY_BODY) {
98 this.headers.add("Content-Length: " + body.length);
99 this.body = body;
103 public MockResponse setBody(String body) {
105 return setBody(body.getBytes(ASCII));
111 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;
  /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...]
  /packages/providers/DownloadProvider/tests/src/tests/http/
MockResponse.java 37 private byte[] body = EMPTY_BODY; field in class:MockResponse
86 return body;
89 public MockResponse setBody(byte[] body) {
90 addHeader("Content-Length", body.length);
91 this.body = body;
95 public MockResponse setBody(String body) {
97 return setBody(body.getBytes(ASCII));
103 public MockResponse setChunkedBody(byte[] body, int maxChunkSize) throws IOException {
108 while (pos < body.length)
    [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/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/core/tests/utillib/src/coretestutils/http/
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;
MockResponse.java 45 private byte[] body = EMPTY_BODY; field in class:MockResponse
94 * Returns true if the body should come from an external file, false otherwise.
111 return new ByteArrayInputStream(this.body);
114 public MockResponse setBody(File body) {
115 addHeader("Content-Length", body.length());
116 this.bodyExternalFile = body;
120 public MockResponse setBody(byte[] body) {
121 addHeader("Content-Length", body.length);
122 this.body = body;
    [all...]
  /external/clang/lib/ARCMigrate/
TransUnusedInitDelegate.cpp 34 Stmt *Body;
41 : Body(0), Pass(pass) { }
43 void transformBody(Stmt *body) {
44 Body = body;
45 collectRemovables(body, Removables);
46 TraverseStmt(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);

Completed in 658 milliseconds

1 2 3 4 5 6 7 8 91011>>