/frameworks/av/include/media/stagefright/ |
SkipCutBuffer.h | 37 // some of the data in the buffer, or it may add data to it. 38 // After this, the caller should continue processing the buffer as usual. 39 void submit(MediaBuffer *buffer); 40 void submit(const sp<ABuffer>& buffer); // same as above, but with an ABuffer 42 size_t size(); // how many bytes are currently stored in the buffer
|
/frameworks/av/media/libnbaio/ |
LibsndfileSink.cpp | 37 ssize_t LibsndfileSink::write(const void *buffer, size_t count) 45 sf_count_t actual = sf_writef_short(mSndfile, (short *) buffer, (sf_count_t) count);
|
/frameworks/av/media/libstagefright/ |
AMRWriter.cpp | 207 MediaBuffer *buffer; local 208 err = mSource->read(&buffer); 215 buffer->release(); 216 buffer = NULL; 220 mEstimatedSizeBytes += buffer->range_length(); 222 buffer->release(); 223 buffer = NULL; 229 CHECK(buffer->meta_data()->findInt64(kKeyTime, ×tampUs)); 245 buffer->release(); 246 buffer = NULL [all...] |
/frameworks/base/core/java/android/text/method/ |
Touch.java | 88 public static boolean onTouchEvent(TextView widget, Spannable buffer, 94 ds = buffer.getSpans(0, buffer.length(), DragState.class); 97 buffer.removeSpan(ds[i]); 100 buffer.setSpan(new DragState(event.getX(), event.getY(), 106 ds = buffer.getSpans(0, buffer.length(), DragState.class); 109 buffer.removeSpan(ds[i]); 119 ds = buffer.getSpans(0, buffer.length(), DragState.class) [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
jni_native_buffer.h | 22 // Internal Buffer Unwrapping functions //////////////////////////////////////////////////////////// 27 char* GetJBufferData(JNIEnv* env, jobject buffer, int* size); 30 * Attach a given C data buffer and its size to a given allocated Java NativeBuffer instance. After 31 * this call, the java instance will have the given C buffer as its backing. Note, that the Java 32 * instance contains the flag on whether or not it owns the buffer or not, so make sure it is what 35 bool AttachDataToJBuffer(JNIEnv* env, jobject buffer, char* data, int size);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
ParserFactory.java | 93 // create the initial buffer and read it. 94 byte[] buffer = new byte[avail]; 95 int read = stream.read(buffer); 99 return new ByteArrayInputStream(buffer); 105 if (read + avail > buffer.length) { 109 System.arraycopy(buffer, 0, moreBuffer, 0, read); 110 buffer = moreBuffer; 113 read += stream.read(buffer, read, avail); 116 // return a new stream encapsulating this buffer. 117 return new ByteArrayInputStream(buffer); [all...] |
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/ |
Connection.cpp | 101 size_t Connection::readData(void *buffer, uint32_t len) 103 return readData(buffer, len, -1); 108 size_t Connection::readData(void *buffer, uint32_t len, int32_t timeout) 115 assert(NULL != buffer); 149 ret = recv(socketDescriptor, buffer, len, MSG_DONTWAIT); 159 size_t Connection::writeData(void *buffer, uint32_t len) 163 assert(NULL != buffer); 166 ret = send(socketDescriptor, buffer, len, 0);
|
/libcore/luni/src/main/java/java/io/ |
DataOutput.java | 33 * Writes the entire contents of the byte array {@code buffer} to this 36 * @param buffer 37 * the buffer to write. 41 public abstract void write(byte[] buffer) throws IOException; 44 * Writes {@code count} bytes from the byte array {@code buffer} starting at 47 * @param buffer 48 * the buffer to write. 50 * the index of the first byte in {@code buffer} to write. 52 * the number of bytes from the {@code buffer} to write. 56 public abstract void write(byte[] buffer, int offset, int count) throws IOException [all...] |
/libcore/luni/src/main/java/java/text/ |
ChoiceFormat.java | 127 StringBuffer buffer = new StringBuffer(); local 176 buffer.setLength(0); 178 upTo(template, position, buffer, '|'); 181 formats.add(buffer.toString()); 227 * double value fits to the specified string buffer. 231 * @param buffer 232 * the target string buffer to append the formatted value to. 235 * @return the string buffer. 238 public StringBuffer format(double value, StringBuffer buffer, 242 return buffer.append(choiceFormats[i]) 451 StringBuilder buffer = new StringBuilder(); local [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
InputStreamReaderTest.java | 37 char[] buffer = new char[1024]; local 38 int count = reader.read(buffer);
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldAndroidDatagramTest.java | 44 byte[] buffer = new byte[256]; field in class:OldAndroidDatagramTest.Reflector 56 packet.setLength(buffer.length); 88 packet = new DatagramPacket(buffer, buffer.length); 126 byte[] buffer = new byte[256]; 128 DatagramPacket packet = new DatagramPacket(buffer, buffer.length); 147 packet.setLength(buffer.length);
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
OldCharsetEncoderDecoderBufferTest.java | 28 * Checks for ICU encoder/decoder buffer corruption. 32 /* Checks for a buffer corruption that happens in ICU 34 * is done first with an out-buffer with hasArray()==true, and next with an out-buffer with 35 * hasArray()==false. In that situation ICU may overwrite the first out-buffer. 58 // check if the first buffer was corrupted by the second decode 64 /* Checks for a buffer corruption that happens in ICU 66 * is done first with an in-buffer with hasArray()==true, and next with an in-buffer with 67 * hasArray()==false. In that situation ICU may overwrite the array of the first in-buffer [all...] |
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/ |
xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/ |
xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/ |
xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/ |
xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/ |
xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/ |
xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/linux/ |
xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|