/external/webp/src/dec/ |
buffer.c | 38 static VP8StatusCode CheckDecBuffer(const WebPDecBuffer* const buffer) { 40 const WEBP_CSP_MODE mode = buffer->colorspace; 41 const int width = buffer->width; 42 const int height = buffer->height; 46 const WebPYUVABuffer* const buf = &buffer->u.YUVA; 66 const WebPRGBABuffer* const buf = &buffer->u.RGBA; 75 static VP8StatusCode AllocateBuffer(WebPDecBuffer* const buffer) { 76 const int w = buffer->width; 77 const int h = buffer->height; 78 const WEBP_CSP_MODE mode = buffer->colorspace [all...] |
/frameworks/av/include/media/nbaio/ |
LibsndfileSink.h | 45 virtual ssize_t write(const void *buffer, size_t count);
|
/frameworks/av/media/libstagefright/ |
SkipCutBuffer.cpp | 41 void SkipCutBuffer::submit(MediaBuffer *buffer) { 42 int32_t offset = buffer->range_offset(); 43 int32_t buflen = buffer->range_length(); 45 // drop the initial data from the buffer if needed 51 buffer->set_range(offset, buflen); 57 char *src = ((char*) buffer->data()) + offset; 63 char *dst = (char*) buffer->data(); 64 size_t copied = read(dst, buffer->size()); 65 buffer->set_range(0, copied); 68 void SkipCutBuffer::submit(const sp<ABuffer>& buffer) { [all...] |
/frameworks/av/services/camera/libcameraservice/camera3/ |
Camera3StreamInterface.h | 83 * Fill in the camera3_stream_buffer with the next valid buffer for this 91 virtual status_t getBuffer(camera3_stream_buffer *buffer) = 0; 94 * Return a buffer to the stream after use by the HAL. 99 virtual status_t returnBuffer(const camera3_stream_buffer &buffer, 103 * Fill in the camera3_stream_buffer with the next valid buffer for this 111 virtual status_t getInputBuffer(camera3_stream_buffer *buffer) = 0; 114 * Return a buffer to the stream after use by the HAL. 119 virtual status_t returnInputBuffer(const camera3_stream_buffer &buffer) = 0;
|
/frameworks/base/core/java/android/content/res/ |
AssetFileDescriptor.java | 189 byte[] buffer = new byte[1]; 190 int result = read(buffer, 0, 1); 191 return result == -1 ? -1 : buffer[0] & 0xff; 195 public int read(byte[] buffer, int offset, int count) throws IOException { 199 int res = super.read(buffer, offset, count); 204 return super.read(buffer, offset, count); 208 public int read(byte[] buffer) throws IOException { 209 return read(buffer, 0, buffer.length); 270 public void write(byte[] buffer, int offset, int count) throws IOException [all...] |
/frameworks/base/core/java/android/speech/tts/ |
SynthesisCallback.java | 60 * @param buffer The generated audio data. This method will not hold on to {@code buffer}, 62 * @param offset The offset into {@code buffer} where the audio data starts. 63 * @param length The number of bytes of audio data in {@code buffer}. This must be 67 public int audioAvailable(byte[] buffer, int offset, int length);
|
/frameworks/compile/libbcc/include/bcinfo/Wrap/ |
wrapper_output.h | 38 // Writes the specified number of bytes in the buffer to 40 virtual bool Write(const uint8_t* buffer, size_t buffer_size);
|
/frameworks/opt/mms/src/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();
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
uevent.h | 26 int uevent_next_event(char* buffer, int buffer_length);
|
/hardware/qcom/media/mm-video/DivxDrmDecrypt/inc/ |
DivXDrmDecrypt.h | 40 virtual OMX_ERRORTYPE Decrypt(OMX_BUFFERHEADERTYPE* buffer) = 0;
|
/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/libcore/net/http/ |
UnknownLengthHttpInputStream.java | 35 @Override public int read(byte[] buffer, int offset, int count) throws IOException { 36 Arrays.checkOffsetAndCount(buffer.length, offset, count); 41 int read = in.read(buffer, offset, count); 47 cacheWrite(buffer, offset, read);
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
md5.h | 89 char buffer[128] ATTRIBUTE_ALIGNED_ALIGNOF(md5_uint32); 103 starting at BUFFER. 105 extern void md5_process_block (const void *buffer, size_t len, 110 starting at BUFFER. 112 extern void md5_process_bytes (const void *buffer, size_t len, 115 /* Process the remaining bytes in the buffer and put result from CTX 139 /* Compute MD5 message digest for LEN bytes beginning at BUFFER. The 143 extern void *md5_buffer (const char *buffer, size_t len, void *resblock);
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
md5.h | 89 char buffer[128] ATTRIBUTE_ALIGNED_ALIGNOF(md5_uint32); 103 starting at BUFFER. 105 extern void md5_process_block (const void *buffer, size_t len, 110 starting at BUFFER. 112 extern void md5_process_bytes (const void *buffer, size_t len, 115 /* Process the remaining bytes in the buffer and put result from CTX 139 /* Compute MD5 message digest for LEN bytes beginning at BUFFER. The 143 extern void *md5_buffer (const char *buffer, size_t len, void *resblock);
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
md5.h | 89 char buffer[128] ATTRIBUTE_ALIGNED_ALIGNOF(md5_uint32); 103 starting at BUFFER. 105 extern void md5_process_block (const void *buffer, size_t len, 110 starting at BUFFER. 112 extern void md5_process_bytes (const void *buffer, size_t len, 115 /* Process the remaining bytes in the buffer and put result from CTX 139 /* Compute MD5 message digest for LEN bytes beginning at BUFFER. The 143 extern void *md5_buffer (const char *buffer, size_t len, void *resblock);
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
md5.h | 89 char buffer[128] ATTRIBUTE_ALIGNED_ALIGNOF(md5_uint32); 103 starting at BUFFER. 105 extern void md5_process_block (const void *buffer, size_t len, 110 starting at BUFFER. 112 extern void md5_process_bytes (const void *buffer, size_t len, 115 /* Process the remaining bytes in the buffer and put result from CTX 139 /* Compute MD5 message digest for LEN bytes beginning at BUFFER. The 143 extern void *md5_buffer (const char *buffer, size_t len, void *resblock);
|
/system/core/libsysutils/src/ |
FrameworkClient.cpp | 34 char *buffer = (char *) alloca(bufflen); local 35 if (!buffer) { 39 snprintf(buffer, bufflen, "%s%s", msg, data); 40 return sendMsg(buffer);
|
/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/webkit/Source/WebCore/platform/graphics/ |
ImageSource.cpp | 138 ImageFrame* buffer = m_decoder->frameBufferAtIndex(index); 139 if (!buffer || buffer->status() == ImageFrame::FrameEmpty) 147 // Return the buffer contents as a native image. For some ports, the data 149 return buffer->asNewNativeImage(); 157 ImageFrame* buffer = m_decoder->frameBufferAtIndex(index); 158 if (!buffer || buffer->status() == ImageFrame::FrameEmpty) 165 const float duration = buffer->duration() / 1000.0f; 188 ImageFrame* buffer = m_decoder->frameBufferAtIndex(index) [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/spdy/ |
spdy_io_buffer.cc | 14 IOBuffer* buffer, int size, int priority, SpdyStream* stream) 15 : buffer_(new DrainableIOBuffer(buffer, size)),
|
/external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/ |
p7.cpp | 4 alignas(T) alignas(A) T buffer[N]; member in struct:X 12 alignas(A) T buffer[N]; // expected-error {{requested alignment is less than minimum alignment of 4 for type 'int [1]'}} member in struct:Y
|
/external/easymock/src/org/easymock/internal/matchers/ |
Contains.java | 37 public void appendTo(StringBuffer buffer) {
38 buffer.append("contains(\"" + substring + "\")");
|