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

1 2 3 4 5 6 7 8 91011>>

  /hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/
TrustletSession.cpp 55 if (!buffers.empty()) {
56 LOG_W("%s: Mapped buffers still available %u", __func__, buffers.size());
58 for ( it = buffers.begin() ; it != buffers.end(); it++ )
61 buffers.clear();
91 if (buffers.find(pWsm->handle) != buffers.end()) {
95 buffers[pWsm->handle] = pWsm;
102 if (buffers.find(handle) == buffers.end())
    [all...]
TrustletSession.h 45 std::map<uint32_t, CWsm_ptr> buffers; member in class:TrustletSession
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
GLId.java 32 public synchronized static void glGenBuffers(int n, int[] buffers, int offset) {
34 buffers[offset + n] = sNextId++;
42 public synchronized static void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) {
43 gl.glDeleteBuffers(n, buffers, offset);
47 GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) {
48 gl11ep.glDeleteFramebuffersOES(n, buffers, offset);
  /libcore/luni/src/main/java/java/nio/channels/
GatheringByteChannel.java 23 * The interface for channels that can write a set of buffers in a single
30 * Writes bytes from all the given buffers to a channel.
32 * This method is equivalent to: {@code write(buffers, 0, buffers.length);}
34 * @param buffers
35 * the buffers containing bytes to be written.
49 * {@code buffers}.
56 public long write(ByteBuffer[] buffers) throws IOException;
60 * byte buffers, in order, starting at {@code buffers[offset]}. The numbe
    [all...]
ScatteringByteChannel.java 23 * The interface for channels that can read data into a set of buffers in a
30 * Reads bytes from this channel into the specified array of buffers.
32 * This method is equivalent to {@code read(buffers, 0, buffers.length);}
34 * @param buffers
35 * the array of byte buffers to store the bytes being read.
52 public long read(ByteBuffer[] buffers) throws IOException;
56 * buffers, in order, starting at {@code buffers[offset]}. The number of
62 * @param buffers
    [all...]
FileChannel.java 58 * <li>memory-mapping files into NIO buffers to provide efficient manipulation
388 * of buffers. This method attempts to read as many bytes as can be stored
397 * {@code read(buffers, 0, buffers.length);}
399 * @param buffers
400 * the array of byte buffers into which the bytes will be copied.
416 public final long read(ByteBuffer[] buffers) throws IOException {
417 return read(buffers, 0, buffers.length);
421 * Reads bytes from this file channel into a subset of the given buffers
    [all...]
  /gdk/samples/PhotoEditor/src/com/android/photoeditor/
FilterStack.java 64 // Use two photo buffers as in and out in turns to apply filters in the stack.
65 private final Photo[] buffers = new Photo[2]; field in class:FilterStack
100 for (int i = 0; i < buffers.length; i++) {
101 if (buffers[i] != null) {
102 buffers[i].clear();
103 buffers[i] = null;
110 buffers[target] = Photo.create(Bitmap.createBitmap(
111 buffers[other].width(), buffers[other].height(), Bitmap.Config.ARGB_8888));
115 // In/out buffers need redrawn by reloading source photo and re-applying filters
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/channels/
FileChannelTest.java 70 // Check that both direct and non-direct buffers work.
72 ByteBuffer[] buffers = new ByteBuffer[] { ByteBuffer.allocateDirect(4), ByteBuffer.allocate(4) }; local
73 assertEquals(8, fc.read(buffers));
75 assertEquals(8, buffers[0].limit() + buffers[1].limit());
77 buffers[0].flip();
78 buffers[0].get(bytes);
80 buffers[1].flip();
81 buffers[1].get(bytes);
88 // Check that both direct and non-direct buffers work
89 ByteBuffer[] buffers = new ByteBuffer[] { ByteBuffer.allocateDirect(4), ByteBuffer.allocate(4) }; local
    [all...]
  /libcore/luni/src/main/java/java/nio/
PipeImpl.java 82 public long read(ByteBuffer[] buffers) throws IOException {
83 return channel.read(buffers);
86 public long read(ByteBuffer[] buffers, int offset, int length) throws IOException {
87 return channel.read(buffers, offset, length);
117 public long write(ByteBuffer[] buffers) throws IOException {
118 return channel.write(buffers);
121 public long write(ByteBuffer[] buffers, int offset, int length) throws IOException {
122 return channel.write(buffers, offset, length);
FileChannelImpl.java 336 public long read(ByteBuffer[] buffers, int offset, int length) throws IOException {
337 Arrays.checkOffsetAndCount(buffers.length, offset, length);
340 return transferIoVec(new IoVec(buffers, offset, length, IoVec.Direction.READV));
501 public long write(ByteBuffer[] buffers, int offset, int length) throws IOException {
502 Arrays.checkOffsetAndCount(buffers.length, offset, length);
505 return transferIoVec(new IoVec(buffers, offset, length, IoVec.Direction.WRITEV));
509 * @param copyingIn true if we're copying data into the buffers (typically
511 * copying data out of the buffers (for a file/network write operation).
513 static int calculateTotalRemaining(ByteBuffer[] buffers, int offset, int length, boolean copyingIn) {
516 count += buffers[i].remaining()
    [all...]
  /frameworks/av/services/camera/libcameraservice/camera2/
BurstCapture.cpp 89 Vector<CpuConsumer::LockedBuffer*> buffers; local
90 buffers.push_back(imgBuffer);
91 buffers.push_back(imgEncoded);
94 status_t res = jpeg->start(buffers, 1);
98 return buffers[1];
  /external/qemu/audio/
winaudio.c 96 WAVEHDR buffers[ NUM_OUT_BUFFERS ]; member in struct:WinAudioOut
98 int write_count; /* available writable buffers count */
139 if ( s->buffers[i].dwUser != 0xFFFF ) {
141 s->waveout, &s->buffers[i], sizeof(s->buffers[i]) );
142 s->buffers[i].dwUser = 0xFFFF;
169 s->buffers[i].dwUser = 0xFFFF;
211 fprintf(stderr, "not enough memory for Windows audio buffers\n");
216 memset( &s->buffers[i], 0, sizeof(s->buffers[i]) );
347 WAVEHDR buffers[ NUM_IN_BUFFERS ]; member in struct:WinAudioIn
    [all...]
  /packages/apps/Email/src/org/apache/commons/io/output/
ByteArrayOutputStream.java 42 * additional buffers. This way no buffers need to be garbage collected and
56 /** The list of buffers, which grows and never reduces. */
57 private List<byte[]> buffers = new ArrayList<byte[]>(); field in class:ByteArrayOutputStream
60 /** The total count of bytes in all the filled buffers. */
98 return buffers.get(index);
108 if (currentBufferIndex < buffers.size() - 1) {
129 buffers.add(currentBuffer);
185 * internal buffers of this streams.
251 for (int i = 0; i < buffers.size(); i++) {
    [all...]
  /external/qemu/hw/
goldfish_pipe.c 349 pipeConnector_sendBuffers( void* opaque, const GoldfishPipeBuffer* buffers, int numBuffers )
352 const GoldfishPipeBuffer* buffers_limit = buffers + numBuffers;
359 while (buffers < buffers_limit) {
363 buffers[0].size, buffers[0].size, buffers[0].data);
365 if (buffers[0].size == 0) {
366 buffers++;
371 if (avail > buffers[0].size)
372 avail = buffers[0].size
    [all...]
goldfish_pipe.h 82 int (*sendBuffers)( void* pipe, const GoldfishPipeBuffer* buffers, int numBuffers );
85 int (*recvBuffers)( void* pipe, GoldfishPipeBuffer* buffers, int numBuffers );
  /external/chromium/net/socket/
ssl_client_socket_win.cc 1256 SecBuffer buffers[4]; local
1391 SecBuffer buffers[4]; local
    [all...]
  /frameworks/av/media/libmedia/
IStreamSource.cpp 59 virtual void setBuffers(const Vector<sp<IMemory> > &buffers) {
62 data.writeInt32(static_cast<int32_t>(buffers.size()));
63 for (size_t i = 0; i < buffers.size(); ++i) {
64 data.writeStrongBinder(buffers.itemAt(i)->asBinder());
103 Vector<sp<IMemory> > buffers; local
108 buffers.push(mem);
110 setBuffers(buffers);
  /development/tools/emulator/system/camera/fake-pipeline2/
JpegCompressor.h 19 * This class simulates a hardware JPEG compressor. It receives image buffers
49 // Start compressing COMPRESSED format buffers; JpegCompressor takes
50 // ownership of the Buffers vector.
51 status_t start(Buffers *buffers,
73 Buffers *mBuffers;
  /frameworks/av/include/media/
IStreamSource.h 33 virtual void setBuffers(const Vector<sp<IMemory> > &buffers) = 0;
  /frameworks/native/opengl/libagl/
BufferObjectManager.cpp 85 void EGLBufferObjectManager::deleteBuffers(GLsizei n, const GLuint* buffers)
89 const GLuint t = *buffers++;
  /system/core/libpixelflinger/
clear.cpp 107 // unexsiting buffers have no effect...
108 if (c->state.buffers.color.format == 0)
111 if (c->state.buffers.depth.format == 0)
114 if (c->state.buffers.stencil.format == 0)
122 c->state.buffers.color.format,
131 memset2d(c, c->state.buffers.color, packed, l, t, w, h);
140 memset2d(c, c->state.buffers.depth, packed, l, t, w, h);
  /frameworks/native/libs/ui/
FramebufferNativeWindow.cpp 70 * Currently it is pretty simple, it manages only two buffers (the front and
119 buffers[i] = new NativeBuffer(
127 GRALLOC_USAGE_HW_FB, &buffers[i]->handle, &buffers[i]->stride);
167 if (buffers[i] != NULL) {
168 grDev->free(grDev, buffers[i]->handle);
250 ALOG_ASSERT(self->buffers[index] != self->front);
256 *buffer = self->buffers[index].get();
  /external/webkit/Source/WebCore/platform/audio/mac/
AudioDestinationMac.cpp 153 AudioBuffer* buffers = ioData->mBuffers; local
154 m_renderBus.setChannelMemory(0, (float*)buffers[0].mData, numberOfFrames);
155 m_renderBus.setChannelMemory(1, (float*)buffers[1].mData, numberOfFrames);
  /external/qemu/android/
hw-pipe-net.c 249 netPipe_sendBuffers( void* opaque, const GoldfishPipeBuffer* buffers, int numBuffers )
255 const GoldfishPipeBuffer* buff = buffers;
265 buff = buffers;
307 netPipe_recvBuffers( void* opaque, GoldfishPipeBuffer* buffers, int numBuffers )
313 GoldfishPipeBuffer* buff = buffers;
319 buff = buffers;
  /frameworks/av/cmds/stagefright/
stream.cpp 49 virtual void setBuffers(const Vector<sp<IMemory> > &buffers);
86 void MyStreamSource::setBuffers(const Vector<sp<IMemory> > &buffers) {
87 mBuffers = buffers;
129 virtual void setBuffers(const Vector<sp<IMemory> > &buffers);
195 const Vector<sp<IMemory> > &buffers) {
196 mBuffers = buffers;

Completed in 429 milliseconds

1 2 3 4 5 6 7 8 91011>>