HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 951 - 975 of 9473) sorted by null

<<31323334353637383940>>

  /frameworks/av/services/camera/libcameraservice/device3/
Camera3InputStream.h 58 const camera3_stream_buffer &buffer,
68 virtual status_t getInputBufferLocked(camera3_stream_buffer *buffer);
70 const camera3_stream_buffer &buffer);
Camera3ZslStream.h 33 * most output buffers, and when directed, pushes a buffer back to the HAL for
51 * Locate a buffer matching this timestamp in the RingBufferConsumer,
88 virtual status_t getInputBufferLocked(camera3_stream_buffer *buffer);
90 const camera3_stream_buffer &buffer);
94 const camera3_stream_buffer &buffer,
  /frameworks/base/core/java/android/content/pm/
MacAuthenticatedInputStream.java 71 public int read(byte[] buffer, int offset, int count) throws IOException {
72 int numRead = super.read(buffer, offset, count);
74 mMac.update(buffer, offset, numRead);
  /frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
SocketConnect.java 24 final byte[] buffer = new byte[512];
28 int r = from.read(buffer);
32 to.write(buffer, 0, r);
  /hardware/samsung_slsi/exynos5/include/
ion.h 38 * IMSYNC_DEV_TO_READ: Device only reads the buffer
39 * IMSYNC_DEV_TO_WRITE: Device may writes to the buffer
40 * IMSYNC_DEV_TO_RW: Device reads and writes to the buffer
42 * IMSYNC_SYNC_FOR_DEV: ion_msync() for device to access the buffer
43 * IMSYNC_SYNC_FOR_CPU: ion_msync() for CPU to access the buffer after device
71 * An identifier of a buffer allocated from ION. You must obtain to access
72 * a buffer allocated from ION. If you have an effective ion_buffer, you have
74 * - To access the buffer, you can request an address (user virtual address)
75 * of the buffer with ion_map().
76 * - To pass the buffer to the kernel, you can pass the ion_buffer to th
    [all...]
  /hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
Connection.h 81 * @param buffer Pointer to destination buffer.
88 virtual size_t readData(void *buffer, uint32_t len, int32_t timeout);
93 * @param buffer Pointer to destination buffer.
97 virtual size_t readData(void *buffer, uint32_t len);
102 * @param buffer Pointer to source buffer.
107 virtual size_t writeData(void *buffer, uint32_t len);
  /libcore/luni/src/main/java/java/io/
FilterOutputStream.java 92 * Writes {@code count} bytes from the byte array {@code buffer} starting at
95 * @param buffer
96 * the buffer to write.
98 * the index of the first byte in {@code buffer} to write.
100 * the number of bytes in {@code buffer} to write.
104 * {@code buffer}.
109 public void write(byte[] buffer, int offset, int length) throws IOException {
110 Arrays.checkOffsetAndCount(buffer.length, offset, length);
114 write(buffer[offset + i]);
  /libcore/luni/src/main/java/java/security/
DigestInputStream.java 99 * Reads up to {@code byteCount} bytes into {@code buffer}, starting at
112 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {
113 int bytesRead = in.read(buffer, byteOffset, byteCount);
118 digest.update(buffer, byteOffset, bytesRead);
  /libcore/luni/src/main/java/java/util/zip/
CheckedInputStream.java 72 * into {@code buffer}, starting at offset {@code byteOffset}. The checksum is
81 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {
82 int bytesRead = in.read(buffer, byteOffset, byteCount);
84 check.update(buffer, byteOffset, bytesRead);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/storage.iterator/
raw_storag_iterator.pass.cpp 34 Storage buffer; local
35 std::raw_storage_iterator<A*, A> it((A*)&buffer);
40 A* ap = (A*)&buffer + i;
  /ndk/sources/host-tools/sed-4.2.1/sed/
utils.h 43 struct buffer *init_buffer P_((void));
44 char *get_buffer P_((struct buffer *b));
45 size_t size_buffer P_((struct buffer *b));
46 char *add_buffer P_((struct buffer *b, const char *p, size_t n));
47 char *add1_buffer P_((struct buffer *b, int ch));
48 void free_buffer P_((struct buffer *b));
  /packages/apps/Nfc/src/com/android/nfc/snep/
SnepMessenger.java 45 byte[] buffer = msg.toByteArray();
52 if (DBG) Log.d(TAG, "about to send a " + buffer.length + " byte message");
55 int length = Math.min(buffer.length, mFragmentLength);
56 byte[] tmpBuffer = Arrays.copyOfRange(buffer, 0, length);
60 if (length == buffer.length) {
82 while (offset < buffer.length) {
83 length = Math.min(buffer.length - offset, mFragmentLength);
84 tmpBuffer = Arrays.copyOfRange(buffer, offset, offset + length);
92 ByteArrayOutputStream buffer = new ByteArrayOutputStream(mFragmentLength); local
127 buffer.write(partial, 0, size)
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/
lbxzlib.h 55 extern int ZlibStuffInput ( int fd, unsigned char *buffer, int buflen );
58 extern int ZlibWrite ( int fd, unsigned char *buffer, int buflen );
60 extern int ZlibRead ( int fd, unsigned char *buffer, int buflen );
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/
lbxzlib.h 55 extern int ZlibStuffInput ( int fd, unsigned char *buffer, int buflen );
58 extern int ZlibWrite ( int fd, unsigned char *buffer, int buflen );
60 extern int ZlibRead ( int fd, unsigned char *buffer, int buflen );
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/
lbxzlib.h 55 extern int ZlibStuffInput ( int fd, unsigned char *buffer, int buflen );
58 extern int ZlibWrite ( int fd, unsigned char *buffer, int buflen );
60 extern int ZlibRead ( int fd, unsigned char *buffer, int buflen );
  /external/chromium/webkit/glue/media/
buffered_resource_loader_unittest.cc 209 void ReadLoader(int64 position, int size, uint8* buffer) {
210 loader_->Read(position, size, buffer,
214 // Verifis that data in buffer[0...size] is equal to data_[pos...pos+size].
215 void VerifyBuffer(uint8* buffer, int pos, int size) {
216 EXPECT_EQ(0, memcmp(buffer, data_ + pos, size));
332 uint8 buffer[10]; local
338 ReadLoader(10, 10, buffer);
339 VerifyBuffer(buffer, 10, 10);
344 ReadLoader(20, 5, buffer);
345 VerifyBuffer(buffer, 20, 5)
383 uint8 buffer[10]; local
412 uint8 buffer[10]; local
431 uint8 buffer[10]; local
453 uint8 buffer[10]; local
484 uint8 buffer[10]; local
    [all...]
  /libcore/luni/src/main/java/java/nio/
FileChannelImpl.java 279 public int read(ByteBuffer buffer, long position) throws IOException {
283 return readImpl(buffer, position);
286 public int read(ByteBuffer buffer) throws IOException {
287 return readImpl(buffer, -1);
290 private int readImpl(ByteBuffer buffer, long position) throws IOException {
291 buffer.checkWritable();
294 if (!buffer.hasRemaining()) {
303 bytesRead = Libcore.os.read(fd, buffer);
305 bytesRead = Libcore.os.pread(fd, buffer, position);
323 buffer.position(buffer.position() + bytesRead)
385 ByteBuffer buffer = fileSrc.map(MapMode.READ_ONLY, filePosition, count); local
395 ByteBuffer buffer = ByteBuffer.allocate((int) count); local
442 ByteBuffer buffer = null; local
    [all...]
  /cts/suite/audio_quality/lib/src/audio/
AudioPlaybackLocal.cpp 35 #include "audio/Buffer.h"
82 bool AudioPlaybackLocal::doPlaybackOrRecord(android::sp<Buffer>& buffer)
84 if (buffer->amountToHandle() < (size_t)mSizes) {
85 mSizes = buffer->amountToHandle();
87 if (pcm_write(mPcmHandle, buffer->getUnhanledData(), mSizes)) {
91 buffer->increaseHandled(mSizes);
92 LOGV("AudioPlaybackLocal::doPlaybackOrRecord %d", buffer->amountHandled());
  /external/apache-http/src/org/apache/http/impl/auth/
BasicScheme.java 173 CharArrayBuffer buffer = new CharArrayBuffer(32); local
175 buffer.append(AUTH.PROXY_AUTH_RESP);
177 buffer.append(AUTH.WWW_AUTH_RESP);
179 buffer.append(": Basic ");
180 buffer.append(base64password, 0, base64password.length);
182 return new BufferedHeader(buffer);
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/win/
FontCustomPlatformDataWin.cpp 110 PassOwnPtr<FontCustomPlatformData> FontCustomPlatformData::create(SharedBuffer* buffer)
112 ASSERT_ARG(buffer, buffer);
114 OpenTypeSanitizer sanitizer(buffer);
118 buffer = transcodeBuffer.get();
124 HANDLE fontReference = renameAndActivateFont(buffer, fontName);
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-old.cc 188 table_func (void *font, HB_Tag tag, HB_Byte *buffer, HB_UInt *length)
194 memcpy (buffer, hb_blob_get_data (blob, NULL), MIN (capacity, *length));
274 hb_buffer_t *buffer,
282 bool backward = HB_DIRECTION_IS_BACKWARD (buffer->props.direction);
287 char *scratch = (char *) buffer->get_scratch_buffer (&scratch_size);
292 for (unsigned int i = 0; i < buffer->len; i++) {
293 hb_codepoint_t c = buffer->info[i].codepoint;
294 buffer->info[i].utf16_index() = chars_len;
319 item.item.script = hb_old_script_from_script (buffer->props.script);
352 buffer->ensure (buffer->allocated * 2)
    [all...]
  /external/chromium_org/third_party/skia/include/core/
SkPathEffect.h 110 SkPathEffect(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
163 SkComposePathEffect(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
194 SkSumPathEffect(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
  /external/chromium_org/third_party/skia/src/gpu/
GrBufferAllocPool.h 30 * At creation time a minimum per-buffer size can be specified. Additionally,
113 * Returns a block of memory to hold data. A buffer designated to hold the
114 * data is given to the caller. The buffer may or may not be locked. The
122 * buffer at the offset indicated by offset. Until that time it may be
123 * in temporary storage and/or the buffer may be locked.
126 * @param alignment alignment constraint from start of buffer
127 * @param buffer returns the buffer that will hold the data.
128 * @param offset returns the offset into buffer of the data.
133 const GrGeometryBuffer** buffer,
    [all...]
  /external/harfbuzz_ng/src/
hb-old.cc 188 table_func (void *font, HB_Tag tag, HB_Byte *buffer, HB_UInt *length)
194 memcpy (buffer, hb_blob_get_data (blob, NULL), MIN (capacity, *length));
274 hb_buffer_t *buffer,
282 bool backward = HB_DIRECTION_IS_BACKWARD (buffer->props.direction);
287 char *scratch = (char *) buffer->get_scratch_buffer (&scratch_size);
292 for (unsigned int i = 0; i < buffer->len; i++) {
293 hb_codepoint_t c = buffer->info[i].codepoint;
294 buffer->info[i].utf16_index() = chars_len;
319 item.item.script = hb_old_script_from_script (buffer->props.script);
352 buffer->ensure (buffer->allocated * 2)
    [all...]
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/tcp/
NioEndpoint.java 126 ByteBuffer buffer; local
128 buffer = data;
130 // Copy the buffer
131 buffer = ByteBuffer.allocate(data.remaining());
132 buffer.put(data);
133 buffer.flip();
137 outbound.add(buffer);
145 * buffer for writing.
153 * Called by the SelectorKernel when the top buffer

Completed in 2056 milliseconds

<<31323334353637383940>>