HomeSort by relevance Sort by last modified time
    Searched defs:Buffer (Results 1 - 25 of 46) sorted by null

1 2

  /frameworks/base/include/utils/
Buffer.h 26 class Buffer
48 Buffer()
55 ~Buffer()
  /frameworks/base/libs/audioflinger/
AudioBufferProvider.h 31 struct Buffer {
42 virtual status_t getNextBuffer(Buffer* buffer) = 0;
43 virtual void releaseBuffer(Buffer* buffer) = 0;
AudioFlinger.h 272 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer) = 0;
273 virtual void releaseBuffer(AudioBufferProvider::Buffer* buffer);
392 void dump(char* buffer, size_t size);
421 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer);
455 class Buffer: public AudioBufferProvider::Buffer {
477 status_t obtainBuffer(AudioBufferProvider::Buffer* buffer, uint32_t waitTimeMs)
    [all...]
  /system/core/libcutils/
buffer.h 18 * Byte buffer utilities.
31 * Byte buffer of known size. Keeps track of how much data has been read
32 * into or written out of the buffer.
46 /** Actual # of bytes in the buffer. */
49 /** Amount of memory allocated for this buffer. */
51 } Buffer;
54 * Returns true if all data has been read into the buffer.
56 #define bufferReadComplete(buffer) (buffer->expected == buffer->size
    [all...]
  /external/webkit/WebKit/chromium/public/
WebClipboard.h 50 enum Buffer {
57 virtual bool isFormatAvailable(Format, Buffer) = 0;
59 virtual WebString readPlainText(Buffer) = 0;
60 virtual WebString readHTML(Buffer, WebURL*) = 0;
  /frameworks/base/media/libstagefright/omx/tests/
OMXHarness.h 36 struct Buffer {
51 Vector<Buffer> *inputBuffers,
52 Vector<Buffer> *outputBuffers,
62 Vector<Buffer> *buffers);
96 Vector<Buffer> *inputBuffers,
97 Vector<Buffer> *outputBuffers);
  /dalvik/libcore/nio/src/main/java/java/nio/
Buffer.java 20 * A buffer is a list of elements of a specific primitive type.
22 * A buffer can be described by the following properties:
24 * <li>Capacity: the number of elements a buffer can hold. Capacity may not be
26 * <li>Position: a cursor of this buffer. Elements are read or written at the
35 * <li>A buffer can be read-only or read-write. Trying to modify the elements
36 * of a read-only buffer will cause a <code>ReadOnlyBufferException</code>,
37 * while changing the position, limit and mark of a read-only buffer is OK.</li>
38 * <li>A buffer can be direct or indirect. A direct buffer will try its best to
43 * Buffers are not thread-safe. If concurrent access to a buffer instance i
    [all...]
  /external/webkit/WebCore/platform/graphics/chromium/
VDMXParser.cpp 39 // Buffer helper class
41 // This class perform some trival buffer operations while checking for
44 class Buffer {
46 Buffer(const uint8_t* buffer, size_t length)
47 : m_buffer(buffer)
124 Buffer buf(vdmx, vdmxLength);
  /hardware/ti/omap3/omx/system/src/openmax_il/perf/inc/
perf_custom.h 31 - logging into a buffer (default behavior)
46 void (*Buffer)(PERF_OBJHANDLE hObject,
101 ((PERF_OBJHANDLE)(hObject))->ci.Buffer( \
  /frameworks/base/libs/surfaceflinger/
LayerBuffer.cpp 165 * This creates a "buffer" source for this surface
261 // LayerBuffer::Buffer
264 LayerBuffer::Buffer::Buffer(const ISurface::BufferHeap& buffers,
288 // we can fail here is the passed buffer is purely software
293 LayerBuffer::Buffer::~Buffer()
410 "invalid buffer (offset=%d, size=%d, heap-size=%d",
417 sp<Buffer> buffer; local
578 sp<GraphicBuffer> buffer = new GraphicBuffer( local
    [all...]
LayerBuffer.h 31 class Buffer;
100 class Buffer : public LightRefBase<Buffer> {
102 Buffer(const ISurface::BufferHeap& buffers,
114 friend class LightRefBase<Buffer>;
115 Buffer& operator = (const Buffer& rhs);
116 Buffer(const Buffer& rhs);
117 ~Buffer();
    [all...]
  /external/v8/src/
unicode.h 106 class Buffer {
108 inline Buffer(Data data, unsigned length) : data_(data), length_(length) { }
109 inline Buffer() : data_(0), length_(0) { }
121 static const byte* ReadBlock(Buffer<const char*> str, byte* buffer,
151 static inline bool EncodeCharacter(uchar c, byte* buffer, unsigned capacity,
153 static inline bool EncodeAsciiCharacter(uchar c, byte* buffer,
155 static inline bool EncodeNonAsciiCharacter(uchar c, byte* buffer,
157 static inline uchar DecodeCharacter(const byte* buffer, unsigned* offset);
161 // The number of characters left in the current buffer
    [all...]
  /external/webkit/JavaScriptCore/wtf/
Deque.h 73 T& first() { ASSERT(m_start != m_end); return m_buffer.buffer()[m_start]; }
74 const T& first() const { ASSERT(m_start != m_end); return m_buffer.buffer()[m_start]; }
90 typedef VectorBuffer<T, 0> Buffer;
104 Buffer m_buffer;
314 const T* otherBuffer = other.m_buffer.buffer();
316 TypeOperations::uninitializedCopy(otherBuffer + m_start, otherBuffer + m_end, m_buffer.buffer() + m_start);
318 TypeOperations::uninitializedCopy(otherBuffer, otherBuffer + m_end, m_buffer.buffer());
319 TypeOperations::uninitializedCopy(otherBuffer + m_start, otherBuffer + m_buffer.capacity(), m_buffer.buffer() + m_start);
344 TypeOperations::destruct(m_buffer.buffer() + m_start, m_buffer.buffer() + m_end)
    [all...]
Vector.h 59 template <size_t size> struct AlignedBuffer<size, 1> { AlignedBufferChar buffer[size]; }; member in struct:WTF::AlignedBuffer
60 template <size_t size> struct AlignedBuffer<size, 2> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 2); };
61 template <size_t size> struct AlignedBuffer<size, 4> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 4); };
62 template <size_t size> struct AlignedBuffer<size, 8> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 8); };
63 template <size_t size> struct AlignedBuffer<size, 16> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 16); };
64 template <size_t size> struct AlignedBuffer<size, 32> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 32); };
65 template <size_t size> struct AlignedBuffer<size, 64> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 64); };
71 std::swap(a.buffer[i], b.buffer[i]);
298 T* buffer() { return m_buffer; function in class:WTF::VectorBufferBase
299 const T* buffer() const { return m_buffer; } function in class:WTF::VectorBufferBase
305 T* buffer = m_buffer; local
    [all...]
  /frameworks/base/include/media/
AudioRecord.h 49 EVENT_MORE_DATA = 0, // Request to reqd more data from PCM buffer.
50 EVENT_OVERRUN = 1, // PCM buffer overrun occured.
57 /* Create Buffer on the stack and pass it to obtainBuffer()
61 class Buffer
87 * invokes the callback when a new buffer becomes ready or an overrun condition occurs.
93 * - EVENT_MORE_DATA: pointer to AudioRecord::Buffer struct. The callback must not read
120 * frameCount: Total size of track PCM buffer in frames. This defines the
127 * frames are ready in record track output buffer.
182 * This includes the latency due to AudioRecord buffer size
255 * position: Address where to return record head position within AudioRecord buffer
    [all...]
AudioTrack.h 54 EVENT_MORE_DATA = 0, // Request to write more data to PCM buffer.
55 EVENT_UNDERRUN = 1, // PCM buffer underrun occured.
59 EVENT_BUFFER_END = 5 // Playback head is at the end of the buffer.
62 /* Create Buffer on the stack and pass it to obtainBuffer()
66 class Buffer
87 * invokes the callback when a new buffer becomes availlable or an underrun condition occurs.
93 * - EVENT_MORE_DATA: pointer to AudioTrack::Buffer struct. The callback must not write
123 * frameCount: Total size of track PCM buffer in frames. This defines the
129 * frames have been comsumed from track input buffer.
144 * The PCM data to be rendered by AudioTrack is passed in a shared memory buffer
    [all...]
  /external/e2fsprogs/lib/ext2fs/
nt_io.c 88 OUT PVOID Buffer,
103 IN PVOID Buffer,
210 PCHAR Buffer;
397 WCHAR Buffer[512];
406 UnicodeString.Buffer = &Buffer[0];
408 UnicodeString.MaximumLength = sizeof(Buffer); // in bytes!!!
503 CHAR Buffer[100];
505 sprintf(Buffer, "\\DosDevices\\%c:", Letter);
507 return _OpenNtName(Buffer, ReadOnly, Handle, OpenedReadonly)
    [all...]
  /external/opencore/oscl/oscl/osclio/src/
oscl_file_async_read.cpp 79 OsclBuf* OsclAsyncFileBuffer::Buffer()
176 //this is the number of buffers we allocate internally for the linked buffer
177 //list. There is also one extra buffer of this size-- the 'iDataBuffer'.
186 //it must be <= the individual buffer size, so we use 8k as the default,
187 //but then limit it to the input buffer size.
414 //The amount of data requested cannot exceed the internal buffer size.
421 //this routine only handles requests <= the individual buffer size-- it is
431 // Check if we have data already in the buffer
439 // Mark buffer in use
442 OsclBuf* buff = dataBuffer->Buffer();
    [all...]
  /system/wlan/ti/wilink_6_1/platforms/os/linux/inc/
windows_types.h 58 TI_INT8* Buffer;
84 void* Buffer;
128 TI_UINT8 Buffer[1];
  /external/qemu/
vnc.h 52 typedef struct Buffer
56 uint8_t *buffer; member in struct:Buffer
57 } Buffer;
145 Buffer output;
146 Buffer input;
160 Buffer zlib;
161 Buffer zlib_tmp;
293 /* Buffer I/O functions */
306 /* Buffer management */
307 void buffer_reserve(Buffer *buffer, size_t len)
    [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/inc/
OMX_G726Enc_Utils.h 208 * @def G726ENC_INPUT_BUFFER_SIZE_DASF Default input buffer size DASF
215 * @def G726ENC_INPUT_BUFFER_SIZE Default input buffer size DASF
221 * @def G726ENC_OUTPUT_BUFFER_SIZE Default output buffer size
358 * G726ENC_INPUT_STREAM_ID Stream ID for Input Buffer
379 /** G726ENC_BUFFER_Dir Buffer Direction
395 /** G726ENC_BUFFS Buffer details
397 * @param BufHeader Buffer header
399 * @param Buffer Buffer
405 char Buffer;
456 OMX_BUFFERHEADERTYPE* buffer; member in struct:G726ENC_LCML_BUFHEADERTYPE
    [all...]
  /hardware/ti/wlan/wl1271/platforms/os/linux/inc/
windows_types.h 58 TI_INT8* Buffer;
84 void* Buffer;
128 TI_UINT8 Buffer[1];
  /system/wlan/ti/sta_dk_4_0_4_32/pform/linux/inc/
windows_types.h 55 PCHAR Buffer;
81 PVOID Buffer;
127 UCHAR Buffer[1];
  /external/jhead/
exif.c     [all...]
  /external/stlport/src/c_locale_win32/
c_locale_win32.c 307 unsigned char Buffer[256];
332 for (i = 0; i < 256; ++i) Buffer[i] = (unsigned char)i;
338 for (i = *ptr; i <= *(ptr + 1); ++i) Buffer[i] = 0;
347 BufferSize = MultiByteToWideChar(ltype->cp, MB_PRECOMPOSED, (const char*)Buffer, 256, NULL, 0);
351 MultiByteToWideChar(ltype->cp, MB_PRECOMPOSED, (const char*)Buffer, 256, wbuffer, BufferSize);
360 GetStringTypeA(ltype->lc.id, CT_CTYPE1, (const char*)Buffer, 256, ctable);
363 BufferSize = MultiByteToWideChar(NativeCP, MB_PRECOMPOSED, (const char*)Buffer, 256, NULL, 0);
367 MultiByteToWideChar(NativeCP, MB_PRECOMPOSED, (const char*)Buffer, 256, wbuffer, BufferSize);
381 GetStringTypeA(ltype->lc.id, CT_CTYPE1, (const char*)Buffer, 256, ltype->ctable);
427 static int __ConvertDate(const char *NTDate, char *buffer, int buf_size)
1721 char* buffer; local
    [all...]

Completed in 1436 milliseconds

1 2