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

1 2 3 4 5

  /packages/apps/Email/src/org/apache/james/mime4j/message/
AbstractBody.java 24 * Abstract <code>Body</code> implementation providing the parent
30 public abstract class AbstractBody implements Body {
34 * @see org.apache.james.mime4j.message.Body#getParent()
41 * @see org.apache.james.mime4j.message.Body#setParent(org.apache.james.mime4j.message.Entity)
BinaryBody.java 32 public interface BinaryBody extends Body {
36 * body.
TextBody.java 27 * Encapsulates the contents of a <code>text/*</code> entity body.
32 public interface TextBody extends Body {
36 * of this body.
Body.java 26 * Encapsulates the body of an entity (see RFC 2045).
29 * @version $Id: Body.java,v 1.4 2004/10/04 15:36:43 ntherning Exp $
31 public interface Body {
34 * Gets the parent of this body.
41 * Sets the parent of this body.
48 * Writes this body to the given stream in MIME message format.
Entity.java 30 * MIME entity. An entity has a header and a body (see RFC 2045).
37 private Body body = null; field in class:Entity
79 * Gets the body of this entity.
81 * @return the body,
83 public Body getBody() {
84 return body;
88 * Sets the body of this entity.
90 * @param body the body.
    [all...]
Message.java 49 public class Message extends Entity implements Body {
89 Body body = getBody(); local
90 if (body instanceof Multipart) {
91 Multipart mp = (Multipart) body;
94 body.writeTo(out);
173 * @see org.apache.james.mime4j.ContentHandler#body(org.apache.james.mime4j.BodyDescriptor, java.io.InputStream)
175 public void body(BodyDescriptor bd, InputStream is) throws IOException { method in class:Message.MessageBuilder
185 Body body = null; local
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/
Body.java 23 public interface Body {
Part.java 29 public Body getBody() throws MessagingException;
49 public void setBody(Body body) throws MessagingException;
Message.java 22 public abstract class Message implements Part, Body {
86 public abstract Body getBody() throws MessagingException;
102 public abstract void setBody(Body body) throws MessagingException;
Multipart.java 21 public abstract class Multipart implements Body {
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
TextBody.java 19 import com.android.emailcommon.mail.Body;
30 public class TextBody implements Body {
33 public TextBody(String body) {
34 this.mBody = body;
43 * Get the text of the body in it's unencoded format.
51 * Returns an InputStream that reads this body's text in UTF-8 format.
MimeBodyPart.java 19 import com.android.emailcommon.mail.Body;
36 protected Body mBody;
48 public MimeBodyPart(Body body) throws MessagingException {
49 this(body, null);
52 public MimeBodyPart(Body body, String mimeType) throws MessagingException {
56 setBody(body);
79 public Body getBody() throws MessagingException {
83 public void setBody(Body body) throws MessagingException
    [all...]
BinaryTempFileBody.java 20 import com.android.emailcommon.mail.Body;
37 * A Body that is backed by a temp file. The Body exposes a getOutputStream method that allows
38 * the user to write to the temp file. After the write the body is available via getInputStream
40 * getInputStream is closed the file is deleted and the Body should be considered disposed of.
42 public class BinaryTempFileBody implements Body {
55 mFile = File.createTempFile("body", null, TempDirectory.getTempDirectory());
65 throw new MessagingException("Unable to open body", ioe);
  /external/clang/lib/ARCMigrate/
TransUnusedInitDelegate.cpp 35 Stmt *Body;
42 : Body(0), Pass(pass) { }
44 void transformBody(Stmt *body, Decl *ParentD) {
45 Body = body;
46 collectRemovables(body, Removables);
47 TraverseStmt(body);
  /external/smack/src/org/jivesoftware/smack/packet/
Message.java 45 * <tr><td><i>body</i></td> <td>SHOULD</td><td>SHOULD</td><td>SHOULD</td><td>SHOULD</td><td>SHOULD NOT</td></tr>
58 private final Set<Body> bodies = new HashSet<Body>();
228 * Returns the default body of the message, or null if the body has not been set. The body
231 * The default body of a message is the body that corresponds to the message's language.
235 * @return the body of the message.
242 * Returns the body corresponding to the language. If the language is null, the method resul
251 Body body = getMessageBody(language); local
    [all...]
  /external/clang/lib/Tooling/
RefactoringCallbacks.cpp 69 const Stmt *Body = PickTrueBranch ? Node->getThen() : Node->getElse();
70 if (Body) {
71 Replace.insert(replaceStmtWithStmt(*Result.SourceManager, *Node, *Body));
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
access-nbody.js 9 function Body(x,y,z,vx,vy,vz,mass){
19 Body.prototype.offsetMomentum = function(px,py,pz) {
27 return new Body(
39 return new Body(
51 return new Body(
63 return new Body(
75 return new Body(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, SOLAR_MASS);
121 var body = this.bodies[i];
122 body.x += dt * body.vx
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
access-nbody.js 9 function Body(x,y,z,vx,vy,vz,mass){
19 Body.prototype.offsetMomentum = function(px,py,pz) {
27 return new Body(
39 return new Body(
51 return new Body(
63 return new Body(
75 return new Body(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, SOLAR_MASS);
121 var body = this.bodies[i];
122 body.x += dt * body.vx
    [all...]
  /external/clang/include/clang/AST/
StmtObjC.h 25 enum { ELEM, COLLECTION, BODY, END_EXPR };
30 ObjCForCollectionStmt(Stmt *Elem, Expr *Collect, Stmt *Body,
39 Stmt *getBody() { return SubExprs[BODY]; }
45 const Stmt *getBody() const { return SubExprs[BODY]; }
51 void setBody(Stmt *S) { SubExprs[BODY] = S; }
60 return SubExprs[BODY]->getLocEnd();
77 Stmt *Body;
85 Body(atCatchStmt), AtCatchLoc(atCatchLoc), RParenLoc(rparenloc) { }
90 const Stmt *getCatchBody() const { return Body; }
91 Stmt *getCatchBody() { return Body; }
    [all...]
  /external/clang/tools/libclang/
IndexDecl.cpp 56 const Stmt *Body = D->getBody();
57 if (Body) {
58 IndexCtx.indexBody(Body, D, D);
83 const Stmt *Body = D->getBody();
84 if (Body) {
85 IndexCtx.indexBody(Body, D, D);
296 const Stmt *Body = FD->getBody();
297 if (Body) {
298 IndexCtx.indexBody(Body, D, FD);
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
EmailContent.java 259 // Foreign key to the message corresponding to this body
265 // Replied-to or forwarded body (in html form)
267 // Replied-to or forwarded body (in text form)
279 public static final class Body extends EmailContent implements BodyColumns {
280 public static final String TABLE_NAME = "Body";
283 public static final Uri CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/body");
339 public Body() {
359 * Given a cursor, restore a Body from it
361 * @return the Body as restored from the cursor
363 private static Body restoreBodyWithCursor(Cursor cursor)
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
VirtualCallChecker.cpp 41 // body has not been visited yet.
43 // body has been visited.
46 worklist, but the body has not yet been
49 worklist, and the body has been visited. */
55 /// The CallExpr whose body is currently being visited. This is used for
56 /// generating bug reports. This is null while visiting the body of a
94 // If the callee is PreVisited, walk its body.
95 // Visit the body.
100 // scanned the body.
171 // Name of the CallExpr whose body is current walking
    [all...]
  /frameworks/compile/slang/
slang_rs_check_ast.cpp 70 if (clang::Stmt *Body = FD->getBody()) {
71 Visit(Body);
163 } else if (clang::Stmt *Body = (*DI)->getBody()) {
164 Visit(Body);
  /external/clang/test/CXX/special/class.ctor/
p5-0x.cpp 152 #define ASSERT_NONTRIVIAL_IMPL(Class, Bases, Body) \
153 class Class Bases { Body }; \
155 #define ASSERT_NONTRIVIAL(Class, Bases, Body) \
156 ASSERT_NONTRIVIAL_IMPL(Class, Bases, Body) \
157 ASSERT_NONTRIVIAL_IMPL(Def ## Class, Bases, Def ## Class() = default; Body) \
158 ASSERT_NONTRIVIAL_IMPL(Del ## Class, Bases, Del ## Class() = delete; Body)
  /packages/apps/Email/tests/src/com/android/emailcommon/internet/
Rfc822OutputTests.java 25 import com.android.emailcommon.provider.EmailContent.Body;
55 private static final String REPLY_TEXT_BODY = "This is the body. This is also the body.";
56 /** HTML reply body */
58 "<a href=\"m.google.com\">This</a> is the body.<br>This is also the body.";
59 /** Text-only version of the HTML reply body */
61 ">This is the body.\n>This is also the body.";
66 + "<body bgcolor=\"#ffffff\" text=\"#000000\">
116 Body body = Body.restoreBodyWithMessageId(mMockContext, message.mId); local
210 Body body = createTestBody(msg); local
350 Body body = createTestBody(message); local
    [all...]

Completed in 312 milliseconds

1 2 3 4 5