/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/UnifiedEmail/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/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
RequestTest.java | 36 RequestBody body = RequestBody.create(contentType, "abc".getBytes(Util.UTF_8)); local 37 assertEquals(contentType, body.contentType()); 38 assertEquals(3, body.contentLength()); 39 assertEquals("616263", bodyToHex(body)); 40 assertEquals("Retransmit body", "616263", bodyToHex(body)); 45 RequestBody body = RequestBody.create(contentType, "\u0800"); local 46 assertEquals(MediaType.parse("text/plain; charset=utf-8"), body.contentType()); 47 assertEquals(3, body.contentLength()); 48 assertEquals("e0a080", bodyToHex(body)); 53 RequestBody body = RequestBody.create(contentType, "\\u0800"); local 61 RequestBody body = RequestBody.create(contentType, "abc".getBytes(Util.UTF_8)); local 70 RequestBody body = RequestBody.create(contentType, ".abcd".getBytes(Util.UTF_8), 1, 3); local 84 RequestBody body = RequestBody.create(contentType, file); local 94 RequestBody body = RequestBody.create(contentType, "{}"); local [all...] |
/external/okhttp/okcurl/src/test/java/com/squareup/okhttp/curl/ |
MainTest.java | 33 assertNull(request.body()); 40 assertEquals(3, request.body().contentLength()); 45 RequestBody body = request.body(); local 48 assertEquals("application/x-www-form-urlencoded; charset=utf-8", body.contentType().toString()); 49 assertEquals("foo", bodyAsString(body)); 54 RequestBody body = request.body(); local 57 assertEquals("application/x-www-form-urlencoded; charset=utf-8", body.contentType().toString()); 58 assertEquals("foo", bodyAsString(body)); 64 RequestBody body = request.body(); local [all...] |
/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/wpa_supplicant_8/hs20/server/www/ |
remediation.php | 5 <body> 17 </body>
|
free.php | 5 <body> 22 </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/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;
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ia64/ |
unwind-ok.s | 29 .body 115 .body; .prologue; .body; .prologue; .body; .prologue; .body; .prologue 116 .body; .prologue; .body; .prologue; .body; .prologue; .body; .prologue 117 .body; .prologue; .body; .prologue; .body; .prologue; .body; .prologu [all...] |
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
MockResponse.java | 40 /** The response body content, or null if {@code bodyStream} is set. */ 41 private byte[] body; field in class:MockResponse 42 /** The response body content, or null if {@code body} is set. */ 54 * Creates a new mock response with an empty body. 147 return body; 154 return bodyStream != null ? bodyStream : new ByteArrayInputStream(body); 157 public MockResponse setBody(byte[] body) { 158 setHeader("Content-Length", body.length); 159 this.body = body [all...] |
/external/conscrypt/testing/src/main/java/libcore/tlswire/handshake/ |
HandshakeMessage.java | 30 public byte[] body; field in class:HandshakeMessage 47 result.body = new byte[bodyLength]; 48 in.readFully(result.body); 49 result.parseBody(new DataInputStream(new ByteArrayInputStream(result.body))); 53 * Parses the provided body. The default implementation does nothing.
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
CacheRequest.java | 22 Sink body() throws IOException; method in interface:CacheRequest
|
/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);
|
/libcore/support/src/test/java/libcore/tlswire/handshake/ |
HandshakeMessage.java | 32 public byte[] body; field in class:HandshakeMessage 50 result.body = new byte[bodyLength]; 51 in.readFully(result.body); 52 result.parseBody(new DataInputStream(new ByteArrayInputStream(result.body))); 57 * Parses the provided body. The default implementation does nothing.
|
/frameworks/native/libs/input/ |
InputTransport.cpp | 78 return body.motion.pointerCount > 0 79 && body.motion.pointerCount <= MAX_POINTERS; 90 return sizeof(Header) + body.key.size(); 92 return sizeof(Header) + body.motion.size(); 94 return sizeof(Header) + body.finished.size(); 270 msg.body.key.seq = seq; 271 msg.body.key.deviceId = deviceId; 272 msg.body.key.source = source; 273 msg.body.key.action = action; 274 msg.body.key.flags = flags [all...] |
/external/skia/src/sksl/ir/ |
SkSLFunctionDefinition.h | 22 std::unique_ptr<Statement> body) 25 , fBody(std::move(body)) {}
|
/art/tools/checker/file_format/c1visualizer/ |
struct.py | 40 def __init__(self, parent, name, body, startLineNo): 43 self.body = body 48 if not self.body: 49 Logger.fail("C1visualizer pass does not have a body", self.fileName, self.startLineNo) 60 and self.body == other.body
|