Searched refs:bytes (Results 1 - 25 of 1004) 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:__anon3261
/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);
/external/valgrind/main/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/protobuf/java/src/main/java/com/google/protobuf/
H A DByteString.java42 * Immutable array of bytes.
48 private final byte[] bytes; field in class:ByteString
50 private ByteString(final byte[] bytes) { argument
51 this.bytes = bytes;
60 return bytes[index];
64 * Gets the number of bytes.
67 return bytes.length;
74 return bytes.length == 0;
86 * Copies the given bytes int
88 copyFrom(final byte[] bytes, final int offset, final int size) argument
98 copyFrom(final byte[] bytes) argument
106 copyFrom(final ByteBuffer bytes, final int size) argument
116 copyFrom(final ByteBuffer bytes) argument
[all...]
H A DInternal.java53 * To get around this, protoc instead embeds the UTF-8 bytes into the
59 * in each value. This is much less efficient than just embedding the bytes
62 * generates a string literal corresponding to the bytes. The easiest way
67 * So we have a string literal which represents a set of bytes which
72 public static String stringDefaultValue(String bytes) { argument
74 return new String(bytes.getBytes("ISO-8859-1"), "UTF-8");
84 * Helper called by generated code to construct default values for bytes
87 * This is a lot like {@link #stringDefaultValue}, but for bytes fields.
89 * embed raw bytes as a string literal with ISO-8859-1 encoding.
91 public static ByteString bytesDefaultValue(String bytes) { argument
[all...]
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
H A DByteStringMicro.java36 * Immutable array of bytes.
42 private final byte[] bytes; field in class:ByteStringMicro
44 private ByteStringMicro(final byte[] bytes) { argument
45 this.bytes = bytes;
54 return bytes[index];
58 * Gets the number of bytes.
61 return bytes.length;
68 return bytes.length == 0;
80 * Copies the given bytes int
82 copyFrom(final byte[] bytes, final int offset, final int size) argument
92 copyFrom(final byte[] bytes) argument
[all...]
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x9/
H A DX9IntegerConverter.java26 byte[] bytes = s.toByteArray();
28 if (qLength < bytes.length)
32 System.arraycopy(bytes, bytes.length - tmp.length, tmp, 0, tmp.length);
36 else if (qLength > bytes.length)
40 System.arraycopy(bytes, 0, tmp, tmp.length - bytes.length, bytes.length);
45 return bytes;
/external/dhcpcd/compat/
H A Dgetline.c44 size_t bytes, newlen; local
54 bytes = 0;
58 if (*buf == NULL || bytes != 0) {
66 p = *buf + bytes;
70 bytes += strlen(p);
71 } while (bytes == 0 || *(*buf + (bytes - 1)) != '\n');
72 if (bytes == 0)
74 return bytes;
/external/javassist/sample/hotswap/
H A DTest.java10 byte[] bytes = new byte[(int)newfile.length()];
11 new FileInputStream(newfile).read(bytes);
14 hs.reload("HelloWorld", bytes);
18 bytes = new byte[(int)newfile.length()];
19 new FileInputStream(newfile).read(bytes);
22 hs.reload("HelloWorld", bytes);
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/
H A DDERInteger.java11 byte[] bytes; field in class:DERInteger
57 bytes = BigInteger.valueOf(value).toByteArray();
63 bytes = value.toByteArray();
67 byte[] bytes)
69 this.bytes = bytes;
74 return new BigInteger(bytes);
83 return new BigInteger(1, bytes);
90 out.writeEncoded(INTEGER, bytes);
97 for (int i = 0; i != bytes
66 DERInteger( byte[] bytes) argument
[all...]
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 DASN1ObjectIdentifier.java11 ASN1ObjectIdentifier(byte[] bytes) argument
13 super(bytes);
H A DASN1UTCTime.java8 ASN1UTCTime(byte[] bytes) argument
10 super(bytes);
H A DDEREnumerated.java11 byte[] bytes; field in class:DEREnumerated
57 bytes = BigInteger.valueOf(value).toByteArray();
63 bytes = value.toByteArray();
67 byte[] bytes)
69 this.bytes = bytes;
74 return new BigInteger(bytes);
81 out.writeEncoded(ENUMERATED, bytes);
94 return Arrays.areEqual(this.bytes, other.bytes);
66 DEREnumerated( byte[] bytes) argument
[all...]
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/
H A DPBEParametersGenerator.java24 * @param password the password converted into bytes (see below).
106 byte[] bytes = new byte[password.length];
108 for (int i = 0; i != bytes.length; i++)
110 bytes[i] = (byte)password[i];
113 return bytes;
131 * PKCS12 (unicode, big endian, 2 zero pad bytes at the end).
142 // +1 for extra 2 pad bytes.
143 byte[] bytes = new byte[(password.length + 1) * 2];
147 bytes[i * 2] = (byte)(password[i] >>> 8);
148 bytes[
[all...]
/external/skia/gpu/src/
H A DGrMemory.cpp22 void* GrMalloc(size_t bytes) { argument
23 void* ptr = ::malloc(bytes);
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/jgss/
H A DGSSUtilsTest.java28 byte[] bytes = GSSUtils.getBytes(i, 1);
29 int j = GSSUtils.toInt(bytes, 0 , 1);
33 bytes = GSSUtils.getBytes(i, 1);
34 j = GSSUtils.toInt(bytes, 0 , 1);
38 bytes = GSSUtils.getBytes(i, 2);
39 j = GSSUtils.toInt(bytes, 0, 2);
43 bytes = GSSUtils.getBytes(i, 2);
44 j = GSSUtils.toInt(bytes, 0, 2);
48 bytes = GSSUtils.getBytes(i, 3);
49 j = GSSUtils.toInt(bytes,
[all...]
/external/emma/core/java12/com/vladium/emma/rt/
H A DClassPathCacheEntry.java28 public ClassPathCacheEntry (final byte [] bytes, final String srcURL) argument
32 $assert.ASSERT (bytes != null, "bytes = null");
36 m_bytes = bytes;
/external/webkit/Source/JavaScriptCore/wtf/
H A DOSAllocatorPosix.cpp36 void* OSAllocator::reserveUncommitted(size_t bytes, Usage usage, bool writable, bool executable) argument
38 void* result = reserveAndCommit(bytes, usage, writable, executable);
41 while (madvise(result, bytes, MADV_FREE_REUSABLE) == -1 && errno == EAGAIN) { }
46 void* OSAllocator::reserveAndCommit(size_t bytes, Usage usage, bool writable, bool executable) argument
83 result = mmap(result, bytes, protection, flags, fd, 0);
89 void OSAllocator::commit(void* address, size_t bytes, bool, bool) argument
92 while (madvise(address, bytes, MADV_FREE_REUSE) == -1 && errno == EAGAIN) { }
96 UNUSED_PARAM(bytes);
100 void OSAllocator::decommit(void* address, size_t bytes) argument
103 while (madvise(address, bytes, MADV_FREE_REUSABL
114 releaseDecommitted(void* address, size_t bytes) argument
[all...]
/external/elfutils/libasm/
H A Dasm_fill.c27 asm_fill (asmscn, bytes, len)
29 void *bytes;
39 if (bytes == NULL)
51 memcpy (pattern->bytes, bytes, len);
/external/proguard/src/proguard/classfile/constant/
H A DUtf8Constant.java54 // Initially, we're storing the UTF-8 bytes in a byte array.
59 private byte[] bytes; field in class:Utf8Constant
78 this.bytes = null;
84 * Initializes the UTF-8 data with an array of bytes.
86 public void setBytes(byte[] bytes) argument
88 this.bytes = bytes;
94 * Returns the UTF-8 data as an array of bytes.
107 return bytes;
116 this.bytes
244 getStringRepresentation(byte[] bytes) argument
[all...]

Completed in 542 milliseconds

1234567891011>>