Searched defs:bytes (Results 1 - 25 of 1230) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/src/ports/
H A DSkDiscardableMemory_none.cpp11 SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) { argument
12 return SkGetGlobalDiscardableMemoryPool()->create(bytes);
/external/skia/src/ports/
H A DSkDiscardableMemory_none.cpp11 SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) { argument
12 return SkGetGlobalDiscardableMemoryPool()->create(bytes);
/external/chromium_org/cc/resources/
H A Dresource.cc9 size_t Resource::bytes() const { function in class:cc::Resource
/external/chromium_org/crypto/
H A Drandom.cc11 void RandBytes(void *bytes, size_t length) { argument
15 base::RandBytes(bytes, length);
H A Drandom_unittest.cc13 // Currently, that means the bytes cannot be all the same (e.g. all zeros).
14 bool IsTrivial(const std::string& bytes) { argument
15 for (size_t i = 0; i < bytes.size(); i++) {
16 if (bytes[i] != bytes[0]) {
24 std::string bytes(16, '\0');
25 crypto::RandBytes(WriteInto(&bytes, bytes.size()), bytes.size());
26 EXPECT_TRUE(!IsTrivial(bytes));
[all...]
/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:__anon18536
/external/chromium_org/base/
H A Dguid_posix.cc33 std::string RandomDataToGUIDString(const uint64 bytes[2]) { argument
35 static_cast<unsigned int>(bytes[0] >> 32),
36 static_cast<unsigned int>((bytes[0] >> 16) & 0x0000ffff),
37 static_cast<unsigned int>(bytes[0] & 0x0000ffff),
38 static_cast<unsigned int>(bytes[1] >> 48),
39 bytes[1] & 0x0000ffffffffffffULL);
H A Dguid_unittest.cc28 uint64 bytes[] = { 0, 0 }; local
29 std::string clientid = base::RandomDataToGUIDString(bytes);
34 uint64 bytes[] = { 0x0123456789ABCDEFULL, 0xFEDCBA9876543210ULL }; local
35 std::string clientid = base::RandomDataToGUIDString(bytes);
/external/chromium_org/components/proximity_auth/
H A Dwire_message_unittest.cc71 std::string bytes = local
74 WireMessage::Deserialize(bytes, &is_incomplete);
83 std::string bytes = header + "{\"payload\": \"YQ==\"}"; local
85 WireMessage::Deserialize(bytes, &is_incomplete);
95 std::string bytes = header + "{\"permit_id\": \"Hi!\"}"; local
97 WireMessage::Deserialize(bytes, &is_incomplete);
106 std::string bytes = header + "{\"permit_id\": \"\", \"payload\": \"YQ==\"}"; local
108 WireMessage::Deserialize(bytes, &is_incomplete);
118 std::string bytes = header + "{\"permit_id\": \"Hi!\", \"payload\": \"\"}"; local
120 WireMessage::Deserialize(bytes,
128 std::string bytes = local
139 std::string bytes = local
152 std::string bytes = header + local
[all...]
/external/chromium_org/content/child/webcrypto/
H A Dcrypto_data.cc13 CryptoData::CryptoData(const unsigned char* bytes, unsigned int byte_length) argument
14 : bytes_(bytes), byte_length_(byte_length) {}
16 CryptoData::CryptoData(const std::vector<unsigned char>& bytes) argument
17 : bytes_(bytes.size() ? &bytes[0] : NULL), byte_length_(bytes.size()) {}
19 CryptoData::CryptoData(const std::string& bytes) argument
20 : bytes_(bytes.size() ? reinterpret_cast<const unsigned char*>(bytes.data())
22 byte_length_(bytes
24 CryptoData(const blink::WebVector<unsigned char>& bytes) argument
[all...]
/external/bison/lib/
H A Dcalloc.c56 size_t bytes = n * s; local
57 if (bytes / s != n)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1Enumerated.java8 ASN1Enumerated(byte[] bytes) argument
10 super(bytes);
H A DASN1GeneralizedTime.java8 ASN1GeneralizedTime(byte[] bytes) argument
10 super(bytes);
H A DASN1Integer.java8 ASN1Integer(byte[] bytes) argument
10 super(bytes);
H A DASN1UTCTime.java8 ASN1UTCTime(byte[] bytes) argument
10 super(bytes);
/external/chromium_org/printing/
H A Dimage_mac.cc24 size_t bytes = row_length_ * size_.height(); local
25 DCHECK(bytes);
27 data_.resize(bytes);
/external/chromium_org/third_party/libvpx/source/libvpx/
H A Dmd5_utils.h12 * To compute the message digest of a chunk of bytes, declare an
14 * needed on buffers full of bytes, and then call MD5Final, which
36 UWORD32 bytes[2]; member in struct:MD5Context
/external/chromium_org/third_party/openmax_dl/dl/sp/src/test/
H A Daligned_ptr.c16 struct AlignedPtr* AllocAlignedPointer(int alignment, int bytes) { argument
21 aligned_ptr->raw_pointer_ = malloc(bytes + alignment);
/external/chromium_org/ui/base/text/
H A Dbytes_formatting_unittest.cc13 int64 bytes; member in struct:ui::__anon16669
29 EXPECT_EQ(cases[i].expected, GetByteDisplayUnits(cases[i].bytes));
34 int64 bytes; member in struct:ui::__anon16670
41 // sense (zero or bytes).
43 // the display of file sizes or bytes consistently around three
73 FormatBytesWithUnits(cases[i].bytes, cases[i].units, false));
75 FormatBytesWithUnits(cases[i].bytes, cases[i].units, true));
/external/conscrypt/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/flac/libFLAC/include/private/
H A Dmd5.h15 * To compute the message digest of a chunk of bytes, declare an
17 * needed on buffers full of bytes, and then call MD5Final, which
34 FLAC__uint32 bytes[2]; member in struct:__anon21514
/external/libvpx/libvpx/
H A Dmd5_utils.h12 * To compute the message digest of a chunk of bytes, declare an
14 * needed on buffers full of bytes, and then call MD5Final, which
36 UWORD32 bytes[2]; member in struct:MD5Context
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
H A DIsoTypeReaderVariable.java22 public static long read(ByteBuffer bb, int bytes) { argument
23 switch (bytes) {
35 throw new RuntimeException("I don't know how to read " + bytes + " bytes");
/external/valgrind/main/helgrind/tests/
H A Dtc16_byterace.c7 char bytes[10]; variable
13 bytes[2*i + 0] ++; /* child accesses: 0 2 4 6 8 */
28 bytes accessed */
30 bytes[2*i + 1] ++; /* accesses: 1 3 5 7 9 */
32 /* Unprotected relative to child, but harmful; same bytes */
34 bytes[3*i + 1] ++; /* accesses: 1 4(race!) 7 */
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bytes/
H A DBytesResource.java1 package com.bumptech.glide.load.resource.bytes;
6 private byte[] bytes; field in class:BytesResource
8 public BytesResource(byte[] bytes) { argument
9 this.bytes = bytes;
14 return bytes;
19 return bytes.length;

Completed in 609 milliseconds

1234567891011>>