/external/guava/guava-testlib/src/com/google/common/testing/ |
Platform.java | 42 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 44 ObjectOutputStream out = new ObjectOutputStream(bytes); 47 new ByteArrayInputStream(bytes.toByteArray()));
|
/external/libavc/test/encoder/ |
output.c | 51 WORD32 bytes; local 53 bytes = fwrite(pu1_buf, sizeof(UWORD8), num_bytes, fp); 54 if(bytes != num_bytes)
|
/external/libchrome/base/ |
guid_unittest.cc | 32 uint64_t bytes[] = {0, 0}; local 33 std::string clientid = RandomDataToGUIDString(bytes); 38 uint64_t bytes[] = {0x0123456789ABCDEFULL, 0xFEDCBA9876543210ULL}; local 39 std::string clientid = RandomDataToGUIDString(bytes);
|
/external/ltrace/sysdeps/linux-gnu/ |
breakpoint.c | 63 unsigned char *bytes = (unsigned char *)&a; local 65 sbp->orig_value[i * sizeof(long) + j] = bytes[j]; 66 bytes[j] = break_insn[i * sizeof(long) + j]; 113 unsigned char *bytes = (unsigned char *)&a; local 115 bytes[j] = sbp->orig_value[i * sizeof(long) + j];
|
/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/robolectric/v1/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
|
/external/selinux/libselinux/src/ |
sha1.h | 39 uint8_t bytes [SHA1_HASH_SIZE]; member in struct:__anon22605
|
/external/skia/src/codec/ |
SkJpegUtility_codec.cpp | 25 size_t bytes = src->fStream->read(src->fBuffer, skjpeg_source_mgr::kBufferSize); local 28 if (bytes == 0) { 33 src->bytes_in_buffer = bytes; 38 * Skip a certain number of bytes in the stream 42 size_t bytes = (size_t) numBytes; local 44 if (bytes > src->bytes_in_buffer) { 45 size_t bytesToSkip = bytes - src->bytes_in_buffer;
|
/external/skia/src/core/ |
SkRecord.cpp | 26 size_t bytes = fAlloc.approxBytesAllocated() + sizeof(SkRecord); local 30 bytes += fReserved * sizeof(Record); 32 return bytes;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/ |
ByteArr.java | 22 private byte[] bytes; field in class:ByteArr 27 public ByteArr(byte[] bytes) { 28 this.bytes = bytes; 32 return Arrays.toString(bytes); 36 return bytes; 39 public void setBytes(byte[] bytes) { 40 this.bytes = bytes;
|
/external/strace/ |
xmalloc.c | 65 size_t bytes = nmemb * size; local 68 size && bytes / size != nmemb) 71 void *p = realloc(ptr, bytes);
|
/external/tlsdate/src/events/ |
time_set.c | 88 ssize_t bytes = 0; local 90 bytes = IGNORE_EINTR (read (fd, &status, sizeof (status))); 91 if (bytes == -1 && errno == EAGAIN) 94 if (bytes != sizeof (status)) 100 bytes);
|
/external/valgrind/none/tests/solaris/ |
proc_psinfo.c | 35 ssize_t bytes = read(fd, &psinfo, sizeof(psinfo)); local 36 if (bytes != sizeof(psinfo)) {
|
/external/webrtc/webrtc/base/ |
fileutils_unittest.cc | 32 size_t bytes; local 36 EXPECT_EQ(SR_SUCCESS, fs->Write("test", 4, &bytes, NULL)); 37 EXPECT_EQ(4U, bytes); 44 EXPECT_EQ(SR_SUCCESS, fs->Read(buf, sizeof(buf), &bytes, NULL)); 45 EXPECT_EQ(4U, bytes);
|
/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;
|
/frameworks/base/tools/layoutlib/bridge/src/dalvik/system/ |
VMRuntime_Delegate.java | 33 // Dalvik has 32bit pointers, the array header is 16bytes plus 4bytes for dlmalloc, 34 // allocations are 8byte aligned so having 4bytes of array data avoids padding. 39 int bytes = 20 + (2 * minLength); local 40 int alignedUpBytes = (bytes + 7) & -8; 48 int bytes = 20 + minLength; local 49 int alignedUpBytes = (bytes + 7) & -8; 54 int bytes = 20 + minLength; local 55 int alignedUpBytes = (bytes + 7) & -8; 60 int bytes = 20 + (2 * minLength) local [all...] |
/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++];
|
/external/guava/guava-tests/test/com/google/common/io/ |
TestByteSink.java | 32 private final ByteArrayOutputStream bytes = new ByteArrayOutputStream(); field in class:TestByteSink 43 return bytes.toByteArray(); 59 bytes.reset(); // truncate 66 super(bytes, options);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
ICUBinaryTest.java | 80 ByteBuffer bytes = ByteBuffer.wrap(array); local 90 ICUBinary.readHeader(bytes, formatid, authenticate); 96 bytes.rewind(); 97 ICUBinary.readHeader(bytes, formatid, null); 104 bytes.rewind(); 105 ICUBinary.readHeader(bytes, formatid, authenticate); 112 bytes.rewind(); 113 ICUBinary.readHeader(bytes, formatid, authenticate);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
ICUBinaryTest.java | 76 ByteBuffer bytes = ByteBuffer.wrap(array); local 86 ICUBinary.readHeader(bytes, formatid, authenticate); 92 bytes.rewind(); 93 ICUBinary.readHeader(bytes, formatid, null); 100 bytes.rewind(); 101 ICUBinary.readHeader(bytes, formatid, authenticate); 108 bytes.rewind(); 109 ICUBinary.readHeader(bytes, formatid, authenticate);
|
/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);
|
/development/samples/Vault/src/com/example/android/vault/ |
Utils.java | 61 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 65 bytes.write(buffer, 0, count); 67 return bytes.toByteArray();
|
/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);
|