/external/clang/test/CodeGen/ |
2005-07-26-UnionInitCrash.c | 3 union { char bytes[8]; double alignment; }EQ1 = {0,0,0,0,0,0,0,0}; member in union:__anon14788
|
/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/glide/library/src/main/java/com/bumptech/glide/load/resource/bytes/ |
BytesResource.java | 1 package com.bumptech.glide.load.resource.bytes; 9 private final byte[] bytes; field in class:BytesResource 11 public BytesResource(byte[] bytes) { 12 if (bytes == null) { 13 throw new NullPointerException("Bytes must not be null"); 15 this.bytes = bytes; 20 return bytes; 25 return bytes.length;
|
/external/skia/src/ports/ |
SkDiscardableMemory_none.cpp | 12 SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) { 13 return SkGetGlobalDiscardableMemoryPool()->create(bytes);
|
/dalvik/dx/src/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/libchrome/crypto/ |
random_unittest.cc | 15 // Currently, that means the bytes cannot be all the same (e.g. all zeros). 16 bool IsTrivial(const std::string& bytes) { 17 for (size_t i = 0; i < bytes.size(); i++) { 18 if (bytes[i] != bytes[0]) { 26 std::string bytes(16, '\0'); 27 crypto::RandBytes(base::WriteInto(&bytes, bytes.size()), bytes.size()); 28 EXPECT_TRUE(!IsTrivial(bytes)); [all...] |
random.cc | 13 void RandBytes(void *bytes, size_t length) { 17 base::RandBytes(bytes, length);
|
/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 UUID::UUID128Bit bytes = GetFullBigEndian(); 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 UUID::UUID128Bit bytes; local [all...] |
/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;
|
/external/syslinux/com32/lib/ |
strlcat.c | 10 size_t bytes = 0; local 15 while (bytes < size && *q) { 17 bytes++; 21 if (bytes < size) 24 bytes++; 28 return bytes;
|
inet.c | 35 const uint8_t *bytes = (const uint8_t *)&addr.s_addr; local 37 sprintf(buf, "%u.%u.%u.%u", bytes[0], bytes[1], bytes[2], bytes[3]);
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
ByteArray.java | 25 private final byte[] bytes; field in class:ByteArray 28 ByteArray(byte[] bytes) { 29 this.bytes = bytes; 30 this.hashCode = Arrays.hashCode(bytes); 44 return Arrays.equals(bytes, lhs.bytes);
|
/external/tpm2/ |
TPMB.h | 14 #define TPM2B_TYPE(name, bytes) \ 18 BYTE buffer[(bytes)]; \ 27 #define TPM2B_BYTE_VALUE(bytes) TPM2B_TYPE(bytes##_BYTE_VALUE, bytes)
|
/system/chre/apps/chqts/src/shared/ |
nano_endian.cc | 21 void swapBytes(uint8_t *bytes, size_t size) { 23 uint8_t tmp = bytes[front]; 24 bytes[front] = bytes[end]; 25 bytes[end] = tmp;
|
nano_endian_be_test.cc | 39 alignas(alignof(uint32_t)) uint8_t bytes[4]; local 40 ::memcpy(bytes, kLittleEndianRepresentation, sizeof(bytes)); 41 uint32_t *valuePtr = reinterpret_cast<uint32_t*>(bytes); 44 EXPECT_EQ(0, ::memcmp(bytes, kBigEndianRepresentation, sizeof(bytes))); 48 alignas(alignof(uint32_t)) uint8_t bytes[4]; local 49 ::memcpy(bytes, kBigEndianRepresentation, sizeof(bytes)); 50 uint32_t *valuePtr = reinterpret_cast<uint32_t*>(bytes); [all...] |
nano_endian_le_test.cc | 37 alignas(alignof(uint32_t)) uint8_t bytes[4]; local 38 ::memcpy(bytes, kLittleEndianRepresentation, sizeof(bytes)); 39 uint32_t *valuePtr = reinterpret_cast<uint32_t*>(bytes); 42 EXPECT_EQ(0, ::memcmp(bytes, kLittleEndianRepresentation, sizeof(bytes))); 46 alignas(alignof(uint32_t)) uint8_t bytes[4]; local 47 ::memcpy(bytes, kLittleEndianRepresentation, sizeof(bytes)); 48 uint32_t *valuePtr = reinterpret_cast<uint32_t*>(bytes); [all...] |
/external/apache-http/android/src/com/android/internal/http/multipart/ |
ByteArrayPartSource.java | 50 private byte[] bytes; field in class:ByteArrayPartSource 55 * @param fileName the name of the file these bytes represent 56 * @param bytes the content of this part 58 public ByteArrayPartSource(String fileName, byte[] bytes) { 61 this.bytes = bytes; 69 return bytes.length; 83 return new ByteArrayInputStream(bytes);
|
/external/valgrind/memcheck/tests/ |
leak-0.stderr.exp | 1 leaked: 0 bytes in 0 blocks 2 dubious: 0 bytes in 0 blocks 3 reachable: 0 bytes in 1 blocks 4 suppressed: 0 bytes in 0 blocks
|
leak-cases-summary.stderr.exp | 1 leaked: 80 bytes in 5 blocks 2 dubious: 96 bytes in 6 blocks 3 reachable: 64 bytes in 4 blocks 4 suppressed: 0 bytes in 0 blocks
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1Integer.java | 14 private final byte[] bytes; field in class:ASN1Integer 75 bytes = BigInteger.valueOf(value).toByteArray(); 81 bytes = value.toByteArray(); 85 byte[] bytes) 87 this(bytes, true); 90 ASN1Integer(byte[] bytes, boolean clone) 92 if (bytes.length > 1) 94 if (bytes[0] == 0 && (bytes[1] & 0x80) == 0) 98 if (bytes[0] == (byte)0xff && (bytes[1] & 0x80) != 0 [all...] |
/prebuilts/go/darwin-x86/src/net/http/ |
range_test.go | 19 {"bytes=", 0, nil}, 20 {"bytes=7", 10, nil}, 21 {"bytes= 7 ", 10, nil}, 22 {"bytes=1-", 0, nil}, 23 {"bytes=5-4", 10, nil}, 24 {"bytes=0-2,5-4", 10, nil}, 25 {"bytes=2-5,4-3", 10, nil}, 26 {"bytes=--5,4--3", 10, nil}, 27 {"bytes=A-", 10, nil}, 28 {"bytes=A- ", 10, nil} [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
range_test.go | 19 {"bytes=", 0, nil}, 20 {"bytes=7", 10, nil}, 21 {"bytes= 7 ", 10, nil}, 22 {"bytes=1-", 0, nil}, 23 {"bytes=5-4", 10, nil}, 24 {"bytes=0-2,5-4", 10, nil}, 25 {"bytes=2-5,4-3", 10, nil}, 26 {"bytes=--5,4--3", 10, nil}, 27 {"bytes=A-", 10, nil}, 28 {"bytes=A- ", 10, nil} [all...] |
/external/google-tv-pairing-protocol/cpp/tests/polo/util/ |
poloutiltest.cc | 22 uint8_t bytes[4] = {0xAA, 0xBB, 0xCC, 0xDD}; local 23 std::string result = PoloUtil::BytesToHexString(bytes, 4); 28 uint8_t bytes[4] = {0x00, 0xBB, 0xCC, 0xDD}; local 29 std::string result = PoloUtil::BytesToHexString(bytes, 4); 34 uint8_t* bytes; local 35 size_t length = PoloUtil::HexStringToBytes(std::string("AABBCCDD"), bytes); 37 ASSERT_EQ(0xAA, bytes[0]); 38 ASSERT_EQ(0xBB, bytes[1]); 39 ASSERT_EQ(0xCC, bytes[2]); 40 ASSERT_EQ(0xDD, bytes[3]) 45 uint8_t* bytes; local 55 uint8_t* bytes; local 65 uint8_t bytes[4] = {0xAA, 0xBB, 0xCC, 0xDD}; local 71 uint8_t bytes[4] = {0x00, 0xAA, 0xBB, 0x00}; local [all...] |
/external/elfutils/libdw/ |
dwarf_next_cfi.c | 62 const uint8_t *bytes = data->d_buf + off; local 68 uint64_t length = read_4ubyte_unaligned_inc (&dw, bytes); 74 if (unlikely (limit - bytes < 8)) 80 length = read_8ubyte_unaligned_inc (&dw, bytes); 82 if (unlikely ((uint64_t) (limit - bytes) < length) 92 limit = bytes + length; 94 const uint8_t *const cie_pointer_start = bytes; 96 entry->cie.CIE_id = read_8ubyte_unaligned_inc (&dw, bytes); 99 entry->cie.CIE_id = read_4ubyte_unaligned_inc (&dw, bytes); 124 uint8_t version = *bytes++ [all...] |
/art/runtime/gc/collector/ |
object_byte_pair.h | 28 : objects(num_objects), bytes(num_bytes) {} 31 bytes += other.bytes; 35 // Freed bytes are signed since the GC can free negative bytes if it promotes objects to a space 37 int64_t bytes; member in struct:art::gc::collector::ObjectBytePair
|