| /frameworks/av/libvideoeditor/lvpp/ |
| VideoEditorSRC.h | 36 MediaBuffer **buffer, const ReadOptions *options = NULL); 38 virtual status_t getNextBuffer(Buffer* buffer, int64_t pts); 39 virtual void releaseBuffer(Buffer* buffer);
|
| /frameworks/av/media/libnbaio/ |
| Pipe.cpp | 43 ssize_t Pipe::write(const void *buffer, size_t count) 55 memcpy((char *) mBuffer + (rear << mBitShift), buffer, written << mBitShift); 61 memcpy(mBuffer, (char *) buffer + (written << mBitShift), count << mBitShift);
|
| /frameworks/av/media/libstagefright/mpeg2ts/ |
| AnotherPacketSource.h | 42 MediaBuffer **buffer, const ReadOptions *options = NULL); 54 void queueAccessUnit(const sp<ABuffer> &buffer); 61 status_t dequeueAccessUnit(sp<ABuffer> *buffer);
|
| /frameworks/av/media/libstagefright/rtsp/ |
| ARTPConnection.h | 45 void injectPacket(int index, const sp<ABuffer> &buffer); 83 status_t parseRTP(StreamInfo *info, const sp<ABuffer> &buffer); 84 status_t parseRTCP(StreamInfo *info, const sp<ABuffer> &buffer);
|
| /frameworks/av/services/camera/libcameraservice/device3/ |
| Camera3IOStreamBase.h | 54 // Last received output buffer's timestamp 61 const camera3_stream_buffer &buffer, 66 const camera3_stream_buffer &buffer, 89 // Hand out the buffer to a native location, 90 // incrementing the internal refcount and dequeued buffer count 91 void handoutBufferLocked(camera3_stream_buffer &buffer,
|
| Camera3OutputStream.h | 45 * Set up a stream for formats that have a variable buffer size for the same 73 const camera3_stream_buffer &buffer, 88 virtual status_t getBufferLocked(camera3_stream_buffer *buffer); 90 const camera3_stream_buffer &buffer,
|
| /frameworks/base/core/java/android/util/ |
| Patterns.java | 215 StringBuilder buffer = new StringBuilder(); local 222 buffer.append(character); 225 return buffer.toString();
|
| /frameworks/base/core/jni/android/graphics/ |
| Utils.cpp | 47 size_t AssetStreamAdaptor::read(void* buffer, size_t size) { 50 if (NULL == buffer) { 69 amount = fAsset->read(buffer, size);
|
| /frameworks/base/core/jni/ |
| android_hardware_UsbDeviceConnection.cpp | 89 char buffer[16384]; local 93 int length = read(fd, buffer, sizeof(buffer)); 100 memcpy(bytes, buffer, length); 145 jbyteArray buffer, jint start, jint length, jint timeout) 154 if (buffer) { 155 bufferBytes = (jbyte*)env->GetPrimitiveArrayCritical(buffer, NULL); 162 env->ReleasePrimitiveArrayCritical(buffer, bufferBytes, 0); 170 jint endpoint, jbyteArray buffer, jint start, jint length, jint timeout) 179 if (buffer) { [all...] |
| android_view_TextureView.cpp | 137 ANativeWindow_Buffer buffer; local 150 int32_t status = native_window_lock(window.get(), &buffer, &rect); 153 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format); 156 bitmap.setConfig(convertPixelFormat(buffer.format), buffer.width, buffer.height, bytesCount); 158 if (buffer.format == WINDOW_FORMAT_RGBX_8888) { 162 if (buffer.width > 0 && buffer.height > 0) [all...] |
| /frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
| GraphReader.java | 45 char[] buffer = new char[1024]; local 48 while ((bytesRead = reader.read(buffer, 0, 1024)) > 0) { 49 writer.write(buffer, 0, bytesRead);
|
| /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
| ClipRegion2Activity.java | 43 StringBuffer buffer = new StringBuffer(); local 45 buffer.append(LOREM_IPSUM); 47 return buffer;
|
| ClipRegion3Activity.java | 43 StringBuffer buffer = new StringBuffer(); local 45 buffer.append(LOREM_IPSUM); 47 return buffer;
|
| /hardware/akm/AK8975_FS/libsensors/ |
| AkmSensor.cpp | 80 char buffer[2]; local 97 buffer[0] = '\0'; 98 buffer[1] = '\0'; 101 if(enabled) buffer[0] = '1'; 103 if(!enabled) buffer[0] = '0'; 106 if (buffer[0] != '\0') { 107 err = write_sys_attribute(input_sysfs_path, buffer, 1); 112 &input_sysfs_path[input_sysfs_path_len], buffer); 115 if (buffer[0] == '1') { 138 char buffer[32] local [all...] |
| /hardware/samsung_slsi/exynos5/mobicore/daemon/Common/ |
| NetlinkConnection.h | 160 * @param buffer Pointer to destination buffer. 168 void *buffer, 176 * @param buffer Pointer to destination buffer. 181 void *buffer, 188 * @param buffer Pointer to source buffer. 193 void *buffer,
|
| /hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/Platforms/Generic/ |
| CMcKMod.h | 71 * @param pMciReuse [in|out] set to true [in] for reusing MCI buffer 72 * is set to true [out] if MCI buffer has been reused 93 int read(addr_t buffer, uint32_t len); 111 mcResult_t free(uint32_t handle, addr_t buffer, uint32_t len); 114 addr_t buffer,
|
| /libcore/luni/src/main/java/java/io/ |
| ByteArrayInputStream.java | 144 @Override public synchronized int read(byte[] buffer, int byteOffset, int byteCount) { 145 Arrays.checkOffsetAndCount(buffer.length, byteOffset, byteCount); 156 System.arraycopy(this.buf, pos, buffer, byteOffset, copylen);
|
| ByteArrayOutputStream.java | 86 /* Can the buffer handle @i more bytes, if not expand it */ 179 * Writes {@code count} bytes from the byte array {@code buffer} starting at 182 * @param buffer 183 * the buffer to be written. 185 * the initial position in {@code buffer} to retrieve bytes. 187 * the number of bytes of {@code buffer} to write. 189 * if {@code buffer} is {@code null}. 193 * {@code buffer}. 196 public synchronized void write(byte[] buffer, int offset, int len) { 197 Arrays.checkOffsetAndCount(buffer.length, offset, len) [all...] |
| LineNumberInputStream.java | 142 * them in the byte array {@code buffer} starting at {@code byteOffset}. 152 * if {@code byteOffset < 0 || byteCount < 0 || byteOffset + byteCount > buffer.length}. 156 * if {@code buffer == null}. 159 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { 160 Arrays.checkOffsetAndCount(buffer.length, byteOffset, byteCount); 174 buffer[byteOffset + i] = (byte) currentChar;
|
| LineNumberReader.java | 24 * internal buffer for its data. The size of the buffer defaults to 8 KB. 38 * buffer gets the default size (8 KB). 49 * the internal buffer is specified by the parameter {@code size}. 54 * the size of the buffer to allocate. 136 * them in the character array {@code buffer} starting at {@code offset}. 148 public int read(char[] buffer, int offset, int count) throws IOException { 150 int read = super.read(buffer, offset, count); 155 char ch = buffer[offset + i];
|
| SequenceInputStream.java | 150 * stores them in the byte array {@code buffer} starting at {@code byteOffset}. 166 * if {@code byteOffset < 0 || byteCount < 0 || byteOffset + byteCount > buffer.length}. 170 * if {@code buffer == null}. 173 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { 177 Arrays.checkOffsetAndCount(buffer.length, byteOffset, byteCount); 179 int result = in.read(buffer, byteOffset, byteCount);
|
| StringReader.java | 135 * them at {@code offset} in the character array {@code buffer}. Returns the 140 if {@code offset < 0 || count < 0 || offset + count > buffer.length}. 145 public int read(char[] buffer, int offset, int count) throws IOException { 148 Arrays.checkOffsetAndCount(buffer.length, offset, count); 156 str.getChars(pos, end, buffer, offset);
|
| /libcore/luni/src/main/java/java/util/zip/ |
| GZIPOutputStream.java | 68 * the given stream with the given internal buffer size and 77 * the given stream with the given internal buffer size and 106 * Write up to nbytes of data from the given buffer, starting at offset off, 110 public void write(byte[] buffer, int off, int nbytes) throws IOException { 111 super.write(buffer, off, nbytes); 112 crc.update(buffer, off, nbytes);
|
| /libcore/luni/src/main/java/libcore/io/ |
| BlockGuardOs.java | 122 @Override public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException { 124 return os.pread(fd, buffer, offset); 132 @Override public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException { 134 return os.pwrite(fd, buffer, offset); 142 @Override public int read(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException { 144 return os.read(fd, buffer); 157 @Override public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { 159 return os.recvfrom(fd, buffer, flags, srcAddress); 167 @Override public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException { 169 return os.sendto(fd, buffer, flags, inetAddress, port) [all...] |
| /libcore/luni/src/test/java/libcore/java/util/zip/ |
| GZIPInputStreamTest.java | 65 byte[] buffer = new byte[1024]; 67 while ((count = in.read(buffer)) != -1) { 68 out.write(buffer, 0, count);
|