/frameworks/base/services/audioflinger/ |
AudioBufferProvider.h | 31 struct Buffer { 42 virtual status_t getNextBuffer(Buffer* buffer) = 0; 43 virtual void releaseBuffer(Buffer* buffer) = 0;
|
/hardware/ril/mock-ril/src/cpp/ |
node_buffer.h | 33 /* A buffer is a chunk of memory stored outside the V8 heap, mirrored by an 39 * buffer.asciiSlide(0, 3) 41 * // returns another buffer - no memory is copied 42 * buffer.slice(0, 3) 44 * Interally, each javascript buffer object is backed by a "struct buffer" 45 * object. These "struct buffer" objects are either a root buffer (in the 46 * case that buffer->root == NULL) or slice objects (in which case 47 * buffer->root != NULL). A root buffer is only GCed once all its slice [all...] |
node_buffer.cpp | 79 Persistent<FunctionTemplate> Buffer::constructor_template; 82 // Each javascript Buffer object is backed by a Blob object. 131 // When someone calls buffer.asciiSlice, data is not copied. Instead V8 134 friend class Buffer; 136 AsciiSliceExt(Buffer *parent, size_t start, size_t end) { 163 Buffer* Buffer::New(size_t size) { 164 DBG("Buffer::New(size) E"); 170 DBG("Buffer::New(size) X"); 171 return ObjectWrap::Unwrap<Buffer>(b) 179 Buffer *buffer; local 423 Buffer *buffer = ObjectWrap::Unwrap<Buffer>(args.This()); local 465 Buffer *buffer = ObjectWrap::Unwrap<Buffer>(args.This()); local 497 Buffer *buffer = ObjectWrap::Unwrap<Buffer>(args.This()); local 536 Buffer *buffer = ObjectWrap::Unwrap<Buffer>(args.This()); local [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);
|
/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( \
|
/libcore/luni/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...] |
/frameworks/base/services/surfaceflinger/ |
LayerBuffer.cpp | 168 * This creates a "buffer" source for this surface 264 // LayerBuffer::Buffer 267 LayerBuffer::Buffer::Buffer(const ISurface::BufferHeap& buffers, 291 // we can fail here is the passed buffer is purely software 296 LayerBuffer::Buffer::~Buffer() 409 "invalid buffer (offset=%d, size=%d, heap-size=%d", 416 sp<Buffer> buffer; local 547 sp<GraphicBuffer> buffer = new GraphicBuffer( local [all...] |
LayerBuffer.h | 32 class Buffer; 99 class Buffer : public LightRefBase<Buffer> { 101 Buffer(const ISurface::BufferHeap& buffers, 113 friend class LightRefBase<Buffer>; 114 Buffer& operator = (const Buffer& rhs); 115 Buffer(const Buffer& rhs); 116 ~Buffer(); [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_MifStdFormat.c | 46 * send buffer for transceive function 344 /* Block number in send buffer */ 349 /* Depending on the different state, fill the send buffer */ 353 /* Depending on the authentication state, fill the send buffer */ 358 /* Fill send buffer with the default key */ 363 /* Fill send buffer with NFC forum sector key */ 368 /* Fill send buffer with NFC forum sector key */ 374 /* Fill send buffer with MAD sector key */ 392 /* Fill send buffer for writing sector trailer */ 398 /* Copy the relevant sector trailer value in the buffer */ [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
Pipeline.java | 35 * Input class for the pipelined parser. Buffer all bytes read from the socket 46 private Buffer currentBuffer; 86 class Buffer { 93 public Buffer(byte[] bytes, int length) { 134 Buffer buff = new Buffer(bytes, length); 145 Buffer buff = new Buffer(bytes, bytes.length); 182 currentBuffer = (Buffer) this.buffList.removeFirst();
|
/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 133 * frameCount: Total size of track PCM buffer in frames. This defines the 140 * frames are ready in record track output buffer. 197 * This includes the latency due to AudioRecord buffer size 270 * 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 134 * frameCount: Total size of track PCM buffer in frames. This defines the 140 * frames have been comsumed from track input buffer. 156 * The PCM data to be rendered by AudioTrack is passed in a shared memory buffer [all...] |
/frameworks/base/media/libstagefright/codecs/common/include/ |
voType.h | 187 * General data buffer, used as input or output.
190 VO_PBYTE Buffer; /*!< Buffer pointer */
191 VO_U32 Length; /*!< Buffer size in byte */
192 VO_S64 Time; /*!< The time of the buffer */
211 VO_PTR memData; /*!<a pointer to VO_MEM_OPERATOR or a preallocated buffer */
|
/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...] |
/device/samsung/crespo/libaudio/ |
AudioHardwareALSA.h | 113 unsigned int bufferSize; // Size of sample buffer 114 unsigned int periodSize; // Size of sample buffer 195 virtual ssize_t write(const void *buffer, size_t bytes); 222 struct Buffer { 233 virtual status_t getNextBuffer(Buffer* buffer) = 0; 234 virtual void releaseBuffer(Buffer* buffer) = 0; 266 virtual ssize_t read(void* buffer, ssize_t bytes); 283 virtual status_t getNextBuffer(ALSABufferProvider::Buffer* buffer) [all...] |
/device/samsung/crespo/libaudio2/ |
AudioHardware.h | 47 // Kernel pcm out buffer size in frames at 44.1kHz 51 // Default audio output buffer size in bytes 62 // Kernel pcm in buffer size in frames at 44.1kHz (before resampling) 66 // Default audio input buffer size in bytes (8kHz mono) 191 virtual ssize_t write(const void* buffer, size_t bytes); 233 struct Buffer { 244 virtual status_t getNextBuffer(Buffer* buffer) = 0; 245 virtual void releaseBuffer(Buffer* buffer) = 0 [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...] |