| /frameworks/base/libs/hwui/ |
| Image.cpp | 27 Image::Image(sp<GraphicBuffer> buffer) { 30 EGLClientBuffer clientBuffer = (EGLClientBuffer) buffer->getNativeBuffer();
|
| /frameworks/compile/libbcc/bcinfo/Wrap/ |
| file_wrapper_input.cpp | 35 size_t FileWrapperInput::Read(uint8_t* buffer, size_t wanted) { 36 size_t found = fread((char*) buffer, 1, wanted, _file);
|
| /hardware/invensense/60xx/mlsdk/mllite/ |
| mlFIFOHW.c | 103 * @param buffer 105 * Note that this buffer <b>must</b> be large enough 111 uint_fast16_t inv_get_fifo(uint_fast16_t length, unsigned char *buffer) 121 if (length > MAX_FIFO_LENGTH || toRead > length || NULL == buffer) { 131 // fifo_objHW.fifoCount is the footer size left in the buffer, or 140 0 ? buffer : buffer + FIFO_FOOTER_SIZE, toRead); 163 if (buffer[kk] != gFifoFooter[kk]) { 165 buffer[0], buffer[1]) [all...] |
| /libcore/luni/src/main/java/java/io/ |
| FilterInputStream.java | 117 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { 118 return in.read(buffer, byteOffset, byteCount);
|
| FilterReader.java | 120 * in the byte array {@code buffer} starting at {@code offset}. Returns the 128 public int read(char[] buffer, int offset, int count) throws IOException { 130 return in.read(buffer, offset, count);
|
| FilterWriter.java | 77 * Writes {@code count} characters from the char array {@code buffer} 80 * @param buffer 81 * the buffer to write. 83 * the index of the first character in {@code buffer} to write. 85 * the number of characters in {@code buffer} to write. 90 public void write(char[] buffer, int offset, int count) throws IOException { 92 out.write(buffer, offset, count);
|
| PipedOutputStream.java | 118 * Writes {@code count} bytes from the byte array {@code buffer} starting at 126 * @param buffer 127 * the buffer to write. 129 * the index of the first byte in {@code buffer} to write. 131 * the number of bytes from {@code buffer} to write to this 135 * offset + count} is bigger than the length of {@code buffer}. 146 public void write(byte[] buffer, int offset, int count) throws IOException { 147 super.write(buffer, offset, count);
|
| /libcore/luni/src/test/java/libcore/java/net/ |
| OldAndroidDatagramTest.java | 46 byte[] buffer = new byte[256]; field in class:OldAndroidDatagramTest.Reflector 58 packet.setLength(buffer.length); 90 packet = new DatagramPacket(buffer, buffer.length); 128 byte[] buffer = new byte[256]; 130 DatagramPacket packet = new DatagramPacket(buffer, buffer.length); 149 packet.setLength(buffer.length);
|
| /packages/apps/ContactsCommon/src/com/android/contacts/common/format/ |
| FormatUtils.java | 113 public static void copyToCharArrayBuffer(String text, CharArrayBuffer buffer) { 115 char[] data = buffer.data; 117 buffer.data = text.toCharArray(); 121 buffer.sizeCopied = text.length(); 123 buffer.sizeCopied = 0; 129 public static String charArrayBufferToString(CharArrayBuffer buffer) { 130 return new String(buffer.data, 0, buffer.sizeCopied);
|
| /packages/apps/Gallery2/src/com/android/gallery3d/util/ |
| InterruptableOutputStream.java | 43 public void write(byte[] buffer, int offset, int count) throws IOException { 48 mOutputStream.write(buffer, offset, bytesCount);
|
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
| DictDecoder.java | 54 * Reads a buffer and returns the memory representation of the dictionary. 56 * This high-level method takes a buffer and reads its contents, populating a 58 * which words from the buffer should be added. If it is null, a new dictionary is created. 100 * Sets the position of the buffer to the given value. 107 * Gets the position of the buffer. 114 * Reads and returns the PtNode count out of a buffer and forwards the pointer. 158 ByteBuffer buffer = null; local 161 buffer = inStream.getChannel().map(FileChannel.MapMode.READ_ONLY, 168 if (buffer != null) { 169 return new BinaryDictDecoderUtils.ByteBufferDictBuffer(buffer); 214 ByteBuffer buffer = null; local [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
| ByteArrayDictBuffer.java | 22 * This class provides an implementation for the FusionDictionary buffer interface that is backed 29 public ByteArrayDictBuffer(final byte[] buffer) { 30 mBuffer = buffer;
|
| /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/bigram/ |
| dynamic_bigram_list_policy.h | 34 * This is a dynamic version of BigramListPolicy and supports an additional buffer. 39 BufferWithExtendableBuffer *const buffer, 42 : mHeaderPolicy(headerPolicy), mBuffer(buffer), mShortcutPolicy(shortcutPolicy),
|
| /prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/mtd/ |
| blktrans.h | 43 unsigned long block, char *buffer); 45 unsigned long block, char *buffer);
|
| /prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/mtd/ |
| blktrans.h | 43 unsigned long block, char *buffer); 45 unsigned long block, char *buffer);
|
| /prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/mtd/ |
| blktrans.h | 43 unsigned long block, char *buffer); 45 unsigned long block, char *buffer);
|
| /prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/mtd/ |
| blktrans.h | 43 unsigned long block, char *buffer); 45 unsigned long block, char *buffer);
|
| /prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/mtd/ |
| blktrans.h | 43 unsigned long block, char *buffer); 45 unsigned long block, char *buffer);
|
| /prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/mtd/ |
| blktrans.h | 43 unsigned long block, char *buffer); 45 unsigned long block, char *buffer);
|
| /prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/mtd/ |
| blktrans.h | 43 unsigned long block, char *buffer); 45 unsigned long block, char *buffer);
|
| /prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/mtd/ |
| blktrans.h | 43 unsigned long block, char *buffer); 45 unsigned long block, char *buffer);
|
| /prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/mtd/ |
| blktrans.h | 43 unsigned long block, char *buffer); 45 unsigned long block, char *buffer);
|
| /prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/mtd/ |
| blktrans.h | 43 unsigned long block, char *buffer); 45 unsigned long block, char *buffer);
|
| /prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/mtd/ |
| blktrans.h | 43 unsigned long block, char *buffer); 45 unsigned long block, char *buffer);
|
| /prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/mtd/ |
| blktrans.h | 43 unsigned long block, char *buffer); 45 unsigned long block, char *buffer);
|