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

1234567891011>>

/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/chromium_org/third_party/skia/src/gpu/
H A DGrMemory.cpp14 void* GrMalloc(size_t bytes) { argument
15 void* ptr = ::malloc(bytes);
/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:__anon15797
/external/skia/src/gpu/
H A DGrMemory.cpp14 void* GrMalloc(size_t bytes) { argument
15 void* ptr = ::malloc(bytes);
/external/chromium/chrome/common/
H A Dguid_posix.cc19 std::string RandomDataToGUIDString(const uint64 bytes[2]) { argument
21 static_cast<unsigned int>(bytes[0] >> 32),
22 static_cast<unsigned int>((bytes[0] >> 16) & 0x0000ffff),
23 static_cast<unsigned int>(bytes[0] & 0x0000ffff),
24 static_cast<unsigned int>(bytes[1] >> 48),
25 bytes[1] & 0x0000ffffffffffffULL);
H A Dguid_unittest.cc13 uint64 bytes[] = { 0, 0 }; local
14 std::string clientid = guid::RandomDataToGUIDString(bytes);
19 uint64 bytes[] = { 0x0123456789ABCDEFULL, 0xFEDCBA9876543210ULL }; local
20 std::string clientid = guid::RandomDataToGUIDString(bytes);
/external/chromium_org/base/
H A Dguid_posix.cc19 std::string RandomDataToGUIDString(const uint64 bytes[2]) { argument
21 static_cast<unsigned int>(bytes[0] >> 32),
22 static_cast<unsigned int>((bytes[0] >> 16) & 0x0000ffff),
23 static_cast<unsigned int>(bytes[0] & 0x0000ffff),
24 static_cast<unsigned int>(bytes[1] >> 48),
25 bytes[1] & 0x0000ffffffffffffULL);
H A Dguid_unittest.cc13 uint64 bytes[] = { 0, 0 }; local
14 std::string clientid = base::RandomDataToGUIDString(bytes);
19 uint64 bytes[] = { 0x0123456789ABCDEFULL, 0xFEDCBA9876543210ULL }; local
20 std::string clientid = base::RandomDataToGUIDString(bytes);
/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/ui/base/text/
H A Dbytes_formatting_unittest.cc13 int64 bytes; member in struct:ui::__anon14252
29 EXPECT_EQ(cases[i].expected, GetByteDisplayUnits(cases[i].bytes));
34 int64 bytes; member in struct:ui::__anon14253
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/elfutils/libdw/
H A Ddwarf_nextcu.c87 char *bytes = (char *) dwarf->sectiondata[IDX_debug_info]->d_buf + off; local
110 4. A 1-byte unsigned integer representing the size in bytes of
114 uint64_t length = read_4ubyte_unaligned_inc (dwarf, bytes);
138 length = read_8ubyte_unaligned_inc (dwarf, bytes);
142 read_2ubyte_unaligned_inc (dwarf, bytes);
148 abbrev_offset = read_4ubyte_unaligned_inc (dwarf, bytes);
150 abbrev_offset = read_8ubyte_unaligned_inc (dwarf, bytes);
155 uint8_t address_size = *bytes++;
165 *header_sizep = (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:__anon17740
/external/jmonkeyengine/engine/src/core/com/jme3/export/
H A DReadListener.java37 public void readBytes(int bytes); argument
/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
32 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/protobuf/java/src/main/java/com/google/protobuf/nano/
H A DUnknownFieldData.java41 final byte[] bytes; field in class:UnknownFieldData
43 UnknownFieldData(int tag, byte[] bytes) { argument
45 this.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/chromium/chrome/browser/parsers/
H A Dmetadata_parser_jpeg_factory.cc16 char* bytes,
15 CanParse(const FilePath& path, char* bytes, int bytes_size) argument
/external/chromium/net/base/
H A Dbandwidth_metrics.cc32 void ScopedBandwidthMetrics::RecordBytes(int bytes) { argument
33 g_bandwidth_metrics.Get().RecordBytes(bytes);

Completed in 1321 milliseconds

1234567891011>>