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

1 2 3 4 5 6

  /packages/apps/UnifiedEmail/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...]
  /external/okhttp/src/test/java/com/squareup/okhttp/
RequestTest.java 30 Request.Body body = Request.Body.create(contentType, "abc".getBytes(Util.UTF_8)); local
31 assertEquals(contentType, body.contentType());
32 assertEquals(3, body.contentLength());
33 assertEquals("616263", bodyToHex(body));
34 assertEquals("Retransmit body", "616263", bodyToHex(body));
39 Request.Body body = Request.Body.create(contentType, "\u0800") local
47 Request.Body body = Request.Body.create(contentType, "\\u0800"); local
55 Request.Body body = Request.Body.create(contentType, "abc".getBytes(Util.UTF_8)); local
69 Request.Body body = Request.Body.create(contentType, file); local
    [all...]
  /packages/apps/UnifiedEmail/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;
Multipart.java 21 public abstract class Multipart implements Body {
  /packages/apps/UnifiedEmail/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;
44 * Get the text of the body in it's unencoded format.
52 * 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);
84 public Body getBody() throws MessagingException {
89 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());
66 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/okhttp/src/main/java/com/squareup/okhttp/
Request.java 32 * An HTTP request. Instances of this class are immutable if their {@link #body}
42 private final Body body; field in class:Request
49 this.body = builder.body;
89 public Body body() { method in class:Request
90 return body;
97 public abstract static class Body {
99 * Returns the Content-Type header for this body, or null if the conten
    [all...]
Response.java 30 * body is a one-shot value that may be consumed only once. All other properties
40 private final Body body; field in class:Response
47 this.body = builder.body;
100 public Body body() { method in class:Response
101 return body;
106 * null if this response wasn't triggered by an automatic redirect. The body
114 public abstract static class Body {
173 private Body body; field in class:Response.Builder
201 public Builder body(Body body) { method in class:Response.Builder
    [all...]
  /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/chromium_org/third_party/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/chromium_org/third_party/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/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
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 65 const Stmt *Body = D->getBody();
66 if (Body) {
67 IndexCtx.indexBody(Body, D, D);
92 const Stmt *Body = D->getBody();
93 if (Body) {
94 IndexCtx.indexBody(Body, D, D);
312 const Stmt *Body = FD->getBody();
313 if (Body) {
314 IndexCtx.indexBody(Body, D, FD);
  /external/chromium_org/net/server/
http_server_response_info_unittest.cc 24 TEST(HttpServerResponseInfoTest, Body) {
26 ASSERT_EQ(std::string(), response.body());
27 response.SetBody("body", "type");
28 ASSERT_EQ("body", response.body());
  /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...]
  /external/llvm/include/llvm/ExecutionEngine/
JITMemoryManager.h 90 /// thunk for it. The stub should be "close" to the current function body,
112 /// deallocateFunctionBody - Free the specified function body. The argument
116 virtual void deallocateFunctionBody(void *Body) = 0;

Completed in 187 milliseconds

1 2 3 4 5 6