/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
pb_buffer_malloc.c | 53 malloc_buffer(struct pb_buffer *buf) 55 assert(buf); 56 if (!buf) 58 assert(buf->vtbl == &malloc_buffer_vtbl); 59 return (struct malloc_buffer *)buf; 64 malloc_buffer_destroy(struct pb_buffer *buf) 66 align_free(malloc_buffer(buf)->data); 67 FREE(buf); 72 malloc_buffer_map(struct pb_buffer *buf, 76 return malloc_buffer(buf)->data 130 struct malloc_buffer *buf; local [all...] |
/hardware/intel/img/hwcomposer/ips/common/ |
Wsbm.h | 34 bool allocateTTMBuffer(uint32_t size, uint32_t align,void ** buf); 35 bool allocateTTMBufferUB(uint32_t size, uint32_t align, void ** buf, void *user_pt); 36 bool destroyTTMBuffer(void * buf); 37 void * getCPUAddress(void * buf); 38 uint32_t getGttOffset(void * buf); 39 bool wrapTTMBuffer(uint32_t handle, void **buf); 40 bool unreferenceTTMBuffer(void *buf); 41 bool waitIdleTTMBuffer(void *buf); 42 uint32_t getKBufHandle(void *buf);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
DirectCharBufferTest.java | 24 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*2).asCharBuffer(); 25 super.loadTestData1(buf); 26 baseBuf = buf; 30 buf = null; 35 assertFalse(buf.hasArray()); 40 buf.array(); 48 buf.arrayOffset(); 55 assertTrue(buf.isDirect()); 59 assertEquals(ByteOrder.BIG_ENDIAN, buf.order());
|
DirectDoubleBufferTest.java | 23 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*8).asDoubleBuffer(); 24 loadTestData1(buf); 25 baseBuf = buf; 29 buf = null; 34 assertFalse(buf.hasArray()); 39 buf.array(); 47 buf.arrayOffset(); 54 assertTrue(buf.isDirect()); 58 assertEquals(ByteOrder.BIG_ENDIAN, buf.order());
|
DirectFloatBufferTest.java | 23 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*4).asFloatBuffer(); 24 loadTestData1(buf); 25 baseBuf = buf; 29 buf = null; 34 assertFalse(buf.hasArray()); 39 buf.array(); 47 buf.arrayOffset(); 55 assertTrue(buf.isDirect()); 59 assertEquals(ByteOrder.BIG_ENDIAN, buf.order());
|
DirectIntBufferTest.java | 23 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*4).asIntBuffer(); 24 loadTestData1(buf); 25 baseBuf = buf; 29 buf = null; 34 assertFalse(buf.hasArray()); 39 buf.array(); 47 buf.arrayOffset(); 55 assertTrue(buf.isDirect()); 59 assertEquals(ByteOrder.BIG_ENDIAN, buf.order());
|
DirectLongBufferTest.java | 24 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*8).asLongBuffer(); 25 loadTestData1(buf); 26 baseBuf = buf; 30 buf = null; 35 assertFalse(buf.hasArray()); 40 buf.array(); 48 buf.arrayOffset(); 56 assertTrue(buf.isDirect()); 60 assertEquals(ByteOrder.BIG_ENDIAN, buf.order());
|
DirectShortBufferTest.java | 23 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*2).asShortBuffer(); 24 loadTestData1(buf); 25 baseBuf = buf; 29 buf = null; 34 assertFalse(buf.hasArray()); 39 buf.array(); 47 buf.arrayOffset(); 55 assertTrue(buf.isDirect()); 59 assertEquals(ByteOrder.BIG_ENDIAN, buf.order());
|
ReadOnlyCharBufferTest.java | 25 loadTestData1(buf); 26 buf = buf.asReadOnlyBuffer(); 27 baseBuf = buf; 31 buf = null; 37 assertTrue(buf.isReadOnly()); 41 assertFalse(buf.hasArray()); 46 buf.array(); 53 CharBuffer duplicate = buf.duplicate(); 54 assertEquals(buf.hashCode(), duplicate.hashCode()) [all...] |
ReadOnlyDirectByteBufferTest.java | 24 buf = buf.asReadOnlyBuffer(); 25 baseBuf = buf; 33 assertTrue(buf.isReadOnly()); 37 assertFalse(buf.hasArray());
|
ReadOnlyHeapByteBufferTest.java | 24 buf = buf.asReadOnlyBuffer(); 25 baseBuf = buf; 33 assertTrue(buf.isReadOnly()); 37 assertFalse(buf.hasArray());
|
ReadOnlyHeapCharBufferTest.java | 26 buf = CharBuffer.allocate(BUFFER_LENGTH); 27 super.loadTestData1(buf); 28 buf = buf.asReadOnlyBuffer(); 29 baseBuf = buf;
|
ReadOnlyHeapDoubleBufferTest.java | 24 buf = DoubleBuffer.allocate(BUFFER_LENGTH); 25 super.loadTestData1(buf); 26 buf = buf.asReadOnlyBuffer(); 27 baseBuf = buf;
|
ReadOnlyHeapFloatBufferTest.java | 23 buf = FloatBuffer.allocate(BUFFER_LENGTH); 24 super.loadTestData1(buf); 25 buf = buf.asReadOnlyBuffer(); 26 baseBuf = buf;
|
ReadOnlyHeapIntBufferTest.java | 23 buf = IntBuffer.allocate(BUFFER_LENGTH); 24 super.loadTestData1(buf); 25 buf = buf.asReadOnlyBuffer(); 26 baseBuf = buf;
|
ReadOnlyHeapLongBufferTest.java | 23 buf = LongBuffer.allocate(BUFFER_LENGTH); 24 super.loadTestData1(buf); 25 buf = buf.asReadOnlyBuffer(); 26 baseBuf = buf;
|
ReadOnlyHeapShortBufferTest.java | 23 buf = ShortBuffer.allocate(BUFFER_LENGTH); 24 super.loadTestData1(buf); 25 buf = buf.asReadOnlyBuffer(); 26 baseBuf = buf;
|
ReadOnlyWrappedByteBufferTest.java | 24 buf = buf.asReadOnlyBuffer(); 25 baseBuf = buf; 33 assertTrue(buf.isReadOnly()); 37 assertFalse(buf.hasArray());
|
ReadOnlyWrappedCharBufferTest1.java | 25 buf = CharBuffer.wrap(new char[BUFFER_LENGTH]); 26 super.loadTestData1(buf); 27 buf = buf.asReadOnlyBuffer(); 28 baseBuf = buf;
|
ReadOnlyWrappedDoubleBufferTest.java | 23 buf = DoubleBuffer.wrap(new double[BUFFER_LENGTH]); 24 super.loadTestData1(buf); 25 buf = buf.asReadOnlyBuffer(); 26 baseBuf = buf;
|
ReadOnlyWrappedFloatBufferTest.java | 23 buf = FloatBuffer.wrap(new float[BUFFER_LENGTH]); 24 super.loadTestData1(buf); 25 buf = buf.asReadOnlyBuffer(); 26 baseBuf = buf;
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
ByteQueue.java | 26 private UnboundedFifoByteBuffer buf; field in class:ByteQueue 30 buf = new UnboundedFifoByteBuffer(); 34 buf = new UnboundedFifoByteBuffer(initialCapacity); 39 buf.add(b); 43 return buf.remove(); 47 return buf.size(); 52 buf = new UnboundedFifoByteBuffer(initialCapacity); 54 buf = new UnboundedFifoByteBuffer(); 58 return buf.iterator();
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_debug_describe.h | 40 void debug_describe_reference(char* buf, const struct pipe_reference*ptr); 41 void debug_describe_resource(char* buf, const struct pipe_resource *ptr); 42 void debug_describe_surface(char* buf, const struct pipe_surface *ptr); 43 void debug_describe_sampler_view(char* buf, const struct pipe_sampler_view *ptr); 44 void debug_describe_so_target(char* buf,
|
/external/clang/test/Analysis/ |
builtin-functions.cpp | 19 char buf[10]; local 20 clang_analyzer_eval(__builtin_object_size(&buf[i++], 0) == sizeof(buf)); // expected-warning{{FALSE}} 21 clang_analyzer_eval(__builtin_object_size(&buf[++i], 0) == sizeof(buf) - 1); // expected-warning{{FALSE}}
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_debug_describe.h | 40 void debug_describe_reference(char* buf, const struct pipe_reference*ptr); 41 void debug_describe_resource(char* buf, const struct pipe_resource *ptr); 42 void debug_describe_surface(char* buf, const struct pipe_surface *ptr); 43 void debug_describe_sampler_view(char* buf, const struct pipe_sampler_view *ptr); 44 void debug_describe_so_target(char* buf,
|