/external/webkit/WebKitTools/DumpRenderTree/cairo/ |
PixelDumpSupportCairo.h | 49 static PassRefPtr<BitmapContext> createByAdoptingBitmapAndContext(PlatformBitmapBuffer buffer, cairo_t* context) 51 return adoptRef(new BitmapContext(buffer, context)); 69 BitmapContext(PlatformBitmapBuffer buffer, cairo_t* context) 70 : m_buffer(buffer)
|
/external/webkit/WebKitTools/DumpRenderTree/cg/ |
PixelDumpSupportCG.h | 52 static PassRefPtr<BitmapContext> createByAdoptingBitmapAndContext(PlatformBitmapBuffer buffer, CGContextRef context) 54 return adoptRef(new BitmapContext(buffer, context)); 71 BitmapContext(PlatformBitmapBuffer buffer, CGContextRef context) 72 : m_buffer(buffer)
|
/frameworks/base/core/java/com/google/android/mms/pdu/ |
QuotedPrintable.java | 43 ByteArrayOutputStream buffer = new ByteArrayOutputStream(); local 58 buffer.write((char) ((u << 4) + l)); 63 buffer.write(b); 66 return buffer.toByteArray();
|
/libcore/luni/src/main/java/java/nio/channels/ |
ReadableByteChannel.java | 34 * Reads bytes from the channel into the given buffer. 37 * {@link java.nio.Buffer#remaining() remaining} number of bytes in the 38 * buffer when the method is invoked. The bytes will be read into the buffer 39 * starting at the buffer's current 40 * {@link java.nio.Buffer#position() position}. 45 * Upon completion, the buffer's {@code position} is updated to the end of 46 * the bytes that were read. The buffer's 47 * {@link java.nio.Buffer#limit() limit} is not changed. 49 * @param buffer [all...] |
WritableByteChannel.java | 34 * Writes bytes from the given buffer to the channel. 37 * <code>remaining()</code> number of bytes in the buffer when the method 38 * invoked. The bytes will be written from the buffer starting at the 39 * buffer's <code>position</code>. 44 * Upon completion, the buffer's <code>position()</code> is updated to the 45 * end of the bytes that were written. The buffer's <code>limit()</code> 48 * @param buffer 49 * the byte buffer containing the bytes to be written. 63 public int write(ByteBuffer buffer) throws IOException;
|
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/ |
UnknownLengthHttpInputStream.java | 34 @Override public int read(byte[] buffer, int offset, int count) throws IOException { 35 checkBounds(buffer, offset, count); 40 int read = in.read(buffer, offset, count); 46 cacheWrite(buffer, offset, read);
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
AlternativeName.java | 88 public void dumpValue(StringBuffer buffer, String prefix) { 89 buffer.append(prefix).append((which) ? "Subject" : "Issuer") 91 alternativeNames.dumpValue(buffer, prefix + " "); 92 buffer.append(prefix).append("]\n");
|
KeyUsage.java | 100 public void dumpValue(StringBuffer buffer, String prefix) { 101 buffer.append(prefix).append("KeyUsage [\n"); 104 buffer.append(prefix).append(" ") 108 buffer.append(prefix).append("]\n");
|
SubjectKeyIdentifier.java | 76 public void dumpValue(StringBuffer buffer, String prefix) { 77 buffer.append(prefix).append("SubjectKeyIdentifier: [\n"); 78 buffer.append(Array.toString(keyIdentifier, prefix)); 79 buffer.append(prefix).append("]\n");
|
/system/core/nexus/ |
LoopController.h | 30 const char *get(const char *name, char *buffer, size_t maxsize);
|
SupplicantState.h | 33 static char *toString(int val, char *buffer, int max);
|
/system/core/toolbox/ |
dmesg.c | 13 char buffer[KLOG_BUF_LEN + 1]; local 14 char *p = buffer; 24 n = klogctl(op, buffer, KLOG_BUF_LEN); 29 buffer[n] = '\0';
|
/external/bluetooth/glib/tests/ |
unicode-caseconv.c | 13 char buffer[1024]; local 35 while (fgets (buffer, sizeof(buffer), infile)) 37 if (buffer[0] == '#') 40 strings = g_strsplit (buffer, "\t", -1); 106 while (fgets (buffer, sizeof(buffer), infile)) 108 if (buffer[0] == '#') 111 buffer[strlen(buffer) - 1] = '\0' [all...] |
/external/chromium/third_party/icu/source/io/ |
ustream.cpp | 43 char buffer[200]; local 52 char *s, *sLimit = buffer + sizeof(buffer); 55 s = buffer; 59 if(s > buffer) { 60 stream.write(buffer, (int32_t)(s - buffer)); 81 char buffer[16]; local 131 buffer[idx++] = ch; 133 stream.putback(buffer[--idx]) [all...] |
/libcore/luni/src/main/java/java/io/ |
PushbackReader.java | 24 * specified during construction. If the buffer of pushed back bytes is empty, 36 * the buffer is full. 42 * source. The size of the pushback buffer is set to the default value of 1 56 * The size of the pushback buffer is set to {@code size}. 61 * the size of the pushback buffer. 76 * and releases the pushback buffer. 122 * reader has been reached. If the pushback buffer does not contain any 157 * byte array {@code buffer} starting at {@code offset}. Characters are 158 * read from the pushback buffer first, then from the source reader if more 162 * @param buffer [all...] |
/system/core/libcutils/ |
record_stream.c | 37 unsigned char *buffer; member in struct:RecordStream 55 ret->buffer = (unsigned char *)malloc (maxRecordLen + HEADER_SIZE); 57 ret->unconsumed = ret->buffer; 58 ret->read_end = ret->buffer; 59 ret->buffer_end = ret->buffer + maxRecordLen + HEADER_SIZE; 67 free(rs->buffer); 72 /* returns NULL; if there isn't a full record in the buffer */ 102 /* one full line in the buffer */ 134 /* is there one record already in the buffer? */ 142 // if the buffer is full and we don't have a full recor [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexFieldImpl.java | 31 private DexBuffer buffer; field in class:DexFieldImpl 42 public DexFieldImpl(DexBuffer buffer, DexClass declaringClass, 46 this.buffer = buffer; 60 buffer.setPosition(fieldAnnotation.annotationsOff); 61 final int size = buffer.readUInt(); 63 annotations.add(new DexAnnotationImpl(buffer.createCopy(), 64 buffer.readUInt(), typeIds, stringPool, fieldIdItems));
|
/external/chromium/net/flip/ |
flip_io_buffer.cc | 14 IOBuffer* buffer, int size, int priority, FlipStream* stream) 15 : buffer_(new DrainableIOBuffer(buffer, size)),
|
/external/easymock/src/org/easymock/internal/matchers/ |
Contains.java | 37 public void appendTo(StringBuffer buffer) {
38 buffer.append("contains(\"" + substring + "\")");
|
EndsWith.java | 36 public void appendTo(StringBuffer buffer) {
37 buffer.append("endsWith(\"" + suffix + "\")");
|
InstanceOf.java | 36 public void appendTo(StringBuffer buffer) {
37 buffer.append("isA(" + clazz.getName() + ")");
|
Matches.java | 36 public void appendTo(StringBuffer buffer) {
37 buffer.append("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\")
|
StartsWith.java | 37 public void appendTo(StringBuffer buffer) {
38 buffer.append("startsWith(\"" + prefix + "\")");
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
Expires.java | 70 protected StringBuffer encodeBody(StringBuffer buffer) { 71 return buffer.append(expires);
|
/external/skia/src/effects/ |
SkDiscretePathEffect.cpp | 88 SkFlattenable* SkDiscretePathEffect::CreateProc(SkFlattenableReadBuffer& buffer) 90 return SkNEW_ARGS(SkDiscretePathEffect, (buffer)); 93 void SkDiscretePathEffect::flatten(SkFlattenableWriteBuffer& buffer) 95 buffer.writeScalar(fSegLength); 96 buffer.writeScalar(fPerterb); 99 SkDiscretePathEffect::SkDiscretePathEffect(SkFlattenableReadBuffer& buffer) 101 fSegLength = buffer.readScalar(); 102 fPerterb = buffer.readScalar();
|