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

1 2 3 4 5 6 7

  /frameworks/base/opengl/java/android/opengl/
ETC1.java 19 import java.nio.Buffer;
57 * @param in a native order direct buffer of size DECODED_BLOCK_SIZE that represent a
64 * @param out a native order direct buffer of size ENCODED_BLOCK_SIZE that receives the
68 public static native void encodeBlock(Buffer in, int validPixelMask, Buffer out);
73 * @param in a native order direct buffer of size ENCODED_BLOCK_SIZE that contains the
76 * @param out a native order direct buffer of size DECODED_BLOCK_SIZE that will receive
81 public static native void decodeBlock(Buffer in, Buffer out);
90 * @param in a native order direct buffer of the image data. Formatted such tha
    [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...]
buffer.c 17 #define LOG_TAG "buffer"
24 #include "buffer.h"
27 Buffer* bufferCreate(size_t capacity) {
28 Buffer* buffer = malloc(sizeof(Buffer)); local
29 if (buffer == NULL) {
32 buffer->capacity = capacity;
33 buffer->expected = 0;
34 buffer->data = malloc(capacity)
48 Buffer* buffer = malloc(sizeof(Buffer)); local
    [all...]
  /frameworks/base/services/audioflinger/
AudioBufferProvider.h 31 struct Buffer {
42 virtual status_t getNextBuffer(Buffer* buffer) = 0;
43 virtual void releaseBuffer(Buffer* buffer) = 0;
  /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;
  /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...]
NIOAccess.java 29 * Buffer starting at the Buffer's current position, or 0 if the
30 * Buffer is not backed by native heap storage. Note that this is
34 * @param Buffer b the Buffer to be queried
35 * @return the native pointer to the Buffer's data at its current
38 static long getBasePointer(Buffer b) {
50 * Returns the number of bytes remaining in the given Buffer. That is,
52 * of this Buffer.
54 * @param Buffer b the Buffer to be querie
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/nio/
AddressUtil.java 25 import java.nio.Buffer;
31 * Gets the start address of a direct buffer.
40 * the direct buffer whose address shall be returned must not be
42 * @return the address of the buffer given, or zero if the buffer is not a
43 * direct Buffer.
45 public static int getDirectBufferAddress(Buffer buf) {
  /external/libnfc-nxp/src/
phFriNfc_NdefRecord.c 52 * Get a specific NDEF record from the data, provided by the caller. The data is a buffer holding
55 * \param[in] Buffer The data buffer holding the NDEF Message, as provided by the caller.
87 NFCSTATUS phFriNfc_NdefRecord_GetRecords( uint8_t *Buffer,
105 if (Buffer == NULL || BufferLength == 0 || NumberOfRawRecords == NULL)
135 if ((*Buffer & PH_FRINFC_NDEFRECORD_FLAGS_MB) !=
148 if ((*Buffer & PH_FRINFC_NDEFRECORD_TNFBYTE_MASK) ==
160 if ((*Buffer & PH_FRINFC_NDEFRECORD_FLAGS_MB) == PH_FRINFC_NDEFRECORD_FLAGS_MB &&
161 (*Buffer & PH_FRINFC_NDEFRECORD_TNF_UNCHANGED) == PH_FRINFC_NDEFRECORD_TNF_UNCHANGED)
171 if ( (*Buffer & PH_FRINFC_NDEFRECORD_FLAGS_MB) == PH_FRINFC_NDEFRECORD_FLAGS_MB &
    [all...]
  /hardware/ril/mock-ril/src/cpp/
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...]
requests.h 32 Buffer *buffer_;
35 Request(const int request, const Buffer *buffer, const RIL_Token token) :
39 Set(request, buffer, token);
47 const Buffer *buffer, const RIL_Token token) {
50 buffer_ = (Buffer *)buffer;
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...]
requests.cpp 51 * Request has no data so create an empty Buffer
53 int ReqWithNoData(Buffer **pBuffer,
56 static Buffer *emptyBuffer = Buffer::New(0L);
69 int ReqEnterSimPin(Buffer **pBuffer,
72 Buffer *buffer; local
82 buffer = Buffer::New(req->ByteSize());
83 req->SerializeToArray(buffer->data(), buffer->length())
98 Buffer *buffer; local
157 Buffer *buffer; local
183 Buffer *buffer; local
211 Buffer *buffer; local
239 Buffer *buffer; local
347 Buffer *buffer = NULL; local
445 Buffer *buffer = NULL; local
470 char *buffer; local
475 Buffer *buffer = NULL; local
    [all...]
  /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/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();
  /frameworks/base/services/surfaceflinger/
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...]
  /hardware/ti/omap3/omx/system/src/openmax_il/perf/inc/
perf.h 42 * logged into a logging buffer.
127 or destination of buffer transfers and/or commands
306 * used to mark when a buffer (or frame) is to be sent to
312 * Buffer (or frame) address(es).
314 * size of buffer(s) that is sent regardless if it is sent
326 __PERF_FN(Buffer)(hObject, \
338 __PERF_FN(Buffer)(hObject, \
351 __PERF_FN(Buffer)(hObject, \
364 __PERF_FN(Buffer)(hObject, \
391 * used to mark when a buffer (or frame) has been sent t
    [all...]
  /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...]
  /frameworks/base/media/libstagefright/codecs/aacenc/SampleCode/
AAC_E_SAMPLES.c 220 inData.Buffer = inBuf;
221 bytesLeft = ReadFile2Buf(infile,inData.Buffer,READ_SIZE);
228 outData.Buffer = outBuf;
236 outData.Buffer = outBuf;
249 fwrite(outData.Buffer, 1, outData.Length, outfile);
263 inData.Buffer = inBuf;
  /hardware/ti/wlan/wl1271/platforms/os/linux/src/
osRgstry_parser.c 78 os_memoryCopy( NULL, DestinationString->Buffer, SourceString->Buffer, SourceString->Length );
87 /* Search sub-string in memory buffer */
119 char *name = keyword->Buffer;
173 pNdisParm->ParameterData.StringData.Buffer = (TI_UINT8*)&pNdisParm->StringBuffer[0];
180 memcpy(pNdisParm->ParameterData.StringData.Buffer, buf, pNdisParm->ParameterData.StringData.Length);
181 print_info("NdisReadConfiguration(): %s = (%d)'%s'\n", name, pNdisParm->ParameterData.StringData.Length, pNdisParm->ParameterData.StringData.Buffer);
  /system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/
osRgstry_parser.c 74 os_memoryCopy( NULL, DestinationString->Buffer, SourceString->Buffer, SourceString->Length );
83 /* Search sub-string in memory buffer */
116 char *name = keyword->Buffer;
169 pNdisParm->ParameterData.StringData.Buffer = (PUCHAR)&pNdisParm->StringBuffer[0];
176 memcpy(pNdisParm->ParameterData.StringData.Buffer, buf, pNdisParm->ParameterData.StringData.Length);
177 print_info("NdisReadConfiguration(): %s = (%d)'%s'\n", name, pNdisParm->ParameterData.StringData.Length, pNdisParm->ParameterData.StringData.Buffer);
  /system/wlan/ti/wilink_6_1/platforms/os/linux/src/
osRgstry_parser.c 78 os_memoryCopy( NULL, DestinationString->Buffer, SourceString->Buffer, SourceString->Length );
87 /* Search sub-string in memory buffer */
119 char *name = keyword->Buffer;
172 pNdisParm->ParameterData.StringData.Buffer = (TI_UINT8*)&pNdisParm->StringBuffer[0];
179 memcpy(pNdisParm->ParameterData.StringData.Buffer, buf, pNdisParm->ParameterData.StringData.Length);
180 print_info("NdisReadConfiguration(): %s = (%d)'%s'\n", name, pNdisParm->ParameterData.StringData.Length, pNdisParm->ParameterData.StringData.Buffer);
  /hardware/ti/wlan/wl1271/TWD/FW_Transfer/Export_Inc/
fwDebug_api.h 97 TI_UINT8* Buffer,
104 TI_UINT8* Buffer,
  /system/wlan/ti/wilink_6_1/TWD/FW_Transfer/Export_Inc/
fwDebug_api.h 97 TI_UINT8* Buffer,
104 TI_UINT8* Buffer,
  /frameworks/base/opengl/java/com/google/android/gles_jni/
GLImpl.java 28 import java.nio.Buffer;
44 Buffer _colorPointer = null;
45 Buffer _normalPointer = null;
46 Buffer _texCoordPointer = null;
47 Buffer _vertexPointer = null;
48 Buffer _pointSizePointerOES = null;
49 Buffer _matrixIndexPointerOES = null;
50 Buffer _weightPointerOES = null;
61 public void glGetPointerv(int pname, java.nio.Buffer[] params) {
78 "Application %s (SDK target %d) called a GL11 Pointer method with an indirect Buffer."
    [all...]

Completed in 569 milliseconds

1 2 3 4 5 6 7