HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 626 - 650 of 4833) sorted by null

<<21222324252627282930>>

  /frameworks/av/media/libstagefright/rtsp/
AH263Assembler.cpp 72 sp<ABuffer> buffer = *queue->begin(); local
76 mNextExpectedSeqNo = (uint32_t)buffer->int32Data();
77 } else if ((uint32_t)buffer->int32Data() != mNextExpectedSeqNo) {
86 CHECK(buffer->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
93 // hexdump(buffer->data(), buffer->size());
95 if (buffer->size() < 2) {
102 unsigned payloadHeader = U16_AT(buffer->data());
111 buffer->setRange(buffer->offset() + skip, buffer->size() - skip)
    [all...]
  /frameworks/base/core/java/android/content/pm/
MacAuthenticatedInputStream.java 71 public int read(byte[] buffer, int offset, int count) throws IOException {
72 int numRead = super.read(buffer, offset, count);
74 mMac.update(buffer, offset, numRead);
  /frameworks/base/core/jni/android/graphics/
Utils.cpp 31 size_t AssetStreamAdaptor::read(void* buffer, size_t size) {
34 if (NULL == buffer) {
53 amount = fAsset->read(buffer, size);
  /frameworks/base/core/jni/
android_os_UEventObserver.cpp 41 char *buffer = (char*)env->GetByteArrayElements(jbuffer, NULL); local
43 int length = uevent_next_event(buffer, buf_sz - 1);
45 env->ReleaseByteArrayElements(jbuffer, (jbyte*)buffer, 0);
  /libcore/luni/src/main/java/java/io/
FilterOutputStream.java 92 * Writes {@code count} bytes from the byte array {@code buffer} starting at
95 * @param buffer
96 * the buffer to write.
98 * the index of the first byte in {@code buffer} to write.
100 * the number of bytes in {@code buffer} to write.
104 * {@code buffer}.
109 public void write(byte[] buffer, int offset, int length) throws IOException {
110 Arrays.checkOffsetAndCount(buffer.length, offset, length);
114 write(buffer[offset + i]);
  /libcore/luni/src/main/java/libcore/net/http/
FixedLengthOutputStream.java 35 @Override public void write(byte[] buffer, int offset, int count) throws IOException {
37 Arrays.checkOffsetAndCount(buffer.length, offset, count);
41 socketOut.write(buffer, offset, count);
RetryableOutputStream.java 54 @Override public synchronized void write(byte[] buffer, int offset, int count)
57 Arrays.checkOffsetAndCount(buffer.length, offset, count);
61 content.write(buffer, offset, count);
  /ndk/sources/host-tools/sed-4.2.1/sed/
utils.h 43 struct buffer *init_buffer P_((void));
44 char *get_buffer P_((struct buffer *b));
45 size_t size_buffer P_((struct buffer *b));
46 char *add_buffer P_((struct buffer *b, const char *p, size_t n));
47 char *add1_buffer P_((struct buffer *b, int ch));
48 void free_buffer P_((struct buffer *b));
  /packages/apps/Nfc/src/com/android/nfc/snep/
SnepMessenger.java 45 byte[] buffer = msg.toByteArray();
52 if (DBG) Log.d(TAG, "about to send a " + buffer.length + " byte message");
55 int length = Math.min(buffer.length, mFragmentLength);
56 byte[] tmpBuffer = Arrays.copyOfRange(buffer, 0, length);
60 if (length == buffer.length) {
82 while (offset < buffer.length) {
83 length = Math.min(buffer.length - offset, mFragmentLength);
84 tmpBuffer = Arrays.copyOfRange(buffer, offset, offset + length);
92 ByteArrayOutputStream buffer = new ByteArrayOutputStream(mFragmentLength); local
127 buffer.write(partial, 0, size)
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/
lbxzlib.h 55 extern int ZlibStuffInput ( int fd, unsigned char *buffer, int buflen );
58 extern int ZlibWrite ( int fd, unsigned char *buffer, int buflen );
60 extern int ZlibRead ( int fd, unsigned char *buffer, int buflen );
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/
lbxzlib.h 55 extern int ZlibStuffInput ( int fd, unsigned char *buffer, int buflen );
58 extern int ZlibWrite ( int fd, unsigned char *buffer, int buflen );
60 extern int ZlibRead ( int fd, unsigned char *buffer, int buflen );
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/
lbxzlib.h 55 extern int ZlibStuffInput ( int fd, unsigned char *buffer, int buflen );
58 extern int ZlibWrite ( int fd, unsigned char *buffer, int buflen );
60 extern int ZlibRead ( int fd, unsigned char *buffer, int buflen );
  /external/chromium/webkit/glue/media/
buffered_resource_loader_unittest.cc 209 void ReadLoader(int64 position, int size, uint8* buffer) {
210 loader_->Read(position, size, buffer,
214 // Verifis that data in buffer[0...size] is equal to data_[pos...pos+size].
215 void VerifyBuffer(uint8* buffer, int pos, int size) {
216 EXPECT_EQ(0, memcmp(buffer, data_ + pos, size));
332 uint8 buffer[10]; local
338 ReadLoader(10, 10, buffer);
339 VerifyBuffer(buffer, 10, 10);
344 ReadLoader(20, 5, buffer);
345 VerifyBuffer(buffer, 20, 5)
383 uint8 buffer[10]; local
412 uint8 buffer[10]; local
431 uint8 buffer[10]; local
453 uint8 buffer[10]; local
484 uint8 buffer[10]; local
    [all...]
  /libcore/luni/src/main/java/java/nio/
FileChannelImpl.java 270 public int read(ByteBuffer buffer, long position) throws IOException {
274 return readImpl(buffer, position);
277 public int read(ByteBuffer buffer) throws IOException {
278 return readImpl(buffer, -1);
281 private int readImpl(ByteBuffer buffer, long position) throws IOException {
282 buffer.checkWritable();
285 if (!buffer.hasRemaining()) {
294 bytesRead = Libcore.os.read(fd, buffer);
296 bytesRead = Libcore.os.pread(fd, buffer, position);
314 buffer.position(buffer.position() + bytesRead)
376 ByteBuffer buffer = fileSrc.map(MapMode.READ_ONLY, filePosition, count); local
386 ByteBuffer buffer = ByteBuffer.allocate((int) count); local
433 ByteBuffer buffer = null; local
    [all...]
  /cts/suite/audio_quality/lib/src/audio/
AudioPlaybackLocal.cpp 35 #include "audio/Buffer.h"
82 bool AudioPlaybackLocal::doPlaybackOrRecord(android::sp<Buffer>& buffer)
84 if (buffer->amountToHandle() < (size_t)mSizes) {
85 mSizes = buffer->amountToHandle();
87 if (pcm_write(mPcmHandle, buffer->getUnhanledData(), mSizes)) {
91 buffer->increaseHandled(mSizes);
92 LOGV("AudioPlaybackLocal::doPlaybackOrRecord %d", buffer->amountHandled());
  /external/apache-http/src/org/apache/http/impl/auth/
BasicScheme.java 173 CharArrayBuffer buffer = new CharArrayBuffer(32); local
175 buffer.append(AUTH.PROXY_AUTH_RESP);
177 buffer.append(AUTH.WWW_AUTH_RESP);
179 buffer.append(": Basic ");
180 buffer.append(base64password, 0, base64password.length);
182 return new BufferedHeader(buffer);
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/tcp/
NioEndpoint.java 126 ByteBuffer buffer; local
128 buffer = data;
130 // Copy the buffer
131 buffer = ByteBuffer.allocate(data.remaining());
132 buffer.put(data);
133 buffer.flip();
137 outbound.add(buffer);
145 * buffer for writing.
153 * Called by the SelectorKernel when the top buffer
  /external/jpeg/
jdatadst.c 29 JOCTET * buffer; /* start of buffer */ member in struct:__anon7573
47 /* Allocate the output buffer --- it will be released when done with image */
48 dest->buffer = (JOCTET *)
52 dest->pub.next_output_byte = dest->buffer;
58 * Empty the output buffer --- called whenever buffer fills up.
60 * In typical applications, this should write the entire output buffer
62 * reset the pointer & count to the start of the buffer, and return TRUE
63 * indicating that the buffer has been dumped
    [all...]
  /external/qemu/distrib/jpeg-6b/
jdatadst.c 29 JOCTET * buffer; /* start of buffer */ member in struct:__anon10625
47 /* Allocate the output buffer --- it will be released when done with image */
48 dest->buffer = (JOCTET *)
52 dest->pub.next_output_byte = dest->buffer;
58 * Empty the output buffer --- called whenever buffer fills up.
60 * In typical applications, this should write the entire output buffer
62 * reset the pointer & count to the start of the buffer, and return TRUE
63 * indicating that the buffer has been dumped
    [all...]
  /external/skia/src/gpu/
GrBufferAllocPool.h 30 * At creation time a minimum per-buffer size can be specified. Additionally,
113 * Returns a block of memory to hold data. A buffer designated to hold the
114 * data is given to the caller. The buffer may or may not be locked. The
122 * buffer at the offset indicated by offset. Until that time it may be
123 * in temporary storage and/or the buffer may be locked.
126 * @param alignment alignment constraint from start of buffer
127 * @param buffer returns the buffer that will hold the data.
128 * @param offset returns the offset into buffer of the data.
133 const GrGeometryBuffer** buffer,
    [all...]
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/
Instruction21t.java 59 private Instruction21t(Opcode opcode, byte[] buffer, int bufferIndex) {
62 assert buffer[bufferIndex] == opcode.value;
64 regA = buffer[bufferIndex + 1];
65 targetAddressOffset = NumberUtils.decodeShort(buffer, bufferIndex + 2);
99 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
100 return new Instruction21t(opcode, buffer, bufferIndex);
Instruction22c.java 57 private Instruction22c(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
58 super(dexFile, opcode, buffer, bufferIndex);
60 this.regA = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 1]);
61 this.regB = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 1]);
83 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
84 return new Instruction22c(dexFile, opcode, buffer, bufferIndex);
Instruction22cs.java 62 private Instruction22cs(Opcode opcode, byte[] buffer, int bufferIndex) {
65 this.regA = NumberUtils.decodeLowUnsignedNibble(buffer[bufferIndex + 1]);
66 this.regB = NumberUtils.decodeHighUnsignedNibble(buffer[bufferIndex + 1]);
67 this.fieldOffset = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 2);
93 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
94 return new Instruction22cs(opcode, buffer, bufferIndex);
Instruction3rms.java 71 private Instruction3rms(Opcode opcode, byte[] buffer, int bufferIndex) {
74 this.regCount = (byte)NumberUtils.decodeUnsignedByte(buffer[bufferIndex + 1]);
75 this.methodIndex = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 2);
76 this.startReg = (short)NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 4);
103 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
104 return new Instruction3rms(opcode, buffer, bufferIndex);
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Code/
InstructionWithReference.java 52 protected InstructionWithReference(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) {
55 this.referenceType = readReferenceType(opcode, buffer, bufferIndex);
56 int itemIndex = getReferencedItemIndex(buffer, bufferIndex);
60 protected int getReferencedItemIndex(byte[] buffer, int bufferIndex) {
61 return NumberUtils.decodeUnsignedShort(buffer, bufferIndex + 2);
72 protected ReferenceType readReferenceType(Opcode opcode, byte[] buffer, int bufferIndex) {

Completed in 695 milliseconds

<<21222324252627282930>>