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

1234567891011>>

/external/skia/src/ports/
H A DSkDiscardableMemory_none.cpp12 SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) { argument
13 return SkGetGlobalDiscardableMemoryPool()->create(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:__anon2073
/external/kmod/shared/
H A Dstrbuf.h9 char *bytes; member in struct:strbuf
H A Dscratchbuf.h12 char *bytes; member in struct:scratchbuf
24 return buf->bytes;
28 .bytes = buf_, \
/external/libchrome/crypto/
H A Drandom.cc13 void RandBytes(void *bytes, size_t length) { argument
17 base::RandBytes(bytes, length);
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...]
/external/syslinux/com32/lib/
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 Dfread.c11 size_t bytes = 0; local
27 bytes += rv;
31 return bytes;
H A Dfwrite.c11 size_t bytes = 0; local
27 bytes += rv;
31 return bytes;
H A Dvasprintf.c12 int bytes; local
17 bytes = vsnprintf(NULL, 0, format, ap1) + 1;
20 *bufp = p = malloc(bytes);
24 return vsnprintf(p, bytes, format, ap);
/external/bison/lib/
H A Dcalloc.c56 size_t bytes = n * s; local
57 if (bytes / s != n)
/external/boringssl/src/crypto/ecdh/
H A Decdh_test.cc57 std::vector<uint8_t> bytes; local
58 if (!t->GetBytes(&bytes, key)) {
62 return bssl::UniquePtr<BIGNUM>(BN_bin2bn(bytes.data(), bytes.size(), nullptr));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DDEREnumerated.java12 * @param bytes the value of this enumerated as an encoded BigInteger (signed).
15 DEREnumerated(byte[] bytes) argument
17 super(bytes);
H A DDERGeneralizedTime.java12 DERGeneralizedTime(byte[] bytes) argument
14 super(bytes);
H A DDERInteger.java14 * @param bytes a byte array containing the signed number.A copy is made of the byte array.
16 public DERInteger(byte[] bytes) argument
18 super(bytes, true);
H A DDERUTCTime.java11 DERUTCTime(byte[] bytes) argument
13 super(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/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;
/external/elfutils/libasm/
H A Dasm_fill.c42 asm_fill (AsmScn_t *asmscn, void *bytes, size_t len) argument
51 if (bytes == NULL)
63 memcpy (pattern->bytes, bytes, len);
/external/libcups/filter/
H A Dgziptoany.c33 ssize_t bytes; /* Number of bytes read/written */ local
86 while ((bytes = cupsFileRead(fp, buffer, sizeof(buffer))) > 0)
87 if (write(1, buffer, (size_t)bytes) < bytes)
/external/libvncserver/examples/
H A Dcolourmaptest.c7 uint8_t bytes[256*3]; local
16 bytes[i*3+0]=255-i; /* red */
17 bytes[i*3+1]=0; /* green */
18 bytes[i*3+2]=i; /* blue */
20 bytes[128*3+0]=0xff;
21 bytes[128*3+1]=0;
22 bytes[128*3+2]=0;
23 server->colourMap.data.bytes=bytes;
/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/llvm/lib/DebugInfo/PDB/
H A DPDBSymbolCustom.cpp25 void PDBSymbolCustom::getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) { argument
26 RawSymbol->getDataBytes(bytes);
/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/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 */

Completed in 574 milliseconds

1234567891011>>