/external/chromium_org/third_party/libjingle/source/talk/base/ |
fileutils_unittest.cc | 49 size_t bytes; local 53 EXPECT_EQ(SR_SUCCESS, fs->Write("test", 4, &bytes, NULL)); 54 EXPECT_EQ(4U, bytes); 61 EXPECT_EQ(SR_SUCCESS, fs->Read(buf, sizeof(buf), &bytes, NULL)); 62 EXPECT_EQ(4U, bytes);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_linear.c | 42 size_t bytes = t->cols * t->block.size; local 51 ptr = (char*)src_ptr + src_stride * t->rows * y + bytes * x; 53 memcpy(dst_ptr2, ptr, bytes); 54 dst_ptr2 += bytes; 66 size_t bytes = t->cols * t->block.size; local 73 ptr = (char*)dst_ptr + dst_stride * t->rows * y + bytes * x; 75 memcpy(ptr, src_ptr2, bytes); 76 src_ptr2 += bytes;
|
/external/chromium_org/third_party/mesa/src/src/glx/apple/ |
glxreply.c | 40 const GLint bytes = (reply_is_always_array) local 42 const GLint extra = 4 - (bytes & 3); 44 _XRead(dpy, dest, bytes);
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
win32prng.c | 11 unsigned char* bytes = NULL; local 29 /* Allocate bytes */ 30 bytes = malloc(howMany); 37 bytes) == 0) 40 returnVal = Py_BuildValue("s#", bytes, howMany); 42 free(bytes);
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
ByteArrayByteInput.java | 21 private final byte[] bytes; field in class:ByteArrayByteInput 24 public ByteArrayByteInput(byte... bytes) { 25 this.bytes = bytes; 29 return bytes[position++];
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
Platform.java | 39 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 41 ObjectOutputStream out = new ObjectOutputStream(bytes); 44 new ByteArrayInputStream(bytes.toByteArray()));
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_linear.c | 42 size_t bytes = t->cols * t->block.size; local 51 ptr = (char*)src_ptr + src_stride * t->rows * y + bytes * x; 53 memcpy(dst_ptr2, ptr, bytes); 54 dst_ptr2 += bytes; 66 size_t bytes = t->cols * t->block.size; local 73 ptr = (char*)dst_ptr + dst_stride * t->rows * y + bytes * x; 75 memcpy(ptr, src_ptr2, bytes); 76 src_ptr2 += bytes;
|
/external/mesa3d/src/glx/apple/ |
glxreply.c | 40 const GLint bytes = (reply_is_always_array) local 42 const GLint extra = 4 - (bytes & 3); 44 _XRead(dpy, dest, bytes);
|
/external/qemu/hw/ |
msmouse.c | 38 unsigned char bytes[4] = { 0x40, 0x00, 0x00, 0x00 }; local 41 bytes[0] |= (MSMOUSE_HI2(dy) << 2) | MSMOUSE_HI2(dx); 42 bytes[1] |= MSMOUSE_LO6(dx); 43 bytes[2] |= MSMOUSE_LO6(dy); 46 bytes[0] |= (buttons_state & 0x01 ? 0x20 : 0x00); 47 bytes[0] |= (buttons_state & 0x02 ? 0x10 : 0x00); 48 bytes[3] |= (buttons_state & 0x04 ? 0x20 : 0x00); 53 qemu_chr_read(chr, bytes, 4);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
NdefRecordTest.java | 15 byte[] bytes = "mumble".getBytes(); 16 NdefRecord ndefRecord = new NdefRecord(bytes); 18 assertSame(ndefRecord.getPayload(), bytes); local
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
AudioSample.java | 23 public final byte[] bytes; field in class:AudioSample 25 public AudioSample(int sampleRate, int channelCount, byte[] bytes) { 28 this.bytes = bytes;
|
/libcore/dex/src/main/java/com/android/dex/util/ |
ByteArrayByteInput.java | 21 private final byte[] bytes; field in class:ByteArrayByteInput 24 public ByteArrayByteInput(byte... bytes) { 25 this.bytes = bytes; 29 return bytes[position++];
|
/libcore/luni/src/main/java/java/io/ |
InputStreamReader.java | 35 * of bytes read from the source stream and converts these into characters as 47 private final ByteBuffer bytes = ByteBuffer.allocate(8192); field in class:InputStreamReader 64 * character converter that is used to decode bytes into characters is 92 bytes.limit(0); 109 bytes.limit(0); 127 bytes.limit(0); 153 * bytes, or null if this writer has been closed. Most callers should probably keep 166 * with the two higher-order bytes set to 0. Returns -1 if the end of the 168 * converting bytes in this reader's buffer or by first filling the buffer 191 * been reached. The bytes are either obtained from converting bytes in thi [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
StringDataItem.java | 47 * @return {@code >= 2}; the write size, in bytes 72 ByteArray bytes = value.getBytes(); local 78 out.annotate(bytes.size() + 1, value.toQuoted()); 82 out.write(bytes);
|
/dalvik/dx/src/com/android/dx/dex/file/ |
StringDataItem.java | 47 * @return {@code >= 2}; the write size, in bytes 72 ByteArray bytes = value.getBytes(); local 78 out.annotate(bytes.size() + 1, value.toQuoted()); 82 out.write(bytes);
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
StringDataItem.java | 47 * @return {@code >= 2}; the write size, in bytes 72 ByteArray bytes = value.getBytes(); local 78 out.annotate(bytes.size() + 1, value.toQuoted()); 82 out.write(bytes);
|
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
ImageRequestTest.java | 90 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 94 bytes.write(buffer, 0, count); 97 return bytes.toByteArray();
|
/libcore/luni/src/test/etc/loading-test-jar/ |
TestMethods.java | 69 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 73 return bytes.toByteArray(); 75 bytes.write(buffer, 0, byteCount);
|
/art/test/102-concurrent-gc/src/ |
Main.java | 24 public byte[] bytes; field in class:Main.ByteContainer 37 l[index].bytes = new byte[bufferSize]; 57 byte[] temp = l[a].bytes; 58 l[a].bytes = l[b].bytes; 59 l[b].bytes = temp;
|
/cts/tests/jni/ |
android_net_cts_NetlinkSocket.cpp | 45 void *bytes = (void *)e->GetByteArrayElements(packet, NULL); local 48 struct iovec iov = {bytes, length}; 57 e->ReleaseByteArrayElements(packet, (jbyte*)bytes, 0);
|
/external/bison/lib/ |
bitsetv.c | 33 size_t bytes; local 37 /* Determine number of bytes for each set. */ 38 bytes = bitset_bytes (type, n_bits); 41 if (BITSET_SIZE_MAX / (sizeof (bitset) + bytes) <= n_vecs) 45 vector_bytes = (n_vecs + 1) * sizeof (bitset) + bytes - 1; 46 vector_bytes -= vector_bytes % bytes; 47 bsetv = xcalloc (1, vector_bytes + bytes * n_vecs); 51 bsetv[i] = (bitset) (void *) ((char *) bsetv + vector_bytes + i * bytes);
|
/external/chromium/net/base/ |
ip_endpoint.cc | 89 const char* bytes = reinterpret_cast<const char*>(&addr->sin_addr); local 90 address_.assign(&bytes[0], &bytes[kIPv4AddressSize]); 97 const char* bytes = reinterpret_cast<const char*>(&addr->sin6_addr); local 98 address_.assign(&bytes[0], &bytes[kIPv6AddressSize]);
|
/external/chromium_org/cc/scheduler/ |
texture_uploader_unittest.cc | 129 const uint8* bytes = static_cast<const uint8*>(pixels); variable 136 bytes + (xoffset * bytes_per_pixel + (yoffset + row) * stride);
|
/external/chromium_org/media/audio/ |
cross_process_notification_posix.cc | 27 size_t bytes = socket_.Send(&signal, sizeof(signal)); local 28 DCHECK_EQ(bytes, 1U) << "errno: " << errno; 34 size_t bytes = socket_.Receive(&signal, sizeof(signal)); local 35 DCHECK_EQ(bytes, 1U) << "errno: " << errno;
|
/external/chromium_org/net/base/ |
upload_bytes_element_reader.h | 17 // An UploadElementReader implementation for bytes. 22 UploadBytesElementReader(const char* bytes, uint64 length); 25 const char* bytes() const { return bytes_; } function in class:net::UploadBytesElementReader
|