HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 1376 - 1400 of 5558) sorted by null

<<51525354555657585960>>

  /frameworks/av/services/camera/libcameraservice/camera3/
Camera3IOStreamBase.h 55 // Last received output buffer's timestamp
62 const camera3_stream_buffer &buffer,
67 const camera3_stream_buffer &buffer,
88 // Hand out the buffer to a native location,
89 // incrementing the internal refcount and dequeued buffer count
90 void handoutBufferLocked(camera3_stream_buffer &buffer,
Camera3OutputStream.h 45 * Set up a stream for formats that have a variable buffer size for the same
73 const camera3_stream_buffer &buffer,
88 virtual status_t getBufferLocked(camera3_stream_buffer *buffer);
90 const camera3_stream_buffer &buffer,
  /frameworks/base/core/java/android/util/
Patterns.java 215 StringBuilder buffer = new StringBuilder(); local
222 buffer.append(character);
225 return buffer.toString();
  /frameworks/base/core/jni/
android_hardware_UsbDeviceConnection.cpp 89 char buffer[16384]; local
93 int length = read(fd, buffer, sizeof(buffer));
100 memcpy(bytes, buffer, length);
145 jbyteArray buffer, jint start, jint length, jint timeout)
154 if (buffer) {
155 bufferBytes = (jbyte*)env->GetPrimitiveArrayCritical(buffer, NULL);
162 env->ReleasePrimitiveArrayCritical(buffer, bufferBytes, 0);
170 jint endpoint, jbyteArray buffer, jint start, jint length, jint timeout)
179 if (buffer) {
    [all...]
android_view_TextureView.cpp 144 ANativeWindow_Buffer buffer; local
157 native_window_lock(window.get(), &buffer, &rect);
159 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format);
162 bitmap.setConfig(convertPixelFormat(buffer.format), buffer.width, buffer.height, bytesCount);
164 if (buffer.format == WINDOW_FORMAT_RGBX_8888) {
168 if (buffer.width > 0 && buffer.height > 0)
    [all...]
  /frameworks/base/libs/hwui/
Extensions.cpp 43 const char* buffer = (const char*) glGetString(GL_EXTENSIONS); local
44 const char* current = buffer;
66 mExtensions = strdup(buffer);
  /frameworks/base/media/mca/filterfw/java/android/filterfw/io/
GraphReader.java 45 char[] buffer = new char[1024]; local
48 while ((bytesRead = reader.read(buffer, 0, 1024)) > 0) {
49 writer.write(buffer, 0, bytesRead);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ClipRegion2Activity.java 43 StringBuffer buffer = new StringBuffer(); local
45 buffer.append(LOREM_IPSUM);
47 return buffer;
ClipRegion3Activity.java 43 StringBuffer buffer = new StringBuffer(); local
45 buffer.append(LOREM_IPSUM);
47 return buffer;
  /hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
NetlinkConnection.h 160 * @param buffer Pointer to destination buffer.
168 void *buffer,
176 * @param buffer Pointer to destination buffer.
181 void *buffer,
188 * @param buffer Pointer to source buffer.
193 void *buffer,
  /hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/Platforms/Generic/
CMcKMod.h 71 * @param pMciReuse [in|out] set to true [in] for reusing MCI buffer
72 * is set to true [out] if MCI buffer has been reused
93 int read(addr_t buffer, uint32_t len);
111 mcResult_t free(uint32_t handle, addr_t buffer, uint32_t len);
114 addr_t buffer,
  /libcore/luni/src/main/java/java/io/
ByteArrayInputStream.java 149 * @param buffer
166 public synchronized int read(byte[] buffer, int offset, int length) {
167 Arrays.checkOffsetAndCount(buffer.length, offset, length);
178 System.arraycopy(this.buf, pos, buffer, offset, copylen);
ByteArrayOutputStream.java 86 /* Can the buffer handle @i more bytes, if not expand it */
179 * Writes {@code count} bytes from the byte array {@code buffer} starting at
182 * @param buffer
183 * the buffer to be written.
185 * the initial position in {@code buffer} to retrieve bytes.
187 * the number of bytes of {@code buffer} to write.
189 * if {@code buffer} is {@code null}.
193 * {@code buffer}.
196 public synchronized void write(byte[] buffer, int offset, int len) {
197 Arrays.checkOffsetAndCount(buffer.length, offset, len)
    [all...]
LineNumberInputStream.java 142 * them in the byte array {@code buffer} starting at {@code offset}.
151 * @param buffer
154 * the initial position in {@code buffer} to store the bytes read
157 * the maximum number of bytes to store in {@code buffer}.
163 * {@code buffer}.
167 * if {@code buffer} is {@code null}.
170 public int read(byte[] buffer, int offset, int length) throws IOException {
171 Arrays.checkOffsetAndCount(buffer.length, offset, length);
185 buffer[offset + i] = (byte) currentChar;
LineNumberReader.java 24 * internal buffer for its data. The size of the buffer defaults to 8 KB.
38 * buffer gets the default size (8 KB).
49 * the internal buffer is specified by the parameter {@code size}.
54 * the size of the buffer to allocate.
136 * them in the character array {@code buffer} starting at {@code offset}.
144 * @param buffer
147 * the initial position in {@code buffer} to store the characters
150 * the maximum number of characters to store in {@code buffer}.
157 public int read(char[] buffer, int offset, int count) throws IOException
    [all...]
SequenceInputStream.java 150 * stores them in the byte array {@code buffer} starting at {@code offset}.
165 * @param buffer
168 * the initial position in {@code buffer} to store the bytes read
171 * the maximum number of bytes to store in {@code buffer}.
177 * offset + count} is greater than the size of {@code buffer}.
181 * if {@code buffer} is {@code null}.
184 public int read(byte[] buffer, int offset, int count) throws IOException {
188 Arrays.checkOffsetAndCount(buffer.length, offset, count);
190 int result = in.read(buffer, offset, count);
  /libcore/luni/src/main/java/java/util/zip/
GZIPOutputStream.java 64 * the underlying stream. Set the internal compression buffer to size
70 * the internal buffer size.
99 * Write up to nbytes of data from the given buffer, starting at offset off,
103 public void write(byte[] buffer, int off, int nbytes) throws IOException {
104 super.write(buffer, off, nbytes);
105 crc.update(buffer, off, nbytes);
  /libcore/luni/src/main/java/libcore/io/
BlockGuardOs.java 122 @Override public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException {
124 return os.pread(fd, buffer, offset);
132 @Override public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException {
134 return os.pwrite(fd, buffer, offset);
142 @Override public int read(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException {
144 return os.read(fd, buffer);
157 @Override public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException {
159 return os.recvfrom(fd, buffer, flags, srcAddress);
167 @Override public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException {
169 return os.sendto(fd, buffer, flags, inetAddress, port)
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/zip/
GZIPInputStreamTest.java 65 byte[] buffer = new byte[1024];
67 while ((count = in.read(buffer)) != -1) {
68 out.write(buffer, 0, count);
ZipInputStreamTest.java 51 byte[] buffer = new byte[1024];
53 while ((count = in.read(buffer)) != -1) {
54 out.write(buffer, 0, count);
  /packages/inputmethods/LatinIME/native/jni/src/
proximity_info.cpp 33 jsize len, jint *buffer) {
34 if (jArray && buffer) {
35 env->GetIntArrayRegion(jArray, 0, len, buffer);
36 } else if (buffer) {
37 memset(buffer, 0, len * sizeof(buffer[0]));
42 jsize len, jfloat *buffer) {
43 if (jArray && buffer) {
44 env->GetFloatArrayRegion(jArray, 0, len, buffer);
45 } else if (buffer) {
    [all...]
  /system/core/libsysutils/src/
NetlinkEvent.cpp 75 bool NetlinkEvent::parseBinaryNetlinkMessage(char *buffer, int size) {
77 const struct nlmsghdr *nh = (struct nlmsghdr *) buffer;
102 char buffer[16 + IFNAMSIZ]; local
103 snprintf(buffer, sizeof(buffer), "INTERFACE=%s",
105 mParams[0] = strdup(buffer);
163 bool NetlinkEvent::parseAsciiNetlinkMessage(char *buffer, int size) {
164 const char *s = buffer;
173 /* Ensure the buffer is zero-terminated, the code below depends on this */
174 buffer[size-1] = '\0'
    [all...]
  /system/core/toolbox/
uptime.c 41 static void format_time(int time, char* buffer) {
52 sprintf(buffer, "%d days, %02d:%02d:%02d", days, hours, minutes, seconds);
54 sprintf(buffer, "%02d:%02d:%02d", hours, minutes, seconds);
  /system/extras/tests/crypto/
get_dm_versions.c 26 char buffer[DM_CRYPT_BUF_SIZE]; local
38 io = (struct dm_ioctl *) buffer;
48 v = (struct dm_target_versions *) &buffer[sizeof(struct dm_ioctl)];
  /system/vold/
Process.cpp 66 void Process::getProcessName(int pid, char *buffer, size_t max) {
68 snprintf(buffer, max, "/proc/%d/cmdline", pid);
69 fd = open(buffer, O_RDONLY);
71 strcpy(buffer, "???");
73 int length = read(fd, buffer, max - 1);
74 buffer[length] = 0;
130 char buffer[PATH_MAX + 100]; local
132 sprintf(buffer, "/proc/%d/maps", pid);
133 file = fopen(buffer, "r");
137 while (fgets(buffer, sizeof(buffer), file))
    [all...]

Completed in 1329 milliseconds

<<51525354555657585960>>