HomeSort by relevance Sort by last modified time
    Searched defs:buffer (Results 1351 - 1375 of 6723) sorted by null

<<51525354555657585960>>

  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
Fat32BootSector.java 194 buffer.rewind();
195 buffer.limit(buffer.capacity());
196 device.write(offset, buffer);
  /external/okhttp/okio/okio/src/test/java/okio/
BufferTest.java 36 * Tests solely for the behavior of Buffer's implementation. For generic BufferedSink or
41 Buffer buffer = new Buffer(); local
42 buffer.writeUtf8("ab");
43 assertEquals(2, buffer.size());
44 buffer.writeUtf8("cdef");
45 assertEquals(6, buffer.size());
46 assertEquals("abcd", buffer.readUtf8(4));
47 assertEquals(2, buffer.size())
58 Buffer buffer = new Buffer(); local
63 Buffer buffer = new Buffer(); local
69 Buffer buffer = new Buffer(); local
75 Buffer buffer = new Buffer(); local
80 Buffer buffer = new Buffer(); local
86 Buffer buffer = new Buffer(); local
92 Buffer buffer = new Buffer(); local
98 Buffer buffer = new Buffer(); local
116 Buffer buffer = new Buffer(); local
161 Buffer buffer = new Buffer(); local
247 Buffer buffer = new Buffer().writeUtf8("hello, world!"); local
256 Buffer buffer = new Buffer(); local
270 Buffer buffer = new Buffer().writeUtf8("hello, world!"); local
280 Buffer buffer = new Buffer(); local
288 Buffer buffer = new Buffer().writeUtf8(repeat('a', Segment.SIZE - 10)); local
296 Buffer buffer = new Buffer(); local
329 Buffer buffer = new Buffer(); local
346 Buffer buffer = new Buffer(); local
358 Buffer buffer = new Buffer(); local
    [all...]
  /prebuilts/tools/common/m2/repository/io/netty/netty-buffer/4.1.6.Final/
netty-buffer-4.1.6.Final.jar 
  /prebuilts/tools/common/m2/repository/io/netty/netty-buffer/4.1.3.Final/
netty-buffer-4.1.3.Final.jar 
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
LocaleIDParser.java 38 * Temporary buffer for parsed sections of data.
40 private StringBuilder buffer; field in class:LocaleIDParser
68 buffer = new StringBuilder(id.length + 5);
74 buffer = new StringBuilder(id.length + 5);
77 // utilities for working on text in the buffer
80 * Append c to the buffer.
83 buffer.append(c);
91 * Returns the text in the buffer from start to blen as a String.
94 return buffer.substring(start);
98 * Set the length of the buffer to pos, then append the string
    [all...]
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/
LocaleIDParser.java 36 * Temporary buffer for parsed sections of data.
38 private StringBuilder buffer; field in class:LocaleIDParser
66 buffer = new StringBuilder(id.length + 5);
72 buffer = new StringBuilder(id.length + 5);
75 // utilities for working on text in the buffer
78 * Append c to the buffer.
81 buffer.append(c);
89 * Returns the text in the buffer from start to blen as a String.
92 return buffer.substring(start);
96 * Set the length of the buffer to pos, then append the string
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
LocaleIDParser.java 36 * Temporary buffer for parsed sections of data.
38 private StringBuilder buffer; field in class:LocaleIDParser
66 buffer = new StringBuilder(id.length + 5);
72 buffer = new StringBuilder(id.length + 5);
75 // utilities for working on text in the buffer
78 * Append c to the buffer.
81 buffer.append(c);
89 * Returns the text in the buffer from start to blen as a String.
92 return buffer.substring(start);
96 * Set the length of the buffer to pos, then append the string
    [all...]
  /external/libmojo/mojo/android/system/src/org/chromium/mojo/system/impl/
CoreImpl.java 67 * The offset needed to get an aligned buffer.
98 // Allocate a direct buffer to allow native code not to reach back to java. The buffer
106 ByteBuffer buffer = allocateDirectBuffer(handles.size() * 16 + 4); local
109 buffer.putInt(HANDLE_SIZE * index, getMojoHandle(handle.first));
110 buffer.putInt(
114 int code = nativeWaitMany(buffer, deadline);
117 result.setHandleIndex(buffer.getInt(handles.size() * 16));
123 new HandleSignals(buffer.getInt(8 * (handles.size() + i))),
124 new HandleSignals(buffer.getInt(8 * (handles.size() + i) + 4)))
138 ByteBuffer buffer = allocateDirectBuffer(8); local
483 ByteBuffer buffer = ByteBuffer.allocateDirect(capacity + mByteBufferOffset); local
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowParcel.java 358 private List<Pair<Integer, ?>> buffer = new ArrayList<>(); field in class:ShadowParcel.ByteBuffer
362 * Removes all elements from the byte buffer
366 buffer.clear();
370 * Reads a byte array from the byte buffer based on the current data position
385 * Writes a byte to the byte buffer at the current data position
392 * Writes a byte array starting at offset for length bytes to the byte buffer at the current
403 * Reads a byte from the byte buffer based on the current data position
410 * Writes an int to the byte buffer at the current data position
417 * Reads a int from the byte buffer based on the current data position
424 * Writes a long to the byte buffer at the current data positio
    [all...]
  /frameworks/base/core/java/android/util/apk/
ApkVerityBuilder.java 61 * {@link ByteBufferFactory}. The bytes layout in the buffer will be used by the kernel and is
91 // NB: Buffer limit is set inside once finished.
127 * extensions, Merkle tree, and the tree's root hash. The output buffer is flipped to the
163 * A helper class to consume and digest data by block continuously, and write into a buffer.
193 * then writes the final digest to the output buffer. Repeat until all data are consumed.
198 public void consume(ByteBuffer buffer) throws DigestException {
199 int offset = buffer.position();
200 int remaining = buffer.remaining();
203 // Optimization: set the buffer limit to avoid allocating a new ByteBuffer object.
204 buffer.limit(buffer.position() + allowance)
    [all...]
  /packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DvrStorageManager.java 17 package com.android.tv.tuner.exoplayer.buffer;
51 // Size of minimum reserved storage buffer which will be used to save meta files
148 ByteBuffer buffer = ByteBuffer.allocate(len); local
149 buffer.put(bytes);
150 buffer.flip();
152 return buffer;
157 ByteBuffer buffer = readByteBuffer(in); local
158 if (buffer != null) {
159 format.setByteBuffer(key, buffer);
308 private void writeByteBuffer(DataOutputStream out, ByteBuffer buffer) throws IOException
    [all...]
  /prebuilts/tools/common/m2/repository/io/netty/netty-buffer/4.1.0.CR3/
netty-buffer-4.1.0.CR3.jar 
  /art/compiler/debug/dwarf/
dwarf_test.h 92 char buffer[1024]; local
94 while ((line = fgets(buffer, sizeof(buffer), output)) != nullptr) {
  /bionic/linker/
dlfcn.cpp 61 void __loader_android_get_LD_LIBRARY_PATH(char* buffer, size_t buffer_size) __LINKER_PUBLIC__;
106 char* buffer = __get_thread()->dlerror_buffer; local
107 strlcpy(buffer, msg, __BIONIC_DLERROR_BUFFER_SIZE);
109 strlcat(buffer, ": ", __BIONIC_DLERROR_BUFFER_SIZE);
110 strlcat(buffer, detail, __BIONIC_DLERROR_BUFFER_SIZE);
113 __bionic_set_dlerror(buffer);
121 void __loader_android_get_LD_LIBRARY_PATH(char* buffer, size_t buffer_size) {
123 do_android_get_LD_LIBRARY_PATH(buffer, buffer_size);
  /bionic/tests/
sys_socket_test.cpp 221 char buffer[100]; local
223 static_cast<size_t>(recv(fd_acc, buffer, sizeof(buffer), 0)));
224 ASSERT_STREQ(g_SendMsgs[i], buffer);
  /bionic/tools/relocation_packer/src/
elf_file_unittest.cc 50 unsigned char buffer[buffer_size]; local
54 bytes = fread(buffer, 1, sizeof(buffer), testfile);
55 ASSERT_EQ(bytes, fwrite(buffer, 1, bytes, temporary));
  /bootable/recovery/otautil/
rangeset.cpp 124 RangeSet buffer; local
130 buffer.PushBack({ range.first, range.first + needed });
134 buffer.PushBack(range);
141 result.push_back(std::move(buffer));
  /cts/suite/audio_quality/lib/src/
SignalProcessingImpl.cpp 25 #include "audio/Buffer.h"
128 if (inputTypes[i]) { // android::sp<Buffer>*
129 android::sp<Buffer>* buffer = reinterpret_cast<android::sp<Buffer>*>(inputs[i]); local
130 mBuffer.write<int32_t>((int32_t)((*buffer)->isStereo() ? EAudioStereo : EAudioMono));
131 int dataLen = (*buffer)->getSize();
137 if (!send((*buffer)->getData(), dataLen)) {
141 LOGD("%d-th param buffer %d, stereo:%d", i, dataLen, (*buffer)->isStereo())
191 android::sp<Buffer>* buffer = reinterpret_cast<android::sp<Buffer>*>(outputs[i]); local
    [all...]
  /cts/tests/tests/content/jni/
NativeCursorWindow.c 65 } buffer; member in union:FieldSlot::__anon1589
92 fieldSlot->data.buffer.offset = offset;
93 fieldSlot->data.buffer.size = size;
  /cts/tests/tests/content/src/android/content/cts/
ImageCaptureUriExtraToClipDataTest.java 106 char[] buffer = new char[TEST_INPUT.length()]; local
109 reader.read(buffer);
115 String fileContents = new String(buffer);
  /cts/tests/tests/graphics/jni/
MediaTestHelpers.cpp 64 // Wait until the codec produces an output buffer, which we can read as
135 // No input buffer ready, just return, we'll try again.
140 uint8_t *buffer = local
142 ASSERT(buffer);
145 AMediaExtractor_readSampleData(mExtractor, buffer, bufferSize);
157 // Returns true if we successfully got an output buffer.
android_graphics_cts_CameraGpuCtsActivity.cpp 195 // Render the current buffer and then release it.
196 AHardwareBuffer* buffer; local
197 ret = mImageReader.getBufferFromCurrentImage(&buffer);
199 // There might be no buffer acquired yet.
204 AHardwareBuffer_describe(buffer, &outDesc);
207 EGLClientBuffer eglBuffer = eglGetNativeClientBufferANDROID(buffer);
android_graphics_cts_MediaVulkanGpuTest.cpp 96 AHardwareBuffer *buffer; local
97 int ret = imageReader.getBufferFromCurrentImage(&buffer);
100 ret = imageReader.getBufferFromCurrentImage(&buffer);
105 ASSERT(vkImage.init(buffer, true /* useExternalFormat */), "Could not init VkAHardwareBufferImage.");
  /cts/tests/tests/nativehardware/jni/
AHardwareBufferTest.cpp 110 AHardwareBuffer_Desc GetDescription(AHardwareBuffer* buffer) {
112 AHardwareBuffer_describe(buffer, &description);
143 AHardwareBuffer* buffer; local
150 res = AHardwareBuffer_allocate(NULL, &buffer);
158 AHardwareBuffer* buffer; local
166 int res = AHardwareBuffer_allocate(&desc, &buffer);
170 res = AHardwareBuffer_allocate(&desc, &buffer);
172 EXPECT_EQ(desc, GetDescription(buffer));
173 AHardwareBuffer_release(buffer);
174 buffer = NULL
179 AHardwareBuffer* buffer = NULL; local
205 AHardwareBuffer* buffer = NULL; local
233 AHardwareBuffer* buffer; member in struct:android::ClientData
247 AHardwareBuffer* buffer = NULL; local
295 AHardwareBuffer* buffer = NULL; local
324 AHardwareBuffer* buffer = NULL; local
    [all...]
  /cts/tools/dasm/src/java_cup/
lexer.java 337 char buffer[] = new char[1]; local
340 buffer[0] = (char)next_char;
341 result.append(buffer,0,1);
347 buffer[0] = (char)next_char;
348 result.append(buffer,0,1);

Completed in 1590 milliseconds

<<51525354555657585960>>