Searched refs:bytes (Results 1 - 25 of 2331) sorted by relevance

1234567891011>>

/external/clang/test/CodeGen/
H A D2005-07-26-UnionInitCrash.c3 union { char bytes[8]; double alignment; }EQ1 = {0,0,0,0,0,0,0,0}; member in union:__anon2025
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/
H A DByteArr.java22 private byte[] bytes; field in class:ByteArr
27 public ByteArr(byte[] bytes) { argument
28 this.bytes = bytes;
32 return Arrays.toString(bytes);
36 return bytes;
39 public void setBytes(byte[] bytes) { argument
40 this.bytes = bytes;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bytes/
H A DBytesResource.java1 package com.bumptech.glide.load.resource.bytes;
9 private final byte[] bytes; field in class:BytesResource
11 public BytesResource(byte[] bytes) { argument
12 if (bytes == null) {
15 this.bytes = bytes;
20 return bytes;
25 return bytes.length;
/external/skia/src/ports/
H A DSkDiscardableMemory_none.cpp12 SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) { argument
13 return SkGetGlobalDiscardableMemoryPool()->create(bytes);
/external/libchrome/crypto/
H A Drandom_unittest.cc15 // Currently, that means the bytes cannot be all the same (e.g. all zeros).
16 bool IsTrivial(const std::string& bytes) { argument
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...]
H A Drandom.cc13 void RandBytes(void *bytes, size_t length) { argument
17 base::RandBytes(bytes, length);
/external/syslinux/com32/lib/
H A Dstrlcat.c10 size_t bytes = 0; local
15 while (bytes < size && *q) {
17 bytes++;
21 if (bytes < size)
24 bytes++;
28 return bytes;
H A Dinet.c35 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]);
H A Dstrlcpy.c10 size_t bytes = 0; local
16 if (bytes < size)
19 bytes++;
23 return bytes;
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DByteArray.java25 private final byte[] bytes; field in class:ByteArray
28 ByteArray(byte[] bytes) { argument
29 this.bytes = bytes;
30 this.hashCode = Arrays.hashCode(bytes);
44 return Arrays.equals(bytes, lhs.bytes);
/external/protobuf/csharp/src/Google.Protobuf/
H A DByteString.cs42 /// Immutable array of bytes.
48 private readonly byte[] bytes; field in class:Google.Protobuf.ByteString
59 internal static ByteString FromBytes(byte[] bytes) argument
61 return new ByteString(bytes);
65 /// Provides direct, unrestricted access to the bytes contained in this instance.
68 internal static byte[] GetBuffer(ByteString bytes) argument
70 return bytes.bytes;
77 internal static ByteString AttachBytes(byte[] bytes) argument
79 return new ByteString(bytes);
86 ByteString(byte[] bytes) argument
137 FromBase64(string bytes) argument
151 CopyFrom(params byte[] bytes) argument
159 CopyFrom(byte[] bytes, int offset, int count) argument
[all...]
/external/swiftshader/src/Common/
H A DMemory.hpp24 void *allocate(size_t bytes, size_t alignment = 16);
25 void *allocateZero(size_t bytes, size_t alignment = 16);
28 void *allocateExecutable(size_t bytes); // Allocates memory that can be made executable using markExecutable()
29 void markExecutable(void *memory, size_t bytes);
30 void deallocateExecutable(void *memory, size_t bytes);
/external/tpm2/
H A DTPMB.h14 #define TPM2B_TYPE(name, bytes) \
18 BYTE buffer[(bytes)]; \
27 #define TPM2B_BYTE_VALUE(bytes) TPM2B_TYPE(bytes##_BYTE_VALUE, bytes)
/external/apache-http/android/src/com/android/internal/http/multipart/
H A DByteArrayPartSource.java50 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) { argument
61 this.bytes = bytes;
69 return bytes.length;
83 return new ByteArrayInputStream(bytes);
/external/valgrind/memcheck/tests/
H A Dleak-0.stderr.exp1 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
H A Dleak-cases-summary.stderr.exp1 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
H A Derror_counts.stderr.exp7 leaked: 0 bytes in 0 blocks
8 dubious: 0 bytes in 0 blocks
9 reachable: 0 bytes in 0 blocks
10 suppressed: 0 bytes in 0 blocks
14 leaked: 77 bytes in 1 blocks
15 dubious: 88 bytes in 1 blocks
16 reachable: 99 bytes in 1 blocks
17 suppressed: 0 bytes in 0 blocks
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1Integer.java14 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) argument
92 if (bytes.length > 1)
94 if (bytes[0] == 0 && (bytes[1] & 0x80) == 0)
98 if (bytes[
84 ASN1Integer( byte[] bytes) argument
[all...]
/external/google-tv-pairing-protocol/cpp/tests/polo/util/
H A Dpoloutiltest.cc22 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[
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/
H A Ddwarf_next_cfi.c62 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...]
/external/curl/lib/
H A Dcurl_des.c41 * bytes [in/out] - The data whose parity bits are to be adjusted for
45 void Curl_des_set_odd_parity(unsigned char *bytes, size_t len) argument
50 unsigned char b = bytes[i];
57 bytes[i] |= 0x01;
59 bytes[i] &= 0xfe;
H A Dcurl_des.h30 void Curl_des_set_odd_parity(unsigned char *bytes, size_t length);
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DRawCollationKey.java35 * // do something with key.bytes
63 bytes = new byte[capacity];
67 * RawCollationKey created, adopting bytes as the internal byte array.
69 * @param bytes byte array to be adopted by RawCollationKey
71 public RawCollationKey(byte[] bytes) argument
73 this.bytes = bytes;
/external/webrtc/webrtc/modules/audio_processing/test/
H A Dprotobuf_utils.cc15 size_t ReadMessageBytesFromFile(FILE* file, rtc::scoped_ptr<uint8_t[]>* bytes) { argument
27 bytes->reset(new uint8_t[size]);
28 return fread(bytes->get(), sizeof((*bytes)[0]), size, file);
33 rtc::scoped_ptr<uint8_t[]> bytes; local
34 size_t size = ReadMessageBytesFromFile(file, &bytes);
39 return msg->ParseFromArray(bytes.get(), size);
/external/openssh/
H A Dhash.c35 unsigned long long bytes = inlen; local
49 padded[119] = bytes >> 61;
50 padded[120] = bytes >> 53;
51 padded[121] = bytes >> 45;
52 padded[122] = bytes >> 37;
53 padded[123] = bytes >> 29;
54 padded[124] = bytes >> 21;
55 padded[125] = bytes >> 13;
56 padded[126] = bytes >> 5;
57 padded[127] = bytes <<
[all...]

Completed in 1258 milliseconds

1234567891011>>