/external/skia/src/core/ |
SkRecord.cpp | 26 size_t bytes = fApproxBytesAllocated + sizeof(SkRecord); local 27 return bytes;
|
/external/skqp/src/core/ |
SkBigPicture.cpp | 59 size_t bytes = sizeof(*this) + fRecord->bytesUsed() + fApproxBytesUsedBySubPictures; local 60 if (fBBH) { bytes += fBBH->bytesUsed(); } 61 return bytes;
|
SkRecord.cpp | 26 size_t bytes = fApproxBytesAllocated + sizeof(SkRecord); local 27 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/syslinux/gpxe/src/arch/i386/interface/pcbios/ |
bios_smbios.c | 45 uint8_t bytes[256]; /* 256 is maximum length possible */ member in union:__anon37790 63 copy_from_real ( &u.bytes, BIOS_SEG, offset, len ); 65 sum += u.bytes[i];
|
/external/toybox/toys/posix/ |
head.c | 21 -c Number of bytes to copy 30 long bytes; 37 int i, len, lines=TT.lines, bytes=TT.bytes; local 46 while ((toys.optflags&FLAG_c) ? bytes : lines) { 51 if (bytes) { 52 i = bytes >= len ? len : bytes; 53 bytes -= i;
|
/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/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...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/ |
VoicemailPayload.java | 22 private final byte[] bytes; field in class:VoicemailPayload 24 public VoicemailPayload(String mimeType, byte[] bytes) { 26 this.bytes = bytes; 30 return bytes;
|
/prebuilts/go/darwin-x86/test/ |
slicecap.go | 13 bytes = []byte{1, 2, 3, 4, 5} 39 p2 := *(*uintptr)(unsafe.Pointer(&bytes)) 67 x := bytes 12 bytes = []byte{1, 2, 3, 4, 5} var
|
/prebuilts/go/linux-x86/test/ |
slicecap.go | 13 bytes = []byte{1, 2, 3, 4, 5} 39 p2 := *(*uintptr)(unsafe.Pointer(&bytes)) 67 x := bytes 12 bytes = []byte{1, 2, 3, 4, 5} var
|
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/source/ |
spirv_endian.cpp | 28 unsigned char bytes[4]; member in union:__anon802 54 uint8_t bytes[4]; 55 memcpy(bytes, binary->code, sizeof(uint32_t)); 57 if (0x03 == bytes[0] && 0x02 == bytes[1] && 0x23 == bytes[2] && 58 0x07 == bytes[3]) { 63 if (0x07 == bytes[0] && 0x23 == bytes[1] && 0x02 == bytes[2] & [all...] |
/system/bt/service/common/android/bluetooth/ |
uuid.cc | 33 // a second 64-bit integer. This is the same as writing the raw-bytes in 36 ::bluetooth::Uuid::UUID128Bit bytes = uuid.To128BitBE(); local 39 ((((uint64_t)bytes[0]) << 56) | (((uint64_t)bytes[1]) << 48) | 40 (((uint64_t)bytes[2]) << 40) | (((uint64_t)bytes[3]) << 32) | 41 (((uint64_t)bytes[4]) << 24) | (((uint64_t)bytes[5]) << 16) | 42 (((uint64_t)bytes[6]) << 8) | bytes[7]) 58 ::bluetooth::Uuid::UUID128Bit bytes; local [all...] |
/system/chre/apps/chqts/src/shared/ |
nano_endian_test.cc | 28 uint8_t bytes[] = { local 37 static_assert(arrayLength(bytes) == arrayLength(postSwap), 40 static_assert((kByteCount > 0) && (kByteCount <= arrayLength(bytes)), 45 nanoapp_testing::swapBytes(bytes, kByteCount); 46 EXPECT_EQ(0, ::memcmp(bytes, kExpected, kByteCount)); 48 if (arrayLength(bytes) < kByteCount) { 50 EXPECT_EQ(kByteCount + 1, bytes[kByteCount]); 95 const uint8_t *bytes = reinterpret_cast<uint8_t*>(&value); local 96 EXPECT_EQ(0, ::memcmp(kLittleEndianRepresentation, bytes,
|
/system/update_engine/payload_consumer/ |
extent_reader.cc | 65 auto bytes = reinterpret_cast<uint8_t*>(buffer); local 79 bytes + bytes_read,
|
/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);
|
/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/volley/src/test/java/com/android/volley/toolbox/ |
ImageRequestTest.java | 154 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 158 bytes.write(buffer, 0, count); 161 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;
|
/dalvik/dx/src/com/android/dx/cf/attrib/ |
AttBootstrapMethods.java | 39 int bytes = ATTRIBUTE_HEADER_BYTES + bootstrapMethods.size() * BOOTSTRAP_METHOD_BYTES; local 42 bytes += numberOfArguments * BOOTSTRAP_ARGUMENT_BYTES; 44 this.byteLength = bytes;
|